1 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
4 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13 add multiarch folders.
14 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41 multiarch __ieee754_hypot for PowerPC32.
42 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
47 multiarch __ieee754_hypotf for PowerPC32.
49 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52 long_double_symbol only if __logbl is defined.
53 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
57 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
60 path for implementation.
61 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
62 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
63 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
64 logb, and logbl multiarch implementations for PowerPC32.
65 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
67 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
69 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
70 multiarch logb for PowerPC32.
71 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
73 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
75 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
76 multiarch logbf for PowerPC32.
77 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
78 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
80 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
81 multiarch logbl implementation for PowerPC32.
83 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
86 and modff multiarch implementations.
87 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
89 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
91 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
92 multiarch modf for PowerPC32.
93 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
95 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
97 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
98 multiarch modff for PowerPC32.
100 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
103 and lrintf multiarch implementations.
104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
109 multiarch lrint for PowerPC32.
110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
111 file: multiarch lrintf for PowerPC32.
113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
116 and lroundf multiarch implementations.
117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
124 multiarch lround for PowerPC32.
125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
126 file: multiarch lroundf for PowerPC32.
128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
131 copysign and copysignf multiarch implementations.
132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
137 file: multiarch copysign for PowerPC32.
138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
139 file: multiarch copysignf for PowerPC32.
141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
144 and truncf multiarch implementations.
145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
150 multiarch trunc for PowerPC32.
151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
156 multiarch truncf for PowerPC32.
158 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
161 and roundf multiarch implementations.
162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
167 multiarch round for PowerPC32.
168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
173 multiarch roundf for PowerPC32.
175 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
178 and floorf multiarch implementations.
179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
184 multiarch floor for PowerPC32.
185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
190 multiarch floorf for PowerPC32.
192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
195 and ceilf multiarch implementations.
196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
201 multiarch ceil for PowerPC32.
202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
207 multiarch ceilf for PowerPC32.
209 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
211 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
213 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
216 and finitef multiarch implementations.
217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
222 multiarch finite for PowerPC32.
223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
226 file: multiarch finitef for PowerPC32.
228 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
231 and isinff multiarch implementations.
232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
237 multiarch isinf for PowerPC32.
238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
241 multiarch isinff for PowerPC32.
243 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
245 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
246 alias when __isnan is defined.
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
248 and isnanf multiarch implementations.
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
258 multiarch isnan for PowerPC32.
259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
264 multiarch isnanf for PowerPC32.
266 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
269 and sqrtf multiarch implementations.
270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
275 multiarch sqrt for PowerPC32.
276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
281 multiarch sqrtf for PowerPC32.
283 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
286 and llroundf multiarch implementations.
287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
294 file: multiarch llround for PowerPC32.
295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
296 file: multiarch llroundf for PowerPC32.
298 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
301 multiarch PowerPC32 fpu implementations.
302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
307 multiarch llrint for PowerPC32.
308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
315 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
319 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
321 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
323 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
325 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
327 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
328 multiarch wordcopy for PPC32.
329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
332 (__libc_ifunc_impl_list): Likewise.
333 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
334 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
336 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
337 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
338 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
340 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
350 multiarch wcscpy for PPC32.
351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
354 (__libc_ifunc_impl_list): Likewise.
355 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
356 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
357 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
358 sysdeps/powerpc/power6/wcscpy.c.
360 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
370 multiarch wcsrchr for PPC32.
371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
374 (__libc_ifunc_impl_list): Likewise.
375 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
376 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
377 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
378 sysdeps/powerpc/power6/wcsrchr.c.
380 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
388 multiarch wcschr for PPc32.
389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
392 (__libc_ifunc_impl_list): Likewise.
393 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
394 * sysdeps/powerpc/power6/wcschr.c: ... to here.
395 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
396 sysdeps/powerpc/power6/wcschr.c.
398 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
400 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
403 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
404 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
405 file: multiarch strchr for PPC32.
406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
409 (__libc_ifunc_impl_list): Likewise.
411 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
415 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
417 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
419 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
420 multiarch strchrnul for PPC32.
421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
424 (__libc_ifunc_impl_list): Likewise.
426 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
431 multiarch strncasecmp for PPC32.
432 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
434 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
435 multiarch strncasecmp_l for PPC32.
436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
437 strncasecmp multiarch objects.
438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
439 (__libc_ifunc_impl_list): Likewise.
441 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
443 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
445 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
446 multiarch strncasecmp for PPC32.
447 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
449 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
450 multiarch strcasecmp_l for PPC32.
451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
454 (__libc_ifunc_impl_list): Likewise.
456 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
460 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
462 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
463 multiarch strncmp for PPC32.
464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
467 (__libc_ifunc_impl_list): Likewise.
469 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
472 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
474 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
475 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
479 (__libc_ifunc_impl_list): Likewise.
481 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
483 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
485 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
487 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
491 (__libc_ifunc_impl_list): Likewise.
493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
495 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
497 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
499 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
500 multiarch rawmemchr for PPC32.
501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
504 (__libc_ifunc_impl_list): Likewise.
506 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
510 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
512 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
513 file: memrchr multiarch for PPC32.
514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
517 (__libc_ifunc_impl_list): Likewise.
519 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521 * string/memchr.c (__memchr): Using macro to redefine symbol name.
522 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
524 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
525 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
526 multiarch memchr for PPC32.
527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
530 (__libc_ifunc_impl_list): Likewise.
532 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
534 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
535 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
537 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
539 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
540 file: multiarch mempcpy for PPC32.
541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
544 (__libc_ifunc_impl_list): Likewise.
546 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
552 multiarch bzero for PPC32.
553 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
555 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
558 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
559 file: multiarch memset for PPC32.
560 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
562 memset multiarch objects.
563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
564 (__libc_ifunc_impl_list): Likewise.
566 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
573 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
577 (__libc_ifunc_impl_list): Likewise.
579 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
590 multiarch memcpy for PPC32.
591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
594 (__libc_ifunc_impl_list): Likewise.
596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
599 support multiarch for POWER/PPC32.
600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
602 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
604 Implies file to make multiarch folder appers before the fpu and
605 default folder for power4 configuration.
607 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
609 * scripts/bench.pl: Append volatile keyword to type.
611 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
613 * sysdeps/sh/sotruss-lib.c: New file.
614 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
616 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
620 2013-12-05 Joseph Myers <joseph@codesourcery.com>
623 * math/w_tgamma.c: Include <errno.h>.
624 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
625 * math/w_tgammaf.c: Include <errno.h>.
626 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
627 * math/w_tgammal.c: Include <errno.h>.
628 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
629 * math/auto-libm-test-in: Do not allow missing errno on tgamma
630 underflow. Add more tgamma tests.
631 * math/auto-libm-test-out: Regenerated.
632 * sysdeps/i386/fpu/libm-test-ulps: Update.
633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
635 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
636 sin, sinh, tan, tanh, tgamma, y0 and y1.
637 * math/auto-libm-test-out: Regenerated.
638 * math/libm-test.inc (TEST_COND_x86_64): New macro.
639 (TEST_COND_x86): Likewise.
640 (M_E2l): Remove macro.
642 (M_2_SQRT_PIl): Likewise.
643 (M_SQRT_PIl): Likewise.
644 (M_1_DIV_El): Likewise.
645 (log_test_data): Use AUTO_TESTS_f_f.
646 (log10_test_data): Likewise.
647 (log1p_test_data): Likewise.
648 (log2_test_data): Likewise.
649 (sin_test_data): Likewise.
650 (sin_tonearest_test_data): Likewise.
651 (sin_towardzero_test_data): Likewise.
652 (sin_downward_test_data): Likewise.
653 (sin_upward_test_data): Likewise.
654 (sinh_test_data): Likewise.
655 (sinh_tonearest_test_data): Likewise.
656 (sinh_towardzero_test_data): Likewise.
657 (sinh_downward_test_data): Likewise.
658 (sinh_upward_test_data): Likewise.
659 (tan_test_data): Likewise.
660 (tan_tonearest_test_data): Likewise.
661 (tan_towardzero_test_data): Likewise.
662 (tan_downward_test_data): Likewise.
663 (tan_upward_test_data): Likewise.
664 (tanh_test_data): Likewise.
665 (tgamma_test_data): Likewise.
666 (y0_test_data): Likewise.
667 (y1_test_data): Likewise.
668 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
669 (special_real_inputs): Add pi/4.
670 * sysdeps/i386/fpu/libm-test-ulps: Update.
671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
673 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
676 "longjmp_target" static probes.
677 (__longjmp): Rename to __longjmp_symbol.
678 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
679 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
680 on which longjmp to generate.
681 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
682 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
684 (__sigsetjmp): Rename to __sigsetjmp_symbol.
685 (__sigjmp_save): Rename to __sigjmp_save_symbol.
686 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
687 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
688 and __sigjmp_save_symbol based on which sigsetjmp to generated.
689 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
691 __longjmp_symbol based on which __longjmp to generate.
692 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
694 (setjmp): Rename to setjmp_symbol.
695 (__sigsetjmp): Rename to __sigsetjmp_symbol.
696 (_setjmp): Rename to _setjmp_symbol.
697 (__sigsetjmp): Rename to __sigsetjmp_symbol.
698 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
699 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
700 which setjmp to generate.
701 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
702 "longjmp_target" static probes.
704 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
706 * benchtests/README: Add note about output arguments.
707 * benchtests/bench-sincos.c: Remove file.
708 * benchtests/sincos-inputs: New file.
709 * scripts/bench.pl: Identify output arguments and define
710 static variables for them.
712 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
715 * Makefile (INSTALL): Add install-plain.texi as the primary
717 * manual/install-plain.texi: New file.
718 * manual/install.texi: Include node directive only for
719 non-plaintext output.
721 2013-12-04 Joseph Myers <joseph@codesourcery.com>
723 * stdlib/longlong.h: Update from GCC.
727 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
728 * math/w_j0f.c (y0f): Likewise.
729 * math/w_j0l.c (__y0l): Likewise.
730 * math/w_j1.c (y1): Likewise.
731 * math/w_j1f.c (y1f): Likewise.
732 * math/w_j1l.c (__y1l): Likewise
733 * math/w_jn.c (yn): Likewise.
734 * math/w_jnf.c (ynf): Likewise.
735 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
736 Bessel function pole errors in _POSIX_ mode. Use NAN as return
737 value for Bessel function domain errors outside _SVID_ mode.
738 Adjust sign of return value for yn (negative integer, 0).
739 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
740 by zero in return for negative x and set sign appropriately for
742 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
743 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
744 * math/libm-test.inc (y0_test_data): Add more tests and adjust
745 expectations in error cases.
746 (y1_test_data): Likewise.
747 (yn_test_data): Likewise.
748 * sysdeps/i386/fpu/libm-test-ulps: Update.
749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
751 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
753 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
754 "64" to "64-v1". Add "64-v2".
755 (abi-64-options): Rename to ...
756 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
757 (abi-64-condition): Rename to ...
758 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
759 (abi-64-ld-soname): Rename to ...
760 (abi-64-v1-ld-soname): ... this.
761 (abi-64-v2-options): Define.
762 (abi-64-v2-condition): Likewise.
763 (abi-64-v2-ld-soname): Likewise.
764 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
765 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
770 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
771 Alan Modra <amodra@gmail.com>
773 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
774 New versions for use with the ELFv2 ABI.
775 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
776 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
778 (struct La_ppc64v2_retval): Likewise.
779 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
780 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
781 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
782 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
783 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
784 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
785 Do not save or restore CR.
786 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
787 (_dl_profile_resolve): Do no save or restore CR. Support extended
788 return values for ELFv2 ABI. Fix location of FPR return registers.
789 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
790 updated values for _CALL_ELF == 2.
791 (La_regs, La_retval, int_retval): Likewise.
793 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
795 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
796 (FRAME_MIN_SIZE_PARM): Likewise.
797 (FRAME_BACKCHAIN): Likewise.
798 (FRAME_CR_SAVE): Likewise.
799 (FRAME_LR_SAVE): Likewise.
800 (FRAME_TOC_SAVE): Likewise.
801 (FRAME_PARM_SAVE): Likewise.
802 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
803 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
804 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
805 (call_mcount_parm_offset): New macro.
806 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
807 (PROF): Use symbolic stack frame offsets.
808 (TAIL_CALL_SYSCALL_ERROR): Likewise.
809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
810 Redefine in terms of FRAME_MIN_SIZE.
811 (_dl_runtime_resolve): Use symbolic stack frame offsets.
812 (_dl_profile_resolve): Likewise. Update comment.
813 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
814 symbols stack frame offsets.
815 (__sigsetjmp): Likewise.
816 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
817 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
818 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
819 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
822 (FRAME_BACKCHAIN): Remove.
823 (FRAME_CR_SAVE): Likewise.
824 (FRAME_LR_SAVE): Likewise.
825 (FRAME_COMPILER_DW): Likewise.
826 (FRAME_LINKER_DW): Likewise.
827 (FRAME_TOC_SAVE): Likewise.
828 (FRAME_PARM_SAVE): Likewise.
829 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
830 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
831 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
833 (CHECK_SP): Use symbolic stack frame offsets.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
835 zone" instead of caller's parameter save area for temp storage.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
837 Likewise. Also, use symbolic stack frame offsets.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
839 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
840 our own stack frame instead of the caller's.
841 (__socket): Use symbolic stack frame offsets.
843 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
844 Alan Modra <amodra@gmail.com>
846 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
848 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
849 PPC64_LOCAL_ENTRY_OFFSET): Define.
850 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
852 (elf_machine_fixup_plt): Call it.
853 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
855 (elf_machine_rela): Update call to elf_machine_plt_conflict.
856 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
857 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
858 r2 before calling target.
860 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
861 Alan Modra <amodra@gmail.com>
863 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
864 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
865 versions of macros to support ELFv2 ABI.
866 (LOCALENTRY): New macro.
867 (ENTRY, EALIGN): Use it.
868 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
869 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
870 fall through into ENTRY entry point.
871 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
872 Only define if _CALL_ELF != 2.
874 (elf_machine_matches_host): Verify ABI version matches.
875 (RTLD_START): Use LOCALENTRY.
876 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
877 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
878 (PLT_ENTRY_WORDS): New macro.
879 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
880 (elf_machine_runtime_setup): Support ELFv2 ABI.
881 (elf_machine_fixup_plt): Likewise.
882 (elf_machine_plt_conflict): Likewise.
883 (resolve_ifunc): Likewise.
884 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
888 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
890 (makecontext): Support ELFv2 ABI.
891 * elf/elf.h (EF_PPC64_ABI): Define.
893 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
895 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
897 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
898 [ASSEMBLER] (ENTRY): ... but instead here ...
899 [ASSEMBLER] (EALIGN): ... and here.
900 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
901 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
902 [!ASSEMBLER] (ENTRY_2): Use it.
903 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
904 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
905 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
906 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
907 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
909 Use PPC64_LOAD_FUNCPTR.
911 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
913 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
915 2013-12-04 Alan Modra <amodra@gmail.com>
917 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
918 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
919 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
920 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
923 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
924 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
925 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
926 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
927 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
929 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
932 (__makecontext): Fix incorrect CFI when backtracing out of
933 context created via makecontext.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
935 (__setcontext): Fix incorrect CFI during switch to new context.
936 (__novec_setcontext): Likewise.
938 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
941 * time/strptime_l.c (__strptime_internal): Allow modifiers
943 * time/tst-strptime.c (day_tests): Add testcase.
946 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
948 * scripts/bench.pl: Skip over blank lines.
950 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
953 * manual/time.texi (Calendar Time): Clarify what timezone functions
956 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
960 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
962 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
964 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
965 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
966 * debug/memset_chk.c (__memset_chk): Likewise.
967 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
968 * debug/strncpy_chk.c: Likewise.
970 2013-12-03 Joseph Myers <joseph@codesourcery.com>
974 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
975 (__ieee754_exp): For possibly underflowing results, check size of
976 result and force underflow exception if required.
977 * math/auto-libm-test-in: Add more tests of exp.
978 * math/auto-libm-test-out: Regenerated.
979 * sysdeps/i386/fpu/libm-test-ulps: Update.
980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
984 * math/w_exp2f.c (__exp2f): Likewise.
985 * math/w_exp2l.c (__exp2l): Likewise.
986 * math/auto-libm-test-in: Do not allow missing errno on exp2
988 * math/auto-libm-test-out: Regenerated.
990 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
993 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
994 handle filename validation.
995 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
998 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1001 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1002 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1003 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1005 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1007 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1009 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1011 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1012 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1013 Add more erfc tests.
1014 * math/auto-libm-test-out: Regenerated.
1015 * sysdeps/i386/fpu/libm-test-ulps: Update.
1016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1018 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1019 exp2, expm1, j0 and j1.
1020 * math/auto-libm-test-out: Regenerated.
1021 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1022 (erfc_test_data): Likewise.
1023 (exp_test_data): Likewise.
1024 (exp_tonearest_test_data): Likewise.
1025 (exp_towardzero_test_data): Likewise.
1026 (exp_downward_test_data): Likewise.
1027 (exp_upward_test_data): Likewise.
1028 (exp10_test_data): Likewise.
1029 (exp2_test_data): Likewise.
1030 (expm1_test_data): Likewise.
1031 (j0_test_data): Likewise.
1032 (j1_test_data): Likewise.
1033 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1034 (input_flag_type): Add flag_xfail_rounding.
1035 (input_flags): Add xfail-rounding.
1036 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1037 (output_for_one_input_case): Handle flag_xfail_rounding.
1038 * sysdeps/i386/fpu/libm-test-ulps: Update.
1039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1041 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1044 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1047 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1050 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1051 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1052 (STAP_PROBE0): New macro.
1053 (STAP_PROBE1): Likewise.
1054 (STAP_PROBE2): Likewise.
1055 (STAP_PROBE3): Likewise.
1056 (STAP_PROBE4): Likewise.
1058 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1060 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1062 2013-12-02 Steve Ellcey <sellcey@mips.com>
1064 * benchtests/Makefile (bench): Add sqrt.
1065 (LDLIBS-bench-sqrt): New.
1066 * benchtests/sqrt-input: New.
1068 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1070 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1071 (GAIH_EAI): Likewise.
1072 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1073 (gaih_inet): Likewise.
1074 (getaddrinfo): Don't use GAIH_EAI.
1076 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1077 (struct gaih): Remove definition.
1079 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1081 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1082 Use HERRNOP directly.
1084 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1088 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1090 * math/gen-auto-libm-tests.c (test_functions): Add more
1091 single-argument functions.
1092 (special_fill_pi_2): New function.
1093 (special_fill_minus_pi_2): Likewise.
1094 (special_fill_pi_6): Likewise.
1095 (special_fill_minus_pi_6): Likewise.
1096 (special_fill_pi_3): Likewise.
1097 (special_fill_2pi_3): Likewise.
1098 (special_fill_e): Likewise.
1099 (special_fill_1_e): Likewise.
1100 (special_fill_e_minus_1): Likewise.
1101 (special_real_inputs): Add more special inputs.
1102 (output_for_one_input_case): Do not require ERANGE on underflow to
1103 zero if round-to-nearest result does not underflow to zero, unless
1104 exact results required.
1105 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1106 atan, atanh, cbrt, cos and cosh.
1107 * math/auto-libm-test-out: Regenerated.
1108 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1109 (acos_tonearest_test_data): Likewise.
1110 (acos_towardzero_test_data): Likewise.
1111 (acos_downward_test_data): Likewise.
1112 (acos_upward_test_data): Likewise.
1113 (acosh_test_data): Likewise.
1114 (asin_test_data): Likewise.
1115 (asin_tonearest_test_data): Likewise.
1116 (asin_towardzero_test_data): Likewise.
1117 (asin_upward_test_data): Likewise.
1118 (asinh_test_data): Likewise.
1119 (atan_test_data): Likewise.
1120 (atanh_test_data): Likewise.
1121 (cbrt_test_data): Likewise.
1122 (cos_test_data): Likewise.
1123 (cos_tonearest_test_data): Likewise.
1124 (cos_towardzero_test_data): Likewise.
1125 (cos_downward_test_data): Likewise.
1126 (cos_upward_test_data): Likewise.
1127 (cosh_test_data): Likewise.
1128 (cosh_tonearest_test_data): Likewise.
1129 (cosh_towardzero_test_data): Likewise.
1130 (cosh_downward_test_data): Likewise.
1131 (cosh_upward_test_data): Likewise.
1132 * sysdeps/i386/fpu/libm-test-ulps: Update.
1133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1138 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1139 * math/w_exp10f.c (__exp10f): Likewise.
1140 * math/w_exp10l.c (__exp10l): Likewise.
1141 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1142 errno settings in existing tests.
1145 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1146 precision control set to double precision.
1147 * sysdeps/i386/fpu/w_sqrt.c: New file.
1148 * math/auto-libm-test-in: Add more tests.
1149 * math/auto-libm-test-out: Update.
1151 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1152 (sqrt_test_tonearest): New function.
1153 (sqrt_towardzero_test_data): New variable.
1154 (sqrt_test_towardzero): New function.
1155 (sqrt_downward_test_data): New variable.
1156 (sqrt_test_downward): New function.
1157 (sqrt_upward_test_data): New variable.
1158 (sqrt_test_upward): New function.
1159 (main): Call the new functions.
1161 * math/gen-auto-libm-tests.c: New file.
1162 * math/auto-libm-test-in: Likewise.
1163 * math/auto-libm-test-out: New generated file.
1164 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1166 (%beautify): Add generated representations of zero.
1167 (top level): Set $auto_input and call parse_auto_input.
1168 (beautify): Remove trailing "f" from hex float constants.
1169 (parse_args): Handle XFAIL_TEST.
1170 (convert_condition): New function.
1171 (or_value): Likewise.
1172 (or_cond_value): Likewise.
1173 (generate_testfile): Handle AUTO_TESTS_* lines.
1174 (parse_auto_input): New function.
1175 * math/libm-test.inc (XFAIL_TEST): New macro.
1176 (ERRNO_UNCHANGED): Update value.
1177 (ERRNO_EDOM): Likewise.
1178 (ERRNO_ERANGE): Likewise.
1179 (IGNORE_RESULT): Likewise.
1180 (TEST_COND_flt_32): New macro.
1181 (TEST_COND_dbl_64): Likewise.
1182 (TEST_COND_ldbl_96_intel): Likewise.
1183 (TEST_COND_ldbl_96_m68k): Likewise.
1184 (TEST_COND_ldbl_128): Likewise.
1185 (TEST_COND_ldbl_128ibm): Likewise.
1186 (TEST_COND_long32): Likewise.
1187 (TEST_COND_long64): Likewise.
1188 (TEST_COND_before_rounding): Likewise.
1189 (TEST_COND_after_rounding): Likewise.
1190 (enable_test): Handle XFAIL_TEST flag.
1191 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1192 with finite results.
1193 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1196 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1197 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1200 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1201 __tls_get_addr_internal instead of __tls_get_offset in order to
1202 avoid GOT pointer dependency. Make rtld export
1203 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1204 __tls_get_addr since we are a __tls_get_offset platform.
1205 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1206 GOT pointer being set up before.
1207 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1209 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1211 * manual/math.texi (Errors in Math Functions): Document accuracy
1215 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1216 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1218 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1219 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1220 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1221 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1222 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1223 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1224 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1225 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1226 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1227 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1228 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1230 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1232 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1233 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1234 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1235 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1236 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1238 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1240 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1242 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1243 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1244 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1245 atomic-feupdateenv and flt-rounds.
1246 * sysdeps/powerpc/nofpu/Versions (libc): Add
1247 __atomic_feholdexcept, __atomic_feclearexcept,
1248 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1249 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1250 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1251 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1252 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1257 * manual/arith.texi (FP Exceptions): Document that exceptions may
1258 not be raised when matherr is used.
1259 (Math Error Reporting): Document overflow in directed rounding
1260 modes. Document that errno may not be set when finite values are
1261 returned on overflow. Document intent to set errno on underflow
1262 only for underflow to zero.
1265 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1266 round-to-nearest then adjust result for other rounding modes.
1267 * include/fenv.h (fegetround): Use libm_hidden_proto.
1268 * math/fegetround.c (fegetround): Use libm_hidden_def.
1269 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1270 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1271 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1272 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1274 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1276 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1277 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1279 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1282 * nss/Versions (libnss_files): Add
1283 _nss_files_gethostbyname3_r.
1284 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1286 (HOST_DB_LOOKUP): Remove macro.
1287 (_nss_files_gethostbyname_r): Implement function without the
1288 HOST_DB_LOOKUP macro.
1289 (_nss_files_gethostbyname2_r): Likewise.
1291 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1293 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1295 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1297 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1298 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1301 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1303 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1304 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1305 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1306 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1307 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1308 __fe_nomask_env_priv and attribute_hidden.
1309 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1310 (libc_feupdateenv_test_ppc): Likewise.
1311 (libc_feresetround_ppc): Likewise.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1313 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1314 compat_symbol macro.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1316 (__fe_nomask_env): Likewise.
1317 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1319 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1321 * string/Makefile: Remove ifunc tests.
1322 * string/test-string.h: Define TEST_IFUNC.
1323 * string/test-bcopy-ifunc.c: Remove.
1324 * string/test-bzero-ifunc.c: Likewise.
1325 * string/test-memccpy-ifunc.c: Likewise.
1326 * string/test-memchr-ifunc.c: Likewise.
1327 * string/test-memcmp-ifunc.c: Likewise.
1328 * string/test-memcpy-ifunc.c: Likewise.
1329 * string/test-memmem-ifunc.c: Likewise.
1330 * string/test-memmove-ifunc.c: Likewise.
1331 * string/test-mempcpy-ifunc.c: Likewise.
1332 * string/test-memrchr-ifunc.c: Likewise.
1333 * string/test-memset-ifunc.c: Likewise.
1334 * string/test-rawmemchr-ifunc.c: Likewise.
1335 * string/test-stpcpy-ifunc.c: Likewise.
1336 * string/test-stpncpy-ifunc.c: Likewise.
1337 * string/test-strcasecmp-ifunc.c: Likewise.
1338 * string/test-strcasestr-ifunc.c: Likewise.
1339 * string/test-strcat-ifunc.c: Likewise.
1340 * string/test-strchr-ifunc.c: Likewise.
1341 * string/test-strchrnul-ifunc.c: Likewise.
1342 * string/test-strcmp-ifunc.c: Likewise.
1343 * string/test-strcpy-ifunc.c: Likewise.
1344 * string/test-strcspn-ifunc.c: Likewise.
1345 * string/test-strlen-ifunc.c: Likewise.
1346 * string/test-strncasecmp-ifunc.c: Likewise.
1347 * string/test-strncat-ifunc.c: Likewise.
1348 * string/test-strncmp-ifunc.c: Likewise.
1349 * string/test-strncpy-ifunc.c: Likewise.
1350 * string/test-strnlen-ifunc.c: Likewise.
1351 * string/test-strpbrk-ifunc.c: Likewise.
1352 * string/test-strrchr-ifunc.c: Likewise.
1353 * string/test-strspn-ifunc.c: Likewise.
1354 * string/test-strstr-ifunc.c: Likewise.
1356 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1358 * benchtests/Makefile: Remove ifunc tests.
1359 * benchtests/bench-string.h: Define TEST_IFUNC.
1360 * benchtests/bench-bcopy-ifunc.c: Remove.
1361 * benchtests/bench-bzero-ifunc.c: Likewise.
1362 * benchtests/bench-memccpy-ifunc.c: Likewise.
1363 * benchtests/bench-memchr-ifunc.c: Likewise.
1364 * benchtests/bench-memcmp-ifunc.c: Likewise.
1365 * benchtests/bench-memcpy-ifunc.c: Likewise.
1366 * benchtests/bench-memmem-ifunc.c: Likewise.
1367 * benchtests/bench-memmove-ifunc.c: Likewise.
1368 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1369 * benchtests/bench-memrchr-ifunc.c: Likewise.
1370 * benchtests/bench-memset-ifunc.c: Likewise.
1371 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1372 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1373 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1374 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1375 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1376 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1377 * benchtests/bench-strcat-ifunc.c: Likewise.
1378 * benchtests/bench-strchr-ifunc.c: Likewise.
1379 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1380 * benchtests/bench-strcmp-ifunc.c: Likewise.
1381 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1382 * benchtests/bench-strcpy-ifunc.c: Likewise.
1383 * benchtests/bench-strcspn-ifunc.c: Likewise.
1384 * benchtests/bench-strlen-ifunc.c: Likewise.
1385 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1386 * benchtests/bench-strncat-ifunc.c: Likewise.
1387 * benchtests/bench-strncmp-ifunc.c: Likewise.
1388 * benchtests/bench-strncpy-ifunc.c: Likewise.
1389 * benchtests/bench-strnlen-ifunc.c: Likewise.
1390 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1391 * benchtests/bench-strrchr-ifunc.c: Likewise.
1392 * benchtests/bench-strsep-ifunc.c: Likewise.
1393 * benchtests/bench-strspn-ifunc.c: Likewise.
1394 * benchtests/bench-strstr-ifunc.c: Likewise.
1396 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1398 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1400 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1402 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1403 * rt/aio.h: Likewise.
1404 * sysdeps/gnu/bits/utmp.h: Likewise.
1405 * sysdeps/gnu/bits/utmpx.h: Likewise.
1406 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1407 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1408 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1409 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1410 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1411 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1412 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1413 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1417 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1418 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1420 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1421 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1422 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1423 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1424 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1425 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1426 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1427 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1428 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1429 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1430 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1432 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1434 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1435 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1436 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1437 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1439 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1440 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1441 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1442 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1443 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1444 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1445 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1446 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1447 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1449 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1452 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1453 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1455 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1457 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1458 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1461 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1464 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1465 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1466 (__fesetround): Remove define.
1467 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1468 rounding and exceptions handling.
1469 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1470 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1471 (__fe_nomask_env): Likewise.
1472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1473 __fegetround instead of fegetround.
1474 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1475 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1477 2013-11-21 Roland McGrath <roland@hack.frob.com>
1479 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1482 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1484 2013-11-21 Meador Inge <meadori@codesourcery.com>
1487 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1488 (encrypt_r): Likewise.
1489 * malloc/obstack.h (obstack_free): Likewise.
1490 * posix/unistd.h (encrypt): Likewise.
1492 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1494 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1495 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1496 DL_CALL_DT_FINI() that call the functions directly.
1497 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1498 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1499 * elf/dl-fini.c: Likewise.
1501 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
1503 * malloc/hooks.c (memalign_check): Add alignment rounding.
1504 * malloc/malloc.c (_mid_memalign): New function.
1505 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1506 Implement by calling _mid_memalign.
1507 * manual/probes.texi (Memory Allocation Probes): Remove
1508 memory_valloc_retry and memory_pvalloc_retry.
1510 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1512 * locale/programs/locarchive.c (open_archive): Add const
1513 qualifier to ARCHIVEFNAME and copy default fname to
1517 * libio/tst-widetext.input: Rename Oriya to Odia.
1518 * locale/iso-639.def: Likewise.
1520 * manual/probes.texi (Mathematical Function Probes): Add
1521 documentation for sin, cos, asin and acos probes.
1522 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1523 (__sin32): Add slowasin probe.
1524 (__cos32): Add slowacos probe.
1525 (__mpsin): Add slowsin probe.
1526 (__mpcos): Add slowcos probe.
1528 2013-11-19 Joseph Myers <joseph@codesourcery.com>
1531 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1532 thread-local __sim_exceptions_thread and global
1533 __sim_exceptions_global.
1534 (__sim_disabled_exceptions): Change to thread-local
1535 __sim_disabled_exceptions_thread and global
1536 __sim_disabled_exceptions_global.
1537 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1538 and global __sim_round_mode_global.
1539 (__simulate_exceptions): Use thread-local floating-point state and
1540 set global state from it as needed.
1541 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1542 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1543 __sim_round_mode_thread.
1544 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1545 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1546 and global __sim_exceptions_global.
1547 (__sim_disabled_exceptions): Change to thread-local
1548 __sim_disabled_exceptions_thread and global
1549 __sim_disabled_exceptions_global.
1550 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1551 and global __sim_round_mode_global.
1552 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1553 (SIM_SET_GLOBAL): Likewise.
1554 * sysdeps/powerpc/soft-fp/sfp-machine.h
1555 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1556 __sim_round_mode_thread.
1557 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1558 __sim_disabled_exceptions_thread.
1559 (__sim_exceptions): Change to __sim_exceptions_thread.
1560 (__sim_disabled_exceptions): Change to
1561 __sim_disabled_exceptions_thread.
1562 (__sim_round_mode): Change to __sim_round_mode_thread.
1563 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1564 thread-local floating-point state and set global state from it as
1566 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1567 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1568 (__sim_disabled_exceptions): Remove extern declaration.
1569 (feenableexcept): Use thread-local floating-point state and set
1570 global state from it as needed.
1571 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1573 (__sim_disabled_exceptions): Likewise.
1574 (__sim_round_mode): Likewise.
1575 (__fegetenv): Use thread-local floating-point state.
1576 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1577 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1578 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1579 floating-point state and set global state from it as needed.
1580 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1581 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1582 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1584 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1585 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1587 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1588 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1589 Use __sim_round_mode_thread.
1590 * math/test-fenv-tls.c: New file.
1591 * math/Makefile (tests): Add test-fenv-tls.
1592 ($(objpfx)test-fenv-tls): Depend on
1593 $(common-objpfx)nptl/libpthread.so.
1595 2013-11-19 Andreas Schwab <schwab@suse.de>
1597 * locale/programs/locale.c (show_info): Decode wordarray elements.
1598 * locale/categories.def (LC_MONETARY): Add element for
1599 _NL_MONETARY_CRNCYSTR.
1600 * locale/C-monetary.c (conversion_rate): New variable.
1601 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1604 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1606 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1607 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1609 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1611 * elf/Makefile (tst-auxv): New test.
1612 * elf/tst-auxv.c: New
1613 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1615 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1617 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1618 (hidden_proto): Caller changed.
1619 (hidden_tls_proto): New macro.
1620 (libc_hidden_tls_proto): Likewise.
1621 (rtld_hidden_tls_proto): Likewise.
1622 (libm_hidden_tls_proto): Likewise.
1623 (libresolv_hidden_tls_proto): Likewise.
1624 (librt_hidden_tls_proto): Likewise.
1625 (libdl_hidden_tls_proto): Likewise.
1626 (libnss_files_hidden_tls_proto): Likewise.
1627 (libnsl_hidden_tls_proto): Likewise.
1628 (libnss_nisplus_hidden_tls_proto): Likewise.
1629 (libutil_hidden_tls_proto): Likewise.
1631 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1634 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1635 (decompose_rpath): Defer expansion to fillin_rpath.
1636 (_dl_init_paths): Pass linkmap to fillin_rpath.
1638 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1640 * benchtests/Makefile: Add strsep.
1641 * benchtests/bench-strsep.c: New file: strsep benchtest.
1642 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1644 2013-11-18 Andreas Schwab <schwab@suse.de>
1646 * locale/programs/locale.c (show_info) [case byte]: Check for
1647 '\377' instead of '\177'.
1648 * locale/C-monetary.c (not_available): Always use "\377".
1649 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1650 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1651 detect unavailable sign_posn locale elements.
1652 * locale/localeconv.c (__localeconv): For grouping and
1653 mon_grouping handle "\177" and "\377" like no grouping.
1654 (INT_ELEM): New macro. Use it to set all numeric members.
1655 * locale/programs/ld-monetary.c (monetary_read)
1656 <tok_mon_grouping>: Normalize single -1 to the empty string.
1657 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1660 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1664 when we match (nil).
1665 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1667 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1669 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1670 (NO_TEST_INLINE): Update value.
1671 (ERRNO_UNCHANGED): Likewise.
1672 (ERRNO_EDOM): Likewise.
1673 (ERRNO_ERANGE): Likewise.
1674 (IGNORE_RESULT): Likewise.
1675 (check_float_internal): Check signs of NaN results if
1677 (check_complex): Pass TEST_NAN_SIGN flag through to second
1678 check_float_internal call.
1679 (copysign_test_data): Add tests with quiet NaNs as second
1680 argument. Use TEST_NAN_SIGN.
1681 (fabs_test_data): Add test of negative quiet NaN argument. Use
1683 (signbit_test_data): Add tests of quiet NaN argument.
1684 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1686 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1688 (parse_args): Handle function results specified as IGNORE.
1689 * math/libm-test.inc (IGNORE_RESULT): New macro.
1690 (check_float_internal): Do not check numerical result if flag
1692 (check_complex): Pass through IGNORE_RESULT to second
1693 check_float_internal call.
1694 (check_int): Do not check numerical result if flag IGNORE_RESULT
1696 (check_long): Likewise.
1697 (check_bool): Likewise.
1698 (check_longlong): Likewise.
1699 (lrint_test_data): Add tests of infinite and NaN arguments.
1700 (lrint_tonearest_test_data): Likewise.
1701 (lrint_towardzero_test_data): Likewise.
1702 (lrint_downward_test_data): Likewise.
1703 (lrint_upward_test_data): Likewise.
1704 (llrint_test_data): Likewise.
1705 (llrint_tonearest_test_data): Likewise.
1706 (llrint_towardzero_test_data): Likewise.
1707 (llrint_downward_test_data): Likewise.
1708 (llrint_upward_test_data): Likewise.
1709 (lround_test_data): Likewise.
1710 (llround_test_data): Likewise.
1712 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1713 (ERRNO_UNCHANGED): Update value.
1714 (ERRNO_EDOM): Likewise.
1715 (ERRNO_ERANGE): Likewise.
1716 (NO_TEST_INLINE_FLOAT): New macro.
1717 (NO_TEST_INLINE_DOUBLE): Likewise.
1718 (enable_test): New function.
1719 (RUN_TEST_f_f): Check enable_test before running test.
1720 (RUN_TEST_2_f): Likewise.
1721 (RUN_TEST_fff_f): Likewise.
1722 (RUN_TEST_c_f): Likewise.
1723 (RUN_TEST_f_f1): Likewise.
1724 (RUN_TEST_fF_f1): Likewise.
1725 (RUN_TEST_fI_f1): Likewise.
1726 (RUN_TEST_ffI_f1): Likewise.
1727 (RUN_TEST_c_c): Likewise.
1728 (RUN_TEST_cc_c): Likewise.
1729 (RUN_TEST_f_i): Likewise.
1730 (RUN_TEST_f_i_tg): Likewise.
1731 (RUN_TEST_ff_i_tg): Likewise.
1732 (RUN_TEST_f_b): Likewise.
1733 (RUN_TEST_f_b_tg): Likewise.
1734 (RUN_TEST_f_l): Likewise.
1735 (RUN_TEST_f_L): Likewise.
1736 (RUN_TEST_fFF_11): Likewise.
1737 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1739 (cosh_test_data): Likewise.
1740 (exp_test_data): Likewise.
1741 (expm1_test_data): Likewise.
1742 (hypot_test_data): Likewise.
1743 (pow_test_data): Likewise.
1744 (sinh_test_data): Likewise.
1745 (tanh_test_data): Likewise.
1746 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1749 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1750 tests with quiet NaN input and output.
1751 (acosh_test_data): Likewise.
1752 (asin_test_data): Likewise.
1753 (asinh_test_data): Likewise.
1754 (atan_test_data): Likewise.
1755 (atanh_test_data): Likewise.
1756 (atan2_test_data): Likewise.
1757 (cbrt_test_data): Likewise.
1758 (cos_test_data): Likewise.
1759 (cosh_test_data): Likewise.
1760 (erf_test_data): Likewise.
1761 (erfc_test_data): Likewise.
1762 (exp_test_data): Likewise.
1763 (exp10_test_data): Likewise.
1764 (exp2_test_data): Likewise.
1765 (expm1_test_data): Likewise.
1766 (hypot_test_data): Likewise.
1767 (j0_test_data): Likewise.
1768 (j1_test_data): Likewise.
1769 (jn_test_data): Likewise.
1770 (lgamma_test_data): Likewise.
1771 (log_test_data): Likewise.
1772 (log10_test_data): Likewise.
1773 (log1p_test_data): Likewise.
1774 (log2_test_data): Likewise.
1775 (pow_test_data): Likewise.
1776 (scalb_test_data): Likewise.
1777 (sin_test_data): Likewise.
1778 (sincos_test_data): Likewise.
1779 (sinh_test_data): Likewise.
1780 (tan_test_data): Likewise.
1781 (tanh_test_data): Likewise.
1782 (tgamma_test_data): Likewise.
1783 (y0_test_data): Likewise.
1784 (y1_test_data): Likewise.
1785 (yn_test_data): Likewise.
1788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1789 argument being NaN and avoid computations with second argument in
1791 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1792 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1793 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1795 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1797 * locale/iso-639.def: Add Chitwani Tharu (the).
1799 2013-11-14 Andreas Schwab <schwab@suse.de>
1801 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1802 word instead of empty string.
1804 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1807 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1809 (__fe_nomask_env): Likewise.
1811 2013-11-13 Steve Ellcey <sellcey@mips.com>
1813 * benchtests/bench-timing.h: Include time.h.
1815 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1818 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1820 * sysdeps/unix/sysv/linux/configure: Regenerated.
1822 2013-11-13 Joseph Myers <joseph@codesourcery.com>
1825 * stdlib/strtod_l.c (round_and_return): Do not consider
1826 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1827 exponent one less than half the least subnormal exponent.
1828 * stdlib/test-strtod-round-data: Add more tests.
1829 * stdlib/tst-strtod-round.c (tests): Regenerated.
1831 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1834 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1835 (__fe_mask_env): Likewise.
1836 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1837 libm_hidden_proto and add function prototype.
1838 (__fe_mask_env): Add function prototype.
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1840 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1842 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1844 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1846 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1848 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1849 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1851 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1853 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1854 of htab_find_slot().
1856 2013-11-11 David S. Miller <davem@davemloft.net>
1859 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1860 symbol in the non-vis3 case in static builds.
1861 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1862 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1863 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1864 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1866 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1869 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1872 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874 * benchtests/Makefile: Add bench-strtod.
1875 * benchtests/bench-strtod.c: New file: strtod benchtest
1877 2013-11-11 Andreas Schwab <schwab@suse.de>
1880 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1881 terminating NUL in key length.
1883 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1886 Add artificial ODP entry for vDSO symbol for PPC64.
1887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1888 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1890 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1893 * nss/getent.c (services_keys): Recognize services starting with digit.
1895 2013-11-06 David S. Miller <davem@davemloft.net>
1898 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1899 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1901 2013-11-06 Will Newton <will.newton@linaro.org>
1903 * manual/memory.texi (Malloc Examples): Remove register
1904 keyword from examples.
1906 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
1908 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1910 2013-11-04 Joseph Myers <joseph@codesourcery.com>
1912 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1913 depending on [__GCC_IEC_559 > 0].
1914 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1915 depending on [__GCC_IEC_559_COMPLEX > 0].
1917 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
1919 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1922 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
1924 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1926 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
1929 * malloc/malloc (malloc_info): Do not handle first bin as
1932 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
1934 * locale/iso-639.def: Add Central Nahuatl (nhn).
1936 2013-11-01 Bruno Haible <bruno@clisp.org>
1939 * manual/math.texi (BSD Random): Specify range upper bound as
1942 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
1944 * locale/iso-639.def: Add Meadow Mari (mhr).
1946 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
1948 [BZ #14752], [BZ #15763]
1949 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1951 * rt/tst_shm.c: Add test for escaping directory.
1953 2013-10-31 Andreas Schwab <schwab@suse.de>
1956 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1957 followed by 'x' as part of digit sequence.
1958 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1960 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1963 * configure.ac: allow GNU Make 4.0 and greater.
1964 * configure: Regenerated.
1966 2013-10-30 Will Newton <will.newton@linaro.org>
1969 * malloc/hooks.c (memalign_check): Limit alignment to the
1970 maximum representable power of two.
1971 * malloc/malloc.c (__libc_memalign): Likewise.
1972 * malloc/tst-memalign.c (do_test): Add test for very
1973 large alignment values.
1974 * malloc/tst-posix_memalign.c (do_test): Likewise.
1976 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1979 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1980 (munmap_chunk): Likewise.
1981 (mremap_chunk): Likewise.
1983 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1986 * stdlib/div.c (div): Remove obsolete code.
1987 * stdlib/ldiv.c (ldiv): Likewise.
1988 * stdlib/lldiv.c (lldiv): Likewise.
1990 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1993 * nss/nss_files/files-XXX.c (get_contents_ret): New
1995 (get_contents): New function.
1996 (internal_getent): Use it. Expand size of LINEBUFLEN.
1998 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2000 * configure.in: Moved to ...
2001 * configure.ac: ... here. Change reference to configure.in
2003 * sysdeps/arm/preconfigure.ac: ... here.
2004 configure.in to configure.ac.
2005 * sysdeps/gnu/configure.in: Moved to ...
2006 * sysdeps/gnu/configure.ac: ... here.
2007 * sysdeps/i386/configure.in: Moved to ...
2008 * sysdeps/i386/configure.ac: ... here.
2009 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2010 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2011 * sysdeps/mach/configure.in: Moved to ...
2012 * sysdeps/mach/configure.ac: ... here.
2013 * sysdeps/mach/hurd/configure.in: Moved to ...
2014 * sysdeps/mach/hurd/configure.ac: ... here.
2015 * sysdeps/powerpc/configure.in: Moved to ...
2016 * sysdeps/powerpc/configure.ac: ... here.
2017 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2018 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2019 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2020 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2021 * sysdeps/s390/s390-32/configure.in: Moved to ...
2022 * sysdeps/s390/s390-32/configure.ac: ... here.
2023 * sysdeps/s390/s390-64/configure.in: Moved to ...
2024 * sysdeps/s390/s390-64/configure.ac: ... here.
2025 * sysdeps/sh/configure.in: Moved to ...
2026 * sysdeps/sh/configure.ac: ... here.
2027 * sysdeps/sparc/configure.in: Moved to ...
2028 * sysdeps/sparc/configure.ac: ... here.
2029 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2030 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2031 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2032 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2033 * sysdeps/x86_64/configure.in: Moved to ...
2034 * sysdeps/x86_64/configure.ac: ... here.
2035 * sysdeps/x86_64/preconfigure.in: Moved to ...
2036 * sysdeps/x86_64/preconfigure.ac: ... here.
2037 * aclocal.m4: Change reference to configure.in to configure.ac.
2038 * config.h.in: Likewise.
2039 * manual/install.texi: Likewise.
2040 * manual/maint.texi: Likewise.
2041 * Makefile: Likewise.
2042 * malloc/Makefile: Likewise.
2043 * nscd/Makefile: Likewise.
2044 * Makeconfig: Change reference to configure.in and
2045 preconfigure.in to configure.ac and preconfigure.ac
2047 * INSTALL: Regenerated.
2048 * configure: Likewise.
2049 * sysdeps/gnu/configure: Likewise.
2050 * sysdeps/i386/configure: Likewise.
2051 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2052 * sysdeps/mach/configure: Likewise.
2053 * sysdeps/mach/hurd/configure: Likewise.
2054 * sysdeps/powerpc/configure: Likewise.
2055 * sysdeps/powerpc/powerpc32/configure: Likewise.
2056 * sysdeps/powerpc/powerpc64/configure: Likewise.
2057 * sysdeps/s390/s390-32/configure: Likewise.
2058 * sysdeps/s390/s390-64/configure: Likewise.
2059 * sysdeps/sh/configure: Likewise.
2060 * sysdeps/sparc/configure: Likewise.
2061 * sysdeps/unix/sysv/linux/configure: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2063 * sysdeps/x86_64/configure: Likewise.
2064 * sysdeps/x86_64/preconfigure: Likewise.
2066 2013-10-29 Andreas Schwab <schwab@suse.de>
2068 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2070 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2072 * benchtests/pow-inputs: Add new inputs.
2074 * benchtests/exp-inputs: Add new inputs.
2076 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2077 conditional check for return value.
2078 (__cos32): Likewise.
2080 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2082 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2083 to provide a boost for large inputs with word alignment.
2084 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2085 implementation based on optimized PPC64 strcpy.
2086 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2087 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2088 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2089 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2091 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2094 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2096 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2099 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2100 * time/tst-strptime.c (day_tests): Add testcase.
2102 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2105 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2107 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2110 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2111 MAP_FAILED on error.
2113 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2116 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2117 heap for large requests.
2119 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2122 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2123 result if the result has no associated interface.
2124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2125 interface for all 127.X.Y.Z addresses.
2127 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2129 * locale/iso-639.def: Add Ligurian (lij)
2131 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2134 * sunrpc/rpc_main.c: Document rpcgen -5.
2136 2013-10-19 Michael Stahl <mstahl@redhat.com>
2138 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2140 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2143 * posix/glob.c: Match only directories when trailing slash is present.
2144 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2145 (main): Add testcase.
2147 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2150 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2152 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2154 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2155 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2156 AUTH_DES and cindex for FIPS 140-2.
2157 (DES Encryption): Add cindex FIPS 46-3.
2159 * locale/locarchive.h (struct locarhandle): Add fname.
2160 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2161 if an optional argument was specified to --list-archive,
2163 * locale/programs/locarchive.c (show_archive_content): Take new
2164 argument fname and pass it via ah.fname to open_archive.
2165 * locale/programs/localedef.h: Update decl.
2166 (open_archive): If AH->fname is non-null, open that file
2167 rather than the default file name, and don't ignore ENOENT.
2168 (create_archive): Set AH.fname to NULL.
2169 (delete_locales_from_archive): Likewise.
2170 (add_locales_to_archive): Likewise.
2171 * locale/programs/locfile.c (write_all_categories): Likewise.
2173 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2174 Aldy Hernandez <aldyh@redhat.com>
2176 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2177 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2178 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2179 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2180 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2181 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2182 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2184 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2185 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2186 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2187 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2188 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2189 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2194 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2196 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2198 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2199 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2201 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2202 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2203 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2204 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2206 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2207 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2208 * sysdeps/powerpc/preconfigure: Likewise.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2211 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2212 Replace contents of file by #include of <fenv_libc.h>.
2213 * sysdeps/powerpc/soft-fp/sfp-machine.h
2214 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2216 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2229 Allow copysignl PLT reference to be missing.
2231 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2232 Joseph Myers <joseph@codesourcery.com
2235 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2237 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2239 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2241 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2242 * elf/tst-tls1.c: Likewise.
2243 * elf/tst-tls10.h: Likewise.
2244 * elf/tst-tls14.c: Likewise.
2245 * elf/tst-tls2.c: Likewise.
2246 * elf/tst-tls3.c: Likewise.
2247 * elf/tst-tls4.c: Likewise.
2248 * elf/tst-tls5.c: Likewise.
2249 * elf/tst-tls6.c: Likewise.
2250 * elf/tst-tls7.c: Likewise.
2251 * elf/tst-tls8.c: Likewise.
2252 * elf/tst-tls9.c: Likewise.
2253 * elf/tst-tlsmod1.c: Likewise.
2254 * elf/tst-tlsmod13.c: Likewise.
2255 * elf/tst-tlsmod13a.c: Likewise.
2256 * elf/tst-tlsmod14a.c: Likewise.
2257 * elf/tst-tlsmod16a.c: Likewise.
2258 * elf/tst-tlsmod16b.c: Likewise.
2259 * elf/tst-tlsmod2.c: Likewise.
2260 * elf/tst-tlsmod3.c: Likewise.
2261 * elf/tst-tlsmod4.c: Likewise.
2262 * elf/tst-tlsmod5.c: Likewise.
2263 * elf/tst-tlsmod6.c: Likewise.
2265 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2268 * malloc/malloc.c: remove checks for statistics.
2270 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2273 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2274 * inet/tst-network.c: Add testcase.
2276 2013-10-17 Andreas Schwab <schwab@suse.de>
2279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2280 to determine canonical name.
2282 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2284 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2285 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2294 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2295 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2296 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2297 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2298 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2299 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2301 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2307 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2308 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2309 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2310 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2311 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2312 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2313 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2314 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2316 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2317 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2318 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2319 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2324 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2330 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2337 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2343 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2346 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2347 make result into a quiet NaN.
2349 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2351 * soft-fp/adddf3.c: Fix horizontal whitespace.
2352 * soft-fp/addsf3.c: Likewise.
2353 * soft-fp/addtf3.c: Likewise.
2354 * soft-fp/divdf3.c: Likewise.
2355 * soft-fp/divsf3.c: Likewise.
2356 * soft-fp/divtf3.c: Likewise.
2357 * soft-fp/double.h: Likewise.
2358 * soft-fp/eqdf2.c: Likewise.
2359 * soft-fp/eqsf2.c: Likewise.
2360 * soft-fp/eqtf2.c: Likewise.
2361 * soft-fp/extenddftf2.c: Likewise.
2362 * soft-fp/extended.h: Likewise.
2363 * soft-fp/extendsfdf2.c: Likewise.
2364 * soft-fp/extendsftf2.c: Likewise.
2365 * soft-fp/extendxftf2.c: Likewise.
2366 * soft-fp/fixdfdi.c: Likewise.
2367 * soft-fp/fixdfsi.c: Likewise.
2368 * soft-fp/fixdfti.c: Likewise.
2369 * soft-fp/fixsfdi.c: Likewise.
2370 * soft-fp/fixsfsi.c: Likewise.
2371 * soft-fp/fixsfti.c: Likewise.
2372 * soft-fp/fixtfdi.c: Likewise.
2373 * soft-fp/fixtfsi.c: Likewise.
2374 * soft-fp/fixtfti.c: Likewise.
2375 * soft-fp/fixunsdfdi.c: Likewise.
2376 * soft-fp/fixunsdfsi.c: Likewise.
2377 * soft-fp/fixunsdfti.c: Likewise.
2378 * soft-fp/fixunssfdi.c: Likewise.
2379 * soft-fp/fixunssfsi.c: Likewise.
2380 * soft-fp/fixunssfti.c: Likewise.
2381 * soft-fp/fixunstfdi.c: Likewise.
2382 * soft-fp/fixunstfsi.c: Likewise.
2383 * soft-fp/fixunstfti.c: Likewise.
2384 * soft-fp/floatdidf.c: Likewise.
2385 * soft-fp/floatdisf.c: Likewise.
2386 * soft-fp/floatditf.c: Likewise.
2387 * soft-fp/floatsidf.c: Likewise.
2388 * soft-fp/floatsisf.c: Likewise.
2389 * soft-fp/floatsitf.c: Likewise.
2390 * soft-fp/floattidf.c: Likewise.
2391 * soft-fp/floattisf.c: Likewise.
2392 * soft-fp/floattitf.c: Likewise.
2393 * soft-fp/floatundidf.c: Likewise.
2394 * soft-fp/floatundisf.c: Likewise.
2395 * soft-fp/floatunditf.c: Likewise.
2396 * soft-fp/floatunsidf.c: Likewise.
2397 * soft-fp/floatunsisf.c: Likewise.
2398 * soft-fp/floatunsitf.c: Likewise.
2399 * soft-fp/floatuntidf.c: Likewise.
2400 * soft-fp/floatuntisf.c: Likewise.
2401 * soft-fp/floatuntitf.c: Likewise.
2402 * soft-fp/fmadf4.c: Likewise.
2403 * soft-fp/fmasf4.c: Likewise.
2404 * soft-fp/fmatf4.c: Likewise.
2405 * soft-fp/gedf2.c: Likewise.
2406 * soft-fp/gesf2.c: Likewise.
2407 * soft-fp/getf2.c: Likewise.
2408 * soft-fp/ledf2.c: Likewise.
2409 * soft-fp/lesf2.c: Likewise.
2410 * soft-fp/letf2.c: Likewise.
2411 * soft-fp/muldf3.c: Likewise.
2412 * soft-fp/mulsf3.c: Likewise.
2413 * soft-fp/multf3.c: Likewise.
2414 * soft-fp/negdf2.c: Likewise.
2415 * soft-fp/negsf2.c: Likewise.
2416 * soft-fp/negtf2.c: Likewise.
2417 * soft-fp/op-1.h: Likewise.
2418 * soft-fp/op-2.h: Likewise.
2419 * soft-fp/op-4.h: Likewise.
2420 * soft-fp/op-8.h: Likewise.
2421 * soft-fp/op-common.h: Likewise.
2422 * soft-fp/quad.h: Likewise.
2423 * soft-fp/single.h: Likewise.
2424 * soft-fp/soft-fp.h: Likewise.
2425 * soft-fp/sqrtdf2.c: Likewise.
2426 * soft-fp/sqrtsf2.c: Likewise.
2427 * soft-fp/sqrttf2.c: Likewise.
2428 * soft-fp/subdf3.c: Likewise.
2429 * soft-fp/subsf3.c: Likewise.
2430 * soft-fp/subtf3.c: Likewise.
2431 * soft-fp/truncdfsf2.c: Likewise.
2432 * soft-fp/trunctfdf2.c: Likewise.
2433 * soft-fp/trunctfsf2.c: Likewise.
2434 * soft-fp/trunctfxf2.c: Likewise.
2435 * soft-fp/unorddf2.c: Likewise.
2436 * soft-fp/unordsf2.c: Likewise.
2437 * soft-fp/unordtf2.c: Likewise.
2439 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2441 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2442 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2444 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2446 * elf/dl-libc.c: Clear initfini list after freeing.
2448 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2450 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2451 * soft-fp/addsf3.c: Likewise.
2452 * soft-fp/addtf3.c: Likewise.
2453 * soft-fp/divdf3.c: Likewise.
2454 * soft-fp/divsf3.c: Likewise.
2455 * soft-fp/divtf3.c: Likewise.
2456 * soft-fp/double.h: Likewise.
2457 * soft-fp/eqdf2.c: Likewise.
2458 * soft-fp/eqsf2.c: Likewise.
2459 * soft-fp/eqtf2.c: Likewise.
2460 * soft-fp/extenddftf2.c: Likewise.
2461 * soft-fp/extended.h: Likewise.
2462 * soft-fp/extendsfdf2.c: Likewise.
2463 * soft-fp/extendsftf2.c: Likewise.
2464 * soft-fp/extendxftf2.c: Likewise.
2465 * soft-fp/fixdfdi.c: Likewise.
2466 * soft-fp/fixdfsi.c: Likewise.
2467 * soft-fp/fixdfti.c: Likewise.
2468 * soft-fp/fixsfdi.c: Likewise.
2469 * soft-fp/fixsfsi.c: Likewise.
2470 * soft-fp/fixsfti.c: Likewise.
2471 * soft-fp/fixtfdi.c: Likewise.
2472 * soft-fp/fixtfsi.c: Likewise.
2473 * soft-fp/fixtfti.c: Likewise.
2474 * soft-fp/fixunsdfdi.c: Likewise.
2475 * soft-fp/fixunsdfsi.c: Likewise.
2476 * soft-fp/fixunsdfti.c: Likewise.
2477 * soft-fp/fixunssfdi.c: Likewise.
2478 * soft-fp/fixunssfsi.c: Likewise.
2479 * soft-fp/fixunssfti.c: Likewise.
2480 * soft-fp/fixunstfdi.c: Likewise.
2481 * soft-fp/fixunstfsi.c: Likewise.
2482 * soft-fp/fixunstfti.c: Likewise.
2483 * soft-fp/floatdidf.c: Likewise.
2484 * soft-fp/floatdisf.c: Likewise.
2485 * soft-fp/floatditf.c: Likewise.
2486 * soft-fp/floatsidf.c: Likewise.
2487 * soft-fp/floatsisf.c: Likewise.
2488 * soft-fp/floatsitf.c: Likewise.
2489 * soft-fp/floattidf.c: Likewise.
2490 * soft-fp/floattisf.c: Likewise.
2491 * soft-fp/floattitf.c: Likewise.
2492 * soft-fp/floatundidf.c: Likewise.
2493 * soft-fp/floatundisf.c: Likewise.
2494 * soft-fp/floatunsidf.c: Likewise.
2495 * soft-fp/floatunsisf.c: Likewise.
2496 * soft-fp/floatuntidf.c: Likewise.
2497 * soft-fp/floatuntisf.c: Likewise.
2498 * soft-fp/floatuntitf.c: Likewise.
2499 * soft-fp/fmadf4.c: Likewise.
2500 * soft-fp/fmasf4.c: Likewise.
2501 * soft-fp/fmatf4.c: Likewise.
2502 * soft-fp/gedf2.c: Likewise.
2503 * soft-fp/gesf2.c: Likewise.
2504 * soft-fp/getf2.c: Likewise.
2505 * soft-fp/ledf2.c: Likewise.
2506 * soft-fp/lesf2.c: Likewise.
2507 * soft-fp/letf2.c: Likewise.
2508 * soft-fp/muldf3.c: Likewise.
2509 * soft-fp/mulsf3.c: Likewise.
2510 * soft-fp/multf3.c: Likewise.
2511 * soft-fp/negdf2.c: Likewise.
2512 * soft-fp/negsf2.c: Likewise.
2513 * soft-fp/negtf2.c: Likewise.
2514 * soft-fp/op-1.h: Likewise.
2515 * soft-fp/op-2.h: Likewise.
2516 * soft-fp/op-4.h: Likewise.
2517 * soft-fp/op-8.h: Likewise.
2518 * soft-fp/op-common.h: Likewise.
2519 * soft-fp/quad.h: Likewise.
2520 * soft-fp/single.h: Likewise.
2521 * soft-fp/soft-fp.h: Likewise.
2522 * soft-fp/sqrtdf2.c: Likewise.
2523 * soft-fp/sqrtsf2.c: Likewise.
2524 * soft-fp/sqrttf2.c: Likewise.
2525 * soft-fp/subdf3.c: Likewise.
2526 * soft-fp/subsf3.c: Likewise.
2527 * soft-fp/subtf3.c: Likewise.
2528 * soft-fp/truncdfsf2.c: Likewise.
2529 * soft-fp/trunctfdf2.c: Likewise.
2530 * soft-fp/trunctfsf2.c: Likewise.
2531 * soft-fp/trunctfxf2.c: Likewise.
2532 * soft-fp/unorddf2.c: Likewise.
2533 * soft-fp/unordsf2.c: Likewise.
2534 * soft-fp/unordtf2.c: Likewise.
2536 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
2539 * misc/error.c (error_tail): Fix possible buffer overflow.
2541 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2544 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2547 2013-10-14 P. J. McDermott <pj@pehjota.net>
2550 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2551 testing pipefail option.
2553 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2555 * soft-fp/double.h: Indent preprocessor directives inside #if.
2556 * soft-fp/extended.h: Likewise.
2557 * soft-fp/op-2.h: Likewise.
2558 * soft-fp/op-4.h: Likewise.
2559 * soft-fp/op-common.h: Likewise.
2560 * soft-fp/quad.h: Likewise.
2561 * soft-fp/single.h: Likewise.
2562 * soft-fp/soft-fp.h: Likewise.
2564 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2566 * iconv/iconv_prog.c: Fix typos.
2567 * stdio-common/psiginfo-data.h: Likewise.
2569 2013-10-12 Reuben Thomas <rrt@sc3d.org>
2572 * locale/setlocale.c: Fix typo.
2574 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2577 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2578 signaling NaN arguments.
2579 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2580 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2583 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2585 * soft-fp/gesf2.c (__gesf2): Likewise.
2586 * soft-fp/getf2.c (__getf2): Likewise.
2587 * soft-fp/ledf2.c (__ledf2): Likewise.
2588 * soft-fp/lesf2.c (__lesf2): Likewise.
2589 * soft-fp/letf2.c (__letf2): Likewise.
2591 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2592 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2593 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2594 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2595 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2596 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2597 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2598 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2599 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2600 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2601 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2602 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2603 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2604 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2605 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2606 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2607 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2608 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2609 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2610 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2611 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2612 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2613 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2614 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2615 * soft-fp/floattidf.c (__floattidf): Likewise.
2616 * soft-fp/floattisf.c (__floattisf): Likewise.
2617 * soft-fp/floattitf.c (__floattitf): Likewise.
2618 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2619 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2620 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2621 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2622 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2623 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2624 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2625 * soft-fp/gesf2.c (__gesf2): Likewise.
2626 * soft-fp/getf2.c (__getf2): Likewise.
2627 * soft-fp/ledf2.c (__ledf2): Likewise.
2628 * soft-fp/lesf2.c (__lesf2): Likewise.
2629 * soft-fp/letf2.c (__letf2): Likewise.
2631 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2632 Undefine and redefine.
2633 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2634 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2635 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2636 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2637 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2638 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2639 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2640 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2641 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2642 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2643 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2644 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2645 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2646 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2647 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2650 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2651 without decrementing exponent if mantissa >= that for the
2653 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2654 denominator, not >. Decrement exponent in < case instead of
2655 incrementing in >= case.
2656 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2657 without decrementing exponent if mantissa >= that for the
2660 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2661 computing saturated result for unsigned overflow.
2663 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2664 Jeff Law <law@redhat.com>
2666 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2667 (atan2Mp): Add systemtap probe marker.
2668 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2669 (__ieee754_log): Add systemtap probe marker.
2670 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2671 (atanMp): Add systemtap probe marker.
2672 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2673 (tanMp): Add systemtap probe marker.
2674 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2675 (__slowexp): Add systemtap probe marker.
2676 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2677 (__slowpow): Add systemtap probe marker.
2678 * manual/probes.texi: Document probes.
2680 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2683 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2685 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2687 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2688 written to buffer but not flushed.
2689 * libio/iofwrite_u.c: Likewise.
2690 * libio/iopadn.c: Return bytes returned even if EOF was
2692 * libio/iowpadn.c: Likewise.
2693 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2694 if _IO_padn does not write the whole buffer.
2695 [!COMPILE_WPRINTF] (PAD): Likewise.
2697 2013-10-10 David S. Miller <davem@davemloft.net>
2699 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2702 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2704 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2705 instead of FSF address.
2706 * soft-fp/fixdfti.c: Likewise.
2707 * soft-fp/fixsfti.c: Likewise.
2708 * soft-fp/fixtfti.c: Likewise.
2709 * soft-fp/fixunsdfti.c: Likewise.
2710 * soft-fp/fixunssfti.c: Likewise.
2711 * soft-fp/fixunstfti.c: Likewise.
2712 * soft-fp/floattidf.c: Likewise.
2713 * soft-fp/floattisf.c: Likewise.
2714 * soft-fp/floattitf.c: Likewise.
2715 * soft-fp/floatuntidf.c: Likewise.
2716 * soft-fp/floatuntisf.c: Likewise.
2717 * soft-fp/floatuntitf.c: Likewise.
2718 * soft-fp/trunctfxf2.c: Likewise.
2720 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2721 * soft-fp/fixdfti.c: Likewise.
2722 * soft-fp/fixsfti.c: Likewise.
2723 * soft-fp/fixtfti.c: Likewise.
2724 * soft-fp/fixunsdfti.c: Likewise.
2725 * soft-fp/fixunssfti.c: Likewise.
2726 * soft-fp/fixunstfti.c: Likewise.
2727 * soft-fp/floattidf.c: Likewise.
2728 * soft-fp/floattisf.c: Likewise.
2729 * soft-fp/floattitf.c: Likewise.
2730 * soft-fp/floatuntidf.c: Likewise.
2731 * soft-fp/floatuntisf.c: Likewise.
2732 * soft-fp/floatuntitf.c: Likewise.
2733 * soft-fp/trunctfxf2.c: Likewise.
2735 2013-10-10 David S. Miller <davem@davemloft.net>
2737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2739 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2741 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2742 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2743 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2744 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2745 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2746 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2747 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2750 for NaNs before doing comparisons on argument.
2751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2754 2013-10-10 Will Newton <will.newton@linaro.org>
2756 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2757 passed to _int_memalign does not overflow.
2759 2013-10-10 Torvald Riegel <triegel@redhat.com>
2761 * scripts/bench.pl: Add include-sources directive.
2762 * benchtests/README: Update documentation.
2764 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2766 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2767 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2768 instead of FP_INIT_ROUNDMODE.
2769 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2770 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2773 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2774 copy class of input value.
2775 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2776 not handle exceptions.
2777 * soft-fp/negsf2.c (__negsf2): Likewise.
2778 * soft-fp/negtf2.c (__negtf2): Likewise.
2779 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2781 2013-10-09 Joseph Myers <joseph@codesourcery.com>
2783 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2784 semicolon. From Linux kernel.
2786 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2788 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2790 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2793 * manual/socket.texi: Added statement about buffer
2794 for gethostbyname2_r.
2796 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
2798 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2799 Use .p2align directive instead, throughout.
2800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2801 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2802 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2804 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2805 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2806 * sysdeps/x86_64/strchr.S: Likewise.
2807 * sysdeps/x86_64/strrchr.S: Likewise.
2809 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2811 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2813 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2815 * sysdeps/generic/math_private.h (__mpsin1): Remove
2817 (__mpcos1): Likewise.
2818 (__mpsin): New argument __range_reduce.
2819 (__mpcos): Likewise.
2820 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2821 (slow): Use __mpsin and __mpcos.
2828 (bsloww1): Likewise.
2829 (bsloww2): Likewise.
2832 (csloww1): Likewise.
2833 (csloww2): Likewise.
2834 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2835 range_reduce. Merge in __mpsin1.
2836 (__mpcos): Likewise.
2838 (__mpcos1): Likewise.
2840 2013-10-07 Joseph Myers <joseph@codesourcery.com>
2842 * locale/loadlocale.c (_nl_intern_locale_data): Use
2844 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2845 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2846 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2847 obstack data is appropriately aligned.
2848 (obstack_int32_grow_fast): Likewise.
2849 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2850 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2851 (add_locale_uint32_array): Likewise.
2853 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2855 * benchtests/Makefile: Remove ARGLIST and RET variables.
2856 ($(objpfx)bench-%.c): Pass only function name to the script.
2857 * benchtests/README: Update documentation.
2858 * benchtests/acos-inputs: Add new directives.
2859 * benchtests/acosh-inputs: Likewise.
2860 * benchtests/asin-inputs: Likewise.
2861 * benchtests/asinh-inputs: Likewise.
2862 * benchtests/atan-inputs: Likewise.
2863 * benchtests/atanh-inputs: Likewise.
2864 * benchtests/cos-inputs: Likewise.
2865 * benchtests/cosh-inputs: Likewise.
2866 * benchtests/exp-inputs: Likewise.
2867 * benchtests/log-inputs: Likewise.
2868 * benchtests/pow-inputs: Likewise.
2869 * benchtests/rint-inputs: Likewise.
2870 * benchtests/sin-inputs: Likewise.
2871 * benchtests/sinh-inputs: Likewise.
2872 * benchtests/tan-inputs: Likewise.
2873 * benchtests/tanh-inputs: Likewise.
2874 * scripts/bench.pl: Add support for new directives.
2876 2013-10-07 Alan Modra <amodra@gmail.com>
2878 * README: Fix careless merge.
2880 2013-10-05 Alan Modra <amodra@gmail.com>
2882 * NEWS: Mention powerpc64le support and bugs fixed.
2883 * README: Both big-endian and little-endian powerpc64 supported.
2885 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2887 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2888 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2889 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2890 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2892 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2894 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2897 2013-10-04 Joseph Myers <joseph@codesourcery.com>
2899 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2900 Move -mhard-float appending from
2901 ports/sysdeps/powerpc/powerpc32/Makefile.
2902 [$(with-fp) = yes] (ASFLAGS): Likewise.
2903 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2904 * sysdeps/powerpc/nofpu: Move directory from
2905 ports/sysdeps/powerpc/nofpu.
2906 * sysdeps/powerpc/soft-fp: Move directory from
2907 ports/sysdeps/powerpc/soft-fp.
2908 * sysdeps/powerpc/powerpc32/405: Move directory from
2909 ports/sysdeps/powerpc/powerpc32/405.
2910 * sysdeps/powerpc/powerpc32/440: Move directory from
2911 ports/sysdeps/powerpc/powerpc32/440.
2912 * sysdeps/powerpc/powerpc32/464: Move directory from
2913 ports/sysdeps/powerpc/powerpc32/464.
2914 * sysdeps/powerpc/powerpc32/476: Move directory from
2915 ports/sysdeps/powerpc/powerpc32/476.
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2926 * README: Update for powerpc-*-linux-gnu software floating point
2929 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2930 case to powerpc/powerpc32*.
2931 * sysdeps/unix/sysv/linux/configure: Regenerated.
2933 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2934 (_FPU_MASK_OM): Define as 0x04.
2935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2943 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2946 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2949 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2950 and setcontext_e500.
2952 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2954 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2956 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2958 * manual/threads.texi (Default Thread Attributes): Fix typo.
2960 2013-10-04 Will Newton <will.newton@linaro.org>
2962 * malloc/Makefile: Add tst-memalign.
2963 * malloc/tst-memalign.c: New file.
2965 * malloc/tst-posix_memalign.c: Add comments.
2966 (do_test): Add comments and call free on all potentially
2967 allocated pointers. Add space after cast.
2969 * malloc/tst-pvalloc.c: Add comments.
2970 (do_test): Add comments and call free on all potentially
2971 allocated pointers. Remove duplicate check for NULL pointer.
2972 Add space after cast.
2974 * malloc/tst-valloc.c: Add comments.
2975 (do_test): Add comments and call free on all potentially
2976 allocated pointers. Remove duplicate check for NULL pointer.
2977 Add space after cast.
2979 2013-10-04 Alan Modra <amodra@gmail.com>
2981 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2982 Use stdint types in rather than __attribute__((mode())).
2983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2985 2013-10-04 Alan Modra <amodra@gmail.com>
2987 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2988 Correct handling of unaligned relocs for little-endian.
2989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2991 2013-10-04 Alan Modra <amodra@gmail.com>
2993 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2994 * configure: Regenerate.
2995 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2996 * shlib-versions: Likewise.
2998 2013-10-04 Alan Modra <amodra@gmail.com>
3000 * string/tester.c (test_memrchr): Increment reported test cycle.
3002 2013-10-04 Alan Modra <amodra@gmail.com>
3004 * string/test-memcpy.c (do_one_test): When reporting errors, print
3005 string address and don't overrun end of string.
3007 2013-10-04 Alan Modra <amodra@gmail.com>
3009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3010 insrdi. Make better use of reg selection to speed exit slightly.
3011 Schedule entry path a little better. Remove useless "are we done"
3012 checks on entry to main loop. Handle wrapping around zero address.
3013 Correct main loop count. Handle single left-over word from main
3014 loop inline rather than by using loop_small. Remove extra word
3015 case in loop_small caused by wrong loop count. Add little-endian
3017 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3020 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3021 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3022 support. Avoid rlwimi.
3023 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3025 2013-10-04 Alan Modra <amodra@gmail.com>
3027 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3029 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3030 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3031 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3032 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3033 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3034 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3036 2013-10-04 Alan Modra <amodra@gmail.com>
3038 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3039 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3042 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3043 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3044 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3046 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3047 use of regs. Use power7 mtocrf. Tidy function tails.
3049 2013-10-04 Alan Modra <amodra@gmail.com>
3051 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3052 Formatting. Consistently use rXXX register defines or rN defines.
3053 Use early exit labels that avoid restoring unused non-volatile regs.
3054 Make cr field use more consistent with rWORDn compares. Rename
3055 regs used as shift registers for unaligned loop, using rN defines
3056 for short lifetime/multiple use regs.
3057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3059 addi 1,1,64 to pop stack frame. Simplify return value code.
3060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3062 2013-10-04 Alan Modra <amodra@gmail.com>
3064 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3065 support. Correct typos, formatting. Optimize tail. Use insrdi
3067 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3068 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3069 little-endian support. Correct typos.
3070 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3072 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3073 in loop and entry code to keep "and." results.
3074 (strchr): Add little-endian support. Comment. Move cntlzd
3076 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3078 2013-10-04 Alan Modra <amodra@gmail.com>
3080 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3081 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3082 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3083 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3085 2013-10-04 Alan Modra <amodra@gmail.com>
3087 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3088 (rTMP): Define as r11.
3089 (strcmp): Add little-endian support. Optimise tail.
3090 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3091 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3092 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3093 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3098 2013-10-04 Alan Modra <amodra@gmail.com>
3100 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3101 little-endian support. Remove unnecessary "are we done" tests.
3102 Handle "s" wrapping around zero and extremely large "size".
3103 Correct main loop count. Handle single left-over word from main
3104 loop inline rather than by using small_loop. Correct comments.
3105 Delete "zero" tail, use "end_max" instead.
3106 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3108 2013-10-04 Alan Modra <amodra@gmail.com>
3110 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3111 support. Don't branch over align.
3112 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3113 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3114 support. Rearrange tmp reg use to suit. Comment.
3115 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3117 2013-10-04 Alan Modra <amodra@gmail.com>
3119 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3121 2013-10-04 Alan Modra <amodra@gmail.com>
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3124 conditional form of branch and link when obtaining pc.
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3127 2013-10-04 Alan Modra <amodra@gmail.com>
3129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3134 2013-10-04 Alan Modra <amodra@gmail.com>
3136 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3137 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3138 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3139 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3140 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3141 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3142 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3143 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3144 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3145 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3147 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3148 Alistair Popple <alistair@ozlabs.au.ibm.com>
3149 Alan Modra <amodra@gmail.com>
3152 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3153 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3154 _dl_hwcap access for little-endian.
3155 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3156 destroy vmx regs when saving unaligned.
3157 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3158 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3159 destroy vmx regs when saving unaligned.
3161 2013-10-04 Alan Modra <amodra@gmail.com>
3163 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3164 Don't use a union to pack hi/low value.
3166 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3168 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3170 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3171 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3172 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3174 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3176 2013-10-04 Alan Modra <amodra@gmail.com>
3178 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3179 constants to usual value for .cst8 section, and remove redundant
3181 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3182 constant for 0x1p52. Load little-endian words of double from
3183 correct stack offsets.
3185 2013-10-04 Alan Modra <amodra@gmail.com>
3187 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3188 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3189 words of double from correct stack offsets.
3190 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3191 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3192 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3193 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3194 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3195 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3197 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3198 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3202 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3203 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3204 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3205 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3206 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3208 2013-10-04 Alan Modra <amodra@gmail.com>
3210 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3211 64-bit int/double union.
3212 (_FPU_SETCW): Likewise.
3213 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3214 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3216 2013-10-04 Alan Modra <amodra@gmail.com>
3218 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3219 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3221 2013-10-04 Alan Modra <amodra@gmail.com>
3223 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3224 use vector int constants.
3225 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3227 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3229 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3230 array with long long.
3231 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3232 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3233 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3234 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3235 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3236 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3237 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3238 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3239 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3240 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3241 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3242 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3243 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3245 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3247 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3248 (__signbit): Likewise. Correct for little-endian.
3249 (__signbitl): Call __signbit.
3250 (lrint): Correct for little-endian.
3251 (lrintf): Call lrint.
3253 2013-10-04 Alan Modra <amodra@gmail.com>
3255 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3256 union 32-bit int array member with 64-bit int array.
3257 (t515, tm256): Double rather than long double.
3258 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3260 2013-10-04 Alan Modra <amodra@gmail.com>
3262 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3264 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3265 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3266 version of math_ldbl.h.
3268 2013-10-04 Alan Modra <amodra@gmail.com>
3270 [BZ #15734], [BZ #15735]
3271 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3272 all uses of ieee875 long double macros and unions. Simplify test
3273 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3274 ldbl_extract_mantissa value for ix,iy exponents. Properly
3275 normalize after ldbl_extract_mantissa, and don't add hidden bit
3276 already handled. Don't treat low word of ieee854 mantissa like
3277 low word of IBM long double and mask off bit when testing for
3279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3280 all uses of ieee875 long double macros and unions. Simplify tests
3281 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3282 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3283 two1022, instead use their values. Recognise that tests for large
3284 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3285 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3286 Rewrite all uses of ieee875 long double macros and unions. Simplify
3287 test for 0.0L and nan. Correct negation.
3288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3289 ieee875 long double macros and unions. Correct output for large
3290 magnitude x. Correct absolute value calculation.
3291 (__erfcl): Likewise.
3292 * math/libm-test.inc: Add tests for errors discovered in IBM long
3293 double versions of fmodl, remainderl, erfl and erfcl.
3295 2013-10-04 Alan Modra <amodra@gmail.com>
3297 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3298 all uses of ieee854 long double macros and unions. Simplify tests
3299 for long doubles that are fully specified by the high double.
3300 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3302 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3303 Remove dead code too.
3304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3305 (__ieee754_ynl): Likewise.
3306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3309 Remove dead code too.
3310 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3312 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3313 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3315 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3317 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3318 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3320 Comment on variable precision.
3321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3324 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3327 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3328 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3330 2013-10-04 Alan Modra <amodra@gmail.com>
3332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3334 all uses of ieee854 long double macros and unions.
3335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3346 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3347 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3348 Simplify sign and nan test too.
3349 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3350 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3351 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3352 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3355 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3359 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3364 2013-10-04 Alan Modra <amodra@gmail.com>
3366 * stdio-common/printf_size.c (__printf_size): Don't use
3367 union ieee854_long_double in fpnum union.
3368 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3369 signbit macro to retrieve sign from long double.
3370 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3371 retrieve sign from long double.
3372 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3373 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3374 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3375 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3376 * math/test-misc.c (main): Don't use union ieee854_long_double.
3378 2013-10-04 Alan Modra <amodra@gmail.com>
3381 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3382 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3383 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3384 calculation. Remove unnecessary test for denormal exponent.
3385 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3386 Correct handling of denormals. Avoid undefined shift behaviour.
3387 Correct normalisation of low mantissa when low double is denormal.
3388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3389 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3390 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3391 Correct normalisation of low mantissa. Test for overflow of high
3392 mantissa and normalise.
3393 (ldbl_nearbyint): Use more readable constant for two52.
3394 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3395 (__mpn_construct_long_double): Fix test for overflow of high
3396 mantissa and correct normalisation. Avoid undefined shift.
3398 2013-10-04 Alan Modra <amodra@gmail.com>
3400 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3401 (union ibm_extended_long_double): Define as an array of ieee754_double.
3402 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3404 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3405 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3414 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3416 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3417 page size instead of calling getpagesize.
3419 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3420 (LOCFILE_ALIGN_MASK): Likewise.
3421 (LOCFILE_ALIGN_UP): Likewise.
3422 (LOCFILE_ALIGNED_P): Likewise.
3423 * locale/programs/ld-collate.c (collate_output): Use the new
3424 macros instead of __alignof__ (int32_t).
3425 * locale/weight.h (findidx): Likewise.
3427 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3430 * manual/string.texi: Fix strncat and wcsncat.
3432 2013-10-03 Brooks Moses <bmoses@google.com>
3435 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3436 * Makerules: ...here, and adjust associated comments.
3438 2013-10-02 Will Newton <will.newton@linaro.org>
3440 * malloc/Makefile: Add tst-pvalloc.
3441 * malloc/tst-pvalloc.c: New file.
3443 2013-10-02 Will Newton <will.newton@linaro.org>
3445 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3446 improve test coverage.
3448 2013-10-02 Will Newton <will.newton@linaro.org>
3450 * malloc/Makefile: Add tst-posix_memalign.
3451 * malloc/tst-posix_memalign.c: New file.
3453 2013-10-01 Eric Blake <eblake@redhat.com>
3455 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3456 Use __THROWNL rather than __THROW on static functions.
3458 2013-09-30 Petr Machata <pmachata@redhat.com>
3460 * elf/elf.h (R_AARCH64_ABS16): New macro.
3461 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3462 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3463 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3464 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3465 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3466 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3467 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3468 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3469 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3470 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3471 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3472 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3473 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3474 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3475 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3476 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3477 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3478 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3479 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3480 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3481 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3482 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3483 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3484 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3485 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3486 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3487 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3488 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3489 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3490 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3491 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3492 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3493 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3494 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3495 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3496 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3497 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3498 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3499 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3500 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3501 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3502 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3503 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3504 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3505 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3506 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3507 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3508 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3509 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3510 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3511 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3512 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3513 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3514 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3515 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3516 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3517 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3518 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3519 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3520 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3521 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3522 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3523 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3524 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3525 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3526 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3527 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3528 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3529 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3530 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3531 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3532 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3533 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3534 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3535 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3536 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3537 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3538 (R_AARCH64_TLSDESC_LDR): Likewise.
3539 (R_AARCH64_TLSDESC_ADD): Likewise.
3540 (R_AARCH64_TLSDESC_CALL): Likewise.
3542 2013-09-30 Andreas Schwab <schwab@suse.de>
3545 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3546 the nss database lookup.
3547 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3550 2013-09-28 Mike Frysinger <vapier@gentoo.org>
3552 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3554 2013-09-28 P. J. McDermott <pj@pehjota.net>
3556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3557 ${Bash-specific parameter/pattern/string} parameter expansion.
3558 * sysdeps/unix/make-syscalls.sh: Likewise.
3560 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3562 * sysdeps/sh/stackguard-macros.h: New file.
3564 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
3566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3568 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3569 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3570 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3571 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3573 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3575 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3576 Fix thread ID register.
3578 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3580 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3581 [POSIX || UNIX98]: Require rather than permitting all symbols from
3583 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3584 element of struct sched_param.
3585 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3586 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3587 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3588 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3591 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3593 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3594 argument calculation.
3596 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3598 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3600 [POSIX] (pthread_attr_t): Do not require type.
3601 [POSIX] (pthread_cond_t): Likewise.
3602 [POSIX] (pthread_condattr_t): Likewise.
3603 [POSIX] (pthread_key_t): Likewise.
3604 [POSIX] (pthread_mutex_t): Likewise.
3605 [POSIX] (pthread_mutexattr_t): Likewise.
3606 [POSIX] (pthread_once_t): Likewise.
3607 [POSIX] (pthread_t): Likewise.
3608 [POSIX-based standards] (pthread_atfork): Expect function.
3610 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3611 Richard Sandiford <richard@codesourcery.com>
3613 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3614 (swap_endianness_p): New extern variable.
3615 (set_big_endian): New inline function.
3616 (maybe_swap_uint32): Likewise.
3617 (maybe_swap_uint32_array): Likewise.
3618 (maybe_swap_uint32_obstack): Likewise.
3619 * locale/programs/locfile.c: Include <stdbool.h>.
3620 (swap_endianness_p): New variable.
3621 (add_locale_uint32): Call maybe_swap_uint32.
3622 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3623 (write_locale_data): Call maybe_swap_uint32_array.
3624 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3626 (obstack_int32_grow_fast): Likewise.
3627 (output_weightwc): Call maybe_swap_uint32_obstack.
3628 (collate_output): Likewise.
3629 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3630 (OPT_LITTLE_ENDIAN): Likewise.
3631 (options): Add --little-endian and --big-endian options.
3632 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3633 * locale/programs/locarchive.c: Include "locfile.h".
3637 (create_archive): Use the new macros to access fields of
3638 structures directly mapped from or written to locale archives.
3639 (oldlocrecentcmp): Likewise.
3640 (enlarge_archive): Likewise.
3641 (insert_name): Likewise.
3642 (add_alias): Likewise.
3643 (add_locale): Likewise.
3644 (delete_locales_from_archive): Likewise.
3645 (show_archive_content): Likewise.
3646 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3649 2013-09-24 Roland McGrath <roland@hack.frob.com>
3651 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3652 http://www.gnu.org/doc/freemanuals.texi.
3653 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3655 2013-09-24 Will Newton <will.newton@linaro.org>
3657 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3660 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3662 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3665 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3667 * manual/threads.texi (POSIX Threads): Fix a typo.
3669 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3672 * string/tst-strcoll-overflow.c: New test case.
3673 * string/Makefile (xtests): Add tst-strcoll-overflow.
3674 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3675 cache if string sizes may cause integer overflow.
3678 * string/strcoll_l.c (coll_seq): New members rule, idx,
3679 save_idx and back_us.
3680 (get_next_seq_nocache): New function.
3681 (do_compare_nocache): New function.
3682 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3685 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3688 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3689 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3690 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3693 * elf/Makefile (tests): Add tst-ptrguard1.
3694 (tests-static): Add tst-ptrguard1-static.
3695 (tst-ptrguard1-ARGS): Define.
3696 (tst-ptrguard1-static-ARGS): Define.
3697 * elf/tst-ptrguard1.c: New file.
3698 * elf/tst-ptrguard1-static.c: New file.
3699 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3700 * sysdeps/i386/stackguard-macros.h: Likewise.
3701 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3702 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3703 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3704 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3705 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3706 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3708 2013-09-23 Hector Marco <hecmargi@upv.es>
3709 Ismael Ripoll <iripoll@disca.upv.es>
3710 Carlos O'Donell <carlos@redhat.com>
3713 * sysdeps/generic/stackguard-macros.h: Define
3714 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3715 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3716 Define __pointer_chk_guard_local.
3717 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3718 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3720 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3723 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3725 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3727 * include/string.h (__ffs): Declare as hidden.
3728 * string/ffs.c (__ffs): Define as hidden.
3729 * sysdeps/i386/ffs.c (__ffs): Likewise.
3730 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3731 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3732 * sysdeps/s390/ffs.c (__ffs): Likewise.
3733 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3735 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3737 * NEWS: Mention malloc probes.
3739 * malloc/arena.c (new_heap): New memory_heap_new probe.
3740 (grow_heap): New memory_heap_more probe.
3741 (shrink_heap): New memory_heap_less probe.
3742 (heap_trim): New memory_heap_free probe.
3743 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3744 (systrim): New memory_sbrk_less probe.
3745 * manual/probes.texi: Document them.
3747 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3748 * manual/probes.texi: Document it.
3750 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3751 (__libc_realloc): Add memory_realloc_retry probe.
3752 (__libc_memalign): Add memory_memalign_retry probe.
3753 (__libc_valloc): Add memory_valloc_retry probe.
3754 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3755 (__libc_calloc): Add memory_calloc_retry probe.
3756 * manual/probes.texi: Document them.
3758 * malloc/arena.c (get_free_list): Add probe
3759 memory_arena_reuse_free_list.
3760 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3761 and memory_arena_reuse.
3762 (arena_get2) [!PER_THREAD]: Likewise.
3763 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3764 memory_arena_reuse_realloc.
3765 * manual/probes.texi: Document them.
3767 * malloc/malloc.c (__libc_free): Add
3768 memory_mallopt_free_dyn_thresholds probe.
3769 (__libc_mallopt): Add multiple memory_mallopt probes.
3770 * manual/probes.texi: Document them.
3772 * malloc/malloc.c: Include stap-probe.h.
3773 (__libc_mallopt): Add memory_mallopt probe.
3774 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3775 * manual/probes.texi: New.
3776 * manual/Makefile (chapters): Add probes.
3777 * manual/threads.texi: Set next node.
3779 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3782 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3783 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3784 Add `Chinese' to `nan' entry name.
3786 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3788 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3789 (POLYNOMIAL): Likewise.
3790 (TAYLOR_SINCOS): Likewise.
3791 (TAYLOR_SLOW): Likewise.
3792 (__sin): Use TAYLOR_SINCOS.
3794 (slow): Use TAYLOR_SLOW.
3799 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3801 * stdlib/strtod_l.c: Fix buffer overrun.
3803 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3805 * benchtests/Makefile (bench): Add sincos.
3806 * benchtests/bench-sincos.c: New file.
3808 * math/libm-test.inc (cos_test_data): New test inputs.
3809 (sin_test_data): Likewise.
3811 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3819 (bsloww1): Likewise.
3820 (bsloww2): Likewise.
3822 (csloww1): Likewise.
3823 (csloww2): Likewise.
3825 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3834 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3836 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3837 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3838 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3839 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3840 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3841 * elf/cache.c (print_entry): Handle the new cache flags.
3843 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3844 Aldy Hernandez <aldyh@redhat.com>
3846 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3847 Change condition to [_SOFT_FLOAT].
3848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3860 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3863 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3866 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3868 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3869 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3870 (__longjmp): Use LOAD_GP to load saved GPRs.
3871 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3872 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3873 (__sigsetjmp): Use SAVE_GP to save GPRs.
3875 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3876 Do not append -msoft-float.
3877 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3879 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3881 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3883 2013-09-17 Joseph Myers <joseph@codesourcery.com>
3886 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3887 (_FPU_GETCW): Use initial "__" on variable and field names but not
3888 on macro parameter name.
3889 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3890 parentheses around reference to macro parameter.
3892 2013-09-13 Richard Sandiford <richard@codesourcery.com>
3894 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3896 (ctype_startup): Use uint32_t in cast and sizeof for
3899 2013-09-11 Jia Liu <proljc@gmail.com>
3901 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3903 [__FreeBSD__]: Likewise.
3905 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
3907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3908 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3909 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3910 (strchr): Remove __strchr_sse42 ifunc selection.
3911 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3912 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3914 2013-09-11 Will Newton <will.newton@linaro.org>
3916 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3917 parameter to RES. Remove hardcoded 1000 value.
3918 * benchtests/bench-skeleton.c (main): Pass RES parameter
3919 to TIMING_INIT and multiply result by 1000.
3921 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3925 2013-09-11 Andreas Schwab <schwab@suse.de>
3927 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3929 (O_TMPFILE) [__USE_GNU]: Define.
3930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3933 2013-09-11 Will Newton <will.newton@linaro.org>
3936 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3939 2013-09-11 Will Newton <will.newton@linaro.org>
3942 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3945 2013-09-11 Will Newton <will.newton@linaro.org>
3948 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3951 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
3953 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3954 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3959 2013-09-10 Allan McRae <allan@archlinux.org>
3962 * manual/arith.texi (Parsing of Floats): Clarify
3966 * manual/install.texi (Running make install): Mention
3968 * INSTALL: Regenerated.
3970 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3972 * csu/init-first.c (_init): Remove the !SHARED condition around
3973 FPU control word initialization.
3974 * elf/dl-support.c (_dl_fpu_control): New variable.
3975 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3976 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3977 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3978 * math/test-fpucw-static.c: New file.
3979 * math/test-fpucw-ieee.c: New file.
3980 * math/test-fpucw-ieee-static.c: New file.
3981 * math/Makefile (tests): Add `test-fpucw-ieee' and
3983 (tests-static): New variable.
3984 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3986 [($(build-shared),yes)]
3987 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3989 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3992 2013-09-09 Allan McRae <allan@archlinux.org>
3995 * manual/string.texi (Collation Functions): Fix typo in
3997 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4000 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4003 * libio/memstream.c (open_memstream): Fix memory leak.
4004 * libio/wmemstream.c (open_wmemstream): Likewise.
4007 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4009 2013-09-09 Will Newton <will.newton@linaro.org>
4011 * malloc/Makefile: Add tst-realloc to tests.
4012 * malloc/tst-realloc.c: New file.
4014 2013-09-09 Allan McRae <allan@archlinux.org>
4017 * COPYING: Update from GNU website to fix FSF address.
4018 * COPYING.LIB: Likewise.
4020 2013-09-06 David S. Miller <davem@davemloft.net>
4022 * po/zh_TW.po: Update Chinese (traditional) translation from
4023 translation project.
4025 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4026 Joseph Myers <joseph@codesourcery.com>
4028 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4030 (obstack_chunk_alloc): New macro.
4031 (obstack_chunk_free): Likewise.
4032 (record_offset): New function.
4033 (init_locale_data): Likewise.
4034 (align_locale_data): Likewise.
4035 (add_locale_empty): Likewise.
4036 (add_locale_raw_data): Likewise.
4037 (add_locale_raw_obstack): Likewise.
4038 (add_locale_string): Likewise.
4039 (add_locale_wstring): Likewise.
4040 (add_locale_uint32): Likewise.
4041 (add_locale_uint32_array): Likewise.
4042 (add_locale_char): Likewise.
4043 (start_locale_structure): Likewise.
4044 (end_locale_structure): Likewise.
4045 (start_locale_prelude): Likewise.
4046 (end_locale_prelude): Likewise.
4047 (write_locale_data): Take locale_file structure rather than an
4049 * locale/programs/locfile.h: Include "obstack.h".
4050 (struct locale_file): Change to store locale file contents instead
4052 (init_locale_data): New prototype.
4053 (align_locale_data): Likewise.
4054 (add_locale_empty): Likewise.
4055 (add_locale_raw_data): Likewise.
4056 (add_locale_raw_obstack): Likewise.
4057 (add_locale_string): Likewise.
4058 (add_locale_wstring): Likewise.
4059 (add_locale_uint32): Likewise.
4060 (add_locale_uint32_array): Likewise.
4061 (add_locale_char): Likewise.
4062 (start_locale_structure): Likewise.
4063 (end_locale_structure): Likewise.
4064 (start_locale_prelude): Likewise.
4065 (end_locale_prelude): Likewise.
4066 (write_locale_data): Update prototype.
4067 * locale/programs/3level.h (struct TABLE): Remove result field.
4068 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4069 Use new locale_file interface.
4070 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4071 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4072 * locale/programs/ld-address.c (address_output): Use new
4073 locale_file interface.
4074 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4076 (collate_finish): Don't call collseq_table_finalize.
4077 (collate_output): Use new locale_file interface.
4078 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4080 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4081 (TABLE): Move defines earlier in file.
4082 (ELEMENT): Likewise.
4083 (DEFAULT): Likewise.
4084 (wctrans_table_add): Move macro and inline function earlier in
4086 (struct wctype_table): Move type earlier in file.
4087 (add_locale_wctype_table): New static prototype.
4088 (struct locale_ctype_t): Use logical types instead of struct iovec
4089 pointers for members.
4090 (ctype_output): Use new locale_file interface.
4091 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4092 new locale_file interface.
4093 (allocate_arrays): Update for use of new locale_file interface.
4094 * locale/programs/ld-identification.c (identification_output): Use
4095 new locale_file interface.
4096 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4097 * locale/programs/ld-messages.c (messages_output): Likewise.
4098 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4099 * locale/programs/ld-name.c (name_output): Likewise.
4100 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4101 * locale/programs/ld-paper.c (paper_output): Likewise.
4102 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4103 * locale/programs/ld-time.c (time_output): Likewise.
4105 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107 * benchtests/Makefile: Add memrchr benchmark.
4108 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4109 benchmark as memrchr.
4110 * benchtests/bench-memrchr-ifunc.c: New file.
4111 * benchtests/bench-memrchr.c: New file.
4113 2013-09-06 Will Newton <will.newton@linaro.org>
4115 * benchtests/Makefile (string-bench): Add memcpy.
4117 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4118 Cong Wang <amwang@redhat.com>
4120 * sysdeps/unix/sysv/linux/bits/in.h
4121 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4122 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4123 before __USE_KERNEL_IPV6_DEFS uses.
4124 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4126 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4127 sockaddr_in6, or ipv6_mreq.
4129 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4131 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4132 memory access for final bytes in some large inputs.
4133 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4135 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4137 * string/test-memrchr.c: New file.
4138 * string/test-memrchr-ifunc.c: New file.
4139 * string/Makefile: Add new memrchr testcase.
4141 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4143 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4144 fanotify_init returns EPERM.
4146 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4148 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4150 (top level): Treat second token from macro or constant entries for
4151 allowed headers as allowed.
4152 * include/complex.h: Condition internal declarations on
4154 * include/fenv.h: Condition include of <stdbool.h> and internal
4155 declarations on [!_ISOMAC].
4157 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4160 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4162 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4164 * configure.in (--enable-versioning): Remove configure option.
4165 (libc_cv_asm_symver_directive): Remove configure test.
4166 (libc_cv_ld_version_script_option): Likewise.
4167 (VERSIONING): Remove variable and AC_SUBST.
4168 (DO_VERSIONING): Remove AC_DEFINE.
4169 * configure: Regenerated.
4170 * config.h.in (DO_VERSIONING): Remove macro.
4171 * Makerules [$(versioning) = yes]: Change conditionals to
4172 [$(build-shared) = yes].
4173 * config.make.in (versioning): Remove variable.
4174 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4175 [$(build-shared) = yes].
4176 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4177 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4178 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4179 [$(build-shared) = yes].
4180 * extra-lib.mk [$(versioning) = yes]: Likewise.
4181 * hurd/Makefile [$(versioning) = yes]: Likewise.
4182 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4184 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4186 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4187 [SHARED && !NO_HIDDEN].
4188 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4190 [SHARED && DO_VERSIONING]: Likewise..
4191 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4192 [$(build-shared) = yes].
4193 * manual/install.texi (--disable-versioning): Remove
4195 * INSTALL: Regenerated.
4196 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4198 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4199 [$(build-shared) = yes].
4200 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4201 * sysdeps/i386/i686/multiarch/strstr-c.c
4202 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4203 [SHARED && !NO_HIDDEN].
4204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4205 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4206 * sysdeps/powerpc/powerpc32/dl-machine.c
4207 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4208 * sysdeps/powerpc/powerpc32/sysdep.h
4209 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4210 to [SHARED && PIC && !NO_HIDDEN].
4211 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4212 conditional to [SHARED].
4214 2013-09-04 Will Newton <will.newton@linaro.org>
4216 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4217 * benchtests/bench-string.h: Include bench-timing.h instead
4218 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4219 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4220 call to HP_TIMING_DIFF_INIT.
4221 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4222 instead of hp-timing.h macros.
4223 * benchtests/bench-memchr.c: Likewise.
4224 * benchtests/bench-memcmp.c: Likewise.
4225 * benchtests/bench-memcpy.c: Likewise.
4226 * benchtests/bench-memmem.c: Likewise.
4227 * benchtests/bench-memmove.c: Likewise.
4228 * benchtests/bench-memset.c: Likewise.
4229 * benchtests/bench-rawmemchr.c: Likewise.
4230 * benchtests/bench-strcasecmp.c: Likewise.
4231 * benchtests/bench-strcasestr.c: Likewise.
4232 * benchtests/bench-strcat.c: Likewise.
4233 * benchtests/bench-strchr.c: Likewise.
4234 * benchtests/bench-strcmp.c: Likewise.
4235 * benchtests/bench-strcpy.c: Likewise.
4236 * benchtests/bench-strcpy_chk.c: Likewise.
4237 * benchtests/bench-strlen.c: Likewise.
4238 * benchtests/bench-strncasecmp.c: Likewise.
4239 * benchtests/bench-strncat.c: Likewise.
4240 * benchtests/bench-strncmp.c: Likewise.
4241 * benchtests/bench-strncpy.c: Likewise.
4242 * benchtests/bench-strnlen.c: Likewise.
4243 * benchtests/bench-strpbrk.c: Likewise.
4244 * benchtests/bench-strrchr.c: Likewise.
4245 * benchtests/bench-strspn.c: Likewise.
4246 * benchtests/bench-strstr.c: Likewise.
4248 2013-09-04 Will Newton <will.newton@linaro.org>
4250 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4252 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4256 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4257 * math/libm-test.inc (lgamma_test_data): Add more tests.
4258 * sysdeps/i386/fpu/libm-test-ulps: Update.
4259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4261 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4263 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4267 Add strcmp-sse2-unaligned
4268 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4270 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4272 * Versions.def (libc): Add GLIBC_2.19.
4274 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4276 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4277 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4279 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4283 intermediate calculations in recurrence.
4284 (__ieee754_ynf): Likewise.
4285 * math/libm-test.inc (jn_test_data): Do not allow spurious
4286 underflow exception. Add more tests.
4287 (yn_test_data): Add more tests.
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4291 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4295 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4297 * csu/init-first.c: Fix then/than typos.
4298 * locale/programs/ld-collate.c: Likewise.
4299 * locale/programs/linereader.h: Likewise.
4300 * manual/charset.texi: Likewise.
4301 * manual/filesys.texi: Likewise.
4302 * manual/stdio.texi: Likewise.
4303 * manual/string.texi: Likewise.
4304 * stdlib/fmtmsg.c: Likewise.
4305 * sysdeps/i386/stpncpy.S: Likewise.
4306 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4307 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4308 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4309 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4311 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4313 * elf/dl-open.c: Fix typos.
4314 * iconvdata/gbbig5.c: Likewise.
4315 * iconvdata/iso-2022-jp.c: Likewise.
4316 * iconv/gconv_int.h: Likewise.
4317 * iconv/loop.c: Likewise.
4318 * nis/rpcsvc/nis.h: Likewise.
4319 * resolv/ns_name.c: Likewise.
4320 * stdio-common/vfscanf.c: Likewise.
4321 * streams/stropts.h: Likewise.
4322 * sunrpc/rpc_thread.c: Likewise.
4323 * sysdeps/i386/strpbrk.S: Likewise.
4324 * sysdeps/ieee754/k_standard.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4327 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4328 * sysdeps/mach/hurd/profil.c: Likewise.
4329 * sysdeps/s390/dl-procinfo.h: Likewise.
4330 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4331 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4332 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4333 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4336 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4338 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4341 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4345 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4347 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4348 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4349 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4350 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4352 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4354 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4355 Roland McGrath <roland@hack.frob.com>
4357 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4358 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4360 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4362 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4363 __executable_start symbol instead of _start.
4365 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4367 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4368 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4370 * sysdeps/gnu/ldsodefs.h: ... this new file.
4372 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4373 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4374 instead of ELFOSABI_LINUX.
4376 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4377 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4378 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4379 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4381 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4382 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4385 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4386 (ibm_extended_long_double): Add ieee_nan member.
4387 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4388 (do_test): New function.
4390 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4392 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4393 functions, renamed from truncdfsf_test, trunctfsf_test,
4395 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4397 (do_test): Run all these.
4399 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4401 * argp/argp-help.c: Fix typos.
4402 * argp/argp-parse.c: Likewise.
4403 * debug/backtracesyms.c: Likewise.
4404 * elf/elf.h: Likewise.
4405 * malloc/malloc.c: Likewise.
4406 * nis/nis_print.c: Likewise.
4407 * resolv/res_comp.c: Likewise.
4408 * stdlib/stdlib.h: Likewise.
4409 * sunrpc/clnt_tcp.c: Likewise.
4410 * sunrpc/clnt_udp.c: Likewise.
4411 * sunrpc/clnt_unix.c: Likewise.
4412 * sysdeps/unix/bsd/ptsname.c: Likewise.
4413 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4414 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4421 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4423 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4425 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4428 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4431 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4432 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4433 ($(objpfx)bug-dl-leaf): New rule.
4434 ($(objpfx)bug-dl-leaf.so): Likewise.
4435 ($(objpfx)bug-dl-leaf.out): Likewise.
4436 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4437 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4438 * dlfcn/bug-dl-leaf.c: New test.
4439 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4440 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4441 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4442 (dlclose): Likewise.
4443 (dlmopen): Likewise.
4445 2013-08-27 Roland McGrath <roland@hack.frob.com>
4447 * include/netdb.h [!_ISOMAC]:
4448 Don't include <tls.h>.
4449 (h_errno, __libc_h_errno): Move declaration and macros out of
4452 * include/resolv.h [_RESOLV_H_]:
4453 Don't include <tls.h>.
4454 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4455 * resolv/res_libc.c: Don't include <tls.h>.
4456 (_res): Use __attribute__ ((nocommon)) in place of
4457 __attribute__ ((section (".bss"))).
4459 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4460 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4462 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4464 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4465 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4467 * resolv/res_mkquery.c: Include <sys/time.h>.
4469 * inet/ifreq.c: Moved to ...
4470 * sysdeps/unix/ifreq.c: ... here.
4471 * inet/ifreq.c: New file, true stub version.
4473 * socket/sa_len.c: New file.
4474 * socket/Makefile (aux): Add it.
4475 * sysdeps/unix/sysv/linux/Makefile
4476 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4477 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4478 and #include <socket/sa_len.c>.
4479 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4480 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4483 * bits/socket.h: ... here.
4485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4486 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4487 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4489 2013-08-27 Andreas Schwab <schwab@suse.de>
4492 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4493 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4494 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4495 * string/test-strcasecmp.c (test_main): Run tests in several
4497 * string/test-strncasecmp.c (test_main): Likewise.
4499 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4500 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4501 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4502 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4503 (__strncasecmp_ssse3) [PIC]: Likewise.
4505 2013-08-26 Roland McGrath <roland@hack.frob.com>
4507 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4509 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4510 instead of explicitly declaring xdecrypt.
4511 * nis/nss_nis/nis-publickey.c: Likewise.
4513 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4516 * nscd/aicache.c: Include res_hconf.h.
4517 (addhstaiX): Initialize res_hconf.
4519 2013-08-26 Andreas Schwab <schwab@suse.de>
4521 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4522 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4524 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4526 * nscd/aicache.c (addhstaiX): Fix indentation.
4528 2013-08-25 Mike Frysinger <vapier@gentoo.org>
4530 * configure.ac: Quote $build_pt_chown test.
4531 * configure: Regenerated.
4533 2013-08-23 Joseph Myers <joseph@codesourcery.com>
4536 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4537 * math/s_cexpf.c (__cexpf): Likewise.
4538 * math/s_cexpl.c (__cexpl): Likewise.
4539 * math/libm-test.inc (cexp_test_data): Correct expected return
4540 value for NaN + i0. Add another test.
4542 2013-08-22 David S. Miller <davem@davemloft.net>
4544 * po/ca.po: Update Catalan translation from translation project.
4545 * po/uk.po: Add Ukrainian translations from translation project.
4547 2013-08-21 Joseph Myers <joseph@codesourcery.com>
4550 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4551 is infinite, not alongside NaN test.
4552 * math/s_fdimf.c (__fdimf): Likewise.
4553 * math/s_fdiml.c (__fdiml): Likewise.
4554 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4557 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
4559 * argp/argp-help.c: Fix typos.
4560 * crypt/speeds.c: Likewise.
4561 * csu/check_fds.c: Likewise.
4562 * elf/dl-load.c: Likewise.
4563 * elf/dl-open.c: Likewise.
4564 * elf/reldep3.c: Likewise.
4565 * elf/reldep.c: Likewise.
4566 * elf/sprof.c: Likewise.
4567 * iconv/iconv_charmap.c: Likewise.
4568 * iconv/skeleton.c: Likewise.
4569 * iconv/strtab.c: Likewise.
4570 * io/lockf64.c: Likewise.
4571 * libio/libioP.h: Likewise.
4572 * resolv/gai_notify.c: Likewise.
4573 * resolv/ns_name.c: Likewise.
4574 * resolv/ns_samedomain.c: Likewise.
4575 * resolv/res_send.c: Likewise.
4576 * stdlib/random.c: Likewise.
4577 * sunrpc/rpc/xdr.h: Likewise.
4578 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4579 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4580 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4581 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4583 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4585 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4586 * sysdeps/mach/hurd/check_fds.c: Likewise.
4587 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4588 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4589 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4590 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4591 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4592 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4593 * sysdeps/pthread/aio_notify.c: Likewise.
4594 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4595 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4596 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4597 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4598 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4600 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4602 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4603 version if bit_Slow_SSE4_2 is set.
4604 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4605 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4607 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4610 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4611 trampoline stack frame information.
4612 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4614 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4615 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4616 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4617 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4618 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4619 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4621 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4622 interrupting a syscall and set with option SA_SIGINFO.
4624 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4627 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4628 argument is infinite.
4629 * math/s_cprojf.c (__cprojf): Likewise.
4630 * math/s_cprojl.c (__cprojl): Likewise.
4631 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4632 * math/libm-test.inc (cproj_test_data): Add more tests.
4634 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4636 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4637 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4638 size. Use __ffs to determine corresponding shift.
4640 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4641 Roland McGrath <roland@hack.frob.com>
4643 * Makefile (INSTALL): Remove trailing blank lines from output of
4646 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4648 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4649 Align 32 bit compat elf_greg to 8 bytes.
4651 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4653 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4655 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4657 * string/strcoll_l.c (coll_seq): New structure.
4658 (get_next_seq_cached): New function.
4659 (get_next_seq): New function.
4660 (do_compare): New function.
4661 (STRCOLL): Use GNU style definition. Simplify implementation
4662 by using get_next_seq, get_next_seq_cached and do_compare.
4664 2013-08-16 Florian Weimer <fweimer@redhat.com>
4668 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4670 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4672 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4673 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4674 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4676 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4677 GETDENTS_64BIT_ALIGNED.
4678 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4679 * manual/filesys.texi (Reading/Closing Directory): Document
4680 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4682 * manual/conf.texi (Limits for Files): Add portability note to
4684 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4686 2013-08-13 Andreas Schwab <schwab@suse.de>
4689 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4691 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4692 LDBL_MAX_EXP >= 16384]: Add tests for it.
4694 2013-08-12 David S. Miller <davem@davemloft.net>
4696 * version.h (RELEASE): Set to "development".
4697 (VERSION): Set to "2.18.90".
4698 * NEWS: Add 2.19 section.
4700 2013-08-03 David S. Miller <davem@davemloft.net>
4702 * po/ko.po: Update Korean translation from translation project.
4704 2013-08-01 David S. Miller <davem@davemloft.net>
4706 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4707 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4710 2013-07-30 David S. Miller <davem@davemloft.net>
4712 * po/fr.po: Update French translation from translation project.
4714 2013-07-28 David S. Miller <davem@davemloft.net>
4716 * po/cs.po: Update Czech translation from translation project.
4718 * po/sv.po: Update Swedish translation from translation project.
4720 2013-07-27 David S. Miller <davem@davemloft.net>
4722 * po/eo.po: Update Esperanto translation from translation project.
4724 * po/vi.po: Update Vietnamese translation from translation project.
4726 * po/de.po: Update German translation from translation project.
4728 2013-07-26 David S. Miller <davem@davemloft.net>
4730 * po/bg.po: Update Bulgarian translation from translation project.
4732 * po/nl.po: Update Dutch translation from translation project.
4733 * po/pl.po: Update Polish translation from translation project.
4734 * po/ru.po: Update Russian translation from translation project.
4736 2013-07-24 David S. Miller <davem@davemloft.net>
4738 * po/libc.pot: Update.
4740 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4744 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4745 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4746 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4748 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4750 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4752 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4753 Andreas Schwab <schwab@suse.de>
4754 Roland McGrath <roland@hack.frob.com>
4755 Joseph Myers <joseph@codesourcery.com>
4756 Carlos O'Donell <carlos@redhat.com>
4759 * config.h.in: Define HAVE_PT_CHOWN.
4760 * config.make.in (build-pt-chown): New variable.
4761 * configure.in (--enable-pt_chown): New configure option.
4762 * configure: Regenerate.
4763 * login/Makefile: Include Makeconfig. Build pt_chown only if
4764 build-pt-chown is enabled.
4765 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4766 pt_chown to fix pty ownership.
4767 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4769 * manual/install.texi (Configuring and compiling): Mention
4770 --enable-pt_chown. Add @findex for grantpt.
4771 * INSTALL: Regenerate.
4773 2013-07-20 David S. Miller <davem@davemloft.net>
4775 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4776 difference between 32-bit and 64-bit.
4778 2013-07-15 Carlos O'Donell <carlos@redhat.com>
4781 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4782 Avoid system header dependency with -ffreestanding.
4783 ($(objpfx)bits/syscall%d): Likewise.
4785 2013-07-13 David S. Miller <davem@davemloft.net>
4787 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4788 underflows from atanl/atan2l due to bug 15319.
4789 (casinh_test_data): Likewise.
4791 2013-07-07 David S. Miller <davem@davemloft.net>
4793 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4795 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4797 * sysdeps/i386/fpu/libm-test-ulps: Update.
4798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4800 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4802 * configure.in (--enable-lock-elision): Fix message text.
4803 * INSTALL: Regenerate.
4804 * configure: Regenerate.
4806 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4810 2013-07-03 Andreas Jaeger <aj@suse.de>
4812 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4814 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4815 (ptrace_peeksiginfo_args): Add.
4816 (__ptrace_peeksiginfo_flags): Add.
4817 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4819 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4821 2013-07-03 Allan McRae <allan@archlinux.org>
4823 * sysdeps/i386/fpu/libm-test-ulps: Update.
4825 2013-07-02 David S. Miller <davem@davemloft.net>
4827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4829 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4833 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4835 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838 2013-07-02 Andi Kleen <ak@linux.intel.com>
4840 * config.h.in (ENABLE_LOCK_ELISION): Add.
4841 * configure.in (--enable-lock-elision): Add option.
4842 * manual/install.texi: Document --enable lock elision.
4843 * configure: Regenerate
4844 * INSTALL: Regenerate.
4846 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4848 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4849 SSE4.2 strcasecmp for libc.a.
4850 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4852 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4855 * soft-fp/op-common.h (_FP_FMA): New macro.
4856 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4857 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4858 (_FP_MUL_MEAT_1_imm): ... here.
4859 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4860 (_FP_MUL_MEAT_1_wide): ... here.
4861 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4862 (_FP_MUL_MEAT_1_hard): ... here.
4863 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4864 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4865 (_FP_MUL_MEAT_2_wide): ... here.
4866 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4867 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4868 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4869 (_FP_MUL_MEAT_2_gmp): ... here.
4870 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4871 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4872 (_FP_MUL_MEAT_4_wide): ... here.
4873 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4874 (_FP_MUL_MEAT_4_gmp): ... here.
4875 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4876 (_FP_WFRACBITS_DW_S): Likewise.
4877 (_FP_WFRACXBITS_DW_S): Likewise.
4878 (_FP_HIGHBIT_DW_S): Likewise.
4879 (FP_FMA_S): Likewise.
4880 (_FP_FRAC_HIGH_DW_S): Likewise.
4881 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4882 (_FP_WFRACBITS_DW_D): Likewise.
4883 (_FP_WFRACXBITS_DW_D): Likewise.
4884 (_FP_HIGHBIT_DW_D): Likewise.
4885 (FP_FMA_D): Likewise.
4886 (_FP_FRAC_HIGH_DW_D): Likewise.
4887 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4888 (_FP_WFRACBITS_DW_E): Likewise.
4889 (_FP_WFRACXBITS_DW_E): Likewise.
4890 (_FP_HIGHBIT_DW_E): Likewise.
4891 (FP_FMA_E): Likewise.
4892 (_FP_FRAC_HIGH_DW_E): Likewise.
4893 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4894 (_FP_WFRACBITS_DW_Q): Likewise.
4895 (_FP_WFRACXBITS_DW_Q): Likewise.
4896 (_FP_HIGHBIT_DW_Q): Likewise.
4897 (FP_FMA_Q): Likewise.
4898 (_FP_FRAC_HIGH_DW_Q): Likewise.
4899 * soft-fp/fmasf4.c: New file.
4900 * soft-fp/fmadf4.c: Likewise.
4901 * soft-fp/fmatf4.c: Likewise.
4903 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4906 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4910 (index_Slow_SSE4_2): Likewise.
4911 (index_Prefer_PMINUB_for_stringop): Likewise.
4912 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4913 bit_Slow_SSE4_2 is set.
4914 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4915 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4917 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4919 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4920 rtld_global._dl_hwcap2.
4921 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4923 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4924 POWER8 feature descriptions defined in _dl_hwcap2.
4925 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4926 string handling for POWER8 feature bits.
4927 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4928 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4929 _dl_powerpc_cap_flags.
4930 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4931 * sysdeps/powerpc/rtld-global-offsets.sym
4932 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4933 _dl_hwcap2 in the rtld_global_ro structure.
4935 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4937 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4938 hardware capabilities in support of AT_HWCAP2.
4939 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4940 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4942 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4943 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4944 explicitly the unknown a_type display mechanism is used.
4945 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4946 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4948 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4949 to macro prototype for AT_HWCAP2 support.
4950 * sysdeps/i386/dl-procinfo.h: Likewise.
4951 * sysdeps/s390/dl-procinfo.h: Likewise.
4952 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4953 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4954 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4955 return -1 for unknown a_type display fallback.
4956 * sysdeps/sparc/dl-procinfo.h: Likewise.
4957 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4958 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4960 2013-06-28 Joseph Myers <joseph@codesourcery.com>
4962 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4963 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4965 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4968 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4969 mprotect making __stack_prot writable.
4971 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4972 Joseph Myers <joseph@codesourcery.com>
4974 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4975 as being properly aligned.
4977 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4979 * dlfcn/modstatic5.c: New file.
4980 * dlfcn/tststatic5.c: New file.
4981 * dlfcn/Makefile (tests): Add tststatic5.
4982 (tests-static): Likewise.
4983 (modules-names): Add modstatic5.
4984 (tststatic5-ENV): New variable.
4985 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4988 * elf/dl-support.c (_dl_main_map): New variable.
4989 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4990 (_dl_nns, _dl_load_adds): Set to 1.
4991 (_dl_initial_searchlist): Refer to _dl_main_map.
4992 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4993 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4994 call to _dl_get_origin.
4995 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4997 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4998 * dlfcn/modstatic3.c: New file.
4999 * dlfcn/tststatic3.c: New file.
5000 * dlfcn/tststatic4.c: New file.
5001 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5002 (tests-static): Likewise.
5003 (modules-names): Add modstatic3.
5004 (tststatic3-ENV, tststatic4-ENV): New variables.
5005 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5006 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5008 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5010 * configure.in (CC): Require GCC version 4.4 or later.
5011 * configure: Regenerated.
5012 * manual/install.texi (Tools for Compilation): Update GCC version
5014 * INSTALL: Regenerated.
5016 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5019 * string/test-memcmp.c (check2): New.
5020 (main): Call check2.
5022 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5024 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5027 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5029 (dl_open_worker) [!SHARED]: ... here.
5031 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5033 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5035 2013-06-25 Richard Henderson <rth@redhat.com>
5037 * locale/programs/locarchive.c: Include <libc-internal.h>
5039 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5041 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5042 trailing whitespace removed.
5044 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5047 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5048 * locale/programs/locarchive.c: Include libc-mmap.h.
5049 (prepare_address_space): Take two new outputs (the mmap base and len).
5050 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5052 (create_archive): Declare new mmap base and len values for
5053 prepare_address_space, and store the result in ah.
5054 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5055 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5056 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5057 Declare new mmap base and len values for
5058 prepare_address_space, and store the result in new_ah.
5059 (open_archive): Declare new mmap base and len values for
5060 prepare_address_space, and store the result in ah.
5061 (close_archive): If ah->mmap_base is not NULL, use that and
5062 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5063 * sysdeps/generic/libc-mmap.h: New file.
5065 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5067 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5068 (ALIGN_UP): Likewise.
5069 (PTR_ALIGN_DOWN): Likewise.
5070 (PTR_ALIGN_UP): Likewise.
5072 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5074 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5075 entry mapped to PPC_PLATFORM_POWER8.
5076 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5078 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5079 (_dl_string_platform): Add case for exporting platform position for
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5082 search path to sysdeps/powerpc/powerpc32/power8 directory.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5084 search path to sysdeps/powerpc/powerpc64/power8 directory.
5085 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5087 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5090 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5092 * INSTALL: Regenerate.
5094 * nscd/connections.c (nscd_init): Fix comment.
5096 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5098 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5101 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5102 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5104 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5106 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5108 (DL_DST_REQ_STATIC): Remove macro.
5110 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5113 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5114 with a shift of 0 bits.
5116 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5118 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5121 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5124 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5126 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5128 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5129 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5130 accepts -fno-tree-loop-distribute-patterns.
5131 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5132 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5134 * string/memset.c (memset): Likewise.
5135 * string/test-memmove.c (simple_memmove): Disable loop transformation
5137 * string/test-memset.c (simple_memset): Likewise.
5138 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5139 * benchtests/bench-memset.c (simple_memset): Likewise.
5140 * configure: Regenerated.
5142 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5144 * math/test-misc.c (main): Ignore fesetround failure when failures
5145 of subsequent rounding tests would be ignored.
5148 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5149 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5150 * math/fegetenv.c (__fegetenv): Return 0.
5151 * math/fegetexcept.c (fegetexcept): Return 0.
5152 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5154 * math/feholdexcpt.c (feholdexcept): Return 0.
5155 * math/fesetenv.c (__fesetenv): Return 0.
5156 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5157 argument FE_TONEAREST.
5158 * math/feupdateenv.c (__feupdateenv): Return 0.
5159 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5161 2013-06-18 Roland McGrath <roland@hack.frob.com>
5163 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5164 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5165 ($(objpfx)rtld-%.os rules): Use them.
5167 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5169 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5172 2013-06-17 Roland McGrath <roland@hack.frob.com>
5174 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5175 length of target pattern, then descending length of dependency pattern.
5176 * configure.in (AWK): Require gawk 3.1.2 or newer.
5177 * manual/install.texi (Tools for Compilation): Say that we do.
5178 * configure: Regenerated.
5180 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5181 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5182 * scripts/sysd-rules.awk: ... this new script.
5183 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5184 than a glob-style pattern.
5186 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5188 * math/test-misc.c (main): Do not treat incorrectly rounded
5189 conversions as failure unless ROUNDING_TESTS passes.
5191 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5194 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5195 restore exception state around main square root computation, then
5196 check for inexactness explicitly.
5198 * math/libm-test.inc (fma_test_data): Add another test.
5200 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5202 * manual/threads.texi (Non-POSIX Extensions): New document
5203 node. Document pthread_getattr_default_np and
5204 pthread_setattr_default_np.
5206 * Versions.def (libpthread): Add GLIBC_2.18.
5207 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5216 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5227 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5230 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5232 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5233 H.J. Lu <hjl.tools@gmail.com>
5236 * sysdeps/x86_64/rtld-memset.c: Remove file.
5237 * sysdeps/x86_64/rtld-memset.S: New file.
5239 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5241 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5242 (test_in_one_mode): Take arguments for whether the rounding mode
5243 is supported for each floating-point type.
5244 (do_test): Pass new arguments to test_in_one_mode using
5247 2013-06-13 Roland McGrath <roland@hack.frob.com>
5249 * posix/tst-waitid.c (do_test): Distinguish different instances of
5250 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5251 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5252 before entering the kernel for waitpid.
5254 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5256 * NEWS: Fix note on clock function precision. Text by Roland
5259 2013-06-13 Roland McGrath <roland@hack.frob.com>
5261 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5262 it into place only when and if the sanity check passes.
5264 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5266 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5267 output for whether conversion result is exact. Take argument
5268 indicating whether type is IBM long double.
5269 (round_for_all): Change need_exact field to ibm_ld.
5270 * stdlib/tst-strtod-round.c (struct exactness): New type.
5271 (struct test): Change bool ld_ok field to struct exactness exact.
5272 (TEST): Update all definitions for change to field.
5273 (tests): Regenerate array contents.
5274 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5275 field value. Check for IBM long double here.
5276 (do_test): Update calls to test_in_one_mode.
5278 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5281 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5282 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5284 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5288 generated by the compiler on loop optimizations.
5289 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5290 general definitions.
5292 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5294 * math/bug-nextafter.c: Include <math-tests.h>.
5295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5297 * math/bug-nexttoward.c: Include <math-tests.h>.
5298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5300 * math/test-misc.c: Include <math-tests.h>.
5301 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5304 2013-06-12 Andreas Jaeger <aj@suse.de>
5306 * po/ia.po: Update Interlingua translation from translation
5309 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5311 * include/fenv.h: Include stdbool.h.
5312 (struct rm_ctx): New structure.
5313 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5315 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5316 (SET_RESTORE_ROUNDF): Likewise.
5317 (SET_RESTORE_ROUNDL): Likewise.
5318 (SET_RESTORE_ROUND_NOEX): Likewise.
5319 (SET_RESTORE_ROUND_NOEXF): Likewise.
5320 (SET_RESTORE_ROUND_NOEXL): Likewise.
5321 (SET_RESTORE_ROUND_53BIT): Likewise.
5322 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5323 (libc_feresetround_noexf_ctx): Likewise.
5324 (libc_feresetround_noexl_ctx): Likewise.
5325 (libc_feholdsetround_53bit_ctx): Likewise.
5326 (libc_feresetround_53bit_ctx): Likewise.
5327 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5328 (libc_feholdexcept_setround_sse_ctx): New function.
5329 (libc_fesetenv_sse_ctx): Likewise.
5330 (libc_feupdateenv_sse_ctx): Likewise.
5331 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5332 (libc_feholdexcept_setround_387_ctx): Likewise.
5333 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5334 (libc_feholdsetround_387_prec_ctx): Likewise.
5335 (libc_feholdsetround_387_ctx): Likewise.
5336 (libc_feholdsetround_387_53bit_ctx): Likewise.
5337 (libc_feholdsetround_sse_ctx): Likewise.
5338 (libc_feresetround_sse_ctx): Likewise.
5339 (libc_feresetround_387_ctx): Likewise.
5340 (libc_feupdateenv_387_ctx): Likewise.
5341 (libc_feholdexcept_setroundf_ctx): Define macro.
5342 (libc_fesetenvf_ctx): Likewise.
5343 (libc_feupdateenvf_ctx): Likewise.
5344 (libc_feholdsetroundf_ctx): Likewise.
5345 (libc_feresetroundf_ctx): Likewise.
5346 (libc_feholdexcept_setround_ctx): Likewise.
5347 (libc_fesetenv_ctx): Likewise.
5348 (libc_feupdateenv_ctx): Likewise.
5349 (libc_feholdsetround_ctx): Likewise.
5350 (libc_feresetround_ctx): Likewise.
5351 (libc_feholdexcept_setroundl_ctx): Likewise.
5352 (libc_feupdateenvl_ctx): Likewise.
5353 (libc_feholdsetroundl_ctx): Likewise.
5354 (libc_feresetroundl_ctx): Likewise.
5355 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5356 (libc_feresetround_53bit_ctx): Likewise.
5358 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5360 * locale/iso-639.def: Convert to UTF-8.
5362 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5364 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5365 (EXCEPTION_TESTS_double): Likewise.
5366 (EXCEPTION_TESTS_long_double): Likewise.
5367 (EXCEPTION_TESTS): Likewise.
5368 * math/libm-test.inc (test_exceptions): Only test exceptions if
5369 EXCEPTION_TESTS (FLOAT).
5371 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5373 * benchtests/Makefile (string-bench): Add strcpy_chk and
5375 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5376 * benchtests/bench-stpcpy_chk.c: New file.
5377 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5378 * benchtests/bench-strcpy_chk.c: New file.
5379 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5381 (do_test): Likewise.
5383 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5385 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5386 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5387 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5388 with tabs where appropriate.
5389 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5391 [PPC_PLATFORM_PPC440]: Likewise.
5392 [PPC_PLATFORM_PPC464]: Likewise.
5393 [PPC_PLATFORM_PPC476]: Likewise.
5394 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5395 ppc464, and ppc476 platform strings merging from ports/
5398 2013-06-11 Andreas Schwab <schwab@suse.de>
5401 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5402 (from_ucs4_idx): Regenerate.
5403 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5404 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5405 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5406 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5407 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5408 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5409 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5410 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5411 from FROM_LOOP and TO_LOOP specific macros.
5412 (BODY): Handle combining characters.
5413 * iconvdata/BIG5HKSCS.irreversible: Update.
5414 * iconvdata/BIG5HKSCS.precomposed: New file.
5415 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5417 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5419 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5421 * include/sys/time.h: Fix indentation and add copyright header.
5423 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5424 (do_test): Likewise.
5425 * string/test-memchr.c (do_one_test): Likewise.
5426 (do_test): Likewise.
5427 * string/test-memcmp.c (do_one_test): Likewise.
5428 (do_test): Likewise.
5429 * string/test-memcpy.c (do_one_test): Likewise.
5430 (do_test): Likewise.
5431 * string/test-memmem.c (do_one_test): Likewise.
5432 (do_test): Likewise.
5433 (do_random_tests): Likewise.
5434 * string/test-memmove.c (do_one_test): Likewise.
5435 (do_test): Likewise.
5436 * string/test-memset.c (do_one_test): Likewise.
5437 (do_test): Likewise.
5438 * string/test-rawmemchr.c (do_one_test): Likewise.
5439 (do_test): Likewise.
5440 * string/test-strcasecmp.c (do_one_test): Likewise.
5441 (do_test): Likewise.
5442 * string/test-strcasestr.c (do_one_test): Likewise.
5443 (do_test): Likewise.
5444 * string/test-strcat.c (do_one_test): Likewise.
5445 (do_test): Likewise.
5446 * string/test-strchr.c (do_one_test): Likewise.
5447 (do_test): Likewise.
5448 * string/test-strcmp.c (do_one_test): Likewise.
5449 (do_test): Likewise.
5450 * string/test-strcpy.c (do_one_test): Likewise.
5451 (do_test): Likewise.
5452 * string/test-string.h: Likewise.
5453 (test_init): Likewise.
5454 * string/test-strlen.c (do_one_test): Likewise.
5455 (do_test): Likewise.
5456 * string/test-strncasecmp.c (do_one_test): Likewise.
5457 (do_test): Likewise.
5458 * string/test-strncat.c (do_one_test): Likewise.
5459 (do_test): Likewise.
5460 * string/test-strncmp.c (do_one_test): Likewise.
5461 (do_test_limit): Likewise.
5462 (do_test): Likewise.
5463 * string/test-strncpy.c (do_one_test): Likewise.
5464 (do_test): Likewise.
5465 * string/test-strnlen.c (do_one_test): Likewise.
5466 (do_test): Likewise.
5467 * string/test-strpbrk.c (do_one_test): Likewise.
5468 (do_test): Likewise.
5469 * string/test-strrchr.c (do_one_test): Likewise.
5470 (do_test): Likewise.
5471 * string/test-strspn.c (do_one_test): Likewise.
5472 (do_test): Likewise.
5473 * string/test-strstr.c (do_one_test): Likewise.
5474 (do_test): Likewise.
5476 * benchtests/Makefile (string-bench): Add string benchmarks.
5477 * benchtests/bench-bcopy-ifunc.c: New file.
5478 * benchtests/bench-bcopy.c: New file.
5479 * benchtests/bench-bzero-ifunc.c: New file.
5480 * benchtests/bench-bzero.c: New file.
5481 * benchtests/bench-memccpy-ifunc.c: New file.
5482 * benchtests/bench-memccpy.c: New file.
5483 * benchtests/bench-memchr-ifunc.c: New file.
5484 * benchtests/bench-memchr.c: New file.
5485 * benchtests/bench-memcmp-ifunc.c: New file.
5486 * benchtests/bench-memcmp.c: New file.
5487 * benchtests/bench-memmem-ifunc.c: New file.
5488 * benchtests/bench-memmem.c: New file.
5489 * benchtests/bench-memmove-ifunc.c: New file.
5490 * benchtests/bench-memmove.c: New file.
5491 * benchtests/bench-mempcpy-ifunc.c: New file.
5492 * benchtests/bench-mempcpy.c: New file.
5493 * benchtests/bench-memset-ifunc.c: New file.
5494 * benchtests/bench-memset.c: New file.
5495 * benchtests/bench-rawmemchr-ifunc.c: New file.
5496 * benchtests/bench-rawmemchr.c: New file.
5497 * benchtests/bench-stpcpy-ifunc.c: New file.
5498 * benchtests/bench-stpcpy.c: New file.
5499 * benchtests/bench-stpncpy-ifunc.c: New file.
5500 * benchtests/bench-stpncpy.c: New file.
5501 * benchtests/bench-strcasecmp-ifunc.c: New file.
5502 * benchtests/bench-strcasecmp.c: New file.
5503 * benchtests/bench-strcasestr-ifunc.c: New file.
5504 * benchtests/bench-strcasestr.c: New file.
5505 * benchtests/bench-strcat-ifunc.c: New file.
5506 * benchtests/bench-strcat.c: New file.
5507 * benchtests/bench-strchr-ifunc.c: New file.
5508 * benchtests/bench-strchr.c: New file.
5509 * benchtests/bench-strchrnul-ifunc.c: New file.
5510 * benchtests/bench-strchrnul.c: New file.
5511 * benchtests/bench-strcmp-ifunc.c: New file.
5512 * benchtests/bench-strcmp.c: New file.
5513 * benchtests/bench-strcpy-ifunc.c: New file.
5514 * benchtests/bench-strcpy.c: New file.
5515 * benchtests/bench-strcspn-ifunc.c: New file.
5516 * benchtests/bench-strcspn.c: New file.
5517 * benchtests/bench-strlen-ifunc.c: New file.
5518 * benchtests/bench-strlen.c: New file.
5519 * benchtests/bench-strncasecmp-ifunc.c: New file.
5520 * benchtests/bench-strncasecmp.c: New file.
5521 * benchtests/bench-strncat-ifunc.c: New file.
5522 * benchtests/bench-strncat.c: New file.
5523 * benchtests/bench-strncmp-ifunc.c: New file.
5524 * benchtests/bench-strncmp.c: New file.
5525 * benchtests/bench-strncpy-ifunc.c: New file.
5526 * benchtests/bench-strncpy.c: New file.
5527 * benchtests/bench-strnlen-ifunc.c: New file.
5528 * benchtests/bench-strnlen.c: New file.
5529 * benchtests/bench-strpbrk-ifunc.c: New file.
5530 * benchtests/bench-strpbrk.c: New file.
5531 * benchtests/bench-strrchr-ifunc.c: New file.
5532 * benchtests/bench-strrchr.c: New file.
5533 * benchtests/bench-strspn-ifunc.c: New file.
5534 * benchtests/bench-strspn.c: New file.
5535 * benchtests/bench-strstr-ifunc.c: New file.
5536 * benchtests/bench-strstr.c: New file.
5538 * benchtests/Makefile: Disable parallel execution of targets.
5539 (string-bench): Add memcpy.
5540 (benchset): New variable to store a list of benchmark sets.
5541 (bench-func): Renamed from bench.
5542 (bench-set): New target.
5543 (bench): Depend on bench-func and bench-set.
5544 * benchtests/README: Add section on benchmark sets.
5545 * benchtests/bench-memcpy-ifunc.c: New file.
5546 * benchtests/bench-memcpy.c: New file.
5547 * benchtests/bench-string.h: New file.
5549 2013-06-11 Andreas Schwab <schwab@suse.de>
5552 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5553 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5554 values in the triple.
5555 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5556 terminator in the group key.
5558 2013-06-11 Andreas Jaeger <aj@suse.de>
5560 * po/zh_TW.po: Update Chinese (traditional) translation from
5561 translation project.
5563 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5565 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5566 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5567 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5569 (clock_getcpuclockid): Likewise.
5570 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5571 Add weak_alias and libc_hidden_def.
5572 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5573 * rt/clock_gettime.c (clock_gettime): Rename to
5574 __clock_gettime. Add weak_alias and libc_hidden_def.
5575 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5576 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5577 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5578 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5579 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5581 * rt/clock_settime.c (clock_settime): Rename to
5582 __clock_settime. Add weak_alias and libc_hidden_def.
5583 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5585 2013-06-10 Joseph Myers <joseph@codesourcery.com>
5587 * mach/err_boot.sub: Remove trailing whitespace.
5588 * mach/err_ipc.sub: Likewise.
5589 * mach/err_mach.sub: Likewise.
5591 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5592 (ROUNDING_TESTS_double): Likewise.
5593 (ROUNDING_TESTS_long_double): Likewise.
5594 (ROUNDING_TESTS): Likewise.
5595 * math/libm-test.inc: Include <math-tests.h>.
5596 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5597 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5598 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5599 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5601 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5603 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5606 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5608 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5609 otherwise empty TRANS lines.
5610 * sysdeps/gnu/errlist.c: Regenerated.
5612 * catgets/gencat.c (error_print): Use (void) in function
5614 * crypt/crypt_util.c (__init_des): Likewise.
5615 * crypt/speeds.c (Stop): Likewise.
5617 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5618 * inet/ruserpass.c (token): Likewise.
5619 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5620 * intl/localealias.c (extend_alias_table): Likewise.
5621 * intl/plural-exp.c (init_germanic_plural): Likewise.
5622 * libio/fcloseall.c (__fcloseall): Likewise.
5623 * libio/genops.c (_IO_flush_all): Likewise.
5624 (_IO_flush_all_linebuffered): Likewise.
5625 (_IO_cleanup): Likewise.
5626 (_IO_iter_begin): Likewise.
5627 (_IO_iter_end): Likewise.
5628 (_IO_list_lock): Likewise.
5629 (_IO_list_unlock): Likewise.
5630 (_IO_list_resetlock): Likewise.
5631 * libio/getchar.c (getchar): Likewise.
5632 * libio/getchar_u.c (getchar_unlocked): Likewise.
5633 * libio/getwchar.c (getwchar): Likewise.
5634 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5635 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5636 * login/getpt.c (__getpt): Likewise.
5637 * login/tst-utmp.c (main): Likewise.
5638 * malloc/hooks.c (__malloc_check_init): Likewise.
5639 * malloc/malloc.c (__malloc_stats): Likewise.
5640 * malloc/mtrace.c (tr_break): Likewise.
5642 (muntrace): Likewise.
5643 * misc/fstab.c (endfsent): Likewise.
5644 * misc/getclktck.c (__getclktck): Likewise.
5645 * misc/getdtsz.c (__getdtablesize): Likewise.
5646 * misc/gethostid.c (gethostid): Likewise.
5647 * misc/getpagesize.c (__getpagesize): Likewise.
5648 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5649 (__get_nprocs): Likewise.
5650 (__get_phys_pages): Likewise.
5651 (__get_avphys_pages): Likewise.
5652 * misc/getttyent.c (getttyent): Likewise.
5653 (setttyent): Likewise.
5654 (endttyent): Likewise.
5655 * misc/getusershell.c (getusershell): Likewise.
5656 (endusershell): Likewise.
5657 (setusershell): Likewise.
5658 (initshells): Likewise.
5659 * misc/hsearch.c (__hdestroy): Likewise.
5660 * misc/sync.c (sync): Likewise.
5661 * misc/syslog.c (closelog_internal): Likewise.
5662 (closelog): Likewise.
5663 * misc/ttyslot.c (ttyslot): Likewise.
5664 * misc/vhangup.c (vhangup): Likewise.
5665 * posix/fork.c (__fork): Likewise.
5666 * posix/getegid.c (__getegid): Likewise.
5667 * posix/geteuid.c (__geteuid): Likewise.
5668 * posix/getgid.c (__getgid): Likewise.
5669 * posix/getpid.c (__getpid): Likewise.
5670 * posix/getppid.c (__getppid): Likewise.
5671 * posix/getuid.c (__getuid): Likewise.
5672 * posix/pause.c (pause): Likewise.
5673 * posix/setpgrp.c (setpgrp): Likewise.
5674 * posix/setsid.c (__setsid): Likewise.
5675 * posix/test-vfork.c (noop): Likewise.
5676 * resolv/gethnamaddr.c (_endhtent): Likewise.
5677 (_gethtent): Likewise.
5678 (ht_endhostent): Likewise.
5679 (gethostent): Likewise.
5680 (dns_service): Likewise.
5681 * stdlib/drand48.c (drand48): Likewise.
5682 * stdlib/lrand48.c (lrand48): Likewise.
5683 * stdlib/mrand48.c (mrand48): Likewise.
5684 * stdlib/rand.c (rand): Likewise.
5685 * stdlib/random.c (__random): Likewise.
5686 * stdlib/setenv.c (clearenv): Likewise.
5687 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5688 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5689 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5690 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5691 (__get_nprocs): Likewise.
5692 (__get_phys_pages): Likewise.
5693 (__get_avphys_pages): Likewise.
5694 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5695 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5696 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5697 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5698 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5699 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5700 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5701 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5702 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5703 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5704 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5705 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5706 * sysdeps/posix/clock.c (clock): Likewise.
5707 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5708 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5709 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5710 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5711 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5713 (__get_nprocs_conf): Likewise.
5714 (__get_phys_pages): Likewise.
5715 (__get_avphys_pages): Likewise.
5716 * time/clock.c (clock): Likewise.
5717 * time/tzset.c (__tzname_max): Likewise.
5719 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5721 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5722 (__bswap_32): Do not use "register".
5723 * crypt/crypt.c (_ufc_doit_r): Likewise.
5724 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5725 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5726 * gmon/gmon.c (__monstartup): Likewise.
5727 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5728 * hurd/hurdmalloc.c (more_memory): Likewise.
5731 (realloc): Likewise.
5732 (malloc_fork_prepare): Likewise.
5733 (malloc_fork_parent): Likewise.
5734 (malloc_fork_child): Likewise.
5735 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5736 (_svcauth_des): Likewise.
5737 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5738 * inet/inet_net.c (inet_network): Likewise.
5739 * inet/inet_netof.c (inet_netof): Likewise.
5740 * inet/rcmd.c (__validuser2_sa): Likewise.
5741 * io/fts.c (fts_open): Likewise.
5742 (fts_load): Likewise.
5743 (fts_close): Likewise.
5744 (fts_read): Likewise.
5745 (fts_children): Likewise.
5746 (fts_build): Likewise.
5747 (fts_stat): Likewise.
5748 (fts_sort): Likewise.
5749 (fts_alloc): Likewise.
5750 (fts_lfree): Likewise.
5751 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5752 (_IO_file_xsgetn): Likewise.
5753 (_IO_file_xsgetn_mmap): Likewise.
5754 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5755 (_IO_cookie_write): Likewise.
5756 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5757 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5758 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5759 * malloc/obstack.c (_obstack_begin): Likewise.
5760 (_obstack_begin_1): Likewise.
5761 (_obstack_newchunk): Likewise.
5762 (_obstack_allocated_p): Likewise.
5763 (obstack_free): Likewise.
5764 (_obstack_memory_used): Likewise.
5765 * misc/getttyent.c (getttynam): Likewise.
5766 (getttyent): Likewise.
5769 * misc/getusershell.c (initshells): Likewise.
5770 * misc/syslog.c (__vsyslog_chk): Likewise.
5771 * misc/ttyslot.c (ttyslot): Likewise.
5772 * nis/nis_hash.c (__nis_hash): Likewise.
5773 * posix/fnmatch_loop.c (FCT): Likewise.
5774 * posix/getconf.c (print_all): Likewise.
5776 * posix/getopt.c (exchange): Likewise.
5777 * posix/glob.c (globfree): Likewise.
5778 (prefix_array): Likewise.
5779 (__glob_pattern_type): Likewise.
5780 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5781 (NS_GET32): Likewise.
5782 (NS_PUT16): Likewise.
5783 (NS_PUT32): Likewise.
5784 * resolv/gethnamaddr.c (getanswer): Likewise.
5785 (gethostbyname2): Likewise.
5786 (gethostbyaddr): Likewise.
5787 (_gethtent): Likewise.
5788 (_gethtbyname2): Likewise.
5789 (_gethtbyaddr): Likewise.
5790 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5791 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5792 * resolv/res_init.c (__res_vinit): Likewise.
5793 (net_mask): Likewise.
5794 * resolv/res_mkquery.c (outchar): Likewise.
5796 * stdio-common/printf_fp.c (outchar): Likewise.
5798 * stdio-common/printf_fphex.c (outchar): Likewise.
5800 * stdio-common/printf_size.c (outchar): Likewise.
5802 * stdio-common/test_rdwr.c (main): Likewise.
5803 * stdio-common/tfformat.c (matches): Likewise.
5804 * stdio-common/vfprintf.c (outchar): Likewise.
5805 (printf_unknown): Likewise.
5806 (buffered_vfprintf): Likewise.
5807 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5808 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5809 (ReadFile): Likewise.
5810 * stdlib/qsort.c (SWAP): Likewise.
5811 (_quicksort): Likewise.
5812 * stdlib/setenv.c (__add_to_environ): Likewise.
5813 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5814 * stdlib/strtol_l.c (__strtol_l): Likewise.
5815 * stdlib/tst-strtod.c (main): Likewise.
5816 * stdlib/tst-strtol.c (main): Likewise.
5817 * stdlib/tst-strtoll.c (main): Likewise.
5818 * string/bits/string2.h (__strcmp_cc): Likewise.
5819 (__strcmp_cg): Likewise.
5820 (__strcspn_c1): Likewise.
5821 (__strcspn_c2): Likewise.
5822 (__strcspn_c3): Likewise.
5823 (__strspn_c1): Likewise.
5824 (__strspn_c2): Likewise.
5825 (__strspn_c3): Likewise.
5826 (__strsep_1c): Likewise.
5827 (__strsep_2c): Likewise.
5828 (__strsep_3c): Likewise.
5829 * string/memccpy.c (__memccpy): Likewise.
5830 * string/stpcpy.c (__stpcpy): Likewise.
5831 * string/strcmp.c (strcmp): Likewise.
5832 * string/strrchr.c (strrchr): Likewise.
5833 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5835 * sysdeps/mach/hurd/getcwd.c
5836 (_hurd_canonicalize_directory_name_internal): Likewise.
5837 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5838 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5839 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5840 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5841 Likewise, in both definitions.
5842 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5844 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5845 64] (__bswap_64): Likewise.
5846 * time/test_time.c (main): Likewise.
5847 * time/tzfile.c (__tzfile_read): Likewise.
5848 (__tzfile_compute): Likewise.
5849 * time/tzset.c (__tzset_parse_tz): Likewise.
5850 (tzset_internal): Likewise.
5851 (compute_change): Likewise.
5852 * wcsmbs/wcscat.c (__wcscat): Likewise.
5853 * wcsmbs/wcschr.c (wcschr): Likewise.
5854 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5855 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5856 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5857 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5858 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5859 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5860 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5861 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5862 * wcsmbs/wmemset.c (wmemset): Likewise.
5864 2013-06-06 Joseph Myers <joseph@codesourcery.com>
5866 * scripts/config.guess: Update to version 2013-05-16.
5867 * scripts/config.sub: Update to version 2013-04-24.
5868 * scripts/install-sh: Update to version 2011-11-20.07.
5869 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5870 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5872 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
5874 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5875 * elf/sln.c: Likewise.
5876 * hurd/hurd/ioctl.h: Likewise.
5877 * hurd/hurdmalloc.c: Likewise.
5878 * hurd/xattr.c: Likewise.
5879 * include/shlib-compat.h: Likewise.
5880 * inet/ruserpass.c: Likewise.
5881 * libio/iofgets_u.c: Likewise.
5882 * libio/iofgetws_u.c: Likewise.
5883 * locale/programs/ld-identification.c: Likewise.
5884 * locale/programs/ld-time.c: Likewise.
5885 * mach/msg-destroy.c: Likewise.
5886 * nss/nss_files/files-netgrp.c: Likewise.
5887 * resolv/res_data.c: Likewise.
5888 * soft-fp/op-1.h: Likewise.
5889 * soft-fp/op-2.h: Likewise.
5890 * soft-fp/op-4.h: Likewise.
5891 * soft-fp/op-common.h: Likewise.
5892 * stdio-common/printf_fphex.c: Likewise.
5893 * stdlib/strtod_l.c: Likewise.
5894 * sunrpc/rpc/clnt.h: Likewise.
5895 * sysdeps/generic/framestate.c: Likewise.
5896 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5897 * sysdeps/i386/bsd-setjmp.S: Likewise.
5898 * sysdeps/i386/__longjmp.S: Likewise.
5899 * sysdeps/i386/setjmp.S: Likewise.
5900 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5901 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5902 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5903 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5906 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5907 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5909 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5918 * sysdeps/ieee754/support.c: Likewise.
5919 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5920 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5921 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5922 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5923 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5924 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5925 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5926 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5927 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5928 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5929 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5930 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5931 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5932 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5933 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5934 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5935 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5938 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
5940 * posix/transbug.c: Remove executable mode.
5942 2013-06-05 Joseph Myers <joseph@codesourcery.com>
5944 * crypt/speeds.c: Remove trailing whitespace.
5945 * dlfcn/default.c: Likewise.
5946 * elf/ifuncdep2.c: Likewise.
5947 * elf/ifuncmain1.c: Likewise.
5948 * elf/ifuncmain1vis.c: Likewise.
5949 * elf/testobj.h: Likewise.
5950 * elf/tst-stackguard1.c: Likewise.
5951 * gmon/sys/gmon.h: Likewise.
5952 * hurd/hurdmsg.c: Likewise.
5953 * hurd/new-fd.c: Likewise.
5954 * hurd/ports-get.c: Likewise.
5955 * iconvdata/ibm1008_420.c: Likewise.
5956 * inet/tst-getni1.c: Likewise.
5957 * inet/tst-getni2.c: Likewise.
5958 * libio/ioungetc.c: Likewise.
5959 * libio/wfiledoalloc.c: Likewise.
5960 * manual/libm-err-tab.pl: Likewise.
5961 * math/w_dremf.c: Likewise.
5962 * misc/ftruncate.c: Likewise.
5963 * posix/bug-glob2.c: Likewise.
5964 * posix/tst-pcre.c: Likewise.
5965 * posix/wait4.c: Likewise.
5966 * resolv/README: Likewise.
5967 * resolv/res_debug.h: Likewise.
5968 * resolv/tst-inet_ntop.c: Likewise.
5969 * setjmp/bug269-setjmp.c: Likewise.
5970 * soft-fp/extended.h: Likewise.
5971 * soft-fp/op-1.h: Likewise.
5972 * soft-fp/op-2.h: Likewise.
5973 * soft-fp/op-4.h: Likewise.
5974 * soft-fp/op-8.h: Likewise.
5975 * soft-fp/testit.c: Likewise.
5976 * stdio-common/bug16.c: Likewise.
5977 * stdlib/random.c: Likewise.
5978 * sunrpc/rpcsvc/rquota.x: Likewise.
5979 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5980 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5982 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5983 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5984 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5985 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5986 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5987 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5988 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5990 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5991 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5992 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5993 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5994 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5995 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5996 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6000 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6001 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6006 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6008 * sysdeps/ieee754/s_lib_version.c: Likewise.
6009 * sysdeps/mach/hurd/check_fds.c: Likewise.
6010 * sysdeps/mach/hurd/getsockname.c: Likewise.
6011 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6012 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6013 * sysdeps/powerpc/bits/link.h: Likewise.
6014 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6015 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6016 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6017 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6018 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6019 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6020 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6021 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6022 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6023 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6024 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6025 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6026 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6027 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6028 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6029 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6030 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6031 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6035 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6037 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6038 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6041 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6042 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6044 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6046 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6047 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6048 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6049 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6050 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6051 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6052 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6053 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6054 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6055 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6056 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6057 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6058 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6059 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6060 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6061 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6062 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6063 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6066 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6067 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6068 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6069 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6070 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6071 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6072 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6073 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6074 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6075 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6076 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6077 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6078 * sysdeps/powerpc/sysdep.h: Likewise.
6079 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6080 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6081 * sysdeps/sh/dl-trampoline.S: Likewise.
6082 * sysdeps/sh/memset.S: Likewise.
6083 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6084 * sysdeps/sh/strlen.S: Likewise.
6085 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6086 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6087 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6088 * sysdeps/sparc/sparc32/rem.S: Likewise.
6089 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6090 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6091 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6092 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6093 * sysdeps/sparc/sparc32/urem.S: Likewise.
6094 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6095 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6096 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6097 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6098 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6099 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6100 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6101 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6102 * sysdeps/unix/bsd/times.c: Likewise.
6103 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6104 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6108 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6109 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6110 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6111 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6112 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6113 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6114 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6115 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6116 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6117 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6118 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6119 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6120 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6121 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6122 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6123 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6124 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6125 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6126 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6127 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6128 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6129 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6130 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6131 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6132 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6133 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6134 * sysdeps/x86_64/strcspn.S: Likewise.
6136 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6138 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6139 generated file. Regenerate properly from gen-translit.pl.
6140 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6141 locale/C-translit.h.
6143 2013-06-05 Andreas Schwab <schwab@suse.de>
6146 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6147 week as 6 instead of -1.
6148 * time/tst-strptime.c (day_tests): Add test case.
6150 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6152 * sysdeps/generic/math_private.h
6153 (libc_feholdexcept_setround_53bit): Replace with
6154 libc_feholdsetround_53bit.
6155 (libc_feupdateenv_53bit): Replace with
6156 libc_feresetround_53bit.
6157 (SET_RESTORE_ROUND_53BIT): Adjust.
6159 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6161 * string/test-strchrnul.c: Add copyright header.
6163 * posix/tst-getaddrinfo4.c: Increase test timeout.
6165 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6168 * math/libm-test.inc (MAX_EXP): Remove
6170 (ulp): Use MIN_EXP - MANT_DIG.
6171 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6173 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6175 * po/be.po: Revert last change.
6176 * po/zh_CN.po: Likewise.
6177 * po/header.pot: Likewise.
6179 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6181 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6182 link-libc-deps to empty as target-specific variable.
6183 * Makerules (link-libc-args): New variable.
6184 (libc-for-link): Likewise.
6185 (link-libc-deps): Likewise.
6186 (lib%.so): Depend on $(link-libc-deps). Link with
6188 (build-module): Link with $(link-libc-args).
6189 (build-module-asneeded): Likewise.
6190 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6192 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6193 target-specific variable.
6194 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6195 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6196 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6198 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6200 ($(objpfx)libpcprofile.so): Likewise.
6201 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6203 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6204 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6205 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6207 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6208 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6209 * login/Makefile ($(objpfx)libutil.so): Likewise.
6210 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6211 * math/Makefile ($(objpfx)libm.so): Likewise.
6212 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6213 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6214 variable instead of depending directly on libc.
6215 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6216 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6218 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6220 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6221 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6222 ($(objpfx)libanl.so): Likewise.
6223 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6225 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6227 * sysdeps/i386/fpu/Makefile: Remove file.
6228 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6229 ($(objpfx)libm.so): Remove dependency on ld.so.
6231 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6234 * nis/yp_xdr.c (XDRMAXNAME): Define.
6235 (XDRMAXRECORD): Define.
6236 (xdr_domainname): Use XDRMAXNAME.
6237 (xdr_mapname): Likewise.
6238 (xdr_peername): Likewise.
6239 (xdr_keydat): Use XDRMAXRECORD.
6240 (xdr_valdat): Likewise.
6242 2013-05-30 Jeff Law <law@redhat.com>
6245 * manual/errno.texi (ESTALE): Update to account for more than
6246 just NFS file systems.
6247 * sysdeps/gnu/errlist.c: Regenerated.
6249 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6252 * elf/Makefile (tests): Add tst-null-argv.
6253 (modules-names): Add tst-null-argv-lib.
6254 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6255 (tst-null-argv-ENV): Set environment for tst-null-argv.
6256 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6257 (RTLD_PROGNAME): New macro.
6258 * elf/tst-null-argv.c: New test case.
6259 * elf/tst-null-argv-lib.c: Library for test case.
6260 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6261 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6262 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6263 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6264 * elf/dl-init.c (call_init): Likewise.
6265 (_dl_init): Likewise.
6266 * elf/dl-load.c (print_search_path): Likewise.
6267 (_dl_map_object): Likewise.
6268 * elf/dl-lookup.c (do_lookup_x): Likewise.
6269 (add_dependency): Likewise.
6270 (_dl_lookup_symbol_x): Likewise.
6271 (_dl_debug_bindings): Likewise.
6272 * elf/dl-open.c (_dl_show_scope): Likewise.
6273 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6274 * elf/dl-version.c (match_symbol): Likewise.
6275 (_dl_check_map_versions): Likewise.
6276 * elf/rtld.c (dl_main): Likewise.
6277 (print_unresolved): Use RTLD_PROGNAME.
6278 (print_missing_version): Likewise.
6279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6280 (elf_machine_rela): Likewise.
6281 * sysdeps/powerpc/powerpc32/dl-machine.c
6282 (__process_machine_rela): Likewise.
6283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6287 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6289 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6296 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6298 * po/be.po: Add descriptive title.
6299 * po/zh_CN.po: Likewise.
6300 * po/header.pot: Likewise.
6302 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6304 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6306 (enlarge_archive): Likewise.
6308 2013-05-28 Ben North <ben@redfrontdoor.org>
6310 * manual/arith.texi (frexp): It is the magnitude of the return
6311 value which lies in [0.5, 1), not the return value itself.
6313 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6317 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6319 * stdio-common/bug26.c (main): Correct fscanf template.
6321 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6322 declare _dl_skip_args.
6324 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6327 * manual/platform.texi: Add missing @end deftypefun.
6329 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6332 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6333 bit of mantissa of 2^16382.
6334 * math/libm-test.inc (hypot_test_data): Add more tests.
6336 * math/libm-test.inc: Add drem and pow10 to list of tested
6338 (pow10_test): New function.
6339 (drem_test): Likewise.
6340 (drem_test_tonearest): Likewise.
6341 (drem_test_towardzero): Likewise.
6342 (drem_test_downward): Likewise.
6343 (drem_test_upward): Likewise.
6344 (main): Call the new functions.
6346 * math/libm-test.inc (finite_test_data): Remove.
6347 (finite_test): Run tests from isfinite_test_data.
6348 (gamma_test_data): Remove.
6349 (gamma_test): Run tests from lgamma_test_data.
6350 * sysdeps/i386/fpu/libm-test-ulps: Update.
6351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355 * manual/platform.texi: Add PowerPC PPR function set documentation.
6356 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6359 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6361 * math/libm-test.inc (MAX_EXP): Define.
6363 (ulp): New function.
6364 (check_float_internal): Use ULPDIFF.
6365 (cpow_test): Disable failing test.
6366 (check_ulp): Test ulp() implemetnation.
6367 (main): Call check_ulp before starting tests.
6369 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6371 * math/gen-libm-test.pl (generate_testfile): Do not handle
6372 START_DATA and END_DATA.
6373 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6375 (acos_tonearest_test_data): Likewise.
6376 (acos_towardzero_test_data): Likewise.
6377 (acos_downward_test_data): Likewise.
6378 (acos_upward_test_data): Likewise.
6379 (acosh_test_data): Likewise.
6380 (asin_test_data): Likewise.
6381 (asin_tonearest_test_data): Likewise.
6382 (asin_towardzero_test_data): Likewise.
6383 (asin_downward_test_data): Likewise.
6384 (asin_upward_test_data): Likewise.
6385 (asinh_test_data): Likewise.
6386 (atan_test_data): Likewise.
6387 (atanh_test_data): Likewise.
6388 (atan2_test_data): Likewise.
6389 (cabs_test_data): Likewise.
6390 (cacos_test_data): Likewise.
6391 (cacosh_test_data): Likewise.
6392 (carg_test_data): Likewise.
6393 (casin_test_data): Likewise.
6394 (casinh_test_data): Likewise.
6395 (catan_test_data): Likewise.
6396 (catanh_test_data): Likewise.
6397 (cbrt_test_data): Likewise.
6398 (ccos_test_data): Likewise.
6399 (ccosh_test_data): Likewise.
6400 (ceil_test_data): Likewise.
6401 (cexp_test_data): Likewise.
6402 (cimag_test_data): Likewise.
6403 (clog_test_data): Likewise.
6404 (clog10_test_data): Likewise.
6405 (conj_test_data): Likewise.
6406 (copysign_test_data): Likewise.
6407 (cos_test_data): Likewise.
6408 (cos_tonearest_test_data): Likewise.
6409 (cos_towardzero_test_data): Likewise.
6410 (cos_downward_test_data): Likewise.
6411 (cos_upward_test_data): Likewise.
6412 (cosh_test_data): Likewise.
6413 (cosh_tonearest_test_data): Likewise.
6414 (cosh_towardzero_test_data): Likewise.
6415 (cosh_downward_test_data): Likewise.
6416 (cosh_upward_test_data): Likewise.
6417 (cpow_test_data): Likewise.
6418 (cproj_test_data): Likewise.
6419 (creal_test_data): Likewise.
6420 (csin_test_data): Likewise.
6421 (csinh_test_data): Likewise.
6422 (csqrt_test_data): Likewise.
6423 (ctan_test_data): Likewise.
6424 (ctan_tonearest_test_data): Likewise.
6425 (ctan_towardzero_test_data): Likewise.
6426 (ctan_downward_test_data): Likewise.
6427 (ctan_upward_test_data): Likewise.
6428 (ctanh_test_data): Likewise.
6429 (ctanh_tonearest_test_data): Likewise.
6430 (ctanh_towardzero_test_data): Likewise.
6431 (ctanh_downward_test_data): Likewise.
6432 (ctanh_upward_test_data): Likewise.
6433 (erf_test_data): Likewise.
6434 (erfc_test_data): Likewise.
6435 (exp_test_data): Likewise.
6436 (exp_tonearest_test_data): Likewise.
6437 (exp_towardzero_test_data): Likewise.
6438 (exp_downward_test_data): Likewise.
6439 (exp_upward_test_data): Likewise.
6440 (exp10_test_data): Likewise.
6441 (exp2_test_data): Likewise.
6442 (expm1_test_data): Likewise.
6443 (fabs_test_data): Likewise.
6444 (fdim_test_data): Likewise.
6445 (finite_test_data): Likewise.
6446 (floor_test_data): Likewise.
6447 (fma_test_data): Likewise.
6448 (fma_towardzero_test_data): Likewise.
6449 (fma_downward_test_data): Likewise.
6450 (fma_upward_test_data): Likewise.
6451 (fmax_test_data): Likewise.
6452 (fmin_test_data): Likewise.
6453 (fmod_test_data): Likewise.
6454 (fpclassify_test_data): Likewise.
6455 (frexp_test_data): Likewise.
6456 (gamma_test_data): Likewise.
6457 (hypot_test_data): Likewise.
6458 (ilogb_test_data): Likewise.
6459 (isfinite_test_data): Likewise.
6460 (isgreater_test_data): Likewise.
6461 (isgreaterequal_test_data): Likewise.
6462 (isinf_test_data): Likewise.
6463 (isless_test_data): Likewise.
6464 (islessequal_test_data): Likewise.
6465 (islessgreater_test_data): Likewise.
6466 (isnan_test_data): Likewise.
6467 (isnormal_test_data): Likewise.
6468 (issignaling_test_data): Likewise.
6469 (isunordered_test_data): Likewise.
6470 (j0_test_data): Likewise.
6471 (j1_test_data): Likewise.
6472 (jn_test_data): Likewise.
6473 (ldexp_test_data): Likewise.
6474 (lgamma_test_data): Likewise.
6475 (lrint_test_data): Likewise.
6476 (lrint_tonearest_test_data): Likewise.
6477 (lrint_towardzero_test_data): Likewise.
6478 (lrint_downward_test_data): Likewise.
6479 (lrint_upward_test_data): Likewise.
6480 (llrint_test_data): Likewise.
6481 (llrint_tonearest_test_data): Likewise.
6482 (llrint_towardzero_test_data): Likewise.
6483 (llrint_downward_test_data): Likewise.
6484 (llrint_upward_test_data): Likewise.
6485 (log_test_data): Likewise.
6486 (log10_test_data): Likewise.
6487 (log1p_test_data): Likewise.
6488 (log2_test_data): Likewise.
6489 (logb_test_data): Likewise.
6490 (logb_downward_test_data): Likewise.
6491 (lround_test_data): Likewise.
6492 (llround_test_data): Likewise.
6493 (modf_test_data): Likewise.
6494 (nearbyint_test_data): Likewise.
6495 (nextafter_test_data): Likewise.
6496 (nexttoward_test_data): Likewise.
6497 (pow_test_data): Likewise.
6498 (pow_tonearest_test_data): Likewise.
6499 (pow_towardzero_test_data): Likewise.
6500 (pow_downward_test_data): Likewise.
6501 (pow_upward_test_data): Likewise.
6502 (remainder_test_data): Likewise.
6503 (remainder_tonearest_test_data): Likewise.
6504 (remainder_towardzero_test_data): Likewise.
6505 (remainder_downward_test_data): Likewise.
6506 (remainder_upward_test_data): Likewise.
6507 (remquo_test_data): Likewise.
6508 (rint_test_data): Likewise.
6509 (rint_tonearest_test_data): Likewise.
6510 (rint_towardzero_test_data): Likewise.
6511 (rint_downward_test_data): Likewise.
6512 (rint_upward_test_data): Likewise.
6513 (round_test_data): Likewise.
6514 (scalb_test_data): Likewise.
6515 (scalbn_test_data): Likewise.
6516 (scalbln_test_data): Likewise.
6517 (signbit_test_data): Likewise.
6518 (sin_test_data): Likewise.
6519 (sin_tonearest_test_data): Likewise.
6520 (sin_towardzero_test_data): Likewise.
6521 (sin_downward_test_data): Likewise.
6522 (sin_upward_test_data): Likewise.
6523 (sincos_test_data): Likewise.
6524 (sinh_test_data): Likewise.
6525 (sinh_tonearest_test_data): Likewise.
6526 (sinh_towardzero_test_data): Likewise.
6527 (sinh_downward_test_data): Likewise.
6528 (sinh_upward_test_data): Likewise.
6529 (sqrt_test_data): Likewise.
6530 (tan_test_data): Likewise.
6531 (tan_tonearest_test_data): Likewise.
6532 (tan_towardzero_test_data): Likewise.
6533 (tan_downward_test_data): Likewise.
6534 (tan_upward_test_data): Likewise.
6535 (tanh_test_data): Likewise.
6536 (tgamma_test_data): Likewise.
6537 (trunc_test_data): Likewise.
6538 (y0_test_data): Likewise.
6539 (y1_test_data): Likewise.
6540 (yn_test_data): Likewise.
6541 (significand_test_data): Likewise.
6543 * math/gen-libm-test.pl (@functions): Remove variable.
6544 (generate_testfile): Don't handle START and END lines.
6545 * math/libm-test.inc (START): New macro.
6547 (END_COMPLEX): Likewise.
6548 (acos_test): Use END macro without arguments.
6549 (acos_test_tonearest): Likewise.
6550 (acos_test_towardzero): Likewise.
6551 (acos_test_downward): Likewise.
6552 (acos_test_upward): Likewise.
6553 (acosh_test): Likewise.
6554 (asin_test): Likewise.
6555 (asin_test_tonearest): Likewise.
6556 (asin_test_towardzero): Likewise.
6557 (asin_test_downward): Likewise.
6558 (asin_test_upward): Likewise.
6559 (asinh_test): Likewise.
6560 (atan_test): Likewise.
6561 (atanh_test): Likewise.
6562 (atan2_test): Likewise.
6563 (cabs_test): Likewise.
6564 (cacos_test): Use END_COMPLEX macro without arguments.
6565 (cacosh_test): Likewise.
6566 (carg_test): Use END macro without arguments.
6567 (casin_test): Use END_COMPLEX macro without arguments.
6568 (casinh_test): Likewise.
6569 (catan_test): Likewise.
6570 (catanh_test): Likewise.
6571 (cbrt_test): Use END macro without arguments.
6572 (ccos_test): Use END_COMPLEX macro without arguments.
6573 (ccosh_test): Likewise.
6574 (ceil_test): Use END macro without arguments.
6575 (cexp_test): Use END_COMPLEX macro without arguments.
6576 (cimag_test): Use END macro without arguments.
6577 (clog_test): Use END_COMPLEX macro without arguments.
6578 (clog10_test): Likewise.
6579 (conj_test): Likewise.
6580 (copysign_test): Use END macro without arguments.
6581 (cos_test): Likewise.
6582 (cos_test_tonearest): Likewise.
6583 (cos_test_towardzero): Likewise.
6584 (cos_test_downward): Likewise.
6585 (cos_test_upward): Likewise.
6586 (cosh_test): Likewise.
6587 (cosh_test_tonearest): Likewise.
6588 (cosh_test_towardzero): Likewise.
6589 (cosh_test_downward): Likewise.
6590 (cosh_test_upward): Likewise.
6591 (cpow_test): Use END_COMPLEX macro without arguments.
6592 (cproj_test): Likewise.
6593 (creal_test): Use END macro without arguments.
6594 (csin_test): Use END_COMPLEX macro without arguments.
6595 (csinh_test): Likewise.
6596 (csqrt_test): Likewise.
6597 (ctan_test): Likewise.
6598 (ctan_test_tonearest): Likewise.
6599 (ctan_test_towardzero): Likewise.
6600 (ctan_test_downward): Likewise.
6601 (ctan_test_upward): Likewise.
6602 (ctanh_test): Likewise.
6603 (ctanh_test_tonearest): Likewise.
6604 (ctanh_test_towardzero): Likewise.
6605 (ctanh_test_downward): Likewise.
6606 (ctanh_test_upward): Likewise.
6607 (erf_test): Use END macro without arguments.
6608 (erfc_test): Likewise.
6609 (exp_test): Likewise.
6610 (exp_test_tonearest): Likewise.
6611 (exp_test_towardzero): Likewise.
6612 (exp_test_downward): Likewise.
6613 (exp_test_upward): Likewise.
6614 (exp10_test): Likewise.
6615 (exp2_test): Likewise.
6616 (expm1_test): Likewise.
6617 (fabs_test): Likewise.
6618 (fdim_test): Likewise.
6619 (finite_test): Likewise.
6620 (floor_test): Likewise.
6621 (fma_test): Likewise.
6622 (fma_test_towardzero): Likewise.
6623 (fma_test_downward): Likewise.
6624 (fma_test_upward): Likewise.
6625 (fmax_test): Likewise.
6626 (fmin_test): Likewise.
6627 (fmod_test): Likewise.
6628 (fpclassify_test): Likewise.
6629 (frexp_test): Likewise.
6630 (gamma_test): Likewise.
6631 (hypot_test): Likewise.
6632 (ilogb_test): Likewise.
6633 (isfinite_test): Likewise.
6634 (isgreater_test): Likewise.
6635 (isgreaterequal_test): Likewise.
6636 (isinf_test): Likewise.
6637 (isless_test): Likewise.
6638 (islessequal_test): Likewise.
6639 (islessgreater_test): Likewise.
6640 (isnan_test): Likewise.
6641 (isnormal_test): Likewise.
6642 (issignaling_test): Likewise.
6643 (isunordered_test): Likewise.
6644 (j0_test): Likewise.
6645 (j1_test): Likewise.
6646 (jn_test): Likewise.
6647 (ldexp_test): Likewise.
6648 (lgamma_test): Likewise.
6649 (lrint_test): Likewise.
6650 (lrint_test_tonearest): Likewise.
6651 (lrint_test_towardzero): Likewise.
6652 (lrint_test_downward): Likewise.
6653 (lrint_test_upward): Likewise.
6654 (llrint_test): Likewise.
6655 (llrint_test_tonearest): Likewise.
6656 (llrint_test_towardzero): Likewise.
6657 (llrint_test_downward): Likewise.
6658 (llrint_test_upward): Likewise.
6659 (log_test): Likewise.
6660 (log10_test): Likewise.
6661 (log1p_test): Likewise.
6662 (log2_test): Likewise.
6663 (logb_test): Likewise.
6664 (logb_test_downward): Likewise.
6665 (lround_test): Likewise.
6666 (llround_test): Likewise.
6667 (modf_test): Likewise.
6668 (nearbyint_test): Likewise.
6669 (nextafter_test): Likewise.
6670 (nexttoward_test): Likewise.
6671 (pow_test): Likewise.
6672 (pow_test_tonearest): Likewise.
6673 (pow_test_towardzero): Likewise.
6674 (pow_test_downward): Likewise.
6675 (pow_test_upward): Likewise.
6676 (remainder_test): Likewise.
6677 (remainder_test_tonearest): Likewise.
6678 (remainder_test_towardzero): Likewise.
6679 (remainder_test_downward): Likewise.
6680 (remainder_test_upward): Likewise.
6681 (remquo_test): Likewise.
6682 (rint_test): Likewise.
6683 (rint_test_tonearest): Likewise.
6684 (rint_test_towardzero): Likewise.
6685 (rint_test_downward): Likewise.
6686 (rint_test_upward): Likewise.
6687 (round_test): Likewise.
6688 (scalb_test): Likewise.
6689 (scalbn_test): Likewise.
6690 (scalbln_test): Likewise.
6691 (signbit_test): Likewise.
6692 (sin_test): Likewise.
6693 (sin_test_tonearest): Likewise.
6694 (sin_test_towardzero): Likewise.
6695 (sin_test_downward): Likewise.
6696 (sin_test_upward): Likewise.
6697 (sincos_test): Likewise.
6698 (sinh_test): Likewise.
6699 (sinh_test_tonearest): Likewise.
6700 (sinh_test_towardzero): Likewise.
6701 (sinh_test_downward): Likewise.
6702 (sinh_test_upward): Likewise.
6703 (sqrt_test): Likewise.
6704 (tan_test): Likewise.
6705 (tan_test_tonearest): Likewise.
6706 (tan_test_towardzero): Likewise.
6707 (tan_test_downward): Likewise.
6708 (tan_test_upward): Likewise.
6709 (tanh_test): Likewise.
6710 (tgamma_test): Likewise.
6711 (trunc_test): Likewise.
6712 (y0_test): Likewise.
6713 (y1_test): Likewise.
6714 (yn_test): Likewise.
6715 (significand_test): Likewise.
6717 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6720 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6722 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6725 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6726 __ppc_mdoio and __ppc_mdoom.
6727 * manual/platform.texi: Document new functions __ppc_yield,
6728 __ppc_mdoio and __ppc_mdoom.
6730 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6732 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6733 (main): Mention "tls" pseudo-hwcap is legacy.
6734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6736 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6738 * math/gen-libm-test.pl (parse_args): Output only string of
6739 arguments as text for test name, not full call or descriptions of
6740 tests for extra outputs.
6741 (generate_testfile): Do not pass function name to parse_args.
6742 Generate this_func variable from START.
6743 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6745 (struct test_ff_f_data): Likewise.
6746 (test_ff_f_data_nexttoward): Likewise.
6747 (struct test_fi_f_data): Likewise.
6748 (struct test_fl_f_data): Likewise.
6749 (struct test_if_f_data): Likewise.
6750 (struct test_fff_f_data): Likewise.
6751 (struct test_c_f_data): Likewise.
6752 (struct test_f_f1_data): Likewise. Remove field extra_name.
6753 (struct test_fF_f1_data): Likewise.
6754 (struct test_ffI_f1_data): Likewise.
6755 (struct test_c_c_data): Rename test_name field to arg_str.
6756 (struct test_cc_c_data): Likewise.
6757 (struct test_f_i_data): Likewise.
6758 (struct test_ff_i_data): Likewise.
6759 (struct test_f_l_data): Likewise.
6760 (struct test_f_L_data): Likewise.
6761 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6763 (COMMON_TEST_SETUP): New macro.
6764 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6765 (COMMON_TEST_CLEANUP): Likewise.
6766 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6767 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6769 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6770 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6772 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6773 (RUN_TEST_fff_f): Take argument string. Call new setup and
6775 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6776 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6778 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6779 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6781 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6782 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6784 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6785 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6787 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6788 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6790 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6791 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6793 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6794 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6796 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6797 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6799 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6800 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6802 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6803 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6805 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6806 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6808 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6809 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6811 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6812 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6814 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6815 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6817 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6818 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6820 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6822 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6824 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6825 to _sifields.sigfault.
6826 (si_addr_lsb): Define new macro.
6827 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6829 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6831 2013-05-03 Carlos O'Donell <carlos at redhat.com>
6834 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6836 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6838 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6841 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6843 * math/gen-libm-test.pl (parse_args): Do not include expected
6844 result in test name.
6845 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6846 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6848 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6849 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6852 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6854 * benchtests/Makefile: Sort function entries.
6856 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6857 tanh, asinh, acosh, atanh.
6858 * benchtests/acos-inputs: New file.
6859 * benchtests/acosh-inputs: New file.
6860 * benchtests/asin-inputs: New file.
6861 * benchtests/asinh-inputs: New file.
6862 * benchtests/atanh-inputs: New file.
6863 * benchtests/cosh-inputs: New file.
6864 * benchtests/log-inputs: New file.
6865 * benchtests/sinh-inputs: New file.
6866 * benchtests/tanh-inputs: New file.
6868 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6871 * posix/tst-getaddrinfo4.c: New test.
6872 * posix/Makefile (tests): Add it.
6874 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6877 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6878 when no services were used.
6879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6880 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6882 2013-05-21 Andreas Schwab <schwab@suse.de>
6885 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6886 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6888 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6889 redundant variable declarations and reallocation of buffer when
6890 parsing as IPv6 address. Always set NSS status when called from
6891 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6892 buffer too small. Correct computation of needed size.
6893 * nss/Makefile (tests): Add test-digits-dots.
6894 * nss/test-digits-dots.c: New test.
6896 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6898 * benchtests/Makefile: Remove instructions for adding
6900 * benchtests/README: New file to explain how to execute and
6901 enhance the benchmark tests.
6903 2013-05-21 Andreas Schwab <schwab@suse.de>
6906 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6907 * setjmp/tst-sigsetjmp.c: New test.
6909 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6911 * sysdeps/x86_64/memset.S (memset): New implementation.
6912 (__bzero): Likewise.
6913 (__memset_tail): New function.
6915 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6917 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6918 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6919 __memcpy_sse2_unaligned ifunc selection.
6920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6921 Add memcpy-sse2-unaligned.S.
6922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6923 Add: __memcpy_sse2_unaligned.
6925 2013-05-19 Joseph Myers <joseph@codesourcery.com>
6928 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6929 math_force_eval before restoring floating-point envrionment.
6930 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6933 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6935 (__nearbyintl): Use math_force_eval before restoring
6936 floating-point environment.
6937 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6939 * math/gen-libm-test.pl (special_functions): Remove.
6940 (parse_args): Don't handle TEST_extra. Handle functions with no
6942 * math/libm-test.inc (struct test_sincos_data): Replace with
6943 struct test_fFF_11_data.
6944 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6945 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6946 (sincos_test_data): Change element type to struct
6947 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6948 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6949 RUN_TEST_LOOP_sincos.
6950 * math/README.libm-test: Don't mention special handling of
6951 individual functions.
6952 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6954 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6955 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6956 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6959 * math/gen-libm-test.pl (get_variable): Remove function.
6960 (parse_args): Don't show pointer parameters to call in test
6961 names. Use "extra output N" in test names for extra outputs
6962 rather than naming variables.
6964 2013-05-18 Joseph Myers <joseph@codesourcery.com>
6967 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6968 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6969 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6971 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6973 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6976 * math/gen-libm-test.pl (@tests): Remove variable.
6978 (new_test): Remove function.
6979 (show_exceptions): New function.
6980 (special_functions): Use show_exceptions instead of new_test.
6981 (parse_args): Likewise.
6982 (generate_testfile): Pass only function name in generated call to
6983 print_max_error or print_complex_max_error.
6984 (get_ulps): Do not handle complex tests specially.
6985 (output_test): Rename to ...
6986 (get_all_ulps_for_test): ... this. Return a string rather than
6987 printing to a file. Require ulps to be present.
6988 (output_ulps): Generate arrays rather than #defines.
6989 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6990 (struct ulp_data): New type.
6991 (BUILD_COMPLEX_ULP): Remove macro.
6992 (compare_ulp_data): New function.
6993 (find_ulps): Likewise.
6994 (find_test_ulps): Likewise.
6995 (find_function_ulps): Likewise.
6996 (find_complex_function_ulps): Likewise.
6997 (print_max_error): Determine allowed ulps using
6999 (print_complex_max_error): Determine allowed ulps using
7000 find_complex_function_ulps.
7001 (check_float_internal): Determine max ulps using find_test_ulps.
7002 (check_float): Do not take max_ulp parameter. Update call to
7003 check_float_internal.
7004 (check_complex): Likewise.
7005 (check_int): Do not take max_ulp parameter.
7006 (check_long): Likewise.
7007 (check_bool): Likewise.
7008 (check_longlong): Likewise.
7009 (struct test_f_f_data): Remove max_ulp field.
7010 (struct test_ff_f_data): Likewise.
7011 (struct test_ff_f_data_nexttoward): Likewise.
7012 (struct test_fi_f_data): Likewise.
7013 (struct test_fl_f_data): Likewise.
7014 (struct test_if_f_data): Likewise.
7015 (struct test_fff_f_data): Likewise.
7016 (struct test_c_f_data): Likewise.
7017 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7018 (struct test_fF_f1_data): Likewise.
7019 (struct test_ffI_f1_data): Likewise.
7020 (struct test_c_c_data): Remove max_ulp field.
7021 (struct test_cc_c_data): Likewise.
7022 (struct test_f_i_data): Likewise.
7023 (struct test_ff_i_data): Likewise.
7024 (struct test_f_l_data): Likewise.
7025 (struct test_f_L_data): Likewise.
7026 (struct test_sincos_data): Likewise.
7027 (RUN_TEST_f_f): Do not handle ulps.
7028 (RUN_TEST_LOOP_f_f): Likewise.
7029 (RUN_TEST_2_f): Likewise.
7030 (RUN_TEST_LOOP_2_f): Likewise.
7031 (RUN_TEST_fff_f): Likewise.
7032 (RUN_TEST_LOOP_fff_f): Likewise.
7033 (RUN_TEST_c_f): Likewise.
7034 (RUN_TEST_LOOP_c_f): Likewise.
7035 (RUN_TEST_f_f1): Likewise.
7036 (RUN_TEST_LOOP_f_f1): Likewise.
7037 (RUN_TEST_fF_f1): Likewise.
7038 (RUN_TEST_LOOP_fF_f1): Likewise.
7039 (RUN_TEST_fI_f1): Likewise.
7040 (RUN_TEST_LOOP_fI_f1): Likewise.
7041 (RUN_TEST_ffI_f1): Likewise.
7042 (RUN_TEST_LOOP_ffI_f1): Likewise.
7043 (RUN_TEST_c_c): Likewise.
7044 (RUN_TEST_LOOP_c_c): Likewise.
7045 (RUN_TEST_cc_c): Likewise.
7046 (RUN_TEST_LOOP_cc_c): Likewise.
7047 (RUN_TEST_f_i): Likewise.
7048 (RUN_TEST_LOOP_f_i): Likewise.
7049 (RUN_TEST_f_i_tg): Likewise.
7050 (RUN_TEST_LOOP_f_i_tg): Likewise.
7051 (RUN_TEST_ff_i_tg): Likewise.
7052 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7053 (RUN_TEST_f_b): Likewise.
7054 (RUN_TEST_LOOP_f_b): Likewise.
7055 (RUN_TEST_f_b_tg): Likewise.
7056 (RUN_TEST_LOOP_f_b_tg): Likewise.
7057 (RUN_TEST_f_l): Likewise.
7058 (RUN_TEST_LOOP_f_l): Likewise.
7059 (RUN_TEST_f_L): Likewise.
7060 (RUN_TEST_LOOP_f_L): Likewise.
7061 (RUN_TEST_sincos): Likewise.
7062 (RUN_TEST_LOOP_sincos): Likewise.
7064 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7068 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7069 main case of finite arguments, set rounding mode to FE_TONEAREST
7070 and discard exceptions.
7071 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7073 (remainder_tonearest_test_data): New variable.
7074 (remainder_test_tonearest): New function.
7075 (remainder_towardzero_test_data): New variable.
7076 (remainder_test_towardzero): New function.
7077 (remainder_downward_test_data): New variable.
7078 (remainder_test_downward): New function.
7079 (remainder_upward_test_data): New variable.
7080 (remainder_test_upward): New function.
7081 (main): Call the new test functions.
7083 * math/libm-test.inc (struct test_f_f1_data): Remove field
7085 (struct test_fF_f1_data): Likewise.
7086 (struct test_ffI_f1_data): Likewise.
7087 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7088 based on value of EXTRA_EXPECTED.
7089 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7090 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7091 EXTRA_VAR based on value of EXTRA_EXPECTED.
7092 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7093 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7094 EXTRA_VAR based on value of EXTRA_EXPECTED.
7095 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7096 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7097 EXTRA_VAR based on value of EXTRA_EXPECTED.
7098 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7099 * math/gen-libm-test.pl (parse_args): Don't output initializers
7100 for extra output values.
7102 * math/libm-test.inc (check_int): Expect result to be exactly
7103 equal to expected value and do not handle ulps.
7104 (check_long): Likewise.
7105 (check_longlong): Likewise.
7107 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7109 (cimag_test_data): Likewise.
7110 (conj_test_data): Likewise.
7111 (copysign_test_data): Likewise.
7112 (cproj_test_data): Likewise.
7113 (creal_test_data): Likewise.
7114 (fabs_test_data): Likewise.
7115 (fdim_test_data): Likewise.
7116 (finite_test_data): Likewise.
7117 (floor_test_data): Likewise.
7118 (fmax_test_data): Likewise.
7119 (fmin_test_data): Likewise.
7120 (fmod_test_data): Likewise.
7121 (fpclassify_test_data): Likewise.
7122 (frexp_test_data): Likewise.
7123 (ilogb_test_data): Likewise.
7124 (isfinite_test_data): Likewise.
7125 (isgreater_test_data): Likewise.
7126 (isgreaterequal_test_data): Likewise.
7127 (isinf_test_data): Likewise.
7128 (isless_test_data): Likewise.
7129 (islessequal_test_data): Likewise.
7130 (islessgreater_test_data): Likewise.
7131 (isnan_test_data): Likewise.
7132 (isnormal_test_data): Likewise.
7133 (issignaling_test_data): Likewise.
7134 (isunordered_test_data): Likewise.
7135 (ldexp_test_data): Likewise.
7136 (lrint_test_data): Likewise.
7137 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7138 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7139 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7140 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7141 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7142 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7144 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7145 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7146 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7147 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7149 (lrint_downward_test_data): Test for "inexact" exceptions.
7150 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7151 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7152 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7154 (lrint_upward_test_data): Test for "inexact" exceptions.
7155 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7157 (llrint_test_data): Test for "inexact" exceptions.
7158 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7159 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7160 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7161 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7162 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7163 (llrint_downward_test_data): Test for "inexact" exceptions.
7164 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7165 (llrint_upward_test_data): Test for "inexact" exceptions.
7166 (logb_test_data): Likewise.
7167 (logb_downward_test_data): Likewise.
7168 (nextafter_test_data): Likewise.
7169 (nexttoward_test_data): Likewise.
7170 (remainder_test_data): Likewise.
7171 (remquo_test_data): Likewise.
7172 (scalbn_test_data): Likewise.
7173 (scalbln_test_data): Likewise.
7174 (signbit_test_data): Likewise.
7175 (sqrt_test_data): Likewise.
7176 (significand_test_data): Likewise.
7178 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7181 * benchtests/bench-modf.c (struct args): Mark arg0 as
7183 * scripts/bench.pl: Mark members of struct args as volatile.
7185 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7188 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7189 negative infinity on POWER6 or lower.
7190 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7192 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7195 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7196 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7197 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7198 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7199 (_FP_SETQNAN): New macro.
7200 (_FP_SETQNAN_SEMIRAW): Likewise.
7201 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7202 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7203 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7204 (FP_EXTEND): Use _FP_FRAC_SNANP.
7205 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7206 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7213 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7215 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7216 with DIVIDE_BY_ZERO_EXCEPTION.
7217 (gamma_test_data): Likewise.
7218 (lgamma_test_data): Likewise.
7219 (log_test_data): Likewise.
7220 (log10_test_data): Likewise.
7221 (log2_test_data): Likewise.
7222 (tgamma_test_data): Likewise.
7224 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7225 (acos_test_tonearest): Likewise.
7226 (acos_test_towardzero): Likewise.
7227 (acos_test_downward): Likewise.
7228 (acos_test_upward): Likewise.
7229 (acosh_test): Likewise.
7230 (asin_test): Likewise.
7231 (asin_test_tonearest): Likewise.
7232 (asin_test_towardzero): Likewise.
7233 (asin_test_downward): Likewise.
7234 (asin_test_upward): Likewise.
7235 (asinh_test): Likewise.
7236 (atan_test): Likewise.
7237 (atanh_test): Likewise.
7238 (atan2_test): Likewise.
7239 (cabs_test): Likewise.
7240 (cacos_test): Likewise.
7241 (cacosh_test): Likewise.
7242 (casin_test): Likewise.
7243 (casinh_test): Likewise.
7244 (catan_test): Likewise.
7245 (catanh_test): Likewise.
7246 (cbrt_test): Likewise.
7247 (ccos_test): Likewise.
7248 (ccosh_test): Likewise.
7249 (cexp_test): Likewise.
7250 (clog_test): Likewise.
7251 (clog10_test): Likewise.
7252 (cos_test): Likewise.
7253 (cos_test_tonearest): Likewise.
7254 (cos_test_towardzero): Likewise.
7255 (cos_test_downward): Likewise.
7256 (cos_test_upward): Likewise.
7257 (cosh_test): Likewise.
7258 (cosh_test_tonearest): Likewise.
7259 (cosh_test_towardzero): Likewise.
7260 (cosh_test_downward): Likewise.
7261 (cosh_test_upward): Likewise.
7262 (cpow_test): Likewise.
7263 (csin_test): Likewise.
7264 (csinh_test): Likewise.
7265 (csqrt_test): Likewise.
7266 (ctan_test): Likewise.
7267 (ctan_test_tonearest): Likewise.
7268 (ctan_test_towardzero): Likewise.
7269 (ctan_test_downward): Likewise.
7270 (ctan_test_upward): Likewise.
7271 (ctanh_test): Likewise.
7272 (ctanh_test_tonearest): Likewise.
7273 (ctanh_test_towardzero): Likewise.
7274 (ctanh_test_downward): Likewise.
7275 (ctanh_test_upward): Likewise.
7276 (erf_test): Likewise.
7277 (erfc_test): Likewise.
7278 (exp_test): Likewise.
7279 (exp_test_tonearest): Likewise.
7280 (exp_test_towardzero): Likewise.
7281 (exp_test_downward): Likewise.
7282 (exp_test_upward): Likewise.
7283 (exp10_test): Likewise.
7284 (exp2_test): Likewise.
7285 (expm1_test): Likewise.
7286 (fmod_test): Likewise.
7287 (gamma_test): Likewise.
7288 (hypot_test): Likewise.
7289 (j0_test): Likewise.
7290 (j1_test): Likewise.
7291 (jn_test): Likewise.
7292 (lgamma_test): Likewise.
7293 (log_test): Likewise.
7294 (log10_test): Likewise.
7295 (log1p_test): Likewise.
7296 (log2_test): Likewise.
7297 (logb_test_downward): Likewise.
7298 (pow_test): Likewise.
7299 (pow_test_tonearest): Likewise.
7300 (pow_test_towardzero): Likewise.
7301 (pow_test_downward): Likewise.
7302 (pow_test_upward): Likewise.
7303 (remainder_test): Likewise.
7304 (remquo_test): Likewise.
7305 (sin_test): Likewise.
7306 (sin_test_tonearest): Likewise.
7307 (sin_test_towardzero): Likewise.
7308 (sin_test_downward): Likewise.
7309 (sin_test_upward): Likewise.
7310 (sincos_test): Likewise.
7311 (sinh_test): Likewise.
7312 (sinh_test_tonearest): Likewise.
7313 (sinh_test_towardzero): Likewise.
7314 (sinh_test_downward): Likewise.
7315 (sinh_test_upward): Likewise.
7316 (sqrt_test): Likewise.
7317 (tan_test): Likewise.
7318 (tan_test_tonearest): Likewise.
7319 (tan_test_towardzero): Likewise.
7320 (tan_test_downward): Likewise.
7321 (tan_test_upward): Likewise.
7322 (tanh_test): Likewise.
7323 (tgamma_test): Likewise.
7324 (y0_test): Likewise.
7325 (y1_test): Likewise.
7326 (yn_test): Likewise.
7328 * math/gen-libm-test.pl (adjust_arg): Remove function.
7329 (special_function): Remove argument $in_func. Only handle
7330 generating output for tables of tests, not inside functions.
7331 (parse_args): Likewise.
7332 (generate_testfile): Remove variable $in_func. Update call to
7334 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7335 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7336 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7337 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7338 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7339 (MAX_VALUE_INIT): Rename macro to max_value.
7340 (MIN_VALUE_INIT): Rename macro to min_value.
7341 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7342 (plus_zero): Remove variable.
7343 (minus_zero): Likewise.
7344 (plus_infty): Likewise.
7345 (minus_infty): Likewise.
7346 (qnan_value): Likewise.
7347 (max_value): Likewise.
7348 (min_value): Likewise.
7349 (min_subnorm_value): Likewise.
7351 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7353 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7354 uint64_t or uint32_t usage.
7355 * crypt/sha256-block.c: Likewise.
7356 * crypt/sha256-crypt.c: Likewise.
7357 * crypt/sha256.c: Likewise.
7358 * crypt/sha512-block.c: Likewise.
7359 * crypt/sha512-crypt.c: Likewise.
7360 * crypt/sha512.c: Likewise.
7361 * debug/backtrace-tst.c: Likewise.
7362 * debug/pcprofiledump.c: Likewise.
7363 * elf/cache.c: Likewise.
7364 * elf/dl-cache.c: Likewise.
7365 * elf/dl-misc.c: Likewise.
7366 * elf/dl-profile.c: Likewise.
7367 * elf/dl-support.c: Likewise.
7368 * elf/ldconfig.c: Likewise.
7369 * elf/sprof.c: Likewise.
7370 * iconv/dummy-repertoire.c: Likewise.
7371 * iconv/iconv_charmap.c: Likewise.
7372 * iconv/skeleton.c: Likewise.
7373 * iconvdata/8bit-generic.c: Likewise.
7374 * iconvdata/cp737.h: Likewise.
7375 * iconvdata/cp775.h: Likewise.
7376 * iconvdata/ibm1008.h: Likewise.
7377 * iconvdata/ibm1025.h: Likewise.
7378 * iconvdata/ibm1046.h: Likewise.
7379 * iconvdata/ibm1097.h: Likewise.
7380 * iconvdata/ibm1112.h: Likewise.
7381 * iconvdata/ibm1122.h: Likewise.
7382 * iconvdata/ibm1123.h: Likewise.
7383 * iconvdata/ibm1124.h: Likewise.
7384 * iconvdata/ibm1129.h: Likewise.
7385 * iconvdata/ibm1130.h: Likewise.
7386 * iconvdata/ibm1132.h: Likewise.
7387 * iconvdata/ibm1133.h: Likewise.
7388 * iconvdata/ibm1137.h: Likewise.
7389 * iconvdata/ibm1140.h: Likewise.
7390 * iconvdata/ibm1141.h: Likewise.
7391 * iconvdata/ibm1142.h: Likewise.
7392 * iconvdata/ibm1143.h: Likewise.
7393 * iconvdata/ibm1144.h: Likewise.
7394 * iconvdata/ibm1145.h: Likewise.
7395 * iconvdata/ibm1146.h: Likewise.
7396 * iconvdata/ibm1147.h: Likewise.
7397 * iconvdata/ibm1148.h: Likewise.
7398 * iconvdata/ibm1149.h: Likewise.
7399 * iconvdata/ibm1153.h: Likewise.
7400 * iconvdata/ibm1154.h: Likewise.
7401 * iconvdata/ibm1155.h: Likewise.
7402 * iconvdata/ibm1156.h: Likewise.
7403 * iconvdata/ibm1157.h: Likewise.
7404 * iconvdata/ibm1158.h: Likewise.
7405 * iconvdata/ibm1160.h: Likewise.
7406 * iconvdata/ibm1161.h: Likewise.
7407 * iconvdata/ibm1162.h: Likewise.
7408 * iconvdata/ibm1163.h: Likewise.
7409 * iconvdata/ibm1164.h: Likewise.
7410 * iconvdata/ibm1166.h: Likewise.
7411 * iconvdata/ibm1167.h: Likewise.
7412 * iconvdata/ibm12712.h: Likewise.
7413 * iconvdata/ibm1390.h: Likewise.
7414 * iconvdata/ibm1399.h: Likewise.
7415 * iconvdata/ibm16804.h: Likewise.
7416 * iconvdata/ibm4517.h: Likewise.
7417 * iconvdata/ibm4899.h: Likewise.
7418 * iconvdata/ibm4909.h: Likewise.
7419 * iconvdata/ibm4971.h: Likewise.
7420 * iconvdata/ibm5347.h: Likewise.
7421 * iconvdata/ibm803.h: Likewise.
7422 * iconvdata/ibm856.h: Likewise.
7423 * iconvdata/ibm901.h: Likewise.
7424 * iconvdata/ibm902.h: Likewise.
7425 * iconvdata/ibm9030.h: Likewise.
7426 * iconvdata/ibm9066.h: Likewise.
7427 * iconvdata/ibm921.h: Likewise.
7428 * iconvdata/ibm922.h: Likewise.
7429 * iconvdata/ibm9448.h: Likewise.
7430 * iconvdata/isiri-3342.h: Likewise.
7431 * iconvdata/jis0201.h: Likewise.
7432 * include/link.h: Likewise.
7433 * include/netdb.h: Likewise.
7434 * inet/check_native.c: Likewise.
7435 * inet/check_pf.c: Likewise.
7436 * inet/getipv4sourcefilter.c: Likewise.
7437 * inet/getnameinfo.c: Likewise.
7438 * inet/getsourcefilter.c: Likewise.
7439 * inet/htonl.c: Likewise.
7440 * inet/setipv4sourcefilter.c: Likewise.
7441 * inet/setsourcefilter.c: Likewise.
7442 * inet/test-inet6_opt.c: Likewise.
7443 * inet/tst-network.c: Likewise.
7444 * locale/C-collate.c: Likewise.
7445 * locale/C-ctype.c: Likewise.
7446 * locale/C-time.c: Likewise.
7447 * locale/C-translit.h: Likewise.
7448 * locale/loadarchive.c: Likewise.
7449 * locale/programs/3level.h: Likewise.
7450 * locale/programs/charmap.c: Likewise.
7451 * locale/programs/charmap.h: Likewise.
7452 * locale/programs/ld-address.c: Likewise.
7453 * locale/programs/ld-collate.c: Likewise.
7454 * locale/programs/ld-ctype.c: Likewise.
7455 * locale/programs/ld-identification.c: Likewise.
7456 * locale/programs/ld-measurement.c: Likewise.
7457 * locale/programs/ld-messages.c: Likewise.
7458 * locale/programs/ld-monetary.c: Likewise.
7459 * locale/programs/ld-name.c: Likewise.
7460 * locale/programs/ld-numeric.c: Likewise.
7461 * locale/programs/ld-paper.c: Likewise.
7462 * locale/programs/ld-telephone.c: Likewise.
7463 * locale/programs/ld-time.c: Likewise.
7464 * locale/programs/linereader.c: Likewise.
7465 * locale/programs/locale.c: Likewise.
7466 * locale/programs/locarchive.c: Likewise.
7467 * locale/programs/locfile.h: Likewise.
7468 * locale/programs/repertoire.c: Likewise.
7469 * locale/programs/simple-hash.c: Likewise.
7470 * locale/programs/simple-hash.h: Likewise.
7471 * malloc/memusage.c: Likewise.
7472 * malloc/memusagestat.c: Likewise.
7473 * nis/nis_defaults.c: Likewise.
7474 * nis/nis_hash.c: Likewise.
7475 * nis/nis_print.c: Likewise.
7476 * nis/nis_xdr.c: Likewise.
7477 * nscd/connections.c: Likewise.
7478 * nscd/hstcache.c: Likewise.
7479 * nscd/nscd_gethst_r.c: Likewise.
7480 * nscd/nscd_getserv_r.c: Likewise.
7481 * nscd/nscd_helper.c: Likewise.
7482 * nscd/servicescache.c: Likewise.
7483 * nss/makedb.c: Likewise.
7484 * nss/nss_db/db-XXX.c: Likewise.
7485 * nss/nss_db/db-initgroups.c: Likewise.
7486 * nss/nss_db/db-netgrp.c: Likewise.
7487 * nss/nss_files/files-network.c: Likewise.
7488 * nss/nss_files/files-parse.c: Likewise.
7489 * posix/bug-regex5.c: Likewise.
7490 * posix/fnmatch_loop.c: Likewise.
7491 * posix/regcomp.c: Likewise.
7492 * posix/regexec.c: Likewise.
7493 * posix/tst-rfc3484-2.c: Likewise.
7494 * posix/tst-rfc3484-3.c: Likewise.
7495 * posix/tst-rfc3484.c: Likewise.
7496 * resolv/nss_dns/dns-canon.c: Likewise.
7497 * resolv/nss_dns/dns-network.c: Likewise.
7498 * resolv/res_init.c: Likewise.
7499 * resolv/res_mkquery.c: Likewise.
7500 * resolv/tst-aton.c: Likewise.
7501 * stdlib/cxa_atexit.c: Likewise.
7502 * stdlib/cxa_finalize.c: Likewise.
7503 * stdlib/gen-fpioconst.c: Likewise.
7504 * stdlib/strtol_l.c: Likewise.
7505 * string/tst-endian.c: Likewise.
7506 * sunrpc/auth_des.c: Likewise.
7507 * sunrpc/clnt_udp.c: Likewise.
7508 * sunrpc/rtime.c: Likewise.
7509 * sunrpc/svcauth_des.c: Likewise.
7510 * sunrpc/xdr.c: Likewise.
7511 * sunrpc/xdr_intXX_t.c: Likewise.
7512 * sunrpc/xdr_rec.c: Likewise.
7513 * sysdeps/generic/ldconfig.h: Likewise.
7514 * sysdeps/generic/ldsodefs.h: Likewise.
7515 * sysdeps/generic/memusage.h: Likewise.
7516 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7517 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7518 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7519 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7520 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7522 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7524 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7526 * sysdeps/posix/getaddrinfo.c: Likewise.
7527 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7528 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7529 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7530 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7531 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7532 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7533 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7534 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7535 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7536 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7537 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7538 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7539 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7540 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7541 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7542 * sysdeps/x86_64/dl-tls.h: Likewise.
7543 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7544 * time/alt_digit.c: Likewise.
7545 * time/era.c: Likewise.
7546 * wcsmbs/tst-c16c32-1.c: Likewise.
7548 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7550 * math/libm-test.inc (struct test_sincos_data): New type.
7551 (RUN_TEST_LOOP_sincos): New macro.
7552 (sincos_test_data): New variable.
7553 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7555 2013-05-16 Richard Henderson <rth@redhat.com>
7557 * math/atest-exp2.c (LIMB64): New macro.
7558 (CONSTSZ): New macro.
7559 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7561 (print_mpn_fp): ... to function scope.
7562 (read_mpn_hex): Remove.
7564 (exp2_mpn): Use mp_log2.
7565 (main): Use mp_exp1.
7567 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7569 * math/libm-test.inc: Remove comment about not testing "inexact"
7571 (INEXACT_EXCEPTION): New macro.
7572 (NO_INEXACT_EXCEPTION): Likewise.
7573 (INVALID_EXCEPTION_OK): Update value.
7574 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7575 (OVERFLOW_EXCEPTION_OK): Likewise.
7576 (UNDERFLOW_EXCEPTION_OK): Likewise.
7577 (IGNORE_ZERO_INF_SIGN): Likewise.
7578 (ERRNO_UNCHANGED): Likewise.
7579 (ERRNO_EDOM): Likewise.
7580 (ERRNO_ERANGE): Likewise.
7581 (test_exceptions): Handle testing "inexact" exceptions.
7582 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7583 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7584 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7585 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7587 (rint_towardzero_test_data): Likewise.
7588 (rint_downward_test_data): Likewise.
7589 (rint_upward_test_data): Likewise.
7591 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7592 with OVERFLOW_EXCEPTION.
7593 (exp10_test_data): Likewise.
7594 (exp2_test_data): Likewise.
7595 (expm1_test_data): Likewise.
7596 (lgamma_test_data): Likewise.
7597 (pow_test_data): Likewise.
7598 (tgamma_test_data): Likewise.
7599 (yn_test_data): Remove duplicate test of overflow.
7601 * math/libm-test.inc (struct test_cc_c_data): New type.
7602 (RUN_TEST_LOOP_cc_c): New macro.
7603 (cpow_test_data): New variable.
7604 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7606 * math/libm-test.inc (struct test_f_L_data): New type.
7607 (RUN_TEST_LOOP_f_L): New macro.
7608 (llrint_test_data): New variable.
7609 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7610 (llrint_tonearest_test_data): New variable.
7611 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7612 (llrint_towardzero_test_data): New variable.
7613 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7614 (llrint_downward_test_data): New variable.
7615 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7616 (llrint_upward_test_data): New variable.
7617 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7618 (llround_test_data): New variable.
7619 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7621 2013-05-13 Peter Collingbourne <pcc@google.com>
7623 * math/atest-exp2.c (get_log2): Remove const attribute.
7625 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7627 * math/libm-test.inc (struct test_f_l_data): New type.
7628 (RUN_TEST_LOOP_f_l): New macro.
7629 (lrint_test_data): New variable.
7630 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7631 (lrint_tonearest_test_data): New variable.
7632 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7633 (lrint_towardzero_test_data): New variable.
7634 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7635 (lrint_downward_test_data): New variable.
7636 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7637 (lrint_upward_test_data): New variable.
7638 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7639 (lround_test_data): New variable.
7640 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7642 2013-05-15 Peter Collingbourne <pcc@google.com>
7644 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7645 (EXTRACT_WORDS64) Use where appropriate.
7646 (INSERT_WORDS64) Likewise.
7648 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7649 constraints with x constraints.
7650 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7652 * malloc/obstack.c (_obstack_compat): Add initializer.
7654 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7656 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7657 si_trapno and add si_addr_lsb to _sifields.sigfault.
7658 (si_trapno): Remove macro.
7659 (si_addr_lsb): Define new macro.
7660 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7662 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7664 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7665 instead of TEST_f_l.
7666 (llrint_test_tonearest): Likewise.
7667 (llrint_test_towardzero): Likewise.
7668 (llrint_test_downward): Likewise.
7669 (llrint_test_upward): Likewise.
7670 (llround_test): Likewise.
7672 * math/libm-test.inc (struct test_f_i_data): Add comment.
7673 (RUN_TEST_LOOP_f_b): New macro.
7674 (RUN_TEST_LOOP_f_b_tg): Likewise.
7675 (finite_test_data): New variable.
7676 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7677 (isfinite_test_data): New variable.
7678 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7679 (isinf_test_data): New variable.
7680 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7681 (isnan_test_data): New variable.
7682 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7683 (isnormal_test_data): New variable.
7684 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7685 (issignaling_test_data): New variable.
7686 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7687 (signbit_test_data): New variable.
7688 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7690 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7691 with INVALID_EXCEPTION.
7692 (acosh_test_data): Likewise.
7693 (asin_test_data): Likewise.
7694 (atanh_test_data): Likewise.
7695 (fmod_test_data): Likewise.
7696 (log_test_data): Likewise.
7697 (log10_test_data): Likewise.
7698 (log2_test_data): Likewise.
7699 (pow_test_data): Likewise.
7700 (sqrt_test_data): Likewise.
7701 (y0_test_data): Likewise.
7702 (y1_test_data): Likewise.
7703 (yn_test_data): Likewise.
7705 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7708 * math/libm-test.inc (struct test_ff_i_data): New type.
7709 (RUN_TEST_LOOP_ff_i_tg): New macro.
7710 (isgreater_test_data): New variable.
7711 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7712 (isgreaterequal_test_data): New variable.
7713 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7714 (isless_test_data): New variable.
7715 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7716 (islessequal_test_data): New variable.
7717 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7718 (islessgreater_test_data): New variable.
7719 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7720 (isunordered_test_data): New variable.
7721 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7723 2013-05-14 David S. Miller <davem@davemloft.net>
7725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7727 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7729 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7731 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7733 (struct test_f_i_data): Change type of max_ulp to int.
7735 * math/libm-test.inc (test_ffI_f1_data): New type.
7736 (RUN_TEST_LOOP_ffI_f1): New macro.
7737 (remquo_test_data): New variable.
7738 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7740 * setjmp/tst-setjmp-fp.c: New file.
7741 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7742 (link-libm): New variable.
7743 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7745 * math/libm-test.inc (struct test_f_i_data): New type.
7746 (RUN_TEST_LOOP_f_i): New macro.
7747 (RUN_TEST_LOOP_f_i_tg): Likewise.
7748 (fpclassify_test_data): New variable.
7749 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7750 (ilogb_test_data): New variable.
7751 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7753 * math/libm-test.inc (scalbln_test): Correct function name in END
7756 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7757 (RUN_TEST_LOOP_fI_f1): New macro.
7758 (frexp_test_data): New variable.
7759 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7761 * math/libm-test.inc (struct test_fF_f1_data): New type.
7762 (RUN_TEST_LOOP_fF_f1): New macro.
7763 (modf_test_data): New variable.
7764 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7766 * math/libm-test.inc (struct test_f_f1_data): New type.
7767 (RUN_TEST_LOOP_f_f1): New macro.
7768 (gamma_test_data): New variable.
7769 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7770 (lgamma_test_data): New variable.
7771 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7773 2013-05-13 Carlos O'Donell <carlos@redhat.com>
7775 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7776 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7777 (main): Comment "tls" pseudo-hwcap.
7779 2013-05-13 Joseph Myers <joseph@codesourcery.com>
7781 * math/libm-test.inc (struct test_fl_f_data): New type.
7782 (RUN_TEST_LOOP_fl_f): New variable.
7783 (scalbln_test_data): New variable.
7784 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7786 * math/libm-test.inc (struct test_fi_f_data): New type.
7787 (RUN_TEST_LOOP_fi_f): New macro.
7788 (ldexp_test_data): New variable.
7789 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7790 (scalbn_test_data): New variable.
7791 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7793 * math/libm-test.inc (struct test_c_f_data): New type.
7794 (RUN_TEST_LOOP_c_f): New macro.
7795 (cabs_test_data): New variable.
7796 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7797 (carg_test_data): New variable.
7798 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7799 (cimag_test_data): New variable.
7800 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7801 (creal_test_data): New variable.
7802 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7804 * math/libm-test.inc (struct test_if_f_data): New type.
7805 (RUN_TEST_LOOP_if_f): New macro.
7806 (jn_test_data): New variable.
7807 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7808 (yn_test_data): New variable.
7809 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7811 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7813 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7816 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7818 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7820 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7821 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7822 (bench-deps): Add bench-timing.h.
7823 * benchtests-bench-skeleton.c: Include bench-timing.h.
7824 (main): Use TIMING_* macros instead of clock_gettime.
7825 * benchtests/bench-timing.h: New file.
7828 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7829 Renamed from _LIB_VERSION.
7830 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7832 2013-05-12 Joseph Myers <joseph@codesourcery.com>
7834 * math/libm-test.inc (struct test_fff_f_data): New type.
7835 (RUN_TEST_LOOP_fff_f): New macro.
7836 (fma_test_data): New variable.
7837 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7838 (fma_towardzero_test_data): New variable.
7839 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7840 (fma_downward_test_data): New variable.
7841 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7842 (fma_upward_test_data): New variable.
7843 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7845 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7846 (struct test_c_c_data): New type.
7847 (RUN_TEST_LOOP_c_c): New macro.
7848 (cacos_test_data): New variable.
7849 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7850 (cacosh_test_data): New variable.
7851 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7852 (casin_test_data): New variable.
7853 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7854 (casinh_test_data): New variable.
7855 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7856 (catan_test_data): New variable.
7857 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7858 (catanh_test_data): New variable.
7859 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7860 (ccos_test_data): New variable.
7861 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7862 (ccosh_test_data): New variable.
7863 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7864 (cexp_test_data): New variable.
7865 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7866 (clog_test_data): New variable.
7867 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7868 (clog10_test_data): New variable.
7869 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7870 (conj_test_data): New variable.
7871 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7872 (cproj_test_data): New variable.
7873 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7874 (csin_test_data): New variable.
7875 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7876 (csinh_test_data): New variable.
7877 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7878 (csqrt_test_data): New variable.
7879 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7880 (ctan_test_data): New variable.
7881 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7882 (ctan_tonearest_test_data): New variable.
7883 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7884 (ctan_towardzero_test_data): New variable.
7885 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7886 (ctan_downward_test_data): New variable.
7887 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7888 (ctan_upward_test_data): New variable.
7889 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7890 (ctanh_test_data): New variable.
7891 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7892 (ctanh_tonearest_test_data): New variable.
7893 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7894 (ctanh_towardzero_test_data): New variable.
7895 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7896 (ctanh_downward_test_data): New variable.
7897 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7898 (ctanh_upward_test_data): New variable.
7899 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7900 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7903 * math/libm-test.inc (struct test_ff_f_data): New type.
7904 (struct test_ff_f_data_nexttoward): Likewise.
7905 (RUN_TEST_LOOP_2_f): New macro.
7906 (RUN_TEST_LOOP_ff_f): Likewise.
7907 (atan2_test_data): New variable.
7908 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7909 (copysign_test_data): New variable.
7910 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7911 (fdim_test_data): New variable.
7912 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7913 (fmax_test_data): New variable.
7914 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7915 (fmin_test_data): New variable.
7916 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7917 (fmod_test_data): New variable.
7918 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7919 (hypot_test_data): New variable.
7920 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7921 (nextafter_test_data): New variable.
7922 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7923 (nexttoward_test_data): New variable.
7924 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7925 (pow_test_data): New variable.
7926 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7927 (pow_tonearest_test_data): New variable.
7928 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7929 (pow_towardzero_test_data): New variable.
7930 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7931 (pow_downward_test_data): New variable.
7932 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7933 (pow_upward_test_data): New variable.
7934 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7935 (remainder_test_data): New variable.
7936 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7937 (scalb_test_data): New variable.
7938 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7939 * sysdeps/i386/fpu/libm-test-ulps: Update.
7941 2013-05-11 Joseph Myers <joseph@codesourcery.com>
7943 * math/libm-test.inc (fma_test): Use max_value instead of local
7945 (nextafter_test): Likewise.
7947 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7948 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7949 (acos_downward_test_data): New variable.
7950 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7951 (acos_upward_test_data): New variable.
7952 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7953 (acosh_test_data): New variable.
7954 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7955 (asin_test_data): New variable.
7956 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7957 (asin_tonearest_test_data): New variable.
7958 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7959 (asin_towardzero_test_data): New variable.
7960 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7961 (asin_downward_test_data): New variable.
7962 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7963 (asin_upward_test_data): New variable.
7964 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7965 (asinh_test_data): New variable.
7966 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7967 (atan_test_data): New variable.
7968 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7969 (atanh_test_data): New variable.
7970 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7971 (cbrt_test_data): New variable.
7972 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7973 (ceil_test_data): New variable.
7974 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7975 (cos_test_data): New variable.
7976 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7977 (cos_tonearest_test_data): New variable.
7978 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7979 (cos_towardzero_test_data): New variable.
7980 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7981 (cos_downward_test_data): New variable.
7982 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7983 (cos_upward_test_data): New variable.
7984 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7985 (cosh_test_data): New variable.
7986 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7987 (cosh_tonearest_test_data): New variable.
7988 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7989 (cosh_towardzero_test_data): New variable.
7990 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7991 (cosh_downward_test_data): New variable.
7992 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7993 (cosh_upward_test_data): New variable.
7994 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7995 (erf_test_data): New variable.
7996 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7997 (erfc_test_data): New variable.
7998 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7999 (exp_test_data): New variable.
8000 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8001 (exp_tonearest_test_data): New variable.
8002 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8003 (exp_towardzero_test_data): New variable.
8004 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8005 (exp_downward_test_data): New variable.
8006 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8007 (exp_upward_test_data): New variable.
8008 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8009 (exp10_test_data): New variable.
8010 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8011 (exp2_test_data): New variable.
8012 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8013 (expm1_test_data): New variable.
8014 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8015 (fabs_test_data): New variable.
8016 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8017 (floor_test_data): New variable.
8018 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8019 (j0_test_data): New variable.
8020 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8021 (j1_test_data): New variable.
8022 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8023 (log_test_data): New variable.
8024 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8025 (log10_test_data): New variable.
8026 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8027 (log1p_test_data): New variable.
8028 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8029 (log2_test_data): New variable.
8030 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8031 (logb_test_data): New variable.
8032 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8033 (logb_downward_test_data): New variable.
8034 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8035 (nearbyint_test_data): New variable.
8036 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8037 (rint_test_data): New variable.
8038 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8039 (rint_tonearest_test_data): New variable.
8040 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8041 (rint_towardzero_test_data): New variable.
8042 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8043 (rint_downward_test_data): New variable.
8044 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8045 (rint_upward_test_data): New variable.
8046 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8047 (round_test_data): New variable.
8048 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8049 (sin_test_data): New variable.
8050 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8051 (sin_tonearest_test_data): New variable.
8052 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8053 (sin_towardzero_test_data): New variable.
8054 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8055 (sin_downward_test_data): New variable.
8056 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8057 (sin_upward_test_data): New variable.
8058 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8059 (sinh_test_data): New variable.
8060 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8061 (sinh_tonearest_test_data): New variable.
8062 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8063 (sinh_towardzero_test_data): New variable.
8064 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8065 (sinh_downward_test_data): New variable.
8066 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8067 (sinh_upward_test_data): New variable.
8068 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8069 (sqrt_test_data): New variable.
8070 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8071 (tan_test_data): New variable.
8072 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8073 (tan_tonearest_test_data): New variable.
8074 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8075 (tan_towardzero_test_data): New variable.
8076 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8077 (tan_downward_test_data): New variable.
8078 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8079 (tan_upward_test_data): New variable.
8080 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8081 (tanh_test_data): New variable.
8082 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8083 (tgamma_test_data): New variable.
8084 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8085 (trunc_test_data): New variable.
8086 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8087 (y0_test_data): New variable.
8088 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8089 (y1_test_data): New variable.
8090 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8091 (significand_test_data): New variable.
8092 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8094 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8097 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8099 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8101 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8103 2013-05-10 Andreas Jaeger <aj@suse.de>
8106 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8107 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8109 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8111 * math/gen-libm-test.pl (adjust_arg): New function.
8112 (special_functions): Handle generating output in both functions
8114 (parse_args): Likewise.
8115 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8116 $in_func argument to parse_args.
8117 * math/libm-test.inc (struct test_f_f_data): New type.
8118 (IF_ROUND_INIT_): New macro.
8119 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8120 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8121 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8122 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8123 (ROUND_RESTORE_): Likewise.
8124 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8125 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8126 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8127 (ROUND_RESTORE_FE_UPWARD): Likewise.
8128 (RUN_TEST_LOOP_f_f): New macro.
8129 (acos_test_data): New variable.
8130 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8131 (acos_tonearest_test_data): New variable.
8132 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8134 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8136 * benchtests/bench-skeleton.c (startup): Fix coding style.
8138 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8141 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8142 negative infinity argument.
8143 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8144 negative infinity argument.
8145 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8146 negative infinity argument.
8147 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8150 2013-05-10 Florian Weimer <fweimer@redhat.com>
8152 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8153 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8154 * iconv/iconv_prog.c (main): Likewise.
8155 * locale/programs/charmap-dir.c (charmap_readdir)
8156 (fopen_uncompressed): Likewise.
8157 * locale/programs/locfile.c (siblings_uncached)
8158 (write_locale_data): Use lstat64 instead of lstat.
8159 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8162 2013-05-10 Andreas Jaeger <aj@suse.de>
8165 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8169 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8171 * elf/dl-close.c (_dl_close_worker): Add comments.
8173 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8176 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8178 (__ieee754_rem_pio2l): Update comments.
8181 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8183 (__ieee754_rem_pio2l): Update comments.
8185 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8186 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8188 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8191 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8192 (M_PI_34_LOG10El): Likewise.
8193 (M_PI2_LOG10El): Likewise.
8194 (M_PI4_LOG10El): Likewise.
8195 (M_PI_LOG10El): Likewise.
8197 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8201 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8203 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8204 (MINUS_ZERO_INIT): Likewise.
8205 (PLUS_INFTY_INIT): Likewise.
8206 (MINUS_INFTY_INIT): Likewise.
8207 (QNAN_VALUE_INIT): Likewise.
8208 (MAX_VALUE_INIT): Likewise.
8209 (MIN_VALUE_INIT): Likewise.
8210 (MIN_SUBNORM_VALUE_INIT): Likewise.
8211 (plus_zero): Initialize with PLUS_ZERO_INIT.
8212 (minus_zero): Initialize with MINUS_ZERO_INIT.
8213 (plus_infty): Initialize with PLUS_INFTY_INIT.
8214 (minus_infty): Initialize with MINUS_INFTY_INIT.
8215 (qnan_value): Initialize with QNAN_VALUE_INIT.
8216 (max_value): Initialize with MAX_VALUE_INIT.
8217 (min_value): Initialize with MIN_VALUE_INIT.
8218 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8220 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8221 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8222 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8223 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8225 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8226 (RUN_TEST_2_f): Likewise.
8227 (RUN_TEST_ff_f): Likewise.
8228 (RUN_TEST_fi_f): Likewise.
8229 (RUN_TEST_fl_f): Likewise.
8230 (RUN_TEST_fff_f): Likewise.
8231 (RUN_TEST_c_f): Likewise.
8232 (RUN_TEST_f_f1): Likewise.
8233 (RUN_TEST_fF_f1): Likewise.
8234 (RUN_TEST_fI_f1): Likewise.
8235 (RUN_TEST_ffI_f1): Likewise.
8236 (RUN_TEST_c_c): Likewise.
8237 (RUN_TEST_cc_c): Likewise.
8238 (RUN_TEST_f_i): Likewise.
8239 (RUN_TEST_f_i_tg): Likewise.
8240 (RUN_TEST_ff_i_tg): Likewise.
8241 (RUN_TEST_f_b): Likewise.
8242 (RUN_TEST_f_b_tg): Likewise.
8243 (RUN_TEST_f_l): Likewise.
8244 (RUN_TEST_f_L): Likewise.
8245 (RUN_TEST_sincos): Likewise.
8246 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8247 whether to show exceptions. Do not include ");\n" in return
8249 (special_functions): Output call to RUN_TEST_sincos instead of
8250 check_float calls. Update calls to new_test.
8251 (parse_args): Output call to single RUN_TEST_* macro instead of
8252 check_* calls and other assignments. Update calls to new_test.
8258 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8259 input to result for tgamma overflow.
8260 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8261 (gamma_coeff): New variable.
8262 (NCOEFF): New macro.
8263 (gamma_positive): New function.
8264 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8265 underflow here. Use gamma_positive instead of exp (lgamma) for
8267 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8268 (gamma_coeff): New variable.
8269 (NCOEFF): New macro.
8270 (gammaf_positive): New function.
8271 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8272 underflow here. Use gamma_positive instead of exp (lgamma) for
8274 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8275 (gamma_coeff): New variable.
8276 (NCOEFF): New macro.
8277 (gammal_positive): New function.
8278 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8279 underflow here. Use gamma_positive instead of exp (lgamma) for
8281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8282 (gamma_coeff): New variable.
8283 (NCOEFF): New macro.
8284 (gammal_positive): New function.
8285 (__ieee754_gammal_r): Handle positive infinity, overflow and
8286 underflow here. Handle NaN the same as positive infinity. Remove
8287 check x < 0xffffffff for negative integers. Use gamma_positive
8288 instead of exp (lgamma) for other arguments.
8289 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8290 (gamma_coeff): New variable.
8291 (NCOEFF): New macro.
8292 (gammal_positive): New function.
8293 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8294 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8299 * sysdeps/generic/math_private.h (__gamma_productf): New
8301 (__gamma_product): Likewise.
8302 (__gamma_productl): Likewise.
8303 * math/Makefile (libm-calls): Add gamma_product.
8304 * math/libm-test.inc (tgamma_test): Add more tests.
8305 * sysdeps/i386/fpu/libm-test-ulps: Update.
8306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8308 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8310 * benchtests/bench-skeleton.c (main): Preheat CPU.
8312 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8314 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8316 2013-05-07 Roland McGrath <roland@hack.frob.com>
8318 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8319 and _dl_skip_args_internal.
8321 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8323 * manual/message.texi (Message Translation): Talk about users.
8324 Message to key mapping impacts design.
8326 2013-05-06 Roland McGrath <roland@hack.frob.com>
8328 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8330 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8332 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8333 * sysdeps/wordsize-64/glob64.c: ... here.
8335 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8336 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8339 * debug/getlogin_r_chk.c: Moved to ...
8340 * login/getlogin_r_chk.c: ... here.
8341 * debug/Makefile (routines): Move getlogin_r_chk to ...
8342 * login/Makefile (routines): ... here.
8343 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8344 * login/Versions (libc: GLIBC_2.4): ... here.
8346 * io/poll.c (__poll): Renamed from poll.
8347 Add libc_hidden_def.
8348 (poll): Define as weak alias.
8350 * debug/ptsname_r_chk.c: Moved to ...
8351 * login/ptsname_r_chk.c: ... here.
8352 * debug/Makefile (routines): Move ptsname_r_chk to ...
8353 * login/Makefile (routines): ... here.
8354 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8355 * login/Versions (libc: GLIBC_2.4): ... here.
8357 * posix/getlogin.c: Moved to ...
8358 * login/getlogin.c: ... here.
8359 * posix/getlogin_r.c: Moved to ...
8360 * login/getlogin_r.c: ... here.
8361 * posix/getlogin_r.c: Moved to ...
8362 * login/getlogin_r.c: ... here.
8363 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8364 * login/Makefile (routines): ... here.
8365 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8366 * login/Versions (libc: GLIBC_2.0): ... here.
8368 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8369 (setrlimit): Define as weak alias.
8371 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8372 Call __ names for open, ftruncate, and close.
8373 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8374 (truncate): Define as weak alias.
8376 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8378 * math/gen-libm-test.pl (parse_args): Initialize x before each
8379 test of frexp, modf and remquo.
8381 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8384 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8388 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8390 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8392 2013-05-06 Roland McGrath <roland@hack.frob.com>
8394 * elf/dl-writev.h: New file.
8395 * elf/dl-misc.c: Include it.
8396 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8397 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8399 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8401 * math/libm-test.inc (noXFails): Remove variable.
8402 (noXPasses): Likewise.
8403 (BUILD_COMPLEX_INT): Remove macro.
8404 (print_screen): Remove xfail argument.
8405 (print_screen_max_error): Likewise.
8406 (update_stats): Likewise.
8407 (print_max_error): Likewise. Update calls to other affected
8409 (print_complex_max_error): Likewise.
8410 (test_single_exception): Update calls to print_screen.
8411 (test_single_errno): Likewise.
8412 (check_float_internal): Remove xfail argument. Update calls to
8413 other affected functions.
8414 (check_float): Likewise.
8415 (check_complex): Likewise.
8416 (check_int): Likewise.
8417 (check_long): Likewise.
8418 (check_bool): Likewise.
8419 (check_longlong): Likewise.
8420 (main): Don't print noXFails and noXPasses.
8421 * math/gen-libm-test.pl (top level): Don't mention expected
8422 failure handling in comment.
8423 (new_test): Don't handle expected failures.
8424 (parse_args): Don't mention expected failure handling in comment.
8425 (generate_testfile): Don't handle expected failures.
8426 (parse_ulps): Likewise.
8427 (print_ulps_file): Likewise.
8428 (get_failure): Remove function.
8429 (output_test): Don't handle expected failures.
8430 * make/README.libm-test: Don't mention expected failure handling.
8432 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8433 (minus_zero): Likewise.
8434 (plus_infty): Likewise.
8435 (minus_infty): Likewise.
8436 (qnan_value): Likewise.
8437 (max_value): Likewise.
8438 (min_value): Likewise.
8439 (min_subnorm_value): Likewise.
8440 (initialize): Do not initialize those variables dynamically.
8442 2013-05-03 Roland McGrath <roland@hack.frob.com>
8444 * io/open.c (__open_2): Moved to ...
8445 * io/open_2.c: ... this new file.
8446 * io/open64.c (__open64_2): Moved to ...
8447 * io/open64_2.c: ... this new file.
8448 * io/openat.c (__openat_2): Moved to ...
8449 * io/openat_2.c: ... this new file.
8450 * io/openat64.c (__openat64_2): Moved to ...
8451 * io/openat64_2.c: ... this new file.
8452 * io/Makefile (routines): Add them.
8453 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8454 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8455 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8456 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8457 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8458 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8459 (__openat64): Add hidden_ver.
8460 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8461 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8463 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8464 Separately conditionalize setting of GLRO(dl_sysinfo) so
8465 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8466 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8468 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8470 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8471 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8473 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8474 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8475 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8476 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8477 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8479 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8481 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8484 * math/libm-test.inc (hypot_test): Do not use
8485 IGNORE_ZERO_INF_SIGN.
8487 2013-05-03 Andreas Jaeger <aj@suse.de>
8489 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8491 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8492 (PF_MAX): Adjust for VSOCK change.
8494 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8498 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8501 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8502 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8503 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8505 2013-05-02 David S. Miller <davem@davemloft.net>
8507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8509 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
8511 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8513 2013-05-01 Roland McGrath <roland@hack.frob.com>
8515 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8517 2013-05-01 Richard Smith <richard@metafoo.co.uk>
8520 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8521 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8522 Use __attribute__ ((__gnu_inline__)).
8523 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8524 Don't use __attribute__ ((__gnu_inline__)).
8526 2013-05-01 Joseph Myers <joseph@codesourcery.com>
8529 * math/s_catan.c (__catan): Handle small real or imaginary part of
8530 input specially to avoid spurious underflow.
8531 * math/s_catanf.c (__catanf): Likewise.
8532 * math/s_catanh.c (__catanh): Likewise.
8533 * math/s_catanhf.c (__catanhf): Likewise.
8534 * math/s_catanhl.c (__catanhl): Likewise.
8535 * math/s_catanl.c (__catanl): Likewise.
8536 * math/libm-test.inc (catan_test): Add more tests.
8537 (catanh_test): Likewise.
8538 * sysdeps/i386/fpu/libm-test-ulps: Update.
8539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8541 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8545 2013-04-30 Joseph Myers <joseph@codesourcery.com>
8548 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8549 accurately for denominator in atan2.
8550 * math/s_catanf.c (__catanf): Likewise.
8551 * math/s_catanh.c (__catanh): Likewise.
8552 * math/s_catanhf.c (__catanhf): Likewise.
8553 * math/s_catanhl.c (__catanhl): Likewise.
8554 * math/s_catanl.c (__catanl): Likewise.
8555 * math/libm-test.inc (catan_test): Add more tests.
8556 (catanh_test): Likewise.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8560 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8562 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8564 * benchtests/Makefile (bench): Remove slow benchmarks.
8565 * benchtests/atan-inputs: Add slow benchmark inputs.
8566 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8567 (BENCH_FUNC): Accept variant offset.
8569 * benchtests/bench-skeleton.c (main): Run benchmark for each
8571 * benchtests/cos-inputs: Add slow benchmark inputs.
8572 * benchtests/exp-inputs: Likewise.
8573 * benchtests/pow-inputs: Likewise.
8574 * benchtests/sin-inputs: Likewise.
8575 * benchtests/slowatan-inputs: Remove.
8576 * benchtests/slowatan.c: Remove.
8577 * benchtests/slowcos-inputs: Remove.
8578 * benchtests/slowcos.c: Remove.
8579 * benchtests/slowexp-inputs: Remove.
8580 * benchtests/slowexp.c: Remove.
8581 * benchtests/slowpow-inputs: Remove.
8582 * benchtests/slowpow.c: Remove.
8583 * benchtests/slowsin-inputs: Remove.
8584 * benchtests/slowsin.c: Remove.
8585 * benchtests/slowtan-inputs: Remove.
8586 * benchtests/slowtan.c: Remove.
8587 * benchtests/tan-inputs: Add slow benchmark inputs.
8588 * scripts/bench.pl: Parse comments and directives.
8590 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8592 ($(objpfx)bench-%.c): Remove *-ITER.
8593 * benchtests/bench-modf.c: Remove definition of ITER.
8594 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8595 (main): Loop for DURATION seconds instead of fixed number of
8597 * scripts/bench.pl: Don't expect iterations in parameters.
8599 2013-04-29 Roland McGrath <roland@hack.frob.com>
8601 * io/fchdir.c (__fchdir): Renamed from fchdir.
8602 (fchdir): Define as weak alias.
8604 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8606 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8607 (ERRNO_EDOM): Likewise.
8608 (ERRNO_ERANGE): Likewise.
8609 (noErrnoTests): New variable.
8610 (init_max_error): Set errno to 0.
8611 (test_single_errno): New function.
8612 (test_errno): Likewise.
8613 (check_float_internal): Call test_errno. Set errno to 0.
8614 (check_complex): Refer to errno tests in comment.
8615 (check_int): Call test_errno. Set errno to 0.
8616 (check_long): Likewise.
8617 (check_bool): Likewise.
8618 (check_longlong): Likewise.
8619 (cos_test): Use ERRNO_* flags for errno tests instead of
8621 (expm1_test): Likewise.
8622 (fmod_test): Likewise.
8623 (ilogb_test): Likewise.
8624 (lgamma_test): Likewise.
8625 (pow_test): Likewise.
8626 (remainder_test): Likewise.
8627 (sin_test): Likewise.
8628 (tan_test): Likewise.
8629 (yn_test): Likewise.
8630 (initialize): Set errno to 0.
8631 (main): Print number of errno tests.
8632 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8634 2013-04-29 Andreas Jaeger <aj@suse.de>
8637 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8641 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8642 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8646 * stdlib/random.c (__initstate): Return NULL if
8650 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8651 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8654 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8658 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8660 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8661 of individual tests.
8662 (casin_test): Likewise.
8663 (casinh_test): Likewise.
8665 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8668 * math/s_catan.c (__catan): Handle arguments with large real or
8669 imaginary part separately without squaring.
8670 * math/s_catanf.c (__catanf): Likewise.
8671 * math/s_catanh.c (__catanh): Likewise.
8672 * math/s_catanhf.c (__catanhf): Likewise.
8673 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8675 (__catanhl): Handle arguments with large real or imaginary part
8676 separately without squaring.
8677 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8679 (__catanl): Handle arguments with large real or imaginary part
8680 separately without squaring.
8681 * math/libm-test.inc (catan_test): Add more tests.
8682 (catanh_test): Likewise.
8683 * sysdeps/i386/fpu/libm-test-ulps: Update.
8684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8686 2013-04-27 Andreas Jaeger <aj@suse.de>
8689 * stdlib/stdlib.h: Update guards for qecvt.
8690 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8693 2013-04-27 Allan McRae <allan@archlinux.org>
8695 * sysdeps/i386/fpu/libm-test-ulps: Update.
8697 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8700 * math/s_catan.c: Include <float.h>.
8701 (__catan): Ensure underflow exception occurs for underflowed
8703 * math/s_catanf.c: Include <float.h>.
8704 (__catanf): Ensure underflow exception occurs for underflowed
8706 * math/s_catanh.c: Include <float.h>.
8707 (__catanh): Ensure underflow exception occurs for underflowed
8709 * math/s_catanhf.c: Include <float.h>.
8710 (__catanhf): Ensure underflow exception occurs for underflowed
8712 * math/s_catanhl.c: Include <float.h>.
8713 (__catanhl): Ensure underflow exception occurs for underflowed
8715 * math/s_catanl.c: Include <float.h>.
8716 (__catanl): Ensure underflow exception occurs for underflowed
8718 * math/libm-test.inc (catan_test): Add more tests.
8719 (catanh_test): Likewise.
8722 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8724 * math/s_ccoshf.c (__ccoshf): Likewise.
8725 * math/s_ccoshl.c (__ccoshl): Likewise.
8726 * math/s_csin.c (__csin): Likewise.
8727 * math/s_csinf.c (__csinf): Likewise.
8728 * math/s_csinh.c (__csinh): Likewise.
8729 * math/s_csinhf.c (__csinhf): Likewise.
8730 * math/s_csinhl.c (__csinhl): Likewise.
8731 * math/s_csinl.c (__csinl): Likewise.
8732 * math/libm-test.inc (ccos_test): Add more tests.
8733 (ccosh_test): Likewise.
8734 (csin_test): Likewise.
8735 (csinh_test): Likewise.
8737 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8739 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8740 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8741 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8742 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8743 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8744 powerpc/power5+/fpu folders.
8745 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8748 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8752 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8754 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8755 additions to variable.
8756 [$(config-machine) = x86_64] (modules-names): Likewise.
8757 ($(objpfx)tst-audit3): Remove dependency.
8758 ($(objpfx)tst-audit3.out): Likewise.
8759 ($(objpfx)tst-audit4): Likewise.
8760 ($(objpfx)tst-audit4.out): Likewise.
8761 ($(objpfx)tst-audit5): Likewise.
8762 ($(objpfx)tst-audit5.out): Likewise.
8763 ($(objpfx)tst-audit6): Likewise.
8764 ($(objpfx)tst-audit6.out): Likewise.
8765 ($(objpfx)tst-audit7): Likewise.
8766 ($(objpfx)tst-audit7.out): Likewise.
8767 (tst-audit3-ENV): Remove variable.
8768 (tst-audit4-ENV): Likewise.
8769 (tst-audit5-ENV): Likewise.
8770 (tst-audit6-ENV): Likewise.
8771 (tst-audit7-ENV): Likewise.
8772 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8773 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8774 addition to variable.
8775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8777 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8780 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8781 tst-audit3, tst-audit4 and tst-audit5.
8782 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8783 tst-audit6 and tst-audit7.
8784 [$(subdir) = elf] (modules-names): Add audit modules for those
8786 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8787 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8788 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8789 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8790 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8791 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8792 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8793 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8794 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8795 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8796 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8797 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8798 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8799 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8800 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8801 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8803 [$(subdir) = elf && $(config-cflags-avx) = yes]
8804 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8805 [$(subdir) = elf && $(config-cflags-avx) = yes]
8806 (CFLAGS-tst-auditmod4a.c): Likewise.
8807 [$(subdir) = elf && $(config-cflags-avx) = yes]
8808 (CFLAGS-tst-auditmod4b.c): Likewise.
8809 [$(subdir) = elf && $(config-cflags-avx) = yes]
8810 (CFLAGS-tst-auditmod6b.c): Likewise.
8811 [$(subdir) = elf && $(config-cflags-avx) = yes]
8812 (CFLAGS-tst-auditmod6c.c): Likewise.
8813 [$(subdir) = elf && $(config-cflags-avx) = yes]
8814 (CFLAGS-tst-auditmod7b.c): Likewise.
8815 * elf/tst-audit3.c: Move to ...
8816 * sysdeps/x86_64/tst-audit3.c: ... here.
8817 * elf/tst-audit4.c: Move to ...
8818 * sysdeps/x86_64/tst-audit4.c: ... here.
8819 * elf/tst-audit5.c: Move to ...
8820 * sysdeps/x86_64/tst-audit5.c: ... here.
8821 * elf/tst-audit6.c: Move to ...
8822 * sysdeps/x86_64/tst-audit6.c: ... here.
8823 * elf/tst-audit7.c: Move to ...
8824 * sysdeps/x86_64/tst-audit7.c: ... here.
8825 * elf/tst-auditmod3a.c: Move to ...
8826 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8827 * elf/tst-auditmod3b.c: Move to ...
8828 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8829 * elf/tst-auditmod4a.c: Move to ...
8830 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8831 * elf/tst-auditmod4b.c: Move to ...
8832 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8833 * elf/tst-auditmod5a.c: Move to ...
8834 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8835 * elf/tst-auditmod5b.c: Move to ...
8836 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8837 * elf/tst-auditmod6a.c: Move to ...
8838 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8839 * elf/tst-auditmod6b.c: Move to ...
8840 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8841 * elf/tst-auditmod6c.c: Move to ...
8842 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8843 * elf/tst-auditmod7a.c: Move to ...
8844 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8845 * elf/tst-auditmod7b.c: Move to ...
8846 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8848 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8851 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8852 define unconditionally.
8853 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8854 define unconditionally.
8855 (INT8_C, INT16_C, etc.): Likewise.
8857 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8859 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8860 __ehdr_start with hidden visibility.
8862 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8864 2013-04-24 Carlos O'Donell <carlos@redhat.com>
8866 * math/libm-test.inc (cos_test): Use accurate hex constants.
8867 (sincost_test): Likewise.
8869 2013-04-24 Joseph Myers <joseph@codesourcery.com>
8871 * math/libm-test.inc (catan_test): Add more tests.
8872 (catanh_test): Likewise.
8874 * math/s_catanf.c (__catanf): Use suffixed floating-point
8876 * math/s_catanhf.c (__catanhf): Likewise.
8877 * math/s_catanhl.c (__catanhl): Likewise.
8878 * math/s_catanl.c (__catanl): Likewise.
8881 * math/s_catan.c (__catan): Calculate imaginary part of result
8882 with log1p not log unless computing log of number close to 0.
8883 * math/s_catanf.c (__catanf): Likewise.
8884 * math/s_catanl.c (__catanl): Likewise.
8885 * math/s_catanh.c (__catanh): Calculate real part of result with
8886 log1p not log unless computing log of number close to 0.
8887 * math/s_catanhf.c (__catanhf): Likewise.
8888 * math/s_catanhl.c (__catanhl): Likewise.
8889 * math/libm-test.inc (catan_test): Add more tests.
8890 (catanh_test): Likewise.
8891 * sysdeps/i386/fpu/libm-test-ulps: Update.
8892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8894 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8896 * benchtests/Makefile: Mention files in which fast and slow
8897 paths of math functions are implemented.
8899 2013-04-23 Roland McGrath <roland@hack.frob.com>
8901 * sysdeps/posix/timespec_get.c: New file.
8903 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8905 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8907 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8909 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8910 powerpc/power5/fpu folders.
8911 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8912 * benchtests/Makefile: Add modf testcase.
8913 * benchtests/bench-modf.c: New file: Benchmark test for mo
8915 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8918 * time/Makefile (tests): Add tst-strptime-whitespace.
8919 * time/strptime_l.c (get_number): Use ISSPACE.
8920 (__strptime_internal): Likewise.
8921 * time/tst-strptime-whitespace.c: New test case.
8923 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8925 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8927 (_nss_files_init): Set it here.
8929 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8931 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8932 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8935 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8937 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8939 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8944 2013-04-21 David S. Miller <davem@davemloft.net>
8946 * po/ru.po: Update Russion translation from translation project.
8948 2013-04-17 Adam Conrad <adconrad@0c3.net>
8950 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8953 2013-04-17 Carlos O'Donell <carlos@redhat.com>
8955 * configure.in: Remove i386 configure warning. Remove i386 case.
8956 * configure: Regenerate.
8957 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8958 Add example to error message.
8959 * sysdeps/i386/configure: Regenerate.
8961 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8963 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8965 * benchtests/cos-inputs: New file.
8966 * benchtests/slowcos-inputs: New file.
8967 * benchtests/slowcos.c: New file.
8968 * benchtests/slowtan-inputs: New file.
8969 * benchtests/slowtan.c: New file.
8970 * benchtests/tan-inputs: New file.
8972 2013-04-16 Roland McGrath <roland@hack.frob.com>
8974 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8977 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8979 * benchtests/Makefile: Include cppflags-iterator.mk to add
8980 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8982 * Makefile.in (bench-clean): New target.
8983 * benchtests/Makefile (bench-clean): Likewise.
8985 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8987 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8989 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8991 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8993 2013-04-15 Andreas Schwab <schwab@suse.de>
8995 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8997 * nscd/pwdcache.c (cache_addpw): Likewise.
8998 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9001 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9003 * benchtests/Makefile (bench): Write all output to
9004 bench-out.tmp together.
9006 2013-04-15 Andreas Schwab <schwab@suse.de>
9008 * nscd/nscd.c (main): Don't fork again after closing files.
9010 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9012 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9014 * benchtests/Rules (bench-deps): Collect dependencies into a
9015 single variable. Add Makefile to dependencies.
9016 ($(objpfx)bench-%.c): Depend on bench-deps.
9018 2013-04-12 Roland McGrath <roland@hack.frob.com>
9019 Xavier Roche <roche+kml2@exalead.com>
9022 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9023 just that it's a file descriptor.
9024 * manual/llio.texi (Synchronizing AIO Operations): Update description
9025 for EBADF error from aio_fsync.
9027 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9029 * Rules (bench): Move target definition...
9030 * benchtests/Makefile: ... here.
9032 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9034 * math/libm-test.inc (cos_test): Fix PI/2 test.
9035 (sincos_test): Likewise.
9036 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9037 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9039 2013-04-11 Andreas Schwab <schwab@suse.de>
9042 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9043 accept exponent character only when digits were seen.
9044 * stdio-common/Makefile (tests): Add bug26.
9045 * stdio-common/bug26.c: New file.
9048 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9051 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9053 * Makeconfig (rtld-prefix): Define built linker prefix.
9054 * Rules (run-bench): Use it.
9055 * math/Makefile (run-regen-ulps): Likewise.
9057 * Rules (bench): Remove eval.
9059 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9060 Roland McGrath <roland@hack.frob.com>
9061 Ondrej Bilka <neleai@seznam.cz>
9064 * time/getdate.c: Include ctype.h and alloca.h.
9065 (__getdate_r): Trim leading and trailing spaces of input.
9066 * time/tst-getdate.c (tests): Add tests with leading and
9069 2013-04-08 Roland McGrath <roland@hack.frob.com>
9072 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9073 when computing value.
9075 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9077 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9078 Use testrun.sh to run libm tests.
9081 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9083 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9086 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9088 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9090 * Makefile.in (regen-ulps): New target.
9091 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9092 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9093 [ifneq (no,$(PERL)] (regen-ulps): New target.
9094 [ifeq (no,$(PERL)] (regen-ulps): New target.
9095 * math/libm-test.inc (ulps_file_name): Define.
9096 (output_dir): New variable.
9097 (options): Add "output-dir" option.
9098 (parse_opt): Handle 'o' case.
9099 (main): If output_dir is non-NULL use it as a prefix
9101 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9103 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9106 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9107 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9108 fail configure if __sync_val_compare_and_swap is not inlined.
9109 * sysdeps/i386/configure: Regenerate.
9110 * configure.in: Build for i686 when configured for i386.
9111 * configure: Regenerate.
9112 * README: Remove i386 reference.
9114 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9116 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9119 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9121 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9122 (lmsnanval): New variables.
9123 (F): Add conversion tests.
9124 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9125 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9127 * stdio-common/tstdiomisc.c (F): Properly collect individual
9131 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9132 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9133 Instead, use input NaN values or generate a qNaN by arithmetic
9134 operation. Also fix bugs to comply with the standard.
9135 * math/libm-test.inc (remainder_test): Add more tests.
9138 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9140 input NaN values or generate a qNaN by arithmetic operation.
9142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9145 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9148 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9151 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9153 * math/s_cexpf.c (__cexpf): Likewise.
9154 * math/s_cexpl.c (__cexpl): Likewise.
9155 * math/libm-test.inc (cexp_test): Add more tests.
9157 2013-04-03 Andreas Schwab <schwab@suse.de>
9160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9161 order arrays from heap if bigger than alloca cutoff.
9163 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9165 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9166 (SNAN_TESTS_double): Refer to GCC PR56831.
9167 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9170 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9172 * Rules (bench): Move bench.out after the run is complete.
9174 * Rules (bench): Echo currently running benchmark.
9176 * benchtests/Makefile (bench): Add atan and slowatan.
9177 * benchtests/atan-inputs: New file.
9178 * benchtests/slowatan-inputs: New file.
9179 * benchtests/slowatan.c: New file.
9181 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9186 * sysdeps/unix/sysv/linux/kernel-features.h
9187 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9188 __ASSUME_XFS_RESTRICTED_CHOWN.
9189 * sysdeps/unix/sysv/linux/pathconf.c
9190 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9191 Save and restore errno.
9193 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9196 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9197 arguments using __kernel_casinh.
9198 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9199 arguments using __kernel_casinhf.
9200 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9201 arguments using __kernel_casinhl.
9202 * math/libm-test.inc (cacosh_test): Add more tests.
9203 * sysdeps/i386/fpu/libm-test-ulps: Update.
9204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9206 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9208 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9211 * bench/Makefile (bench): Add sin and slowsin.
9212 * benchtests/sin-inputs: New file.
9213 * benchtests/slowsin-inputs: New file.
9214 * benchtests/slowsin.c: New file.
9216 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9217 (bench): Add slowexp and slowpow.
9218 (exp-ITER): Increase iterations.
9219 (pow-ITER): Likewise.
9220 * benchtests/exp-inputs: Change input.
9221 * benchtests/pow-inputs: Likewise.
9222 * benchtests/slowexp-inputs: New file.
9223 * benchtests/slowexp.c: New file.
9224 * benchtests/slowpow-inputs: New file.
9225 * benchtests/slowpow.c: New file.
9227 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9229 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9231 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9232 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9233 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9234 * benchtests/Makefile: Add rint benchtest.
9235 * benchtests/rint-inputs: Input for rint benchtest.
9237 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9239 * Versions.def (libm): Add GLIBC_2.18.
9240 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9241 hidden libm prototypes.
9242 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9243 * math/Makefile (libm-calls): Add s_issignaling.
9244 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9245 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9246 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9248 * math/math.h [__USE_GNU] (issignaling): New macro.
9249 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9250 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9255 * manual/arith.texi (issignaling): New section.
9256 * manual/libm-err-tab.pl (@all_functions): Update comment.
9257 * math/gen-libm-test.pl (parse_args): Apply special handling for
9259 * math/libm-test.inc (print_float, issignaling_test): New
9261 (check_float_internal): Add issignaling checks.
9262 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9264 * sysdeps/powerpc/math-tests.h: New file.
9265 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9267 * math/test-snan.c (TEST_FUNC): Likewise.
9269 2013-03-30 David S. Miller <davem@davemloft.net>
9271 * po/de.po: Update from translation team.
9273 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9276 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9277 imaginary part less than 1.0 and real part less than 0.5
9279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9281 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9282 (cacos_test): Add more tests.
9283 (casin_test): Likewise.
9284 (casinh_test): Likewise.
9285 * sysdeps/i386/fpu/libm-test-ulps: Update.
9286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9288 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9290 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9293 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9294 (__pow_mp): Replace ONE and MONE with their values.
9295 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9297 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9298 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9299 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9302 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9304 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9305 (__pow_mp): Replace ZERO and MZERO with their values.
9306 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9308 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9310 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9311 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9314 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9316 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9318 2013-03-28 Roland McGrath <roland@hack.frob.com>
9320 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9321 Declare with __attribute__ ((weak)).
9322 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9323 Call __call_tls_dtors only if it's not NULL.
9325 2013-03-28 Roland McGrath <roland@hack.frob.com>
9327 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9328 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9329 magic __ehdr_start linker symbol if it's defined.
9330 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9331 them up here if it was already done.
9333 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9334 (_dl_aux_init): Use const in cast when setting it.
9335 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9336 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9337 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9341 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9342 * csu/libc-tls.c: Nor here.
9343 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9345 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9346 (__libc_message): Never call vsyslog.
9348 2013-03-28 Alan Modra <amodra@gmail.com>
9350 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9352 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9355 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9362 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9365 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9366 Don't add gid passed as argument.
9368 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9370 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9373 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9374 imaginary part between 1.0 and 1.5 and real part less than 0.5
9376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9378 * math/libm-test.inc (cacos_test): Add more tests.
9379 (casin_test): Likewise.
9380 (casinh_test): Likewise.
9381 * sysdeps/i386/fpu/libm-test-ulps: Update.
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9384 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9386 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9390 (__dbl_mp): Likewise.
9391 (add_magnitudes): Likewise.
9392 (sub_magnitudes): Likewise.
9400 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9402 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9403 (__dubcos): Likewise.
9404 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9405 (__ieee754_acos): Likewise.
9406 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9407 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9412 (my_log2): Likewise.
9413 (checkint): Likewise.
9414 * sysdeps/ieee754/dbl-64/e_remainder.c
9415 (__ieee754_remainder): Likewise.
9416 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9421 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9423 MANTISSA_STORE_T to store computations on mantissa. Use
9424 macros for rounding and division.
9426 (__dbl_mp): Likewise.
9427 (add_magnitudes): Likewise.
9428 (sub_magnitudes): Likewise.
9431 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9432 powers of two in terms of TWOPOW macro.
9433 (mp_no): Make type of mantissa as MANTISSA_T.
9434 [!RADIXI]: Define RADIXI.
9435 [!TWO52]: Define TWO52.
9436 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9438 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9440 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9441 llroundl symbol when building for PPC32.
9443 2013-03-24 Mark H Weaver <mhw@netris.org>
9445 * manual/arith.texi (Normalization Functions): Fix prototypes for
9446 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9448 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9452 high value to check if expl overflow.
9453 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9454 to check for underflow and overflow.
9455 * math/libm-test.inc: Add exp test.
9457 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9460 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9463 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9465 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9468 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9470 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9471 wrap blocks consisting of several statements.
9473 * sysdeps/generic/math-tests.h: New file.
9474 * sysdeps/i386/fpu/math-tests.h: Likewise.
9475 * math/test-snan.c: Include it.
9476 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9478 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9482 (__ieee754_j0l): Do not improve calculations using cos of twice
9483 input for inputs above LDBL_MAX / 2.0L.
9484 (__ieee754_y0l): Likewise.
9485 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9486 (__ieee754_j1l): Do not improve calculations using cos of twice
9487 input for inputs above LDBL_MAX / 2.0L.
9488 (__ieee754_y1l): Likewise.
9489 * math/libm-test.inc (j0_test): Add another test.
9490 (j1_test): Likewise.
9491 (y0_test): Likewise.
9492 (y1_test): Likewise.
9493 * sysdeps/i386/fpu/libm-test-ulps: Update.
9495 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9497 * Rules ($(objpfx)bench-%.c): Include code from a C source
9500 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9503 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9504 imaginary part 1.0 and real part less than 0.5 specially.
9505 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9506 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9507 * math/libm-test.inc (cacos_test): Add more tests.
9508 (casin_test): Likewise.
9509 (casinh_test): Likewise.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9516 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9518 2013-03-20 Joseph Myers <joseph@codesourcery.com>
9520 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9521 * config.make.in (config-cflags-sse4): Remove variable.
9522 (config-cflags-avx): Likewise.
9523 (config-cflags-sse2avx): Likewise.
9524 (config-cflags-novzeroupper): Likewise.
9525 (config-asflags-i686): Likewise.
9526 (have-mfma4): Likewise.
9527 (have-as-vis3): Likewise.
9529 * configure.in (MIG): Do not AC_SUBST.
9530 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9531 (libc_cv_cc_sse4): Do not AC_SUBST.
9532 (libc_cv_cc_avx): Likewise.
9533 (libc_cv_cc_sse2avx): Likewise.
9534 (libc_cv_cc_novzeroupper): Likewise.
9535 (libc_cv_cc_fma4): Likewise.
9536 (libc_cv_as_i686): Likewise.
9537 (libc_cv_sparc_as_vis3): Likewise.
9538 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9540 (config-asflags-i686): Likewise.
9541 (config-cflags-avx): Likewise.
9542 (config-cflags-sse2avx): Likewise.
9543 (have-mfma4): Likewise.
9544 (config-cflags-novzeroupper): Likewise.
9545 * sysdeps/mach/configure.in (MIG): Likewise.
9546 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9547 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9549 (config-cflags-avx): Likewise.
9550 (config-cflags-sse2avx): Likewise.
9551 (have-mfma4): Likewise.
9552 (config-cflags-novzeroupper): Likewise.
9553 * configure: Regenerated.
9554 * sysdeps/i386/configure: Likewise.
9555 * sysdeps/mach/configure: Likewise.
9556 * sysdeps/sparc/configure: Likewise.
9557 * sysdeps/x86_64/configure: Likewise.
9559 2013-03-20 Roland McGrath <roland@hack.frob.com>
9562 * locale/programs/localedef.c (options): Put N_ translation marker
9563 on argument names, not just descriptions.
9565 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9567 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9569 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
9572 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9574 2013-03-19 Roland McGrath <roland@hack.frob.com>
9576 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9577 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9578 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9579 [!BEFORE_ABORT] (before_abort): New function.
9580 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9581 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9582 (writev_for_fatal): New function.
9583 (WRITEV_FOR_FATAL): New macro; call that.
9584 (backtrace_and_maps): New function.
9585 (BEFORE_ABORT): New macro; call that.
9586 (struct str_list): Type removed.
9587 (__libc_message, __libc_fatal): Functions removed.
9588 Include <sysdeps/posix/libc_fatal.c> instead.
9590 2013-03-19 Joseph Myers <joseph@codesourcery.com>
9592 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9594 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9597 2013-03-19 Andreas Schwab <schwab@suse.de>
9599 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9600 * sysdeps/gnu/configure: Regenerate.
9602 * configure.in: Substitute libc_cv_rtlddir.
9603 * configure: Regenerate.
9604 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9605 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9606 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9607 * elf/Makefile (install-others, CFLAGS-interp.c)
9608 (ldso_install, common-ldd-rewrite): Likewise.
9609 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9610 $(inst_slibdir)/$(rtld-installed-name).
9611 * scripts/rellns-sh: Add -p option.
9612 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9615 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9617 * manual/nptl.texi: Renamed to ...
9618 * manual/threads.texi: ... this.
9619 * manual/Makefile (chapters): Update.
9621 2013-03-18 Roland McGrath <roland@hack.frob.com>
9624 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9625 on argument names, not just descriptions.
9626 * malloc/memusagestat.c (options): Likewise.
9627 * nss/getent.c (options): Likewise.
9629 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9632 * iconv/iconv_prog.c (options): Put N_ translation marker
9633 on argument names, not just descriptions.
9634 * iconv/iconvconfig.c (options): Likewise.
9636 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9638 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9639 implementation which is faster on all x86_64 architectures.
9640 Tested on AMD, Intel Nehalem, SNB, IVB.
9641 * sysdeps/x86_64/strnlen.S: Likewise.
9643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9644 Remove all multiarch strlen and strnlen versions.
9645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9646 Remove strlen and strnlen related parts.
9648 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9650 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9652 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9653 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9654 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9655 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9656 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9657 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9659 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9661 * manual/memory.texi (Malloc Tunable Parameters):
9662 Sort parameters alphabetically. Add comments for missing entries.
9664 2013-03-17 David S. Miller <davem@davemloft.net>
9666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9668 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9671 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9672 for arguments at most half maximum finite value.
9673 * math/libm-test.inc (j0_test): Add more tests.
9674 (j1_test): Likewise.
9675 (y0_test): Likewise.
9676 (y1_test): Likewise.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9681 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9682 1 / x and functions P and Q for arguments above 0x1p256L.
9683 (__ieee754_y0l): Likewise.
9684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9685 (__ieee754_y1l): Likewise.
9686 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9687 (j1_test): Likewise.
9688 (y0_test): Likewise.
9689 (y1_test): Likewise.
9691 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9693 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9696 2013-03-15 Roland McGrath <roland@hack.frob.com>
9698 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9699 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9700 zero since it's initialized to EXEC_PAGESIZE.
9702 * sysdeps/unix/sysv/linux/ldsodefs.h
9703 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9704 * sysdeps/generic/ldsodefs.h: ... here.
9706 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9708 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9710 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9712 * math/test-snan.c: Renamed from
9713 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9714 * math/Makefile (tests): Add test-snan.
9715 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9718 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9719 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9721 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9722 __builtin_nan family of functions.
9723 * math/libm-test.inc (initialize): Initialize qnan_value with
9724 __builtin_nan family of functions.
9725 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9727 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9729 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9730 storage class. Initialize qNaN_var and sNaN_var with
9731 __builtin_nan and __builtin_nans families of functions,
9734 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9735 (sqrt_test): Remove duplicate test with qNaN input.
9736 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9737 (round_test, signbit_test, significand_test): Note missing +/-Inf
9738 as well as qNaN tests.
9740 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9741 qNaN_var. Fix a few strings, too.
9742 * math/libm-test.inc (nan_value): Rename to qnan_value.
9743 * math/gen-libm-test.pl (%beautify): Adjust to that.
9744 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9745 * math/test-misc.c (main): Likewise.
9746 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9747 to __qnan_bytes, and __qnan_union, respectively.
9748 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9750 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9751 and lqnanval, respectively.
9752 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9753 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9754 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9755 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9757 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9758 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9761 * math/test-misc.c (main): Fix copy'n'pastos.
9762 * misc/tst-efgcvt.c (special): Likewise.
9764 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9765 Remove declarations.
9767 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9769 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9770 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9771 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9774 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9776 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9777 macro to return vdso values correctly in IFUNC implementations.
9778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9779 Optimization by using IFUNC.
9781 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9782 Richard Henderson <rth@redhat.com>
9783 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9785 * Makefile.in (bench): New target.
9786 * NEWS: Mention the benchmark framework.
9787 * Rules (bench): Likewise.
9788 (binaries-bench): Generate binaries for functions to
9790 * benchtests/Makefile: New makefile for benchmark tests.
9791 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9793 * benchtests/exp-inputs: New input file for EXP function.
9794 * benchtests/pow-inputs: New input file for POW function.
9795 * scripts/bench.pl: New script to generate source files for
9798 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9800 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9801 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9802 computations on mantissa. Use macros for rounding and
9805 (__dbl_mp): Likewise.
9806 (add_magnitudes): Likewise.
9807 (sub_magnitudes): Likewise.
9810 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9811 powers of two in terms of TWOPOW macro.
9812 (mp_no): Make type of mantissa as MANTISSA_T.
9813 [!RADIXI]: Define RADIXI.
9814 [!TWO52]: Define TWO52.
9815 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9817 * manual/nptl.texi (cindex): Modify threads to pthreads.
9819 2013-03-15 Joseph Myers <joseph@codesourcery.com>
9821 * sysdeps/x86_64/preconfigure: Regenerated.
9823 2013-03-14 Joseph Myers <joseph@codesourcery.com>
9826 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9828 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9829 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9831 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9832 * math/libm-test.inc (j0_test): Do not allow one spurious
9833 underflow exception.
9834 (y1_test): Likewise.
9836 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9838 * manual/Makefile (chapters): Add nptl.
9839 * manual/debug.texi (Debugging Support): Add link to Threads
9841 * manual/nptl.texi: New file.
9843 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9845 2013-03-14 Petr Baudis <pasky@ucw.cz>
9847 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9848 for non-NULL pointer before the memory validity test. Pointed
9849 out by Holger Brunck <holger.brunck@keymile.com>.
9851 2013-03-13 Andreas Schwab <schwab@suse.de>
9853 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9856 2013-03-13 Joseph Myers <joseph@codesourcery.com>
9858 * timezone/zic.c: Update from tzcode 2013b.
9860 2013-03-12 Carlos O'Donell <carlos@redhat.com>
9862 * manual/install.texi (Configuring and compiling):
9863 Mention i686 and i586.
9864 * INSTALL: Regenerate.
9866 2013-03-12 Roland McGrath <roland@hack.frob.com>
9868 * sysdeps/init_array/elf-init.c: New file.
9870 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9871 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9873 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9874 __gmon_start__ as global, but as static with a .preinit_array pointer.
9875 * sysdeps/init_array/gmon-start.c: New file. Use that.
9876 * sysdeps/init_array/crti.S: New file, empty except for comments.
9877 * sysdeps/init_array/crtn.S: Likewise.
9879 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
9881 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9884 Remove Prefer_SSE_for_memop.
9885 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9886 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9887 HAS_PREFER_SSE_FOR_MEMOP.
9888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9891 Remove bzero, memset ifunc support.
9892 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9893 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9894 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9895 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9897 2013-03-11 Andreas Schwab <schwab@suse.de>
9900 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9903 (GLIBC_2.16): Remove pthread_atfork.
9905 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9907 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9908 (ptestcases.h): Likewise.
9910 2013-03-08 Roland McGrath <roland@hack.frob.com>
9912 * Makeconfig ($(common-objpfx)config.status): Depend on
9913 sysdeps/*/preconfigure{,.in} too.
9915 2013-03-08 Joseph Myers <joseph@codesourcery.com>
9917 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9918 (__free_hook): Use void * instead of __malloc_ptr_t.
9919 (__malloc_hook): Likewise.
9920 (__realloc_hook): Likewise.
9921 (__memalign_hook): Likewise.
9922 (__after_morecore_hook): Likewise.
9923 * malloc/arena.c (save_malloc_hook): Likewise.
9924 (save_free_hook): Likewise.
9925 * malloc/hooks.c (malloc_hook_ini): Likewise.
9926 (realloc_hook_ini): Likewise.
9927 (memalign_hook_ini): Likewise.
9928 * malloc/malloc.c (malloc_hook_ini): Likewise.
9929 (realloc_hook_ini): Likewise.
9930 (memalign_hook_ini): Likewise.
9931 (__free_hook): Likewise.
9932 (__malloc_hook): Likewise.
9933 (__realloc_hook): Likewise.
9934 (__memalign_hook): Likewise.
9935 (__libc_malloc): Likewise.
9936 (__libc_free): Likewise.
9937 (__libc_realloc): Likewise.
9938 (__libc_memalign): Likewise.
9939 (__libc_valloc): Likewise.
9940 (__libc_pvalloc): Likewise.
9941 (__libc_calloc): Likewise.
9942 (__posix_memalign): Likewise.
9943 * malloc/morecore.c (__sbrk): Likewise.
9944 (__default_morecore): Likewise.
9946 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9948 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9949 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9952 * malloc/malloc.h (__malloc_size_t): Remove macro.
9953 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9955 (old_memalign_hook): Likewise.
9956 (old_realloc_hook): Likewise.
9957 (struct hdr): Likewise.
9959 (mallochook): Likewise.
9960 (memalignhook): Likewise.
9961 (reallochook): Likewise.
9962 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9963 (tr_old_realloc_hook): Likewise.
9964 (tr_old_memalign_hook): Likewise.
9965 (tr_mallochook): Likewise.
9966 (tr_reallochook): Likewise.
9967 (tr_memalignhook): Likewise.
9969 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9972 default_ldbl_pack and using as default implementation.
9973 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9975 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9976 redundant definition.
9977 (ldbl_insert_mantissa): Likewise.
9978 (ldbl_canonicalize): Likewise.
9979 (ldbl_nearbyint): Likewise.
9980 (ldbl_pack): Rename to ldbl_pack_ppc.
9981 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9982 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9983 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9985 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9988 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9989 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9990 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9992 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9993 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9994 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9996 2013-03-07 Andreas Jaeger <aj@suse.de>
9998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10001 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10003 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10004 Include mpa.h and declare __MPEXP.
10005 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10006 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10007 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10008 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10009 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10011 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10013 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10014 (__slowpow): Use long double EXPL and LOGL functions to
10016 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10017 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10018 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10019 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10024 intermediate variable to calculate exponent.
10026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10030 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10031 [!NO__SQR]: Define __sqr.
10032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10033 and NO__SQR. Remove all code except __mul and __sqr. Include
10034 sysdeps/ieee754/dbl-64/mpa.c.
10035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10038 * posix/Makefile (tests): Add tst-pathconf.
10039 * posix/tst-pathconf.c: New test case.
10040 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10042 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10044 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10046 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10048 2013-03-06 Andreas Jaeger <aj@suse.de>
10050 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10051 definition via __MAP_ANONYMOUS.
10053 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10054 it's not part of Linux headers.
10056 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10057 (MAP_HUGE_MASK): Define.
10059 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10062 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10065 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10068 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10072 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10073 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10074 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10075 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10076 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10077 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10083 Handle f2fs and efivarfs.
10085 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10088 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10089 (EFIVARFS_MAGIC): Add.
10090 (F2FS_LINK_MAX): Add.
10092 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10094 * stdio-common/vfprintf.c: Replace __builtin_expect with
10097 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10100 * sysdeps/generic/bp-sym.h: Remove file.
10101 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10102 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10103 <bp-sym.h> and <bp-asm.h>.
10104 (__longjmp): Don't use BP_SYM.
10105 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10107 (memcpy): Don't use BP_SYM.
10108 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10109 <bp-sym.h> and <bp-asm.h>.
10110 (memcpy): Don't use BP_SYM.
10111 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10113 (memcpy): Don't use BP_SYM.
10114 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10116 (memset): Don't use BP_SYM.
10117 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10118 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10119 (__bzero): Don't use BP_SYM.
10120 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10121 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10123 <bp-sym.h> and <bp-asm.h>.
10124 (memcmp): Don't use BP_SYM. Remove comment about bounded
10126 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10127 <bp-sym.h> and <bp-asm.h>.
10128 (memcpy): Don't use BP_SYM.
10129 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10130 <bp-sym.h> and <bp-asm.h>.
10131 (memset): Don't use BP_SYM.
10132 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10133 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10134 (__bzero): Don't use BP_SYM.
10135 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10136 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10138 <bp-sym.h> and <bp-asm.h>.
10139 (strncmp): Don't use BP_SYM. Remove comment about bounded
10141 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10142 <bp-sym.h> and <bp-asm.h>.
10143 (memcpy): Don't use BP_SYM.
10144 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10145 <bp-sym.h> and <bp-asm.h>.
10146 (memset): Don't use BP_SYM.
10147 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10148 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10149 (__bzero): Don't use BP_SYM.
10150 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10151 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10152 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10153 <bp-sym.h> and <bp-asm.h>.
10154 (__memchr): Don't use BP_SYM.
10155 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10156 <bp-sym.h> and <bp-asm.h>.
10157 (memcmp): Don't use BP_SYM. Remove comment about bounded
10159 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10160 <bp-sym.h> and <bp-asm.h>.
10161 (memcpy): Don't use BP_SYM.
10162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10163 <bp-sym.h> and <bp-asm.h>.
10164 (__mempcpy): Don't use BP_SYM.
10165 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10166 <bp-sym.h> and <bp-asm.h>.
10167 (__memrchr): Don't use BP_SYM.
10168 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10169 <bp-sym.h> and <bp-asm.h>.
10170 (memset): Don't use BP_SYM.
10171 (__bzero): Likewise.
10172 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10173 <bp-sym.h> and <bp-asm.h>.
10174 (__rawmemchr): Don't use BP_SYM.
10175 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10176 <bp-sym.h> and <bp-asm.h>.
10177 (__STRCMP): Don't use BP_SYM.
10178 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10179 <bp-sym.h> and <bp-asm.h>.
10180 (strchr): Don't use BP_SYM.
10181 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10182 <bp-sym.h> and <bp-asm.h>.
10183 (__strchrnul): Don't use BP_SYM.
10184 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10185 <bp-sym.h> and <bp-asm.h>.
10186 (strlen): Don't use BP_SYM.
10187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10188 <bp-sym.h> and <bp-asm.h>.
10189 (strncmp): Don't use BP_SYM. Remove comment about bounded
10191 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10192 <bp-sym.h> and <bp-asm.h>.
10193 (__strnlen): Don't use BP_SYM.
10194 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10195 <bp-sym.h> and <bp-asm.h>.
10196 (__GI__setjmp): Don't use BP_SYM.
10197 (_setjmp): Likewise.
10198 (__sigsetjmp): Likewise.
10199 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10200 (L(start_addresses)): Don't use BP_SYM.
10201 (_start): Likewise.
10202 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10204 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10205 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10206 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10207 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10208 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10210 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10211 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10212 about bounded pointers.
10213 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10214 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10215 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10217 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10218 about bounded pointers. Remove GKM FIXME comments.
10219 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10220 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10222 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10223 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10224 Remove GKM FIXME comments.
10225 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10226 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10227 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10229 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10230 about bounded pointers. Remove GKM FIXME comment.
10231 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10233 (strncmp): Don't use BP_SYM. Remove comment about bounded
10235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10236 <bp-sym.h> and <bp-asm.h>.
10237 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10239 <bp-sym.h> and <bp-asm.h>.
10240 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10243 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10245 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10248 2013-03-05 David S. Miller <davem@davemloft.net>
10250 * po/es.po: Update from translation team.
10252 2013-03-05 Andreas Jaeger <aj@suse.de>
10254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10255 <bits/mman-linux.h>.
10256 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10259 <bits/mman-linux.h> to end of file.
10260 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10262 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10263 <bits/mman-linux.h> to end of file.
10264 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10267 <bits/mman-linux.h> to end of file.
10269 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10270 (MCL_CURRENT, MCL_FUTURE): Define here.
10272 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10275 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10279 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10281 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10282 fourth parameter needed for rt_sigprocmask syscall.
10283 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10284 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10285 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10286 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10287 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10288 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10290 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10293 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10294 comment about bounded pointers.
10295 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10296 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10298 2013-03-04 Andreas Jaeger <aj@suse.de>
10300 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10301 common definitions.
10303 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10304 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10305 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10307 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10310 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10314 __ieee754_sqrl instead of __sqrl.
10316 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10318 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10319 * sysdeps/powerpc/fpu_control.h: ... here.
10320 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10321 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10322 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10323 * sysdeps/powerpc/bits/mathinline.h: ... here.
10325 2013-03-01 Roland McGrath <roland@hack.frob.com>
10327 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10328 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10329 to just [NEED_DL_SYSINFO_DSO].
10330 * elf/dl-support.c: Likewise.
10331 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10332 * elf/rtld.c (dl_main): Likewise.
10333 * elf/setup-vdso.h (setup_vdso): Likewise.
10334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10335 * sysdeps/unix/sysv/linux/dl-sysdep.c
10336 (_dl_discover_osversion): Likewise.
10338 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10340 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10341 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10343 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10345 * NEWS: Mention libm performance improvements and non-x86 PI
10348 * csu/libc-start.c (__pthread_initialize_minimal): Change
10349 function arguments.
10350 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10352 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10355 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10356 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10357 <bp-sym.h> and <bp-asm.h>.
10358 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10361 (memcpy): Don't use BP_SYM.
10362 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10364 (__mpn_add_n): Don't use BP_SYM.
10365 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10366 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10368 (__mpn_addmul_1): Don't use BP_SYM.
10369 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10370 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10372 (_setjmp): Don't use BP_SYM.
10373 (__novmx_setjmp): Likewise.
10374 (__GI__setjmp): Likewise.
10375 (__vmx_setjmp): Likewise.
10376 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10378 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10379 (__bzero): Don't use BP_SYM.
10380 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10381 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10382 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10383 <bp-sym.h> and <bp-asm.h>.
10384 (memcpy): Don't use BP_SYM.
10385 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10386 <bp-sym.h> and <bp-asm.h>.
10387 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10388 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10389 <bp-sym.h> and <bp-asm.h>.
10390 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10391 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10393 (__mpn_lshift): Don't use BP_SYM.
10394 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10395 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10397 (memset): Don't use BP_SYM.
10398 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10399 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10400 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10402 (__mpn_mul_1): Don't use BP_SYM.
10403 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10405 <bp-sym.h> and <bp-asm.h>.
10406 (memcmp): Don't use BP_SYM.
10407 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10408 <bp-sym.h> and <bp-asm.h>.
10409 (memcpy): Don't use BP_SYM.
10410 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10411 <bp-sym.h> and <bp-asm.h>.
10412 (memset): Don't use BP_SYM.
10413 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10414 <bp-sym.h> and <bp-asm.h>.
10415 (strncmp): Don't use BP_SYM.
10416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10417 <bp-sym.h> and <bp-asm.h>.
10418 (memcpy): Don't use BP_SYM.
10419 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10420 <bp-sym.h> and <bp-asm.h>.
10421 (memset): Don't use BP_SYM.
10422 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10423 <bp-sym.h> and <bp-asm.h>.
10424 (__memchr): Don't use BP_SYM.
10425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10426 <bp-sym.h> and <bp-asm.h>.
10427 (memcmp): Don't use BP_SYM.
10428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10429 <bp-sym.h> and <bp-asm.h>.
10430 (memcpy): Don't use BP_SYM.
10431 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10432 <bp-sym.h> and <bp-asm.h>.
10433 (__mempcpy): Don't use BP_SYM.
10434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10435 <bp-sym.h> and <bp-asm.h>.
10436 (__memrchr): Don't use BP_SYM.
10437 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10438 <bp-sym.h> and <bp-asm.h>.
10439 (memset): Don't use BP_SYM.
10440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10441 <bp-sym.h> and <bp-asm.h>.
10442 (__rawmemchr): Don't use BP_SYM.
10443 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10444 <bp-sym.h> and <bp-asm.h>.
10445 (__STRCMP): Don't use BP_SYM.
10446 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10447 <bp-sym.h> and <bp-asm.h>.
10448 (strchr): Don't use BP_SYM.
10449 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10450 <bp-sym.h> and <bp-asm.h>.
10451 (__strchrnul): Don't use BP_SYM.
10452 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10453 <bp-sym.h> and <bp-asm.h>.
10454 (strlen): Don't use BP_SYM.
10455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10456 <bp-sym.h> and <bp-asm.h>.
10457 (strncmp): Don't use BP_SYM.
10458 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10459 <bp-sym.h> and <bp-asm.h>.
10460 (__strnlen): Don't use BP_SYM.
10461 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10463 (__mpn_rshift): Don't use BP_SYM.
10464 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10465 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10466 <bp-sym.h> and <bp-asm.h>.
10467 (__sigsetjmp): Don't use BP_SYM.
10468 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10469 (L(start_addresses)): Don't use BP_SYM.
10470 (_start): Likewise.
10471 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10473 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10474 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10475 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10476 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10478 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10479 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10480 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10481 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10483 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10485 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10486 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10488 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10490 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10491 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10492 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10494 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10496 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10498 (strncmp): Don't use BP_SYM,
10499 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10501 (__mpn_sub_n): Don't use BP_SYM.
10502 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10503 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10505 (__mpn_submul_1): Don't use BP_SYM.
10506 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10508 <bp-sym.h> and <bp-asm.h>.
10509 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10511 <bp-sym.h> and <bp-asm.h>.
10512 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10515 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10518 Use ZK to minimize writes to Z.
10519 (sub_magnitudes): Simplify code a bit.
10520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10521 Use ZK to minimize writes to Z.
10522 (sub_magnitudes): Simplify code a bit.
10524 2013-02-27 Roland McGrath <roland@hack.frob.com>
10526 * csu/gmon-start.c: Add special exception to license text.
10528 2013-02-27 Richard Henderson <rth@redhat.com>
10530 * scripts/config.guess: Update from config.git.
10531 * scripts/config.sub: Likewise.
10533 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10535 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10537 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10539 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10541 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10543 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10545 2013-02-26 Roland McGrath <roland@hack.frob.com>
10547 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10548 [$(build-shared = yes].
10550 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10552 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10553 (__mul): Reduce iterations for calculating mantissa.
10555 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10557 (__mpranred): Likewise.
10560 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10561 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10563 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10565 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10566 Define __attribute__.
10568 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10570 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10572 * posix/regex_internal.h (__attribute): Remove.
10573 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10574 (re_string_context_at): Likewise.
10575 (bitset_not): Use __attribute__ and mark function as possibly
10577 (bitset_merge): Likewise.
10578 (bitset_mask): Likewise.
10579 (re_string_char_size_at): Likewise.
10580 (re_string_wchar_at): Likewise.
10581 (re_string_elem_size_at): Likewise.
10583 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10585 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10589 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10593 (denorm): Likewise.
10594 (__dbl_mp): Likewise.
10595 (add_magnitudes): Likewise.
10596 (sub_magnitudes): Likewise.
10600 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10603 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10606 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10610 up changes with default code.
10611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10614 2013-02-24 Allan McRae <allan@archlinux.org>
10616 * manual/socket.texi (The Internet Namespace): Order menu items
10617 to match that in the file.
10619 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10620 node listing of the info page menu.
10622 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10625 * sysdeps/i386/bp-asm.h: Remove file.
10626 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10627 (PARMS): Do not use macros from bp-asm.h.
10631 (__mpn_add_n): Do not use BP_SYM
10632 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10634 (PARMS): Do not use macros from bp-asm.h.
10637 (__mpn_addmul_1): Do not use BP_SYM
10638 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10640 (PARMS): Do not use macros from bp-asm.h.
10641 (SIGMSK): Likewise.
10642 (_setjmp): Likewise. Do not use BP_SYM.
10643 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10645 (PARMS): Do not use macros from bp-asm.h.
10646 (SIGMSK): Likewise.
10647 (setjmp): Likewise. Do not use BP_SYM.
10648 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10650 (PARMS): Do not use macros from bp-asm.h.
10651 (__frexp): Do not use BP_SYM.
10653 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10655 (PARMS): Do not use macros from bp-asm.h.
10656 (__frexpf): Do not use BP_SYM.
10657 (frexpf): Likewise.
10658 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10660 (PARMS): Do not use macros from bp-asm.h.
10661 (__frexpl): Do not use BP_SYM.
10662 (frexpl): Likewise.
10663 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10665 (PARMS): Do not use macros from bp-asm.h.
10666 (__remquo): Do not use BP_SYM.
10667 (remquo): Likewise.
10668 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10670 (PARMS): Do not use macros from bp-asm.h.
10671 (__remquof): Do not use BP_SYM.
10672 (remquof): Likewise.
10673 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10675 (PARMS): Do not use macros from bp-asm.h.
10676 (__remquol): Do not use BP_SYM.
10677 (remquol): Likewise.
10678 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10680 (PARMS): Do not use macros from bp-asm.h.
10683 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10684 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10686 (PARMS): Do not use macros from bp-asm.h.
10687 (strlen): Do not use BP_SYM.
10688 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10690 (PARMS): Do not use macros from bp-asm.h.
10694 (__mpn_add_n): Do not use BP_SYM.
10695 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10697 (PARMS): Do not use macros from bp-asm.h.
10700 (__mpn_addmul_1): Do not use BP_SYM.
10701 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10704 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10706 (PARMS): Do not use macros from bp-asm.h.
10709 (__mpn_lshift): Do not use BP_SYM.
10710 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10712 (PARMS): Do not use macros from bp-asm.h.
10716 (memcpy): Likewise. Do not use BP_SYM.
10717 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10718 libc_hidden_def and weak_alias.
10719 (mempcpy): Do not use BP_SYM in weak_alias.
10720 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10722 (PARMS): Do not use macros from bp-asm.h.
10725 [!BZERO_P] (CHR): Likewise.
10726 (memset): Likewise. Do not use BP_SYM.
10727 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10729 (PARMS): Do not use macros from bp-asm.h.
10732 (__mpn_mul_1): Do not use BP_SYM.
10733 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10735 (PARMS): Do not use macros from bp-asm.h.
10738 (__mpn_rshift): Do not use BP_SYM.
10739 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10741 (PARMS): Do not use macros from bp-asm.h.
10744 (strchr): Likewise. Do not use BP_SYM.
10745 (index): Do not use BP_SYM in weak_alias.
10746 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10748 (PARMS): Do not use macros from bp-asm.h.
10751 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10752 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10754 (PARMS): Do not use macros from bp-asm.h.
10755 (strlen): Do not use BP_SYM.
10756 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10758 (PARMS): Do not use macros from bp-asm.h.
10762 (__mpn_sub_n): Do not use BP_SYM.
10763 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10765 (PARMS): Do not use macros from bp-asm.h.
10768 (__mpn_submul_1): Do not use BP_SYM.
10769 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10771 (PARMS): Do not use macros from bp-asm.h.
10775 (__mpn_add_n): Do not use BP_SYM.
10776 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10779 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10781 (PARMS): Do not use macros from bp-asm.h.
10784 (memcmp): Do not use BP_SYM.
10785 (bcmp): Do not use BP_SYM in weak_alias.
10786 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10788 (PARMS): Do not use macros from bp-asm.h.
10792 (memcpy): Likewise. Do not use BP_SYM.
10793 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10795 (PARMS): Do not use macros from bp-asm.h.
10799 (memmove): Likewise. Do not use BP_SYM.
10800 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10802 (PARMS): Do not use macros from bp-asm.h.
10806 (__mempcpy): Likewise. Do not use BP_SYM.
10807 (mempcpy): Do not use BP_SYM in weak_alias.
10808 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10810 (PARMS): Do not use macros from bp-asm.h.
10813 [!BZERO_P] (CHR): Likewise.
10814 (memset): Likewise. Do not use BP_SYM.
10815 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10817 (PARMS): Do not use macros from bp-asm.h.
10819 (strcmp): Do not use BP_SYM.
10820 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10822 (PARMS): Do not use macros from bp-asm.h.
10825 [USE_AS_STRTOK_R] (SAVE): Likewise.
10826 (FUNCTION): Likewise. Do not use BP_SYM.
10827 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10829 (strtok_r): Likewise.
10830 (__GI___strtok_r): Likewise.
10831 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10832 (PARMS): Do not use macros from bp-asm.h.
10835 (__mpn_lshift): Do not use BP_SYM.
10836 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10837 (PARMS): Do not use macros from bp-asm.h.
10840 (__memchr): Do not use BP_SYM.
10841 (memchr): Do not use BP_SYM in weak_alias.
10842 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10843 (PARMS): Do not use macros from bp-asm.h.
10846 (memcmp): Do not use BP_SYM.
10847 (bcmp): Do not use BP_SYM in weak_alias.
10848 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10849 (PARMS): Do not use macros from bp-asm.h.
10852 (__mpn_mul_1): Do not use BP_SYM.
10853 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10855 (PARMS): Do not use macros from bp-asm.h.
10858 (__rawmemchr): Do not use BP_SYM.
10859 (rawmemchr): Do not use BP_SYM in weak_alias.
10860 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10861 (PARMS): Do not use macros from bp-asm.h.
10864 (__mpn_rshift): Do not use BP_SYM.
10865 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10866 (PARMS): Do not use macros from bp-asm.h.
10867 (SIGMSK): Likewise.
10868 (__sigsetjmp): Likewise. Do not use BP_SYM.
10869 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10870 (_start): Do not use BP_SYM.
10871 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10872 (PARMS): Do not use macros from bp-asm.h.
10875 (__stpcpy): Likewise. Do not use BP_SYM.
10876 (stpcpy): Do not use BP_SYM in weak_alias.
10877 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10879 (PARMS): Do not use macros from bp-asm.h.
10883 (__stpncpy): Likewise. Do not use BP_SYM.
10884 (stpncpy): Do not use BP_SYM in weak_alias.
10885 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10886 (PARMS): Do not use macros from bp-asm.h.
10889 (strchr): Likewise. Do not use BP_SYM.
10890 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10892 (PARMS): Do not use macros from bp-asm.h.
10895 (__strchrnul): Likewise. Do not use BP_SYM.
10896 (strchrnul): Do not use BP_SYM in weak_alias.
10897 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10899 (PARMS): Do not use macros from bp-asm.h.
10901 (strcspn): Do not use BP_SYM.
10902 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10904 (PARMS): Do not use macros from bp-asm.h.
10907 (strpbrk): Likewise. Do not use BP_SYM.
10908 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10910 (PARMS): Do not use macros from bp-asm.h.
10913 (strrchr): Likewise. Do not use BP_SYM.
10914 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10915 (PARMS): Do not use macros from bp-asm.h.
10917 (strspn): Do not use BP_SYM.
10918 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10919 (PARMS): Do not use macros from bp-asm.h.
10923 (FUNCTION): Likewise. Do not use BP_SYM.
10924 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10926 (strtok_r): Likewise.
10927 (__GI___strtok_r): Likewise.
10928 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10929 (PARMS): Do not use macros from bp-asm.h.
10933 (__mpn_sub_n): Do not use BP_SYM.
10934 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10936 (PARMS): Do not use macros from bp-asm.h.
10939 (__mpn_submul_1): Do not use BP_SYM.
10940 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10942 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10944 (PARMS): Do not use macros from bp-asm.h.
10949 (__clone): Do not use BP_SYM.
10950 (clone): Do not use BP_SYM in weak_alias.
10951 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10953 (PARMS): Do not use macros from bp-asm.h.
10955 (__mmap64): Do not use BP_SYM.
10956 (mmap64): Do not use BP_SYM in weak_alias.
10957 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10958 <bp-sym.h> and <bp-asm.h>.
10959 (PARMS): Do not use macros from bp-asm.h.
10960 (__posix_fadvise64_l64): Do not use BP_SYM.
10961 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10962 (PARMS): Do not use macros from bp-asm.h.
10964 (semtimedop): Do not use BP_SYM.
10965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10968 2013-02-21 Allan McRae <allan@archlinux.org>
10970 * manual/message.texi (Charset conversion in gettext):
10971 Move @end statement to beginning of line.
10973 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10980 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10981 (denorm): Likewise.
10982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10985 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10987 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10988 tail-call to the resolved function if pltexit isn't needed.
10990 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10993 or Y being zero as being unlikely.
10994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10997 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10999 * manual/nss.texi (System Databases and Name Service Switch):
11000 Remove frobnicate @pxref.
11002 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11004 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11005 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11007 2013-02-20 Petr Machata <pmachata@redhat.com>
11009 * elf/elf.h (R_ARM_TARGET1): New macro.
11010 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11011 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11012 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11013 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11014 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11015 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11016 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11017 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11018 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11019 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11020 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11021 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11022 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11023 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11024 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11025 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11026 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11027 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11028 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11029 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11030 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11031 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11032 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11033 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11034 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11035 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11036 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11037 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11038 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11039 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11040 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11041 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11042 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11043 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11044 (R_ARM_THM_GOT_BREL12): Likewise.
11045 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11046 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11047 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11048 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11049 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11050 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11051 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11052 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11053 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11055 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11057 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11058 __attribute_used__ to __attribute__ ((unused)).
11060 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11062 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11065 comment formatting.
11066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11068 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11071 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11073 (ENTER): Remove both macro definitions.
11075 (CHECK_BOUNDS_LOW): Likewise.
11076 (CHECK_BOUNDS_HIGH): Likewise.
11077 (CHECK_BOUNDS_BOTH): Likewise.
11078 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11079 (RETURN_BOUNDED_POINTER): Likewise.
11080 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11081 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11082 (POP_ERRNO_LOCATION_RETURN): Likewise.
11083 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11084 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11085 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11087 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11088 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11089 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11090 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11091 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11092 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11093 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11094 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11095 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11096 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11097 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11098 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11099 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11100 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11102 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11103 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11105 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11106 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11107 * sysdeps/i386/i586/memset.S (memset): Likewise.
11108 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11109 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11110 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11112 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11113 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11114 Change uses of L(2) to L(out).
11115 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11116 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11117 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11118 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11119 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11121 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11122 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11124 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11125 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11126 (RETURN): Do not use macro LEAVE.
11127 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11128 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11129 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11130 * sysdeps/i386/i686/memset.S (memset): Likewise.
11131 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11132 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11133 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11134 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11136 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11137 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11138 L(1_2) and L(1_3) into L(1).
11139 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11140 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11141 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11142 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11143 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11144 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11145 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11146 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11147 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11149 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11150 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11151 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11152 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11153 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11154 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11155 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11156 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11157 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11158 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11159 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11160 * sysdeps/i386/strspn.S (strspn): Likewise.
11161 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11163 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11164 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11165 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11166 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11167 L(1_3) into L(1_1).
11168 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11169 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11170 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11172 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11174 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11176 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11179 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11181 * math/atest-exp.c (exp_mpn): Remove ROUND.
11182 * math/atest-exp2.c (exp_mpn): Likewise.
11183 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11185 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11186 * stdlib/tst-tls-atexit-lib.c: Likewise.
11187 * stdlib/tst-tls-atexit.c: Likewise.
11189 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11191 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11192 and __attribute_alloc_size__.
11194 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11196 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11197 __attribute_alloc_size__.
11198 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11199 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11201 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11203 * include/programs/xmalloc.h: New file.
11204 * catgets/gencat.c: Include it.
11205 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11206 * elf/pldd.c: Likewise.
11207 * iconv/iconv_charmap.c: Likewise.
11208 * iconv/iconvconfig.c: Likewise.
11209 * iconv/strtab.c: Likewise.
11210 * locale/programs/locale.c: Likewise.
11211 * locale/programs/localedef.h: Likewise.
11212 * locale/programs/simple-hash.c: Likewise.
11213 * nscd/nscd.h: Likewise.
11214 * nss/makedb.c: Likewise.
11215 * sysdeps/generic/ldconfig.h: Likewise.
11217 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11219 * Versions.def: Add GLIBC_2.18.
11220 * include/link.h (struct link_map): New member l_tls_dtor_count.
11221 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11222 (__call_tls_dtors): Likewise.
11223 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11224 __cxa_thread_atexit_impl.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11241 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11242 (tests): Add test case tst-tls-atexit.
11243 (modules-names): Add shared library for tst-tls-atexit.
11244 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11245 (GLIBC_PRIVATE): Add __call_tls_dtors.
11246 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11248 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11249 * stdlib/tst-tls-atexit.c: New test case.
11250 * stdlib/tst-tls-atexit-lib.c: New test case.
11252 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11254 * elf/Versions (ld): Add _dl_find_dso_for_object.
11255 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11256 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11257 (dl_open_worker): Use _dl_find_dso_for_object.
11258 * elf/dl-sym.c (do_sym): Likewise.
11259 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11261 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11263 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11264 Syntactic changes only.
11265 (_dl_runtime_profile): Do a tail-call to the resolved function.
11267 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11270 * sysdeps/x86_64/bp-asm.h: Remove file.
11271 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11272 <bp-sym.h> and <bp-asm.h>.
11273 (__clone): Do not use BP_SYM.
11274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11275 <bp-sym.h> and <bp-asm.h>.
11276 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11277 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11279 (_setjmp): Do not use BP_SYM.
11280 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11282 (setjmp): Do not use BP_SYM.
11283 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11285 (mempcpy): Do not use BP_SYM in weak_alias.
11286 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11288 (strchr): Do not use BP_SYM.
11289 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11291 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11292 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11293 (_start): Do not use BP_SYM.
11294 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11296 (strcat): Do not use BP_SYM.
11297 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11299 (STRCMP): Do not use BP_SYM.
11300 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11302 (STRCPY): Do not use BP_SYM.
11303 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11305 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11307 (FUNCTION): Do not use BP_SYM.
11308 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11310 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11312 2013-02-17 Andreas Jaeger <aj@suse.de>
11314 * time/Versions: Sort entries.
11315 * string/Versions: Likewise.
11316 * resolv/Versions: Likewise.
11317 * posix/Versions: Likewise.
11318 * iconv/Versions: Likewise.
11319 * elf/Versions: Likewise.
11320 * wcsmbs/Versions: Likewise.
11322 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11324 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11325 loop termination condition.
11327 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11328 variable to calculate EZ.
11331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11332 the lower precision input.
11334 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11337 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11338 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11339 (run-via-rtld-prefix): Do not handle %-bp tests.
11340 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11341 (all-object-suffixes): Remove .ob.
11342 (bppfx): Remove variable.
11343 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11344 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11345 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11346 [$(build-bounded) = yes] (libtype.ob): Likewise.
11347 * Makerules (elide-routines.ob): Remove variable.
11348 (do-tests-clean): Do not handle *-bp.out.
11349 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11350 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11351 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11352 (tests): Do not include $(tests-bp.out).
11353 (xtests): Do not include $(xtests-bp.out).
11354 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11355 [$(build-bounded) = yes] ($(addprefix
11356 $(objpfx),$(binaries-bounded))): Remove rule.
11357 ($(objpfx)%-bp.out): Remove rule.
11358 * config.make.in (build-bounded): Remove variable.
11359 * crypt/Makefile [$(build-bounded) = yes]
11360 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11361 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11362 append to variable.
11363 [$(build-bounded) = yes] (install-lib): Likewise.
11364 [$(build-bounded) = yes] (generated): Likewise.
11365 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11367 * intl/Makefile [$(build-bounded) = yes]
11368 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11369 * math/Makefile [$(build-bounded) = yes]
11370 ($(tests:%=$(objpfx)%-bp): Likewise.
11371 * misc/Makefile [$(build-bounded) = yes]
11372 ($(objpfx)tst-tsearch-bp): Likewise.
11373 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11374 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11376 * string/Makefile (o-objects.ob): Remove variable.
11377 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11378 (CFLAGS-.ob): Remove variable.
11379 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11380 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11381 both definitions of variable.
11382 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11383 (ASFLAGS-.ob): Remove variable.
11385 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11388 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11389 Remove __BOUNDED_POINTERS__ from condition.
11390 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11391 * string/bits/string2.h [!__NO_STRING_INLINES &&
11392 !__BOUNDED_POINTERS__]: Likewise.
11393 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11395 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11396 Remove conditional code.
11397 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11398 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11399 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11403 * csu/libc-start.c: Do not include <bp-sym.h>.
11404 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11405 * elf/dl-open.c: Do not include <bp-sym.h>.
11406 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11407 * math/fegetenv.c: Do not include <bp-sym.h>.
11408 (fegetenv): Do not use BP_SYM in versioned symbols.
11409 * nptl/sysdeps/pthread/bits/libc-lockP.h
11410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11413 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11415 (__pthread_mutex_destroy): Likewise.
11416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11417 (__pthread_mutex_lock): Likewise.
11418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11419 (__pthread_mutex_trylock): Likewise.
11420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11421 (__pthread_mutex_unlock): Likewise.
11422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11423 (__pthread_mutexattr_init): Likewise.
11424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11425 (__pthread_mutexattr_destroy): Likewise.
11426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11427 (__pthread_mutexattr_settype): Likewise.
11428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11429 (__pthread_rwlock_init): Likewise.
11430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11431 (__pthread_rwlock_destroy): Likewise.
11432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11433 (__pthread_rwlock_rdlock): Likewise.
11434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11435 (__pthread_rwlock_tryrdlock): Likewise.
11436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11437 (__pthread_rwlock_wrlock): Likewise.
11438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11439 (__pthread_rwlock_trywrlock): Likewise.
11440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11441 (__pthread_rwlock_unlock): Likewise.
11442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11443 (__pthread_key_create): Likewise.
11444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11445 (__pthread_setspecific): Likewise.
11446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11447 (__pthread_getspecific): Likewise.
11448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11451 (_pthread_cleanup_push_defer): Likewise.
11452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11453 (_pthread_cleanup_pop_restore): Likewise.
11454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11455 (pthread_setcancelstate): Likewise.
11456 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11458 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11459 (memchr): Do not use BP_SYM in weak_alias.
11460 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11461 (fegetenv): Do not use BP_SYM in versioned symbols.
11462 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11463 (fesetenv): Do not use BP_SYM in versioned symbols.
11464 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11465 (feupdateenv): Do not use BP_SYM in versioned symbols.
11466 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11467 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11468 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11469 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11470 (open64): Do not use BP_SYM in weak_alias.
11471 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11472 (fegetenv): Do not use BP_SYM in versioned symbols.
11473 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11474 (fesetenv): Do not use BP_SYM in versioned symbols.
11475 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11476 (feupdateenv): Do not use BP_SYM in versioned symbols.
11477 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11478 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11479 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11480 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11481 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11482 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11483 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11485 (__libc_start_main): Do not use BP_SYM.
11487 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11490 redundant return line.
11492 (denorm): Likewise.
11493 (dbl_mp): Likewise.
11494 (sub_magnitudes): Likewise.
11500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11502 (denorm): Likewise.
11503 (dbl_mp): Likewise.
11504 (sub_magnitudes): Likewise.
11511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11513 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11514 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11517 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11518 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11520 of __mul for squares.
11521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11525 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11528 2013-02-13 Joseph Myers <joseph@codesourcery.com>
11531 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11533 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11534 prototype or function definition. Rename ubp_* variables and
11535 parameters. Remove argv definitions conditional on
11536 [__BOUNDED_POINTERS__].
11537 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11538 * elf/dl-runtime.c (_dl_fixup): Likewise.
11539 * include/set-hooks.h (RUN_HOOK): Likewise.
11540 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11542 * string/strcpy.c (strcpy): Do not use __unbounded.
11543 * sysdeps/generic/frame.h (struct layout): Likewise.
11544 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11545 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11546 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11547 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11548 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11549 (__backtrace): Likewise.
11550 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11552 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11553 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11554 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11556 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11557 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11558 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11559 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11560 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11561 Do not use __unbounded.
11562 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11563 Rename __unboundedrlimits parameter to rlimits in prototype.
11564 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11565 Do not use __unbounded.
11566 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11567 not use __ptrvalue.
11568 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11569 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11570 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11571 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11572 __ptrvalue or __unbounded.
11573 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11574 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11576 (__new_msgctl): Do not use __ptrvalue.
11577 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11579 (__libc_msgrcv): Do not use __ptrvalue.
11580 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11581 startup_info): Do not use __unbounded.
11582 (__libc_start_main): Likewise. Rename ubp_* variables and
11583 parameters. Remove argv definitions conditional on
11584 [__BOUNDED_POINTERS__].
11585 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11587 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11589 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11591 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11593 (__new_shmctl): Do not use __ptrvalue.
11594 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11595 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11597 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11599 (__libc_sigaction): Likewise.
11600 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11601 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11603 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11605 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11607 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11609 * string/mempcpy.c: Implement by calling memcpy.
11611 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11618 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11619 values in the mantissa.
11621 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11622 minimize writes to Z.
11623 (sub_magnitudes): Simplify code a bit.
11625 2013-02-12 Roland McGrath <roland@hack.frob.com>
11627 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11628 from the message. The linker prefixes all warnings with that already.
11630 2013-02-12 Andreas Schwab <schwab@suse.de>
11633 * posix/regexec.c (extend_buffers): Add parameter min_len.
11634 (check_matching): Pass minimum needed length.
11635 (clean_state_log_if_needed): Likewise.
11636 (get_subexp): Likewise.
11637 * posix/Makefile (tests): Add bug-regex34.
11638 (bug-regex34-ENV): Define.
11639 * posix/bug-regex34.c: New file.
11642 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11643 elements compare against the byte sequence of it, not its name.
11644 * posix/Makefile (tests): Add bug-regex35.
11645 (bug-regex35-ENV): Define.
11646 * posix/bug-regex35.c: New file.
11648 2013-02-11 Tom de Vries <tom@codesourcery.com>
11650 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11652 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11653 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11654 (CHECK_EOL): Add undef.
11656 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11658 * bits/stdlib-bsearch.h: New file.
11659 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11660 * stdlib/stdlib.h: Likewise.
11662 2013-02-11 Roland McGrath <roland@hack.frob.com>
11664 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11665 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11667 * manual/search.texi (Array Search Function): Add missing const in
11669 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11670 declaration to use rlim_t.
11671 (Basic Scheduling Functions): Remove erroneous const from
11672 sched_getparam prototype. Remove erroneous * from
11673 sched_get_priority_max and sched_get_priority_min prototypes.
11674 (Resource Usage): Fix summary @comment on vtimes to refer to
11675 sys/vtimes.h rather than vtimes.h.
11676 Add missing *s in vtimes prototype.
11677 (Limits on Resources): Fix ulimit prototype to return long int.
11678 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11679 prototypes to use long int rather than double.
11680 (BSD Random): Fix initstate and setstate to use char *, not void *.
11681 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11682 prototype to make second argument 'struct aiocb64 *const[]'.
11683 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11684 (Status of AIO Operations): Remove erroneous const in aio_return and
11685 aio_return64 prototypes.
11686 (Synchronizing I/O): Fix sync prototype to return void.
11687 * manual/startup.texi (Suboptions): Remove an erroneous const in
11688 getsubopt prototype.
11689 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11690 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11691 use size_t rather than int.
11692 (Scanning All Users): Likewise for getpwent_r.
11693 (Setting Groups): Add missing const to setgroups prototype.
11694 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11695 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11696 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11697 'const void *' rather than 'const char *'.
11698 (Host Address Functions): Likewise for inet_ntop.
11699 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11700 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11701 ssize_t for return value.
11702 (Sending Data): Likewise for send, sendto, sendmsg.
11703 (Socket Option Functions): Add a missing const in setsockopt prototype.
11704 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11705 use wchar_t for the argument.
11706 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11707 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11709 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11710 double/float/long double for second argument.
11711 Fix return types of significand, significandf, significandl.
11712 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11713 argument in fchmod prototype.
11714 (File Owner): Use uid_t and gid_t in fchown prototype.
11715 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11716 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11717 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11718 use 'const struct dirent **' as argument types to CMP function pointer
11720 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11721 (File Times): Fix summary magic @comment for struct utimbuf and utime
11722 to refer to utime.h, not time.h.
11723 * manual/string.texi (Argz Functions): Add missing const in
11724 argz_extract and argz_next prototypes.
11725 (Finding Tokens in a String): Likewise for basename.
11726 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11727 (Copying and Concatenation): Fix typo in wmemmove prototype.
11728 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11729 (Signal Stack): Remove erroneous const in sigstack prototype.
11730 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11732 (Simple Calendar Time): Likewise for stime.
11733 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11735 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11736 say sys/sysctl.h instead.
11737 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11738 and vsyslog prototypes.
11740 2013-02-11 Tom de Vries <tom@codesourcery.com>
11742 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11745 2013-02-11 Roland McGrath <roland@hack.frob.com>
11747 * misc/sys/mman.h: Fix typo in mremap comment.
11749 2013-02-08 Roland McGrath <roland@hack.frob.com>
11751 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11752 the '\0' terminator.
11754 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11757 * debug/segfault.c: Don't include <bp-checks.h>.
11758 * sysdeps/generic/bp-checks.h: Remove file.
11759 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11760 (__GETDENTS): Don't use CHECK_N.
11761 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11762 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11763 (__getgroups): Don't use CHECK_N.
11764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11765 (setgroups): Don't use CHECK_N.
11766 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11767 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11768 (__libc_msgrcv): Don't use CHECK_N.
11769 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11770 (__libc_msgsnd): Don't use CHECK_N.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11773 (__libc_pread): Don't use CHECK_N.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11775 include <bp-checks.h>.
11776 (__libc_pread64): Don't use CHECK_N.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11778 include <bp-checks.h>.
11779 (__libc_pwrite): Don't use CHECK_N.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11781 include <bp-checks.h>.
11782 (__libc_pwrite64): Don't use CHECK_N.
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11785 (__libc_pread): Don't use CHECK_N.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11787 include <bp-checks.h>.
11788 (__libc_pread64): Don't use CHECK_N.
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11790 include <bp-checks.h>.
11791 (__libc_pwrite): Don't use CHECK_N.
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11793 include <bp-checks.h>.
11794 (__libc_pwrite64): Don't use CHECK_N.
11795 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11796 (do_pread): Don't use CHECK_N.
11797 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11798 (do_pread64): Don't use CHECK_N.
11799 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11800 (do_pwrite): Don't use CHECK_N.
11801 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11802 (do_pwrite64): Don't use CHECK_N.
11803 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11804 (__libc_readv): Don't use CHECK_N.
11805 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11806 (semop): Don't use CHECK_N.
11807 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11809 (semtimedop): Don't use CHECK_N.
11810 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11811 (__libc_pread): Don't use CHECK_N.
11812 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11814 (__libc_pread64): Don't use CHECK_N.
11815 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11817 (__libc_pwrite): Don't use CHECK_N.
11818 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11820 (__libc_pwrite64): Don't use CHECK_N.
11821 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11823 (__libc_msgrcv): Don't use CHECK_N.
11824 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11825 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11826 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11827 (__libc_writev): Don't use CHECK_N.
11829 2013-02-08 Roland McGrath <roland@hack.frob.com>
11831 * string/strcpy.c: Removed unused variable.
11833 * Makeconfig (+sysdep-includes): Define with := rather than =.
11834 Use an existing include/ subdir of each sysdeps dir before it.
11836 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11838 * nscd/connection.c (register_traced_file): Comment function.
11839 [HAVE_INOTIFY] (union __inev): Define.
11840 [HAVE_INOTIFY] (inotify_check_files): New function.
11841 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11842 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11844 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11846 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11848 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11849 loaded if not already and that a failure is permanent.
11851 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11854 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11855 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11857 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11860 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11861 (CHECK_1_NULL_OK): Likewise.
11862 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11863 (__fxstat): Do not use CHECK_1.
11864 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11866 (___fxstat64): Do not use CHECK_1.
11867 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11869 (__fxstatat): Do not use CHECK_1.
11870 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11872 (__fxstatat64): Do not use CHECK_1.
11873 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11875 (__fxstat): Do not use CHECK_1.
11876 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11878 (__fxstatat): Do not use CHECK_1.
11879 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11881 (__getresgid): Do not use CHECK_1.
11882 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11884 (__getresuid): Do not use CHECK_1.
11885 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11887 (__lxstat): Do not use CHECK_1.
11888 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11890 (__old_msgctl): Do not use CHECK_1.
11891 (__new_msgctl): Likewise.
11892 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11894 (__new_setrlimit): Do not use CHECK_1.
11895 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11897 (__old_shmctl): Do not use CHECK_1.
11898 (__new_shmctl): Likewise.
11899 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11901 (__xstat): Do not use CHECK_1.
11902 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11903 (__lxstat): Do not use CHECK_1.
11904 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11906 (___lxstat64): Do not use CHECK_1.
11907 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11908 (__old_msgctl): Do not use CHECK_1.
11909 (__new_msgctl): Likewise.
11910 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11912 (__gettimeofday): Do not use CHECK_1.
11913 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11914 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11915 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11917 (__gettimeofday): Do not use CHECK_1.
11918 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11919 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11920 (__new_shmctl): Do not use CHECK_1.
11921 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11923 (do_sigtimedwait): Do not use CHECK_1.
11924 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11926 (do_sigwaitinfo): Do not use CHECK_1.
11927 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11929 (msgctl): Do not use CHECK_1.
11930 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11932 (shmctl): Do not use CHECK_1.
11933 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11934 (ustat): Do not use CHECK_1.
11935 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11937 (__fxstat): Do not use CHECK_1.
11938 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11940 (__fxstatat): Do not use CHECK_1.
11941 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11943 (__lxstat): Do not use CHECK_1.
11944 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11946 (__xstat): Do not use CHECK_1.
11947 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11948 (__xstat): Do not use CHECK_1.
11949 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11950 (___xstat64): Do not use CHECK_1.
11953 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11955 (CHECK_BOUNDS_HIGH): Likewise.
11956 * string/strcpy.c: Do not include <bp-checks.h>.
11957 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11959 2013-02-07 Roland McGrath <roland@hack.frob.com>
11961 * nscd/nscd-client.h (__nscd_drop_map_ref):
11962 Add __attribute__ ((unused)).
11963 * nis/nss-nisplus.h (niserr2nss): Likewise.
11965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11966 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11968 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11969 Remove inline keyword.
11970 * include/rounding-mode.h (round_away): Likewise.
11971 * libio/wfileops.c (adjust_wide_data): Likewise.
11972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11973 (__m128i_strloadu_tolower): Likewise.
11974 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11975 (__m128i_strloadu_tolower): Likewise.
11976 * time/mktime.c (ydhms_diff): Likewise.
11977 * locale/elem-hash.h (elem_hash): Likewise.
11978 * locale/setlocale.c (setdata): Likewise.
11979 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11980 (re_string_wchar_at): Likewise.
11981 (bitset_not, bitset_merge, bitset_mask): Likewise.
11982 [!(__GNUC__ > 3)] (inline): Remove macro.
11983 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11984 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11985 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11986 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11987 * string/memcmp.c (memcmp_bytes): Likewise.
11988 * locale/programs/locarchive.c (compute_hashval): Likewise.
11989 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11990 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11991 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11992 * nss/getent.c (print_rpc, print_protocols): Likewise.
11993 (print_passwd, print_group, print_aliases): Likewise.
11994 * nis/nss-nisplus.h (niserr2nss): Likewise.
11995 * nscd/connections.c (restart_p): Likewise.
11996 Change return type to bool.
11998 2013-02-05 Roland McGrath <roland@hack.frob.com>
12000 * Makeconfig (all-Depend-files): Add existing
12001 $(sorted-subdirs:=/Depend) files.
12002 (all-subdirs): Remove nss.
12003 * sysdeps/unix/inet/Subdirs: Add it here instead.
12004 * hesiod/Depend: New file.
12006 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12007 instead of calling alloca.
12009 * io/lseek.c (__lseek): Rename to __libc_lseek.
12010 Define __lseek as an alias.
12012 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12014 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12016 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12017 else clause and remove check for non-standard endianness.
12019 2013-02-04 David S. Miller <davem@davemloft.net>
12021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12023 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12026 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12027 (__ubp_memchr): Remove prototype.
12028 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12029 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12030 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12031 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12032 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12034 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12035 (__ubp_memchr): Likewise.
12036 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12037 (__ubp_memchr): Likewise.
12038 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12039 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12040 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12043 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12044 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12045 (__getcwd): Do not use CHECK_STRING.
12046 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12048 (__real_chown): Do not use CHECK_STRING.
12049 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12051 (fchownat): Do not use CHECK_STRING.
12052 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12054 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12056 (__lchown): Do not use CHECK_STRING.
12057 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12058 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12059 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12060 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12062 include <bp-checks.h>.
12063 (truncate64): Do not use CHECK_STRING.
12064 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12066 (__real_chown): Do not use CHECK_STRING.
12067 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12069 (__lchown): Do not use CHECK_STRING.
12070 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12072 (__chown): Do not use CHECK_STRING.
12073 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12075 (truncate64): Do not use CHECK_STRING.
12076 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12078 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12079 (__xmknod): Do not use CHECK_STRING.
12080 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12082 (__xmknodat): Do not use CHECK_STRING.
12083 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12084 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12086 2013-02-04 Andreas Schwab <schwab@suse.de>
12089 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12090 * include/netdb.h: Likewise for h_errno.
12091 * elf/tst-stackguard1.c: Include <tls.h>.
12093 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12095 * elf/link.h (struct link_map): Extend the l_addr comment.
12096 * include/link.h (struct link_map): Likewise.
12098 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12101 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12102 (BOUNDED_1): Remove macro.
12103 * debug/backtrace.c: Don't include <bp-checks.h>.
12104 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12105 (__backtrace): Likewise.
12106 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12108 (__backtrace): Don't use BOUNDED_1.
12109 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12111 (__backtrace): Don't use BOUNDED_1.
12112 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12113 (__backtrace): Don't use BOUNDED_1.
12114 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12115 (shmat): Don't use BOUNDED_N.
12117 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12120 * sysdeps/generic/bp-start.h: Remove file.
12121 * csu/libc-start.c: Don't include <bp-start.h>.
12122 (LIBC_START_MAIN): Set up __environ directly instead of using
12123 INIT_ARGV_and_ENVIRON.
12124 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12128 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12130 (CHECK_FCNTL): Likewise.
12131 (CHECK_N_PAGES): Likewise.
12134 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12136 (CHECK_SIGSET_NULL_OK): Likewise.
12137 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12139 (sigpending): Don't use CHECK_SIGSET.
12140 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12142 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12143 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12145 (do_sigsuspend): Don't use CHECK_SIGSET.
12146 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12148 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12149 (do_sigwait): Don't use CHECK_SIGSET.
12150 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12153 include <bp-checks.h>.
12154 (sigpending): Don't use CHECK_SIGSET.
12155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12156 include <bp-checks.h>.
12157 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12158 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12160 (sigpending): Don't use CHECK_SIGSET.
12161 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12163 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12166 * sysdeps/generic/bp-semctl.h: Remove file.
12167 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12168 <bp-checks.h> and <bp-semctl.h>.
12169 (__old_semctl): Don't use CHECK_SEMCTL.
12170 (__new_semctl): Likewise.
12171 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12173 (__old_semctl): Don't use CHECK_SEMCTL.
12174 (__new_semctl): Likewise.
12175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12176 <bp-checks.h> and <bp-semctl.h>.
12177 (__old_semctl): Don't use CHECK_SEMCTL.
12178 (__new_semctl): Likewise.
12179 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12180 <bp-checks.h> and <bp-semctl.h>.
12181 (semctl): Don't use CHECK_SEMCTL.
12184 * Makerules (elide-bp-thunks): Remove variable.
12185 (elide-routines.oS): Don't use $(elide-bp-thunks).
12186 (elide-routines.os): Likewise.
12187 (elide-routines.o): Likewise.
12188 (elide-routines.op): Likewise.
12189 (elide-routines.og): Likewise.
12190 (objects): Don't use $(bp-thunks).
12191 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12193 (common-generated): Do not add s-proto-bp.d.
12194 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12197 Do not generate makefile rules for bounded-pointer thunks.
12198 * sysdeps/generic/bp-thunks.h: Remove file.
12199 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12200 * sysdeps/unix/s-proto-bp.S: Likewise.
12203 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12204 parts of result separately when argument is not close to line from
12205 -i to i and one part of argument is small.
12206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12208 * math/libm-test.inc (cacos_test): Add more tests.
12209 (casin_test): Likewise.
12210 (casinh_test): Likewise.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214 2013-01-31 David S. Miller <davem@davemloft.net>
12216 * po/de.po: Update from translation team.
12218 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12220 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12222 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12224 * configure.in (_AC_PROG_CC_C89): New definition.
12225 * configure: Regenerate.
12227 * configure.in (AC_PROG_CPP): New definition.
12228 * configure: Regenerate.
12230 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12232 * debug/tst-backtrace.h: New file.
12233 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12234 (ret): Remove variable.
12236 (FAIL): Remove macro.
12237 (NO_INLINE): Likewise.
12238 (fn1): Use match function instead of strstr.
12239 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12240 (ret): Remove variable.
12242 (FAIL): Remove macro.
12243 (NO_INLINE): Likewise.
12244 (fn): Use match function instead of strstr.
12245 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12246 (ret): Remove variable.
12248 (FAIL): Remove macro.
12249 (NO_INLINE): Likewise.
12250 (handle_signal): Use match function instead of strstr.
12251 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12252 (ret): Remove variable.
12254 (FAIL): Remove macro.
12255 (NO_INLINE): Likewise.
12256 (handle_signal): Use match function instead of strstr.
12258 2013-01-23 Roland McGrath <roland@hack.frob.com>
12260 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12262 2013-01-23 David S. Miller <davem@davemloft.net>
12264 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12265 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12266 argument of CAS if possible.
12267 * sysdeps/sparc/sparc64/bits/atomic.h
12268 (__arch_compare_and_exchange_val_32_acq): Likewise.
12269 (__arch_compare_and_exchange_val_64_acq): Likewise.
12271 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12273 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12274 * sysdeps/posix/ulimit.c: ... this.
12275 Include <limits.h>.
12276 * sysdeps/unix/bsd/ulimit.c: Remove file.
12278 2013-01-23 Adam Conrad <adconrad@0c3.net>
12280 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12281 (LDFLAGS-tst-array5): Likewise.
12283 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12286 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12287 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12288 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12289 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12291 2013-01-21 David S. Miller <davem@davemloft.net>
12293 * sysdeps/sparc/backtrace.c: New file.
12294 * sysdeps/sparc/sparc32/backtrace.h: New file.
12295 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12296 * sysdeps/sparc/sparc64/backtrace.h: New file.
12297 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12298 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12301 2013-01-21 Andreas Schwab <schwab@suse.de>
12304 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12307 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12313 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12314 Mark Mitchell <mark@codesourcery.com>
12315 Tom de Vries <tom@codesourcery.com>
12316 Paul Pluzhnikov <ppluzhnikov@google.com>
12318 * debug/tst-backtrace2.c: New file.
12319 * debug/tst-backtrace3.c: Likewise.
12320 * debug/tst-backtrace4.c: Likewise.
12321 * debug/tst-backtrace5.c: Likewise.
12322 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12323 (CFLAGS-tst-backtrace3.c): Likewise.
12324 (CFLAGS-tst-backtrace4.c): Likewise.
12325 (CFLAGS-tst-backtrace5.c): Likewise.
12326 (LDFLAGS-tst-backtrace2): Likewise.
12327 (LDFLAGS-tst-backtrace3): Likewise.
12328 (LDFLAGS-tst-backtrace4): Likewise.
12329 (LDFLAGS-tst-backtrace5): Likewise.
12330 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12331 tst-backtrace4 and tst-backtrace5.
12333 2013-01-18 Anton Blanchard <anton@samba.org>
12334 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12337 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12338 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12339 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12341 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12342 "+r" and remove output regs list as redundant. Add explicit inline
12343 asm to specify register of return val to work around compiler codegen
12344 bug. Remove (int) cast on return value. Add return type parameter to
12345 use in macro so that this macro does not truncate return value for
12347 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12348 pass to INTERNAL_VSYSCALL_NCS.
12349 (INLINE_VSYSCALL): Add 'long int' as return type to
12350 INTERNAL_VSYSCALL_NCS macro invocation.
12351 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12352 INTERNAL_VSYSCALL_NCS macro invocation.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12355 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12358 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12359 Fix application of SIMD FP exception mask.
12361 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12362 mp_no from a power of two.
12363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12364 __mpexp_twomm1. Use __pow_mp.
12366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12369 2013-01-17 David S. Miller <davem@davemloft.net>
12371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12373 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12376 * include/complex.h: Condition contents on [!_COMPLEX_H].
12377 (__kernel_casinhf): New prototype.
12378 (__kernel_casinh): Likewise.
12379 (__kernel_casinhl): Likewise.
12380 * math/Makefile (libm_calls): Add k_casinh.
12381 * math/k_casinh.c: New file.
12382 * math/k_casinhf.c: Likewise.
12383 * math/k_casinhl.c: Likewise.
12384 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12385 finite nonzero arguments.
12386 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12387 finite nonzero arguments.
12388 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12389 finite nonzero arguments.
12390 * math/s_casinh.c: Do not include <float.h>.
12391 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12392 * math/s_casinhf.c: Do not include <float.h>.
12393 (__casinhf): Move code for finite nonzero arguments to
12395 * math/s_casinhl.c: Do not include <float.h>.
12396 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12398 (__casinhl): Move code for finite nonzero arguments to
12400 * math/libm-test.inc (cacos_test): Add more tests.
12401 * sysdeps/i386/fpu/libm-test-ulps: Update.
12402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12404 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12406 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12407 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12408 [!HAVE_MREMAP]: Remove [defined linux] case.
12409 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12411 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12413 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12415 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12417 * elf/elf.h (R_386_SIZE32): New relocation.
12418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12420 (elf_machine_rela): Likewise.
12421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12422 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12424 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12426 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12427 (FP_FAST_FMA): Do not define.
12428 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12429 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12430 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12431 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12432 !_SOFT_FLOAT]: Likewise.
12433 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12434 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12437 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12438 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12440 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12441 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12444 2013-01-16 Andreas Schwab <schwab@suse.de>
12447 * include/stdlib.h (__mktemp): Add declaration.
12448 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12449 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12451 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12453 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12455 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12456 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12457 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12459 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12460 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12462 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12464 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12465 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12466 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12468 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12469 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12471 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12473 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12475 2013-01-15 David S. Miller <davem@davemloft.net>
12477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12478 trunc{,f} to libm-sysdep_routes.
12479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12489 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12490 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12491 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12492 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12493 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12494 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12497 nearbyint{,f} to libm-sysdep_routes.
12498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12515 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12516 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12518 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12519 libc_feholdexcept and libc_fesetenv.
12521 2013-01-15 Mike Frysinger <vapier@gentoo.org>
12523 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12525 2013-01-14 David S. Miller <davem@davemloft.net>
12527 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12528 (SPARC_ASM_VIS2_IFUNC): Likewise.
12529 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12531 use of 'siam' instruction.
12532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12565 routines to libm-sysdep_routines.
12566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12569 fdim/fdimf to libm-sysdep_routines.
12570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12578 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12579 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12580 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12581 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12583 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12585 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12586 to optimize copies.
12588 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12593 local variable MPTWO.
12594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12597 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12599 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12602 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12604 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12606 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12608 * manual/pattern.texi (glob_t): Document gl_flags.
12609 (glob64_t): Likewise.
12611 2013-01-11 David S. Miller <davem@davemloft.net>
12613 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12614 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12615 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12616 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12617 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12618 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12619 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12620 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12621 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12622 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12623 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12624 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12625 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12627 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12628 sparc V9 rather than using V8 code.
12629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12632 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12637 2013-01-11 Roland McGrath <roland@hack.frob.com>
12639 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12640 not in the main loop.
12641 * configure: Regenerated.
12643 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12645 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12646 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12648 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12649 [!__GLIBC_HAVE_LONG_LONG] case.
12650 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12651 condition to just #else.
12652 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12653 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12654 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12655 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12657 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12658 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12659 #elif condition to just #else.
12660 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12661 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12662 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12663 #elif condition to just #else.
12665 2013-01-11 Steve Ellcey <sellcey@mips.com>
12667 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12668 (EF_MIPS_ARCH_64): Fix value.
12669 (EF_MIPS_ARCH_32R2): New.
12670 (EF_MIPS_ARCH_64R2): New.
12672 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12674 * Makeconfig (+link-pie-before-libc): New.
12675 (+link-pie-after-libc): Likewise.
12676 (+link-pie-tests): Likewise.
12677 (+link-pie): Rewritten.
12678 (link-before-libc): Remove $(config-LDFLAGS).
12679 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12680 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12681 (config-LDFLAGS): Renamed to ...
12682 (rtld-LDFLAGS): This.
12683 (rtld-tests-LDFLAGS): New macro.
12684 (link-libc-rpath-link): Likewise.
12685 (link-libc-tests-rpath-link): Likewise.
12686 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12687 (link-libc): Prepand $(link-libc-rpath-link).
12688 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12689 (test-program-prefix): New macro.
12690 (test-via-rtld-prefix): Likewise.
12691 (test-program-cmd): Likewise.
12692 (host-test-program-cmd): Likewise.
12693 * Makefile ($(common-objpfx)testrun.sh): Replace
12694 $(run-program-prefix) with $(test-program-prefix).
12695 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12697 ($(common-objpfx)shlib.lds): Likewise.
12698 (build-module-helper): Likewise.
12699 ($(common-objpfx)format.lds): Likewise.
12700 * Rules (binaries-pie-tests): New.
12701 (binaries-pie-notests): Likewise.
12702 (binaries-pie): Rewritten.
12703 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12704 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12705 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12706 (make-test-out): Replace $(host-built-program-cmd) with
12707 $(host-test-program-cmd).
12708 * config.make.in (build-hardcoded-path-in-tests): New variable.
12709 * configure.in (--enable-hardcoded-path-in-tests): New configure
12711 (hardcoded_path_in_tests): New AC_SUBST.
12712 * configure: Regenerated.
12713 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12714 $(built-program-cmd) with $(test-program-cmd).
12715 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12716 (test_program_cmd): This.
12717 * elf/Makefile ($(objpfx)order.out): Run test with
12718 $(test-program-prefix).
12719 ($(objpfx)order2.out): Likewise.
12720 ($(objpfx)tst-initorder.out): Likewise.
12721 ($(objpfx)tst-initorder2.out): Likewise.
12722 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12723 $(test-program-cmd).
12724 ($(objpfx)tst-array1-static.out): Likewise.
12725 ($(objpfx)tst-array2.out): Likewise.
12726 ($(objpfx)tst-array3.out): Likewise.
12727 ($(objpfx)tst-array4.out): Likewise.
12728 ($(objpfx)tst-array5.out): Likewise.
12729 ($(objpfx)tst-array5-static.out): Likewise.
12730 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12731 $(test-program-cmd).
12732 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12733 $(run-program-prefix) with $(test-program-prefix).
12734 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12735 (test_program_prefix): This.
12736 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12737 $(run-program-prefix) with $(test-program-prefix).
12738 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12739 (test_program_prefix): This.
12740 * iconvdata/tst-tables.sh: Likewise.
12741 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12742 $(run-program-prefix) with $(test-program-prefix).
12743 ($(objpfx)tst-translit.out): Likewise.
12744 ($(objpfx)tst-gettext2.out): Likewise.
12745 ($(objpfx)tst-gettext4.out): Likewise.
12746 ($(objpfx)tst-gettext6.out): Likewise.
12747 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12748 (test_program_prefix): This.
12749 * intl/tst-gettext2.sh: Likewise.
12750 * intl/tst-gettext4.sh Likewise.
12751 * intl/tst-gettext6.sh: Likewise.
12752 * intl/tst-translit.sh: Likewise.
12753 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12754 with $(test-program-cmd).
12755 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12756 $(run-program-prefix) with $(test-program-prefix).
12757 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12758 (test_program_prefix): This.
12759 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12760 $(run-program-prefix) with $(test-program-prefix).
12761 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12762 (test_program_prefix): This.
12763 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12764 * posix/Makefile ($(objpfx)globtest.out): Replace
12765 $(run-via-rtld-prefix) and $(test-wrapper) with
12766 $(test-program-prefix) and $(test-via-rtld-prefix).
12767 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12768 $(test-program-prefix).
12769 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12770 $(host-test-program-cmd).
12771 (tst-spawn-ARGS): Likewise.
12772 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12773 $(test-program-prefix).
12774 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12775 (test_via_rtld_prefix): This.
12776 (test_wrapper): Renamed to ...
12777 (test_program_prefix): This.
12778 (run_program_prefix): Replaced by test_program_prefix.
12779 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12780 (test_program_prefix): This.
12781 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12782 with $(host-test-program-cmd).
12783 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12784 $(run-program-prefix) with $(test-program-prefix).
12785 ($(objpfx)tst-printf.out): Likewise.
12786 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12787 $(test-program-cmd).
12788 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12789 (test_program_prefix): This.
12790 * stdio-common/tst-unbputc.sh: Likewise.
12791 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12792 $(run-program-prefix) with $(test-program-prefix).
12793 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12794 (test_program_prefix): This.
12795 * string/Makefile ($(objpfx)tst-svc.out): Replace
12796 $(built-program-cmd) with $(test-program-cmd).
12798 2013-01-11 Andreas Jaeger <aj@suse.de>
12801 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12802 value. Sync with Linux 3.7.
12804 2013-01-10 David S. Miller <davem@davemloft.net>
12806 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12807 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12808 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12810 2013-01-10 Roland McGrath <roland@hack.frob.com>
12812 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12814 * configure: Regenerated.
12816 2013-01-10 David S. Miller <davem@davemloft.net>
12818 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12819 sparc V9 rather than using V8 code.
12820 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12821 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12823 2013-01-10 Roland McGrath <roland@hack.frob.com>
12825 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12826 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12827 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12828 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12829 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12830 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12831 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12832 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12833 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12834 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12835 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12836 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12837 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12838 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12839 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12840 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12841 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12842 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12843 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12844 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12845 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12846 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12847 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12848 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12849 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12850 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12851 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12853 2013-01-10 David S. Miller <davem@davemloft.net>
12855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12857 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12859 * posix/Makefile (tests-static): New variable.
12860 (tests): Add $(tests-static).
12861 (tst-exec-static-ARGS): New variable.
12862 (tst-spawn-static-ARGS): Likewise.
12863 * posix/tst-exec-static.c: New file.
12864 * posix/tst-spawn-static.c: Likewise.
12865 * posix/tst-exec.c: Support run directly.
12866 * posix/tst-spawn.c: Likewise.
12868 2013-01-10 Joseph Myers <joseph@codesourcery.com>
12870 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12872 * math/bits/mathcalls.h (llrint): Likewise.
12873 (llround): Likewise.
12874 * stdlib/stdlib.h (struct drand48_data): Likewise.
12875 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12876 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12877 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12879 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12881 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12882 (elf_greg_t): Likewise.
12883 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12884 (__jmp_buf): Likewise.
12885 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12887 (llrint): Likewise, for all definitions.
12888 (llrintl): Likewise.
12890 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12891 Remove [__GNUC__] condition.
12892 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12893 condition to just [__USE_ISOC99].
12894 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12896 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12899 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12900 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12902 (_POSIX_V6_ILP32_OFF32): Likewise.
12903 (_XBS5_ILP32_OFF32): Likewise.
12904 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12905 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12907 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12909 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12912 doubles __mpexp_twomm1. Adjust usage.
12913 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12916 2013-01-10 Andreas Schwab <schwab@suse.de>
12919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12920 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12922 2013-01-09 David S. Miller <davem@davemloft.net>
12925 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12926 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12927 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12928 TCP_FASTOPEN): Define.
12929 (tcp_repair_opt): New structure.
12930 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12932 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12933 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12934 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12935 (tcp_cookie_transactions): New structure.
12937 2013-01-09 Anton Blanchard <anton@samba.org>
12939 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12940 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12941 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12942 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12944 2013-01-09 Joseph Myers <joseph@codesourcery.com>
12946 * include/features.h (__USE_ANSI): Remove.
12948 2013-01-09 Roland McGrath <roland@hack.frob.com>
12950 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12952 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12954 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12956 * sysdeps/s390/fpu/libm-test-ulps: Update.
12958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12960 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12964 (denorm): Likewise.
12965 (__mp_dbl): Likewise.
12966 (__dbl_mp): Likewise.
12967 (add_magnitudes): Likewise.
12968 (sub_magnitudes): Likewise.
12974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12978 (denorm): Likewise.
12979 (__mp_dbl): Likewise.
12980 (__dbl_mp): Likewise.
12981 (add_magnitudes): Likewise.
12982 (sub_magnitudes): Likewise.
12988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12992 (denorm): Likewise.
12993 (__mp_dbl): Likewise.
12994 (__dbl_mp): Likewise.
12995 (add_magnitudes): Likewise.
12996 (sub_magnitudes): Likewise.
13003 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13005 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13006 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13007 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13008 2 && __USE_EXTERN_INLINES]: Likewise.
13010 2013-01-08 Andreas Jaeger <aj@suse.de>
13013 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13015 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13016 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13018 2013-01-07 Anton Blanchard <anton@samba.org>
13020 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13022 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13023 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13024 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13025 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13026 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13027 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13034 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13035 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13037 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13038 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13040 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13041 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13042 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13043 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13045 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13046 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13047 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13049 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13050 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13055 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13056 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13058 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13059 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13060 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13062 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13064 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13066 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13067 (__MALLOC_PMT): Likewise.
13068 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13069 [__GNUC__], only on [_LIBC].
13070 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13071 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13072 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13073 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13074 forward declaration.
13075 (realloc_hook_ini): Likewise.
13076 (memalign_hook_ini): Likewise.
13077 (__libc_memalign): Do not use __MALLOC_PMT in variable
13079 (__libc_valloc): Likewise.
13080 (__libc_pvalloc): Likewise.
13081 (__libc_calloc): Likewise.
13082 (__posix_memalign): Likewise.
13085 * math/s_casinh.c: Include <float.h>.
13086 (__casinh): Do not do computation with squaring and square root
13087 for large arguments.
13088 * math/s_casinhf.c: Include <float.h>.
13089 (__casinhf): Do not do computation with squaring and square root
13090 for large arguments.
13091 * math/s_casinhl.c: Include <float.h>.
13092 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13093 (__casinhl): Do not do computation with squaring and square root
13094 for large arguments.
13095 * math/libm-test.inc (casin_test): Add more tests.
13096 (casinh_test): Likewise.
13097 * sysdeps/i386/fpu/libm-test-ulps: Update.
13098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13100 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13102 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13103 (__x86_64_raw_data_cache_size): Likewise.
13104 (__x86_64_data_cache_size_half): Likewise.
13105 (__x86_64_raw_data_cache_size_half): Likewise.
13106 (__x86_64_shared_cache_size): Likewise.
13107 (__x86_64_raw_shared_cache_size): Likewise.
13108 (__x86_64_shared_cache_size_half): Likewise.
13109 (__x86_64_raw_shared_cache_size_half): Likewise.
13110 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13112 (__x86_data_cache_size): This.
13113 (__x86_64_raw_data_cache_size): Renamed to ...
13114 (__x86_raw_data_cache_size): This.
13115 (__x86_64_data_cache_size_half): Renamed to ...
13116 (__x86_data_cache_size_half): This.
13117 (__x86_64_raw_data_cache_size_half): Renamed to ...
13118 (__x86_raw_data_cache_size_half): This.
13119 (__x86_64_shared_cache_size): Renamed to ...
13120 (__x86_shared_cache_size): This.
13121 (__x86_64_raw_shared_cache_size): Renamed to ...
13122 (__x86_raw_shared_cache_size): This.
13123 (__x86_64_shared_cache_size_half): Renamed to ...
13124 (__x86_shared_cache_size_half): This.
13125 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13126 (__x86_raw_shared_cache_size_half): This.
13127 * sysdeps/x86_64/memcpy.S: Updated.
13128 * sysdeps/x86_64/memset.S: Likewise.
13129 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13133 2013-01-04 David S. Miller <davem@davemloft.net>
13135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13137 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13139 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13140 1 to avoid redefinition warning.
13141 (__USE_GNU): Don't define.
13142 (init_signaling_nan): Protoize.
13144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13146 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13148 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13150 (__cpymn): Likewise.
13151 (norm): Remove commented code.
13152 (denorm): Likewise.
13153 (__mp_dbl): Likewise.
13155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13156 (__cpymn): Likewise.
13157 (norm): Remove commented code.
13158 (denorm): Likewise.
13159 (__mp_dbl): Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13163 mp_no value for 1.0 and 2.0.
13164 (norm): Use RADIXI instead of radixi.d.
13165 (denorm): Likewise.
13166 (__mul): Use 0.0 instead of zero.d.
13167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13168 mp_no value for 1.0 and 2.0.
13169 (norm): Use RADIXI instead of radixi.d.
13170 (denorm): Likewise.
13171 (__mul): Use 0.0 instead of zero.d.
13173 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13176 * math/s_casinh.c (__casinh): Reduce finite argument to first
13177 quadrant then set signs of results at the end.
13178 * math/s_casinhf.c (__casinhf): Likewise.
13179 * math/s_casinhl.c (__casinhl): Likewise.
13180 * math/libm-test.inc (casin_test): Add more tests.
13181 (casinh_test): Likewise.
13182 * sysdeps/i386/fpu/libm-test-ulps: Update.
13183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13185 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13187 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13189 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13191 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13193 (denorm): Likewise.
13194 (__mp_dbl): Likewise.
13197 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13198 and adjust the header comment.
13200 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13201 variable name from declaration.
13203 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13206 Initialize COMMON_CPUID_INDEX_7 element.
13207 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13208 (CPUID_RTM): Likewise.
13209 (HAS_RTM): Likewise.
13210 (COMMON_CPUID_INDEX_7): New enum.
13212 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13215 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13216 size is zero, record memory as freed.
13218 2013-01-03 Andreas Jaeger <aj@suse.de>
13220 * po/ia.po: Add new Interlingua translation.
13222 2012-01-03 Allan McRae <allan@archlinux.org>
13224 * locale/programs/localedef.c: Fix description of '--posix' flag.
13226 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13228 * NEWS: Update dates in second copyright notice.
13229 * README: Update copyright dates in example.
13230 * manual/libc.texinfo: Update copyright dates.
13231 * scripts/test-installation.pl: Update copyright date in --version
13234 * hurd/ctty-input.c: Fix copyright notice formatting.
13235 * hurd/ctty-output.c: Likewise.
13236 * hurd/dtable.c: Likewise.
13237 * hurd/hurd-raise.c: Likewise.
13238 * hurd/hurdprio.c: Likewise.
13239 * hurd/msgportdemux.c: Likewise.
13240 * misc/sys/file.h: Likewise.
13241 * misc/sys/ioctl.h: Likewise.
13242 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13243 * sysdeps/mach/hurd/chdir.c: Likewise.
13244 * sysdeps/mach/hurd/fchdir.c: Likewise.
13245 * sysdeps/mach/hurd/rename.c: Likewise.
13246 * sysdeps/mach/hurd/rmdir.c: Likewise.
13247 * sysdeps/mach/hurd/seekdir.c: Likewise.
13248 * sysdeps/mach/hurd/setsid.c: Likewise.
13249 * sysdeps/posix/wait3.c: Likewise.
13251 * All files with FSF copyright notices: Update copyright dates
13252 using scripts/update-copyrights.
13253 * intl/plural.c: Regenerated.
13254 * locale/programs/charmap-kw.h: Likewise.
13255 * locale/programs/locfile-kw.h: Likewise.
13257 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13259 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13262 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13263 calculation loop and add branch prediction.
13265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13266 check access beyond bounds of m1np.
13268 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13270 (__inv): Remove local variable MPTWO to use the global
13272 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13275 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13276 MP3HALFS static const.
13278 2013-01-01 David S. Miller <davem@davemloft.net>
13280 * po/ca.po: Update from translation team.
13282 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13284 * scripts/update-copyrights: New file.
13285 * Makeconfig: Reformat copyright notice.
13286 * ctype/ctype.h: Likewise.
13287 * debug/swprintf_chk.c: Likewise.
13288 * elf/dl-cache.c: Likewise.
13289 * elf/dl-debug.c: Likewise.
13290 * elf/dl-object.c: Likewise.
13291 * grp/initgroups.c: Likewise.
13292 * hurd/Makefile: Likewise.
13293 * hurd/hurd/signal.h: Likewise.
13294 * hurd/hurdfault.c: Likewise.
13295 * hurd/hurdioctl.c: Likewise.
13296 * hurd/hurdlookup.c: Likewise.
13297 * hurd/intr-msg.c: Likewise.
13298 * iconv/gconv_open.c: Likewise.
13299 * libio/swprintf.c: Likewise.
13300 * locale/lc-ctype.c: Likewise.
13301 * locale/nl_langinfo.c: Likewise.
13302 * mach/Machrules: Likewise.
13303 * mach/Makefile: Likewise.
13304 * malloc/obstack.h: Likewise.
13305 * manual/Makefile: Likewise.
13306 * manual/tsort.awk: Likewise.
13307 * misc/bits/stab.def: Likewise.
13308 * nis/nis_print_group_entry.c: Likewise.
13309 * nis/nis_table.c: Likewise.
13310 * nis/nss_compat/compat-pwd.c: Likewise.
13311 * nis/nss_compat/compat-spwd.c: Likewise.
13312 * po/Makefile: Likewise.
13313 * posix/fnmatch.c: Likewise.
13314 * posix/regex.h: Likewise.
13315 * resolv/Makefile: Likewise.
13316 * resolv/nss_dns/dns-network.c: Likewise.
13317 * resolv/res_hconf.c: Likewise.
13318 * scripts/gen-sorted.awk: Likewise.
13319 * soft-fp/soft-fp.h: Likewise.
13320 * stdio-common/printf.h: Likewise.
13321 * stdlib/monetary.h: Likewise.
13322 * stdlib/random.c: Likewise.
13323 * stdlib/random_r.c: Likewise.
13324 * sysdeps/generic/Makefile: Likewise.
13325 * sysdeps/gnu/Makefile: Likewise.
13326 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13354 * sysdeps/mach/hurd/errnos.awk: Likewise.
13355 * sysdeps/mach/hurd/fork.c: Likewise.
13356 * sysdeps/mach/hurd/getcwd.c: Likewise.
13357 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13358 * sysdeps/mach/hurd/mmap.c: Likewise.
13359 * sysdeps/mach/hurd/utimes.c: Likewise.
13360 * sysdeps/mach/hurd/xmknod.c: Likewise.
13361 * sysdeps/posix/profil.c: Likewise.
13362 * sysdeps/posix/readdir_r.c: Likewise.
13363 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13364 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13365 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13366 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13368 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13369 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13370 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13372 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13373 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13374 * sysdeps/pthread/lio_listio.c: Likewise.
13375 * sysdeps/sparc/dl-procinfo.h: Likewise.
13376 * sysdeps/unix/i386/sysdep.S: Likewise.
13377 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13378 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13379 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13380 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13382 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13383 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13384 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13385 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13386 * sysdeps/wordsize-32/divdi3.c: Likewise.
13387 * time/sys/time.h: Likewise.
13388 * wcsmbs/Makefile: Likewise.
13390 2013-01-01 David S. Miller <davem@davemloft.net>
13392 * po/fr.po: Update from translation team.
13394 * catgets/gencat.c: Update copyright year.
13395 * csu/version.c: Likewise.
13396 * debug/catchsegv.sh: Likewise.
13397 * debug/pcprofiledump.c: Likewise.
13398 * debug/xtrace.sh: Likewise.
13399 * elf/ldconfig.c: Likewise.
13400 * elf/ldd.bash.in: Likewise.
13401 * elf/pldd.c: Likewise.
13402 * elf/sotruss.ksh: Likewise.
13403 * elf/sprof.c: Likewise.
13404 * iconv/iconv_prog.c: Likewise.
13405 * iconv/iconvconfig.c: Likewise.
13406 * locale/programs/locale.c: Likewise.
13407 * locale/programs/localedef.c: Likewise.
13408 * login/programs/pt_chown.c: Likewise.
13409 * malloc/memusage.sh: Likewise.
13410 * malloc/memusagestat.c: Likewise.
13411 * malloc/mtrace.pl: Likewise.
13412 * nscd/nscd.c: Likewise.
13413 * nss/getent.c: Likewise.
13414 * nss/makedb.c: Likewise.
13415 * posix/getconf.c: Likewise.
13417 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13419 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13422 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13424 * math/bits/mathcalls.h (modf): Use __nonnull.
13426 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13428 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13429 (split): Use macro CN instead of the bare value.
13430 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13433 instead of the bare value.
13434 (power1): Likewise.
13436 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13438 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13440 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13442 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13444 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13446 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13447 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13449 2012-12-28 Andreas Jaeger <aj@suse.de>
13451 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13452 values are from Linux 3.7.
13454 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13455 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13457 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13459 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13462 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13464 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13465 variables with preprocessor constants.
13466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13467 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13468 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13470 2012-12-27 Bruno Haible <bruno@clisp.org>
13473 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13476 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13479 and use variable directly.
13480 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13482 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13484 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13485 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13487 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13489 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13490 include directive. Remove local variable MPONE.
13491 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13492 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13493 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13495 2012-12-25 David S. Miller <davem@davemloft.net>
13497 * version.h (RELEASE): Set to "development".
13498 (VERSION): Set to "2.17.90".
13499 * NEWS: Add 2.18 section.
13501 2012-12-21 David S. Miller <davem@davemloft.net>
13503 * po/hr.po: Update from translation team.
13505 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13507 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13509 2012-12-19 Steve Ellcey <sellcey@mips.com>
13511 * NEWS: Mention new memcpy for MIPS.
13513 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13515 * manual/contrib.texi (Contributors): Spelling correction.
13517 2012-12-15 David S. Miller <davem@davemloft.net>
13519 * po/ru.po: Update from translation team.
13521 2012-12-13 David S. Miller <davem@davemloft.net>
13523 * NEWS: Mention IFUNC testsuite enhancements.
13525 * po/pl.po: Update from translation team.
13526 * po/bg.po: Likewise.
13528 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13529 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13531 2012-12-11 David S. Miller <davem@davemloft.net>
13533 * po/sv.po: Update from translation team.
13535 * po/vi.po: Update from translation team.
13537 * po/cs.po: Update from translation team.
13539 * po/de.po: Update from translation team.
13540 * po/eo.po: Likewise.
13541 * po/nl.po: Likewise.
13543 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13546 * manual/argp.texi (Argp Helper Functions): Move node to follow
13547 Argp Parsing State.
13550 * manual/conf.texi (Limits on File System Capacity): Mention if
13551 terminating null is included in the max size.
13553 2012-12-10 Andreas Jaeger <aj@suse.de>
13555 * po/cs.po: Update from translation team.
13557 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13559 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13560 void pointer and cast to uintptr_t.
13561 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13563 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13564 * sysdeps/s390/s390-64/memset.S: Likewise.
13566 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
13569 * menual/message.texi (Message Translation): Fix typos.
13570 (Helper programs for gettext): Likewise.
13572 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13575 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13578 2012-12-07 David S. Miller <davem@davemloft.net>
13580 * po/libc.pot: Update.
13582 2012-12-07 Richard Henderson <rth@redhat.com>
13585 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13586 normal/normal case to before the switch.
13587 (_FP_DIV): Likewise.
13589 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13590 Mike Frysinger <vapier@gentoo.org>
13592 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13593 check for __NR_fadvise64_64.
13595 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13597 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13598 0, not just to plain "0" as a statement.
13599 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13602 2012-12-06 Joseph Myers <joseph@codesourcery.com>
13604 * NEWS: Use sourceware.org in Bugzilla URL.
13606 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13609 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13611 * stdio-common/tst-put-error.c (do_test): Add newline to the
13612 padded test to ensure flush.
13614 2012-12-05 Jeff Law <law@redhat.com>
13616 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13618 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13620 * README: Don't refer to ports add-on as distributed separately.
13621 Mention AArch64 in list of systems supported in the ports add-on.
13623 * LICENSES: Add more non-FSF copyright and license notices.
13625 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13630 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13631 10000 as width of padded output.
13633 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13635 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13637 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13638 variable LX with __attribute__ ((unused)).
13639 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13641 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13644 with __attribute__ ((unused)).
13646 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13648 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13650 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13652 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13653 (CFLAGS-nldbl-acos.c): New variable.
13654 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13655 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13656 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13657 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13658 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13659 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13660 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13661 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13662 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13663 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13664 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13665 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13666 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13667 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13668 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13669 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13670 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13671 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13672 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13673 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13674 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13675 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13676 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13677 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13678 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13679 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13680 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13681 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13682 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13683 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13684 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13685 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13686 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13687 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13688 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13689 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13690 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13691 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13692 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13693 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13694 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13695 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13696 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13697 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13698 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13699 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13700 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13701 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13702 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13703 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13704 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13705 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13706 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13707 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13708 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13709 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13710 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13711 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13712 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13713 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13714 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13715 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13716 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13717 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13718 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13719 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13720 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13721 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13722 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13723 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13724 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13725 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13726 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13727 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13728 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13729 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13730 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13731 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13732 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13733 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13734 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13735 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13736 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13737 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13738 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13739 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13740 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13741 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13742 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13743 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13744 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13745 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13746 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13747 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13748 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13749 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13750 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13753 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13756 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13757 whole low double instead of just low 47 bits when splitting values
13760 2012-12-03 Allan McRae <allan@archlinux.org>
13762 * manual/stdio.texi (Predefined Printf Handlers): Remove
13763 @hsep and @vsep usage.
13765 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13767 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13768 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13770 2012-12-03 Jeff Law <law@redhat.com>
13772 * time/sys/time.h (settimeofday): Do not mark TV argument
13775 2012-12-01 Mike Frysinger <vapier@gentoo.org>
13777 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13778 when currently writing and seek to current position when not.
13779 * libio/Makefile (tests): Remove bug-fclose1.
13780 * libio/bug-fclose1.c: Delete.
13782 2012-12-01 Joseph Myers <joseph@codesourcery.com>
13784 * manual/arith.texi (feenableexcept): Fix typo.
13785 (fedisableexcept): Likewise.
13787 2012-11-30 Roland McGrath <roland@hack.frob.com>
13789 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13790 second, differently-typed declaration, rather than a cast.
13792 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13794 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13795 * include/rpc/svc.h: ... here.
13797 2012-11-30 Aurelien Jarno <aurel32@debian.org>
13800 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13801 depending n and resplen2 to catch cases where answer
13804 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13806 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13807 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13809 2012-11-29 Mike Frysinger <vapier@gentoo.org>
13811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13813 2012-11-29 Roland McGrath <roland@hack.frob.com>
13815 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13817 2012-11-28 Jeff Law <law@redhat.com>
13820 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13821 dataset_temporary. Track alloca usage into alloca_used.
13822 If dataset is large allocate and release it via malloc/free.
13824 2012-06-04 Florian Weimer <fweimer@redhat.com>
13827 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13829 2012-11-28 David S. Miller <davem@davemloft.net>
13831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13833 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13836 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13837 of pi/2 rounded to nearest to 64 bits.
13838 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13839 nearest to 64 bits.
13840 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13843 2012-11-28 Jeff Law <law@redhat.com>
13844 Martin Osvald <mosvald@redhat.com>
13847 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13848 * sunrpc/svc.c: Include time.h.
13849 (__svc_accept_failed): New function.
13850 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13851 any reason other than EINTR, call __svc_accept_failed.
13852 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13853 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13855 2012-11-28 Andreas Schwab <schwab@suse.de>
13857 * scripts/abilist.awk: Also handle indirect functions in .opd
13860 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13863 * sysdeps/x86/fpu/powl_helper.c: New file.
13864 * sysdeps/x86/fpu/Makefile: Likewise.
13865 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13867 (__ieee754_powl): Use __powl_helper for finite arguments except
13868 integer exponents below 8.
13869 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13871 (__ieee754_powl): Use __powl_helper for finite arguments except
13872 integer exponents below 8.
13873 * math/libm-test.inc (pow_test): Add more tests and enable some
13874 previously disabled tests.
13875 * sysdeps/i386/fpu/libm-test-ulps: Update.
13876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13878 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13879 Carlos O'Donell <carlos_odonell@mentor.com>
13881 * nss/makedb.c (is_prime): Assert that input is odd and greater
13882 than 4. Note that fact in a comment too.
13883 (next_prime): Add 4 to input.
13885 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13888 * libio/Makefile (tests): Add test case tst-fwrite-error.
13889 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13890 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13891 * libio/tst-fwrite-error.c: New test case.
13893 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13895 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13896 before casting to void *.
13897 * include/libc-internal.h (__pointer_type): New macro.
13898 (__integer_if_pointer_type_sub): Likewise.
13899 (__integer_if_pointer_type): Likewise.
13900 (cast_to_integer): Likewise.
13901 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13902 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13903 before casting to atomic64_t.
13904 (atomic_exchange_acq): Likewise.
13905 (__arch_exchange_and_add_body): Likewise.
13906 (__arch_add_body): Likewise.
13907 (atomic_add_negative): Likewise.
13908 (atomic_add_zero): Likewise.
13910 2012-11-26 Joseph Myers <joseph@codesourcery.com>
13912 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13913 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13914 (add_fdes): Likewise.
13915 (linear_search_fdes): Likewise.
13916 (binary_search_unencoded_fdes): Likewise.
13918 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13920 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13922 2012-11-24 Adam Conrad <adconrad@0c3.net>
13924 * configure.in: Autodetect C++ header directories.
13925 * configure: Regenerated.
13927 2012-11-23 Mike Frysinger <vapier@gentoo.org>
13929 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13931 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13935 2012-11-22 Joseph Myers <joseph@codesourcery.com>
13937 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13938 LDBL_MANT_DIG == 106]: Disable some tests.
13939 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13941 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13945 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13946 input for small inputs. Return +/- pi/2 for large inputs.
13947 * math/libm-test.inc (atan_test): Add more tests.
13949 * sysdeps/generic/unwind-dw2-fde-glibc.c
13950 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13951 __attribute__ ((unused)).
13954 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13955 x * y if x and y are nonzero and z is zero.
13958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13959 nonzero exponents with absolute value below 0x1p-117 to +/-
13963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13964 up arguments below 2**-450, not just those below 2**-500.
13965 * math/libm-test.inc (hypot_test): Add another test.
13968 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13969 Return a+b for ratio over 2**120, not 2**60.
13970 * math/libm-test.inc (hypot_test): Add another test.
13972 * math/libm-test.inc (clog_test): Use
13973 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13974 (clog10_test): Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13979 2012-11-22 Andreas Schwab <schwab@suse.de>
13981 * sysdeps/i386/fpu/libm-test-ulps: Update.
13983 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13985 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13986 printf output with newline.
13988 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13991 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13992 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13993 -z nodlopen, -z initfirst and -z execstack support.
13994 * configure: Regenerated.
13996 * elf/elf.h (DF_1_NODIRECT): New macro.
13997 (DF_1_IGNMULDEF): Likewise.
13998 (DF_1_NOKSYMS): Likewise.
13999 (DF_1_NOHDR): Likewise.
14000 (DF_1_EDITED): Likewise.
14001 (DF_1_NORELOC): Likewise.
14002 (DF_1_SYMINTPOSE): Likewise.
14003 (DF_1_GLOBAUDIT): Likewise.
14004 (DF_1_SINGLETON): Likewise.
14005 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14006 DT_1_SUPPORTED_MASK bits.
14007 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14009 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14011 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14013 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14015 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14018 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14019 (sendmmsg): Move declarations...
14020 * socket/sys/socket.h: ... here.
14021 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14022 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14024 * socket/recvmmsg.c: ... this new file.
14025 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14026 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14027 definition of __sendmmsg hidden.
14028 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14029 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14030 Move ENOSYS stub into and include it from...
14031 * socket/sendmmsg.c: ... this new file.
14032 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14033 (sysdep_routines): Move recvmmsg and sendmmsg...
14034 * socket/Makefile (routines): ... here.
14035 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14036 (GLIBC_PRIVATE): Add __sendmmsg.
14037 * include/sys/socket.h (__sendmmsg): Add declarations.
14038 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14041 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14044 variable I1 with __attribute__ ((unused)).
14045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14047 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14049 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14050 DUMMY variables with __attribute__ ((unused)).
14052 * bits/byteswap.h: Include <bits/types.h>.
14053 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14055 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14057 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14058 string_t. Do not manually set errno.
14059 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14060 length with __strnlen. Make sure to both set errno and return it on
14063 2012-11-19 David S. Miller <davem@davemloft.net>
14065 With help from Joseph Myers.
14066 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14067 very large arguments properly.
14068 * math/libm-test.inc (atan_test): New tests.
14069 (atan2_test): New tests.
14070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14073 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14076 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14079 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14080 [POSIX] (EADDRNOTAVAIL): Likewise.
14081 [POSIX] (EAFNOSUPPORT): Likewise.
14082 [POSIX] (EALREADY): Likewise.
14083 [POSIX] (ECONNABORTED): Likewise.
14084 [POSIX] (ECONNREFUSED): Likewise.
14085 [POSIX] (ECONNRESET): Likewise.
14086 [POSIX] (EDESTADDRREQ): Likewise.
14087 [POSIX] (EDQUOT): Likewise.
14088 [POSIX] (EHOSTUNREACH): Likewise.
14089 [POSIX] (EIDRM): Likewise.
14090 [POSIX] (EISCONN): Likewise.
14091 [POSIX] (ELOOP): Likewise.
14092 [POSIX] (EMULTIHOP): Likewise.
14093 [POSIX] (ENETDOWN): Likewise.
14094 [POSIX] (ENETUNREACH): Likewise.
14095 [POSIX] (ENOBUFS): Likewise.
14096 [POSIX] (ENODATA): Likewise.
14097 [POSIX] (ENOLINK): Likewise.
14098 [POSIX] (ENOMSG): Likewise.
14099 [POSIX] (ENOPROTOOPT): Likewise.
14100 [POSIX] (ENOSR): Likewise.
14101 [POSIX] (ENOSTR): Likewise.
14102 [POSIX] (ENOTCONN): Likewise.
14103 [POSIX] (ENOTSOCK): Likewise.
14104 [POSIX] (EOPNOTSUPP): Likewise.
14105 [POSIX] (EOVERFLOW): Likewise.
14106 [POSIX] (EPROTO): Likewise.
14107 [POSIX] (EPROTONOSUPPORT): Likewise.
14108 [POSIX] (EPROTOTYPE): Likewise.
14109 [POSIX] (ESTALE): Likewise.
14110 [POSIX] (ETIME): Likewise.
14111 [POSIX] (ETXTBSY): Likewise.
14112 [POSIX] (EWOULDBLOCK): Likewise.
14113 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14114 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14115 [POSIX] (SEEK_CUR): Likewise.
14116 [POSIX] (SEEK_END): Likewise.
14117 [POSIX || UNIX98] (mode_t): Do not require.
14118 [POSIX] (off_t): Likewise.
14119 [POSIX] (pid_t): Likewise.
14120 [POSIX] (sys/stat.h): Do not allow header.
14121 [POSIX] (unistd.h): Likewise.
14122 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14123 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14124 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14125 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14127 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14128 sigevent): Specify elements.
14129 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14131 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14132 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14134 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14135 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14136 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14137 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14138 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14139 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14140 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14141 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14142 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14143 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14144 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14145 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14146 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14149 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14151 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14153 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14155 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14156 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14157 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14158 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14159 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14160 Specify lower bound on value.
14161 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14162 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14163 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14164 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14165 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14166 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14167 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14168 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14170 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14172 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14173 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14174 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14175 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14176 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14177 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14178 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14179 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14180 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14181 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14182 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14183 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14184 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14185 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14186 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14187 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14189 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14191 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14192 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14193 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14194 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14195 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14198 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14200 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14201 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14202 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14203 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14206 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14208 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14209 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14210 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14211 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14212 specify as optional.
14213 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14214 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14215 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14216 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14217 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14218 [XPG3] (NL_LANGMAX): Likewise.
14219 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14220 [POSIX || XPG3] (NL_NMAX): Likewise.
14221 [POSIX || XPG3] (NL_SETMAX): Likewise.
14222 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14223 [XPG3] (NZERO): Likewise.
14224 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14225 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14226 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14227 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14228 (REG_ERANGE): Expect.
14229 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14231 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14232 Use (void) in prototype.
14233 [POSIX] (*_t): Allow.
14234 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14235 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14236 (WRDE_BADVAL): Expect.
14238 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14240 [XPG3 || XPG4] (O_RSYNC): Likewise.
14241 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14243 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14244 [XPG3 || XPG4] (sigqueue): Likewise.
14245 [XPG3 || XPG4] (sigtimedwait): Likewise.
14246 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14247 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14248 [XPG3 || XPG4] (vsnprintf): Likewise.
14249 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14251 [XPG3 || XPG4] (blksize_t): Likewise.
14252 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14254 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14255 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14256 [XPG3 || XPG4] (struct itimerspec): Likewise.
14257 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14258 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14259 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14260 [XPG3 || XPG4] (clockid_t): Likewise.
14261 [XPG3 || XPG4] (timer_t): Likewise.
14262 [XPG3 || XPG4] (clock_getres): Likewise.
14263 [XPG3 || XPG4] (clock_gettime): Likewise.
14264 [XPG3 || XPG4] (clock_settime): Likewise.
14265 [XPG3 || XPG4] (nanosleep): Likewise.
14266 [XPG3 || XPG4] (timer_create): Likewise.
14267 [XPG3 || XPG4] (timer_delete): Likewise.
14268 [XPG3 || XPG4] (timer_gettime): Likewise.
14269 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14270 [XPG3 || XPG4] (timer_settime): Likewise.
14271 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14272 [XPG3 || XPG4] (getlogin_r): Likewise.
14273 [XPG3 || XPG4] (pread): Likewise.
14274 [XPG3 || XPG4] (pthread_atfork): Likewise.
14275 [XPG3 || XPG4] (pwrite): Likewise.
14278 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14281 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14283 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14284 finalizing MALLSTREAM.
14286 * sysdeps/mach/hurd/syncfs.c: New file.
14288 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14291 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14292 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14293 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14294 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14295 (_nss_dns_gethostbyname4_r): Likewise.
14296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14297 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14299 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14302 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14304 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14306 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14307 * elf/cache.c (print_entry): Print ",AArch64" for
14310 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14311 * elf/cache.c (print_entry): Print ",hard-float" for
14314 2012-11-18 David S. Miller <davem@davemloft.net>
14316 With help from Joseph Myers.
14317 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14319 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14321 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14322 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14324 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14325 * math/libm-test.inc (y0_test): New tests.
14326 (y1_test): New tests.
14327 * sysdeps/i386/fpu/libm-test-ulps: Update.
14328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14331 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14333 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14335 * configure: Regenerated.
14337 2012-11-17 David S. Miller <davem@davemloft.net>
14340 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14341 nonzero exponents with absolute value below 0x1p-128 to +/-
14344 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14346 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14348 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14350 * posix/getconf-speclist.c: New file.
14351 * posix/posix-envs.def: Likewise.
14352 * posix/confstr.c (START_ENV_GROUP): New macro.
14353 (END_ENV_GROUP): Likewise.
14354 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14355 (KNOWN_PRESENT_ENV_STRING): Likewise.
14356 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14357 (UNKNOWN_ENVIRONMENT): Likewise.
14358 (confstr): Include posix-envs.def instead of handling
14359 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14360 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14361 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14362 (END_ENV_GROUP): Likewise.
14363 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14364 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14365 (UNKNOWN_ENVIRONMENT): Likewise.
14366 (__sysconf): Include posix-envs.def instead of handling associated
14367 cases directly here.
14368 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14369 preprocessing getconf-speclist.c rather than running getconf or
14370 generating empty file.
14372 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14374 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14376 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14379 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14381 2012-11-16 David S. Miller <davem@davemloft.net>
14383 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14384 smaller than LDBL_EPSILON/2.0L, just return xm1.
14386 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14388 * elf/tst-array1.c (init): Set constructor priority to 1000.
14389 (fini): Set destructor priority to 1000.
14390 * elf/tst-array2dep.c: Likewise.
14392 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14395 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14396 (_IO_new_file_xsputn): Also return EOF if none of the input
14397 data was written when overflow failed.
14398 * libio/iopadn.c (_IO_padn): Likewise.
14399 * libio/iowpadn.c (_IO_wpadn): Likewise.
14400 * stdio-common/tst-put-error.c: Add copyright notice.
14401 (do_test): Add case for printing padded string.
14402 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14403 _IO_padn returned error.
14404 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14405 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14408 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14410 * libio/libioP.h: Add comment note that the references to C++
14411 bits are now obsolete.
14413 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14415 * math/libm-test.inc (check_complex): Use asprintf.
14417 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14419 * debug/pcprofiledump.c (print_version): Update copyright year.
14420 * malloc/memusagestat.c (print_version): Likewise.
14422 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14425 * elf/Makefile (tests): Add tst-audit8.
14426 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14427 ($(objpfx)tst-audit8.out): New target.
14428 (tst-audit8-ENV): New variable.
14429 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14430 audit if l_reloc_result is NULL.
14431 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14432 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14433 * elf/tst-audit8.c: New file.
14435 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14437 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14438 * misc/Makefile (CFLAGS-select.c): Define.
14439 * posix/Makefile (CFLAGS-pause.c): Define.
14441 2012-11-13 David S. Miller <davem@davemloft.net>
14443 * crypt/Makefile: Move test targets after toplevel Rules
14444 inclusion. Grab any necessary sysdep routines when linking.
14445 * crypt/md5.c (md5_process_block): Remove define, we will always
14446 name it __md5_process_block.
14447 (md5_finish_ctx): Update md5_process_block call.
14448 (md5_stream): Likewise.
14449 (md5_process_bytes): Likewise.
14450 (md5_process_block): Rename to __md5_process_block and move to ...
14451 * crypt/md5-block.c: ... here.
14452 * crypt/sha256.c (sha256_process_block): Move to ...
14453 * crypt/sha256-block.c: ... here.
14454 * crypt/sha512.c (sha512_process_block): Move to ...
14455 * crypt/sha512-block.c: ... here.
14456 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14458 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14459 * sysdeps/sparc/sparc64/multiarch/Makefile
14460 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14462 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14463 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14465 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14466 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14467 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14468 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14469 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14470 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14471 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14472 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14480 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14482 * timezone/tzselect.ksh: Update from tzcode git revision
14483 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14484 * timezone/zdump.c: Likewise.
14485 * timezone/zic.c: Likewise.
14486 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14487 in TZVERSION setting, not $(PKGVERSION).
14488 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14489 REPORT_BUGS_TO settings.
14492 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14495 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14497 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14498 detection to immediately after _FP_ROUND().
14499 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14502 2012-11-11 David S. Miller <davem@davemloft.net>
14504 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14506 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14507 __close rather than their public counterparts.
14509 2012-11-10 Joseph Myers <joseph@codesourcery.com>
14511 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14513 [UNIX98] (sem_timedwait): Do not expect.
14514 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14515 [XPG4 || UNIX98] (sockatmark): Do not expect.
14516 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14517 (clock_getcpuclockid): Do not expect.
14518 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14519 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14521 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14522 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14523 [UNIX98] (vwscanf): Likewise.
14524 [UNIX98] (vswscanf): Likewise.
14526 2012-11-09 Joseph Myers <joseph@codesourcery.com>
14528 * timezone/version.h: Remove file.
14529 * timezone/README: Do not refer to version.h.
14530 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14531 $(objpfx)version.h.
14532 ($(objpfx)zdump.o): Likewise.
14533 ($(objpfx)version.h): New target.
14535 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14537 * timezone/README: Don't mention modification to tzselect.ksh.
14538 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14539 work on unmodified tzselect.ksh. Substitute version numbers in
14542 * Makefile (format-me): Remove.
14543 (INSTALL): Adjust indentation. Use commands directly instead of
14544 using $(format-me).
14546 * aclocal.m4 (ACX_PKGVERSION): New macro.
14547 (ACX_BUGURL): Likewise.
14548 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14549 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14550 (REPORT_BUGS_TO): Likewise.
14551 * configure: Regenerated.
14552 * config.h.in (PKGVERSION): New macro.
14553 (REPORT_BUGS_TO): Likewise.
14554 * config.make.in (PKGVERSION): New variable.
14555 (PKGVERSION_TEXI): Likewise.
14556 (REPORT_BUGS_TO): Likewise.
14557 (REPORT_BUGS_TEXI): Likewise.
14558 * Makefile (format-me): Use -I$(common-objpfx)manual.
14559 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14560 ($(common-objpfx)manual/%): New target.
14561 (manual/%): Remove target.
14562 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14563 (print_version): Use PKGVERSION.
14564 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14565 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14566 and REPORT_BUGS_TO.
14567 ($(objpfx)xtrace): Likewise.
14568 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14569 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14570 (print_version): Use PKGVERSION.
14571 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14572 (do_version): Use PKGVERSION.
14573 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14575 (common-ldd-rewrite): Likewise.
14576 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14577 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14578 (print_version): Use PKGVERSION.
14579 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14580 * elf/pldd.c (argp_program_bug_address): Remove variable.
14581 (more_help): New function.
14582 (argp): Use more_help.
14583 (print_version): Use PKGVERSION.
14584 * elf/sln.c (main): Use PKGVERSION.
14585 (usage): Use REPORT_BUGS_TO.
14586 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14587 (top level): Use PKGVERSION.
14588 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14589 (print_version): Use PKGVERSION.
14590 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14591 (print_version): Use PKGVERSION.
14592 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14593 (print_version): Use PKGVERSION.
14594 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14595 (print_version): Use PKGVERSION.
14596 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14597 (print_version): Use PKGVERSION.
14598 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14599 (print_version): Use PKGVERSION.
14600 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14602 ($(objpfx)memusage): Likewise.
14603 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14604 (do_version): Use PKGVERSION.
14605 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14606 (print_version): Use PKGVERSION.
14607 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14608 ($PKGVERSION): New variable.
14609 ($REPORT_BUGS_TO): Likewise.
14610 (usage): Use $REPORT_BUGS_TO.
14611 (top level): Use $PKGVERSION.
14612 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14613 ($(objpfx)pkgvers.texi): New rule.
14614 ($(objpfx)stamp-pkgvers): Likewise.
14615 * manual/install.texi: Include pkgvers.texi.
14616 (--with-pkgversion): Document new configure option.
14617 (--with-bugurl): Likewise.
14618 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14619 than necessarily for this particular distribution. Use
14620 REPORT_BUGS_TO for where to report bugs.
14621 * INSTALL: Regenerated.
14622 * manual/libc.texinfo: Include pkgvers.texi.
14623 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14624 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14625 (print_version): Use PKGVERSION.
14626 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14627 (print_version): Use PKGVERSION.
14628 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14629 (print_version): Use PKGVERSION.
14630 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14631 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14633 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14634 (print_version): Use PKGVERSION.
14635 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14636 (print_version): Use PKGVERSION.
14637 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14640 * timezone/checktab.awk: Update from tzcode 2012i.
14641 * timezone/ialloc.c: Likewise.
14642 * timezone/private.h: Likewise.
14643 * timezone/scheck.c: Likewise.
14644 * timezone/tzfile.h: Likewise.
14645 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14646 (TZVERSION): Hardcode tzcode version number.
14647 * timezone/zdump.c: Update from tzcode 2012i.
14648 * timezone/zic.c: Likewise.
14649 * timezone/version.h: New file.
14650 * timezone/README: Describe version.h. Update upstream location.
14653 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14654 (mktemp): Enable declaration.
14655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14672 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14673 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14674 for copies of such integer values.
14675 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14676 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14678 2012-11-09 Andreas Jaeger <aj@suse.de>
14680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14681 definitions and declarations that are provided by
14682 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14684 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14686 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14687 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14688 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14691 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14693 * elf/elf.h: Update comment before AArch64 relocations.
14695 2012-11-07 David S. Miller <davem@davemloft.net>
14697 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14698 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14699 (__start_context): Declare.
14700 (__makecontext_ret): Delete.
14701 (__makecontext): Hook up __start_context instead of
14703 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14704 (sysdep_routines): Add __start_context when in stdlib.
14706 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14708 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14709 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14710 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14712 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14713 (READELF): New variable. Use it instead of hardcoded "readelf".
14715 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14717 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14718 * sysdeps/x86/Makefile: Here.
14719 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14720 * sysdeps/x86/tst-xmmymm.sh: This.
14722 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14724 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14726 [UNIX98] (pthread_barrier_t): Do not expect.
14727 [UNIX98] (pthread_barrierattr_t): Likewise.
14728 [UNIX98] (pthread_spinlock_t): Likewise.
14729 [UNIX98] (pthread_barrier_destroy): Likewise.
14730 [UNIX98] (pthread_barrier_init): Likewise.
14731 [UNIX98] (pthread_barrier_wait): Likewise.
14732 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14733 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14734 [UNIX98] (pthread_barrierattr_init): Likewise.
14735 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14736 [UNIX98] (pthread_getcpuclockid): Likewise.
14737 [UNIX98] (pthread_mutex_timedlock): Likewise.
14738 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14739 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14740 [UNIX98] (pthread_sigmask): Likewise.
14741 [UNIX98] (pthread_spin_destroy): Likewise.
14742 [UNIX98] (pthread_spin_init): Likewise.
14743 [UNIX98] (pthread_spin_lock): Likewise.
14744 [UNIX98] (pthread_spin_trylock): Likewise.
14745 [UNIX98] (pthread_spin_unlock): Likewise.
14746 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14748 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14749 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14750 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14751 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14752 [XPG3 || XPG4] (pthread_key_t): Likewise.
14753 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14754 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14755 [XPG3 || XPG4] (pthread_once_t): Likewise.
14756 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14757 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14758 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14759 [XPG3 || XPG4] (pthread_t): Likewise.
14761 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14763 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14765 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14766 Change function return type to int.
14768 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14769 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14770 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14771 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14772 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14773 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14774 [!POSIX] (posix_madvise): Likewise.
14775 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14777 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14778 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14779 (mode_t): Likewise.
14780 (posix_mem_offset): Likewise.
14781 (posix_typed_mem_get_info): Likewise.
14782 (posix_typed_mem_open): Likewise.
14784 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14785 Change condition to [XOPEN2K8].
14787 * conform/conformtest.pl: Preprocess allow-header data with -x c
14788 instead of from stdin.
14789 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14790 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14791 [C99-based standards] (cerfc): Likewise.
14792 [C99-based standards] (cexp2): Likewise.
14793 [C99-based standards] (cexpm1): Likewise.
14794 [C99-based standards] (clog10): Likewise.
14795 [C99-based standards] (clog1p): Likewise.
14796 [C99-based standards] (clog2): Likewise.
14797 [C99-based standards] (clgamma): Likewise.
14798 [C99-based standards] (ctgamma): Likewise.
14799 [C99-based standards] (cerff): Likewise.
14800 [C99-based standards] (cerfcf): Likewise.
14801 [C99-based standards] (cexp2f): Likewise.
14802 [C99-based standards] (cexpm1f): Likewise.
14803 [C99-based standards] (clog10f): Likewise.
14804 [C99-based standards] (clog1pf): Likewise.
14805 [C99-based standards] (clog2f): Likewise.
14806 [C99-based standards] (clgammaf): Likewise.
14807 [C99-based standards] (ctgammaf): Likewise.
14808 [C99-based standards] (cerfl): Likewise.
14809 [C99-based standards] (cerfcl): Likewise.
14810 [C99-based standards] (cexp2l): Likewise.
14811 [C99-based standards] (cexpm1l): Likewise.
14812 [C99-based standards] (clog10l): Likewise.
14813 [C99-based standards] (clog1pl): Likewise.
14814 [C99-based standards] (clog2l): Likewise.
14815 [C99-based standards] (clgammal): Likewise.
14816 [C99-based standards] (ctgammal): Likewise.
14817 * conform/data/inttypes.h-data [C99-based standards]: Include
14818 stdint.h-data. Remove all expectations for stdint.h contents.
14819 [C99-based standards] (PRI*): Do not allow.
14820 [C99-based standards] (SCN*): Likewise.
14821 [C99-based standards] (*_t): Likewise.
14822 [C99-based-standards] (PRId8): Expect macro.
14823 [C99-based-standards] (PRIi8): Likewise.
14824 [C99-based-standards] (PRIo8): Likewise.
14825 [C99-based-standards] (PRIu8): Likewise.
14826 [C99-based-standards] (PRIx8): Likewise.
14827 [C99-based-standards] (PRIX8): Likewise.
14828 [C99-based-standards] (SCNd8): Likewise.
14829 [C99-based-standards] (SCNi8): Likewise.
14830 [C99-based-standards] (SCNo8): Likewise.
14831 [C99-based-standards] (SCNu8): Likewise.
14832 [C99-based-standards] (SCNx8): Likewise.
14833 [C99-based-standards] (PRIdLEAST8): Likewise.
14834 [C99-based-standards] (PRIiLEAST8): Likewise.
14835 [C99-based-standards] (PRIoLEAST8): Likewise.
14836 [C99-based-standards] (PRIuLEAST8): Likewise.
14837 [C99-based-standards] (PRIxLEAST8): Likewise.
14838 [C99-based-standards] (PRIXLEAST8): Likewise.
14839 [C99-based-standards] (SCNdLEAST8): Likewise.
14840 [C99-based-standards] (SCNiLEAST8): Likewise.
14841 [C99-based-standards] (SCNoLEAST8): Likewise.
14842 [C99-based-standards] (SCNuLEAST8): Likewise.
14843 [C99-based-standards] (SCNxLEAST8): Likewise.
14844 [C99-based-standards] (PRIdFAST8): Likewise.
14845 [C99-based-standards] (PRIiFAST8): Likewise.
14846 [C99-based-standards] (PRIoFAST8): Likewise.
14847 [C99-based-standards] (PRIuFAST8): Likewise.
14848 [C99-based-standards] (PRIxFAST8): Likewise.
14849 [C99-based-standards] (PRIXFAST8): Likewise.
14850 [C99-based-standards] (SCNdFAST8): Likewise.
14851 [C99-based-standards] (SCNiFAST8): Likewise.
14852 [C99-based-standards] (SCNoFAST8): Likewise.
14853 [C99-based-standards] (SCNuFAST8): Likewise.
14854 [C99-based-standards] (SCNxFAST8): Likewise.
14855 [C99-based-standards] (PRId16): Likewise.
14856 [C99-based-standards] (PRIi16): Likewise.
14857 [C99-based-standards] (PRIo16): Likewise.
14858 [C99-based-standards] (PRIu16): Likewise.
14859 [C99-based-standards] (PRIx16): Likewise.
14860 [C99-based-standards] (PRIX16): Likewise.
14861 [C99-based-standards] (SCNd16): Likewise.
14862 [C99-based-standards] (SCNi16): Likewise.
14863 [C99-based-standards] (SCNo16): Likewise.
14864 [C99-based-standards] (SCNu16): Likewise.
14865 [C99-based-standards] (SCNx16): Likewise.
14866 [C99-based-standards] (PRIdLEAST16): Likewise.
14867 [C99-based-standards] (PRIiLEAST16): Likewise.
14868 [C99-based-standards] (PRIoLEAST16): Likewise.
14869 [C99-based-standards] (PRIuLEAST16): Likewise.
14870 [C99-based-standards] (PRIxLEAST16): Likewise.
14871 [C99-based-standards] (PRIXLEAST16): Likewise.
14872 [C99-based-standards] (SCNdLEAST16): Likewise.
14873 [C99-based-standards] (SCNiLEAST16): Likewise.
14874 [C99-based-standards] (SCNoLEAST16): Likewise.
14875 [C99-based-standards] (SCNuLEAST16): Likewise.
14876 [C99-based-standards] (SCNxLEAST16): Likewise.
14877 [C99-based-standards] (PRIdFAST16): Likewise.
14878 [C99-based-standards] (PRIiFAST16): Likewise.
14879 [C99-based-standards] (PRIoFAST16): Likewise.
14880 [C99-based-standards] (PRIuFAST16): Likewise.
14881 [C99-based-standards] (PRIxFAST16): Likewise.
14882 [C99-based-standards] (PRIXFAST16): Likewise.
14883 [C99-based-standards] (SCNdFAST16): Likewise.
14884 [C99-based-standards] (SCNiFAST16): Likewise.
14885 [C99-based-standards] (SCNoFAST16): Likewise.
14886 [C99-based-standards] (SCNuFAST16): Likewise.
14887 [C99-based-standards] (SCNxFAST16): Likewise.
14888 [C99-based-standards] (PRId32): Likewise.
14889 [C99-based-standards] (PRIi32): Likewise.
14890 [C99-based-standards] (PRIo32): Likewise.
14891 [C99-based-standards] (PRIu32): Likewise.
14892 [C99-based-standards] (PRIx32): Likewise.
14893 [C99-based-standards] (PRIX32): Likewise.
14894 [C99-based-standards] (SCNd32): Likewise.
14895 [C99-based-standards] (SCNi32): Likewise.
14896 [C99-based-standards] (SCNo32): Likewise.
14897 [C99-based-standards] (SCNu32): Likewise.
14898 [C99-based-standards] (SCNx32): Likewise.
14899 [C99-based-standards] (PRIdLEAST32): Likewise.
14900 [C99-based-standards] (PRIiLEAST32): Likewise.
14901 [C99-based-standards] (PRIoLEAST32): Likewise.
14902 [C99-based-standards] (PRIuLEAST32): Likewise.
14903 [C99-based-standards] (PRIxLEAST32): Likewise.
14904 [C99-based-standards] (PRIXLEAST32): Likewise.
14905 [C99-based-standards] (SCNdLEAST32): Likewise.
14906 [C99-based-standards] (SCNiLEAST32): Likewise.
14907 [C99-based-standards] (SCNoLEAST32): Likewise.
14908 [C99-based-standards] (SCNuLEAST32): Likewise.
14909 [C99-based-standards] (SCNxLEAST32): Likewise.
14910 [C99-based-standards] (PRIdFAST32): Likewise.
14911 [C99-based-standards] (PRIiFAST32): Likewise.
14912 [C99-based-standards] (PRIoFAST32): Likewise.
14913 [C99-based-standards] (PRIuFAST32): Likewise.
14914 [C99-based-standards] (PRIxFAST32): Likewise.
14915 [C99-based-standards] (PRIXFAST32): Likewise.
14916 [C99-based-standards] (SCNdFAST32): Likewise.
14917 [C99-based-standards] (SCNiFAST32): Likewise.
14918 [C99-based-standards] (SCNoFAST32): Likewise.
14919 [C99-based-standards] (SCNuFAST32): Likewise.
14920 [C99-based-standards] (SCNxFAST32): Likewise.
14921 [C99-based-standards] (PRId64): Likewise.
14922 [C99-based-standards] (PRIi64): Likewise.
14923 [C99-based-standards] (PRIo64): Likewise.
14924 [C99-based-standards] (PRIu64): Likewise.
14925 [C99-based-standards] (PRIx64): Likewise.
14926 [C99-based-standards] (PRIX64): Likewise.
14927 [C99-based-standards] (SCNd64): Likewise.
14928 [C99-based-standards] (SCNi64): Likewise.
14929 [C99-based-standards] (SCNo64): Likewise.
14930 [C99-based-standards] (SCNu64): Likewise.
14931 [C99-based-standards] (SCNx64): Likewise.
14932 [C99-based-standards] (PRIdLEAST64): Likewise.
14933 [C99-based-standards] (PRIiLEAST64): Likewise.
14934 [C99-based-standards] (PRIoLEAST64): Likewise.
14935 [C99-based-standards] (PRIuLEAST64): Likewise.
14936 [C99-based-standards] (PRIxLEAST64): Likewise.
14937 [C99-based-standards] (PRIXLEAST64): Likewise.
14938 [C99-based-standards] (SCNdLEAST64): Likewise.
14939 [C99-based-standards] (SCNiLEAST64): Likewise.
14940 [C99-based-standards] (SCNoLEAST64): Likewise.
14941 [C99-based-standards] (SCNuLEAST64): Likewise.
14942 [C99-based-standards] (SCNxLEAST64): Likewise.
14943 [C99-based-standards] (PRIdFAST64): Likewise.
14944 [C99-based-standards] (PRIiFAST64): Likewise.
14945 [C99-based-standards] (PRIoFAST64): Likewise.
14946 [C99-based-standards] (PRIuFAST64): Likewise.
14947 [C99-based-standards] (PRIxFAST64): Likewise.
14948 [C99-based-standards] (PRIXFAST64): Likewise.
14949 [C99-based-standards] (SCNdFAST64): Likewise.
14950 [C99-based-standards] (SCNiFAST64): Likewise.
14951 [C99-based-standards] (SCNoFAST64): Likewise.
14952 [C99-based-standards] (SCNuFAST64): Likewise.
14953 [C99-based-standards] (SCNxFAST64): Likewise.
14954 [C99-based-standards] (PRIdMAX): Likewise.
14955 [C99-based-standards] (PRIiMAX): Likewise.
14956 [C99-based-standards] (PRIoMAX): Likewise.
14957 [C99-based-standards] (PRIuMAX): Likewise.
14958 [C99-based-standards] (PRIxMAX): Likewise.
14959 [C99-based-standards] (PRIXMAX): Likewise.
14960 [C99-based-standards] (SCNdMAX): Likewise.
14961 [C99-based-standards] (SCNiMAX): Likewise.
14962 [C99-based-standards] (SCNoMAX): Likewise.
14963 [C99-based-standards] (SCNuMAX): Likewise.
14964 [C99-based-standards] (SCNxMAX): Likewise.
14965 [C99-based-standards] (PRIdPTR): Likewise.
14966 [C99-based-standards] (PRIiPTR): Likewise.
14967 [C99-based-standards] (PRIoPTR): Likewise.
14968 [C99-based-standards] (PRIuPTR): Likewise.
14969 [C99-based-standards] (PRIxPTR): Likewise.
14970 [C99-based-standards] (PRIXPTR): Likewise.
14971 [C99-based-standards] (SCNdPTR): Likewise.
14972 [C99-based-standards] (SCNiPTR): Likewise.
14973 [C99-based-standards] (SCNoPTR): Likewise.
14974 [C99-based-standards] (SCNuPTR): Likewise.
14975 [C99-based-standards] (SCNxPTR): Likewise.
14976 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14978 * conform/data/stdint.h-data: Update comments to clarify
14980 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14982 [C99-based standards] (INT8_MAX): Likewise.
14983 [C99-based standards] (INT16_MIN): Likewise.
14984 [C99-based standards] (INT16_MAX): Likewise.
14985 [C99-based standards] (INT32_MIN): Likewise.
14986 [C99-based standards] (INT32_MAX): Likewise.
14987 [C99-based standards] (INT64_MIN): Likewise.
14988 [C99-based standards] (INT64_MAX): Likewise.
14989 [C99-based standards] (UINT8_MAX): Likewise.
14990 [C99-based standards] (UINT16_MAX): Likewise.
14991 [C99-based standards] (UINT32_MAX): Likewise.
14992 [C99-based standards] (UINT64_MAX): Likewise.
14993 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14994 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14995 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14996 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14997 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14998 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14999 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15000 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15001 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15002 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15003 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15004 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15005 [C99-based standards] (INT_FAST8_MIN): Likewise.
15006 [C99-based standards] (INT_FAST8_MAX): Likewise.
15007 [C99-based standards] (INT_FAST16_MIN): Likewise.
15008 [C99-based standards] (INT_FAST16_MAX): Likewise.
15009 [C99-based standards] (INT_FAST32_MIN): Likewise.
15010 [C99-based standards] (INT_FAST32_MAX): Likewise.
15011 [C99-based standards] (INT_FAST64_MIN): Likewise.
15012 [C99-based standards] (INT_FAST64_MAX): Likewise.
15013 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15014 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15015 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15016 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15017 [C99-based standards] (INTPTR_MIN): Likewise.
15018 [C99-based standards] (INTPTR_MAX): Likewise.
15019 [C99-based standards] (UINTPTR_MAX): Likewise.
15020 [C99-based standards] (INTMAX_MIN): Likewise.
15021 [C99-based standards] (INTMAX_MAX): Likewise.
15022 [C99-based standards] (UINTMAX_MAX): Likewise.
15023 [C99-based standards] (PTRDIFF_MIN): Likewise.
15024 [C99-based standards] (PTRDIFF_MAX): Likewise.
15025 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15026 [C99-based standards] (SIZE_MAX): Likewise.
15027 [C99-based standards] (WCHAR_MAX): Likewise.
15028 [C99-based standards] (WINT_MAX): Likewise.
15029 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15030 constraint on value.
15031 [C99-based standards] (WCHAR_MIN): Likewise.
15032 [C99-based standards] (WINT_MIN): Likewise.
15033 [C99-based standards] (*_t): Allow.
15034 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15035 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15036 Include math.h-data and complex.h-data. Remove all expectations
15037 of math.h and complex.h contents.
15038 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15040 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15041 (struct tm): Expect tag.
15042 [C99-based-standards] (wcstof): Expect function.
15043 [C99-based-standards] (wcstold): Likewise.
15044 [C99-based-standards] (wcstoll): Likewise.
15045 [C99-based-standards] (wcstoull): Likewise.
15046 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15047 macro-int-constant. Specify type.
15048 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15049 constraint on value.
15050 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15052 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15054 [ISO C standards]: Do not allow headers.
15055 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15056 wcs[abcdefghijklmnopqrstuvwxyz]*.
15057 [ISO C standards] (*_t): Do not allow.
15058 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15060 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15061 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15063 [ISO C standards]: Do not allow headers.
15064 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15065 is[abcdefghijklmnopqrstuvwxyz]*.
15066 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15067 to[abcdefghijklmnopqrstuvwxyz]*.
15068 [ISO C standards] (*_t): Do not allow.
15069 * conform/data/stdalign.h-data: New file.
15070 * conform/data/stdbool.h-data: Likewise.
15071 * conform/data/stdnoreturn.h-data: Likewise.
15073 2012-11-07 Roland McGrath <roland@hack.frob.com>
15076 * manual/filesys.texi (Directory Entries): Typo fix.
15077 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15079 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15081 * elf/elf.h (EM_AARCH64): New macro.
15082 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15083 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15084 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15085 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15086 (R_AARCH64_TLSDESC): Likewise.
15087 (NT_ARM_TLS): Likewise.
15088 (NT_ARM_HW_BREAK): Likewise.
15089 (NT_ARM_HW_WATCH): Likewise.
15091 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15094 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15095 (__ieee754_powl): Saturate nonzero exponents with absolute value
15096 below 0x1p-79 to +/- 0x1p-79.
15097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15098 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15099 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15100 nonzero exponents with absolute value below 0x1p-32 to +/-
15102 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15103 (__ieee754_powl): Saturate nonzero exponents with absolute value
15104 below 0x1p-79 to +/- 0x1p-79.
15105 * math/libm-test.inc (pow_test): Add more tests.
15107 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15109 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15110 _dl_s390_cap_flags with kernel. Increase string length.
15111 (_dl_s390_platforms): Add z196 and zEC12.
15113 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15115 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15116 Change XOPEN21K to XOPEN2K.
15118 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15120 * string/memmove.c: Use memcpy when possible.
15122 2012-11-06 Andreas Jaeger <aj@suse.de>
15124 * po/eo.po: Update from translation team.
15126 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15130 exponent and small x and y exponents, scale x or y up. Increase
15131 by 2 the exponent used in scaling up.
15132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15134 * math/libm-test.inc (fma_test): Add more tests.
15135 (fma_test_towardzero): Likewise.
15136 (fma_test_downward): Likewise.
15137 (fma_test_upward): Likewise.
15139 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15142 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15146 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15147 namespace for names of struct fields.
15148 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15150 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15151 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15153 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15156 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15158 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15160 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15164 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15167 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15171 definitely overflow as x * y not x * y + z.
15172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15174 * math/libm-test.inc (fma_test): Add more tests.
15175 (fma_test_towardzero): Likewise.
15176 (fma_test_downward): Likewise.
15177 (fma_test_upward): Likewise.
15179 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15183 * include/stub-tag.h: Remove file.
15184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15186 * manual/maint.texi (Porting): Don't reference it.
15187 * Makerules ($(objpfx)stubs): Likewise.
15188 * dirent/closedir.c: Don't include <stub-tag.h>.
15189 * dirent/dirfd.c: Likewise.
15190 * dirent/fdopendir.c: Likewise.
15191 * dirent/getdents.c: Likewise.
15192 * dirent/getdents64.c: Likewise.
15193 * dirent/opendir.c: Likewise.
15194 * dirent/readdir.c: Likewise.
15195 * dirent/readdir64.c: Likewise.
15196 * dirent/readdir64_r.c: Likewise.
15197 * dirent/readdir_r.c: Likewise.
15198 * dirent/rewinddir.c: Likewise.
15199 * dirent/seekdir.c: Likewise.
15200 * dirent/telldir.c: Likewise.
15201 * gmon/profil.c: Likewise.
15202 * grp/setgroups.c: Likewise.
15203 * inet/if_index.c: Likewise.
15204 * io/access.c: Likewise.
15205 * io/chdir.c: Likewise.
15206 * io/chmod.c: Likewise.
15207 * io/chown.c: Likewise.
15208 * io/close.c: Likewise.
15209 * io/dup.c: Likewise.
15210 * io/dup2.c: Likewise.
15211 * io/dup3.c: Likewise.
15212 * io/euidaccess.c: Likewise.
15213 * io/faccessat.c: Likewise.
15214 * io/fchdir.c: Likewise.
15215 * io/fchmod.c: Likewise.
15216 * io/fchmodat.c: Likewise.
15217 * io/fchown.c: Likewise.
15218 * io/fchownat.c: Likewise.
15219 * io/fcntl.c: Likewise.
15220 * io/flock.c: Likewise.
15221 * io/fstatfs.c: Likewise.
15222 * io/fstatfs64.c: Likewise.
15223 * io/fstatvfs.c: Likewise.
15224 * io/fstatvfs64.c: Likewise.
15225 * io/futimens.c: Likewise.
15226 * io/fxstat.c: Likewise.
15227 * io/fxstat64.c: Likewise.
15228 * io/fxstatat.c: Likewise.
15229 * io/fxstatat64.c: Likewise.
15230 * io/getcwd.c: Likewise.
15231 * io/isatty.c: Likewise.
15232 * io/lchmod.c: Likewise.
15233 * io/lchown.c: Likewise.
15234 * io/link.c: Likewise.
15235 * io/linkat.c: Likewise.
15236 * io/lseek.c: Likewise.
15237 * io/lseek64.c: Likewise.
15238 * io/lxstat64.c: Likewise.
15239 * io/mkdir.c: Likewise.
15240 * io/mkdirat.c: Likewise.
15241 * io/mkfifo.c: Likewise.
15242 * io/mkfifoat.c: Likewise.
15243 * io/open.c: Likewise.
15244 * io/open64.c: Likewise.
15245 * io/openat.c: Likewise.
15246 * io/openat64.c: Likewise.
15247 * io/pipe.c: Likewise.
15248 * io/pipe2.c: Likewise.
15249 * io/poll.c: Likewise.
15250 * io/posix_fadvise.c: Likewise.
15251 * io/posix_fadvise64.c: Likewise.
15252 * io/posix_fallocate.c: Likewise.
15253 * io/posix_fallocate64.c: Likewise.
15254 * io/read.c: Likewise.
15255 * io/readlink.c: Likewise.
15256 * io/readlinkat.c: Likewise.
15257 * io/rmdir.c: Likewise.
15258 * io/sendfile.c: Likewise.
15259 * io/sendfile64.c: Likewise.
15260 * io/statfs.c: Likewise.
15261 * io/statfs64.c: Likewise.
15262 * io/statvfs.c: Likewise.
15263 * io/statvfs64.c: Likewise.
15264 * io/symlink.c: Likewise.
15265 * io/symlinkat.c: Likewise.
15266 * io/ttyname.c: Likewise.
15267 * io/ttyname_r.c: Likewise.
15268 * io/umask.c: Likewise.
15269 * io/unlink.c: Likewise.
15270 * io/unlinkat.c: Likewise.
15271 * io/utime.c: Likewise.
15272 * io/utimensat.c: Likewise.
15273 * io/write.c: Likewise.
15274 * io/xmknod.c: Likewise.
15275 * io/xmknodat.c: Likewise.
15276 * io/xstat.c: Likewise.
15277 * io/xstat64.c: Likewise.
15278 * login/getpt.c: Likewise.
15279 * login/grantpt.c: Likewise.
15280 * login/unlockpt.c: Likewise.
15281 * math/e_acoshl.c: Likewise.
15282 * math/e_acosl.c: Likewise.
15283 * math/e_asinl.c: Likewise.
15284 * math/e_atan2l.c: Likewise.
15285 * math/e_atanhl.c: Likewise.
15286 * math/e_coshl.c: Likewise.
15287 * math/e_expl.c: Likewise.
15288 * math/e_fmodl.c: Likewise.
15289 * math/e_gammal_r.c: Likewise.
15290 * math/e_hypotl.c: Likewise.
15291 * math/e_j0l.c: Likewise.
15292 * math/e_j1l.c: Likewise.
15293 * math/e_jnl.c: Likewise.
15294 * math/e_lgammal_r.c: Likewise.
15295 * math/e_log10l.c: Likewise.
15296 * math/e_log2l.c: Likewise.
15297 * math/e_logl.c: Likewise.
15298 * math/e_powl.c: Likewise.
15299 * math/e_rem_pio2l.c: Likewise.
15300 * math/e_sinhl.c: Likewise.
15301 * math/e_sqrtl.c: Likewise.
15302 * math/fclrexcpt.c: Likewise.
15303 * math/fedisblxcpt.c: Likewise.
15304 * math/feenablxcpt.c: Likewise.
15305 * math/fegetenv.c: Likewise.
15306 * math/fegetexcept.c: Likewise.
15307 * math/fegetround.c: Likewise.
15308 * math/feholdexcpt.c: Likewise.
15309 * math/fesetenv.c: Likewise.
15310 * math/fesetround.c: Likewise.
15311 * math/feupdateenv.c: Likewise.
15312 * math/fgetexcptflg.c: Likewise.
15313 * math/fraiseexcpt.c: Likewise.
15314 * math/fsetexcptflg.c: Likewise.
15315 * math/ftestexcept.c: Likewise.
15316 * math/k_cosl.c: Likewise.
15317 * math/k_rem_pio2l.c: Likewise.
15318 * math/k_sinl.c: Likewise.
15319 * math/k_tanl.c: Likewise.
15320 * math/s_asinhl.c: Likewise.
15321 * math/s_atanl.c: Likewise.
15322 * math/s_cbrtl.c: Likewise.
15323 * math/s_erfl.c: Likewise.
15324 * math/s_expm1l.c: Likewise.
15325 * math/s_log1pl.c: Likewise.
15326 * math/s_tanhl.c: Likewise.
15327 * misc/acct.c: Likewise.
15328 * misc/brk.c: Likewise.
15329 * misc/chflags.c: Likewise.
15330 * misc/chroot.c: Likewise.
15331 * misc/fchflags.c: Likewise.
15332 * misc/fgetxattr.c: Likewise.
15333 * misc/flistxattr.c: Likewise.
15334 * misc/fremovexattr.c: Likewise.
15335 * misc/fsetxattr.c: Likewise.
15336 * misc/fsync.c: Likewise.
15337 * misc/ftruncate.c: Likewise.
15338 * misc/futimes.c: Likewise.
15339 * misc/futimesat.c: Likewise.
15340 * misc/getdomain.c: Likewise.
15341 * misc/getdtsz.c: Likewise.
15342 * misc/gethostid.c: Likewise.
15343 * misc/gethostname.c: Likewise.
15344 * misc/getloadavg.c: Likewise.
15345 * misc/getpagesize.c: Likewise.
15346 * misc/getsysstats.c: Likewise.
15347 * misc/getxattr.c: Likewise.
15348 * misc/gtty.c: Likewise.
15349 * misc/ioctl.c: Likewise.
15350 * misc/lgetxattr.c: Likewise.
15351 * misc/listxattr.c: Likewise.
15352 * misc/llistxattr.c: Likewise.
15353 * misc/lremovexattr.c: Likewise.
15354 * misc/lsetxattr.c: Likewise.
15355 * misc/lutimes.c: Likewise.
15356 * misc/madvise.c: Likewise.
15357 * misc/mincore.c: Likewise.
15358 * misc/mlock.c: Likewise.
15359 * misc/mlockall.c: Likewise.
15360 * misc/mmap.c: Likewise.
15361 * misc/mprotect.c: Likewise.
15362 * misc/msync.c: Likewise.
15363 * misc/munlock.c: Likewise.
15364 * misc/munlockall.c: Likewise.
15365 * misc/munmap.c: Likewise.
15366 * misc/preadv.c: Likewise.
15367 * misc/preadv64.c: Likewise.
15368 * misc/ptrace.c: Likewise.
15369 * misc/pwritev.c: Likewise.
15370 * misc/pwritev64.c: Likewise.
15371 * misc/readv.c: Likewise.
15372 * misc/reboot.c: Likewise.
15373 * misc/remap_file_pages.c: Likewise.
15374 * misc/removexattr.c: Likewise.
15375 * misc/revoke.c: Likewise.
15376 * misc/select.c: Likewise.
15377 * misc/setdomain.c: Likewise.
15378 * misc/setegid.c: Likewise.
15379 * misc/seteuid.c: Likewise.
15380 * misc/sethostid.c: Likewise.
15381 * misc/sethostname.c: Likewise.
15382 * misc/setregid.c: Likewise.
15383 * misc/setreuid.c: Likewise.
15384 * misc/setxattr.c: Likewise.
15385 * misc/sstk.c: Likewise.
15386 * misc/stty.c: Likewise.
15387 * misc/swapoff.c: Likewise.
15388 * misc/swapon.c: Likewise.
15389 * misc/sync.c: Likewise.
15390 * misc/syncfs.c: Likewise.
15391 * misc/syscall.c: Likewise.
15392 * misc/truncate.c: Likewise.
15393 * misc/ualarm.c: Likewise.
15394 * misc/usleep.c: Likewise.
15395 * misc/ustat.c: Likewise.
15396 * misc/utimes.c: Likewise.
15397 * misc/vhangup.c: Likewise.
15398 * misc/writev.c: Likewise.
15399 * posix/_exit.c: Likewise.
15400 * posix/alarm.c: Likewise.
15401 * posix/execve.c: Likewise.
15402 * posix/fexecve.c: Likewise.
15403 * posix/fork.c: Likewise.
15404 * posix/fpathconf.c: Likewise.
15405 * posix/getaddrinfo.c: Likewise.
15406 * posix/getegid.c: Likewise.
15407 * posix/geteuid.c: Likewise.
15408 * posix/getgid.c: Likewise.
15409 * posix/getgroups.c: Likewise.
15410 * posix/getlogin.c: Likewise.
15411 * posix/getlogin_r.c: Likewise.
15412 * posix/getpgid.c: Likewise.
15413 * posix/getpid.c: Likewise.
15414 * posix/getppid.c: Likewise.
15415 * posix/getresgid.c: Likewise.
15416 * posix/getresuid.c: Likewise.
15417 * posix/getsid.c: Likewise.
15418 * posix/getuid.c: Likewise.
15419 * posix/glob64.c: Likewise.
15420 * posix/nanosleep.c: Likewise.
15421 * posix/pathconf.c: Likewise.
15422 * posix/pause.c: Likewise.
15423 * posix/posix_madvise.c: Likewise.
15424 * posix/pread.c: Likewise.
15425 * posix/pread64.c: Likewise.
15426 * posix/pwrite.c: Likewise.
15427 * posix/pwrite64.c: Likewise.
15428 * posix/sched_getaffinity.c: Likewise.
15429 * posix/sched_getp.c: Likewise.
15430 * posix/sched_gets.c: Likewise.
15431 * posix/sched_primax.c: Likewise.
15432 * posix/sched_primin.c: Likewise.
15433 * posix/sched_rr_gi.c: Likewise.
15434 * posix/sched_setaffinity.c: Likewise.
15435 * posix/sched_setp.c: Likewise.
15436 * posix/sched_sets.c: Likewise.
15437 * posix/sched_yield.c: Likewise.
15438 * posix/setgid.c: Likewise.
15439 * posix/setlogin.c: Likewise.
15440 * posix/setpgid.c: Likewise.
15441 * posix/setresgid.c: Likewise.
15442 * posix/setresuid.c: Likewise.
15443 * posix/setsid.c: Likewise.
15444 * posix/setuid.c: Likewise.
15445 * posix/sleep.c: Likewise.
15446 * posix/spawni.c: Likewise.
15447 * posix/sysconf.c: Likewise.
15448 * posix/times.c: Likewise.
15449 * posix/wait.c: Likewise.
15450 * posix/wait3.c: Likewise.
15451 * posix/wait4.c: Likewise.
15452 * posix/waitpid.c: Likewise.
15453 * resolv/gai_sigqueue.c: Likewise.
15454 * resource/getpriority.c: Likewise.
15455 * resource/getrlimit.c: Likewise.
15456 * resource/getrusage.c: Likewise.
15457 * resource/nice.c: Likewise.
15458 * resource/setpriority.c: Likewise.
15459 * resource/setrlimit.c: Likewise.
15460 * resource/ulimit.c: Likewise.
15461 * rt/aio_cancel.c: Likewise.
15462 * rt/aio_fsync.c: Likewise.
15463 * rt/aio_read.c: Likewise.
15464 * rt/aio_sigqueue.c: Likewise.
15465 * rt/aio_suspend.c: Likewise.
15466 * rt/aio_write.c: Likewise.
15467 * rt/clock_getres.c: Likewise.
15468 * rt/clock_gettime.c: Likewise.
15469 * rt/clock_nanosleep.c: Likewise.
15470 * rt/clock_settime.c: Likewise.
15471 * rt/lio_listio.c: Likewise.
15472 * rt/mq_close.c: Likewise.
15473 * rt/mq_getattr.c: Likewise.
15474 * rt/mq_notify.c: Likewise.
15475 * rt/mq_open.c: Likewise.
15476 * rt/mq_receive.c: Likewise.
15477 * rt/mq_send.c: Likewise.
15478 * rt/mq_setattr.c: Likewise.
15479 * rt/mq_timedreceive.c: Likewise.
15480 * rt/mq_timedsend.c: Likewise.
15481 * rt/mq_unlink.c: Likewise.
15482 * rt/shm_open.c: Likewise.
15483 * rt/shm_unlink.c: Likewise.
15484 * rt/timer_create.c: Likewise.
15485 * rt/timer_delete.c: Likewise.
15486 * rt/timer_getoverr.c: Likewise.
15487 * rt/timer_gettime.c: Likewise.
15488 * rt/timer_settime.c: Likewise.
15489 * setjmp/__longjmp.c: Likewise.
15490 * setjmp/setjmp.c: Likewise.
15491 * signal/kill.c: Likewise.
15492 * signal/killpg.c: Likewise.
15493 * signal/raise.c: Likewise.
15494 * signal/sigaction.c: Likewise.
15495 * signal/sigaltstack.c: Likewise.
15496 * signal/sigblock.c: Likewise.
15497 * signal/sigignore.c: Likewise.
15498 * signal/sigintr.c: Likewise.
15499 * signal/signal.c: Likewise.
15500 * signal/sigpause.c: Likewise.
15501 * signal/sigpending.c: Likewise.
15502 * signal/sigqueue.c: Likewise.
15503 * signal/sigreturn.c: Likewise.
15504 * signal/sigset.c: Likewise.
15505 * signal/sigsetmask.c: Likewise.
15506 * signal/sigstack.c: Likewise.
15507 * signal/sigsuspend.c: Likewise.
15508 * signal/sigtimedwait.c: Likewise.
15509 * signal/sigvec.c: Likewise.
15510 * signal/sigwait.c: Likewise.
15511 * signal/sigwaitinfo.c: Likewise.
15512 * signal/sysv_signal.c: Likewise.
15513 * socket/accept.c: Likewise.
15514 * socket/accept4.c: Likewise.
15515 * socket/bind.c: Likewise.
15516 * socket/connect.c: Likewise.
15517 * socket/getpeername.c: Likewise.
15518 * socket/getsockname.c: Likewise.
15519 * socket/getsockopt.c: Likewise.
15520 * socket/isfdtype.c: Likewise.
15521 * socket/listen.c: Likewise.
15522 * socket/recv.c: Likewise.
15523 * socket/recvfrom.c: Likewise.
15524 * socket/recvmsg.c: Likewise.
15525 * socket/send.c: Likewise.
15526 * socket/sendmsg.c: Likewise.
15527 * socket/sendto.c: Likewise.
15528 * socket/setsockopt.c: Likewise.
15529 * socket/shutdown.c: Likewise.
15530 * socket/sockatmark.c: Likewise.
15531 * socket/socket.c: Likewise.
15532 * socket/socketpair.c: Likewise.
15533 * stdio-common/ctermid.c: Likewise.
15534 * stdio-common/cuserid.c: Likewise.
15535 * stdio-common/remove.c: Likewise.
15536 * stdio-common/rename.c: Likewise.
15537 * stdio-common/renameat.c: Likewise.
15538 * stdio-common/tempname.c: Likewise.
15539 * stdlib/getcontext.c: Likewise.
15540 * stdlib/makecontext.c: Likewise.
15541 * stdlib/setcontext.c: Likewise.
15542 * stdlib/swapcontext.c: Likewise.
15543 * stdlib/system.c: Likewise.
15544 * streams/fattach.c: Likewise.
15545 * streams/fdetach.c: Likewise.
15546 * streams/getmsg.c: Likewise.
15547 * streams/getpmsg.c: Likewise.
15548 * streams/putmsg.c: Likewise.
15549 * streams/putpmsg.c: Likewise.
15550 * sysdeps/unix/bsd/getpt.c: Likewise.
15551 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15552 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15553 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15556 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15558 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15559 * sysvipc/msgctl.c: Likewise.
15560 * sysvipc/msgget.c: Likewise.
15561 * sysvipc/msgrcv.c: Likewise.
15562 * sysvipc/msgsnd.c: Likewise.
15563 * sysvipc/semctl.c: Likewise.
15564 * sysvipc/semget.c: Likewise.
15565 * sysvipc/semop.c: Likewise.
15566 * sysvipc/semtimedop.c: Likewise.
15567 * sysvipc/shmat.c: Likewise.
15568 * sysvipc/shmctl.c: Likewise.
15569 * sysvipc/shmdt.c: Likewise.
15570 * sysvipc/shmget.c: Likewise.
15571 * termios/tcdrain.c: Likewise.
15572 * termios/tcflow.c: Likewise.
15573 * termios/tcflush.c: Likewise.
15574 * termios/tcgetattr.c: Likewise.
15575 * termios/tcgetpgrp.c: Likewise.
15576 * termios/tcsendbrk.c: Likewise.
15577 * termios/tcsetattr.c: Likewise.
15578 * termios/tcsetpgrp.c: Likewise.
15579 * time/adjtime.c: Likewise.
15580 * time/clock.c: Likewise.
15581 * time/getitimer.c: Likewise.
15582 * time/gettimeofday.c: Likewise.
15583 * time/setitimer.c: Likewise.
15584 * time/settimeofday.c: Likewise.
15585 * time/stime.c: Likewise.
15586 * time/time.c: Likewise.
15588 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15590 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15593 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15595 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15597 2012-11-03 Joseph Myers <joseph@codesourcery.com>
15600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15601 FE_TONEAREST before applying Dekker multiplication and Knuth
15602 addition. Clear inexact exceptions and check for exact zero
15603 results afterwards.
15604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15605 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15607 * math/libm-test.inc (fma_test): Add more tests.
15608 (fma_test_towardzero): Likewise.
15609 (fma_test_downward): Likewise.
15610 (fma_test_upward): Likewise.
15611 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15613 (libc_fesetround): New macro.
15614 (libc_fesetroundf): Likewise.
15615 (libc_fesetroundl): Likewise.
15616 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15618 (libc_fesetround_387): Likewise.
15619 (libc_fesetroundf): New macro.
15620 (libc_fesetround): Likewise.
15621 (libc_fesetroundl): Likewise.
15622 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15624 (libc_fesetroundf): New macro.
15625 (libc_fesetround): Likewise.
15626 (libc_fesetroundl): Likewise.
15627 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15628 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15629 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15631 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15632 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15634 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15635 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15637 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15641 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15642 integer constant usable in #if and use that to give value to enum
15644 (FE_DIVBYZERO): Likewise.
15645 (FE_UNDERFLOW): Likewise.
15646 (FE_OVERFLOW): Likewise.
15647 (FE_INVALID): Likewise.
15648 (FE_INVALID_SNAN): Likewise.
15649 (FE_INVALID_ISI): Likewise.
15650 (FE_INVALID_IDI): Likewise.
15651 (FE_INVALID_ZDZ): Likewise.
15652 (FE_INVALID_IMZ): Likewise.
15653 (FE_INVALID_COMPARE): Likewise.
15654 (FE_INVALID_SOFTWARE): Likewise.
15655 (FE_INVALID_SQRT): Likewise.
15656 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15657 (FE_TONEAREST): Likewise.
15658 (FE_TOWARDZERO): Likewise.
15659 (FE_UPWARD): Likewise.
15660 (FE_DOWNWARD): Likewise.
15661 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15662 (FE_DIVBYZERO): Likewise.
15663 (FE_OVERFLOW): Likewise.
15664 (FE_UNDERFLOW): Likewise.
15665 (FE_INEXACT): Likewise.
15666 (FE_TONEAREST): Likewise.
15667 (FE_DOWNWARD): Likewise.
15668 (FE_UPWARD): Likewise.
15669 (FE_TOWARDZERO): Likewise.
15670 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15671 (FE_UNDERFLOW): Likewise.
15672 (FE_OVERFLOW): Likewise.
15673 (FE_DIVBYZERO): Likewise.
15674 (FE_INVALID): Likewise.
15675 (FE_TONEAREST): Likewise.
15676 (FE_TOWARDZERO): Likewise.
15677 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15678 (FE_OVERFLOW): Likewise.
15679 (FE_UNDERFLOW): Likewise.
15680 (FE_DIVBYZERO): Likewise.
15681 (FE_INEXACT): Likewise.
15682 (FE_TONEAREST): Likewise.
15683 (FE_TOWARDZERO): Likewise.
15684 (FE_UPWARD): Likewise.
15685 (FE_DOWNWARD): Likewise.
15686 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15687 (FE_DIVBYZERO): Likewise.
15688 (FE_OVERFLOW): Likewise.
15689 (FE_UNDERFLOW): Likewise.
15690 (FE_INEXACT): Likewise.
15691 (FE_TONEAREST): Likewise.
15692 (FE_DOWNWARD): Likewise.
15693 (FE_UPWARD): Likewise.
15694 (FE_TOWARDZERO): Likewise.
15696 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15698 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15700 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15702 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15703 commands. Quote $PWD.
15704 (blacklist_exports): Don't use remove_newlines. Replace "declare
15706 (remove_newlines): Remove.
15708 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15710 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15711 * stdlib/stdlib.h (atof): Moved to ...
15712 * include/bits/stdlib-float.h: Here. New file.
15713 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15714 * stdlib/bits/stdlib-float.h: New file.
15715 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15720 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15722 * conform/conformtest.pl (@headers): Add fenv.h.
15723 * conform/data/fenv.h-data: New file.
15724 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15725 include of <math/fenv.h>.
15727 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15728 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15729 && !UNIX98]. Enables tests for XOPEN2K8.
15730 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15731 POSIX2008]: Likewise.
15733 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15734 (struct rusage): Do not expect type or its members.
15737 * math/math.h (FP_NAN): Define macro to integer constant usable in
15738 #if and use that to give value to enum constant.
15739 (FP_INFINITE): Likewise.
15740 (FP_ZERO): Likewise.
15741 (FP_SUBNORMAL): Likewise.
15742 (FP_NORMAL): Likewise.
15744 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15746 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15747 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15750 2012-11-02 Roland McGrath <roland@hack.frob.com>
15752 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15753 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15754 autoconf-time if not.
15755 * configure.in: Remove AC_PREREQ.
15757 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15759 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15760 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15761 of the internal implementation.
15763 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15765 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15766 except include of <misc/sys/syslog.h>.
15768 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15771 function returns with a NULL context exit with zero.
15773 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15775 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15777 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15779 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15780 (run_program_cmd): This.
15781 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15782 (tst_langinfo): New variable. Use it.
15784 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15786 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15787 floating point opcodes.
15789 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15791 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15794 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15796 * sysdeps/mach/hurd/powerpc: Remove directory.
15797 * sysdeps/mach/powerpc: Likewise.
15799 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15801 * scripts/check-local-headers.sh: Ignore c++ headers.
15803 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15805 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15806 __libc_cleanup_region_start argument.
15808 2012-11-01 Joseph Myers <joseph@codesourcery.com>
15812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15813 x * y using scaling, not as x * y + z.
15814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15816 * math/libm-test.inc (fma_test): Add more tests.
15817 (fma_test_towardzero): Likewise.
15818 (fma_test_downward): Likewise.
15819 (fma_test_upward): Likewise.
15821 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15823 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15825 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15827 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15830 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15832 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15834 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15841 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15844 Fix the order of the list for glibc 2.17.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15848 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15852 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15855 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15856 for low part of x being zero before using __atanl (y).
15857 * math/libm-test.inc (atan2_test): Add another test.
15859 * manual/install.texi (Configuring and compiling): Document
15860 general use of test-wrapper and test-wrapper-env.
15861 * INSTALL: Regenerated.
15863 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15864 (__fma): Do not extract and scale down low bits on after-rounding
15865 systems when result rounded to normal precision would have normal
15867 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15868 (__fmal): Do not extract and scale down low bits on after-rounding
15869 systems when result rounded to normal precision would have normal
15871 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15872 (__fmal): Do not extract and scale down low bits on after-rounding
15873 systems when result rounded to normal precision would have normal
15875 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15877 (fma_test): Add more tests.
15878 (fma_test_towardzero): Likewise.
15879 (fma_test_downward): Likewise.
15880 (fma_test_upward): Likewise.
15882 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15884 * sysdeps/i386/tininess.h: Renamed to ...
15885 * sysdeps/x86/tininess.h: This.
15886 * sysdeps/x86_64/tininess.h: Removed.
15888 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15890 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15891 input. Use $(build-program-cmd).
15892 ($(objpfx)tst-array1-static.out): Likewise.
15893 ($(objpfx)tst-array2.out): Likewise.
15894 ($(objpfx)tst-array3.out): Likewise.
15895 ($(objpfx)tst-array4.out): Likewise.
15896 ($(objpfx)tst-array5.out): Likewise.
15897 ($(objpfx)tst-array5-static.out): Likewise.
15899 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15901 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15904 * nss/nsswitch.h (nss_interface_function): Provide new
15905 macro for use with NSS functions.
15906 * grp/initgroups.c: Use new macro.
15907 * nss/getXXbyYY.c: Likewise.
15908 * nss/getXXbyYY_r.c: Likewise.
15909 * nss/getXXent.c: Likewise.
15910 * nss/getXXent_r.c: Likewise.
15911 * sysdeps/posix/getaddrinfo.c: Likewise.
15913 2012-10-30 Andreas Jaeger <aj@suse.de>
15915 * po/ru.po: Update Russion translation from translation project.
15917 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15922 result and shift together with sticky bit instead of replicating
15923 round-to-nearest rounding.
15924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15926 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15927 missing underflow exceptions.
15928 (fma_test_towardzero): Add more tests.
15929 (fma_test_downward): Likewise.
15930 (fma_test_upward): Likewise.
15933 * sysdeps/generic/tininess.h: New file.
15934 * sysdeps/i386/tininess.h: Likewise.
15935 * sysdeps/sh/tininess.h: Likewise.
15936 * sysdeps/x86_64/tininess.h: Likewise.
15937 * stdlib/tst-strtod-underflow.c: Likewise.
15938 * stdlib/tst-tininess.c: Likewise.
15939 * stdlib/strtod_l.c: Include <tininess.h>.
15940 (round_and_return): Do not set errno for exact underflow cases.
15941 Force an underflow exception when setting errno for underflow.
15942 Determine underflow based on rounding to normal precision if
15943 TININESS_AFTER_ROUNDING.
15944 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15945 ERANGE for exact underflow cases.
15946 * stdlib/Makefile (tests): Add tst-tininess and
15947 tst-strtod-underflow.
15948 ($(objpfx)tst-tininess): Use $(link-libm).
15949 ($(objpfx)tst-strtod-underflow): Likewise.
15951 2012-10-30 Andreas Jaeger <aj@suse.de>
15954 * elf/Makefile (tests): Remove conditional for have-initfini-array
15955 since this is now always required and the variable does not exist
15957 (tests-static): Likewise.
15958 (modules-names): Likewise.
15960 * po/eo.po: Add Esperanto translation from translation project.
15962 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15963 merged with constructor/destructor.
15964 (init_array): Likewise.
15965 * elf/tst-array2dep.c (fini_array): Likewise.
15966 (init_array): Likewise.
15968 2012-10-29 Mike Frysinger <vapier@gentoo.org>
15970 * manual/message.texi: Delete @cartouche tags.
15972 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15974 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15976 * sysdeps/mach/hurd/fsync.c: Likewise.
15978 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15979 [_POSIX_REALTIME_SIGNALS]: Change condition to
15980 [_POSIX_REALTIME_SIGNALS > 0].
15982 2012-10-27 Andreas Jaeger <aj@suse.de>
15984 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15985 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15987 [__WORDSIZE != 64]: Likewise.
15989 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15991 * iconvdata/tst-table.sh: Remove ${SHELL}.
15992 * iconvdata/tst-tables.sh: Likewise.
15994 2012-10-25 David S. Miller <davem@davemloft.net>
15996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15997 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16003 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16004 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16007 2012-10-25 Roland McGrath <roland@hack.frob.com>
16009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16010 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16013 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16014 Jim Blandy <jimb@codesourcery.com>
16016 * scripts/cross-test-ssh.sh: New file.
16017 * manual/install.texi (Configuring and compiling): Document use of
16019 * INSTALL: Regenerated.
16021 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16023 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16026 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16028 * Makeconfig (run-program-prefix): Fix comment.
16030 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16031 Jim Blandy <jimb@codesourcery.com>
16033 * Makeconfig (test-wrapper): New variable,
16034 (test-wrapper-env): Likewise.
16035 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16036 (run-built-tests): Define to yes.
16037 (run-program-prefix): Use $(test-wrapper).
16038 (built-program-cmd): Likewise.
16039 * Rules (make-test-out): Use $(test-wrapper-env) and
16040 $(host-built-program-cmd).
16041 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16042 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16044 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16045 $(test-wrapper-env) to tst-rtld-load-self.sh.
16046 ($(objpfx)order2.out): Use $(test-wrapper).
16047 ($(objpfx)tst-initorder.out): Likewise.
16048 ($(objpfx)tst-initorder2.out): Likewise.
16049 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16050 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16051 (test_wrapper_env): New variable. Use it to run ld.so.
16052 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16053 Use it to run ld.so.
16054 (test_wrapper_env): Likewise.
16055 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16056 $(test-wrapper) to run-iconv-test.sh.
16057 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16058 (ICONV): Use $test_wrapper.
16059 * posix/Makefile ($(objpfx)globtest.out): Pass
16060 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16061 globtest.sh, not $(run-program-prefix).
16062 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16063 (test_wrapper): Likewise.
16064 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16065 set together with run_via_rtld_prefix.
16066 (run_program_prefix): Define in terms of test_wrapper and
16067 run_via_rtld_prefix.
16069 2012-10-24 Roland McGrath <roland@hack.frob.com>
16071 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16072 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16076 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16077 Declare __clock_getres, __clock_gettime, __clock_settime,
16078 __clock_nanosleep, and __clock_getcpuclockid.
16079 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16080 Remove librt_hidden_def (clock_gettime).
16081 * sysdeps/unix/clock_gettime.c: Likewise.
16082 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16084 * rt/clock_getres.c: Define __clock_getres as an alias.
16085 * sysdeps/posix/clock_getres.c: Likewise.
16086 * rt/clock_settime.c: Define __clock_settime as an alias.
16087 * sysdeps/unix/clock_settime.c: Likewise.
16088 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16089 * sysdeps/unix/clock_nanosleep.c: Likewise.
16090 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16091 * rt/clock-compat.c: New file.
16092 * rt/Makefile (librt-routines): Add clock-compat and move
16093 $(clock-routines) to ...
16094 (routines): ... here, new variable.
16095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16096 Don't add get_clockfreq here.
16097 * rt/Versions (libc: GLIBC_2.17): New version set.
16098 Add clock_* symbols here.
16099 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16101 (GLIBC_2.17): Add clock_* symbols.
16102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16113 * NEWS: Mention the move.
16115 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16116 Use __open, __read, __close rather than their public counterparts.
16117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16118 (__get_clockfreq_via_cpuinfo): Likewise.
16119 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16120 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16122 * config.h.in (HAVE_IFUNC): New #undef.
16123 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16125 * configure: Regenerated.
16127 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16129 * configure.in: Move READELF check to start of file.
16130 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16131 libc_cv_asm_gnu_indirect_function in the process.
16132 * configure: Regenerated.
16134 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16136 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16137 send the output to /dev/null.
16138 (libc_cv_cc_with_libunwind): Likewise.
16139 (libc_cv_as_noexecstack): Likewise.
16140 * configure: Regenerate.
16142 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16144 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16146 * posix/globtest.sh (TMPDIR): Do not set.
16147 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16148 (testout): Likewise.
16150 2012-10-24 Andreas Jaeger <aj@suse.de>
16152 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16153 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16154 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16155 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16156 posix_fadvise64, posix_fallocate64.
16158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16159 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16160 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16162 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16164 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16167 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16168 <bits/fcntl-linux.h>.
16169 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16172 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16173 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16174 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16175 [__WORDSIZE != 64]: Likewise.
16177 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16179 * Makeconfig (run-built-tests): New variable.
16180 * Rules [$(cross-compiling) = yes]: Change condition to
16181 [$(run-built-tests) = no].
16182 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16183 to [$(run-built-tests) = yes].
16184 * elf/Makefile [$(cross-compiling) = no]: Likewise
16185 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16186 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16187 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16188 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16189 * io/Makefile [$(cross-compiling) = no]: Likewise.
16190 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16191 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16192 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16193 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16194 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16195 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16196 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16197 * string/Makefile [$(cross-compiling) = no]: Likewise.
16199 * posix/Makefile ($(objpfx)globtest.out): Pass
16200 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16201 $(rtld-installed-name).
16202 * posix/globtest.sh (elf_objpfx): Remove variable.
16203 (rtld_installed_name): Likewise.
16204 (library_path): Likewise.
16205 (run_program_prefix): New variable. Use for running globtest
16208 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16209 Joseph Myers <joseph@codesourcery.com>
16211 * Makeconfig (host-built-program-cmd): New variable.
16212 * elf/Makefile (tst-stackguard1-ARGS): Use
16213 $(host-built-program-cmd).
16214 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16215 (tst-spawn-ARGS): Likewise.
16216 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16218 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16219 Jim Blandy <jimb@codesourcery.com>
16221 * Makeconfig (run-via-rtld-prefix): New variable.
16222 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16223 (built-program-cmd): Likewise.
16225 2012-10-22 Andreas Jaeger <aj@suse.de>
16227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16228 __O_RSYNC if it exists, otherwise to O_SYNC.
16230 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16231 Joseph Myers <joseph@codesourcery.com>
16233 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16235 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16237 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16240 2012-10-22 Andreas Jaeger <aj@suse.de>
16242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16247 bits/fcntl-linux.h.
16249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16250 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16257 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16258 Joseph Myers <joseph@codesourcery.com>
16260 * config.make.in (NM): New variable.
16262 2012-10-21 Andreas Jaeger <aj@suse.de>
16264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16265 definitions and declarations that are provided by
16266 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16268 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16271 * elf/Makefile (tests-static): Add tst-leaks1-static.
16272 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16273 ($(objpfx)tst-leaks1-static): New rule.
16274 ($(objpfx)tst-leaks1-static-mem): Likewise.
16275 (tst-leaks1-static-ENV): New macro.
16276 * elf/dl-open.c (dl_open_worker): Check the main application
16277 only if SHARED is defined.
16278 * elf/tst-leaks1-static.c: New file.
16280 2012-10-20 Andreas Jaeger <aj@suse.de>
16282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16283 generic values for Linux.
16284 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16285 and declarations that are provided by <bits/fcntl-linux.h> and
16286 include <bits/fcntl-linux.h>.
16287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16290 2012-10-20 Roland McGrath <roland@hack.frob.com>
16292 * io/fcntl.h: Move include of <bits/types.h> to the top and
16293 include it unconditionally.
16295 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16297 * wcsmbs/Makefile (tests-ifunc): New variable.
16298 (tests): Add $(tests-ifunc).
16299 * wcsmbs/test-wcschr-ifunc.c: New file.
16300 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16301 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16302 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16303 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16304 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16306 * string/Makefile (tests-ifunc): New variable.
16307 (tests): Add $(tests-ifunc).
16308 * string/test-memccpy.c (TEST_NAME): New macro.
16309 * string/test-memchr.c (TEST_NAME): Likewise.
16310 * string/test-memcmp.c (TEST_NAME): Likewise.
16311 * string/test-memcpy.c (TEST_NAME): Likewise.
16312 * string/test-memmem.c (TEST_NAME): Likewise.
16313 * string/test-memmove.c (TEST_NAME): Likewise.
16314 * string/test-memset.c (TEST_NAME): Likewise.
16315 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16316 * string/test-stpcpy.c (TEST_NAME): Likewise.
16317 * string/test-stpncpy.c (TEST_NAME): Likewise.
16318 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16319 * string/test-strcasestr.c (TEST_NAME): Likewise.
16320 * string/test-strcat.c (TEST_NAME): Likewise.
16321 * string/test-strchr.c (TEST_NAME): Likewise.
16322 * string/test-strcmp.c(TEST_NAME): Likewise.
16323 * string/test-strcpy.c (TEST_NAME): Likewise.
16324 * string/test-strcspn.c (TEST_NAME): Likewise.
16325 * string/test-strlen.c (TEST_NAME): Likewise.
16326 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16327 * string/test-strncmp.c (TEST_NAME): Likewise.
16328 * string/test-strncpy.c (TEST_NAME): Likewise.
16329 * string/test-strnlen.c (TEST_NAME): Likewise.
16330 * string/test-strpbrk.c (TEST_NAME): Likewise.
16331 * string/test-strrchr.c (TEST_NAME): Likewise.
16332 * string/test-strspn.c (TEST_NAME): Likewise.
16333 * string/test-strstr.c (TEST_NAME): Likewise.
16334 * string/test-bcopy-ifunc.c: New file.
16335 * string/test-bzero-ifunc.c: Likewise.
16336 * string/test-memccpy-ifunc.c: Likewise.
16337 * string/test-memchr-ifunc.c: Likewise.
16338 * string/test-memcmp-ifunc.c: Likewise.
16339 * string/test-memcpy-ifunc.c: Likewise.
16340 * string/test-memmem-ifunc.c: Likewise.
16341 * string/test-memmove-ifunc.c: Likewise.
16342 * string/test-mempcpy-ifunc.c: Likewise.
16343 * string/test-memset-ifunc.c: Likewise.
16344 * string/test-rawmemchr-ifunc.c: Likewise.
16345 * string/test-stpcpy-ifunc.c: Likewise.
16346 * string/test-stpncpy-ifunc.c: Likewise.
16347 * string/test-strcasecmp-ifunc.c: Likewise.
16348 * string/test-strcasestr-ifunc.c: Likewise.
16349 * string/test-strcat-ifunc.c: Likewise.
16350 * string/test-strchr-ifunc.c: Likewise.
16351 * string/test-strchrnul-ifunc.c: Likewise.
16352 * string/test-strcmp-ifunc.c: Likewise.
16353 * string/test-strcpy-ifunc.c: Likewise.
16354 * string/test-strcspn-ifunc.c: Likewise.
16355 * string/test-strlen-ifunc.c: Likewise.
16356 * string/test-strncasecmp-ifunc.c: Likewise.
16357 * string/test-strncat-ifunc.c: Likewise.
16358 * string/test-strncmp-ifunc.c: Likewise.
16359 * string/test-strncpy-ifunc.c: Likewise.
16360 * string/test-strnlen-ifunc.c: Likewise.
16361 * string/test-strpbrk-ifunc.c: Likewise.
16362 * string/test-strrchr-ifunc.c: Likewise.
16363 * string/test-strspn-ifunc.c: Likewise.
16364 * string/test-strstr-ifunc.c: Likewise.
16366 * debug/Makefile (tests-ifunc): New variable.
16367 (tests): Add $(tests-ifunc).
16368 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16369 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16370 * debug/test-stpcpy_chk-ifunc.c: New file.
16371 * debug/test-strcpy_chk-ifunc.c: Likewise.
16373 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16376 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16377 header is not read in.
16379 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16381 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16382 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16383 directly. Pass built executable to script as
16384 $(built-program-cmd).
16385 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16386 $testprogram without using LD_LIBRARY_PATH and $ldso.
16388 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16389 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16390 $(rtld-installed-name).
16391 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16392 (rtld_installed_name): Likewise.
16393 (library_path): Likewise.
16394 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16395 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16396 $(run-program-prefix) to tst-tables.sh.
16397 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16398 it to run tst-table-from and tst-table-to.
16399 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16400 Pass it to tst-table.sh.
16401 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16402 $(run-program-prefix) to tst-gettext.sh.
16403 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16405 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16407 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16408 to run tst-gettext.
16409 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16410 to run tst-gettext2.
16411 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16412 to run tst-translit.
16413 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16414 $(run-program-prefix) to tst-mtrace.sh.
16415 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16417 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16418 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16419 $(rtld-installed-name).
16420 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16421 (rtld_installed_name): Likewise.
16422 (run_program_prefix): New variable. Use it to run wordexp-test.
16424 * Makeconfig (ARCH): Remove all definitions.
16425 (machine): Likewise.
16426 [ARCH]: Remove conditional code.
16427 [!objdir]: Give error.
16428 [!objdir] (objpfx): Remove.
16429 [!objdir] (common-objpfx): Likewise.
16430 [!objdir] (common-objdir): Likewise.
16431 * configure.in (config_makefile): Remove. Hardcode Makefile in
16432 AC_CONFIG_FILES call.
16433 * configure: Regenerated.
16436 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16438 (testout): Likewise.
16440 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16441 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16442 $(rtld-installed-name).
16443 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16444 (rtld_installed_name): Likwise.
16445 (runit): Remove function.
16446 (run_getconf): New variable, Use it for running getconf binary.
16448 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16451 * string/test-memmem.c (check_result): New function.
16452 (do_one_test): Use it.
16453 (check1): New function.
16454 (test_main): Use it.
16456 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16458 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16460 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16462 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16463 (_G_LSEEK64): Likewise.
16464 (_G_MMAP64): Likewise.
16465 (_G_FSTAT64): Likewise.
16466 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16467 (_G_LSEEK64): Likewise.
16468 (_G_MMAP64): Likewise.
16469 (_G_FSTAT64): Likewise.
16470 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16471 unconditional. Call __mmap64 directly.
16472 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16473 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16474 __lseek64 directly.
16475 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16476 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16478 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16479 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16480 __lseek64 directly.
16481 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16482 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16483 __lseek64 directly.
16484 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16485 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16486 __lseek64 directly.
16487 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16488 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16489 __fxstat64 directly.
16490 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16491 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16493 (freopen64) [!_G_OPEN64]: Remove conditional code.
16494 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16496 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16497 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16499 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16500 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16502 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16503 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16505 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16506 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16508 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16509 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16511 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16512 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16514 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16516 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16519 * manual/memory.texi (Malloc Tunable Parameters): Add note
16520 about free list pointers overwriting some perturb bytes.
16521 Wording suggested by Roland McGrath.
16523 2012-10-17 Joseph Myers <joseph@codesourcery.com>
16525 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16526 (lgamma_test): Likewise.
16527 (tgamma_test): Likewise.
16529 2012-10-16 Florian Weimer <fweimer@redhat.com>
16532 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16533 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16535 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16537 * NEWS: Mention BZ #14716.
16538 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16539 when removing AVAILABLE1_USES_J macro.
16541 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16543 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16544 (__bswap_64): __uint64_t for unsigned 64-bit int.
16546 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16548 * include/string.h (memmem): Declare libc hidden alias.
16549 * string/memmem.c (memmem): Define libc hidden alias.
16550 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16551 __read, __close instead of open, read, close.
16553 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16556 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16558 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16559 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16560 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16562 (__rawmemchr_sse2): Likewise.
16563 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16564 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16565 (__strchr_sse2): Likewise.
16566 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16567 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16568 (__strcasecmp_sse2): Likewise.
16569 (__strncasecmp_sse2): Likewise.
16570 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16571 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16572 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16573 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16574 (__strrchr_sse2): Likewise.
16575 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16577 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16578 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16579 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16580 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16581 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16582 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16583 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16584 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16585 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16586 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16587 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16588 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16589 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16590 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16591 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16592 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16593 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16594 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16595 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16596 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16597 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16598 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16599 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16600 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16601 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16602 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16603 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16604 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16605 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16606 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16608 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16610 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16611 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16612 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16613 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16615 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16617 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16618 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16619 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16620 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16622 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16623 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16624 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16625 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16626 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16627 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16628 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16629 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16630 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16631 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16632 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16633 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16634 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16635 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16636 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16638 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16639 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16642 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16643 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16644 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16645 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16647 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16648 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16649 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16650 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16651 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16652 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16653 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16654 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16655 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16662 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16664 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16665 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16666 * include/ifunc-impl-list.h: New file.
16667 * misc/ifunc-impl-list.c: Likewise.
16668 * misc/Makefile (routines): Add ifunc-impl-list.
16669 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16670 * string/test-string.h: Include <ifunc-impl-list.h>.
16671 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16672 impl_array): New variables.
16673 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16675 (test_init): Call __libc_ifunc_impl_list to initialize
16676 func_list if TEST_IFUNC and TEST_NAME are defined.
16678 * string/Makefile (strop-tests): Add bcopy and bzero.
16679 * string/test-bcopy.c: New file.
16680 * string/test-bzero.c: Likewise.
16681 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16683 * string/test-memset.c: Support bzero test if TEST_BZERO is
16685 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16687 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16689 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16692 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16694 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16695 * configure: Regenerated.
16697 * Makeconfig (+link-static-before-libc): Don't include
16698 $(link-static-libc).
16700 * libio/libio.h (_IO_pos_t): Remove.
16702 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16704 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16709 * crypt/crypt-entry.c: Include fips-private.h.
16710 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16711 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16712 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16713 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16715 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16717 * crypt/crypt-private.h: Include stdbool.h.
16718 (_ufc_setup_salt_r): Return bool.
16719 * crypt/crypt-entry.c: Include errno.h.
16720 (__crypt_r): Return NULL with EINVAL for bad salt.
16721 * crypt/crypt_util.c (bad_for_salt): New.
16722 (_ufc_setup_salt_r): Check that salt is long enough and within
16723 the specified alphabet.
16724 * crypt/badsalttest.c: New file.
16725 * crypt/Makefile (tests): Add it.
16726 ($(objpfx)badsalttest): New.
16728 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16730 * NEWS: Add entry for BZ #14602.
16732 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16734 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16736 * math/libm-test.inc: Update comment listing what functions and
16738 (isgreater_test): New function.
16739 (isgreaterequal_test): Likewise.
16740 (isless_test): Likewise.
16741 (islessequal_test): Likewise.
16742 (islessgreater_test): Likewise.
16743 (isunordered_test): Likewise.
16744 (main): Call the new functions.
16746 2012-10-09 Roland McGrath <roland@hack.frob.com>
16748 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16749 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16750 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16751 * sysdeps/i386/configure: Regenerated.
16752 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16753 * sysdeps/mach/configure: Regenerated.
16754 * sysdeps/mach/hurd/configure: Regenerated.
16755 * sysdeps/powerpc/configure: Regenerated.
16756 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16757 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16758 * sysdeps/s390/s390-32/configure: Regenerated.
16759 * sysdeps/s390/s390-64/configure: Regenerated.
16760 * sysdeps/sh/configure: Regenerated.
16761 * sysdeps/sparc/configure: Regenerated.
16762 * sysdeps/unix/sysv/linux/configure: Regenerated.
16763 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16764 * sysdeps/x86_64/configure: Regenerated.
16766 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16767 defined. Don't check if MAP is NULL.
16769 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16771 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16772 (_G_stat64): Likewise.
16773 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16774 (_G_stat64): Likewise.
16775 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16776 instead of struct _G_stat64.
16777 * libio/fileops.c (mmap_remap_check): Likewise.
16778 (decide_maybe_mmap): Likewise.
16779 (_IO_new_file_seekoff): Likewise.
16780 (_IO_file_stat): Likewise.
16781 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16783 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16784 instead of struct _G_stat64.
16785 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16787 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16790 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16792 (CHECK_EOL): New macro.
16793 (two_way_short_needle): Check beginning of haystack for EOL. Use
16795 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16796 Replace with CHECK_EOL.
16797 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16798 Replace with CHECK_EOL.
16800 2012-10-08 Joseph Myers <joseph@codesourcery.com>
16802 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16804 * math/libm-test.inc: Update comment listing what functions and
16806 (finite_test): New function.
16807 (isinf_test): Likewise.
16808 (isnan_test): Likewise.
16809 (fpclassify_test): Test subnormal input.
16810 (isfinite_test): Likewise.
16811 (isnormal_test): Likewise.
16812 (main): Call the new functions.
16814 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16817 * Makerules (%.dynsym): Force C locale when running
16818 $(OBJDUMP) --dynamic-syms.
16820 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16822 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16825 2012-10-06 David S. Miller <davem@davemloft.net>
16827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16828 upper 32-bits of the length value in %o2 since we use branch-on-register
16829 tests which consider the entire 64-bit register.
16831 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16833 * string/test-strstr.c (check2): Add a test for page boundary.
16835 2012-10-05 David S. Miller <davem@davemloft.net>
16837 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16840 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16843 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16844 and bzero when HWCAP_SPARC_CRYPTO is present.
16846 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16849 * string/test-strstr.c (check2): New function.
16850 (test_main): Call check2.
16852 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16854 * string/bug-strcasestr1.c (do_test): Moved to ...
16855 * string/test-strcasestr.c (check1): Here. New function.
16856 (do_one_test): Break out result checking code into ...
16857 (check_result): This. New function.
16858 (do_one_test): Call check_result.
16859 (test_main): Call check1.
16860 * string/bug-strchr1.c (do_test): Moved to ...
16861 * string/test-strchr.c (check1): Here. New function.
16862 (do_one_test): Break out result checking code into ...
16863 (check_result): This. New function.
16864 (do_one_test): Call check_result.
16865 (test_main): Call check1.
16866 * string/bug-strstr1.c (main): Moved to ...
16867 * string/test-strstr.c (check1): Here. New function.
16868 (do_one_test): Break out result checking code into ...
16869 (check_result): This. New function.
16870 (do_one_test): Call check_result.
16871 (test_main): Call check1.
16872 * string/bug-strcasestr1.c: Removed.
16873 * string/bug-strchr1.c: Likewise.
16874 * string/bug-strstr1.c: Likewise.
16876 * elf/Makefile (dl-routines): Add hwcaps.
16877 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16878 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16879 (_dl_important_hwcaps): Moved to ...
16880 * elf/dl-hwcaps.c: Here. New file.
16881 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16884 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16885 if IS_IN_rtld isn't defined.
16887 * elf/dl-support.c (_dl_sysinfo_map): New.
16888 Include "get-dynamic-info.h" and "setup-vdso.h".
16889 (_dl_non_dynamic_init): Call setup_vdso.
16890 * elf/dynamic-link.h: Don't include <assert.h>.
16891 (elf_get_dynamic_info): Moved to ...
16892 * elf/get-dynamic-info.h: Here. New file.
16893 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16894 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16895 * elf/setup-vdso.h: Here. New file.
16896 * elf/rtld.c: Include "setup-vdso.h".
16897 (dl_main): Call setup_vdso.
16899 2012-10-05 Joseph Myers <joseph@codesourcery.com>
16901 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16902 creal in comment listing functions tested. List finite, isinf,
16903 isnan, isless, islessequal, isgreater, isgreaterequal,
16904 islessgreater, isunordered, lgamma_r and pow10 as functions and
16905 macros not tested. Mention which functions not tested are aliases
16906 for other functions. Fix typo. Note that signs of NaNs are not
16909 * scripts/config.guess: Update from config.git.
16910 * scripts/config.sub: Likewise.
16912 2012-10-04 Roland McGrath <roland@hack.frob.com>
16914 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16915 * misc/madvise.c (madvise): Renamed to __madvise.
16916 Make madvise a weak alias.
16917 * include/sys/mman.h: Declare __madvise.
16918 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16919 * sysdeps/unix/syscalls.list
16920 (madvise): Make __madvise the strong name, and madvise a weak alias.
16921 * sysdeps/unix/sysv/linux/syscalls.list
16922 (madvise, mmap): Remove redundant entries.
16923 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16924 * malloc/malloc.c (mtrim): Likewise.
16925 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16927 2012-10-03 Roland McGrath <roland@hack.frob.com>
16929 * sysdeps/mach/hurd/dl-cache.c: File removed.
16930 * config.h.in (USE_LDCONFIG): New #undef.
16931 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16932 * configure: Regenerated.
16933 * elf/Makefile (dl-routines): Add dl-cache only under
16934 [$(use-ldconfig) = yes].
16935 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16936 cache on [USE_LDCONFIG].
16937 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16939 * elf/rtld.c (dl_main): Likewise.
16941 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16943 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16944 _SC_LEVEL4_CACHE_LINESIZE.
16946 2012-10-03 Roland McGrath <roland@hack.frob.com>
16948 * sysdeps/unix/bsd/confstr.h: File removed.
16950 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
16952 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16955 2012-10-02 Roland McGrath <roland@hack.frob.com>
16957 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16958 Make 'mapoff' field ElfW(Off) rather than off_t.
16960 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16962 * nscd/Makefile: Remove nscd-cflags and all its users.
16963 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16964 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16967 * malloc.c (malloc_printerr): Clarify error message.
16969 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16973 Set bit_FMA_Usable if FMA is supported.
16974 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16976 (bit_FMA4_Usable): Updated.
16977 (index_FMA_Usable): New macro.
16978 (CPUID_FMA): Likewise
16979 (HAS_FMA): Defined with bit_FMA_Usable.
16981 2012-10-01 Roland McGrath <roland@hack.frob.com>
16983 * bits/types.h (__swblk_t): Type removed.
16984 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16985 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16987 (__SWBLK_T_TYPE): Likewise.
16988 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16989 (__SWBLK_T_TYPE): Likewise.
16990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16991 (__SWBLK_T_TYPE): Likewise.
16992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16993 (__SWBLK_T_TYPE): Likewise.
16995 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
16996 Honza Horak <hhorak@redhat.com>
16998 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16999 (xdr_mapname): Use YPMAXMAP as maxsize.
17000 (xdr_peername): Use YPMAXPEER as maxsize.
17001 (xdr_keydat): Use YPAXRECORD as maxsize.
17002 (xdr_valdat): Use YPMAXRECORD as maxsize.
17004 2012-10-01 Roland McGrath <roland@hack.frob.com>
17006 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17008 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17009 * csu/init-first.c: ... here.
17010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17011 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17012 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17013 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17014 * sysdeps/i386/init-first.c: File removed.
17015 * sysdeps/sh/init-first.c: File removed.
17017 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17021 if x * y might underflow to zero and z is zero.
17022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17024 * math/libm-test.inc (min_subnorm_value): New variable.
17025 (fma_test): Add more tests.
17026 (fma_test_towardzero): Likewise.
17027 (fma_test_downward): Likewise
17028 (fma_test_upward): Likewise.
17029 (initialize): Set min_subnorm_value.
17031 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17036 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17037 mode for addition resulting in exact zero.
17038 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17043 * math/libm-test.inc (fma_test): Add more tests.
17044 (fma_test_towardzero): New function.
17045 (fma_test_downward): Likewise.
17046 (fma_test_upward): Likewise.
17047 (main): Call the new functions.
17049 2012-09-28 David S. Miller <davem@davemloft.net>
17051 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17053 2012-09-28 Roland McGrath <roland@hack.frob.com>
17055 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17056 instead of SIGALRM.
17058 * sysdeps/gnu/_G_config.h: Moved to ...
17059 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17060 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17061 * sysdeps/generic/_G_config.h: ... here.
17063 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17065 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17067 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17068 Conditionalize target on [libnss_test1.so-version].
17070 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17072 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17073 (elfobjdir): Move out of conditionals.
17075 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17076 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17077 (__nss_lookup_function): Conditionalize label remove_from_tree on
17078 [!DO_STATIC_NSS || SHARED], matching its only use.
17080 2012-09-28 David S. Miller <davem@davemloft.net>
17082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17083 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17085 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17087 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17089 when HWCAP_SPARC_CRYPTO is present.
17091 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17093 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17095 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17098 * stdio-common/vfprintf.c (process_string_arg): Revert
17101 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17103 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17105 * stdio-common/tst-sprintf.c: Include <locale.h>
17106 (main): Test sprintf's handling of incomplete multibyte
17109 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17111 * elf/dl-runtime.c (VERSYMIDX): Removed.
17112 * elf/dl-version.c (VERSYMIDX): Likewise.
17113 * elf/do-rel.h (VERSYMIDX): Likewise.
17114 (VALIDX): Likewise.
17115 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17116 * elf/rtld.c (VALIDX): Likewise.
17117 (ADDRIDX): Likewise.
17118 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17119 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17120 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17121 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17122 (VALIDX): Likewise.
17123 (ADDRIDX): Likewise.
17125 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17127 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17129 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17132 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17134 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17135 addresses are in the same scope as 192.0.2/24.
17136 * posix/gai.conf: Document new scope table defaults.
17138 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17141 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17142 for ftell. Compute offsets from write pointers instead.
17143 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17145 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17148 * libio/Makefile (tests): New test case tst-fseek.
17149 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17150 combination works in wide mode.
17151 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17152 state when the external buffer state changes.
17154 2012-09-27 David S. Miller <davem@davemloft.net>
17157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17158 pass reloc->r_addend in as the 'high' argument to
17159 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17163 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17165 * rt/tst-aio2.c: Include <pthread.h>.
17166 * rt/tst-aio3.c: Likewise.
17168 2012-09-27 Steve Ellcey <sellcey@mips.com>
17170 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17172 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17174 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17175 contents on [SHARED].
17177 2012-09-26 Marek Polacek <polacek@redhat.com>
17181 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17182 for C++ and GCC <4.3 as well as for non GCC compilers.
17184 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17188 2012-09-25 Roland McGrath <roland@hack.frob.com>
17190 * Makefile.in (all, install): Declare with .PHONY.
17191 Reported by Michael Hope <michael.hope@linaro.org>.
17193 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17195 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17196 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17198 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17200 (sydep_routines): Add the new and the internal functions.
17201 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17202 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17204 (GLIBC_2.17): Add the new function.
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17206 (GLIBC_2.17): Likewise.
17207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17208 (GLIBC_2.17): Likewise.
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17210 (GLIBC_2.17): Likewise.
17211 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17213 2012-09-25 Alan Modra <amodra@gmail.com>
17215 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17216 Add release barrier before setting once_control to say
17217 initialisation is done. Add hints on lwarx. Use macro in
17219 (clear_once_control): Add release barrier.
17221 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17224 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17226 * math/s_clog10.c (__clog10): Likewise.
17227 * math/s_clog10f.c (__clog10f): Likewise.
17228 * math/s_clog10l.c (__clog10l): Likewise.
17229 * math/s_clogf.c (__clogf): Likewise.
17230 * math/s_clogl.c (__clogl): Likewise.
17231 * math/Makefile (libm-calls): Add x2y2m1.
17232 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17233 (__x2y2m1): Likewise.
17234 (__x2y2m1l): Likewise.
17235 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17236 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17239 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17240 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17241 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17242 * sysdeps/i386/fpu/libm-test-ulps: Update.
17243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17246 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17247 int as type of variable DEPTH.
17248 (glob): Use size_t instead of int as type of variables NEWCOUNT
17251 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17253 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17254 Add s_sincosf-sse2.
17255 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17256 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17257 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17258 macros for using routine as __sincosf_ia32.
17259 Use macro for function declaration and weak_alias.
17260 * sysdeps/i386/fpu/libm-test-ulps: Update.
17262 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17265 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17266 subnormal argument.
17267 * math/s_cexpf.c (__cexpf): Likewise.
17268 * math/s_csinf.c (__csinf): Likewise.
17269 * math/s_csinhf.c (__csinhf): Likewise.
17270 * math/s_ctanf.c (__ctanf): Likewise.
17271 * math/s_ctanhf.c (__ctanhf): Likewise.
17272 * math/s_ccosh.c (__ccoshf): Likewise.
17273 * math/s_cexp.c (__cexpl): Likewise.
17274 * math/s_csin.c (__csin): Likewise.
17275 * math/s_csinh.c (__csinh): Likewise.
17276 * math/s_ctan.c (__ctan): Likewise.
17277 * math/s_ctanh.c (ctanh): Likewise.
17278 * math/s_ccoshl.c (__ccoshl): Likewise.
17279 * math/s_cexpl.c (__cexpl): Likewise.
17280 * math/s_csinl.c (__csinl): Likewise.
17281 * math/s_csinhl.c (__csinhl): Likewise.
17282 * math/s_ctanl.c (__ctanl): Likewise.
17283 * math/s_ctanhl.c (__ctanhl): Likewise.
17285 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17287 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17288 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17289 (_IO_off_t): Define to __off_t, not _G_off_t.
17290 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17291 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17292 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17293 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17294 type of __dummy and __dummy2 fields.
17295 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17296 (_G_ssize_t): Likewise.
17297 (_G_off_t): Likewise.
17298 (_G_pid_t): Likewise.
17299 (_G_uid_t): Likewise.
17300 (_G_wchar_t): Likewise.
17301 (_G_wint_t): Likewise.
17302 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17303 (_G_ssize_t): Likewise.
17304 (_G_off_t): Likewise.
17305 (_G_pid_t): Likewise.
17306 (_G_uid_t): Likewise.
17307 (_G_wchar_t): Likewise.
17308 (_G_wint_t): Likewise.
17309 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17310 (_G_ssize_t): Likewise.
17311 (_G_off_t): Likewise.
17312 (_G_pid_t): Likewise.
17313 (_G_uid_t): Likewise.
17314 (_G_wchar_t): Likewise.
17315 (_G_wint_t): Likewise.
17317 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17319 * malloc/arena.c: Include malloc-sysdep.h.
17320 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17321 is sufficient to shrink the heap or an unmap is needed.
17322 * sysdeps/generic/malloc-sysdep.h: New file. Define
17323 new function check_may_shrink_heap.
17324 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17325 new function check_may_shrink_heap.
17327 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17329 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17332 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17334 * catgets/test-gencat.sh: Add "set -e".
17335 * elf/tst-pathopt.sh: Likewise.
17336 * grp/tst_fgetgrent.sh: Likewise.
17337 * iconvdata/run-iconv-test.sh: Likewise.
17338 * intl/tst-gettext.sh: Likewise.
17339 * intl/tst-gettext2.sh: Likewise.
17340 * intl/tst-gettext4.sh: Likewise.
17341 * intl/tst-gettext6.sh: Likewise.
17342 * intl/tst-translit.sh: Likewise.
17343 * io/ftwtest-sh: Likewise.
17344 * libio/test-freopen.sh: Likewise.
17345 * malloc/tst-mtrace.sh: Likewise.
17346 * posix/globtest.sh: Likewise.
17347 * posix/tst-getconf.sh: Likewise.
17348 * posix/wordexp-tst.sh: Likewise.
17349 * stdio-common/tst-printf.sh: Likewise.
17350 * stdio-common/tst-unbputc.sh: Likewise.
17351 * stdlib/tst-fmtmsg.sh: Likewise.
17352 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17353 * catgets/Makefile: Do not specify -e option when running
17354 testsuite shell scripts.
17355 * elf/Makefile: Likewise.
17356 * grp/Makefile: Likewise.
17357 * iconvdata/Makefile: Likewise.
17358 * intl/Makefile: Likewise.
17359 * io/Makefile: Likewise.
17360 * libio/Makefile: Likewise.
17361 * malloc/Makefile: Likewise.
17362 * posix/Makefile: Likewise.
17363 * stdio-common/Makefile: Likewise.
17364 * stdlib/Makefile: Likewise.
17365 * sysdeps/x86_64/Makefile: Likewise.
17367 * io/ftwtest-sh: Add copyright header.
17368 * posix/globtest.sh: Likewise.
17369 * posix/tst-getconf.sh: Likewise.
17370 * posix/wordexp-tst.sh: Likewise.
17371 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17373 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17376 * Makeconfig (+link): Defined as $(+link-static) if
17377 $(build-shared) isn't yes.
17378 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17380 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17382 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17385 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17386 new chunk size with MALLOC_ALIGN_MASK.
17388 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17391 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17393 (__printf_fphex): Determine rounding using get_rounding_mode and
17395 * stdio-common/tst-printf-round.c (struct hex_test): New
17397 (hex_tests): New variable.
17398 (test_hex_in_one_mode): New function.
17399 (do_test): Also run tests for hex float output.
17401 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17403 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17405 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17406 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17408 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17409 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17410 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17412 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17414 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17415 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17416 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17417 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17419 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17422 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17424 * elf/tst-rtld-load-self.sh: New test.
17425 * elf/Makefile: Run it.
17427 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17429 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17430 (tst-writev-ENV): Remove.
17431 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17433 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17435 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17437 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17439 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17441 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17443 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17444 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17445 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17448 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17451 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17452 * config.make.in (have-cpp-asm-debuginfo): Removed.
17453 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17454 * configure: Regenerated.
17456 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17459 * stdio-common/printf_fp.c: Include <stdbool.h> and
17461 (___printf_fp): Determine rounding using get_rounding_mode and
17463 * stdio-common/tst-printf-round.c: New file.
17464 * stdio-common/Makefile (tests): Add tst-printf-round.
17465 (link-libm): New variable.
17466 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17468 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17471 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17472 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17474 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17477 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17479 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17480 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17481 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17482 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17484 2012-09-12 Joseph Myers <joseph@codesourcery.com>
17487 * include/rounding-mode.h: New file.
17488 * sysdeps/generic/get-rounding-mode.h: Likewise.
17489 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17490 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17491 (MAX_VALUE): New macro.
17492 (MIN_VALUE): Likewise.
17493 (overflow_value): New function.
17494 (underflow_value): Likewise.
17495 (round_and_return): Use overflow_value and underflow_value to
17496 determine return values in overflow and underflow cases. Use
17497 round_away to determine rounding depending on rounding mode.
17498 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17499 determine return values in overflow and underflow cases.
17500 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17501 (struct test_results): New structure.
17502 (struct test): Use struct test_results to store expected results
17503 for all rounding modes.
17504 (TEST): Include expected results for all rounding modes.
17505 (test_in_one_mode): New function.
17506 (do_test): Use test_in_one_mode to compute and check results.
17507 Check results for all rounding modes.
17508 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17511 2012-12-09 Allan McRae <allan@archlinux.org>
17513 * sysdeps/i386/fpu/libm-test-ulps: Update
17515 2012-09-11 Joseph Myers <joseph@codesourcery.com>
17517 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17518 (_G_int32_t): Likewise.
17519 (_G_uint16_t): Likewise.
17520 (_G_uint32_t): Likewise.
17521 (_G_HAVE_BOOL): Likewise.
17522 (_G_HAVE_ATEXIT): Likewise.
17523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17524 (_G_HAVE_IO_FILE_OPEN): Likewise.
17525 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17526 (_G_int32_t): Likewise.
17527 (_G_uint16_t): Likewise.
17528 (_G_uint32_t): Likewise.
17529 (_G_HAVE_BOOL): Likewise.
17530 (_G_HAVE_ATEXIT): Likewise.
17531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17532 (_G_HAVE_IO_FILE_OPEN): Likewise.
17533 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17534 (_G_int32_t): Likewise.
17535 (_G_uint16_t): Likewise.
17536 (_G_uint32_t): Likewise.
17537 (_G_HAVE_BOOL): Likewise.
17538 (_G_HAVE_ATEXIT): Likewise.
17539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17540 (_G_HAVE_IO_FILE_OPEN): Likewise.
17542 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17544 * csu/libc-tls.c: Update copyright years.
17546 2012-09-10 Joseph Myers <joseph@codesourcery.com>
17548 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17549 [!_G_USING_THUNKS]: Remove conditional code.
17550 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17551 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17553 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17554 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17555 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17556 (_G_VTABLE_LABEL_PREFIX): Likewise.
17557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17558 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17559 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17560 (_G_VTABLE_LABEL_PREFIX): Likewise.
17561 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17562 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17563 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17564 (_G_VTABLE_LABEL_PREFIX): Likewise.
17565 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17567 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17569 * libio/Makefile: Include ../Makeconfig before tests.
17570 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17571 only if $(build-shared) is yes.
17573 * iconv/gconv_db.c: Update copyright years.
17575 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17577 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17578 unwind info if defined PIC. Fix special cases description.
17579 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17581 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17583 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17585 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17587 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17589 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17592 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17593 (LDLIBS-tst-chk4): This.
17594 (LDFLAGS-tst-chk5): Renamed to ...
17595 (LDLIBS-tst-chk5): This.
17596 (LDFLAGS-tst-chk6): Renamed to ...
17597 (LDLIBS-tst-chk6): This.
17598 (LDFLAGS-tst-lfschk4): Renamed to ...
17599 (LDLIBS-tst-lfschk4): This.
17600 (LDFLAGS-tst-lfschk5): Renamed to ...
17601 (LDLIBS-tst-lfschk5): This.
17602 (LDFLAGS-tst-lfschk6): Renamed to ...
17603 (LDLIBS-tst-lfschk6): This.
17605 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17606 on $(common-objpfx)soversions.mk.
17608 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17611 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17614 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17616 * malloc/arena.c (arena_get_retry): New function that gets
17617 another arena for the caller to try its request on.
17618 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17619 current arena cannot fulfill the request.
17620 (__libc_memalign): Likewise.
17621 (__libc_memalign): Likewise.
17622 (__libc_pvalloc): Likewise.
17623 (__libc_calloc): Likewise.
17625 2012-09-05 John Tobey <john.tobey@gmail.com>
17628 * manual/arith.texi (Operations on Complex): Fix description
17629 of carg branch cut.
17631 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17634 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17638 * manual/memory.texi (Memory): Make order of menu items match
17641 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17643 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17644 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17645 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17647 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17649 * csu/libc-tls.c (static_dtv): Renamed to ...
17650 (_dl_static_dtv): This. Make it global.
17651 (_dl_initial_dtv): Removed.
17652 (__libc_setup_tls): Updated.
17653 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17654 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17657 2012-09-06 Petr Machata <pmachata@redhat.com>
17659 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17660 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17661 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17662 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17664 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17667 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17668 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17674 * Makeconfig (link-static-before-libc): Replace $(+prector)
17676 (link-static-after-libc): Replace $(+postctor) with
17678 (link-bounded): Replace $(+prector)/$(+postctor) with
17679 $(+prectorT)/$(+postctorT).
17680 (+prectorT): New macro.
17681 (+postctorT): Likewise.
17683 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17685 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17686 (round_str): Handle values above the maximum for IBM long double
17688 * stdlib/tst-strtod-round.c (tests): Regenerated.
17690 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17692 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17694 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17695 zarch_nohighgprs around the zarch optimized routines.
17696 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17697 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17701 2012-09-05 David S. Miller <davem@davemloft.net>
17703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17705 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17706 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17707 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17708 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17713 * malloc/arena.c: Fold copyright years.
17714 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17718 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17720 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17722 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17724 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17726 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17727 change internal state upon failure.
17729 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17731 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17732 * malloc/memusage.c (mmap): Likewise.
17733 (mmap64, mremap): Likewise. Adjust name in comment.
17735 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17737 * libio/fileops.c: Fix typos in comments.
17738 * libio/oldfileops.c: Likewise.
17739 * libio/wfileops.c: Likewise.
17741 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17744 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17745 (tst-malloc-usable-ENV): Set environment for test case.
17746 * malloc/hooks.c (malloc_check_get_size): New function to get
17748 * malloc/malloc.c (musable): Use malloc_check_get_size.
17749 * malloc/tst-malloc-usable.c: New test case.
17751 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17753 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17755 2012-09-05 Allan McRae <allan@archlinux.org>
17758 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17759 determine header location.
17760 * configure: Regenerated.
17762 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17764 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17766 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17767 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17769 (test): Regenerate.
17771 2012-09-04 David S. Miller <davem@davemloft.net>
17773 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17774 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17777 2012-09-04 Florian Weimer <fweimer@redhat.com>
17779 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17782 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17784 2012-09-04 Joseph Myers <joseph@codesourcery.com>
17787 * libio/iogetdelim.c: Include <limits.h>.
17788 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17789 + len + 1 would overflow.
17791 2012-09-03 Andreas Jaeger <aj@suse.de>
17793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17794 * sysdeps/i386/fpu/libm-test-ulps: Update.
17796 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17798 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17799 Add s_sinf-sse2, s_conf-sse2.
17801 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17802 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17803 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17804 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17806 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17807 for using routine as __sinf_ia32.
17808 Use macro for function declaration and weak_alias.
17809 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17810 for using routine as __cosf_ia32.
17811 Use macro for function declaration and weak_alias.
17813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17814 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17816 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17817 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17820 * math/libm-test.inc (cos_test): Add more test cases.
17821 (sin_test): Likewise.
17822 (sincos_test): Likewise.
17824 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17826 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17827 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17831 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17834 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17835 first element of the GOT.
17836 (elf_machine_load_address): Return the difference between
17837 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17839 2012-09-01 Allan McRae <allan@archlinux.org>
17842 * configure.in (AWK): Require gawk version 3.0 or later.
17843 * configure: Regenerated.
17845 2012-09-01 Joseph Myers <joseph@codesourcery.com>
17847 * sysdeps/unix/sysv/linux/kernel-features.h
17848 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17849 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17850 [__NR_clock_getres]: Make code unconditional.
17851 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17852 (clock_getcpuclockid): Remove code left unreachable by removal of
17854 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17855 code unconditional.
17856 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17857 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17858 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17859 Make code unconditional.
17860 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17861 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17862 * sysdeps/unix/sysv/linux/clock_settime.c
17863 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17865 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17868 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17871 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17872 scripts/test-installation.pl.
17874 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17875 and $ld_so_version if it is set.
17877 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17881 failure if reading from procfs failed.
17882 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17884 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17886 * sysdeps/unix/sysv/linux/kernel-features.h
17887 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17888 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17889 Remove conditional code.
17890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17891 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17892 Remove conditional code.
17893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17894 * sysdeps/unix/sysv/linux/i386/fxstat.c
17895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17897 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17900 * sysdeps/unix/sysv/linux/i386/lxstat.c
17901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17903 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17904 Remove conditional code.
17905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17906 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17907 Remove conditional code.
17908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17909 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17910 <kernel-features.h>.
17911 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17913 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17914 Remove conditional code.
17915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17916 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17917 Remove conditional.
17919 2012-08-27 Mike Frysinger <vapier@gentoo.org>
17922 * NEWS: Add fixed bug number.
17924 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17927 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17928 underflowing exponent in case of negative sign.
17929 * stdlib/tst-strtod-round-data: Add more tests.
17930 * stdlib/tst-strtod-round.c (tests): Regenerated.
17933 * stdlib/strtod_l.c (NDIG): Remove.
17934 (HEXNDIG): Likewise.
17935 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17936 smallest representable value.
17937 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17938 lie within an exact representation of 1/2 ulp of the result.
17939 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17941 (TENS_P9_IDX): Define unconditionally.
17942 (TENS_P9_SIZE): Likewise.
17943 (TENS_P10_IDX): Likewise.
17944 (TENS_P10_SIZE): Likewise.
17945 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17946 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17947 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17948 entries for 10^2^13 and 10^2^14.
17949 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17950 (TENS_P13_IDX): Define.
17951 (TENS_P13_SIZE): Likewise.
17952 (TENS_P14_IDX): Likewise.
17953 (TENS_P14_SIZE): Likewise.
17954 (_fpioconst_pow10): Change array size to
17955 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17957 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17958 1024]: Add entries for 10^2^13 and 10^2^14.
17959 [LAST_POW10 > _LAST_POW10]: Remove #error.
17960 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17961 (_fpioconst_pow10): Change array size to
17962 FPIOCONST_POW10_ARRAY_SIZE.
17963 * stdlib/gen-fpioconst.c: New file.
17964 * stdlib/gen-tst-strtod-round.c: Likewise.
17965 * stdlib/tst-strtod-round-data: Likewise.
17966 * stdlib/tst-strtod-round.c: Likewise.
17967 * stdlib/Makefile (tests): Add tst-strtod-round.
17970 * stdlib/strtod_l.c: Include <stdint.h>.
17971 (NDEBUG): Do not define.
17972 (round_and_return): Change EXPONENT parameter to type intmax_t.
17973 Rearrange calculations to avoid internal overflow possibilities.
17974 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17975 Rearrange calculations to avoid internal overflow possibilities.
17976 Assert that number fits inside MPNSIZE limbs.
17977 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17978 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17979 calculations and add assertions to avoid internal overflow
17980 possibilities. Add casts to avoid signed/unsigned operations.
17981 * stdlib/tst-strtod-overflow.c: New file.
17982 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17984 2012-08-25 Marek Polacek <polacek@redhat.com>
17986 * time/time.h: Fix some typos in comments.
17988 2012-08-23 Roland McGrath <roland@hack.frob.com>
17990 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17991 * posix/tst-rfc3484-2.c: Likewise.
17992 * posix/tst-rfc3484-3.c: Likewise.
17994 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17996 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17997 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17999 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18001 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18002 #include of fxstatat64.c.
18004 2012-08-22 Roland McGrath <roland@hack.frob.com>
18006 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18007 * shadow/getspent_r.c: Likewise.
18008 * shadow/getspnam.c: Likewise.
18009 * shadow/getspnam_r.c: Likewise.
18010 * gshadow/getsgent.c: Likewise.
18011 * gshadow/getsgent_r.c: Likewise.
18012 * gshadow/getsgnam.c: Likewise.
18013 * gshadow/getsgnam_r.c: Likewise.
18014 * inet/getnetbyad.c: Likewise.
18015 * inet/getnetbyad_r.c: Likewise.
18016 * inet/getnetbynm.c: Likewise.
18017 * inet/getnetbynm_r.c: Likewise.
18018 * inet/getnetent.c: Likewise.
18019 * inet/getnetent_r.c: Likewise.
18020 * inet/getproto.c: Likewise.
18021 * inet/getproto_r.c: Likewise.
18022 * inet/getprtent.c: Likewise.
18023 * inet/getprtent_r.c: Likewise.
18024 * inet/getprtname.c: Likewise.
18025 * inet/getprtname_r.c: Likewise.
18026 * inet/getrpcbyname.c: Likewise.
18027 * inet/getrpcbyname_r.c: Likewise.
18028 * inet/getrpcbynumber.c: Likewise.
18029 * inet/getrpcbynumber_r.c: Likewise.
18030 * inet/getrpcent.c: Likewise.
18031 * inet/getrpcent_r.c: Likewise.
18032 * inet/getaliasent.c: Likewise.
18033 * inet/getaliasent_r.c: Likewise.
18034 * inet/getaliasname.c: Likewise.
18035 * inet/getaliasname_r.c: Likewise.
18036 * nscd/getgrgid_r.c: Likewise.
18037 * nscd/getgrnam_r.c: Likewise.
18038 * nscd/gethstbyad_r.c: Likewise.
18039 * nscd/gethstbynm3_r.c: Likewise.
18040 * nscd/getpwnam_r.c: Likewise.
18041 * nscd/getpwuid_r.c: Likewise.
18042 * nscd/getsrvbynm_r.c: Likewise.
18043 * nscd/getsrvbypt_r.c: Likewise.
18044 * nscd/gai.c: Likewise.
18046 * configure.in (build_nscd): New substituted variable, set
18047 by --disable-build-nscd and defaults to $use_nscd.
18048 * configure: Regenerated.
18049 * config.make.in (build-nscd): New substituted variable.
18050 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18051 Change conditional to require [$(build-nscd) = yes] as well.
18052 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18055 * configure.in (use_nscd): New substituted variable, set by
18056 --disable-nscd. If enabled, define USE_NSCD.
18057 * configure: Regenerated.
18058 * config.h.in: Add USE_NSCD.
18059 * config.make.in (use-nscd): New substituted variable.
18060 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18061 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18062 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18063 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18064 (CFLAGS-getgrnam_r.c): Likewise.
18065 (CFLAGS-initgroups.c): Likewise.
18066 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18067 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18069 * inet/getnetgrent_r.c
18070 (nscd_setnetgrent): New function, broken out of ...
18071 (setnetgrent): ... here. Call it.
18072 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18073 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18074 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18075 * nscd/Makefile (routines, aux): Move definitions after include of
18076 Makeconfig. Conditionalize on [$(use-nscd) != no].
18077 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18078 Conditionalize on [USE_NSCD].
18079 (is_nscd, nscd_init_cb): Likewise.
18080 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18081 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18082 * nss/nss_db/db-init.c: Likewise.
18083 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18085 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18086 (make_request): Use it.
18087 (cache_valid_p): New function.
18088 (__check_pf): Use it.
18089 * NEWS: Add item for --disable-nscd.
18091 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18093 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18094 to support sed >= 4.2.1-20-ga9bf076.
18095 * configure: Regenerated.
18097 2012-08-22 Roland McGrath <roland@hack.frob.com>
18099 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18100 Conditionalize whole body on [IREL].
18102 2012-08-22 Jeff Law <law@redhat.com>
18105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18106 if the family is PF_UNSPEC.
18108 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18110 * Makerules (lib-version): Rename from V.
18111 (install-lib-nosubdir): Change V to lib-version.
18113 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18116 * powerpc32/power6/wcschr.c: New file.
18117 * powerpc32/power6/wcscpy.c: New file.
18118 * powerpc32/power6/wcsrchr.c: New file.
18119 * powerpc64/power6/wcschr.c: New file.
18120 * powerpc64/power6/wcscpy.c: New file.
18121 * powerpc64/power6/wcsrchr.c: New file.
18123 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18125 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18126 (two_way_short_needle): Use it.
18127 * string/strstr.c (AVAILABLE1_USES_J): Define.
18128 * string/strcasestr.c: Likewise.
18130 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18132 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18135 * NEWS: Add an entry.
18136 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18137 define their defaults.
18138 (two_way_short_needle): Detect end-of-string on-the-fly.
18139 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18140 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18141 * string/bug-strcasestr1.c: New test.
18142 * string/Makefile: Run it.
18144 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18147 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18148 the first character.
18150 2012-08-21 Roland McGrath <roland@hack.frob.com>
18152 * csu/elf-init.c (__libc_csu_irel): Function removed.
18153 * csu/libc-start.c (apply_irel): New function.
18154 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18156 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18158 * sysdeps/unix/sysv/linux/kernel-features.h
18159 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18160 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18161 <kernel-features.h>.
18162 [__NR_fadvise64_64]: Make code unconditional.
18163 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18164 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18165 !__NR_fadvise64_64)]: Likewise.
18166 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18167 !__NR_fadvise64_64))]: Likewise.
18168 [__NR_fadvise64]: Make code unconditional.
18169 [!__NR_fadvise64]: Remove conditional code.
18170 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18171 <kernel-features.h>.
18172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18177 not include <kernel-features.h>.
18178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18182 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18183 include <kernel-features.h>.
18184 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18186 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18189 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18191 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18192 slight instruction rearrangements per scrollpipe analysis.
18193 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18195 2012-08-20 Roland McGrath <roland@hack.frob.com>
18197 * manual/syslog.texi (syslog; vsyslog, closelog):
18198 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18199 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18201 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18202 DSOCAPS to match condition on defining it.
18204 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18206 * sysdeps/unix/sysv/linux/kernel-features.h
18207 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18218 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18219 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18221 * sysdeps/unix/sysv/linux/kernel-features.h
18222 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18223 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18225 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18226 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18227 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18228 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18229 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18230 Make code unconditional.
18231 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18232 (__mmap64) [!__NR_mmap2]: Likewise.
18233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18234 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18235 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18237 [__NR_mmap2]: Make code unconditional.
18238 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18239 (__mmap64) [!__NR_mmap2]: Likewise.
18241 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18243 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18245 2012-08-18 Andreas Jaeger <aj@suse.de>
18247 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18249 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18251 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18252 * include/unistd.h (__have_sock_cloexec): Likewise.
18253 (__have_pipe2): Likewise.
18254 (__have_dup3): Likewise.
18256 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18259 * include/unistd.h (__have_pipe2): Change define into an extern int.
18260 (__have_dup3): Likewise.
18261 * socket/have_sock_cloexec.c: Include fcntl.h.
18262 (__have_pipe2): New variable.
18263 (__have_dup3): Likewise.
18265 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18267 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18269 2012-08-17 Marek Polacek <polacek@redhat.com>
18271 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18272 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18274 2012-08-17 Roland McGrath <roland@hack.frob.com>
18276 * configure.in: Add AC_SUBST for sysheaders.
18277 * configure: Regenerated.
18278 * config.make.in (sysheaders): New substituted variable.
18280 * sysdeps/unix/mkfifo.c: Moved ...
18281 * sysdeps/posix/mkfifo.c: ... here.
18282 * sysdeps/unix/mkfifoat.c: Moved ...
18283 * sysdeps/posix/mkfifoat.c: ... here.
18285 * sysdeps/unix/utime.c: Moved ...
18286 * sysdeps/posix/utime.c: ... here.
18288 * sysdeps/unix/time.c: Moved ...
18289 * sysdeps/posix/time.c: ... here.
18290 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18291 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18293 * sysdeps/unix/nice.c: Moved ...
18294 * sysdeps/posix/nice.c: ... here.
18296 * sysdeps/unix/alarm.c: Moved ...
18297 * sysdeps/posix/alarm.c: ... here.
18299 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18301 2012-08-17 Jeff Law <law@redhat.com>
18303 * intl/Makefile (codeset_mo): New variable.
18304 ($(codeset_mo)): New target.
18305 (tst-codeset.out): Depend on that. Remove explicit rule.
18306 (tst-gettext3.out, tst-gettext5.out): Likewise.
18307 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18308 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18309 * intl/tst-codeset.sh: Remove.
18310 * intl/tst-gettext3.sh: Likewise.
18311 * intl/tst-gettext5.sh: Likewise.
18313 2012-08-17 Roland McGrath <roland@hack.frob.com>
18315 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18316 * sysdeps/unix/syscalls.list: ... here.
18318 * sysdeps/posix/getaddrinfo.c
18319 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18320 (gaiconf_init, gaiconf_reload): Use them.
18321 [!_STATBUF_ST_NSEC]
18322 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18323 Define using time_t rather than struct timespec.
18325 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18326 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18328 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18330 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18331 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18334 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18335 __libc_cleanup_push argument.
18337 * bits/param.h: New file.
18338 * misc/sys/param.h: New file.
18339 * include/sys/param.h: New file.
18340 * misc/Makefile (headers): Add bits/param.h.
18341 * sysdeps/generic/sys/param.h: File removed.
18342 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18343 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18344 * sysdeps/mach/hurd/bits/param.h: New file.
18345 * sysdeps/mach/hurd/sys/param.h: File removed.
18347 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18350 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18352 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18353 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18356 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18357 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18358 rather than -D_IO_MTSAFE_IO conditionally.
18359 * stdio-common/Makefile (CPPFLAGS): Likewise.
18360 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18361 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18362 Use $(libio-mtsafe).
18363 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18364 of -D_IO_MTSAFE_IO.
18365 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18366 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18367 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18368 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18369 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18370 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18371 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18372 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18373 (CFLAGS-fread_u_chk.c): Likewise.
18374 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18375 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18376 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18377 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18378 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18379 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18380 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18381 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18382 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18384 * libio/Makefile: Test [$(libc-reentrant) = yes]
18385 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18388 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18389 * sysdeps/pthread/configure: File removed.
18390 * sysdeps/pthread/Makeconfig: New file.
18391 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18392 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18394 2012-08-16 Gary Benson <gbenson@redhat.com>
18396 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18397 unmapping the first object in a namespace.
18399 2012-08-16 Roland McGrath <roland@hack.frob.com>
18401 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18402 (__internal_setnetgrent): ... this. Add internal_function to
18403 definition. Add libc_hidden_def.
18404 (setnetgrent): Update caller.
18405 (internal_endnetgrent): Renamed to ...
18406 (__internal_endnetgrent): ... this. Add internal_function to
18407 definition. Add libc_hidden_def.
18408 (endnetgrent): Update caller.
18409 (internal_getnetgrent_r): Renamed to ...
18410 (__internal_getnetgrent_r): ... this. Add internal_function to
18411 definition. Add libc_hidden_def.
18412 (__getnetgrent_r): Update caller.
18413 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18415 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18417 * stdlib/longlong.h: Update from GCC.
18419 2012-08-16 Roland McGrath <roland@hack.frob.com>
18421 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18422 on _QL, which is set by umul_ppmm but never used.
18423 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18424 variables, which are set by GMP macros but never used.
18425 * stdio-common/_itowa.c (_itowa): Likewise.
18426 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18427 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18429 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18431 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18432 struct La_sh_regs is not constant.
18433 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18434 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18435 and struct La_sparc64_regs are not constant.
18437 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18439 * sysdeps/unix/sysv/linux/kernel-features.h
18440 (__ASSUME_POSIX_TIMERS): Remove.
18441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18443 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18444 Make code unconditional.
18445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18446 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18447 Make code unconditional.
18448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18449 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18450 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18452 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18453 Make code unconditional.
18454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18455 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18456 (__libc_missing_posix_timers): Remove.
18458 2012-08-15 Roland McGrath <roland@hack.frob.com>
18460 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18461 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18463 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18465 * elf/dl-sym.c: Include <stdlib.h>.
18467 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18468 constants, which avoids warnings in 32-bit builds.
18470 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18471 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18473 * misc/lseek.c: File moved to ...
18474 * io/lseek.c: ... here.
18476 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18478 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18479 shifting LEN more than 31 bits at once.
18481 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18484 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18485 segmentation fault for a case of two empty input strings.
18486 * string/test-strncasecmp.c (check1): Renamed to...
18487 (bz12205): ...this.
18488 (bz14195): Add new testcase for two empty input strings and N > 0.
18489 (test_main): Call new testcase, adapt for renamed function.
18491 2012-08-15 Andreas Jaeger <aj@suse.de>
18494 * crypt/md5test2.c: New test, based on test supplied by Serge
18495 Belyshev <belyshev@depni.sinp.msu.ru>.
18496 * crypt/Makefile (xtests): Add md5test-giant..
18497 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18499 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18502 * crypt/md5.c (md5_process_block): Don't assume the buffer
18503 length is less than 2**32.
18504 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18505 length is less than 2**64.
18507 2012-08-15 Roland McGrath <roland@hack.frob.com>
18509 * string/str-two-way.h: Include <sys/param.h>.
18510 (MAX): Macro removed.
18512 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18513 Move #define and #undef of memmove to just before and after
18514 including <string.h>.
18516 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18517 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18518 and after including <string.h>. Move declarations of
18519 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18520 to before #include "string/memmove.c".
18522 * include/dirent.h: Declare __getdirentries.
18524 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18525 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18527 2012-08-14 Mike Frysinger <vapier@gentoo.org>
18529 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18530 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18531 * sysdeps/i386/configure: Regenerated.
18532 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18533 STABS_CURRENT_FILE, and STABS_FUN.
18534 (END): Remove call to STABS_FUN_END.
18535 (STABS_CURRENT_FILE1): Delete.
18536 (STABS_CURRENT_FILE): Likewise.
18537 (STABS_FUN): Likewise.
18538 (STABS_FUN_END): Likewise.
18539 (STABS_FUN2): Likewise.
18540 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18541 * sysdeps/x86_64/configure: Regenerated.
18543 2012-08-14 Roland McGrath <roland@hack.frob.com>
18545 * elf/dl-open.c: Include <atomic.h>.
18546 * elf/dl-lookup.c: Likewise.
18548 2012-08-14 Joseph Myers <joseph@codesourcery.com>
18550 * sysdeps/unix/sysv/linux/kernel-features.h
18551 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18552 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18554 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18556 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18557 condition on __ASSUME_CLONE_THREAD_FLAGS.
18559 2012-08-14 Andreas Jaeger <aj@suse.de>
18561 * sysdeps/i386/fpu/libm-test-ulps: Update.
18563 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18565 * include/atomic.h (atomic_exchange_and_add): Split into ...
18566 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18569 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18573 2012-08-13 Jeff Law <law@redhat.com>
18575 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18576 null byte in the output string.
18578 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18580 * sysdeps/unix/sysv/linux/kernel-features.h
18581 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18582 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18583 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18585 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18586 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18587 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18589 2012-08-09 Jeff Law <law@redhat.com>
18592 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18593 When avoid_arena is set, don't retry in the that arena. Pick the
18594 next one, whatever it might be.
18595 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18596 (arena_lock): Pass in new parameter to arena_get2.
18597 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18599 (__libc_malloc): Unify retrying after main arena failure with
18600 __libc_memalign version.
18601 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18603 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18606 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18607 to __redirect_strstr.
18608 (__strstr_sse42): Use typeof __redirect_strstr.
18609 (__strstr_ia32): Likewise.
18610 (__libc_strstr): New prototype.
18611 (strstr): Renamed to ...
18612 (__libc_strstr): This.
18613 (strstr): New strong alias of __libc_strstr.
18614 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18615 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18618 (__libc_time): New prototype.
18619 (time_ifunc): Replace time with __libc_time.
18620 (time): New strong alias and hidden definition of __libc_time.
18621 (__GI_time): Remove strong alias.
18622 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18623 Include <stddef.h>.
18624 (memmove): Redefined to __redirect_memmove.
18625 (__memmove_sse2): Use typeof __redirect_memmove.
18626 (__memmove_ssse3): Likewise.
18627 (__memmove_ssse3_back): Likewise.
18628 (__libc_memmove): New prototype.
18629 (memmove): Renamed to ...
18630 (__libc_memmove): This.
18631 (memmove): New strong alias of __libc_memmove.
18633 2012-08-08 Mark Salter <msalter@redhat.com>
18636 (R_MN10300_TLS_GD): Define.
18637 (R_MN10300_TLS_LD): Likewise.
18638 (R_MN10300_TLS_LDO): Likewise.
18639 (R_MN10300_TLS_GOTIE): Likewise.
18640 (R_MN10300_TLS_IE): Likewise.
18641 (R_MN10300_TLS_LE): Likewise.
18642 (R_MN10300_TLS_DTPMOD): Likewise.
18643 (R_MN10300_TLS_DTPOFF): Likewise.
18644 (R_MN10300_TLS_TPOFF): Likewise.
18645 (R_MN10300_SYM_DIFF): Likewise.
18646 (R_MN10300_ALIGN): Likewise.
18647 (R_MN10300_NUM): Update.
18649 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18654 2012-08-08 Roland McGrath <roland@hack.frob.com>
18656 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18658 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18659 sysdeps/unix -> sysdeps/posix move.
18660 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18662 2012-08-07 Allan McRae <allan@archlinux.org>
18665 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18666 (SUNOS_CPP): Likewise.
18667 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18669 (open_input): Call CPP using execvp.
18671 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18673 * sysdeps/unix/sysv/linux/kernel-features.h
18674 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18675 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18676 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18677 (__ASSUME_WAITID_SYSCALL): Likewise.
18678 * sysdeps/unix/sysv/linux/dl-execstack.c
18679 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18680 code unconditional.
18681 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18684 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18685 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18687 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18689 [__ASSUME_WAITID_SYSCALL]: Likewise.
18690 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18692 2012-08-07 Roland McGrath <roland@hack.frob.com>
18694 * sysdeps/unix/closedir.c: Renamed to ...
18695 * sysdeps/posix/closedir.c: ... here.
18696 * sysdeps/unix/dirfd.c: Renamed to ...
18697 * sysdeps/posix/dirfd.c: ... here.
18698 * sysdeps/unix/dirstream.h: Renamed to ...
18699 * sysdeps/posix/dirstream.h: ... here.
18700 * sysdeps/unix/fdopendir.c: Renamed to ...
18701 * sysdeps/posix/fdopendir.c: ... here.
18702 * sysdeps/unix/opendir.c: Renamed to ...
18703 * sysdeps/posix/opendir.c: ... here.
18704 * sysdeps/unix/readdir.c: Renamed to ...
18705 * sysdeps/posix/readdir.c: ... here.
18706 * sysdeps/unix/readdir_r.c: Renamed to ...
18707 * sysdeps/posix/readdir_r.c: ... here.
18708 * sysdeps/unix/rewinddir.c: Renamed to ...
18709 * sysdeps/posix/rewinddir.c: ... here.
18710 * sysdeps/unix/seekdir.c: Renamed to ...
18711 * sysdeps/posix/seekdir.c: ... here.
18712 * sysdeps/unix/telldir.c: Renamed to ...
18713 * sysdeps/posix/telldir.c: ... here.
18714 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18715 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18716 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18717 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18720 * bits/fcntl.h: ... here.
18722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18724 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18725 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18726 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18727 (struct flock): Move l_start, l_len to the beginning.
18728 Use __pid_t for l_pid.
18729 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18730 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18731 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18732 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18733 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18734 [__USE_LARGEFILE64] (struct flock64): New type.
18735 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18738 * bits/dirent.h: ... here.
18740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18741 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18743 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18746 Change from 2.6.0 to 2.6.16.
18747 * sysdeps/unix/sysv/linux/configure: Regenerated.
18748 * sysdeps/unix/sysv/linux/kernel-features.h
18749 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18750 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18752 (__ASSUME_UTIMES): Likewise.
18753 (__ASSUME_CLONE_STOPPED): Remove.
18754 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18755 architectures, not kernel version.
18756 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18757 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18758 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18759 (__ASSUME_WAITID_SYSCALL): Likewise.
18760 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18761 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18762 * README: State 2.6.16 as minimum Linux kernel version. Do not
18763 refer to older versions.
18765 2012-08-06 Roland McGrath <roland@hack.frob.com>
18767 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18768 Define alphasort64 as an alias.
18769 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18770 Define versionsort64 as an alias.
18771 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18772 Define scandir64 as an alias.
18773 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18774 Define scandirat64 as an alias.
18775 * dirent/alphasort64.c (alphasort64):
18776 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18777 * dirent/versionsort64.c: Likewise.
18778 * dirent/scandir64.c: Likewise.
18779 * dirent/scandirat64.c: Likewise.
18780 * sysdeps/wordsize-64/alphasort.c: File removed.
18781 * sysdeps/wordsize-64/alphasort64.c: File removed.
18782 * sysdeps/wordsize-64/scandir.c: File removed.
18783 * sysdeps/wordsize-64/scandir64.c: File removed.
18784 * sysdeps/wordsize-64/scandirat.c: File removed.
18785 * sysdeps/wordsize-64/scandirat64.c: File removed.
18786 * sysdeps/wordsize-64/versionsort.c: File removed.
18787 * sysdeps/wordsize-64/versionsort64.c: File removed.
18788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18797 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18799 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18801 [defined __arch64__ || defined __sparcv9]
18802 (__INO_T_MATCHES_INO64_T): New macro.
18803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18804 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18805 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18806 * sysdeps/unix/sysv/linux/bits/dirent.h
18807 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18808 (_DIRENT_MATCHES_DIRENT64): New macro.
18810 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18811 Define lockf64 as an alias.
18812 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18813 Define fseeko64 as an alias.
18814 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18815 Define ftello64 as an alias.
18816 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18817 Define _IO_fgetpos64 and fgetpos64 as aliases.
18818 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18819 Define _IO_fsetpos64 and fsetpos64 as aliases.
18820 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18821 Conditionalize body on this.
18822 * libio/fseeko64.c: Likewise.
18823 * libio/ftello64.c: Likewise.
18824 * libio/iofgetpos64.c: Likewise.
18825 * libio/iofsetpos64.c: Likewise.
18826 * sysdeps/wordsize-64/lockf.c: File removed.
18827 * sysdeps/wordsize-64/lockf64.c: File removed.
18828 * sysdeps/wordsize-64/fseeko.c: File removed.
18829 * sysdeps/wordsize-64/fseeko64.c: File removed.
18830 * sysdeps/wordsize-64/ftello.c: File removed.
18831 * sysdeps/wordsize-64/ftello64.c: File removed.
18832 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18833 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18834 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18835 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18843 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18844 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18847 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18849 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18851 [defined __arch64__ || defined __sparcv9]
18852 (__OFF_T_MATCHES_OFF64_T): New macro.
18853 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18854 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18856 (__OFF_T_MATCHES_OFF64_T): New macro.
18858 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18860 * stdlib/secure-getenv.c (__secure_getenv): Replace
18861 GLIBC_2_16 with GLIBC_2_17.
18863 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18865 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18868 2012-08-03 David S. Miller <davem@davemloft.net>
18870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18872 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18874 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18876 (__ASSUME_CORRECT_SI_PID): Likewise.
18877 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18878 (__ASSUME_TMPFS_NAME): Likewise.
18879 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18880 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18881 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18882 (HAVE_AUX_SECURE): Make definition unconditional.
18883 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18884 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18886 2012-08-03 Roland McGrath <roland@hack.frob.com>
18888 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18889 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18890 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18891 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18892 __eloop_threshold instead of SYMLOOP_MAX.
18894 * sysdeps/generic/eloop-threshold.h: New file.
18895 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18897 * elf/chroot_canon.c (chroot_canon): Likewise.
18899 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18903 Change to 2.6.0 everywhere.
18904 * sysdeps/unix/sysv/linux/configure: Regenerated.
18905 * sysdeps/unix/sysv/linux/kernel-features.h
18906 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18907 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18909 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18910 (__ASSUME_FUTEX_REQUEUE): Remove.
18911 (__ASSUME_STATFS64): Define unconditionally.
18912 (__ASSUME_AT_SECURE): Likewise.
18913 (__ASSUME_CORRECT_SI_PID): Likewise.
18914 (__ASSUME_TGKILL): Define without depending on kernel version for
18916 (__ASSUME_UTIMES): Likewise.
18917 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18919 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18920 (__ASSUME_TMPFS_NAME): Likewise.
18921 * README: Update reference to Linux kernel versions.
18923 2012-08-02 Marek Polacek <polacek@redhat.com>
18926 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18927 libc_cv_asm_type_prefix with %.
18928 * configure: Regenerated.
18929 * include/libc-symbols.h: Remove comment about
18930 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18931 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18932 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18933 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18934 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18935 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18936 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18937 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18938 * elf/tst-unique2mod1.c: Likewise.
18939 * elf/tst-unique1mod2.c: Likewise.
18940 * elf/tst-unique1mod1.c: Likewise.
18941 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18942 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18943 Replace ASM_TYPE_DIRECTIVE with .type.
18944 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18945 * sysdeps/i386/sysdep.h: Likewise.
18946 * sysdeps/x86_64/sysdep.h: Likewise.
18947 * sysdeps/sh/sysdep.h: Likewise.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18949 Do not define ASM_TYPE_DIRECTIVE.
18950 * sysdeps/powerpc/sysdep.h: Likewise.
18951 * sysdeps/powerpc/powerpc32/sysdep.h:
18952 Replace ASM_TYPE_DIRECTIVE with .type.
18953 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18954 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18955 * sysdeps/i386/fpu/e_powf.S: Likewise.
18956 * sysdeps/i386/fpu/e_expl.S: Likewise.
18957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18959 * sysdeps/i386/fpu/e_pow.S: Likewise.
18960 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18962 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18963 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18964 * sysdeps/i386/fpu/e_log2.S: Likewise.
18965 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18967 * sysdeps/i386/fpu/e_powl.S: Likewise.
18968 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18969 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18970 * sysdeps/i386/fpu/e_logl.S: Likewise.
18971 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18972 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18973 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18974 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18975 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18976 * sysdeps/i386/fpu/e_log.S: Likewise.
18977 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18978 * sysdeps/i386/fpu/e_logf.S: Likewise.
18979 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18980 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18981 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18982 * sysdeps/i386/fpu/e_log10.S: Likewise.
18983 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18984 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18985 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18986 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18987 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18988 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18989 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18990 * sysdeps/i386/i686/strtok.S: Likewise.
18991 * sysdeps/i386/i386-mcount.S: Likewise.
18992 * sysdeps/i386/strtok.S: Likewise.
18993 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18994 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18996 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18997 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18999 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19000 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19002 * sysdeps/x86_64/_mcount.S: Likewise.
19003 * sysdeps/x86_64/strtok.S: Likewise.
19004 * sysdeps/sh/_mcount.S: Likewise.
19006 2012-08-01 Roland McGrath <roland@hack.frob.com>
19008 * libio/iofopen.c: Include <fcntl.h>.
19009 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19010 (_IO_fopen64, fopen64): Define as aliases.
19011 * libio/iofopen64.c: Include <fcntl.h>.
19012 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19013 Conditionalize body on this.
19014 * sysdeps/wordsize-64/iofopen.c: File removed.
19015 * sysdeps/wordsize-64/iofopen64.c: File removed.
19017 2012-08-01 Marek Polacek <polacek@redhat.com>
19019 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19020 Use dlfcn directly instead of a variable.
19021 (binfmt-subdir): Do not define.
19024 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19027 Remove all definitions.
19028 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19029 <kernel-features.h>.
19030 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19031 (miss_F_GETOWN_EX): Remove all definitions.
19032 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19034 [!__ASSUME_FCNTL64]: Remove conditional code.
19035 [__ASSUME_FCNTL64]: Make code unconditional.
19036 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19037 <kernel-features.h>.
19038 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19039 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19040 (lockf64) [__NR_fcntl64]: Make code unconditional.
19041 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19043 * sysdeps/unix/sysv/linux/kernel-features.h
19044 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19045 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19046 Make code unconditional.
19047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19050 [__NR_vfork]: Make code unconditional.
19051 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19052 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19054 [__NR_vfork]: Make code unconditional.
19055 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19056 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19058 2012-08-01 Roland McGrath <roland@hack.frob.com>
19060 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19061 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19063 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19064 Define mkstemp64 as an alias.
19065 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19066 Define mkstemps64 as an alias.
19067 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19068 Define mkostemp64 as an alias.
19069 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19070 Define mkostemps64 as an alias.
19071 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19072 Conditionalize body on this.
19073 * misc/mkostemp64.c: Likewise.
19074 * misc/mkostemps64.c: Likewise.
19075 * misc/mkstemps64.c: Likewise.
19076 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19077 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19078 * sysdeps/wordsize-64/mkostemp.c: File removed.
19079 * sysdeps/wordsize-64/mkstemp.c: File removed.
19080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19081 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19086 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19087 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19088 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19089 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19091 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19092 compat_symbol macros from <shlib-compat.h> rather than the underlying
19093 default_symbol_version and symbol_version macros, so that DEFAULT
19094 lines in shlib-versions are respected.
19095 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19097 2012-08-01 Florian Weimer <fweimer@redhat.com>
19099 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19100 Declare with warn_unused_result.
19101 (setgid, setregid, setegid, setresgid): Likewise.
19102 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19104 * WUR-REPORT: Remove set*id functions.
19106 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19108 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19110 2012-07-31 Roland McGrath <roland@hack.frob.com>
19113 * include/sys/socket.h (__libc_accept, __libc_accept4):
19114 Add attribute_hidden.
19115 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19117 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19119 * inet/getnetgrent_r.c (setup): Likewise.
19121 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19123 2012-07-31 David S. Miller <davem@davemloft.net>
19125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19127 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19130 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19131 value between 1.0 and 2.0 and smaller part has absolute value less
19133 * math/s_clog10.c (__clog10): Likewise.
19134 * math/s_clog10f.c (__clog10f): Likewise.
19135 * math/s_clog10l.c (__clog10l): Likewise.
19136 * math/s_clogf.c (__clogf): Likewise.
19137 * math/s_clogl.c (__clogl): Likewise.
19138 * math/libm-test.inc (clog_test): Add more tests.
19139 (clog10_test): Likewise.
19140 * sysdeps/i386/fpu/libm-test-ulps: Update.
19141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19143 2012-07-31 Florian Weimer <fweimer@redhat.com>
19145 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19146 Exit with zero in case no suitable GID is found, and write a
19147 message to standard error.
19149 2012-07-30 Roland McGrath <roland@hack.frob.com>
19151 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19153 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19154 (MAXPATHLEN): Removed.
19155 (NOGROUP, NODEV): New macros.
19156 (setbit, clrbit, isset, isclr): New macros.
19157 (howmany, roundup, powerof2): New macros.
19158 (DEV_BSIZE): New macro.
19160 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19161 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19163 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19164 definition on [!__NO_LONG_DOUBLE_MATH].
19166 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19167 PTR_MANGLE and PTR_DEMANGLE.
19169 * socket/accept4.c (accept4): Rename to __libc_accept4.
19170 Define accept4 as a weak alias.
19172 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19173 on [_DIRENT_HAVE_D_TYPE].
19174 * io/ftw.c (ftw_dir): Likewise.
19176 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19178 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19180 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19181 Use the BSD numbers rather than the arbitrary ones we had.
19182 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19183 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19184 (SIGXCPU, SIGXFSZ): New macros.
19187 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19188 initializer on [_LIBC_REENTRANT].
19190 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19191 definitions inside [_POSIX_MAPPED_FILES].
19193 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19195 * dirent/opendir.c: Include <fcntl.h>.
19197 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19198 (__libc_getspecific): Likewise.
19199 (__libc_key_create): Likewise.
19201 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19202 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19203 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19204 (tmpfile64): Define as alias.
19205 * sysdeps/wordsize-64/tmpfile.c: File removed.
19206 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19207 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19208 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19210 * stdio-common/vfscanf.c: Include <stdbool.h>.
19211 * nss/makedb.c: Likewise.
19212 * stdio-common/_i18n_number.h: Likewise.
19213 * argp/argp-help.c: Likewise.
19214 * posix/wordexp.c: Likewise.
19215 * sysdeps/posix/spawni.c: Likewise.
19216 * nss/nss_files/files-initgroups.c: Likewise.
19217 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19218 * nss/nss_files/files-initgroups.c: Likewise.
19219 * nss/nss_db/db-netgrp.c: Likewise.
19220 * nss/nss_db/db-initgroups.c: Likewise.
19221 * io/fchmodat.c: Include <sys/stat.h>.
19223 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19224 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19226 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19229 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19230 Add multiple inclusion protection.
19232 2012-07-27 David S. Miller <davem@davemloft.net>
19234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19236 2012-07-27 Gary Benson <gbenson@redhat.com>
19239 * elf/rtld.c: Include <stap-probe.h>.
19240 (dl_main): Added static probes "init_start" and "init_complete".
19241 * elf/dl-load.c: Include <stap-probe.h>.
19242 (lose): Take new parameter "nsid".
19243 Added static probe "map_failed".
19244 (_dl_map_object_from_fd): Pass namespace id to lose.
19245 Added static probe "map_start".
19246 (open_verify): Pass namespace id to lose.
19247 * elf/dl-open.c: Include <stap-probe.h>.
19248 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19249 and "reloc_complete".
19250 * elf/dl-close.c: Include <stap-probe.h>.
19251 (_dl_close_worker): Added static probes "unmap_start" and
19253 * elf/rtld-debugger-interface.txt: New file documenting the above.
19255 2012-07-26 Roland McGrath <roland@hack.frob.com>
19257 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19258 rather than a string variable.
19259 * sunrpc/rpc_main.c (h_output): Likewise.
19260 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19262 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19264 * inet/check_native.c: New file.
19266 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19269 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19270 if larger part has absolute value 1.0.
19271 * math/s_clog10.c (__clog10): Likewise.
19272 * math/s_clog10f.c (__clog10f): Likewise.
19273 * math/s_clog10l.c (__clog10l): Likewise.
19274 * math/s_clogf.c (__clogf): Likewise.
19275 * math/s_clogl.c (__clogl): Likewise.
19276 * math/libm-test.inc (clog_test): Add more tests.
19277 (clog10_test): Likewise.
19278 * sysdeps/i386/fpu/libm-test-ulps: Update.
19279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19281 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19282 (pltexit): Likewise.
19283 (La_regs): Likewise.
19284 (La_retval): Likewise.
19285 (int_retval): Likewise.
19286 Update #error for removed macros to refer only to definitions in
19288 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19290 (pltexit): Likewise.
19291 (La_regs): Likewise.
19292 (La_retval): Likewise.
19293 (int_retval): Likewise.
19294 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19296 (pltexit): Likewise.
19297 (La_regs): Likewise.
19298 (La_retval): Likewise.
19299 (int_retval): Likewise.
19300 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19302 (pltexit): Likewise.
19303 (La_regs): Likewise.
19304 (La_retval): Likewise.
19305 (int_retval): Likewise.
19306 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19308 (pltexit): Likewise.
19309 (La_regs): Likewise.
19310 (La_retval): Likewise.
19311 (int_retval): Likewise.
19312 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19314 (pltexit): Likewise.
19315 (La_regs): Likewise.
19316 (La_retval): Likewise.
19317 (int_retval): Likewise.
19318 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19320 (pltexit): Likewise.
19321 (La_regs): Likewise.
19322 (La_retval): Likewise.
19323 (int_retval): Likewise.
19324 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19325 macro definitions in tst-audit.h.
19326 * sysdeps/i386/tst-audit.h: New file.
19327 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19328 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19329 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19330 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19331 * sysdeps/sh/tst-audit.h: Likewise.
19332 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19333 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19334 * sysdeps/x86_64/tst-audit.h: Likewise.
19336 2012-07-26 Andreas Jaeger <aj@suse.de>
19338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19341 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19342 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19343 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19345 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19346 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19347 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19349 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19352 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19354 (si_call_addr, si_syscall, si_arch): Define new macro.
19355 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19357 (si_call_addr, si_syscall, si_arch): Define new marcro.
19358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19360 (si_call_addr, si_syscall, si_arch): Define new macro.
19361 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19363 (si_call_addr, si_syscall, si_arch): Define new macro.
19365 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19369 Change to 2.4.21 where previously 2.4.1.
19370 * sysdeps/unix/sysv/linux/configure: Regenerated.
19371 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19372 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19373 Linux kernel version.
19374 (__ASSUME_STD_AUXV): Remove.
19375 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19377 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19378 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19379 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19380 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19381 (__ASSUME_NETLINK_SUPPORT): Likewise.
19382 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19383 (__no_netlink_support): Remove conditional definition.
19384 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19386 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19387 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19388 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19389 (if_nameindex_ioctl): Remove.
19390 (if_nameindex_netlink): Do not handle __no_netlink_support.
19391 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19393 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19394 Remove conditional code.
19395 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19397 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19399 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19400 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19401 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19403 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19404 [!__ASSUME_STD_AUXV]: Remove conditional code.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19406 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19407 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19409 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19410 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19412 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19414 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19415 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19417 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19419 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19422 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19425 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19426 code unconditional.
19427 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19429 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19431 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19434 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19436 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19439 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19440 code unconditional.
19441 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19443 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19445 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19448 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19449 code unconditional.
19450 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19452 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19454 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19457 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19459 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19460 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19461 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19462 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19463 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19464 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19465 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19466 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19467 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19468 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19469 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19470 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19471 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19472 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19473 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19474 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19475 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19477 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19479 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19480 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19481 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19483 2012-07-25 Florian Weimer <fweimer@redhat.com>
19485 * Versions.def: Add GLIBC_2.17.
19486 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19487 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19488 Introduce __libc_secure_getenv.
19489 * stdlib/Versions (2.17): Add secure_getenv
19490 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19491 * stdlib/secure-getenv.c: Rename __secure_getenv to
19492 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19493 symbol __secure_getenv for GLIBC_2.0.
19494 * stdlib/tst-secure-getenv.c: New.
19495 * stdlib/Makefile (tests): Add testcase.
19496 * manual/startup.texi (Environment Access): Document
19498 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19499 __libc_secure_getenv.
19500 * inet/ruserpass.c (ruserpass): Likewise.
19501 * malloc/mtrace.c (mtrace): Likewise.
19502 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19503 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19504 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19505 * sysdeps/posix/tempname.c: Likewise. Evaluate
19506 HAVE_SECURE_GETENV.
19507 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19508 __secure_getenv to __libc_secure_getenv.
19509 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19522 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19524 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19525 (struct La_i86_retval): Likewise.
19526 (struct La_x86_64_regs): Likewise.
19527 (struct La_x86_64_retval): Likewise.
19528 (struct La_x32_regs): Likewise.
19529 (struct La_x32_retval): Likewise.
19530 (struct La_ppc32_regs): Likewise.
19531 (struct La_ppc32_retval): Likewise.
19532 (struct La_ppc64_regs): Likewise.
19533 (struct La_ppc64_retval): Likewise.
19534 (struct La_sh_regs): Likewise.
19535 (struct La_sh_retval): Likewise.
19536 (struct La_s390_32_regs): Likewise.
19537 (struct La_s390_32_retval): Likewise.
19538 (struct La_s390_64_regs): Likewise.
19539 (struct La_s390_64_retval): Likewise.
19540 (struct La_sparc32_regs): Likewise.
19541 (struct La_sparc32_retval): Likewise.
19542 (struct La_sparc64_regs): Likewise.
19543 (struct La_sparc64_retval): Likewise.
19544 (struct audit_ifaces): Remove architecture-specific pltenter and
19546 * sysdeps/i386/ldsodefs.h: New file.
19547 * sysdeps/powerpc/ldsodefs.h: Likewise.
19548 * sysdeps/s390/ldsodefs.h: Likewise.
19549 * sysdeps/sh/ldsodefs.h: Likewise.
19550 * sysdeps/sparc/ldsodefs.h: Likewise.
19551 * sysdeps/x86_64/ldsodefs.h: Likewise.
19553 2012-07-25 Marek Polacek <polacek@redhat.com>
19556 * math/libm-test.inc (yn_test): Add another test.
19557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19558 to ERANGE when the result is +-Inf.
19559 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19560 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19561 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19562 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19564 2012-07-24 Joseph Myers <joseph@codesourcery.com>
19566 * conform/data/time.h-data (NULL): Use macro-constant. Require
19568 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19570 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19572 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19574 * configure.in <sysdeps resolving>: Correct printing
19576 * configure: Regenerate.
19578 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19580 * math/w_ilogb.c: Include <limits.h>.
19581 * math/w_ilogbl.c: Likewise.
19583 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19585 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19586 va_copy. Document allowing for unavailable va_copy only as
19587 pre-C99 compatibility.
19588 * manual/string.texi (Copying and Concatenation): Use va_copy
19589 instead of __va_copy in concat example.
19591 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19593 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19594 (__sendto): Use create_address_port. Initialize APORT and deallocate
19597 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19598 with O_NOLINK passed to __file_name_lookup.
19600 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19601 with O_NOLINK passed to __file_name_lookup.
19603 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19604 negative N or less than NGIDS.
19606 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19607 type to string_t. Set ERANGE as errno and return it if NAME is not big
19608 enough. Use memcpy instead of strncpy.
19610 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19612 * elf/Makefile (check-data): Remove.
19613 (localplt.data): New vpath directive.
19614 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19615 instead of $(check-data).
19616 * scripts/data/localplt-generic.data: Move to ...
19617 * sysdeps/generic/localplt.data: ... here.
19618 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19619 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19620 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19623 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19626 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19629 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19632 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19635 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19639 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19641 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19642 PPC32 and PPC64 files.
19643 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19644 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19646 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19648 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19649 __makecontext_ret to ...
19650 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19651 ... here and call exit if uc_link is NULL. New file.
19652 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19653 __makecontext_ret.S.
19654 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19655 __makecontext_ret to ...
19656 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19657 ... here and call exit if uc_link is NULL. New file.
19658 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19659 __makecontext_ret.S.
19661 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19663 * elf/elf.h (R_390_IRELATIVE): New definition.
19664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19665 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19666 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19668 (elf_machine_lazy_rel): Likewise.
19669 * sysdeps/s390/dl-irel.h: New file.
19670 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19671 * sysdeps/s390/s390-64/memset.S: New asm code.
19672 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19673 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19675 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19676 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19677 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19678 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19679 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19680 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19681 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19682 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19683 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19684 * sysdeps/s390/s390-32/memset.S: New asm code.
19685 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19687 2012-07-17 Marek Polacek <polacek@redhat.com>
19690 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19691 * sysdeps/s390/s390-64/configure.in: Likewise.
19692 * sysdeps/sparc/configure.in: Likewise.
19693 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19694 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19695 * sysdeps/i386/configure.in: Likewise.
19696 * sysdeps/x86_64/configure.in: Likewise.
19697 * sysdeps/sh/configure.in: Likewise.
19698 * sysdeps/s390/s390-32/configure: Regenerated.
19699 * sysdeps/s390/s390-64/configure: Likewise.
19700 * sysdeps/x86_64/configure: Likewise.
19701 * sysdeps/sh/configure: Likewise.
19702 * sysdeps/powerpc/powerpc64/configure: Likewise.
19703 * sysdeps/powerpc/powerpc32/configure: Likewise.
19704 * sysdeps/sparc/configure: Likwise.
19705 * sysdeps/i386/configure: Likewise.
19707 * elf/dl-open.c: Comment fixes.
19709 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19711 * Makefile [CXX] (check-data): Remove.
19712 [CXX] (c++-types.data): New vpath directive.
19713 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19714 vpath. Do not allow for C++ type data being missing.
19715 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19716 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19717 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19718 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19719 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19720 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19721 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19724 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19727 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19730 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19733 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19736 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19739 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19742 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19745 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19746 definitions to architecture-specific files.
19747 (TLS_IE): Likewise.
19748 (TLS_LD): Likewise.
19749 (TLS_GD): Likewise.
19750 * sysdeps/i386/tls-macros.h: New file.
19751 * sysdeps/powerpc/tls-macros.h: Likewise.
19752 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19753 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19754 * sysdeps/sh/tls-macros.h: Likewise.
19755 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19756 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19757 * sysdeps/x86_64/tls-macros.h: Likewise.
19759 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19762 zero value for regular exit case.
19764 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19765 (__start_context): Preserve zero value for regular exit case.
19767 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19768 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19770 * manual/setjmp.texi (setcontext): Clarify normal process
19771 termination when uc_link is the null pointer.
19772 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19775 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19777 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19778 preprocessor. Test for each exception mask separately.
19780 2012-07-16 Andreas Jaeger <aj@suse.de>
19782 * po/ru.po: Update from translation team.
19784 2012-07-15 Joseph Myers <joseph@codesourcery.com>
19786 * conform/data/string.h-data (NULL): Use macro-constant. Require
19788 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19789 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19790 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19791 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19794 2012-07-13 Andreas Jaeger <aj@suse.de>
19796 * po/fr.po: Update from translation team.
19798 2012-07-12 Marek Polacek <polacek@redhat.com>
19801 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19802 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19805 2012-07-12 Joseph Myers <joseph@codesourcery.com>
19808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19809 Change to 2.4.1 where previously 2.4.0.
19810 * sysdeps/unix/sysv/linux/configure: Regenerated.
19811 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19812 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19814 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19815 (__ASSUME_AT_CLKTCK): Remove.
19816 (__ASSUME_AT_PAGESIZE): Likewise.
19817 (__ASSUME_AT_XID): Likewise.
19818 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19819 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19820 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19822 (HAVE_AUX_PAGESIZE): Likewise.
19823 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19824 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19825 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19827 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19831 the temporary buffer used to invoke __gethostbyname2_r,
19832 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19833 host_data / struct gaih_addrtuple.
19834 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19835 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19836 header file nss/nsswitch.h.
19837 * nss/nsswitch.h (global scope): Add definition of implementation
19838 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19839 resolv/nss_dns/dns-host.c).
19841 2012-07-11 Andreas Jaeger <aj@suse.de>
19843 * po/fr.po: Update from translation team.
19845 * po/sv.po: Update from translation team
19846 * po/fr.po: Another update from translation team.
19848 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19850 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19851 for subnormals or multiply small sinh result by itself.
19852 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19855 2012-07-11 David S. Miller <davem@davemloft.net>
19857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19859 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19862 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19863 (INTERNAL_MARK): Shift it here.
19865 2012-07-10 Marek Polacek <polacek@redhat.com>
19868 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19869 libc_cv_asm_global_directive with .globl.
19870 * configure: Regenerated.
19871 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19873 * sysdeps/i386/configure: Regenerated.
19874 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19876 * sysdeps/x86_64/configure: Regenerated.
19877 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19878 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19879 * elf/tst-unique2mod2.c: Likewise.
19880 * elf/tst-unique2mod1.c: Likewise.
19881 * elf/tst-unique1mod2.c: Likewise.
19882 * elf/tst-unique1mod1.c: Likewise.
19883 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19884 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19886 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19887 * sysdeps/mach/sysdep.h: Likewise.
19888 * sysdeps/i386/sysdep.h: Likewise.
19889 * sysdeps/i386/i386-mcount.S: Likewise.
19890 * sysdeps/x86_64/_mcount.S: Likewise.
19891 * sysdeps/x86_64/sysdep.h: Likewise.
19892 * sysdeps/sh/_mcount.S: Likewise.
19893 * sysdeps/sh/sysdep.h: Likewise.
19894 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19895 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19896 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19897 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19898 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19899 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19900 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19901 * locale/localeinfo.h: Likewise.
19902 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19903 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19905 2012-07-09 Roland McGrath <roland@hack.frob.com>
19908 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19910 * manual/message.texi (The Uniforum approach): Likewise.
19911 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19912 (glibc iconv Implementation): Likewise.
19914 2012-07-09 Joseph Myers <joseph@codesourcery.com>
19917 * math/s_clog.c (__clog): Avoid scaling a value down where that
19918 could result in underflow.
19919 * math/s_clog10.c (__clog10): Likewise.
19920 * math/s_clog10f.c (__clog10f): Likewise.
19921 * math/s_clog10l.c (__clog10l): Likewise.
19922 * math/s_clogf.c (__clogf): Likewise.
19923 * math/s_clogl.c (__clogl): Likewise.
19924 * math/libm-test.inc (clog_test): Add more tests.
19925 (clog10_test): Likewise.
19926 * sysdeps/i386/fpu/libm-test-ulps: Update.
19927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19929 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19932 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19933 by 7 not 8 to examine high bit of fractional part.
19936 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19937 for call to __mcount_internal.
19938 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19939 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19940 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19942 2012-07-06 Joseph Myers <joseph@codesourcery.com>
19945 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19946 approximation for values within 0x1p-13f of an odd multiple of
19948 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19949 exception. Add more tests.
19950 * sysdeps/i386/fpu/libm-test-ulps: Update.
19953 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19954 inputs and return -1 for them. Do not check for +Inf in case not
19955 reachable for +Inf.
19956 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19957 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19959 and return -1 for them. Do not check for +Inf in case not
19960 reachable for +Inf.
19961 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19963 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19964 and return -1 for them. Do not check for +Inf in case not
19965 reachable for +Inf.
19966 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19967 spurious underflow.
19968 * sysdeps/i386/fpu/libm-test-ulps: Update.
19969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19971 2012-07-06 Mike Frysinger <vapier@gentoo.org>
19973 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19975 2012-07-05 Joseph Myers <joseph@codesourcery.com>
19979 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19980 could result in spurious underflow. Scale down values above
19981 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19982 * math/s_csqrtf.c (__csqrtf): Likewise.
19983 * math/s_csqrtl.c (__csqrtl): Likewise.
19984 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19985 spurious underflow.
19986 * sysdeps/i386/fpu/libm-test-ulps: Update.
19987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19989 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19991 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19993 * catgets/xopen-msg.awk: New file.
19994 * catgets/xopen-msg.sed: Removed.
19996 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19998 * intl/po2test.awk: New file.
19999 * intl/po2test.sed: Removed.
20001 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20004 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20005 or multiply small sinh result by itself.
20006 * math/s_ctanf.c (__ctanf): Likewise.
20007 * math/s_ctanh.c (__ctanh): Likewise.
20008 * math/s_ctanhf.c (__ctanhf): Likewise.
20009 * math/s_ctanhl.c (__ctanhl): Likewise.
20010 * math/s_ctanl.c (__ctanl): Likewise.
20011 * math/libm-test.inc (ctan_test_tonearest): New function.
20012 (ctan_test_towardzero): Likewise.
20013 (ctan_test_downward): Likewise.
20014 (ctan_test_upward): Likewise.
20015 (ctanh_test_tonearest): Likewise.
20016 (ctanh_test_towardzero): Likewise.
20017 (ctanh_test_downward): Likewise.
20018 (ctanh_test_upward): Likewise.
20019 (main): Call these new functions.
20020 * sysdeps/i386/fpu/libm-test-ulps: Update.
20021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20023 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20025 * .gitignore: Delete /ports entry.
20027 2012-07-03 Andreas Jaeger <aj@suse.de>
20029 * po/bg.po: Update from translation team.
20030 * po/cs.po: Likewise.
20031 * po/de.po: Likewise.
20032 * po/hr.po: Likewise.
20033 * po/nl.pl: Likewise.
20034 * po/pl.po: Likewise.
20035 * po/vi.po: Likewise.
20037 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20039 * Makeconfig [!+link] (+link-before-libc): New variable.
20040 [!+link] (+link-after-libc): Likewise.
20041 [!+link] (+link-tests): Likewise.
20042 [!+link] (+link): Define in terms of $(+link-before-libc) and
20043 $(+link-after-libc).
20044 [!+link-static] (+link-static-before-libc): New variable.
20045 [!+link-static] (+link-static-after-libc): Likewise.
20046 [!+link-static] (+link-static-tests): Likewise.
20047 [!+link-static] (+link-static): Define in terms of
20048 $(+link-static-before-libc) and $(+link-static-after-libc).
20049 [build-shared] (link-libc-before-gnulib): New variable.
20050 [build-shared] (link-libc-tests): Likewise.
20051 [build-shared] (link-libc): Define in terms of
20052 $(link-libc-before-gnulib).
20053 [!build-shared] (link-libc-tests): New variable.
20054 (link-libc-static-tests): New variable.
20055 [!gnulib] (gnulib-arch): New variable.
20056 [!gnulib] (gnulib-tests): Likewise.
20057 [!gnulib] (static-gnulib-arch): Likewise.
20058 [!gnulib] (static-gnulib-tests): Likewise.
20059 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20060 Define with "=" instead of ":=".
20061 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20062 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20063 * Rules (binaries-all-notests): New variable.
20064 (binaries-all-tests): Likewise.
20065 (binaries-static-notests): Likewise.
20066 (binaries-static-tests): Likewise.
20067 (binaries-all): Define using $(binaries-all-notests) and
20068 $(binaries-all-tests).
20069 (binaries-static): Define using $(binaries-static-notests) and
20070 $(binaries-static-tests).
20071 (binaries-shared-tests): New variable.
20072 (binaries-shared-notests): Likewise.
20073 (binaries-shared): Remove variable.
20074 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20075 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20076 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20077 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20078 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20079 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20080 * elf/Makefile (sln-modules): New variable.
20081 (extra-objs): Add $(sln-modules:=.o).
20082 (ldconfig-modules): Add static-stubs.
20083 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20084 * elf/static-stubs.c: New file.
20087 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20088 by 7 not 8 to examine high bit of fractional part. Use volatile
20089 variables when splitting into final array of floats if
20090 __FLT_EVAL_METHOD__ != 0.
20091 * math/libm-test.inc (cos_test): Add another test.
20092 (sin_test): Likewise.
20093 * sysdeps/i386/fpu/libm-test-ulps: Update.
20096 * math/libm-test.inc (cosh_test): Add more tests.
20098 * version.h (RELEASE): Set to "development".
20099 (VERSION): Set to "2.16.90".
20101 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20103 * NEWS: Update copyright. Remove last-updated date.
20104 Mention math library bug fixes and timezone data changes.
20105 * README: Mention GNU/Hurd, x32, and HPPA support status.
20107 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20109 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20111 2012-06-27 Andreas Jaeger <aj@suse.de>
20113 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20115 2012-06-25 Andreas Jaeger <aj@suse.de>
20117 * sysdeps/s390/fpu/libm-test-ulps: Update.
20119 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20120 Thomas Schwinge <thomas@codesourcery.com>
20122 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20123 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20127 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20129 * sysdeps/mach/start.c: Remove file.
20130 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20131 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20132 * sysdeps/sh/init-first.c: Likewise.
20134 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20135 registers for frame unwinding purposes, add CFI directives.
20136 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20137 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20138 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20141 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20142 __fortify_fail returning.
20143 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20145 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20146 sysdeps/sh/____longjmp_chk.S.
20147 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20148 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20149 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20150 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20152 * sysdeps/sh/abort-instr.h: New file.
20153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20154 process in case exit returns.
20156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20157 initialize the GOT register before use.
20159 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20160 calculation of ARGC > 4.
20162 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20163 meaningful names to some local labels.
20165 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20166 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20168 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20169 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20170 (__arch_compare_and_exchange_val_16_acq): Likewise.
20171 (__arch_compare_and_exchange_val_32_acq): Likewise.
20172 (atomic_exchange_and_add): Fix gUSA sequence.
20173 (atomic_add): Likewise.
20174 (atomic_add_negative): Likewise.
20175 (atomic_add_zero): Likewise.
20176 (atomic_bit_test_set): Likewise.
20178 2012-06-22 Andreas Schwab <schwab@redhat.com>
20181 * include/link.h (struct link_map): Add l_free_initfini.
20182 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20184 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20185 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20186 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20189 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20191 * configure.in: Use AC_LANG_SOURCE.
20192 * configure: Regenerate.
20194 2012-06-22 Roland McGrath <roland@hack.frob.com>
20196 * configure.in (libc_cv_localstatedir): New substituted variable.
20197 * configure: Regenerated.
20198 * config.make.in (localstatedir): New variable, substituted from
20199 libc_cv_localstatedir.
20200 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20201 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20202 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20203 * sysdeps/gnu/configure: Regenerated.
20205 2012-06-21 Jeff Law <law@redhat.com>
20208 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20209 free. Simplify list management for _LIBC case.
20211 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20214 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20215 Clear sign bit of 64-bit integer value before comparing against
20218 * sysdeps/mach/configure: Regenerated.
20220 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20223 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20225 2012-06-21 Jeff Law <law@redhat.com>
20228 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20229 uint16_t for elements in the "seen" array to avoid char overflows.
20230 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20231 * elf/dl-open.c (dl_open_worker): Likewise.
20233 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20235 * scripts/list-sources.sh: Scan PORTS for translations.
20236 * po/libc.pot: Regenerated.
20238 2012-06-21 Andreas Jaeger <aj@suse.de>
20241 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20243 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20244 * bits/byteswap-16.h (__bswap_16): Likewise.
20245 * bits/byteswap.h (__bswap_constant_16): Likewise.
20247 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20250 * sysdeps/i386/fpu_control.h: Removed.
20251 * sysdeps/x86_64/fpu_control.h: Moved to ...
20252 * sysdeps/x86/fpu_control.h: Here.
20254 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20255 (_FPU_SETCW): Likewise.
20257 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20260 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20261 * sysdeps/x86/fpu/bits/mathinline.h: This.
20262 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20266 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20267 functions if __x86_64__ is defined.
20269 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20271 * string/endian.h: Add !__ASSEMBLER__ condition for including
20272 conversion interfaces.
20274 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20278 of ABS(x) in calculating zero to negative powers other than odd
20280 * math/libm-test.inc (pow_test): Add more tests.
20282 2012-06-15 Andreas Jaeger <aj@suse.de>
20284 * manual/contrib.texi (Contributors): Update entry of Liubov
20285 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20288 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20290 * string/string.h: Add __wur to GNU version of strerror_r.
20292 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20295 * string/Makefile (tests): Add tst-strtok_r.
20296 * string/tst-strtok_r.c: New file.
20297 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20298 RAX_LP/RDX_LP on SAVE_PTR.
20300 2012-06-14 Roland McGrath <roland@hack.frob.com>
20302 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20304 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20306 * libm_test.inc (csqrt_test): Allow more spurious underflow
20308 (j0_test): Likewise.
20309 (j1_test): Likewise.
20310 (y0_test): Likewise.
20311 (y1_test): Likewise.
20313 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20315 * po/Makefile (libc.pot): Use UTF-8 charset.
20317 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20320 Suppress sign-conversion warning from FD_SET.
20321 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20322 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20323 not unsigned long int.
20324 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20326 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20330 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20331 __extern_always_inline instead of __extern_inline.
20332 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20333 (__signbit): Likewise.
20334 (__signbitl): Support C++ namespace.
20335 (lrintf): New inline function.
20337 (llrintf): Likewise.
20338 (llrint): Likewise.
20348 (floorf): Likewise.
20349 (nearbyint): Likewise.
20350 (nearbyintf): Likewise.
20352 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20355 non-default versions.
20357 2012-06-11 Roland McGrath <roland@hack.frob.com>
20360 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20362 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20364 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20365 (FE_UPWARD, FE_DOWNWARD): Don't define.
20366 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20369 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20371 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20372 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20374 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20376 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20378 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20379 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20381 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20384 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20385 * sysdeps/i386/fpu/Implies: New file.
20386 * sysdeps/x86_64/fpu/Implies: Likewise.
20387 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20388 * sysdeps/x86/fpu/bits/fenv.h: This.
20390 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20393 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20396 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20397 character 0xffff that matches the last element of the
20400 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20405 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20408 values higher than 25.6283.
20410 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20413 subnormal exponent extraction and add some __builtin_expect.
20414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20415 Fix for subnormal mantissa calculation.
20417 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20419 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20420 cpu2 is -1 and errno is not ENOSYS.
20422 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20425 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20426 * sysdeps/x86/bits/string.h: This.
20427 * sysdeps/x86_64/bits/string.h: Removed.
20429 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20430 if not compiling for x86-64, but compiling for >= i486.
20432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20433 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20436 New macro from Linux kernel 3.4.0.
20437 (FP_XSTATE_MAGIC2): Likewise.
20438 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20439 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20440 (struct _fpx_sw_bytes): New struct.
20441 (struct _xsave_hdr): Likewise.
20442 (struct _ymmh_state): Likewise.
20443 (struct _xstate): Likewise.
20445 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20446 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20448 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20449 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20450 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20452 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20453 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20454 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20455 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20456 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20457 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20459 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20462 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20463 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20464 (sysdep_headers): Include sys/platform/ppc.h.
20465 * sysdeps/powerpc/test-gettimebase.c: Test for
20466 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20467 * manual/Makefile (appendices): Include platform.texi.
20468 * manual/contrib.texi (Contributors): Update @node pointers.
20469 * manual/maint.texi (Maintenance): Likewise.
20470 (Platform): New node.
20471 * manual/platform.texi: New file. Document the new features.
20473 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20474 Jakub Jelinek <jakub@redhat.com>
20477 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20478 where __builtin_expect is unavailable.
20480 2012-06-03 David S. Miller <davem@davemloft.net>
20482 * stdlib/longlong.h: Updated from GCC.
20484 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20487 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20488 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20491 (GLIBC_2.16): Likewise.
20493 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20495 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20497 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20500 (default-abi): New variable.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20502 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20504 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20506 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20508 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20511 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20512 definition. Document in comment.
20514 2012-06-01 David S. Miller <davem@davemloft.net>
20516 * stdlib/longlong.h: Updated from GCC.
20518 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20521 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20522 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20523 sys/debugreg.h sys/io.h here.
20524 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20525 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20527 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20528 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20529 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20530 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20531 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20532 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20534 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20535 Define only if __x86_64__ is defined.
20537 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20541 Use int64_t for variable i.
20542 * math/libm-test.inc (fmod_test): Add more tests.
20544 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20545 z computation is not scheduled after fetestexcept.
20546 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20547 Use math_force_eval instead of asm to ensure calculation scheduled
20548 before exception test.
20549 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20550 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20552 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20555 computation is not scheduled after fetestexcept.
20557 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20560 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20561 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20563 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20565 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20566 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20568 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20571 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20573 (__WCHAR_MIN): Support __WORDSIZE == 64.
20574 (__WCHAR_MAX): Likewise.
20576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20577 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20581 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20584 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20585 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20588 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20591 Defined to 1 if __x86_64__ isn't defined.
20592 (_STAT_VER_LINUX_OLD): New.
20593 (st_atime): Remove duplicate.
20594 (st_mtime): Likewise.
20595 (st_ctime): Likewise.
20597 2012-05-31 David S. Miller <davem@davemloft.net>
20599 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20602 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20604 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20608 * elf/dl-reloc.c: Include <_itoa.h>.
20609 (_dl_reloc_bad_type): Remove use of INTUSE.
20610 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20611 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20612 * stdio-common/psiginfo.c (psiginfo): Likewise.
20613 * stdio-common/psignal.c (psignal): Likewise.
20614 * string/strsignal.c (strsignal): Likewise.
20615 * include/signal.h (_sys_siglist): Declare hidden proto.
20616 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20617 INTVARDEF with libc_hidden_data_def.
20618 * stdio-common/itoa-udigits.c: Likewise.
20619 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20620 (_itoa_lower_digits_internal): Remove declaration.
20621 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20622 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20623 (_sys_sigabbrev_internal): Remove aliases.
20624 (_sys_siglist): Define hidden alias.
20626 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20631 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20634 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20635 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20637 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20638 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20639 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20640 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20642 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20644 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20645 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20646 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20648 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20656 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20658 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20660 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20661 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20663 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20664 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20665 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20667 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20668 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20670 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20671 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20675 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20677 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20678 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20680 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20682 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20683 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20684 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20686 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20688 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20690 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20692 * math/math.h (M_El): Use two more decimal places.
20693 (M_LOG2El): Likewise.
20694 (M_LOG10El): Likewise.
20695 (M_LN2l): Likewise.
20696 (M_LN10l): Likewise.
20698 (M_PI_2l): Likewise.
20699 (M_PI_4l): Likewise.
20700 (M_1_PIl): Likewise.
20701 (M_2_PIl): Likewise.
20702 (M_2_SQRTPIl): Likewise.
20703 (M_SQRT2l): Likewise.
20704 (M_SQRT1_2l): Likewise.
20706 2012-05-31 David S. Miller <davem@davemloft.net>
20708 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20709 values between float registers.
20710 * sysdeps/sparc/sparc64/memset.S: Likewise.
20711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20713 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20715 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20716 -D_FORTIFY_SOURCE=1.
20717 (CPPFLAGS-tst-longjmp_chk.c): Define.
20718 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20719 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20720 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20721 CFLAGS-tst-wchar-h.c.
20723 2012-05-31 Marek Polacek <polacek@redhat.com>
20726 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20727 __endmntent_internal): Remove declaration.
20728 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20729 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20730 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20732 2012-05-30 David S. Miller <davem@davemloft.net>
20734 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20735 (___Q_simulate_exceptions): Use real FP ops rather than writing
20737 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20740 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20743 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20744 * sysdeps/x86/bits/xtitypes.h: This.
20746 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20747 * sysdeps/x86/bits/wordsize.h: This.
20749 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20750 * sysdeps/x86/bits/huge_vall.h: This.
20752 * sysdeps/i386/bits/select.h: Removed.
20753 * sysdeps/x86_64/bits/select.h: Renamed to ...
20754 * sysdeps/x86/bits/select.h: This.
20756 * sysdeps/i386/bits/setjmp.h: Removed.
20757 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20758 * sysdeps/x86/bits/setjmp.h: This.
20760 * sysdeps/i386/bits/mathdef.h: Removed.
20761 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20762 * sysdeps/x86/bits/mathdef.h: This.
20764 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20767 * include/sys/socket.h (__connect_internal)
20768 (__libc_sa_len_internal): Remove declaration.
20769 (__connect, __libc_sa_len): Declare hidden_proto.
20770 (SA_LEN): Remove use of INTUSE.
20771 * socket/connect.c: Add libc_hidden_def.
20772 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20773 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20774 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20776 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20777 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20778 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20779 of adding _internal alias.
20781 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20784 * sysdeps/i386/bits/link.h: Removed.
20785 * sysdeps/i386/bits/linkmap.h: Likewise.
20786 * sysdeps/x86_64/bits/link.h: Renamed to ...
20787 * sysdeps/x86/bits/link.h: This.
20788 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20789 * sysdeps/x86/bits/linkmap.h: This.
20791 * sysdeps/i386/bits/endian.h: Removed.
20792 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20793 * sysdeps/x86/bits/endian.h: This.
20795 * sysdeps/i386/bits/byteswap.h: Removed.
20796 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20797 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20798 * sysdeps/x86/bits/byteswap.h: This.
20799 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20800 * sysdeps/x86/bits/byteswap-16.h: This.
20801 * sysdeps/i386/Implies: Add x86.
20802 * sysdeps/x86_64/Implies: Likewise.
20804 2012-05-30 David S. Miller <davem@davemloft.net>
20806 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20807 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20808 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20809 (FP_TRAPPING_EXCEPTIONS): Define.
20810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20811 (FP_TRAPPING_EXCEPTIONS): Define.
20812 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20813 subnormals only when inexact has been signalled or underflow
20814 exceptions are enabled.
20815 (_FP_PACK_CANONICAL): Likewise.
20817 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20820 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20821 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20823 2012-05-30 Richard Henderson <rth@twiddle.net>
20825 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20826 with #ifndef NOT_IN_libc.
20828 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20829 marked to avoid plt entry.
20831 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20834 * Makeconfig (default-abi): New macro.
20835 (abi-includes): Likewise.
20836 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20837 $(abi-$(default-abi)-lib-soname) for soname if defined.
20838 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20840 * Makefile (installed-stubs): Likewise.
20841 * include/stubs-biarch.h: Removed.
20842 * scripts/lib-names.awk: Only handle one library at a time.
20843 * scripts/soversions.awk: Remove WORDSIZE support.
20844 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20846 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20848 (syscall-list-default-condition): Likewise.
20849 (syscall-list-default-condition): Likewise.
20850 (syscall-list-includes): Likewise.
20851 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20852 syscall-list-* with abi-*. Handle undefined abi-variants.
20853 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20854 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20855 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20856 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20857 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20858 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20860 (syscall-list-32-options): Likewise.
20861 (syscall-list-32-condition): Likewise.
20862 (syscall-list-64-options): Likewise.
20863 (syscall-list-64-condition): Likewise.
20864 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20866 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20869 (abi-64-ld-soname): New macro.
20870 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20871 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20874 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20875 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20877 2012-05-30 Joseph Myers <joseph@codesourcery.com>
20879 * sysdeps/unix/sysv/linux/kernel-features.h
20880 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20881 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20882 include <kernel-features.h>.
20883 [!__NR_ftruncate64]: Remove conditional code.
20884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20885 [__NR_ftruncate64]: Make code unconditional.
20886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20887 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20888 include <kernel-features.h>.
20889 [!__NR_ftruncate64]: Remove conditional code.
20890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20891 [__NR_ftruncate64]: Make code unconditional.
20892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20894 include <kernel-features.h>.
20895 [!__NR_ftruncate64]: Remove conditional code.
20896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20897 [__NR_ftruncate64]: Make code unconditional.
20898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20900 include <kernel-features.h>.
20901 [!__NR_ftruncate64]: Remove conditional code.
20902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20903 [__NR_ftruncate64]: Make code unconditional.
20904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20906 * configure.in (libc_cv_fpie): Weaken to a compile test using
20907 LIBC_TRY_CC_OPTION.
20908 * configure: Regenerated.
20910 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20925 2012-05-27 David S. Miller <davem@davemloft.net>
20927 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20929 (__Q_simulate_exceptions): Return void. Change to simulate
20930 exceptions by writing into the %fsr.
20931 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20932 (__Qp_handle_exceptions): Likewise.
20934 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20935 __Qp_handle_exceptions.
20936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20937 __Qp_handle_exceptions.
20938 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20939 as unused and give dummy FP_RND_NEAREST initializer.
20940 (FP_INHIBIT_RESULTS): Define.
20941 (___Q_simulate_exceptions): Update declaration.
20942 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20944 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20945 as unused and give dummy FP_RND_NEAREST initializer.
20946 (__Qp_handle_exceptions): Update declaration.
20947 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20950 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20952 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20953 the temporary FPU control word.
20954 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20955 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20956 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20957 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20958 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20959 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20960 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20961 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20962 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20963 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20964 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20966 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20968 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20971 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20973 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20974 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20975 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20976 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20978 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20979 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20982 2012-05-27 Ulrich Drepper <drepper@gmail.com>
20984 * po/h.po: Update from translation team.
20986 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20988 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20990 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20991 handling of denormals.
20992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20993 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20994 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21001 2012-05-26 Marek Polacek <polacek@redhat.com>
21004 * math/libm-test.inc (fma_test): Don't always expect underflow
21007 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21010 * elf/tst-execstack.c: Include stackinfo.h.
21011 (do_test): Adjust test case to ensure that pthread_getattr_np
21012 behaviour remains the same after marking stack executable.
21014 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21016 * sysdeps/unix/sysv/linux/kernel-features.h
21017 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21018 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21020 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21021 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21022 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21024 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21025 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21027 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21029 * configure.in: Define the default includes to being none.
21030 * configure: Regenerated.
21032 2012-05-25 Roland McGrath <roland@hack.frob.com>
21034 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21035 * sysdeps/x86_64/setjmp.S: Likewise.
21036 * sysdeps/i386/bsd-setjmp.S: Likewise.
21037 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21038 * sysdeps/i386/setjmp.S: Likewise.
21039 * sysdeps/i386/__longjmp.S: Likewise.
21040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21041 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21043 * include/stap-probe.h: New file.
21044 * configure.in: Handle --enable-systemtap.
21045 * configure: Regenerated.
21046 * config.h.in (USE_STAP_PROBE): New #undef.
21047 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21048 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21049 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21051 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21055 to 2.4.0 where earlier.
21056 * sysdeps/unix/sysv/linux/configure: Regenerated.
21057 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
21066 [__ASSUME_32BITUIDS]: Make code unconditional.
21067 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21068 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21069 <kernel-features.h>.
21070 [__ASSUME_32BITUIDS]: Make code unconditional.
21071 [!__ASSUME_32BITUIDS]: Remove conditional code.
21072 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21073 <kernel-features.h>.
21074 [__ASSUME_32BITUIDS]: Make code unconditional.
21075 [!__ASSUME_32BITUIDS]: Remove conditional code.
21076 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21077 <kernel-features.h>.
21078 [__ASSUME_32BITUIDS]: Make code unconditional.
21079 [!__ASSUME_32BITUIDS]: Remove conditional code.
21080 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21081 <kernel-features.h>.
21082 [__ASSUME_32BITUIDS]: Make code unconditional.
21083 [!__ASSUME_32BITUIDS]: Remove conditional code.
21084 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21085 <kernel-features.h>.
21086 [__ASSUME_32BITUIDS]: Make code unconditional.
21087 [!__ASSUME_32BITUIDS]: Remove conditional code.
21088 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21089 <kernel-features.h>.
21090 [__ASSUME_32BITUIDS]: Make code unconditional.
21091 [!__ASSUME_32BITUIDS]: Remove conditional code.
21092 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21093 <kernel-features.h>.
21094 [__ASSUME_32BITUIDS]: Make code unconditional.
21095 [!__ASSUME_32BITUIDS]: Remove conditional code.
21096 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21097 <kernel-features.h>.
21098 [__ASSUME_32BITUIDS]: Make code unconditional.
21099 [!__ASSUME_32BITUIDS]: Remove conditional code.
21100 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21101 <kernel-features.h>.
21102 [__ASSUME_32BITUIDS]: Make code unconditional.
21103 [!__ASSUME_32BITUIDS]: Remove conditional code.
21104 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21105 <kernel-features.h>.
21106 [__ASSUME_32BITUIDS]: Make code unconditional.
21107 [!__ASSUME_32BITUIDS]: Remove conditional code.
21108 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21109 <kernel-features.h>.
21110 [__NR_setresgid] (__setresgid): Do not declare.
21111 [__ASSUME_32BITUIDS]: Make code unconditional.
21112 [!__ASSUME_32BITUIDS]: Remove conditional code.
21113 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21114 <kernel-features.h>.
21115 [__NR_setresuid] (__setresuid): Do not declare.
21116 [__ASSUME_32BITUIDS]: Make code unconditional.
21117 [!__ASSUME_32BITUIDS]: Remove conditional code.
21118 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21119 <kernel-features.h>.
21120 [__ASSUME_32BITUIDS]: Make code unconditional.
21121 [!__ASSUME_32BITUIDS]: Remove conditional code.
21122 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21123 <kernel-features.h>.
21124 [__ASSUME_32BITUIDS]: Make code unconditional.
21125 [!__ASSUME_32BITUIDS]: Remove conditional code.
21126 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21127 <kernel-features.h>.
21128 [__ASSUME_32BITUIDS]: Make code unconditional.
21129 [!__ASSUME_32BITUIDS]: Remove conditional code.
21130 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21131 <kernel-features.h>.
21132 [__ASSUME_32BITUIDS]: Make code unconditional.
21133 [!__ASSUME_32BITUIDS]: Remove conditional code.
21134 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21135 <kernel-features.h>.
21136 [__ASSUME_32BITUIDS]: Make code unconditional.
21137 [!__ASSUME_32BITUIDS]: Remove conditional code.
21138 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21139 <kernel-features.h>.
21140 [__ASSUME_32BITUIDS]: Make code unconditional.
21141 [!__ASSUME_32BITUIDS]: Remove conditional code.
21142 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21143 <kernel-features.h>.
21144 [__ASSUME_32BITUIDS]: Make code unconditional.
21145 [!__ASSUME_32BITUIDS]: Remove conditional code.
21146 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21147 <kernel-features.h>.
21148 [__ASSUME_32BITUIDS]: Make code unconditional.
21149 [!__ASSUME_32BITUIDS]: Remove conditional code.
21150 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21151 <kernel-features.h>.
21152 [__ASSUME_32BITUIDS]: Make code unconditional.
21153 [!__ASSUME_32BITUIDS]: Remove conditional code.
21154 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21155 <kernel-features.h>.
21156 [__ASSUME_32BITUIDS]: Make code unconditional.
21157 [!__ASSUME_32BITUIDS]: Remove conditional code.
21158 * sysdeps/unix/sysv/linux/kernel-features.h
21159 (__ASSUME_SETRESUID_SYSCALL): Remove.
21160 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21161 (__ASSUME_32BITUIDS): Likewise.
21162 (__ASSUME_LDT_WORKS): Likewise.
21163 (__ASSUME_O_DIRECTORY): Likewise.
21164 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21165 architecture but not kernel version.
21166 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21167 (__ASSUME_MMAP2_SYSCALL): Likewise.
21168 (__ASSUME_STAT64_SYSCALL): Likewise.
21169 (__ASSUME_IPC64): Likewise.
21170 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21171 <kernel-features.h>.
21172 [__ASSUME_32BITUIDS]: Make code unconditional.
21173 [!__ASSUME_32BITUIDS]: Remove conditional code.
21174 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21175 <kernel-features.h>.
21176 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21177 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21178 132096]: Remove conditional code.
21179 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21180 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21181 <kernel-features.h>.
21182 [__ASSUME_32BITUIDS]: Make code unconditional.
21183 [!__ASSUME_32BITUIDS]: Remove conditional code.
21184 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21185 <kernel-features.h>.
21186 [__ASSUME_32BITUIDS]: Make code unconditional.
21187 [!__ASSUME_32BITUIDS]: Remove conditional code.
21188 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21189 <kernel-features.h>.
21190 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21192 (__setresgid): Do not declare.
21193 [__ASSUME_32BITUIDS]: Make code unconditional.
21194 [!__ASSUME_32BITUIDS]: Remove conditional code.
21195 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21196 <kernel-features.h>.
21197 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21199 (__setresuid): Do not declare.
21200 [__ASSUME_32BITUIDS]: Make code unconditional.
21201 [!__ASSUME_32BITUIDS]: Remove conditional code.
21202 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21203 <kernel-features.h>.
21204 [__ASSUME_32BITUIDS]: Make code unconditional.
21205 [!__ASSUME_32BITUIDS]: Remove conditional code.
21206 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21207 <kernel-features.h>.
21208 [__ASSUME_32BITUIDS]: Make code unconditional.
21209 [!__ASSUME_32BITUIDS]: Remove conditional code.
21211 2012-05-25 Richard Henderson <rth@twiddle.net>
21213 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21214 dl_hwcap to ifunc resolver.
21215 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21217 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21218 dl_hwcap to ifunc resolver.
21219 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21221 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21224 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21225 for |x| <= 2**-26, not 2**-57.
21226 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21229 2012-05-24 Jeff Law <law@redhat.com>
21231 * stdio-common/Makefile (tests): Add bug25.
21232 * stdio-common/bug25.c: New test.
21234 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21237 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21238 multiple of MALLOC_ALIGNMENT in size.
21239 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21241 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21243 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21245 (FILENAME_MAX): Use macro-int-constant.
21246 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21247 (_IOFBF): Use macro-int-constant.
21248 (_IOLBF): Likewise.
21249 (_IONBF): Likewise.
21250 (SEEK_CUR): Likewise.
21251 (SEEK_END): Likewise.
21252 (SEEK_SET): Likewise.
21253 (TMP_MAX): Likewise.
21254 (EOF): Use macro-int-constant. Require < 0.
21255 (NULL): Use macro-constant. Require == 0.
21256 (stdin): Require type to be FILE *.
21257 (stdout): Likewise.
21258 (stderr): Likewise.
21259 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21260 macro-int-constant.
21261 (EXIT_SUCCESS): Likewise.
21262 (NULL): Use macro-constant. Require == 0.
21263 (RAND_MAX): Use macro-int-constant.
21264 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21265 [C99-based standards] (strtof): Require function.
21266 [C99-based standards] (strtold): Likewise.
21267 [C99-based standards] (strtoll): Likewise.
21268 [C99-based standards] (strtoull): Likewise.
21269 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21270 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21271 [ISO || ISO99 || ISO11] (math.h): Likewise.
21272 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21273 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21276 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21279 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21280 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21281 * intl/dgettext.c (DCGETTEXT): Likewise.
21282 * intl/gettext.c (DCGETTEXT): Likewise.
21283 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21284 * posix/regex_internal.h (gettext): Likewise.
21285 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21286 Remove declaration.
21287 * include/argz.h (__argz_count_internal)
21288 (__argz_stringify_internal): Remove declaration.
21289 (__argz_count, __argz_stringify): Declare hidden proto.
21290 * intl/dcgettext.c: Remove use of INTDEF.
21291 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21292 * string/argz-stringify.c: Likewise.
21293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21295 Declare hidden proto.
21296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21298 Declare hidden proto.
21299 * include/stdio.h (__asprintf_internal): Don't declare.
21300 (__asprintf): Don't define as macro. Declare hidden proto.
21301 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21302 (__fsetlocking): Declare hidden proto.
21303 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21304 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21306 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21307 (_IO_setlinebuf): Remove use of INTUSE.
21308 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21309 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21310 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21311 Remove declaration.
21312 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21313 (_IO_do_flush): Remove use of INTUSE.
21314 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21315 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21316 (_IO_adjust_column, _IO_least_wmarker)
21317 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21318 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21319 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21320 (_IO_default_doallocate, _IO_wdefault_doallocate)
21321 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21322 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21323 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21324 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21325 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21326 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21327 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21328 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21329 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21330 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21331 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21332 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21333 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21335 (_IO_flush_all_internal, _IO_adjust_column_internal)
21336 (_IO_default_uflow_internal, _IO_default_finish_internal)
21337 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21338 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21339 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21340 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21341 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21342 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21343 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21344 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21345 (_IO_file_close_internal, _IO_file_close_it_internal)
21346 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21347 (_IO_file_init_internal, _IO_file_attach_internal)
21348 (_IO_file_fopen_internal, _IO_file_read_internal)
21349 (_IO_file_sync_internal, _IO_file_seek_internal)
21350 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21351 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21352 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21353 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21354 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21355 (_IO_list_all_internal, _IO_link_in_internal)
21356 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21357 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21358 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21359 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21360 (_IO_do_write_internal, _IO_padn_internal)
21361 (_IO_getline_info_internal, _IO_getline_internal)
21362 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21363 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21364 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21365 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21366 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21367 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21368 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21369 with libc_hidden_ver, remove use of INTUSE.
21370 * libio/genops.c: Likewise.
21371 * libio/freopen.c: Likewise.
21372 * libio/freopen64.c: Likewise.
21373 * libio/iofclose.c: Likewise.
21374 * libio/iofdopen.c: Likewise.
21375 * libio/iofflush.c: Likewise.
21376 * libio/iofflush_u.c: Likewise.
21377 * libio/iofgets.c: Likewise.
21378 * libio/iofgets_u.c: Likewise.
21379 * libio/iofopen.c: Likewise.
21380 * libio/iofopncook.c: Likewise.
21381 * libio/iofread.c: Likewise.
21382 * libio/iofread_u.c: Likewise.
21383 * libio/ioftell.c: Likewise.
21384 * libio/iofwrite.c: Likewise.
21385 * libio/iogetline.c: Likewise.
21386 * libio/iogets.c: Likewise.
21387 * libio/iogetwline.c: Likewise.
21388 * libio/iopadn.c: Likewise.
21389 * libio/iopopen.c: Likewise.
21390 * libio/ioseekoff.c: Likewise.
21391 * libio/ioseekpos.c: Likewise.
21392 * libio/iosetbuffer.c: Likewise.
21393 * libio/iosetvbuf.c: Likewise.
21394 * libio/ioungetc.c: Likewise.
21395 * libio/ioungetwc.c: Likewise.
21396 * libio/iovdprintf.c: Likewise.
21397 * libio/iovsprintf.c: Likewise.
21398 * libio/iovsscanf.c: Likewise.
21399 * libio/memstream.c: Likewise.
21400 * libio/obprintf.c: Likewise.
21401 * libio/oldfileops.c: Likewise.
21402 * libio/oldiofclose.c: Likewise.
21403 * libio/oldiofdopen.c: Likewise.
21404 * libio/oldiofopen.c: Likewise.
21405 * libio/oldiopopen.c: Likewise.
21406 * libio/oldstdfiles.c: Likewise.
21407 * libio/putc.c: Likewise.
21408 * libio/setbuf.c: Likewise.
21409 * libio/setlinebuf.c: Likewise.
21410 * libio/stdfiles.c: Likewise.
21411 * libio/strops.c: Likewise.
21412 * libio/vasprintf.c: Likewise.
21413 * libio/vscanf.c: Likewise.
21414 * libio/vsnprintf.c: Likewise.
21415 * libio/vswprintf.c: Likewise.
21416 * libio/wfiledoalloc.c: Likewise.
21417 * libio/wfileops.c: Likewise.
21418 * libio/wgenops.c: Likewise.
21419 * libio/wmemstream.c: Likewise.
21420 * libio/wstrops.c: Likewise.
21421 * libio/__fpurge.c: Likewise.
21422 * libio/__fsetlocking.c: Likewise.
21423 * assert/assert.c: Likewise.
21424 * debug/fgets_chk.c: Likewise.
21425 * debug/fgets_u_chk.c: Likewise.
21426 * debug/fread_chk.c: Likewise.
21427 * debug/fread_u_chk.c: Likewise.
21428 * debug/gets_chk.c: Likewise.
21429 * debug/obprintf_chk.c: Likewise.
21430 * debug/vasprintf_chk.c: Likewise.
21431 * debug/vdprintf_chk.c: Likewise.
21432 * debug/vsnprintf_chk.c: Likewise.
21433 * debug/vsprintf_chk.c: Likewise.
21434 * malloc/mtrace.c: Likewise.
21435 * misc/error.c: Likewise.
21436 * misc/syslog.c: Likewise.
21437 * stdio-common/asprintf.c: Likewise.
21438 * stdio-common/fxprintf.c: Likewise.
21439 * stdio-common/getw.c: Likewise.
21440 * stdio-common/isoc99_fscanf.c: Likewise.
21441 * stdio-common/isoc99_scanf.c: Likewise.
21442 * stdio-common/isoc99_vfscanf.c: Likewise.
21443 * stdio-common/isoc99_vscanf.c: Likewise.
21444 * stdio-common/isoc99_vsscanf.c: Likewise.
21445 * stdio-common/printf-prs.c: Likewise.
21446 * stdio-common/printf_fp.c: Likewise.
21447 * stdio-common/printf_fphex.c: Likewise.
21448 * stdio-common/printf_size.c: Likewise.
21449 * stdio-common/putw.c: Likewise.
21450 * stdio-common/scanf.c: Likewise.
21451 * stdio-common/sprintf.c: Likewise.
21452 * stdio-common/tmpfile.c: Likewise.
21453 * stdio-common/vfprintf.c: Likewise.
21454 * stdio-common/vfscanf.c: Likewise.
21455 * stdlib/strfmon_l.c: Likewise.
21456 * sunrpc/openchild.c: Likewise.
21457 * sunrpc/xdr_stdio.c: Likewise.
21458 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21459 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21461 2012-05-24 Roland McGrath <roland@hack.frob.com>
21463 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21465 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21466 in the third column, to generate for the shared library an IFUNC
21467 that uses _dl_vdso_vsym.
21468 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21469 * Makeconfig (object-suffixes-noshared): New variable.
21471 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21472 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21473 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21474 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21477 * include/sys/time.h (__gettimeofday): Remove macro.
21478 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21479 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21481 (__gettimeofday): Add libc_hidden_def.
21482 (gettimeofday): Add libc_hidden_weak.
21483 * sysdeps/mach/gettimeofday.c: Likewise.
21484 * sysdeps/posix/gettimeofday.c: Likewise.
21485 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21486 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21488 (__gettimeofday_internal): Remove strong_alias.
21489 (__gettimeofday): Add libc_hidden_def.
21490 (gettimeofday): Add libc_hidden_weak.
21491 * sysdeps/unix/syscalls.list (gettimeofday):
21492 Remove __gettimeofday_internal alias.
21494 2012-05-24 Daniel Jacobowitz <drow@false.org>
21495 H.J. Lu <hongjiu.lu@intel.com>
21498 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21499 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21500 (largebin_index_32_big): New.
21501 (largebin_index): Use it for 16-byte alignment.
21502 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21503 correction with front_misalign.
21505 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21533 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21534 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21536 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21540 * math/libm-test.inc (exp_test): Add test from bug 14036.
21541 (pow_test): Add test from bug 10846.
21543 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21545 (special_function): Do not include flags in test name.
21546 (parse_args): Likewise.
21547 * sysdeps/i386/fpu/libm-test-ulps: Update.
21548 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21549 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21550 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21553 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21555 * math/libm-test.inc ("Philosophy"): Update comment about
21557 (UNDERFLOW_EXCEPTION): New macro.
21558 (UNDERFLOW_EXCEPTION_OK): Likewise.
21559 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21560 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21561 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21562 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21563 (INVALID_EXCEPTION_OK): Update value.
21564 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21565 (OVERFLOW_EXCEPTION_OK): Likewise.
21566 (IGNORE_ZERO_INF_SIGN): Likewise.
21567 (test_exceptions): Handle underflow exceptions.
21568 (acos_test): Update for underflow exception expectations.
21569 (cexp_test): Likewise.
21570 (clog_test): Likewise.
21571 (clog10_test): Likewise.
21572 (csqrt_test): Likewise.
21573 (ctan_test): Likewise.
21574 (ctanh_test): Likewise.
21575 (exp_test): Likewise.
21576 (exp10_test): Likewise.
21577 (exp2_test): Likewise.
21578 (expm1_test): Likewise.
21579 (fma_test): Likewise.
21580 (j0_test): Likewise.
21581 (jn_test): Likewise.
21582 (nexttoward_test): Likewise.
21583 (pow_test): Likewise.
21584 (scalbn_test): Likewise.
21585 (scalbln_test): Likewise.
21586 (tan_test): Likewise.
21587 (y1_test): Likewise.
21588 * sysdeps/i386/fpu/libm-test-ulps: Update.
21589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21591 2012-05-23 David S. Miller <davem@davemloft.net>
21593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21594 (__libc_sigaction): Remove unused local variables.
21596 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21598 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21600 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21602 mktime: avoid signed integer overflow
21603 * time/mktime.c (__mktime_internal): Do not mishandle the case
21604 where diff == INT_MIN.
21606 mktime: simplify computation of average
21607 * time/mktime.c (ranged_convert): Use new time_t_avg function
21608 instead of rolling our own (probably-slower) code.
21610 mktime: do not assume signed right shift propagates sign bit
21611 * time/mktime.c (isdst_differ): New static function.
21612 (__mktime_internal): No need to normalize tm_isdst now.
21613 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21616 mktime: merge another wrapv change from gnulib
21617 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21618 from some compilers.
21620 mktime: remove incorrect attempt at unusual arithmetics
21621 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21622 The code didn't really work on such machines anyway.
21623 (TYPE_MINIMUM): Assume two's complement.
21624 (twos_complement_arithmetic): Verify that long_int and time_t
21625 are two's complement (or unsigned, in the latter case).
21627 mktime: check signed shifts on long_int and time_t, too
21628 * time/mktime.c (SHR): Check that shifts work as desired
21629 on the types long_int and time_t too, as SHR is used on
21632 mktime: do not assume 'long' is wide enough
21633 * time/mktime.c (verify): Move decl up.
21634 (long_int): New type.
21635 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21636 to remove assumption in the code that 'long' is wide enough to
21637 store year values. This assumption is not true on x32 and on
21638 some non-glibc platforms.
21640 mktime: merge wrapv change from gnulib
21641 * time/mktime.c (WRAPV): New macro.
21642 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21643 (guess_time_tm, __mktime_internal): Do not assume that signed
21644 integer overflow wraps around; modern compilers generate code
21645 where this assumption is no longer valid.
21647 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21649 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21650 Replace "jmp L(pseudo_end)" with "ret".
21651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21654 2012-05-23 Andreas Jaeger <aj@suse.de>
21656 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21657 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21659 2012-05-23 Andreas Jaeger <aj@suse.de>
21660 Maximilian Attems <max@stro.at>
21662 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21665 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21667 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21668 code so that pseudo_end is just ret and the stack pointer is
21669 correct also for static library in error case.
21671 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21673 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21674 move to syscalls.list.
21675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21680 * manual/install.texi (Running make install): Do not mention Linux
21681 kernel version for which pt_chown is not needed.
21682 (Linux): Do not mention problems with nscd with 2.0 kernels.
21683 * INSTALL: Regenerated.
21685 2012-05-23 Andreas Jaeger <aj@suse.de>
21687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21688 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21690 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21692 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21694 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21700 * sysdeps/unix/sysv/linux/bits/in.h
21701 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21703 2012-05-22 Roland McGrath <roland@hack.frob.com>
21705 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21706 (PREPARE_VERSION): Just use assert instead, it will be elided
21707 under [NDEBUG] anyway.
21709 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21711 * sysdeps/unix/sysv/linux/Makefile: Include
21712 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21713 (sysdep_routines): Remove sysctl.
21714 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21715 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21716 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21717 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21718 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21720 2012-05-22 Andreas Jaeger <aj@suse.de>
21722 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21723 that pseudo_end is just ret and the stack pointer is correct also
21724 for static library in error case.
21726 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21729 * nss/nsswitch.c (defconfig_entries): New variable.
21730 (__nss_database_lookup): Don't leak defconfig entries.
21731 (nss_parse_service_list): Don't leak on error paths.
21732 (free_database_entries): New function.
21733 (free_defconfig): New function.
21734 (free_mem): Move common code to free_database_entries.
21736 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21740 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21742 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21743 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21746 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21747 (INTERNAL_SYSCALL_TYPES): Likewise.
21748 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21749 (LOAD_REGS_TYPES_[1-6]): Likewise.
21750 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21751 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21753 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21756 copysignl for GLIBC_2_0.
21757 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21758 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21760 logbl for GLIBC_2_0.
21761 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21762 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21764 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21767 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21769 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21772 * time/mktime.c: Update copyright years.
21774 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21776 mktime: merge comment-quoting-style change from gnulib
21777 * time/mktime.c: Quote 'like this' in comments.
21778 The GNU coding standards suggest that we no longer quote `like this',
21779 as "`" and "'" are typically rendered asymmetrically nowadays.
21780 The typical gnulib style is to quote 'like this' when quoting
21781 code, and "like this" when quoting English.
21783 * time/mktime.c (compile-command): Add "-I.".
21785 mktime: merge mktime-internal.h change from gnulib
21786 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21788 mktime: merge time_r change from gnulib
21789 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21791 mktime: merge DEBUG change from gnulib
21792 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21793 case system <time.h> has a #define.
21795 mktime: merge <sys/types.h> change from gnulib
21796 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21797 since <time.t> is now guaranteed to define time_t.
21799 mktime: merge HAVE_CONFIG_H change from gnulib
21800 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21802 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21807 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21809 (struct rusage): Use anonymous union to pad each field to
21812 2012-05-21 David S. Miller <davem@davemloft.net>
21814 * Makefules (o-iterator): Remove .s cases.
21815 (compile-command.s): Delete.
21816 (COMPILE.s): Delete.
21817 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21819 2012-05-21 Joseph Myers <joseph@codesourcery.com>
21821 * configure.in (libc_cv_predef_stack_protector): Only consider
21822 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21823 * configure: Regenerated.
21825 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21828 New macro. Use R*LP on int and pointer.
21829 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21830 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21831 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21832 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21834 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21835 [__WORDSIZE_TIME64_COMPAT32] instead of
21836 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21837 (struct utmp): Likewise.
21838 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21839 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21841 (__WORDSIZE_TIME64_COMPAT32): This.
21842 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21843 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21844 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21845 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21846 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21847 (__WORDSIZE_TIME64_COMPAT32): New macro.
21849 2012-05-21 Andreas Jaeger <aj@suse.de>
21851 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21852 only if [SHARED]. Add prototype for __wcschr_ia32.
21854 2012-05-21 Roland McGrath <roland@hack.frob.com>
21856 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21857 of %rbp unmolested in the jmp_buf while mangling the low bits.
21858 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21859 unmolested high bits of %rbp while demangling the low bits.
21860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21862 2012-05-21 Andreas Jaeger <aj@suse.de>
21864 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21865 * sunrpc/svc_simple.c: Use it for registerrpc.
21866 * sunrpc/xcrypt.c: Use it for passwd2des.
21868 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21870 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21872 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21873 Don't define if [__SYSCALL_WORDSIZE != 32].
21874 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21877 2012-05-21 Bruno Haible <bruno@clisp.org>
21878 Andreas Jaeger <aj@suse.de>
21880 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21881 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21882 inptr and inend for must_buffer_ch.
21883 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21884 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21885 * stdio-common/Makefile (tests): Remove bug15.
21886 (bug15-ENV): Remove macro.
21887 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21890 2012-05-19 Andreas Jaeger <aj@suse.de>
21891 Roland McGrath <roland@hack.frob.com>
21893 * manual/contrib.texi: Completely rewritten. It contains now an
21894 alphabetical list of contributors and their contributions.
21896 2012-05-21 Richard Henderson <rth@twiddle.net>
21898 * misc/getauxval.c (__getauxval): Use unsigned long int.
21899 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21900 (getauxval): Use unsigned long int.
21902 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21906 2012-05-21 Roland McGrath <roland@hack.frob.com>
21908 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21909 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21910 __alignof__ (long double).
21912 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21916 2012-05-20 Richard Henderson <rth@twiddle.net>
21918 * misc/getauxval.c: New file.
21919 * misc/sys/auxv.h: New file.
21920 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21921 (routines): Add getauxval.
21922 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21923 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21924 * elf/dl-sysdep.c (_dl_auxv): Remove.
21925 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21926 * elf/dl-support.c (_dl_auxv): New variable.
21927 (_dl_aux_init): Initialize it.
21928 * manual/startup.texi (Auxiliary Vector): New node.
21929 * sysdeps/generic/bits/hwcap.h: New file.
21930 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21931 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21932 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21933 * sysdeps/sparc/sysdep.h: ... here. Include it.
21934 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21941 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21947 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21951 2012-05-19 David S. Miller <davem@davemloft.net>
21953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21955 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21958 * math/s_ccosh.c: Include <float.h>
21959 (__ccosh): Avoid internal overflow calculating sinh and cosh
21960 values before multiplying by sin and cos values.
21961 * math/s_ccoshf.c: Likewise.
21962 * math/s_ccoshl.c: Likewise.
21963 * math/s_csin.c: Likewise.
21964 * math/s_csinf.c: Likewise.
21965 * math/s_csinl.c: Likewise.
21966 * math/s_csinh.c: Likewise.
21967 * math/s_csinhf.c: Likewise.
21968 * math/s_csinhl.c: Likewise.
21969 * math/libm-test.inc (ccos_test): Add more tests.
21970 (ccosh_test): Likewise.
21971 (csin_test): Likewise.
21972 (csinh_test): Likewise.
21973 * sysdeps/i386/fpu/libm-test-ulps: Update.
21974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21976 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21978 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21979 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21981 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21983 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21985 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21986 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21987 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21988 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21989 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21990 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21991 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21992 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21993 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21994 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21995 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21996 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21997 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21998 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21999 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22000 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22001 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22002 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22003 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22004 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22005 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22006 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22007 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22008 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22009 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22010 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22011 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22012 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22013 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22014 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22015 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22017 2012-05-18 Andreas Jaeger <aj@suse.de>
22019 * csu/.gitignore: Delete.
22021 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22023 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22024 (timex): Use __syscall_slong_t.
22026 2012-05-18 Andreas Jaeger <aj@suse.de>
22027 Carlos O'Donell <carlos_odonell@mentor.com>
22029 * manual/install.texi (Configuring and compiling): Update
22030 description about files modified in the source directory.
22031 * INSTALL: Regenerated.
22033 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22035 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22036 value. Use "or" to set return value to -1.
22037 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22038 negate return value.
22040 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22042 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22043 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22044 failure if the compiler has Graphite support disabled.
22045 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22047 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22048 CFLAGS-memmove.c): Likewise.
22049 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22052 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22054 * sysdeps/x86_64/x32/_itoa.h: New file.
22056 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22057 getdents system call only if kernel and user dirents have the
22058 same d_ino and d_off.
22060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22061 LLONG_MAX != LONG_MAX.
22062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22063 (_fitoa_word): Likewise.
22065 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22067 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22068 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22069 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22071 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22072 include <bits/wordsize.h>. Check __x86_64__ instead of
22074 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22075 if __x86_64__ is defined. Use anonymous union on fpstate.
22077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22080 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22082 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22083 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22085 Refer to _rtld_local_ro instead of _rtld_global_ro.
22086 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22088 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22090 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22092 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22093 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22094 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22096 * sysdeps/powerpc/powerpc32/dl-machine.c
22097 (__elf_machine_runtime_setup) [PROF]: Don't reference
22100 2012-05-18 Andreas Jaeger <aj@suse.de>
22102 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22103 function only available for GCCs before 3.4 since GCC 3.4
22104 introduced a builtin.
22106 (llrintf): Likewise.
22107 (llrint): Likewise.
22114 (nearbyint): Likewise.
22115 (nearbyintf): Likewise.
22119 (floorf): Likewise.
22121 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22123 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22124 on both fields and cast pointer to __syscall_ulong_t.
22126 * bits/types.h (__fsword_t): New type.
22127 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22128 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22130 (__FSWORD_T_TYPE): Likewise.
22131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22132 (__FSWORD_T_TYPE): Likewise.
22133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22134 (__FSWORD_T_TYPE): Likewise.
22135 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22136 (__FSWORD_T_TYPE): Likewise.
22137 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22138 __SWORD_TYPE with __fsword_t.
22139 (statfs64): Likewise.
22141 2012-05-17 David S. Miller <davem@davemloft.net>
22143 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22145 2012-05-17 Andreas Jaeger <aj@suse.de>
22147 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22150 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22152 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22154 2012-05-17 Andreas Jaeger <aj@suse.de>
22156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22159 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22161 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22163 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22165 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22166 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22168 2012-05-17 Andreas Jaeger <aj@suse.de>
22169 Carlos O'Donell <carlos_odonell@mentor.com>
22172 * sysdeps/x86_64/multiarch/init-arch.h
22173 (bit_YMM_Usable): Rename to...
22174 (bit_AVX_Usable): ... this.
22175 (bit_FMA4_Usable): New macro.
22176 (bit_XMM_state): New macro.
22177 (bit_YMM_state): New macro.
22178 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22179 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22180 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22181 (CPUID_OSXSAVE): New macro.
22182 (CPUID_AVX): New macro.
22183 (CPUID_FMA4): New macro.
22184 (index_YMM_Usable): Rename to...
22185 (index_AVX_Usable): ... this.
22186 (HAS_AVX): Use HAS_ARCH_FEATURE.
22187 (HAS_FMA4): Likewise.
22188 (HAS_YMM_USABLE): Remove.
22189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22190 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22192 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22193 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22194 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22195 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22196 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22198 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22200 * math/libm-test.c: Support platforms without multiple rounding modes.
22201 * math/bug-nextafter.c: Support platforms without FP exceptions.
22202 * math/bug-nexttoward.c: Likewise.
22203 * math/test-fenv.c: Likewise.
22204 * math/test-misc.c: Likewise.
22205 * stdlib/bug-getcontext.c: Likewise.
22207 2012-05-17 Andreas Jaeger <aj@suse.de>
22209 * manual/examples/search.c (critter_cmp): Change signature to
22211 * manual/string.texi (Collation Functions): Likewise.
22213 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22215 * bits/types.h: Fold copyright years.
22216 * bits/typesizes.h: Likewise.
22217 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22221 * time/time.h: Likewise.
22223 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22226 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22227 in instead of returning them. Return void.
22228 (__libc_mallinfo): Accumulate over all arenas.
22229 (__malloc_stats): Adjust for change in int_mallinfo interface.
22231 2012-05-16 Roland McGrath <roland@hack.frob.com>
22234 * configure.in (NM): Add AC_CHECK_TOOL for it.
22235 (libc_extra_cflags): New substituted variable.
22236 Check for -fstack-protector being used implicitly.
22237 * configure: Regenerated.
22238 * config.make.in (config-extra-cflags): New variable,
22239 gets @libc_extra_cflags@.
22240 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22243 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22244 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22245 * configure: Regenerated.
22246 * config.make.in (CPPUNDEFS): New substituted variable.
22247 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22248 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22249 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22251 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22253 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22254 (mq_attr): Use __syscall_slong_t.
22256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22258 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22259 Check __x86_64__ instead of __WORDSIZE.
22260 (_STAT_VER_LINUX): Likewise.
22261 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22262 __syscall_ulong_t and __syscall_slong_t.
22263 (stat64): Likewise.
22265 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22267 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22271 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22275 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22278 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22279 include <bits/wordsize.h>. Check __x86_64__ instead of
22281 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22283 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22285 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22286 include <bits/wordsize.h>. Check __x86_64__ instead of
22288 (user_regs_struct): Use "__extension__ unsigned long long"
22289 instead of "unsigned long" if __x86_64__ is defined.
22290 (user): Likewise. Pad after pointer field if __ILP32__ is
22293 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22295 * configure.in (makeinfo): Require version 4.5 or later. Allow
22297 * configure: Regenerated.
22298 * manual/install.texi (texinfo): Increase version requirement to
22300 * INSTALL: Regenerated.
22302 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22304 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22306 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22308 * sysdeps/x86_64/x32/ffs.c: New file.
22310 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22312 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22313 defined. Use __syscall_ulong_t.
22314 (shminfo): Use __syscall_ulong_t.
22315 (shm_info): Likewise.
22317 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22320 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22322 (msgqnum_t): Use __syscall_ulong_t.
22323 (msglen_t): Likewise.
22324 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22327 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22328 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22330 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22332 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22333 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22335 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22338 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22339 include <bits/wordsize.h>. Check __x86_64__ instead of
22342 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22343 "unsigned long long int" if __x86_64__ is defined.
22344 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22346 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22347 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22348 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22350 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22352 (GET_PC): Cast to uintptr_t first.
22353 (GET_FRAME): Likewise.
22354 (GET_STACK): Likewise.
22356 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22357 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22362 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22363 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22364 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22365 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22366 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22367 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22368 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22370 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22371 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22372 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22376 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22378 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22380 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22383 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22384 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22386 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22388 * Makerules (+depfiles): Also collect depfiles from .oS in
22390 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22391 .oS, $(libnldbl-routines)).
22393 * Makerules (native-compile-mkdep-flags): Define.
22394 * sunrpc/Makefile (extra-objs): Add $(addprefix
22395 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22396 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22397 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22398 calling $(make-target-directory).
22400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22402 * bits/types.h (__snseconds_t): Removed.
22403 * time/time.h (struct timespec): Replace __snseconds_t with
22405 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22406 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22409 (__SNSECONDS_T_TYPE): Likewise.
22410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22411 (__SNSECONDS_T_TYPE): Likewise.
22412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22413 (__SNSECONDS_T_TYPE): Likewise.
22415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22417 * sysdeps/mach/hurd/bits/typesizes.h
22418 (__SYSCALL_SLONG_TYPE): New macro.
22419 (__SYSCALL_ULONG_TYPE): Likewise.
22421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22423 * bits/types.h (__syscall_slong_t): New type.
22424 (__syscall_ulong_t): Likewise.
22426 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22427 (__SYSCALL_ULONG_TYPE): Likewise.
22428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22429 (__SYSCALL_SLONG_TYPE): Likewise.
22430 (__SYSCALL_ULONG_TYPE): Likewise.
22431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22432 (__SYSCALL_SLONG_TYPE): Likewise.
22433 (__SYSCALL_ULONG_TYPE): Likewise.
22434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22435 (__SYSCALL_SLONG_TYPE): Likewise.
22436 (__SYSCALL_ULONG_TYPE): Likewise.
22438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22440 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22441 Add sigaltstack-offsets.sym.
22442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22443 <sigaltstack-offsets.h>.
22444 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22445 longjmp_msg pointer.
22446 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22447 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22449 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22451 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22453 * elf/stackguard-macros.h: Remove file.
22454 * sysdeps/generic/stackguard-macros.h: New file.
22455 * sysdeps/i386/stackguard-macros.h: Likewise.
22456 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22457 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22458 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22459 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22460 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22461 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22462 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22463 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22464 <elf/stackguard-macros.h>.
22467 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22468 __aligned__ in attribute.
22469 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22470 (gregset_t): Likewise.
22472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22474 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22475 * sysdeps/x86_64/64/Implies-after: Here. New file.
22476 * sysdeps/x86_64/x32/Implies-after: New file.
22478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22480 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22481 and access return value for _dl_profile_fixup. Use R10_LP to
22484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22486 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22490 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22491 * sysdeps/x86_64/x32/sysdep.h: New file.
22493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22495 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22496 * sysdeps/x86_64/setjmp.S: Likewise.
22498 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22502 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22503 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22504 remove unused global constant.
22506 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22508 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22509 include of <not-cancel.h>.
22511 2012-05-15 Roland McGrath <roland@hack.frob.com>
22513 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22515 2012-05-15 Jeff Law <law@redhat.com>
22516 Andreas Jaeger <aj@suse.de>
22519 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22521 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22522 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22523 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22524 code changing __hst_map_handle.map.
22526 2012-05-15 Roland McGrath <roland@hack.frob.com>
22528 * configure.in (sysnames): Look for Implies-before and Implies-after
22530 * configure: Regenerated.
22532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22534 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22535 8-byte data alignment with LP_SIZE alignment.
22537 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22539 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22544 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22549 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22550 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22552 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22556 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22557 (stackinfo_sub_sp): Likewise.
22559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22576 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22580 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22581 into R11_LP and load __x86_64_shared_cache_size_half into
22584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22589 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22597 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22598 powerpc32/power7/fpu/s_logb.c via #include.
22599 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22600 powerpc32/power7/fpu/s_logbf.c via #include.
22601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22602 powerpc32/power7/fpu/s_logbl.c via #include.
22604 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22606 * README.libm: Remove file.
22608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22610 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22611 count for x32. Use R*_LP and omit operand-size suffix.
22613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22615 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22616 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22617 * sysdeps/x86_64/x32/shlib-versions: New file.
22619 2012-05-14 Roland McGrath <roland@hack.frob.com>
22621 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22622 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22623 Use _dl_fatal_printf instead.
22625 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22627 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22628 set if not set by the user. Do not allow for being unset.
22629 * sysdeps/unix/sysv/linux/configure: Regenerated.
22631 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22633 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22634 the `q' suffix from lea and replace .quad with ASM_ADDR.
22636 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22639 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22641 (PTR_DEMANGLE): Likewise.
22643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22645 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22647 (ASM_ADDR): Likewise.
22648 (RAX_LP): Likewise.
22649 (RBP_LP): Likewise.
22650 (RBX_LP): Likewise.
22651 (RCX_LP): Likewise.
22652 (RDI_LP): Likewise.
22653 (RSI_LP): Likewise.
22654 (RSP_LP): Likewise.
22657 (R10_LP): Likewise.
22658 (R10_LP): Likewise.
22659 (R11_LP): Likewise.
22660 (R12_LP): Likewise.
22661 (R13_LP): Likewise.
22662 (R14_LP): Likewise.
22663 (R15_LP): Likewise.
22665 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22667 * sysdeps/x86_64/x32/dl-machine.h: New file.
22669 2012-05-14 Andreas Jaeger <aj@suse.de>
22671 * manual/Makefile (subdir): Remove export of subdir.
22672 (all): Remove target.
22673 (.PHONY): Remove all from list.
22674 (mkinstalldirs): Remove.
22675 (.PHONY): Remove installdirs from list.
22676 ($(inst_infodir)/libc.info): Use make-target-directory.
22677 (installdirs): Remove.
22678 (subdir_%): Remove.
22679 (glibc-targets): Remove.
22682 ($(objpfx)stubs ../po/manual.pot): Remove.
22683 ($(objpfx)stamp%): Remove.
22684 (make-target-directory): Remove.
22685 (subdir_install): Remove.
22686 (routines): Remove.
22693 * manual/.gitignore: Remove, it's not needed anymore.
22694 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22696 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22698 (texis): Renamed to $(objpfx)texis.
22699 (texis-path): New, contains path to generated files.
22700 (chapters.%): Use texis-path for complete path, add extra argument
22702 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22703 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22704 (summary,texi, stamp-summary): Use complete path of
22705 files. Generate files in build dir.
22706 (dir-add.texi): Build in build dir.
22707 (libm-err.texi,stamp-libm-err): Likewise.
22708 (version.texi, stamp-version): Likewise.
22709 (.%c.texi): Likewise.
22710 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22711 (mostlyclean): Remove target.
22712 (realclean): Remove target.
22713 (generated): Add new variable with contents from mostlyclean and
22714 realclean, remove entries duplicated in common-mostlyclean, add
22715 stamp-libm-err and stamp-version.
22716 (generated-dirs): Add libc directory.
22717 ($(inst_infodir)/libc.info): Install files from build dir.
22719 * manual/install.texi (Configuring and compiling): Adjust since
22720 the info files are not part of the tar ball anymore.
22722 2012-05-14 Andreas Jaeger <aj@suse.de>
22724 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22727 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22731 to 2.2.0 where earlier.
22732 * sysdeps/unix/sysv/linux/configure: Regenerated.
22733 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22734 Remove conditional code.
22735 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22736 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22737 Remove conditional code.
22738 [!__NR_lchown]: Likewise.
22739 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22740 [__NR_lchown]: Likewise.
22741 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22742 comment referencing __ASSUME_LCHOWN_SYSCALL.
22743 * sysdeps/unix/sysv/linux/i386/sigaction.c
22744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22746 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22747 Remove conditional code.
22748 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22749 (__protocol_available): Remove #if 0 code.
22750 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22752 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22753 * sysdeps/unix/sysv/linux/kernel-features.h
22754 (__ASSUME_GETCWD_SYSCALL): Don't define.
22755 (__ASSUME_REALTIME_SIGNALS): Likewise.
22756 (__ASSUME_PREAD_SYSCALL): Likewise.
22757 (__ASSUME_PWRITE_SYSCALL): Likewise.
22758 (__ASSUME_POLL_SYSCALL): Likewise.
22759 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22760 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22762 (__ASSUME_SIOCGIFNAME): Don't define.
22763 (__ASSUME_MSG_NOSIGNAL): Likewise.
22764 (__ASSUME_SENDFILE): Define unconditionally.
22765 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22766 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22768 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22769 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22771 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22772 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22774 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22799 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22800 Remove conditional code.
22801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22802 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22803 Remove conditional code.
22804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22805 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22806 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22807 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22808 Remove conditional code.
22809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22810 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22811 Remove conditional code.
22812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22813 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22814 Remove conditional code.
22815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22816 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22817 Remove conditional code.
22818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22819 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22820 Remove conditional code.
22821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22822 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22825 * sysdeps/unix/sysv/linux/sigaction.c
22826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22828 * sysdeps/unix/sysv/linux/sigpending.c
22829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22831 * sysdeps/unix/sysv/linux/sigprocmask.c
22832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22834 * sysdeps/unix/sysv/linux/sigsuspend.c
22835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22838 (__libc_missing_rt_sigs): Remove.
22839 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22840 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22841 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22842 Remove conditional code.
22843 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22844 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22846 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22847 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22848 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22849 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22851 2012-05-14 Andreas Jaeger <aj@suse.de>
22853 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22854 it's not used in glibc.
22855 (__coshm1): Likewise.
22856 (__acosh1p): Likewise.
22859 * manual/string.texi (Copying and Concatenation): Add missing
22860 variable in concat example.
22861 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22867 __builtin_clzl with __builtin_clzll.
22869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22872 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22875 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22877 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22878 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22879 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22880 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22882 2012-05-14 Mike Frysinger <vapier@gentoo.org>
22884 * NEWS: Update ia64 info.
22886 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22888 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22891 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22893 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22894 * sysdeps/unix/syscalls.list (dup3): Likewise.
22895 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22896 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22898 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22900 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22901 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22903 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22905 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22907 (TLS_IE): Use mov/add instead of movq/addq to load thread
22909 (TLS_GD_PREFIX): New.
22912 2012-05-11 David S. Miller <davem@davemloft.net>
22914 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22915 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22916 (_FPU_SETCW): Likewise.
22918 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22920 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22921 is 32-byte aligned.
22923 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22926 * iconvdata/gb18030.c: Update tables.
22927 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22928 characters specially.
22929 (BODY for TO_LOOP): Add encoding of missing ranges.
22931 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22934 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22935 * sysdeps/mach/hurd/dup3.c: Likewise.
22936 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22937 * sysdeps/powerpc/memmove.c:: Likewise.
22939 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22942 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22944 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22946 * elf/elf.h (R_X86_64_RELATIVE64): New.
22947 (R_X86_64_NUM): Updated.
22948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22949 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22950 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22951 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22952 tst-quad1pie tst-quad2pie
22953 (modules-names): Add tst-quadmod1 tst-quadmod2.
22954 ($(objpfx)tst-quad1): New dependency.
22955 ($(objpfx)tst-quad2): Likewise.
22956 ($(objpfx)tst-quad1pie): Likewise.
22957 ($(objpfx)tst-quad2pie): Likewise.
22958 * sysdeps/x86_64/tst-quad1.c: New file.
22959 * sysdeps/x86_64/tst-quad1pie.c: New file.
22960 * sysdeps/x86_64/tst-quad2.c: Likewise.
22961 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22962 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22963 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22964 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22965 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22969 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22970 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22971 * streams/stropts.h (t_scalar_t): Define type.
22973 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22974 (_PATH_PRESERVE): Set to "/var/lib".
22975 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22977 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22980 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22981 if __dir_mkfile succeeded.
22983 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22984 checking for _hurd_dtablesize. Unlock it right after having
22985 finished _hurd_dtable allocation.
22987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22989 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22990 * sysdeps/mach/hurd/configure: Regenerated.
22991 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22992 special-casing to...
22993 * sysdeps/gnu/configure.in: ... this new file.
22994 * sysdeps/unix/sysv/linux/configure: Regenerated.
22995 * sysdeps/gnu/configure: New generated file.
22997 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22998 for Linux: use nsec instead of usec, as well as:
22999 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23000 members of type struct timespec.
23001 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23003 (struct stat64): Likewise.
23004 (_STATBUF_ST_NSEC): New macro.
23005 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23007 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23008 __strtoul_internal rather than strtoul.
23010 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23012 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23017 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23018 which preserves existing values.
23019 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23021 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23023 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23024 TIMEOUT values. Return EINVAL for NFDS values either negative or
23025 greater than FD_SETSIZE.
23027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23029 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23030 allocated, call __vm_protect to finish enabling the existing space, and
23031 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23032 allocate the remainder.
23034 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23036 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23037 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23041 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23042 sysdeps/mach/hurd/readlink.c.
23044 * posix/tst-sysconf.c (posix_options): Only use
23045 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23046 _POSIX_SYNCHRONIZED_IO when they are defined
23047 * sysdeps/mach/hurd/bits/posix_opt.h:
23048 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23049 (_XOPEN_REALTIME): Undefine macro.
23050 (_XOPEN_REALTIME_THREADS): Undefine macro.
23051 (_XOPEN_SHM): Undefine macro.
23052 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23054 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23056 (_POSIX_ASYNC_IO): Undefine macro.
23057 (_POSIX_PRIORITIZED_IO): Undefine macro.
23058 (_POSIX_SPIN_LOCKS): Define macro to -1.
23060 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23061 SA_NODEFER, SA_RESETHAND.
23062 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23063 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23066 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23068 * elf/Makefile (pldd-modules): Define unconditionally.
23070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23072 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23074 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23076 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23077 Return ENOENT when name is empty.
23078 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23082 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23084 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23088 Fix mlock in all cases except non-readable pages.
23089 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23090 instead of VM_PROT_ALL as parameter to __vm_wire function.
23092 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23093 (__mkdir): When path is `/', just fail with EEXIST.
23094 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23098 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23099 <sys/uio.h> (for writev).
23100 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23101 and <sys/param.h> (for MIN).
23103 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23105 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23106 REQUESTED_TIME. Properly set the remaining time and return EINTR
23109 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23111 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23112 Depend on against $(link-rpcuserlibs).
23114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23116 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23117 (__libc_stack_end): Do not use attribute_relro.
23118 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23119 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23120 to libthread-provided value.
23121 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23124 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23127 * bits/libc-lock.h (__libc_once_get): New macro.
23128 * sysdeps/mach/bits/libc-lock.h: Likewise.
23129 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23131 instead of using implementation details.
23133 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23134 * libio/freopen.c: Likewise.
23135 * libio/freopen64.c: Likewise.
23136 * misc/syslog.c: Likewise.
23137 * nscd/connections.c: Likewise.
23138 * nscd/netgroupcache.c: Likewise.
23139 * sysdeps/posix/getcwd.c: Likewise.
23141 2012-05-10 Roland McGrath <roland@hack.frob.com>
23143 * math/w_ilogbf.c: Add #include <limits.h>.
23145 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23147 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23148 path instead of returning without unlocking.
23150 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23151 immediate-write ioctls.
23152 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23156 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23157 __builtin_frame_address instead of making assumptions about the
23158 location of the return address relative to DATA. Force early load of
23159 the return address.
23160 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23161 __builtin_frame_address.
23164 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23165 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23166 implement dup3 and do some further code clean-ups.
23167 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23168 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23172 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23174 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23175 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23176 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23177 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23178 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23181 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23182 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23183 when handler == SIG_ERR, not when handler != SIG_ERR.
23185 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23187 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23188 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23191 accept4 for GNU Hurd.
23192 * include/sys/socket.h (__libc_accept4): New prototype.
23193 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23194 to implement __libc_accept4.
23195 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23197 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23199 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23200 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23201 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23202 signal-defines.sym.
23204 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23206 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23210 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23211 assertion on O_CLOEXEC flag.
23212 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23213 * hurd/intern-fd.c: Likewise.
23214 * hurd/port2fd.c: Likewise.
23216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23219 * bits/in.h (IPV6_PKTINFO): Define new macro.
23220 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23222 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23227 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23229 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23230 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23232 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23233 * math/libm-test.inc (logb_test) : Additional logb tests.
23235 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23236 Andreas Jaeger <aj@suse.de>
23238 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23239 * configure: Regenerated.
23240 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23241 * config.make.in (link-obsolete-rpc): New substituted variable.
23242 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23243 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23244 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23245 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23246 so that libc.a contains the symbols.
23247 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23248 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23249 * sunrpc/auth_none.c: Likewise.
23250 * sunrpc/auth_unix.c: Likewise.
23251 * sunrpc/authdes_prot.c: Likewise.
23252 * sunrpc/authuxprot.c: Likewise.
23253 * sunrpc/clnt_gen.c: Likewise.
23254 * sunrpc/clnt_perr.c: Likewise.
23255 * sunrpc/clnt_raw.c: Likewise.
23256 * sunrpc/clnt_simp.c: Likewise.
23257 * sunrpc/clnt_tcp.c: Likewise.
23258 * sunrpc/clnt_udp.c: Likewise.
23259 * sunrpc/clnt_unix.c: Likewise.
23260 * sunrpc/des_crypt.c: Likewise.
23261 * sunrpc/des_soft.c: Likewise.
23262 * sunrpc/get_myaddr.c: Likewise.
23263 * sunrpc/key_call.c: Likewise.
23264 * sunrpc/key_prot.c: Likewise.
23265 * sunrpc/netname.c: Likewise.
23266 * sunrpc/pm_getmaps.c: Likewise.
23267 * sunrpc/pm_getport.c: Likewise.
23268 * sunrpc/pmap_clnt.c: Likewise.
23269 * sunrpc/pmap_prot.c: Likewise.
23270 * sunrpc/pmap_prot2.c: Likewise.
23271 * sunrpc/pmap_rmt.c: Likewise.
23272 * sunrpc/publickey.c: Likewise.
23273 * sunrpc/rpc_cmsg.c: Likewise.
23274 * sunrpc/rpc_common.c: Likewise.
23275 * sunrpc/rpc_dtable.c: Likewise.
23276 * sunrpc/rpc_prot.c: Likewise.
23277 * sunrpc/rpc_thread.c: Likewise.
23278 * sunrpc/rtime.c: Likewise.
23279 * sunrpc/svc.c: Likewise.
23280 * sunrpc/svc_auth.c: Likewise.
23281 * sunrpc/svc_raw.c: Likewise.
23282 * sunrpc/svc_run.c: Likewise.
23283 * sunrpc/svc_tcp.c: Likewise.
23284 * sunrpc/svc_udp.c: Likewise.
23285 * sunrpc/svc_unix.c: Likewise.
23286 * sunrpc/svcauth_des.c: Likewise.
23287 * sunrpc/xcrypt.c: Likewise.
23288 * sunrpc/xdr.c: Likewise.
23289 * sunrpc/xdr_array.c: Likewise.
23290 * sunrpc/xdr_float.c: Likewise.
23291 * sunrpc/xdr_intXX_t.c: Likewise.
23292 * sunrpc/xdr_mem.c: Likewise.
23293 * sunrpc/xdr_rec.c: Likewise.
23294 * sunrpc/xdr_ref.c: Likewise.
23295 * sunrpc/xdr_sizeof.c: Likewise.
23296 * sunrpc/xdr_stdio.c: Likewise.
23298 2012-05-10 Roland McGrath <roland@hack.frob.com>
23300 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23301 change. Update copyright years.
23303 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23305 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23307 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23308 Joseph Myers <joseph@codesourcery.com>
23309 Paul Pluzhnikov <ppluzhnikov@google.com>
23312 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23314 [cross-compiling] (extra-libs): Likewise.
23315 [cross-compiling] (extra-libs-others): Likewise.
23316 [cross-compiling] (librpcsvc-routines): Likewise.
23317 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23318 [cross-compiling] (omit-deps): Likewise.
23319 (sunrpc-CPPFLAGS): New variable.
23320 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23321 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23322 (cross-rpcgen-objs): New variable.
23323 (extra-objs): Append $(cross-rpcgen-objs).
23324 ($(cross-rpcgen-objs)): New rule.
23325 ($(objpfx)cross-rpcgen): Likewise.
23326 (rpcgen-cmd): Define to use $(built-program-file). Expand
23328 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23329 ($(objpfx)x%.stmp): Likewise.
23330 * sunrpc/proto.h [IS_IN_build] (_): Define.
23331 [IS_IN_build] (_libc_intl_domainname): Likewise.
23333 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23336 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23337 and R_X86_64_TPOFF64.
23339 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23341 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23342 sysdeps/unix/sysv/syscalls.list.
23345 * sysdeps/unix/sysv/syscalls.list: Remove file.
23347 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23350 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23351 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23352 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23353 (__LC_IDENTIFICATION): Make these macros useful in #if
23354 expressions, as required by C99.
23356 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23358 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23359 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23362 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23364 * stdlib/longlong.h: Updated from GCC.
23366 2012-05-09 Andreas Jaeger <aj@suse.de>
23368 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23369 default is first entry.
23370 (run_mode): Set type.
23371 (main): Remove informal message about syslog.
23372 (options): Fix typo.
23375 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23378 (llrintf): Likewise.
23379 (llrint): Likewise.
23382 (nearbyint): Likewise.
23383 (nearbyintf): Likewise.
23385 2012-05-09 Andreas Jaeger <aj@suse.de>
23386 Pedro Alves <palves@redhat.com>
23388 * nscd/nscd.c (run_mode): Use enum.
23389 (main): Cleanup coding style issue.
23391 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23392 Andreas Jaeger <aj@suse.de>
23394 * nscd/nscd.c (go_background): Replaced with...
23395 (run_mode): ... this.
23396 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23397 (options): Add -F --foreground.
23398 (main): Implement it.
23399 (parse_opt): Parse it.
23401 2012-05-09 Andreas Jaeger <aj@suse.de>
23404 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23405 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23406 -Wconversion warning.
23407 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23410 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23412 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23414 (LC_ALL): Use macro-int-constant.
23415 (LC_COLLATE): Likewise.
23416 (LC_CTYPE): Likewise.
23417 (LC_MESSAGES): Likewise.
23418 (LC_MONETARY): Likewise.
23419 (LC_NUMERIC): Likewise.
23420 (LC_TIME): Likewise.
23421 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23422 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23424 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23426 [C99-based standards] (float_t): Expect type.
23427 [C99-based standards] (double_t): Expect type.
23428 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23430 [C99-based standards] (HUGE_VALL): Likewise.
23431 [C99-based standards] (INFINITY): Likewise.
23432 [C99-based standards] (NAN): Likewise.
23433 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23434 [C99-based standards] (FP_NAN): Likewise.
23435 [C99-based standards] (FP_NORMAL): Likewise.
23436 [C99-based standards] (FP_SUBNORMAL): Likewise.
23437 [C99-based standards] (FP_ZERO): Likewise.
23438 [C99-based standards] (FP_FAST_FMA): Use
23439 optional-macro-int-constant. Specify type. Require == 1.
23440 [C99-based standards] (FP_FAST_FMAF): Likewise.
23441 [C99-based standards] (FP_FAST_FMAL): Likewise.
23442 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23443 [C99-based standards] (FP_ILOGBNAN): Likewise.
23444 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23446 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23447 [C99-based standards] (math_errhandling): Specify type.
23448 [ISO99 || ISO11] (signgam): Do not allow.
23449 [non-C99-based standards] (copysignf): Do not allow.
23450 [non-C99-based standards] (exp2f): Likewise.
23451 [non-C99-based standards] (log2f): Likewise.
23452 [non-C99-based standards] (modff): Allow.
23453 [non-C99-based standards] (erff): Do not allow.
23454 [non-C99-based standards] (erfcf): Likewise.
23455 [non-C99-based standards] (gammaf): Likewise.
23456 [non-C99-based standards] (hypotf): Likewise.
23457 [non-C99-based standards] (j0f): Likewise.
23458 [non-C99-based standards] (j1f): Likewise.
23459 [non-C99-based standards] (jnf): Likewise.
23460 [non-C99-based standards] (lgammaf): Likewise.
23461 [non-C99-based standards] (tgammaf): Likewise.
23462 [non-C99-based standards] (y0f): Likewise.
23463 [non-C99-based standards] (y1f): Likewise.
23464 [non-C99-based standards] (ynf): Likewise.
23465 [non-C99-based standards] (isnanf): Likewise.
23466 [non-C99-based standards] (acoshf): Likewise.
23467 [non-C99-based standards] (asinhf): Likewise.
23468 [non-C99-based standards] (atanhf): Likewise.
23469 [non-C99-based standards] (cbrtf): Likewise.
23470 [non-C99-based standards] (expm1f): Likewise.
23471 [non-C99-based standards] (ilogbf): Likewise.
23472 [non-C99-based standards] (log1pf): Likewise.
23473 [non-C99-based standards] (logbf): Likewise.
23474 [non-C99-based standards] (nextafterf): Likewise.
23475 [non-C99-based standards] (remainderf): Likewise.
23476 [non-C99-based standards] (rintf): Likewise.
23477 [non-C99-based standards] (scalbf): Likewise.
23478 [non-C99-based standards] (copysignl): Likewise.
23479 [non-C99-based standards] (exp2l): Likewise.
23480 [non-C99-based standards] (log2l): Likewise.
23481 [non-C99-based standards] (modfl): Allow.
23482 [non-C99-based standards] (erfl): Do not allow.
23483 [non-C99-based standards] (erfcl): Likewise.
23484 [non-C99-based standards] (gammal): Likewise.
23485 [non-C99-based standards] (hypotl): Likewise.
23486 [non-C99-based standards] (j0l): Likewise.
23487 [non-C99-based standards] (j1l): Likewise.
23488 [non-C99-based standards] (jnl): Likewise.
23489 [non-C99-based standards] (lgammal): Likewise.
23490 [non-C99-based standards] (tgammal): Likewise.
23491 [non-C99-based standards] (y0l): Likewise.
23492 [non-C99-based standards] (y1l): Likewise.
23493 [non-C99-based standards] (ynl): Likewise.
23494 [non-C99-based standards] (isnanl): Likewise.
23495 [non-C99-based standards] (acoshl): Likewise.
23496 [non-C99-based standards] (asinhl): Likewise.
23497 [non-C99-based standards] (atanhl): Likewise.
23498 [non-C99-based standards] (cbrtl): Likewise.
23499 [non-C99-based standards] (expm1l): Likewise.
23500 [non-C99-based standards] (ilogbl): Likewise.
23501 [non-C99-based standards] (log1pl): Likewise.
23502 [non-C99-based standards] (logbl): Likewise.
23503 [non-C99-based standards] (nextafterl): Likewise.
23504 [non-C99-based standards] (remainderl): Likewise.
23505 [non-C99-based standards] (rintl): Likewise.
23506 [non-C99-based standards] (scalbl): Likewise.
23507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23508 [non-C99-based standards] (FP_*): Do not allow.
23509 [C99-based standards] (FP_*): Change to
23510 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23511 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23513 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23514 (SIG_ERR): Likewise.
23515 [X/Open-based standards] (SIG_HOLD): Likewise.
23516 (SIG_IGN): Likewise.
23517 (SIGABRT): Use macro-int-constant. Specify type. Require
23519 (SIGFPE): Likewise.
23520 (SIGILL): Likewise.
23521 (SIGINT): Likewise.
23522 (SIGSEGV): Likewise.
23523 (SIGTER): Likewise.
23524 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23525 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23526 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23527 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23528 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23529 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23530 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23531 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23532 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23533 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23534 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23535 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23536 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23537 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23538 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23539 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23540 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23541 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23542 [X/Open-based standards] (SIGTRAP): Likewise.
23543 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23544 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23545 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23546 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23547 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23550 2012-05-08 Ian Wienand <ianw@vmware.com>
23553 * time/tzset.c (__tzset_parse_tz): Update default rules for
23554 daylight time changes in the Energy Policy Act of 2005.
23556 2012-05-09 Andreas Jaeger <aj@suse.de>
23559 * elf/ldconfig.c (parse_conf): Change string to make clear that
23560 ldconfig only issued a warning if ld.so.conf does not exist.
23562 2012-05-08 David S. Miller <davem@davemloft.net>
23564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23565 movxtod instead of popping the value on the stack.
23567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23569 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23571 * config.h.in: Add HAVE_ARM_PCS_VFP.
23573 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
23576 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23577 checking but the checks are disabled for any reason.
23579 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23581 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23582 and ELF64_R_TYPE with ELFW(R_TYPE).
23584 2012-05-08 Joseph Myers <joseph@codesourcery.com>
23586 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23587 (ulimit): Likewise.
23589 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23590 (settimeofday): Likewise.
23592 2012-05-08 Mike Frysinger <vapier@gentoo.org>
23594 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23595 a struct th_u2 inside the union, and move tu_block/tu_code into
23596 a new th_u3 union of tu_block/tu_code inside of that. Move
23597 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23598 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23599 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23600 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23601 (th_stuff): Change to th_u1.tu_stuff.
23603 (th_msg): Change to th_u1.th_u2.tu_data.
23605 2012-05-07 David S. Miller <davem@davemloft.net>
23607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23610 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23611 (SETUP_PIC_REG): Use it.
23612 (SETUP_PIC_REG_LEAF): Use it.
23614 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23618 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23620 (EXPL_FINITE): Likewise.
23621 (FLDLOG): Likewise.
23622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23623 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23625 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23627 (EXPL_FINITE): Likewise.
23628 (FLDLOG): Likewise.
23629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23630 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23632 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23633 test of -max_value argument for long double.
23634 * sysdeps/i386/fpu/libm-test-ulps: Update.
23635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23637 2012-05-06 David S. Miller <davem@davemloft.net>
23639 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23640 quad soft-float symbols whose references which are compiler
23642 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23644 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23648 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23650 (EXPL_FINITE): Likewise.
23651 (FLDLOG): Likewise.
23654 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23655 Adjust comments for base varying.
23656 (__expl_finite): Change alias to EXPL_FINITE.
23657 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23659 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23660 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23662 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23663 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23665 (EXPL_FINITE): Likewise.
23666 (FLDLOG): Likewise.
23669 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23670 Adjust comments for base varying.
23671 (__expl_finite): Change alias to EXPL_FINITE.
23672 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23677 * math/libm-test.inc (check_float_internal): Correct ulp
23678 calculation for subnormal expected results.
23680 2012-05-06 Andreas Jaeger <aj@suse.de>
23682 * Makeconfig (+math-flags): New, set to -frounding-math.
23683 (+cflags): Add +math-flags so that all of glibc gets compiled with
23686 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23688 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23690 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23696 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23697 (__ieee754_expl): Allow for and saturate large arguments.
23698 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23699 (u_threshold): Likewise.
23700 (__exp): Call __ieee754_exp before checking for overflow and
23702 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23703 (u_threshold): Likewise.
23704 (__expf): Call __ieee754_expf before checking for overflow and
23706 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23707 (u_threshold): Likewise.
23708 (__expl): Call __ieee754_expl before checking for overflow and
23710 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23711 (__ieee754_expl): Allow for and saturate large arguments.
23712 * math/libm-test.inc (exp_test): Add another test. Do not allow
23713 missing overflow exception on overflow.
23714 (expm1_test): Do not allow missing overflow exception on overflow.
23716 * sysdeps/i386/fpu/e_expl.c: Move to ...
23717 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23718 rather than using inline asm.
23719 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23720 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23721 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23723 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23726 (signal): Likewise.
23730 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23732 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23733 sysdeps/unix/common/syscalls.list.
23734 (fchmod): Likewise.
23735 (fchown): Likewise.
23736 (ftruncate): Likewise.
23737 (getrusage): Likewise.
23738 (gettimeofday): Likewise.
23739 (setpgid): Likewise.
23740 (setregid): Likewise.
23741 (setreuid): Likewise.
23742 (sigaction): Likewise.
23743 (truncate): Likewise.
23744 (vhangup): Likewise.
23745 * sysdeps/unix/common/syscalls.list: Remove file.
23746 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23747 * sysdeps/unix/sysv/linux/Implies: Likewise.
23749 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23751 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23753 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23757 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23760 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23763 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23766 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23769 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23772 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23775 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23779 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23783 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23786 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23790 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23794 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23796 * sysdeps/unix/common/bits/dirent.h: Remove file.
23797 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23799 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23800 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23801 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23802 * sysdeps/unix/bsd/isatty.c: Likewise.
23803 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23804 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23805 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23807 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23811 long double comparison inaccuracies.
23812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23815 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23817 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23818 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23820 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23823 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23824 nonzero digits before rounding a hex value.
23825 * stdlib/tst-strtod.c (tests): Add another test.
23827 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23829 * sysdeps/s390/fpu/libm-test-ulps: Update.
23831 2012-05-03 Andreas Jaeger <aj@suse.de>
23833 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23834 does not get optimized out.
23835 (malloc_opt_barrier): New.
23837 2012-05-03 Andreas Jaeger <aj@suse.de>
23838 Roland McGrath <roland@hack.frob.com>
23840 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23841 intermediate file deletion.
23842 (generated): Add .symlist files.
23844 2012-05-03 Joseph Myers <joseph@codesourcery.com>
23847 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23848 Redirect under this condition.
23849 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23850 [__USE_GNU] (__dprintf_chk): Not under this condition.
23851 [__USE_GNU] (__vdprintf_chk): Likewise.
23852 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23853 under this condition.
23854 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23855 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23856 [__USE_XOPEN2K8] (vdprintf): Likewise.
23857 [__USE_GNU] (__dprintf_chk): Not under this condition.
23858 [__USE_GNU] (__vdprintf_chk): Likewise.
23859 [__USE_GNU] (dprintf): Likewise.
23860 [__USE_GNU] (vdprintf): Likewise.
23862 2012-05-03 Roland McGrath <roland@hack.frob.com>
23864 * elf/Makefile (common-generated): Set this instead of generated for
23865 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23866 $(all-built-dso)-derived lists.
23868 2012-05-03 Andreas Jaeger <aj@suse.de>
23870 * sysdeps/i386/fpu/libm-test-ulps: Update.
23873 * FAQ.in: Likewise.
23874 * scripts/gen-FAQ.pl: Likewise.
23875 * manual/install.texi (Installation): Point to online location of
23877 * Makefile (files-for-dist): Remove FAQ.
23880 2012-05-02 Allan McRae <allan@archlinux.org>
23882 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23883 (LDFLAGS-reldepmod5.so): Likewise.
23884 (LDFLAGS-reldep6mod1.so): Likewise.
23885 (LDFLAGS-reldep6mod4.so): Likewise.
23886 (LDFLAGS-reldep8mod3.so): Likewise.
23887 (LDFLAGS-unload4mod1.so): Likewise.
23888 (LDFLAGS-unload4mod2.so): Likewise.
23889 (LDFLAGS-tst-initorder): Likewise.
23890 (LDFLAGS-tst-initordera2.so): Likewise.
23891 (LDFLAGS-tst-initordera3.so): Likewise.
23892 (LDFLAGS-tst-initordera4.so): Likewise.
23893 (LDFLAGS-tst-initorderb2.so): Likewise.
23894 (LDFLAGS-noload): Likewise.
23895 (LDFLAGS-next): Likewise.
23896 (LDFLAGS-order2mod1.so): Likewise.
23897 (LDFLAGS-order2mod2.so): Likewise.
23898 (LDFLAGS-tst-initorder2): Likewise.
23899 (LDFLAGS-tst-initorder2a.so): Likewise.
23900 (LDFLAGS-tst-initorder2b.so): Likewise.
23901 (LDFLAGS-tst-initorder2c.so): Likewise.
23902 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23904 2012-05-02 David S. Miller <davem@davemloft.net>
23906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23908 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23911 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23913 2012-05-02 Andreas Jaeger <aj@suse.de>
23915 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23916 since we manipulate rounding mode.
23917 (CPPFLAGS-test-idouble.c): Likewise.
23918 (CPPFLAGS-test-ifloat.c): Likewise.
23919 (CFLAGS-test-ldouble.c): Likewise.
23920 (CFLAGS-test-double.c): Likewise.
23921 (CFLAGS-test-float.c): Likewise.
23922 (CFLAGS-test-misc.c): Likewise.
23923 (CFLAGS-test-test-fenv.c): Likewise.
23925 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23929 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23930 comparisons to determine direction to adjust input.
23932 2012-05-01 Roland McGrath <roland@hack.frob.com>
23934 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23935 output to the target.
23937 * scripts/localplt.awk: New file.
23938 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23939 (check-localplt-CFLAGS): Variable removed.
23940 ($(all-built-dso:=.jmprel)): New static pattern rule.
23941 (generated): Add those targets.
23942 (localplt-built-dso): New variable.
23943 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23945 * elf/check-localplt.c: File removed.
23947 * scripts/check-execstack.awk: New file.
23948 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23949 (check-execstack-CFLAGS): Variable removed.
23950 ($(objpfx)check-execstack.h): Target removed.
23951 ($(objpfx)execstack-default): New target.
23952 (generated): Add that instead of check-execstack.h.
23953 ($(all-built-dso:=.phdr)): New static pattern rule.
23954 (generated): Add those targets.
23955 * elf/check-execstack.c: File removed.
23957 * scripts/check-textrel.awk: New file.
23958 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23959 (check-textrel-CFLAGS): Variable removed.
23960 (all-built-dso): Use := to define.o
23961 ($(all-built-dso:=.dyn)): New static pattern rule.
23962 (generated): Add those targets.
23963 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23964 * config.make.in (READELF): New substituted variable.
23965 * elf/check-textrel.c: File removed.
23967 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23969 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23971 * conform/data/ctype.h-data [C99-based standards] (isblank):
23973 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23974 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23976 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23977 Specify type. Require positive value.
23978 (EILSEQ): Likewise.
23979 (ERANGE): Likewise.
23980 [ISO || POSIX] (EILSEQ): Do not expect.
23981 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23982 Specify type. Require positive value.
23983 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23984 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23985 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23986 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23987 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23988 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23989 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23990 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23991 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23992 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23993 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23994 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23995 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23996 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23997 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23998 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23999 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24000 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24001 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24002 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24003 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24004 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24005 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24006 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24007 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24008 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24009 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24010 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24011 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24012 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24013 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24014 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24015 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24016 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24017 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24018 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24019 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24020 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24021 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24022 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24023 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24024 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24025 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24026 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24027 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24028 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24029 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24030 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24031 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24032 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24033 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24034 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24035 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24036 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24037 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24038 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24039 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24040 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24041 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24042 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24043 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24044 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24045 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24046 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24047 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24048 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24049 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24050 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24051 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24052 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24053 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24054 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24055 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24056 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24057 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24058 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24059 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24061 (FLT_ROUNDS): Expect as macro, not constant.
24062 (FLT_MANT_DIG): Use macro-int-constant.
24063 (DBL_MANT_DIG): Likewise.
24064 (LDBL_MANT_DIG): Likewise.
24065 (FLT_DIG): Likewise.
24066 (DBL_DIG): Likewise.
24067 (LDBL_DIG): Likewise.
24068 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24069 (DBL_MIN_EXP): Likewise.
24070 (LDBL_MIN_EXP): Likewise.
24071 (FLT_MAX_EXP): Use macro-int-constant.
24072 (DBL_MAX_EXP): Likewise.
24073 (LDBL_MAX_EXP): Likewise.
24074 (FLT_MAX_10_EXP): Likewise.
24075 (DBL_MAX_10_EXP): Likewise.
24076 (LDBL_MAX_10_EXP): Likewise.
24077 (FLT_MAX): Use macro-constant.
24078 (DBL_MAX): Likewise.
24079 (LDBL_MAX): Likewise.
24080 (FLT_EPSILON): Use macro-constant. Give upper bound.
24081 (DBL_EPSILON): Likewise.
24082 (LDBL_EPSILON): Likewise.
24083 (FLT_MIN): Likewise.
24084 (DBL_MIN): Likewise.
24085 (LDBL_MIN): Likewise.
24086 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24087 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24088 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24089 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24090 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24091 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24092 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24093 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24094 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24095 [ISO11] (FLT_TRUE_MIN): Likewise.
24096 [ISO11] (LDBL_TRUE_MIN): Likewise.
24097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24098 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24099 (SCHAR_MIN): Use macro-int-constant. Specify type.
24100 (SCHAR_MAX): Likewise.
24101 (UCHAR_MAX): Likewise.
24102 (CHAR_MIN): Likewise.
24103 (CHAR_MAX): Likewise.
24104 (MB_LEN_MAX): Use macro-int-constant.
24105 (SHRT_MIN): Use macro-int-constant. Specify type.
24106 (SHRT_MAX): Likewise.
24107 (USHRT_MAX): Likewise.
24108 (INT_MAX): Likewise.
24109 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24111 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24113 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24115 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24116 bound negative. Suffix upper bound with "L".
24117 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24119 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24121 [C99-based standards] (LLONG_MAX): Likewise.
24122 [C99-based standards] (ULLONG_MAX): Likewise.
24123 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24125 [ISO11] (max_align_t): Require type.
24126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24128 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24129 from $CFLAGS, without defining away __attribute__ calls.
24130 (checknamespace): Use $CFLAGS_namespace.
24132 * conform/conformtest.pl (@keywords): Only include C99 keywords
24133 for standards based on C99 or C11.
24135 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24137 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24140 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24141 usability of symbols in #if.
24143 * conform/conformtest.pl: If macro or constant types start
24144 "promoted:", expect the symbol to be of the following type
24145 promoted by the integer promotions.
24147 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24148 in one place. Also handle "macro-constant".
24150 * conform/conformtest.pl: Only accept expected macro values with
24151 "==". Parse all "macro" lines in one place.
24152 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24154 * conform/conformtest.pl: Handle braced types on "constant" lines
24155 instead of handling "typed-constant".
24156 * conform/data/signal.h-data: Use "constant" instead of
24159 * conform/conformtest.pl: Handle "optional-" at start of lines in
24160 one place rather than duplicating several cases. Handle each
24161 format of "macro" line with initial "optional-".
24163 * conform/conformtest.pl: Only accept expected constant or
24164 optional-constant values with "==". Parse all "constant" lines in
24165 one place. Parse all "optional-constant" lines in one place.
24166 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24167 * conform/data/fmtmsg.h-data: Likewise.
24168 * conform/data/netinet/in.h-data: Likewise.
24169 * conform/data/tar.h-data: Likewise.
24170 * conform/data/limits.h-data: Use "==" form on "constant" and
24171 "optional-constant" lines.
24173 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24174 Use -std=c99 for XOPEN2K.
24175 (@knownproblems): Remove.
24176 (newtoken): Don't check %isknown.
24178 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24179 Do not expect macro.
24180 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24181 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24182 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24183 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24184 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24185 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24186 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24187 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24188 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24189 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24190 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24191 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24192 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24193 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24194 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24195 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24196 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24197 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24198 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24199 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24200 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24201 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24203 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24204 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24205 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24206 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24207 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24208 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24209 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24210 [XPG3] (acosh): Likewise.
24211 [XPG3] (asinh): Likewise.
24212 [XPG3] (atanh): Likewise.
24213 [XPG3] (cbrt): Likewise.
24214 [XPG3] (expm1): Likewise.
24215 [XPG3] (ilogb): Likewise.
24216 [XPG3] (log1p): Likewise.
24217 [XPG3] (logb): Likewise.
24218 [XPG3] (nextafter): Likewise.
24219 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24220 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24221 [XPG3] (remainder): Likewise.
24222 [XPG3] (rint): Likewise.
24223 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24224 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24225 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24226 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24227 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24228 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24229 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24230 [UNIX98 || XOPEN2K] (scalb): Expect.
24231 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24232 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24233 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24234 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24235 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24236 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24237 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24238 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24239 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24240 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24241 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24242 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24243 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24244 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24245 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24246 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24247 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24248 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24249 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24250 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24251 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24252 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24253 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24254 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24255 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24256 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24257 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24258 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24259 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24260 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24261 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24262 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24263 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24264 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24265 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24266 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24267 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24268 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24269 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24270 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24271 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24272 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24273 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24274 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24275 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24276 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24277 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24278 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24279 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24280 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24281 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24282 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24283 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24284 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24285 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24286 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24287 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24288 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24289 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24290 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24291 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24292 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24293 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24294 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24295 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24296 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24297 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24298 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24299 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24300 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24301 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24302 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24303 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24304 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24305 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24306 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24307 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24308 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24309 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24310 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24311 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24312 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24313 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24314 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24315 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24316 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24317 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24318 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24319 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24320 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24321 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24322 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24323 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24324 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24325 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24326 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24327 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24328 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24329 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24330 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24331 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24332 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24333 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24334 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24335 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24336 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24337 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24338 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24339 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24340 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24341 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24342 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24343 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24344 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24345 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24346 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24347 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24348 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24349 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24350 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24351 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24352 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24353 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24354 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24355 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24356 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24357 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24358 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24359 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24360 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24361 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24362 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24363 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24364 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24365 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24366 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24367 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24369 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24370 _XOPEN_SOURCE_EXTENDED for XPG4.
24372 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24374 * Makeconfig (localtime): Remove variable.
24375 (inst_localtime-file): Likewise.
24377 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24398 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24402 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24403 comparisons to determine direction to adjust input.
24404 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24405 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24410 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24415 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24417 * math/libm-test.inc (nexttoward_test): Add more tests.
24419 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24423 in version GLIBC_2.1, not GLIBC_2.0.
24424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24427 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24430 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24432 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24433 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24434 * math/libm-test.inc (acos_test): Add more tests.
24435 (asin_test): Likewise.
24436 * sysdeps/i386/fpu/libm-test-ulps: Update.
24437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24440 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24442 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24443 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24444 * math/libm-test.inc (acos_test_tonearest): New function.
24445 (acos_test_towardzero): Likewise.
24446 (acos_test_downward): Likewise.
24447 (acos_test_upward): Likewise.
24448 (asin_test_tonearest): Likewise.
24449 (asin_test_towardzero): Likewise.
24450 (asin_test_downward): Likewise.
24451 (asin_test_upward): Likewise.
24452 (main): Call the new functions.
24453 * sysdeps/i386/fpu/libm-test-ulps: Update.
24454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24458 * math/e_exp10.c: Include <float.h>.
24459 (__ieee754_exp10): Handle underflow here rather than multiplying
24460 large negative argument by M_LN10.
24461 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24463 * math/e_exp10l.c: Include <float.h>.
24464 (__ieee754_exp10l): Handle underflow here rather than multiplying
24465 large negative argument by M_LN10l.
24466 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24467 spurious overflow exception on underflow.
24469 2012-04-29 Marek Polacek <polacek@redhat.com>
24471 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24472 (__fortify_function): New macro.
24473 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24474 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24475 __extern_always_inline.
24476 * libio/bits/stdio2.h: Likewise.
24477 * libio/bits/stdio.h: Likewise.
24478 * string/string.h: Likewise.
24479 * string/bits/string3.h: Likewise.
24480 * include/stdio.h: Likewise.
24481 * stdlib/bits/stdlib.h: Likewise.
24482 * stdlib/stdlib.h: Likewise.
24483 * rt/bits/mqueue2.h: Likewise.
24484 * rt/mqueue.h: Likewise.
24485 * posix/bits/unistd.h: Likewise.
24486 * posix/unistd.h: Likewise.
24487 * io/bits/poll2.h: Likewise.
24488 * io/bits/fcntl2.h: Likewise.
24489 * io/fcntl.h: Likewise.
24490 * io/sys/poll.h: Likewise.
24491 * misc/bits/syslog.h: Likewise.
24492 * misc/bits/syslog-ldbl.h: Likewise.
24493 * misc/sys/syslog.h: Likewise.
24494 * socket/bits/socket2.h: Likewise.
24495 * socket/sys/socket.h: Likewise.
24496 * debug/tst-chk1.c: Likewise.
24497 * wcsmbs/bits/wchar2.h: Likewise.
24498 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24499 * wcsmbs/wchar.h: Likewise.
24501 2012-04-29 Andreas Jaeger <aj@suse.de>
24503 * Makerules (tests): Remove enable-check-abi protection.
24504 (check-abi-warn): Remove.
24505 (check-abi-%): Remove check-abi-warn usage.
24507 * configure.in: Remove check-abi configure option.
24508 * configure: Regenerated.
24509 * config.make.in (enable-check-abi): Remove.
24511 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24514 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24515 double functions to double *_finite functions.
24518 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24519 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24521 * stdio-common/Makefile (tests): Add tst-sprintf3.
24522 * stdio-common/tst-sprintf3.c: New file.
24524 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24525 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24527 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24529 * conform/conformtest.pl: Remove duplicate typed-constant
24532 2012-04-28 David S. Miller <davem@davemloft.net>
24534 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24535 (check-abi-%): Remove AWK script prerequisite and explicit
24537 (check-abi): Rewrite to just diff the symlist with the abilist.
24538 (config-tls, config-abi-config): Delete, no longer used.
24539 (update-abi-%): Remove AWK script and explicit abilist directory.
24540 (update-abi): Rewrite to simply compare and conditionally copy the
24541 symlist and the sysdep abilist file. Remove update-abi-config
24543 * abilist/ld.abilist: Remove.
24544 * abilist/libBrokenLocale.abilist: Remove.
24545 * abilist/libanl.abilist: Remove.
24546 * abilist/libcrypt.abilist: Remove.
24547 * abilist/libdl.abilist: Remove.
24548 * abilist/librt.abilist: Remove.
24549 * abilist/libthread_db.abilist: Remove.
24550 * abilist/libutil.abilist: Remove.
24551 * scripts/extract-abilist.awk: Remove.
24552 * scripts/merge-abilist.awk: Remove.
24553 * sysdeps/generic/libcidn.abilist: New file.
24554 * sysdeps/generic/libnss_compat.abilist: New file.
24555 * sysdeps/generic/libnss_db.abilist: New file.
24556 * sysdeps/generic/libnss_dns.abilist: New file.
24557 * sysdeps/generic/libnss_files.abilist: New file.
24558 * sysdeps/generic/libnss_hesiod.abilist: New file.
24559 * sysdeps/generic/libnss_nis.abilist: New file.
24560 * sysdeps/generic/libnss_nisplus.abilist: New file.
24561 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24562 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24563 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24566 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24567 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24568 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24569 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24570 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24571 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24572 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24573 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24575 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24576 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24577 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24578 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24580 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24581 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24582 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24583 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24584 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24585 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24587 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24588 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24589 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24591 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24694 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24695 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24696 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24699 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24700 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24701 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24702 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24703 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24704 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24705 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24706 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24707 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24759 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24761 * conform/conformtest.pl: Fix typo in handling typed-constant from
24764 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24766 * README: Cut down references to pre-2.6 Linux kernels and
24767 Linuxthreads. Update lists of configurations in libc and ports
24768 and sort alphabetically. Say "or newer" with Linux kernel version
24771 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24773 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24776 * math/libm-test.inc (logb_test_downward): New test to expose
24777 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24780 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24783 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24785 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24786 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24788 2012-04-26 Joseph Myers <joseph@codesourcery.com>
24790 * sysdeps/unix/i386/brk.S: Remove file.
24791 * sysdeps/unix/i386/dl-brk.S: Likewise.
24792 * sysdeps/unix/i386/pipe.S: Likewise.
24793 * sysdeps/unix/i386/sigreturn.S: Likewise.
24794 * sysdeps/unix/i386/syscall.S: Likewise.
24795 * sysdeps/unix/i386/vfork.S: Likewise.
24796 * sysdeps/unix/i386/wait.S: Likewise.
24798 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24799 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24801 * configure.in (arm*-none*): Do not allow without
24802 --enable-hacker-mode.
24803 (netbsd*): Remove case setting base_os.
24804 (386bsd*): Likewise.
24805 (freebsd*): Likewise.
24808 (sunos*): Likewise.
24809 (ultrix*): Likewise.
24810 (newsos*): Likewise.
24811 (dynix*): Likewise.
24817 (minix*): Likewise.
24818 (irix4*): Likewise.
24819 (irix6*): Likewise.
24820 (solaris[2-9]*): Likewise.
24822 * configure: Regenerated.
24824 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24827 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24828 overflow or cancellation in calculating denominator.
24829 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24831 down expression to avoid unexpected rounding in newer GCCs.
24832 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24834 2012-04-26 David S. Miller <davem@davemloft.net>
24836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24837 long-double compat symbols.
24838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24852 2012-04-25 David S. Miller <davem@davemloft.net>
24854 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24855 HWCAP_* values only after the memory barriers have been defined.
24856 (atomic_full_barrier): Define.
24857 (atomic_read_barrier): Define.
24858 (atomic_write_barrier): Define.
24860 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24862 * shlib-versions: Add libgcc_s version information.
24863 * sysdeps/generic/libgcc_s.h: Remove.
24864 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24866 * sysdeps/gnu/unwind-resume.c: Likewise.
24867 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24869 2012-04-25 David S. Miller <davem@davemloft.net>
24871 * sysdeps/unix/sparc/brk.S: Delete.
24872 * sysdeps/unix/sparc/dl-brk.S: Delete.
24873 * sysdeps/unix/sparc/pipe.S: Delete.
24874 * sysdeps/unix/sparc/sysdep.S: Delete.
24875 * sysdeps/unix/sparc/sysdep.h: Delete.
24876 * sysdeps/unix/sparc/vfork.S: Delete.
24877 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24878 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24880 ret_ERRVAL, r0, r1, MOVE): Define.
24881 (JUMPTARGET): Remove.
24882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24883 sysdeps/unix/sparc/sysdep.h
24884 (ENTRY, END): Remove.
24885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24887 2012-04-25 Joseph Myers <joseph@codesourcery.com>
24889 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24890 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24893 * timezone/README: Update upstream location and email address for
24895 * timezone/zdump.c: Update from tzcode 2012b.
24896 * timezone/zic.c: Likewise.
24898 * configure.in (libc_cv_as_needed): Remove test.
24899 * configure: Regenerated.
24900 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24901 conditional definition.
24902 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24903 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24904 * config.make.in (have-as-needed): Remove variable.
24906 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24907 Paul Pluzhnikov <ppluzhnikov@google.com>
24909 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24912 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24914 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24915 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24916 * sysdeps/sh/strlen.S: Likewise.
24918 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24920 * sysdeps/unix/fork.S: Remove file.
24921 * sysdeps/unix/i386/fork.S: Likewise.
24922 * sysdeps/unix/sparc/fork.S: Likewise.
24924 * sysdeps/unix/system.c: Remove file.
24925 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24927 * sysdeps/unix/getegid.S: Remove file.
24928 * sysdeps/unix/geteuid.S: Likewise.
24930 2012-04-24 Roland McGrath <roland@hack.frob.com>
24932 * scripts/check-localplt.awk: New file.
24933 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24935 * scripts/data/localplt-generic.data: Add a comment.
24937 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24938 NODE when __dir_mkfile failed.
24939 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24940 Reported by Ludovic Courtès <ludo@gnu.org>.
24942 2012-04-24 Andreas Jaeger <aj@suse.de>
24944 * Makerules (common-clean): Also remove gen-as-const-headers
24947 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24949 * Makerules (native-compile): Do not change working directory for
24950 build. Use $(OUTPUT_OPTION) in command.
24951 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24953 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24956 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24957 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24958 * math/libm-test.inc (floor_test): Add more tests.
24959 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24961 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24963 * sysdeps/unix/getdents.c: Remove file.
24964 * sysdeps/unix/sysv/getdents.c: Likewise.
24965 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24967 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24968 sysdeps/unix/mman/syscalls.list.
24970 (mprotect): Likewise.
24972 (munmap): Likewise.
24973 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24974 * sysdeps/unix/mman/syscalls.list: Remove.
24975 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24977 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24978 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24979 * configure: Regenerated.
24980 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24981 $(libgcc_s_suffix).
24982 * config.make.in (libgcc_s_suffix): Remove variable.
24984 2012-04-23 Joseph Myers <joseph@codesourcery.com>
24986 * sysdeps/unix/sysv/gethostname.c: Move to ...
24987 * sysdeps/posix/gethostname.c: ... here.
24989 * sysdeps/unix/execve.S: Remove file.
24991 * sysdeps/unix/_exit.S: Remove file.
24993 2012-04-23 Andreas Jaeger <aj@suse.de>
24996 * manual/Makefile: Remove make dist support, there's no
24997 need for a stand-alone documentation tar ball.
24998 (TEXI2DVI): Define always, it's not in Makeconfig.
25001 (edition): Removed.
25002 (glibc-doc-$(edition).tar): Removed
25006 (ETAGS): Remove, it's in Makeconfig.
25007 (move-if-change): Remove, it's in Makeconfig.
25009 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25012 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25013 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25014 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25015 (strtod_l, strtof_l, strtold_l): Remove __wur.
25016 It is not necessarily an error to ignore strtol's return value.
25017 One can reliably look at the stored endptr to decide whether
25018 the number had valid syntax.
25020 2012-04-21 Andreas Jaeger <aj@suse.de>
25023 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25025 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25027 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25028 * sysdeps/unix/sysv/Versions: Remove file.
25030 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25035 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25039 version from __vm86.
25041 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25043 * sysdeps/unix/common/lxstat.c: Remove file.
25044 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25046 * sysdeps/unix/sysv/Makefile: Remove file.
25048 * sysdeps/unix/sysv/direct.h: Remove file.
25050 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25051 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25052 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25053 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25054 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25055 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25056 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25058 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25060 * sysdeps/unix/xmknod.c: Remove file.
25061 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25063 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25065 * sysdeps/unix/sysv/i386/time.S: Remove file.
25067 * sysdeps/unix/fxstat.c: Remove file.
25068 * sysdeps/unix/xstat.c: Likewise.
25069 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25071 * sysdeps/unix/sysv/sigaction.c: Remove file.
25073 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25074 (sysdep_headers): Remove variable.
25075 [termio.h not in sysdep_headers] (generated): Likewise.
25076 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25077 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25078 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25079 * sysdeps/unix/sysv/tcflow.c: Likewise.
25080 * sysdeps/unix/sysv/tcflush.c: Likewise.
25081 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25082 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25083 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25084 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25085 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25087 * sysdeps/unix/siglist.c: Remove file.
25089 * sysdeps/unix/getppid.S: Remove file.
25091 * sysdeps/unix/mkdir.c: Remove file.
25092 * sysdeps/unix/rmdir.c: Likewise.
25094 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25096 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25098 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25099 errlist-compat value.
25101 2012-04-18 David S. Miller <davem@davemloft.net>
25103 * sysdeps/generic/memcopy.h (reg_char): Delete.
25104 * debug/strcat_chk.c: Use char, not reg_char.
25105 * debug/strcpy_chk.c: Likewise.
25106 * debug/strncat_chk.c: Likewise.
25107 * debug/strncpy_chk.c: Likewise.
25108 * string/memchr.c: Likewise.
25109 * string/memrchr.c: Likewise.
25110 * string/rawmemchr.c: Likewise.
25111 * string/strcat.c: Likewise.
25112 * string/strchr.c: Likewise.
25113 * string/strchrnul.c: Likewise.
25114 * string/strcmp.c: Likewise.
25115 * string/strcpy.c: Likewise.
25116 * string/strncat.c: Likewise.
25117 * string/strncmp.c: Likewise.
25118 * string/strncpy.c: Likewise.
25120 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25122 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25123 __builtin_memcopy is called when src and dest ranges are known to not
25126 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25128 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25129 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25130 fwd_align_merge macro call.
25131 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25132 bwd_align_merge macro call.
25133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25135 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25137 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25138 bwd_align_merge macros.
25139 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25140 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25141 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25143 2012-04-18 David S. Miller <davem@davemloft.net>
25145 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25147 2012-04-18 Andreas Jaeger <aj@suse.de>
25150 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25151 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25152 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25154 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25155 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25158 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25159 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25160 Adjust for changed ldbl-128 files.
25162 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25163 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25164 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25166 2012-04-17 David S. Miller <davem@davemloft.net>
25168 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25170 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25172 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25173 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25174 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25175 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25176 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25177 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25179 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25182 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25183 * math/libm-test.inc: Add ilogb errno and exception tests.
25184 * math/w_ilogb.c: New file: ilogb wrapper.
25185 * math/w_ilogbf.c: New file: ilogbf wrapper.
25186 * math/w_ilogbl.c: New file: ilogbl wrapper.
25187 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25188 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25189 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25190 exception being thrown with 0.0 as argument.
25191 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25192 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25193 exception being thrown with 0.0 as argument.
25194 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25195 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25196 exception being thrown with 0.0 as argument.
25197 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25198 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25199 exception being thrown with 0.0 as argument.
25200 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25201 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25203 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25204 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25205 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25206 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25207 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25208 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25210 2012-04-17 Petr Baudis <pasky@ucw.cz>
25212 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25215 2012-04-16 Marek Polacek <polacek@redhat.com>
25217 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25219 2012-04-16 Marek Polacek <polacek@redhat.com>
25221 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25222 operands of fdivp instruction.
25224 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25226 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25227 * elf/tst-auditmod3b.c: Likewise.
25228 * elf/tst-auditmod4b.c: Likewise.
25229 * elf/tst-auditmod5b.c: Likewise.
25230 * elf/tst-auditmod6b.c: Likewise.
25231 * elf/tst-auditmod6c.c: Likewise.
25232 * elf/tst-auditmod7b.c: Likewise.
25233 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25234 * sysdeps/x86_64/preconfigure.in: Likewise.
25235 * sysdeps/x86_64/preconfigure: Regenerated.
25237 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25239 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25242 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25245 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25247 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25250 * locale/iso-639.def: Fix gl language name. Spotted by
25253 2012-04-12 Roland McGrath <roland@hack.frob.com>
25256 * libio/libio.h (__io_write_fn): Update comment.
25258 2012-04-12 Petr Baudis <pasky@ucw.cz>
25261 * stdio.texi (Hook Functions): The user provided writer function
25262 is not allowed to return -1.
25264 2012-04-11 David S. Miller <davem@davemloft.net>
25266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25268 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25270 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25271 Add a leading slash to rtkaio.
25273 2012-04-11 Jim Meyering <meyering@redhat.com>
25276 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25277 It is not necessarily an error to ignore fwrite's return
25278 value. One can reliably use ferror to test for errors after
25281 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25283 * bits/types.h (__snseconds_t): New type.
25284 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25286 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25288 (__SNSECONDS_T_TYPE): Likewise.
25289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25290 (__SNSECONDS_T_TYPE): Likewise.
25291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25292 (__SNSECONDS_T_TYPE): Likewise.
25294 2012-04-10 Andreas Jaeger <aj@suse.de>
25297 * manual/time.texi (Processor Time): Return type of times is
25298 elapsed real time since an arbitrary point in the past.
25299 (CPU Time): Move CLK_TCK from here...
25300 (Processor Time): ...to here. Correct description.
25301 * manual/conf.texi (Constants for Sysconf): Correct description of
25304 2012-04-10 David S. Miller <davem@davemloft.net>
25307 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25308 where the is a gap between DT_REL(A) and DT_JMPREL.
25310 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25312 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25313 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25314 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25316 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25318 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25319 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25320 (dl_main): Handle --inhibit-cache.
25321 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25323 * elf/dl-load.c (_dl_map_object): Use it.
25324 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25326 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25329 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25330 (__ieee754_powl): Saturate large exponents rather than testing for
25331 overflow of y*log2(x).
25332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25333 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25337 * math/s_ctan.c: Include <float.h>.
25338 (__ctan): Avoid internal overflow or cancellation in calculating
25340 * math/s_ctanf.c: Likewise.
25341 * math/s_ctanl.c: Likewise.
25342 * math/s_ctanh.c: Likewise.
25343 * math/s_ctanhf.c: Likewise.
25344 * math/s_ctanhl.c: Likewise.
25345 * math/libm-test.inc (ctan_test): Add more tests.
25346 (ctanh_test): Likewise.
25347 * sysdeps/i386/fpu/libm-test-ulps: Update.
25348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25350 2012-04-09 Andreas Jaeger <aj@suse.de>
25353 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25354 is an optional BSD extension.
25357 * manual/stdio.texi (Opening Streams): Document additional fopen
25360 2012-04-09 Roland McGrath <roland@hack.frob.com>
25362 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25363 %eax without telling the compiler.
25365 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25368 * manual/install.texi: Use sourceware.org.
25370 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25373 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25374 (__ieee754_pow): Generate overflow and underflow using huge*huge
25375 and tiny*tiny rather than just returning constant infinity or zero
25376 for large exponents.
25377 * math/libm-test.inc (pow_test): Require overflow exceptions for
25378 applicable cases of large exponents.
25381 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25382 (__ieee754_pow): Use iterative multiplication algorithm only for
25383 integer exponents with absolute value below 1024. Check for odd
25384 integer exponents when using algorithm for real exponents.
25385 * math/libm-test.inc (pow_test): Add more tests.
25386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25388 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25391 * math/libm-test.inc (exp_test): Do not allow overflow exception
25394 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25397 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25398 instead of __kernel_standard_f.
25400 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25402 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25403 * sysdeps/x86_64/memset_chk.S: Likewise.
25405 2012-04-08 Andreas Jaeger <aj@suse.de>
25408 * manual/startup.texi (Environment Access): Describe return value
25409 for putenv and setenv.
25412 * manual/filesys.texi (Directory Entries): Add description for
25416 * manual/filesys.texi (Directory Entries): Clarify that it's file
25417 system not operating system in the description of DT_UNKNOWN.
25420 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25422 2012-04-08 Stephen Compall <s11@member.fsf.org>
25425 * manual/llio.texi (Opening and Closing Files): Add cross
25426 reference to explain mode argument.
25428 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25430 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25431 * sysdeps/x86_64/memset_chk.S: Likewise.
25433 2012-04-07 David S. Miller <davem@davemloft.net>
25435 * elf/elf.h (R_SPARC_WDISP10): Define.
25436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25438 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25439 R_SPARC_SIZE64 and R_SPARC_H34.
25441 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25443 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25444 conditions and remove no longer applicable assertion.
25446 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25448 * bits/byteswap.h: Include <features.h>.
25449 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25450 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25452 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25454 * bits/byteswap.h (__bswap_16): Removed.
25455 Include <bits/byteswap-16.h> to get __bswap_16.
25456 * sysdeps/i386/bits/byteswap.h: Likewise.
25457 * sysdeps/s390/bits/byteswap.h: Likewise.
25458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25459 * bits/byteswap-16.h: New file.
25460 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25461 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25462 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25463 * string/Makefile (headers): Add bits/byteswap-16.h.
25465 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25468 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25470 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25471 * nss/tst-nss-static.c: New.
25473 2012-04-06 Robert Millan <rmh@gnu.org>
25476 * manual/llio.texi (File Position Primitive): lseek
25477 refers to WHENCE when it really means OFFSET.
25479 2012-04-06 Andreas Jaeger <aj@suse.de>
25481 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25482 strncmp declarations.
25484 * abilist/libc.abilist: Add __poll and __ppoll.
25486 2012-04-05 David S. Miller <davem@davemloft.net>
25488 * scripts/check-local-headers.sh: Accept a host triplet in the
25489 path matched by the exclude regexp.
25491 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25493 * sysdeps/powerpc/powerpc32/dl-machine.h
25494 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25495 * sysdeps/s390/s390-32/dl-machine.h
25496 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25497 * sysdeps/sparc/sparc32/dl-machine.h
25498 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25499 * sysdeps/sparc/sparc64/dl-machine.h
25500 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25502 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25504 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25505 undefined symbol errors.
25507 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25510 2012-04-05 Michael Matz <matz@suse.de>
25513 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25515 2012-04-05 Andreas Jaeger <aj@suse.de>
25518 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25521 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25523 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25524 which ROUND is no valid rounding mode.
25526 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25528 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25530 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25532 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25534 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25535 an exception using FPU order intentionally.
25537 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25539 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25540 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25541 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25542 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25544 2012-04-05 Simon Josefsson <simon@josefsson.org>
25547 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25548 EINVAL when BUFLEN is too smal.
25550 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25553 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25554 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25556 2012-04-03 Andreas Jaeger <aj@suse.de>
25559 * manual/setjmp.texi (System V contexts): Fix sentence.
25562 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25563 New macro for this case.
25564 [!__GNUC__] (__bswap_64): New inline function for this case.
25565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25566 * bits/byteswap.h: Likewise.
25567 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25568 ull, guard with __GLIBC_HAVE_LONG_LONG.
25570 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25571 __GLIBC_HAVE_LONG_LONG.
25573 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25574 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25576 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25579 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25580 inptr and inend, rather than using last_ch.
25582 2012-04-02 David S. Miller <davem@davemloft.net>
25584 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25585 * stdio-common/printf-parse.h (read_int): Change return type to
25586 'int', return -1 on INT_MAX overflow.
25587 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25588 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25589 overflows INT_MAX. Check for overflow of in-format-string precision
25590 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25591 SIZE_MAX not INT_MAX for integer overflow test.
25592 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25593 skip the construct in the format string but do not record anything.
25594 * stdio-common/bug22.c: Adjust to test both width/prevision
25595 INT_MAX overflow as well as total length INT_MAX overflow. Check
25596 explicitly for proper errno values.
25598 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25600 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25602 * string/test-strcmp.c [! WIDE]: Likewise.
25603 * time/tst-mktime2.c: Likewise for INT_MAX.
25604 * string/test-string.h: #include <sys/param.h> for MIN.
25606 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25607 * sysdeps/i386/init-first.c (init): Likewise.
25608 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25609 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25610 * sysdeps/sh/init-first.c (init): Likewise.
25612 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25614 * po/ru.po: Update from translation team.
25615 * po/vi.po: Likewise.
25617 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25619 * resolv/nss_dns/dns-host.c: Merge copyright years.
25621 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25624 Optimize memcpy with prefetch if
25625 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25626 src, dst pointers have unequal 16 byte alignments.
25628 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25631 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25632 from a CNAME entry and return the minimum ttl for the query.
25633 (gaih_getanswer_slice): Likewise.
25635 2012-03-30 Jeff Law <law@redhat.com>
25637 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25639 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25640 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25642 * resolv/nss_dns/dns-host.c: Update copyright year.
25644 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25646 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25647 requests to save a system call. Fix check that all bytes are sent.
25649 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25650 comments for sendmmsg.
25652 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25655 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25656 with only 1 character between 0x0041 and 0x01b0.
25657 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25658 * wcsmbs/tst-mbsnrtowcs.c: New file.
25660 2012-03-29 David S. Miller <davem@davemloft.net>
25662 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25663 small copies by hand.
25665 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25668 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25669 _nss_compat_initgroups_dyn): Fall back to malloc/free
25670 for large group memberships.
25672 2012-03-28 David S. Miller <davem@davemloft.net>
25674 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25675 that branches into memcpy.
25676 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25679 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25682 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25683 implementation too.
25684 * sysdeps/sparc/mempcpy.S: New file.
25686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25687 the IFUNC routine in the libc case.
25688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25690 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25691 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25692 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25693 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25694 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25695 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25696 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25697 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25699 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25700 loop to 256 bytes instead of 64 bytes and fix test signedness.
25702 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25703 * sysdeps/sparc/sparc32/Makefile: rather than here...
25704 * sysdeps/sparc/sparc64/Makefile: and here.
25706 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25708 * malloc/mallocbug.c: Avoid warnings about unused variables.
25710 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25713 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25714 in the right place. Discard and retry query if response is
25715 larger than input buffer size.
25717 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25722 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25723 x for large integer exponent.
25724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25725 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25726 sign of result as needed afterwards.
25727 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25728 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25729 result for underflowing pow the same as for overflow.
25730 (__kernel_standard_l): Handle powl overflow and underflow here
25731 rather than calling __kernel_standard.
25732 * math/libm-test.inc (pow_test): Add more tests.
25747 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25748 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25749 (__kernel_standard_l): New function.
25750 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25752 * math/w_acosl.c (__acosl): Likewise.
25753 * math/w_asinl.c (__asinl): Likewise.
25754 * math/w_atan2l.c (__atan2l): Likewise.
25755 * math/w_atanhl.c (__atanhl): Likewise.
25756 * math/w_coshl.c (__coshl): Likewise.
25757 * math/w_exp10l.c (__exp10l): Likewise.
25758 * math/w_exp2l.c (__exp2l): Likewise.
25759 * math/w_fmodl.c (__fmodl): Likewise.
25760 * math/w_hypotl.c (__hypotl): Likewise.
25761 * math/w_j0l.c (__j0l, __y0l): Likewise.
25762 * math/w_j1l.c (__j1l, __y1l): Likewise.
25763 * math/w_jnl.c (__jnl, __ynl): Likewise.
25764 * math/w_lgammal.c (__lgammal): Likewise.
25765 * math/w_log10l.c (__log10l): Likewise.
25766 * math/w_log2l.c (__log2l): Likewise.
25767 * math/w_logl.c (__logl): Likewise.
25768 * math/w_powl.c (__powl): Likewise.
25769 * math/w_remainderl.c (__remainderl): Likewise.
25770 * math/w_scalbl.c (sysv_scalbl): Likewise.
25771 * math/w_sinhl.c (__sinhl): Likewise.
25772 * math/w_sqrtl.c (__sqrtl): Likewise.
25773 * math/w_tgammal.c (__tgammal): Likewise.
25774 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25775 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25776 * math/libm-test.inc (acos_test): Add more tests.
25777 (acosh_test): Likewise.
25778 (asin_test): Likewise.
25779 (atanh_test): Likewise.
25780 (exp_test): Likewise.
25781 (exp10_test): Likewise.
25782 (exp2_test): Likewise.
25783 (expm1_test): Likewise.
25784 (lgamma_test): Likewise.
25785 (log_test): Likewise.
25786 (log10_test): Likewise.
25787 (log1p_test): Likewise.
25788 (log2_test): Likewise.
25789 (pow_test): Do not allow some spurious overflow exceptions.
25790 (sqrt_test): Add more tests.
25791 (tgamma_test): Likewise.
25792 (y0_test): Likewise.
25793 (y1_test): Likewise.
25794 (yn_test): Likewise.
25796 2012-03-27 Anton Blanchard <anton@samba.org>
25798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25801 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25804 2012-03-27 David S. Miller <davem@davemloft.net>
25806 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25808 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25809 have-as-vis3 check.
25811 2012-03-27 Andreas Jaeger <aj@suse.de>
25813 * sysdeps/x86_64/elf/configure.in: Moved to ...
25814 * sysdeps/x86_64/configure.in: ... here.
25815 * sysdeps/x86_64/elf/start.S: Moved to ...
25816 * sysdeps/x86_64/start.S: ... here.
25817 * sysdeps/x86_64/elf/configure: Delete.
25819 * sysdeps/x86_64/configure.in: Merge contents from
25820 sysdeps/i386/configure.in (without i686 check).
25822 * sysdeps/i386/elf/Versions: Merge into ...
25823 * sysdeps/i386/Versions: ... this.
25824 * sysdeps/i386/elf/Versions: Delete file.
25825 * sysdeps/i386/elf/start.S: Moved to ...
25826 * sysdeps/i386/start.S: ...here.
25827 * sysdeps/i386/elf/configure.in: Merge into...
25828 * sysdeps/i386/configure.in: ...here.
25829 * sysdeps/i386/elf/configure.in: Delete file.
25830 * sysdeps/i386/elf/configure: Delete file.
25832 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25833 * debug/backtracesyms.c: ... here.
25834 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25835 * debug/backtracesymsfd.c: ... here.
25836 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25837 * sysdeps/generic/ifunc-sel.h: ... here.
25839 * sysdeps/unix/i386/start.c: Delete file.
25840 * sysdeps/unix/sparc/start.c: Delete file.
25841 * sysdeps/unix/start.c: Delete file.
25843 * sysdeps/sh/elf/configure.in: Moved to ...
25844 * sysdeps/sh/configure.in: ... here.
25845 * sysdeps/sh/elf/start.S: Moved to ...
25846 * sysdeps/sh/start.S: ... here.
25847 * sysdeps/sh/elf/configure: Delete file.
25849 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25850 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25851 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25852 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25853 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25854 * sysdeps/powerpc/powerpc64/start.S: here.
25855 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25856 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25857 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25858 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25859 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25861 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25862 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25863 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25864 * sysdeps/powerpc/powerpc32/start.S: ... here.
25865 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25866 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25867 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25869 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25870 * sysdeps/powerpc/ifunc-sel.h: ... here.
25871 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25872 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25874 * sysdeps/sparc/elf/configure.in: Moved to ...
25875 * sysdeps/sparc/configure.in: ... here.
25876 * sysdeps/sparc/elf/configure: Delete file.
25877 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25878 * sysdeps/sparc/sparc32/start.S: ... here.
25879 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25880 * sysdeps/sparc/sparc64/start.S: ... here.
25881 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25882 * sysdeps/sparc/sparc32/Makefile: ... this.
25883 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25884 * sysdeps/sparc/sparc64/Makefile: ... this.
25886 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25887 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25888 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25889 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25890 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25891 * sysdeps/s390/s390-32/setjmp.S: ... here.
25892 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25893 * sysdeps/s390/s390-32/configure.in: ... here.
25894 * sysdeps/s390/s390-32/elf/configure: Delete file.
25895 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25896 * sysdeps/s390/s390-32/start.S: ... here.
25898 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25899 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25900 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25901 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25902 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25903 * sysdeps/s390/s390-64/setjmp.S: ... here.
25904 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25905 * sysdeps/s390/s390-64/configure.in: ... here
25906 * sysdeps/s390/s390-64/elf/configure: Delete file.
25907 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25908 * sysdeps/s390/s390-64/start.S: ... here.
25909 * sysdeps/s390/s390-64/elf/configure: Delete.
25911 * configure.in: Remove support for elf directories in sysdeps.
25913 * configure: Regenerated.
25914 * sysdeps/i386/configure: Regenerated.
25915 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25916 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25917 * sysdeps/s390/s390-32/configure: Regenerated.
25918 * sysdeps/s390/s390-64/configure: Regenerated.
25919 * sysdeps/sh/configure: Regenerated.
25920 * sysdeps/sparc/configure: Regenerated.
25921 * sysdeps/x86_64/configure: Regenerated.
25923 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25928 denormal result into account.
25930 2012-03-25 Roland McGrath <roland@hack.frob.com>
25932 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25933 Reported by Allan McRae <allan@archlinux.org>.
25935 2012-03-23 Jeff Law <law@redhat.com>
25937 * nss/getnssent.c (__nss_getent): Fix typo.
25939 2012-03-23 David S. Miller <davem@davemloft.net>
25941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25943 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25945 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25946 to pad to uint64_t for each field.
25947 (dl_tls_index): Replace unsigned long with uint64_t.
25949 2012-03-23 Daniel Jacobowitz <dmj@google.com>
25950 Paul Pluzhnikov <ppluzhnikov@google.com>
25953 * grp/Makefile (otherlibs): Don't set it.
25954 * inet/Makefile (otherlibs): Likewise.
25955 * login/Makefile (otherlibs): Likewise.
25956 * nscd/Makefile (otherlibs): Likewise.
25957 * posix/Makefile (otherlibs): Likewise.
25958 * pwd/Makefile (otherlibs): Likewise.
25959 * rt/Makefile (otherlibs): Likewise.
25960 * sunrpc/Makefile (otherlibs): Likewise.
25961 * nss/Makefile (otherlibs): Likewise.
25962 Add libnss_files to routines and static-only-routines.
25963 ($(objpfx)getent): Remove rule.
25964 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25965 static-only-routines.
25967 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25970 * math/s_cexp.c: Include <float.h>.
25971 (__cexp): Handle exp result overflowing not necessarily
25972 overflowing both real and imaginary parts of result.
25973 * math/s_cexpf.c: Likewise.
25974 * math/s_cexpl.c: Likewise.
25975 * math/libm-test.inc (cexp_test): Add more tests.
25976 * sysdeps/i386/fpu/libm-test-ulps: Update.
25977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25979 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25981 * include/link.h (ELFW): New macro.
25982 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25983 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25985 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25987 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25990 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25992 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25994 (struct La_x32_retval): Likewise.
25996 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25998 * sysdeps/x86_64/preconfigure.in: New file.
25999 * sysdeps/x86_64/preconfigure: New generated file.
26001 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26004 * math/e_exp2l.c: Include <float.h>.
26005 (__ieee754_exp2l): Handle overflow and underflow cases
26006 separately. Only pass fractional part of argument to
26008 * math/libm-test.inc (exp2_test): Add more tests.
26010 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26011 negating x to take absolute value.
26012 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26014 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26015 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26017 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26018 computing low part if x was negated.
26019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26021 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26023 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26024 la_x32_gnu_pltexit.
26025 (pltexit): Cast int_retval to ptrdiff_t.
26026 * elf/tst-auditmod3b.c: Likewise.
26027 * elf/tst-auditmod4b.c: Likewise.
26028 * elf/tst-auditmod5b.c: Likewise.
26029 * elf/tst-auditmod6b.c: Likewise.
26030 * elf/tst-auditmod6c.c: Likewise.
26031 * elf/tst-auditmod7b.c: Likewise.
26033 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26034 and x32_gnu_pltexit.
26036 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26037 __ELF_NATIVE_CLASS.
26038 (La_x32_regs): New macro.
26039 (La_x32_retval): Likewise.
26040 (la_x32_gnu_pltenter): New function prototype.
26041 (la_x32_gnu_pltexit): Likewise.
26043 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26050 * configure.in (libc_cv_cc_nofma): Check for option to disable
26051 generation of FMA instructions.
26052 * configure: Regenerate.
26053 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26054 * sysdeps/ieee754/dbl-64/Makefile: New file.
26055 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26056 Remove brandred-fma4.
26057 (CFLAGS-brandred-fma4.c): Remove.
26058 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26059 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26061 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26064 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26066 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26067 LLONG_MAX != LONG_MAX.
26068 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26069 (_fitoa_word): Likewise.
26070 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26071 LLONG_MAX != LONG_MAX.
26072 * stdio-common/_itowa.h: Include <_itoa.h>.
26073 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26074 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26075 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26076 only if not defined.
26077 (_ITOA_WORD_TYPE): Likewise.
26078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26079 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26081 2012-03-21 David S. Miller <davem@davemloft.net>
26083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26085 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26087 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26088 of x86_64 when setting libc_cv_slibdir, libdir and
26090 * sysdeps/unix/sysv/linux/configure: Regenerated.
26092 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26094 * manual/lang.texi (Old Varargs): Remove section.
26095 (How Variadic): Update menu.
26096 (va_start): Do not mention varargs.h.
26098 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26099 Joseph Myers <joseph@codesourcery.com>
26101 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26103 * configure: Regenerated.
26105 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26107 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26108 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26111 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26114 * Makefile (files-for-dist): Remove NOTES.
26115 (NOTES): Remove rule.
26116 * README: Don't refer to NOTES.
26117 * manual/creature.texi: Don't include macros.texi.
26118 * manual/intro.texi (creature.texi): Remove comment referring to
26121 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26122 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26123 * configure: Regenerated.
26124 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26125 LIBC_TRY_CC_OPTION.
26126 (libc_cv_as_i686): Likewise.
26127 (libc_cv_cc_avx): Likewise.
26128 (libc_cv_cc_sse2avx): Likewise.
26129 (libc_cv_cc_fma4): Likewise.
26130 (libc_cv_cc_novzeroupper): Likewise.
26131 * sysdeps/i386/configure: Regenerated.
26134 * sysdeps/i386/fpu/s_cexp.S: Remove.
26135 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26136 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26137 * math/libm-test.inc (cexp_test): Add more tests.
26138 * sysdeps/i386/fpu/libm-test-ulps: Update.
26139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26141 2012-03-21 Allan McRae <allan@archlinux.org>
26143 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26145 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26148 * math/w_exp2.c: Do not include <float.h>.
26149 (o_threshold, u_threshold): Remove.
26150 (__exp2): Calculate result before checking finiteness and calling
26152 * math/w_exp2f.c: Likewise.
26153 * math/w_exp2l.c: Likewise.
26154 * math/libm-test.inc (exp2_test): Require overflow exception for
26158 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26159 range of signed 64-bit integers before using fistpll. Remove
26160 checks for whether integers fit in mantissa bits.
26161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26162 the range of signed 32-bit integers before using fistpl. Remove
26163 checks for whether integers fit in mantissa bits.
26164 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26165 (__ieee754_powl): Test for y outside the range of signed 64-bit
26166 integers before using fistpll. Reduce 64-bit values to 63-bit
26168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26169 divide-by-zero is raised for zero to large negative powers.
26170 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26171 (__ieee754_powl): Test for y outside the range of signed 64-bit
26172 integers before using fistpll. Reduce 64-bit values to 63-bit
26174 * math/libm-test.inc (pow_test): Add more tests.
26176 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26178 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26179 <stdio-common/_itoa.h>.
26180 * debug/segfault.c: Likewise.
26181 * elf/dl-cache.c: Likewise.
26182 * elf/dl-minimal.c: Likewise.
26183 * elf/dl-misc.c: Likewise.
26184 * elf/dl-sysdep.c: Likewise.
26185 * elf/dl-version.c: Likewise.
26186 * elf/rtld.c: Likewise.
26187 * hurd/hurdsock.c: Likewise.
26188 * hurd/lookup-retry.c: Likewise.
26189 * malloc/malloc.c: Likewise.
26190 * malloc/mtrace.c: Likewise.
26191 * nscd/nscd_getgr_r.c: Likewise.
26192 * nscd/nscd_getpw_r.c: Likewise.
26193 * nscd/nscd_getserv_r.c: Likewise.
26194 * posix/getopt_init.c: Likewise.
26195 * posix/wordexp.c: Likewise.
26196 * stdio-common/_itoa.c: Likewise.
26197 * stdio-common/printf_fphex.c: Likewise.
26198 * stdio-common/vfprintf.c: Likewise.
26199 * string/_strerror.c: Likewise.
26200 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26201 * sysdeps/i386/i686/hp-timing.h: Likewise.
26202 * sysdeps/mach/_strerror.c: Likewise.
26203 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26204 * sysdeps/mach/hurd/sethostid.c: Likewise.
26205 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26206 * sysdeps/mach/xpg-strerror.c: Likewise.
26207 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26208 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26209 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26210 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26211 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26212 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26213 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26214 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26215 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26216 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26217 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26218 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26219 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26220 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26221 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26222 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26223 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26224 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26225 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26226 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26227 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26229 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26231 * stdio-common/_itoa.h: Moved to ...
26232 * sysdeps/generic/_itoa.h: Here.
26234 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26236 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26237 instead of "_itoa.h" and "_itowa.h".
26238 * stdio-common/vfprintf.: Likewise.
26240 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26242 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26244 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26245 (__signbit): Likwise.
26246 (llrintf): Likwise.
26249 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26251 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26254 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26256 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26257 OVERFLOW_EXCEPTION_OK.
26258 * math/libm-test.inc ("Philosophy"): Update comment about
26260 (OVERFLOW_EXCEPTION): Define.
26261 (OVERFLOW_EXCEPTION_OK): Likewise.
26262 (INVALID_EXCEPTION_OK): Renumber.
26263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26264 (IGNORE_ZERO_INF_SIGN): Likewise.
26265 (test_exceptions): Handle FE_OVERFLOW.
26266 (exp10_test): Expect overflow exceptions.
26267 (exp2_test): Likewise.
26268 (expm1_test): Likewise.
26269 (nextafter_test): Likewise.
26270 (pow_test): Likewise.
26271 (scalbn_test): Likewise.
26272 (scalbln_test): Likewise.
26274 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26276 * sysdeps/x86_64/bits/atomic.h
26277 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26279 (atomic_exchange_acq): Likewise.
26280 (__arch_exchange_and_add_body): Likewise.
26281 (__arch_add_body): Likewise.
26282 (atomic_add_negative): Likewise.
26283 (atomic_add_zero): Likewise.
26285 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26287 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26288 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26290 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26292 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26293 Check __x86_64__ instead of __WORDSIZE.
26295 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26297 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26299 2012-03-19 David S. Miller <davem@davemloft.net>
26301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26303 * sysdeps/sparc/fpu/fenv_private.h: New file.
26304 * sysdeps/sparc/fpu/math_private.h: Use it.
26305 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26307 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26308 (libc_feholdexcept_setroundl): Remove.
26309 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26311 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26312 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26316 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26317 int64_t instead of long int.
26318 (INSERT_WORDS64): Likwise.
26320 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26322 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26323 _Unwind_GetCFA return to _Unwind_Ptr first.
26325 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26328 * math/s_clog.c: Include <float.h>.
26329 (__clog): Scale large or subnormal inputs.
26330 * math/s_clogf.c: Likewise.
26331 * math/s_clogl.c: Likewise.
26332 * math/s_clog10.c: Include <float.h>.
26333 (M_LOG10_2): Define.
26334 (__clog10): Scale large or subnormal inputs.
26335 * math/s_clog10f.c: Likewise.
26336 * math/s_clog10l.c: Likewise.
26337 * math/libm-test.inc (clog_test): Add more tests.
26338 (clog10_test): Likewise.
26339 * sysdeps/i386/fpu/libm-test-ulps: Update.
26340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26343 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26345 * math/libm-test.inc (atan2_test): Add another test.
26347 * Makerules (common-objdir-compile): Remove.
26348 * sysdeps/unix/Makefile (config-generated): Do not add
26349 $(unix-generated) to variable.
26350 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26351 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26353 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26355 [generic bits/local_lim.h] (before-compile): Do not append to
26357 [generic bits/local_lim.h] (common-generated): Likewise.
26358 [generic sys/param.h] (before-compile): Do not append to variable.
26359 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26360 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26361 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26362 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26364 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26365 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26366 [generic sys/param.h] ($(addprefix
26367 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26368 [generic sys/param.h] (common-generated): Do not append to
26370 [generic sys/param.h] (sysdep_headers): Likewise.
26371 [generic bits/errno.h] (before-compile): Do not append to
26373 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26375 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26376 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26377 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26378 [generic bits/errno.h] (common-generated): Do not append to
26380 [generic bits/ioctls.h] (before-compile): Do not append to
26382 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26384 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26385 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26386 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26388 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26389 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26390 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26391 [generic bits/ioctls.h] (common-generated): Do not append to
26393 [generic sys/syscall.h] (syscall.h): Remove variable.
26394 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26396 [generic sys/syscall.h] (before-compile): Do not append to
26398 [generic sys/syscall.h] (common-generated): Likewise.
26399 * sysdeps/unix/errnos-tmpl.c: Remove file.
26400 * sysdeps/unix/errnos.awk: Likewise.
26401 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26402 * sysdeps/unix/ioctls.awk: Likewise.
26403 * sysdeps/unix/mk-local_lim.c: Likewise.
26404 * sysdeps/unix/snarf-ioctls: Likewise.
26406 2012-03-19 Richard Henderson <rth@twiddle.net>
26408 * sysdeps/i386/fpu/fenv_private.h: New file.
26409 * sysdeps/i386/fpu/math_private.h: Use it.
26410 (math_opt_barrier, math_force_eval): Remove.
26411 (libc_feholdexcept_setround_53bit): Remove.
26412 (libc_feupdateenv_53bit): Remove.
26413 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26414 (math_opt_barrier, math_force_eval): Remove.
26415 (libc_feholdexcept): Remove.
26416 (libc_feholdexcept_setround): Remove.
26417 (libc_fetestexcept, libc_fesetenv): Remove.
26418 (libc_feupdateenv_test): Remove.
26419 (libc_feupdateenv, libc_feholdsetround): Remove.
26420 (libc_feresetround): Remove.
26422 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26423 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26425 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26426 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26427 (libc_feupdateenv_testl): New.
26428 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26429 (libc_feupdateenv_testf): New.
26430 (libc_feupdateenv): Use libc_feupdateenv_test.
26431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26434 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26435 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26436 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26437 (libc_feresetround_noex): New.
26438 (libc_feresetround_noexf): New.
26439 (libc_feresetround_noexl): New.
26440 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26441 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26442 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26443 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26445 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26448 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26449 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26450 SET_RESTORE_ROUND_NOEX.
26451 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26452 SET_RESTORE_ROUND_NOEXF.
26453 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26454 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26455 (libc_feholdsetroundf): New.
26456 (libc_feresetround, libc_feresetroundf): New.
26458 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26459 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26460 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26462 * sysdeps/generic/math_private.h: Include <fenv.h>.
26463 (default_libc_feholdexcept): New.
26464 (default_libc_feholdexcept_setround): New.
26465 (default_libc_fesetenv, default_libc_feupdateenv): New.
26466 (libc_feholdexcept): Only define if undefined.
26467 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26468 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26469 (libc_feholdexcept_setroundl): Likewise.
26470 (libc_feholdexcept_setround_53bit): Likewise.
26471 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26472 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26473 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26474 (libc_feupdateenv_53bit): Likewise.
26475 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26476 (libc_feholdexcept): Convert from macro to inline function.
26477 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26478 (libc_fesetenv, libc_feupdateenv): Likewise.
26480 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26481 not previously defined.
26482 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26483 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26484 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26485 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26486 * sysdeps/ieee754/flt-32/math_private.h: New file.
26487 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26488 math_private.h below SET_FLOAT_WORD.
26489 (__isnan, __isinf_ns, __finite): Remove.
26490 (__isnanf, __isinf_nsf, __finitef): Remove.
26492 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26496 2012-03-17 David S. Miller <davem@davemloft.net>
26499 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26502 2012-03-16 David S. Miller <davem@davemloft.net>
26504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26510 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26511 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26512 sysdep_routines when subdir is sysvipc.
26513 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26514 __getshmlba helper.
26516 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26518 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26520 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26523 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26525 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26526 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26527 (__lround): Renamed to ...
26528 (__llround): This. Replace long int with long long int.
26529 Define lround functions as aliases of llround functions.
26530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26532 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26534 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26535 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26536 adresses to uintptr_t. Replace "long int" and "unsigned long
26537 int" with "greg_t" on va_arg.
26539 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26541 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26542 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26544 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26545 Move e_machine check before EI_CLASS check. Handle x32
26546 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26547 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26548 SKIP_EM_IA_64 and include
26549 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26551 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26552 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26553 (add_system_dir): New macro.
26555 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26556 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26558 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26569 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26571 * math/w_j0f.c (j0f): Likewise.
26573 * math/w_j0l.c (__j0l): Likewise.
26575 * math/w_j1.c (j1): Likewise.
26577 * math/w_j1f.c (j1f): Likewise.
26579 * math/w_j1l.c (__j1l): Likewise.
26581 * math/w_jn.c (jn): Likewise.
26583 * math/w_jnf.c (jnf): Likewise.
26585 * math/w_jnl.c (__jnl): Likewise.
26587 * math/libm-test.inc (j0_test): Add more tests.
26588 (j1_test): Likewise.
26589 (jn_test): Likewise. Add trailing semicolon to existing test.
26590 (y0_test): Likewise.
26591 (y1_test): Likewise.
26592 * sysdeps/i386/fpu/libm-test-ulps: Update.
26593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26598 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26599 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26601 (__tanl): Set errno for infinite argument.
26602 * sysdeps/i386/fpu/mptan.c: Remove.
26603 * sysdeps/i386/fpu/s_tan.S: Likewise.
26604 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26605 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26606 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26607 * math/libm-test.inc (tan_test): Add more tests and enable more
26608 tests for double and long double.
26609 * sysdeps/i386/fpu/libm-test-ulps: Update.
26610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26612 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26614 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26615 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26617 2012-03-16 Roland McGrath <roland@hack.frob.com>
26619 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26620 * configure.in: Use it for both main tree and add-ons.
26621 * configure: Regenerated.
26623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26625 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26627 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26629 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26633 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26634 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26639 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26641 != 0 for prec == 2.
26642 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26643 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26644 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26645 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26646 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26647 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26648 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26649 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26650 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26651 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26652 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26653 * math/libm-test.inc (cos_test): Add more tests and enable more
26654 tests for long double.
26655 (sin_test): Likewise.
26656 (sincos_test): Likewise.
26657 * sysdeps/i386/fpu/libm-test-ulps: Update.
26658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26660 2012-03-16 David S. Miller <davem@davemloft.net>
26662 * sysdeps/sparc/fpu/math_private.h: New file.
26664 2012-03-15 David S. Miller <davem@davemloft.net>
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26680 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26681 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26683 * sysdeps/sparc/sparc-ifunc.h: New file.
26684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26729 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26731 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26735 2012-03-15 Andreas Jaeger <aj@suse.de>
26738 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26739 ieee754/flt-32 implementation for sin, cos and sincos.
26740 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26741 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26742 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26743 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26744 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26745 ieee754/flt-32 implementation for tan.
26747 * math/libm-test.inc (cos_test): Enable some large input tests for
26749 (sin_test): Likewise.
26750 (sincos_test): Likewise.
26751 (tan_test): Add tests for large input.
26753 * sysdeps/i386/fpu/libm-test-ulps: Update.
26755 2012-03-15 Andreas Jaeger <aj@suse.de>
26758 * math/libm-test.inc (cos_test): Add more test cases.
26759 (sin_test): Likewise.
26760 (sincos_test): Likewise.
26762 2012-03-15 Andreas Jaeger <aj@suse.de>
26765 * math/libm-test.inc (cos_test): Add a test case for large input
26767 (sin_test): Likewise.
26768 (sincos_test): Likewise.
26770 2012-03-15 Andreas Jaeger <aj@suse.de>,
26771 Joseph Myers <joseph@codesourcery.com>
26774 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26775 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26776 * sysdeps/i386/fpu/branred.c: Likewise.
26777 * sysdeps/i386/fpu/dosincos.c: Likewise.
26778 * sysdeps/i386/fpu/mpa.c: Likewise.
26779 * sysdeps/i386/fpu/s_cos.S: Likewise.
26780 * sysdeps/i386/fpu/s_sin.S: Likewise.
26781 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26782 * sysdeps/i386/fpu/sincos32.c: Likewise.
26784 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26786 (libc_feupdateenv_53bit): Define.
26787 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26789 (libc_feupdateenv_53bit): Define.
26791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26792 53 bit (without extend i386 double precision).
26794 * math/libm-test.inc (sincos_test): Add tests for large input.
26798 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26800 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26804 2012-03-15 David S. Miller <davem@davemloft.net>
26806 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26807 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26808 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26809 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26834 fmin/fmax sysdep routines.
26835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26837 2012-03-14 David S. Miller <davem@davemloft.net>
26839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26911 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26916 * sysdeps/sparc/configure.in: New file.
26917 * sysdeps/sparc/configure: Generate.
26918 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26919 * configure: Regenerate.
26920 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26921 * config.make.in (have-as-vis3): New.
26922 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26923 available use -Av9d instead of -Av9a.
26924 * sysdeps/sparc/sparc64/Makefile: Likewise.
26925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26940 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26941 fzeros/fnegs to load 0x80000000 into a float register instead of
26943 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26945 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26949 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26950 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26951 ($(inst_includedir)/bits/syscall.h): Remove rule.
26952 ($(objpfx)bits/syscall.d): Include instead of
26953 $(objpfx)syscall-list.d.
26954 (generated): Change syscall-list.h and syscall-list.d to
26955 bits/syscall.h and bits/syscall.d.
26957 2012-03-14 Roland McGrath <roland@hack.frob.com>
26960 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26962 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26965 * math/s_csqrt.c: Include <float.h>.
26966 (__csqrt): Scale large or subnormal inputs.
26967 * math/s_csqrtf.c: Likewise.
26968 * math/s_csqrtl.c: Likewise.
26969 * math/libm-test.inc (csqrt_test): Add more tests.
26970 * sysdeps/i386/fpu/libm-test-ulps: Update.
26971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26974 * math/libm-test.inc (hypot_test): Add more tests.
26976 2012-03-13 David S. Miller <davem@davemloft.net>
26979 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26980 double-precision for the calculation instead of scaling.
26982 2012-03-13 Joseph Myers <joseph@codesourcery.com>
26984 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26985 manipulate bits before adding and subtracting TWO52[sx].
26986 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26987 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26989 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26991 2012-03-13 David S. Miller <davem@davemloft.net>
26993 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26994 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26996 rtld-global-offsets.h
26997 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26999 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27002 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27004 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27005 'err' in the ifdef scope in which it is actually used.
27007 * nss/nss_db/db-init.c: Include string.h
27009 2012-03-12 David S. Miller <davem@davemloft.net>
27011 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27012 masking out of the most significant byte of random value used.
27013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27014 Fix coding style in previous change.
27016 * sysdeps/unix/sysv/linux/kernel-features.h
27017 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27018 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27020 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27023 2012-03-11 David S. Miller <davem@davemloft.net>
27025 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27026 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27028 for 'resultvar' otherwise things get truncated on 64-bit.
27030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27031 Fix masking out of the most significant byte of random value used.
27033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27035 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27039 2012-03-09 David S. Miller <davem@davemloft.net>
27041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27042 variables with appropriate CPP guards.
27043 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27044 frame pointer, not the stack pointer. Correct layout comments. Fix test
27045 on resulting framesize and the management of the outregs buffer for pltexit.
27046 Preserve floating point return values across _dl_call_pltexit call.
27047 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27048 framesize and the management of the outregs buffer for pltexit.
27049 Preserve floating point return values across _dl_call_pltexit
27051 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27052 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27053 (print_exit): Fix format string for return register value.
27055 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27057 * sunrpc/Makefile (others): Add rpcgen.
27058 ($(objpfx)rpcgen): Remove special build rule and dependency on
27060 * sunrpc/rpcgen.c: New file.
27062 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27065 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27066 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27067 * sysdeps/i386/crti.S: Likewise.
27068 * sysdeps/i386/crtn.S: Likewise.
27069 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27070 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27071 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27072 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27073 * sysdeps/sh/crti.S: Likewise.
27074 * sysdeps/sh/crtn.S: Likewise.
27075 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27078 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27080 * locale/programs/locfile-kw.gperf: Likewise.
27081 * locale/programs/charmap-kw.h: Regenerated.
27082 * locale/programs/locfile-kw.h: Likewise.
27085 * intl/plural.y: Replace FSF snail mail address with URL.
27086 * intl/plural.c: Regenerated.
27088 2012-03-09 Richard Henderson <rth@twiddle.net>
27090 * include/math_private.h: Remove file.
27091 * math/math_private.h: Move file ...
27092 * sysdeps/generic/math_private.h: ... here.
27094 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27095 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27096 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27098 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27099 and <math_private.h>.
27100 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27101 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27102 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27103 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27104 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27111 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27179 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27188 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27189 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27190 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27191 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27193 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27194 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27195 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27196 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27197 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27198 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27199 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27200 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27201 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27202 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27203 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27204 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27205 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27206 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27207 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27208 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27209 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27210 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27211 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27212 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27214 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27216 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27217 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27218 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27219 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27220 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27221 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27223 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27224 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27225 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27227 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27228 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27229 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27230 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27231 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27232 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27233 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27234 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27235 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27236 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27237 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27238 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27239 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27240 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27241 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27242 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27243 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27244 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27245 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27246 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27247 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27248 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27249 * sysdeps/ieee754/k_standard.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27262 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27263 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27264 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27267 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27290 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27291 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27293 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27295 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27296 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27298 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27299 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27300 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27301 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27302 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27303 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27312 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27314 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27316 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27317 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27322 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27323 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27324 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27326 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27327 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27328 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27329 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27331 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27343 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27348 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27352 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27353 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27354 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27357 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27365 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27367 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27369 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27370 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27371 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27372 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27373 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27374 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27376 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27377 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27379 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27382 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27384 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27390 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27393 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27395 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27397 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27398 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27399 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27400 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27410 * sysdeps/ieee754/s_lib_version.c: Likewise.
27411 * sysdeps/ieee754/s_matherr.c: Likewise.
27412 * sysdeps/ieee754/s_signgam.c: Likewise.
27413 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27414 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27415 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27416 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27417 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27418 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27419 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27420 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27421 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27422 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27423 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27424 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27425 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27426 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27427 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27430 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27435 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27437 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27438 * sunrpc/rpc_main.c: Likewise.
27439 * sunrpc/rpc_svcout.c: Likewise.
27441 2012-03-09 David S. Miller <davem@davemloft.net>
27443 * include/math_private.h: New file.
27445 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27447 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27448 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27449 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27450 from <bits/socket_type.h>.
27451 (enum __socket_type): Don't define here.
27452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27454 bits/socket_type.h.
27457 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27458 checking __USE_GNU.
27460 * Makerules ($(inst_includedir)/%.h): New rule.
27461 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27462 (install-others): Remove variable setting.
27463 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27465 2012-03-08 Richard Henderson <rth@twiddle.net>
27467 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27468 from macro to inline function; merge with the
27469 !__LIBC_INTERNAL_MATH_INLINES version.
27470 (__ieee754_sqrtf): Likewise.
27472 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27473 to inline function.
27474 (__rintf, __floor, __floorf): Likewise.
27476 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27477 macro to inline function.
27478 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27480 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27481 not <math/math_private.h>.
27483 2012-03-08 David S. Miller <davem@davemloft.net>
27485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27487 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27489 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27491 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27493 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27494 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27496 2012-03-08 Ulrich Drepper <drepper@gmail.com>
27498 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27499 be defined individually, they must be defined as a block. Define
27500 S for printing a string instead of hidint the different by using a
27501 macro for adding the 'l'.
27502 * stdio-common/tst-fphex-wide.c: Adjust.
27504 2012-03-07 Marek Polacek <polacek@redhat.com>
27506 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27508 2012-03-08 Marek Polacek <polacek@redhat.com>
27511 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27512 * stdio-common/tst-fphex.c: Define a few macros to make the
27513 test reusable. Use them.
27514 * stdio-common/tst-fphex-wide.c: New file.
27516 2012-03-08 Joseph Myers <joseph@codesourcery.com>
27519 * manual/macros.texi (gnusystems): New macro.
27520 (nongnusystems): Likewise.
27521 (gnulinuxhurdsystems): Likewise.
27522 (gnuhurdsystems): Likewise..
27523 (gnulinuxsystems): Likewise.
27524 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27525 variants of the GNU system, not "GNU system".
27526 * manual/conf.texi: Likewise.
27527 * manual/errno.texi: Likewise. Update example of errno macro
27529 * manual/filesys.texi: Likewise.
27530 (getumask): Document as specific to GNU/Hurd.
27531 * manual/install.texi: Likewise. Reword some references to
27533 * manual/intro.texi: Likewise.
27534 * manual/io.texi: Likewise.
27535 (File Name Portability): Detail which constraints are inapplicable
27536 to all GNU systems and which are only inapplicable to GNU/Hurd.
27537 * manual/job.texi: Likewise.
27538 * manual/llio.texi: Likewise.
27539 (O_NOCTTY): Document as present on GNU/Linux.
27540 * manual/maint.texi: Likewise.
27541 * manual/memory.texi: Likewise.
27542 * manual/pattern.texi: Likewise.
27543 * manual/pipe.texi: Likewise.
27544 * manual/process.texi: Likewise.
27545 * manual/resource.texi: Likewise.
27546 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27548 * manual/setjmp.texi: Likewise.
27549 * manual/signal.texi: Likewise.
27550 * manual/startup.texi: Likewise.
27551 * manual/stdio.texi: Likewise.
27552 * manual/terminal.texi: Likewise.
27553 (ONLCR): Document as POSIX.
27554 (OXTABS): Document availability on GNU/Linux as XTABS.
27555 (ONOEOT): Document availability separately from other bits.
27556 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27557 * manual/time.texi: Likewise.
27558 * manual/users.texi: Likewise.
27559 * INSTALL: Regenerated.
27560 * sysdeps/gnu/errlist.c: Regenerated.
27562 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27563 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27564 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27566 * configure: Regenerated.
27568 2012-03-07 Joseph Myers <joseph@codesourcery.com>
27570 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27571 default includes instead of AC_HEADER_CHECK.
27572 * sysdeps/i386/configure: Regenerated.
27575 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27576 * math/s_cacoshf.c (__cacoshf): Likewise.
27577 * math/s_cacoshl.c (__cacoshl): Likewise.
27578 * math/s_casinh.c (__casinh): Set signs of result from argument.
27579 * math/s_casinhf.c (__casinhf): Likewise.
27580 * math/s_casinhl.c (__casinhl): Likewise.
27581 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27582 (casinh_test): Add more tests.
27583 * sysdeps/i386/fpu/libm-test-ulps: Update.
27584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27586 2012-03-07 Ulrich Drepper <drepper@gmail.com>
27588 * po/zh_TW.po: Update from translation team.
27590 * login/Makefile (distribute): Remove variable.
27591 * catgets/Makefile: Likewise.
27592 * mach/Makefile: Likewise.
27593 * malloc/Makefile: Likewise.
27594 * misc/Makefile: Likewise.
27595 * iconv/Makefile: Likewise.
27596 * nscd/Makefile: Likewise.
27597 * hurd/Makefile: Likewise.
27598 * manual/Makefile: Likewise.
27599 * locale/Makefile: Likewise.
27600 * intl/Makefile: Likewise.
27601 * conform/Makefile: Likewise.
27602 * nss/Makefile: Likewise.
27603 * time/Makefile: Likewise.
27604 * soft-fp/Makefile: Likewise.
27605 * dirent/Makefile: Likewise.
27606 * gmon/Makefile: Likewise.
27607 * po/Makefile: Likewise.
27608 * rt/Makefile: Likewise.
27609 * socket/Makefile: Likewise.
27610 * math/Makefile: Likewise.
27611 * signal/Makefile: Likewise.
27612 * debug/Makefile: Likewise.
27613 * elf/Makefile: Likewise.
27614 * timezone/Makefile: Likewise.
27615 * stdlib/Makefile: Likewise.
27616 * iconvdata/Makefile: Likewise.
27617 * sunrpc/Makefile: Likewise.
27618 * io/Makefile: Likewise.
27619 * argp/Makefile: Likewise.
27620 * inet/Makefile: Likewise.
27621 * hesiod/Makefile: Likewise.
27622 * grp/Makefile: Likewise.
27623 * csu/Makefile: Likewise.
27624 * wctype/Makefile: Likewise.
27625 * crypt/Makefile: Likewise.
27626 * libio/Makefile: Likewise.
27627 * string/Makefile: Likewise.
27628 * nis/Makefile: Likewise.
27629 * resolv/Makefile: Likewise.
27630 * stdio-common/Makefile: Likewise.
27631 * wcsmbs/Makefile: Likewise.
27632 * dlfcn/Makefile: Likewise.
27633 * posix/Makefile: Likewise.
27636 * timezone/Makefile: Don't install timezone files, just the programs
27639 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27641 * nss/databases.def: Add missing gshadow entry.
27643 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27645 2012-03-06 Marek Polacek <polacek@redhat.com>
27648 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27649 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27650 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27651 * stdio-common/tst-long-dbl-fphex.c: New file.
27653 2012-03-06 David S. Miller <davem@davemloft.net>
27655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27656 (set_obp_int): New function.
27657 (get_obp_int): New function.
27658 (__get_clockfreq_via_dev_openprom): Likewise.
27659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27660 Avoid unused variable warnings on 'val' and use builtin_expect.
27661 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27663 (INLINE_CLONE_SYSCALL): Likewise.
27665 2012-03-05 David S. Miller <davem@davemloft.net>
27667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27669 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27674 only for |x| >= 40.
27675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27677 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27680 Replace gettimeofday with __vdso_gettimeofday.
27682 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27683 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27684 __vdso_clock_gettime and __vdso_getcpu.
27686 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27687 time with __vdso_time.
27689 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27691 * manual/lang.texi (size_t): Note types to which size_t may be
27692 equivalent with the GNU C Library, but do not describe when
27693 differences between them are significant.
27695 2012-03-05 Andreas Jaeger <aj@suse.de>
27697 * sysdeps/i386/fpu/libm-test-ulps: Update.
27699 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27702 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27703 (__ieee754_pow): Save and restore rounding mode and use
27704 round-to-nearest for main computations.
27705 * math/libm-test.inc (pow_test_tonearest): New function.
27706 (pow_test_towardzero): Likewise.
27707 (pow_test_downward): Likewise.
27708 (pow_test_upward): Likewise.
27709 (main): Call the new functions.
27710 * sysdeps/i386/fpu/libm-test-ulps: Update.
27711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27714 * math/libm-test.inc (cosh_test_tonearest): New function.
27715 (cosh_test_towardzero): Likewise.
27716 (cosh_test_downward): Likewise.
27717 (cosh_test_upward): Likewise.
27718 (sinh_test_tonearest): Likewise.
27719 (sinh_test_towardzero): Likewise.
27720 (sinh_test_downward): Likewise.
27721 (sinh_test_upward): Likewise.
27722 (main): Call the new functions.
27723 * sysdeps/i386/fpu/libm-test-ulps: Update.
27724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27726 2012-03-05 Tom de Vries <tom@codesourcery.com>
27728 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27729 default stack guard is set in last bytes.
27730 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27732 2012-03-05 Kees Cook <keescook@chromium.org>
27734 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27737 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27738 possibly allocate from heap instead of stack.
27739 * stdio-common/bug-vfprintf-nargs.c: New file.
27740 * stdio-common/Makefile (tests): Add nargs overflow test.
27742 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27746 2012-03-03 Marek Polacek <polacek@redhat.com>
27748 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27749 * math/math_private.h: Likewise.
27750 * stdlib/tst-strtod.c: Likewise.
27751 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27752 * sysdeps/x86_64/bits/atomic.h: Likewise.
27754 2012-03-02 David S. Miller <davem@davemloft.net>
27756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27760 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27761 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27762 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27763 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27765 2012-03-02 Roland McGrath <roland@hack.frob.com>
27768 * manual/examples/README: New file, says the example source files
27769 can be used under GPL>=2.
27770 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27771 line containing just "*/".
27772 * manual/examples/add.c: Add copyright header (GPL>=2).
27773 * manual/examples/argp-ex1.c: Likewise.
27774 * manual/examples/argp-ex2.c: Likewise.
27775 * manual/examples/argp-ex3.c: Likewise.
27776 * manual/examples/argp-ex4.c: Likewise.
27777 * manual/examples/atexit.c: Likewise.
27778 * manual/examples/db.c: Likewise.
27779 * manual/examples/dir.c: Likewise.
27780 * manual/examples/dir2.c: Likewise.
27781 * manual/examples/execinfo.c: Likewise.
27782 * manual/examples/filecli.c: Likewise.
27783 * manual/examples/filesrv.c: Likewise.
27784 * manual/examples/fmtmsgexpl.c: Likewise.
27785 * manual/examples/genpass.c: Likewise.
27786 * manual/examples/inetcli.c: Likewise.
27787 * manual/examples/inetsrv.c: Likewise.
27788 * manual/examples/isockad.c: Likewise.
27789 * manual/examples/longopt.c: Likewise.
27790 * manual/examples/memopen.c: Likewise.
27791 * manual/examples/memstrm.c: Likewise.
27792 * manual/examples/mkfsock.c: Likewise.
27793 * manual/examples/mkisock.c: Likewise.
27794 * manual/examples/mygetpass.c: Likewise.
27795 * manual/examples/pipe.c: Likewise.
27796 * manual/examples/popen.c: Likewise.
27797 * manual/examples/rprintf.c: Likewise.
27798 * manual/examples/search.c: Likewise.
27799 * manual/examples/select.c: Likewise.
27800 * manual/examples/setjmp.c: Likewise.
27801 * manual/examples/sigh1.c: Likewise.
27802 * manual/examples/sigusr.c: Likewise.
27803 * manual/examples/stpcpy.c: Likewise.
27804 * manual/examples/strdupa.c: Likewise.
27805 * manual/examples/strftim.c: Likewise.
27806 * manual/examples/strncat.c: Likewise.
27807 * manual/examples/subopt.c: Likewise.
27808 * manual/examples/swapcontext.c: Likewise.
27809 * manual/examples/termios.c: Likewise.
27810 * manual/examples/testopt.c: Likewise.
27811 * manual/examples/testpass.c: Likewise.
27812 * manual/examples/timeval_subtract.c: Likewise.
27815 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27817 * manual/timeval_subtract.c.texi: ... here, new file.
27819 2012-03-02 David S. Miller <davem@davemloft.net>
27821 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27823 2012-03-02 Joseph Myers <joseph@codesourcery.com>
27826 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27827 (__sin): Save and restore rounding mode and use round-to-nearest
27828 for all computations.
27829 (__cos): Save and restore rounding mode and use round-to-nearest
27830 for all computations.
27831 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27833 (tan): Save and restore rounding mode and use round-to-nearest for
27835 * math/libm-test.inc (cos_test_tonearest): New function.
27836 (cos_test_towardzero): Likewise.
27837 (cos_test_downward): Likewise.
27838 (cos_test_upward): Likewise.
27839 (sin_test_tonearest): Likewise.
27840 (sin_test_towardzero): Likewise.
27841 (sin_test_downward): Likewise.
27842 (sin_test_upward): Likewise.
27843 (tan_test_tonearest): Likewise.
27844 (tan_test_towardzero): Likewise.
27845 (tan_test_downward): Likewise.
27846 (tan_test_upward): Likewise.
27847 (main): Call the new functions.
27848 * sysdeps/i386/fpu/libm-test-ulps: Update.
27849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27852 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27853 small n, then large n, before computing and testing k+n.
27854 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27859 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27860 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27861 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27862 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27863 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27864 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27867 * math/libm-test.inc (scalbn_test): Add more tests.
27868 (scalbln_test): Likewise.
27870 * manual/filesys.texi (mode_t): Describe constraints on size and
27871 signedness, not exact equivalence to a particular type.
27873 (ino64_t): Likewise.
27875 (nlink_t): Likewise.
27876 (blkcnt_t): Likewise.
27877 (blkcnt64_t): Likewise.
27878 * manual/llio.texi (off_t): Likewise.
27881 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27882 (__ieee754_exp): Save and restore rounding mode and use
27883 round-to-nearest for all computations.
27884 * math/libm-test.inc (exp_test_tonearest): New function.
27885 (exp_test_towardzero): Likewise.
27886 (exp_test_downward): Likewise.
27887 (exp_test_upward): Likewise.
27888 (main): Call the new functions.
27889 * sysdeps/i386/fpu/libm-test-ulps: Update.
27890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27892 2012-03-01 Chris Demetriou <cgd@google.com>
27894 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27895 have predictable order.
27897 2012-03-01 David S. Miller <davem@davemloft.net>
27899 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27901 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27902 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27903 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27904 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27906 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27907 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27908 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27910 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27911 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27912 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27913 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27914 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27919 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27922 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27923 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27924 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27925 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27926 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27929 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27931 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27932 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27935 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27936 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27938 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27939 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27940 * sysdeps/sparc/elf/configure: Regenerated.
27942 2012-03-01 Joseph Myers <joseph@codesourcery.com>
27944 * configure.in (AS, LD): Require binutils 2.20 or later.
27945 * configure: Regenerated.
27946 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27947 as required minimum version.
27948 * INSTALL: Regenerated.
27952 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27953 before squaring exponent.
27954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27955 bottom long double and 27 bits of top long double before squaring
27957 * math/libm-test.inc (erfc_test): Add more tests.
27958 * sysdeps/i386/fpu/libm-test-ulps: Update.
27959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27962 2012-03-01 Kai Tietz <ktietz@redhat.com>
27964 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27965 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27966 containing bit-fields.
27967 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27968 * soft-fp/single.h (_FP_UNION_S): Likewise.
27969 * soft-fp/double.h (_FP_UNION_D): Likewise.
27971 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27974 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27975 not include ../strcmp.S.
27976 [USE_AS_STRNCASECMP_L]: Likewise.
27977 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27978 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27979 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27980 (__strncasecmp_l_ia32): Define as alias to
27981 __strncasecmp_l_nonascii.
27984 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27985 * sysdeps/i386/fpu/libm-test-ulps: Update.
27986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27988 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27991 2012-02-29 Jeff Law <law@redhat.com>
27993 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27994 out of bounds read.
27996 2012-02-29 Marek Polacek <polacek@redhat.com>
27999 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28000 * elf/Makefile: Add rules to run tst-unused-dep.out.
28002 2012-02-28 David S. Miller <davem@davemloft.net>
28004 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28005 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28008 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28009 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28011 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28013 * math/libm-test.inc (llround_test): Move one test from
28014 lround_test. Use TEST_f_L in moved test.
28015 (lround_test): Move misplaced test to llround_test. Add testcase
28018 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28020 * sysdeps/x86_64/fpu/e_expf.S: New file.
28021 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28023 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28026 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28027 of remain_len that may cause incomplete multi-byte character and
28029 * posix/bug-regex33.c: New file.
28030 * posix/Makefile (tests): Add bug-regex33.
28032 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28034 * manual/macros.texi: New file.
28035 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28036 * manual/libc.texinfo: Include macros.texi.
28037 * manual/creatute.texi: Likewise.
28038 * manual/install.texi: Likewise.
28039 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28040 @glibcadj{} in references to the GNU C Library.
28041 * manual/charset.texi: Likewise.
28042 * manual/conf.texi: Likewise.
28043 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28044 when not using those macros.
28045 * manual/creature.texi: Likewise.
28046 * manual/crypt.texi: Likewise.
28047 * manual/errno.texi: Likewise.
28048 * manual/filesys.texi: Likewise.
28049 * manual/header.texi: Likewise.
28050 * manual/install.texi: Likewise.
28051 * manual/intro.texi: Likewise.
28052 * manual/io.texi: Likewise.
28053 * manual/job.texi: Likewise.
28054 * manual/lang.texi: Likewise.
28055 * manual/libc.texiinfo: Likewise.
28056 * manual/llio.texi: Likewise.
28057 * manual/locale.texi: Likewise.
28058 * manual/maint.texi: Likewise.
28059 * manual/math.texi: Likewise.
28060 * manual/memory.texi: Likewise.
28061 * manual/message.texi: Likewise.
28062 * manual/nss.texi: Likewise.
28063 * manual/pattern.texi: Likewise.
28064 * manual/process.texi: Likewise.
28065 * manual/resource.texi: Likewise.
28066 * manual/search.texi: Likewise.
28067 * manual/setjmp.texi: Likewise.
28068 * manual/signal.texi: Likewise.
28069 * manual/socket.texi: Likewise.
28070 * manual/startup.texi: Likewise.
28071 * manual/stdio.texi: Likewise.
28072 * manual/string.texi: Likewise.
28073 * manual/sysinfo.texi: Likewise.
28074 * manual/syslog.texi: Likewise.
28075 * manual/terminal.texi: Likewise.
28076 * manual/time.texi: Likewise.
28077 * manual/users.texi: Likewise.
28078 * INSTALL: Regenerated.
28079 * NOTES: Regenerated.
28080 * sysdeps/gnu/errlist.c: Regenerated.
28082 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28084 * include/dirent.h: Include <dirstream.h> before
28087 2012-02-28 David S. Miller <davem@davemloft.net>
28089 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28090 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28091 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28094 2012-02-27 David S. Miller <davem@davemloft.net>
28096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28098 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28099 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28102 frame pointer instead of stack pointer relative arg slot.
28103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28104 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28105 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28107 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28110 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28112 2012-02-27 David S. Miller <davem@davemloft.net>
28114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28120 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28121 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28123 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28125 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28126 later. Allow versions 5-9.
28127 * configure: Regenerated.
28128 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28129 required minimum version and 4.6 as recommended version. Do not
28130 mention bugs in GCC 2.7 and 2.8.
28131 * INSTALL: Regenerated.
28133 2012-02-27 David S. Miller <davem@davemloft.net>
28135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28139 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28140 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28141 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28142 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28145 manipulate bits before adding and subtracting TWO112[sx].
28146 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28148 2012-02-27 Roland McGrath <roland@hack.frob.com>
28151 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28152 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28153 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28154 being in POSIX, because they are in 1003.1-2008.
28156 * rt/tst-aio.c: Include <fcntl.h>.
28157 * rt/tst-aio7.c: Likewise.
28158 * rt/tst-aio64.c: Likewise.
28160 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28162 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28164 * manual/install.texi (--with-headers): Describe headers as
28165 interface headers, not private headers.
28166 (Specific advice for GNU/Linux systems): Describe use of headers
28167 from "make headers_install", not private headers from older
28169 * INSTALL: Regenerated.
28170 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28172 * sysdeps/unix/sysv/linux/configure: Regenerated.
28174 * manual/llio.texi (fclean): Remove documentation.
28176 * manual/Makefile (libc-texi-generated): New variable. Include
28178 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28179 $(libc-texi-generated), not duplicated list of files.
28180 (version.texi, stamp-version): New rules.
28181 (realclean): Remove $(libc-texi-generated), not individual files
28182 from that list. Do not remove dir-add.texinfo.
28183 * manual/libc.texinfo: Comment out uses of edition numbers and
28184 references to printed manual. Remove last-updated dates.
28185 (EDITION): Comment out.
28187 (VERSION, UPDATED): Remove.
28188 (version.texi): Include.
28190 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28192 * sysdeps/posix/spawni.c: Include <signal.h>.
28193 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28194 * sysdeps/pthread/aio_fsync.c: Likewise.
28196 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28198 * conform/Makefile (tests): Run only when not cross-compiling and
28199 when fast-check is not defined.
28201 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28202 * conform/data/limits.h-data: Fixes for POSIX2008.
28203 * conform/run-conformtest.sh: Run all tests.
28204 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28206 * include/bits/dlfcn.h: Likewise.
28207 * include/langinfo.h: Likewise.
28208 * include/monetary.h: Likewise.
28209 * include/sys/poll.h: Likewise.
28211 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28213 * posix/spawn.h: Define __need_sigset_t.
28214 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28215 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28216 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28217 to get sigevent_t only.
28218 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28219 only for __USE_GNU.
28220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28221 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28222 process_vm_writev only for __USE_GNU.
28223 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28225 * conform/Makefile: For now ignore errors from run-conformtest.
28226 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28227 POSIX to avoid namespace pollution. Don't prepend headers.
28228 * conform/data/aio.h-data: Fixes for POSIX testing.
28229 * conform/data/fcntl.h-data: Likewise.
28230 * conform/data/glob.h-data: Likewise.
28231 * conform/data/grp.h-data: Likewise.
28232 * conform/data/pthread.h-data: Likewise.
28233 * conform/data/pwd.h-data: Likewise.
28234 * conform/data/signal.h-data: Likewise.
28235 * conform/data/spawn.h-data: Likewise.
28236 * conform/data/stdio.h-data: Likewise.
28237 * conform/data/stdlib.h-data: Likewise.
28238 * conform/data/stropts.h-data: Likewise.
28239 * conform/data/sys/mman.h-data: Likewise.
28240 * conform/data/sys/stat.h-data: Likewise.
28241 * conform/data/sys/types.h-data: Likewise.
28242 * conform/data/sys/wait.h-data: Likewise.
28243 * conform/data/time.h-data: Likewise.
28244 * conform/data/unistd.h-data: Likewise.
28245 * conform/data/utime.h-data: Likewise.
28247 * io/sys/stat.h: fchmod was always in POSIX.
28248 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28249 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28250 * rt/aio.h: Define __need_timespec before including <time.h>.
28251 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28252 struct. Add forward declaration of pthread_attr_t and use it in
28254 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28256 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28257 always remove CLK_TCK definition.
28259 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28261 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28263 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28265 * conform/run-conformtest.sh: New file.
28266 * conform/Makefile: Run run-conformtest for tests.
28267 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28270 * conform/data/uchar.h-data: New file.
28271 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28272 * conform/data/arpa/inet.h-data: Likewise.
28273 * conform/data/assert.h-data: Likewise.
28274 * conform/data/complex.h-data: Likewise.
28275 * conform/data/cpio.h-data: Likewise.
28276 * conform/data/ctype.h-data: Likewise.
28277 * conform/data/dirent.h-data: Likewise.
28278 * conform/data/dlfcn.h-data: Likewise.
28279 * conform/data/errno.h-data: Likewise.
28280 * conform/data/fcntl.h-data: Likewise.
28281 * conform/data/float.h-data: Likewise.
28282 * conform/data/fmtmsg.h-data: Likewise.
28283 * conform/data/fnmatch.h-data: Likewise.
28284 * conform/data/ftw.h-data: Likewise.
28285 * conform/data/glob.h-data: Likewise.
28286 * conform/data/grp.h-data: Likewise.
28287 * conform/data/iconv.h-data: Likewise.
28288 * conform/data/inttypes.h-data: Likewise.
28289 * conform/data/langinfo.h-data: Likewise.
28290 * conform/data/libgen.h-data: Likewise.
28291 * conform/data/limits.h-data: Likewise.
28292 * conform/data/locale.h-data: Likewise.
28293 * conform/data/math.h-data: Likewise.
28294 * conform/data/monetary.h-data: Likewise.
28295 * conform/data/mqueue.h-data: Likewise.
28296 * conform/data/ndbm.h-data: Likewise.
28297 * conform/data/net/if.h-data: Likewise.
28298 * conform/data/netdb.h-data: Likewise.
28299 * conform/data/netinet/in.h-data: Likewise.
28300 * conform/data/nl_types.h-data: Likewise.
28301 * conform/data/poll.h-data: Likewise.
28302 * conform/data/pthread.h-data: Likewise.
28303 * conform/data/pwd.h-data: Likewise.
28304 * conform/data/regex.h-data: Likewise.
28305 * conform/data/sched.h-data: Likewise.
28306 * conform/data/search.h-data: Likewise.
28307 * conform/data/semaphore.h-data: Likewise.
28308 * conform/data/setjmp.h-data: Likewise.
28309 * conform/data/signal.h-data: Likewise.
28310 * conform/data/spawn.h-data: Likewise.
28311 * conform/data/stdarg.h-data: Likewise.
28312 * conform/data/stdio.h-data: Likewise.
28313 * conform/data/stdlib.h-data: Likewise.
28314 * conform/data/string.h-data: Likewise.
28315 * conform/data/strings.h-data: Likewise.
28316 * conform/data/stropts.h-data: Likewise.
28317 * conform/data/sys/ipc.h-data: Likewise.
28318 * conform/data/sys/mman.h-data: Likewise.
28319 * conform/data/sys/msg.h-data: Likewise.
28320 * conform/data/sys/resource.h-data: Likewise.
28321 * conform/data/sys/select.h-data: Likewise.
28322 * conform/data/sys/sem.h-data: Likewise.
28323 * conform/data/sys/shm.h-data: Likewise.
28324 * conform/data/sys/socket.h-data: Likewise.
28325 * conform/data/sys/stat.h-data: Likewise.
28326 * conform/data/sys/statvfs.h-data: Likewise.
28327 * conform/data/sys/time.h-data: Likewise.
28328 * conform/data/sys/timeb.h-data: Likewise.
28329 * conform/data/sys/times.h-data: Likewise.
28330 * conform/data/sys/types.h-data: Likewise.
28331 * conform/data/sys/uio.h-data: Likewise.
28332 * conform/data/sys/un.h-data: Likewise.
28333 * conform/data/sys/utsname.h-data: Likewise.
28334 * conform/data/sys/wait.h-data: Likewise.
28335 * conform/data/syslog.h-data: Likewise.
28336 * conform/data/tar.h-data: Likewise.
28337 * conform/data/termios.h-data: Likewise.
28338 * conform/data/utime.h-data: Likewise.
28339 * conform/data/utmpx.h-data: Likewise.
28340 * conform/data/varargs.h-data: Likewise.
28341 * conform/data/wchar.h-data: Likewise.
28342 * conform/data/wctype.h-data: Likewise.
28343 * conform/data/wordexp.h-data: Likewise.
28345 * include/stropts.h: New file.
28346 * include/uchar.h: New file.
28347 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28348 * include/assert.h: Likewise.
28349 * include/ctype.h: Likewise.
28350 * include/dirent.h: Likewise.
28351 * include/dlfcn.h: Likewise.
28352 * include/fcntl.h: Likewise.
28353 * include/fnmatch.h: Likewise.
28354 * include/glob.h: Likewise.
28355 * include/grp.h: Likewise.
28356 * include/libio.h: Likewise.
28357 * include/locale.h: Likewise.
28358 * include/math.h: Likewise.
28359 * include/net/if.h: Likewise.
28360 * include/netdb.h: Likewise.
28361 * include/netinet/in.h: Likewise.
28362 * include/pthread.h: Likewise.
28363 * include/pwd.h: Likewise.
28364 * include/regex.h: Likewise.
28365 * include/sched.h: Likewise.
28366 * include/search.h: Likewise.
28367 * include/setjmp.h: Likewise.
28368 * include/signal.h: Likewise.
28369 * include/stdio.h: Likewise.
28370 * include/stdlib.h: Likewise.
28371 * include/string.h: Likewise.
28372 * include/sys/cdefs.h: Likewise.
28373 * include/sys/mman.h: Likewise.
28374 * include/sys/msg.h: Likewise.
28375 * include/sys/resource.h: Likewise.
28376 * include/sys/select.h: Likewise.
28377 * include/sys/socket.h: Likewise.
28378 * include/sys/stat.h: Likewise.
28379 * include/sys/statvfs.h: Likewise.
28380 * include/sys/time.h: Likewise.
28381 * include/sys/times.h: Likewise.
28382 * include/sys/uio.h: Likewise.
28383 * include/sys/utsname.h: Likewise.
28384 * include/sys/wait.h: Likewise.
28385 * include/termios.h: Likewise.
28386 * include/time.h: Likewise.
28387 * include/ulimit.h: Likewise.
28388 * include/unistd.h: Likewise.
28389 * include/utime.h: Likewise.
28390 * include/wchar.h: Likewise.
28391 * include/wctype.h: Likewise.
28392 * include/wordexp.h: Likewise.
28394 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28396 * time/time.h: TIME_UTC must be a macro.
28397 Make timespec_get available for ISO C11 only as well.
28399 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28401 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28402 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28404 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28406 * configure.in: Use -o not -a in test for unsupported multi-arch.
28408 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28410 * manual/texinfo.tex: Update to version 2012-01-19.16.
28412 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28414 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28416 2012-02-24 Roland McGrath <roland@hack.frob.com>
28419 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28420 * manual/fdl-1.3.texi: New file.
28421 * manual/fdl-1.1.texi: File removed.
28424 * manual/libc.texinfo (FDL_VERSION): New @set.
28425 Use it for mention of FDL in cover text.
28426 (Documentation License): Use it in @include file name.
28428 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28429 Roland McGrath <roland@hack.frob.com>
28432 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28433 not LONG_LONG_MAX and LONG_LONG_MIN.
28434 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28435 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28437 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28439 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28443 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28444 manipulate bits before adding and subtracting TWO23[sx].
28445 * math/libm-test.inc (nearbyint_test): Add more tests.
28447 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28450 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28451 bits before adding and subtracting TWO23[sx].
28452 * math/libm-test.inc (rint_test): Add more tests.
28453 (rint_test_tonearest): Likewise.
28454 (rint_test_towardzero): Likewise.
28455 (rint_test_downward): Likewise.
28456 (rint_test_upward: Likewise.
28458 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28461 * include/stdc-predef.h: New file. Extracted from features.h.
28462 * include/features.h: Include stdc-predef.h.
28463 * Makefile (headers): Add stdc-predef.h.
28464 * CONFORMANCE (Compiler limitations): Update.
28466 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28468 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28470 2012-02-21 David S. Miller <davem@davemloft.net>
28472 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28473 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28475 2012-02-20 David S. Miller <davem@davemloft.net>
28477 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28478 using a normal save/restore sequence, rather than allocating a
28479 dummy stack frame just to store a frame pointer and restore.
28480 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28482 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28484 * manual/install.texi: Fix stray word in line-wrapped comment.
28486 2012-02-20 David S. Miller <davem@davemloft.net>
28488 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28489 both binutils and gcc support GOTDATA.
28491 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28492 "rd %pc" in the PIC register setup sequences.
28494 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28495 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28496 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28497 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28498 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28503 (SYSCALL_ERROR_HANDLER): Likewise.
28504 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28505 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28507 (SYSCALL_ERROR_HANDLER): Likewise.
28509 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28510 (HAVE_GCC_GOTDATA): New.
28511 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28512 relocation support in both binutils and gcc.
28513 * sysdeps/sparc/elf/configure: Regenerate.
28515 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28516 * sysdeps/sparc/sparc32/elf/configure: Delete.
28517 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28518 * sysdeps/sparc/sparc64/elf/configure: Delete.
28519 * sysdeps/sparc/elf/configure.in: New file.
28520 * sysdeps/sparc/elf/configure: Generate.
28522 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28523 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28525 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28526 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28528 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28530 * manual/install.texi: Do not mention specific glibc version
28532 * manual/libc.texinfo (VERSION, UPDATED): Update.
28533 (@copying): Use @copyright{} and range of years.
28535 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28538 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28539 [crti.S not in sysdirs] (generated): Do not append.
28540 [crti.S not in sysdirs] (omit-deps): Likewise.
28541 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28542 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28543 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28544 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28545 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28547 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28548 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28549 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28550 * csu/defs.awk: Remove file.
28551 * sysdeps/generic/initfini.c: Likewise.
28552 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28554 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28557 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28559 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28560 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28561 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28562 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28564 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28566 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28567 (__EPOLL_PACKED): Define to empty if not defined by
28569 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28573 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28575 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28576 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28577 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28578 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28580 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28584 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28586 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28589 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28590 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28593 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28598 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28600 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28601 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28603 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28605 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28608 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28610 * math/w_acos.c: Use non-signaling floating-point comparisons.
28611 * math/w_acosf.c: Likewise.
28612 * math/w_acosh.c: Likewise.
28613 * math/w_acoshf.c: Likewise.
28614 * math/w_acoshl.c: Likewise.
28615 * math/w_acosl.c: Likewise.
28616 * math/w_asin.c: Likewise.
28617 * math/w_asinf.c: Likewise.
28618 * math/w_asinl.c: Likewise.
28619 * math/w_atanh.c: Likewise.
28620 * math/w_atanhf.c: Likewise.
28621 * math/w_atanhl.c: Likewise.
28622 * math/w_exp2.c: Likewise.
28623 * math/w_exp2f.c: Likewise.
28624 * math/w_exp2l.c: Likewise.
28625 * math/w_j0.c: Likewise.
28626 * math/w_j0f.c: Likewise.
28627 * math/w_j0l.c: Likewise.
28628 * math/w_j1.c: Likewise.
28629 * math/w_j1f.c: Likewise.
28630 * math/w_j1l.c: Likewise.
28631 * math/w_jn.c: Likewise.
28632 * math/w_jnf.c: Likewise.
28633 * math/w_log.c: Likewise.
28634 * math/w_log10.c: Likewise.
28635 * math/w_log10f.c: Likewise.
28636 * math/w_log10l.c: Likewise.
28637 * math/w_log2.c: Likewise.
28638 * math/w_log2f.c: Likewise.
28639 * math/w_log2l.c: Likewise.
28640 * math/w_logf.c: Likewise.
28641 * math/w_logl.c: Likewise.
28642 * math/w_sqrt.c: Likewise.
28643 * math/w_sqrtf.c: Likewise.
28644 * math/w_sqrtl.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28648 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28649 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28651 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28654 * manual/string.texi (strnlen): Use correct parameter name in
28655 equivalent expression.
28657 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28660 * manual/users.texi (seteuid): Consistently use neweuid for
28663 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28666 * manual/nss.texi (Services in the NSS configuration): Correct
28667 list of services in example configuration file.
28669 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28672 * manual/arith.texi: Remove statements about negative zero
28673 behaving identically to zero.
28675 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28678 * manual/install.texi: Do not document upgrading from libc5.
28680 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28683 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28685 2012-02-18 David S. Miller <davem@davemloft.net>
28687 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28688 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28689 %o7 across the call.
28690 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28693 SETUP_PIC_REG_LEAF.
28694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28695 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28696 * sysdeps/sparc/crtn.S: Likewise.
28698 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28700 * aout/Makefile: Remove.
28702 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28705 * manual/examples/argp-ex1.c (main): Format definition in GNU
28707 * manual/examples/argp-ex2.c (main): Likewise.
28708 * manual/examples/argp-ex3.c (main): Likewise.
28709 * manual/examples/argp-ex4.c (main): Likewise.
28710 * manual/examples/longopt.c (main): Use new-style prototype
28712 * manual/examples/strncat.c (main): Specify return type and use
28713 (void) for arguments.
28714 * manual/examples/subopt.c (main): Use char **argv argument.
28716 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28719 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28722 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28725 * manual/string.texi (strchr): Change when strchrnul is
28728 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28731 * manual/locale.texi (setlocale): Document LOCPATH.
28733 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28736 * manual/process.texi (execle): Move @dots{} before last argument.
28738 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28741 * manual/charset.texi (Generic Charset Conversion): Fix typo
28742 (LC_TYPE -> LC_CTYPE).
28744 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28747 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28748 (scalbnf): Likewise.
28749 (scalbnl): Likewise.
28750 (scalbln): Likewise.
28751 (scalblnf): Likewise.
28752 (scalblnl): Likewise.
28753 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28754 (vwarnx): Likewise.
28757 * manual/filesys.texi (telldir): Use braces around return type.
28758 * manual/llio.texi (mmap): Add space after comma.
28759 (mmap64): Likewise.
28760 * manual/math.texi (jn): Use @var{} on parameter names.
28766 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28768 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28770 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28771 (sched_get_priority_max): Likewise.
28772 * manual/signal.texi (sigvec): Add space after comma.
28773 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28775 (if_indextoname): Likewise.
28776 (if_freenameindex): Likewise.
28777 (sendto): Use ',' instead of '.' in prototype.
28778 * manual/startup.texi (syscall): Use @dots{} instead of literal
28780 * manual/stdio.texi (__fpending): Separate initial words of
28781 paragraph from @deftypefun line.
28782 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28784 (vsyslog): Use @var{} on parameter names.
28785 * manual/terminal.texi (stty): Use @var{} on parameter names.
28786 * manual/users.texi (getutmp): Use @var{} on parameter names.
28787 (getutmpx): Likewise.
28789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28792 * manual/stdio.texi (fopen): Fix typos in description of
28795 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28798 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28799 get clock_id definition.
28801 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
28804 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28805 (madvise): Cast every argument to void on its own.
28807 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28810 * manual/startup.texi (Exit Status): Fix typo.
28812 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28815 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28816 * manual/examples/argp-ex2.c: Likewise.
28817 * manual/examples/argp-ex3.c: Likewise.
28819 2012-02-16 Richard Henderson <rth@redhat.com>
28821 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28822 * sysdeps/s390/s390-32/initfini.c: Remove.
28823 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28824 * sysdeps/s390/s390-64/initfini.c: Remove.
28826 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28828 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28829 compiler output for sysdeps/generic/initfini.c.
28830 * sysdeps/sh/elf/initfini.c: Remove file.
28832 2012-02-16 David S. Miller <davem@davemloft.net>
28835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28837 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28838 * sysdeps/sparc/crti.S: New file.
28839 * sysdeps/sparc/crtn.S: New file.
28840 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28841 * sysdeps/sparc/sparc64/Makefile: Likewise.
28843 2012-02-15 Mike Frysinger <vapier@gentoo.org>
28846 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28848 2012-02-15 Roland McGrath <roland@hack.frob.com>
28851 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28853 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28854 (write, read, close): Likewise.
28855 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28857 2012-02-15 Joseph Myers <joseph@codesourcery.com>
28859 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28860 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28861 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28862 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28864 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28868 2012-02-14 Marek Polacek <polacek@redhat.com>
28870 * sysdeps/x86_64/crti.S: New file.
28871 * sysdeps/x86_64/crtn.S: New file.
28872 * sysdeps/x86_64/elf/initfini.c: Remove file.
28874 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28876 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28877 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28878 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28879 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28881 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28885 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28887 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28888 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28889 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28890 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28892 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28896 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28898 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28899 __feraiseexcept instead of feraiseexcept.
28901 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28902 nanosleep invocations.
28903 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28904 strings, and add error checking for a nanosleep invocations.
28906 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28908 Replace FSF snail mail address with URLs, as per GNU coding standards.
28909 Most of the snail mail addresses were wrong anyway, and omitting
28910 them makes the source code easier to maintain. Almost all of the
28911 changes are to license notices and to locale LC_IDENTIFICATION
28912 addresses, except for this one:
28913 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28914 not its snail mail address.
28916 2012-02-09 Richard Henderson <rth@twiddle.net>
28918 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28919 of kernel-features.h.
28921 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28923 2012-02-08 Marek Polacek <polacek@redhat.com>
28925 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28926 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28927 * sysdeps/gnu/_G_config.h: Likewise.
28928 * sysdeps/generic/_G_config.h: Likewise.
28930 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28932 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28936 * sysdeps/powerpc/powerpc32/crti.S: New file.
28937 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28938 * sysdeps/powerpc/powerpc64/crti.S: New file.
28939 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28941 * Makeconfig (have-initfini): Don't set.
28942 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28943 * configure.in (nopic_initfini): Don't substitute.
28944 * config.h.in (HAVE_INITFINI): Don't #undef.
28945 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28946 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28948 2012-02-08 Joseph Myers <joseph@codesourcery.com>
28950 Support crti.S and crtn.S provided directly by architectures.
28951 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28952 [crti.S in sysdirs] (omit-deps): Likewise.
28953 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28954 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28955 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28956 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28957 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28958 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28959 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28960 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28961 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28962 compiler output for sysdeps/generic/initfini.c.
28963 * sysdeps/i386/elf/Makefile: Remove file.
28964 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28966 2012-02-07 Marek Polacek <polacek@redhat.com>
28968 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28969 * sysdeps/gnu/_G_config.h: Likewise.
28970 * sysdeps/mach/hurd/_G_config.h: Likewise.
28972 2012-02-07 Marek Polacek <polacek@redhat.com>
28974 * math/Makefile (tests): Add tst-CMPLX2.
28975 * math/tst-CMPLX2.c: New file.
28977 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28979 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28981 * math/libm-test.inc (jn_test): Add missing L suffix.
28983 2012-02-06 Marek Polacek <polacek@redhat.com>
28985 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28986 * sysdeps/i386/fpu/e_powf.S: Likewise.
28987 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28988 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28989 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28990 * sysdeps/i386/fpu/e_pow.S: Likewise.
28991 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28992 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28993 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28994 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28995 * sysdeps/i386/fpu/e_log2.S: Likewise.
28996 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28997 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28998 * sysdeps/i386/fpu/e_powl.S: Likewise.
28999 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29001 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29002 * sysdeps/i386/fpu/e_logl.S: Likewise.
29003 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29004 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29005 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29006 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29009 * sysdeps/i386/fpu/e_log.S: Likewise.
29010 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29011 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29012 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29013 * sysdeps/i386/fpu/e_logf.S: Likewise.
29014 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29015 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29016 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29017 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29018 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29019 * sysdeps/i386/fpu/e_log10.S: Likewise.
29020 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29021 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29022 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29023 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29024 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29025 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29026 * sysdeps/i386/asm-syntax.h: Likewise.
29027 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29030 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29031 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29033 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29034 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29035 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29036 * sysdeps/powerpc/sysdep.h: Likewise.
29037 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29038 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29040 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29043 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29045 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29047 * sysdeps/i386/sysdep.h: Include <features.h>.
29048 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29051 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29053 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29055 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29058 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29060 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29061 (SETUP_PIC_REG): Use GET_PC_THUNK.
29062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29065 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29067 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29068 for non-PIC compilation.
29069 (SETUP_PIC_REG): Add .p2align directive.
29070 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29071 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29072 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29073 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29076 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29078 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29079 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29080 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29081 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29082 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29084 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29085 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29086 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29087 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29088 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29089 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29092 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29093 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29096 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29097 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29098 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29099 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29100 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29105 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29106 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29107 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29108 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29109 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29110 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29112 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29114 * math/tst-CMPLX.c: Include <stdio.h>.
29116 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29118 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29121 * sysdeps/sparc/bits/mathdef.h: Likewise.
29123 2012-01-31 Marek Polacek <polacek@redhat.com>
29125 * libio/libio.h: Don't define _PARAMS.
29126 * locale/programs/config.h: Don't define PARAMS.
29127 * stdlib/strtol_l.c: Likewise.
29128 (__strtol_l): Remove PARAMS from the prototype.
29130 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29132 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29133 names. Just use the correct names. Remove unnecessary wrapper
29135 * malloc/arena.c: Likewise.
29136 * malloc/hooks.c: Likewise.
29138 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29139 ARENA_TEST says not to. Simplify test for creation of a new arena.
29140 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29142 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29144 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29146 (update_get_addr): New function.
29147 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29148 GET_ADDR_MODULE parameter.
29150 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29152 * crypt/cert.c: Remove __STDC__ conditionals.
29153 * crypt/crypt-entry.c: Likewise.
29154 * crypt/crypt_util.c: Likewise.
29155 * libio/filedoalloc.c: Likewise.
29156 * libio/fileops.c: Likewise.
29157 * libio/genops.c: Likewise.
29158 * libio/iofclose.c: Likewise.
29159 * libio/iofdopen.c: Likewise.
29160 * libio/iofopen.c: Likewise.
29161 * libio/iofopen64.c: Likewise.
29162 * libio/iogetdelim.c: Likewise.
29163 * libio/iopopen.c: Likewise.
29164 * libio/obprintf.c: Likewise.
29165 * libio/oldfileops.c: Likewise.
29166 * libio/oldiofclose.c: Likewise.
29167 * libio/oldiofdopen.c: Likewise.
29168 * libio/oldiofopen.c: Likewise.
29169 * libio/oldiopopen.c: Likewise.
29170 * libio/wfiledoalloc.c: Likewise.
29171 * libio/wgenops.c: Likewise.
29172 * locale/programs/xmalloc.c: Likewise.
29173 * misc/syslog.c: Likewise.
29174 * stdio-common/xbug.c: Likewise.
29175 * string/memchr.c: Likewise.
29176 * string/memcmp.c: Likewise.
29177 * string/memrchr.c: Likewise.
29178 * string/rawmemchr.c: Likewise.
29179 * sysdeps/posix/getcwd.c: Likewise.
29180 * time/strftime_l.c: Likewise.
29182 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29184 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29185 * config.make.in (config-cflags-sse2avx): Define.
29186 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29189 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29191 * scripts/config.guess: Update from upstream config git repository.
29192 * scripts/config.sub: Likewise.
29194 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29196 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29198 (R_TILEPRO_*, R_TILEGX_*): New macros.
29200 * scripts/firstversions.awk: Fix bug in version range handling.
29202 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29204 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29206 * include/sys/epoll.h: New file.
29207 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29210 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29212 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29213 Avoid unnecessary __WORDSIZE == 64 test.
29214 (fmaxf): Use VEX format if possible.
29219 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29220 * math/math_private.h: Remove libc_fegetround* and
29222 * sysdeps/i386/configure.in: Check for -msse2avx.
29223 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29224 also if SSE2AVX is defined.
29225 Remove libc_fegetround* and libc_fesetround*.
29226 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29227 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29236 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29238 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29240 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29244 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29247 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29249 * Makeconfig (libm): Define.
29250 * elf/Makefile: Add rules to build and run tst-relsort1.
29251 * elf/tst-relsort1.c: New file.
29252 * elf/tst-relsort1mod1.c: New file.
29253 * elf/tst-relsort1mod2.c: New file.
29255 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29257 * math/s_ldexp.c: Remove __STDC__ conditionals.
29258 * math/s_ldexpf.c: Likewise.
29259 * math/s_ldexpl.c: Likewise.
29260 * math/s_nextafter.c: Likewise.
29261 * math/s_nexttowardf.c: Likewise.
29262 * math/s_significand.c: Likewise.
29263 * math/s_significandf.c: Likewise.
29264 * math/s_significandl.c: Likewise.
29265 * math/w_jnl.c: Likewise.
29266 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29267 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29268 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29269 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29270 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29285 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29286 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29288 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29290 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29291 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29292 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29294 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29295 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29296 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29297 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29298 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29299 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29300 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29301 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29302 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29303 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29304 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29305 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29306 * sysdeps/ieee754/k_standard.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29363 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29368 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29373 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29376 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29380 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29386 * sysdeps/ieee754/s_matherr.c: Likewise.
29387 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29388 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29392 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29394 * crypt/md5.h: Remove __STDC__ conditionals.
29395 * libio/libioP.h: Likewise.
29396 * locale/programs/config.h: Likewise.
29397 * sysdeps/generic/sysdep.h: Likewise.
29398 * sysdeps/i386/asm-syntax.h: Likewise.
29399 * sysdeps/s390/asm-syntax.h: Likewise.
29400 * sysdeps/unix/sysdep.h: Likewise.
29401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29404 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29406 * libio/libio.h: Remove __STDC__ conditionals.
29407 * malloc/obstack.h: Likewise.
29408 * math/complex.h: Likewise.
29409 * math/math.h: Likewise.
29410 * sysdeps/generic/_G_config.h: Likewise.
29411 * sysdeps/gnu/_G_config.h: Likewise.
29412 * sysdeps/mach/hurd/_G_config.h: Likewise.
29413 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29415 * sysdeps/sparc/bits/mathdef.h: Likewise.
29417 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29420 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29421 Clean up HAS_* macros.
29422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29423 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29433 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29435 * elf/tst-unique3.cc (gets): Remove declaration.
29436 * elf/tst-unique3lib.cc (gets): Likewise.
29437 * elf/tst-unique3lib2.cc (gets): Likewise.
29438 * elf/tst-unique4.cc (gets): Likewise.
29440 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29442 * include/stdio.h: Add C++ protection. Add gets declarations and
29444 * debug/tst-chk1.c: Don't declare gets here.
29445 * stdio-common/tst-gets.c: Likewise.
29447 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29449 * posix/glob: Remove directory.
29451 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29453 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29455 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29457 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29458 of the non-standard EPFNOSUPPORT.
29460 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29462 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29463 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29464 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29466 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29468 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29470 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29472 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29474 * nscd/grpcache.c (cache_addgr): Likewise.
29475 * nscd/hstcache.c (cache_addhst): Likewise.
29476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29477 * nscd/pwdcache.c (cache_addpw): Likewise.
29478 * nscd/servicescache.c (cache_addserv): Likewise.
29480 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29482 * malloc/malloc.c: Various cleanups.
29483 * malloc/hooks.c: Likewise.
29485 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29486 * stdlib/bug-fmtmsg1.c: New file.
29488 * stdlib/fmtmsg.c (init): Add missing unlock.
29489 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29491 2012-01-12 Marek Polacek <polacek@redhat.com>
29493 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29496 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29498 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29499 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29500 macro to ensure uniqueness of label name.
29501 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29502 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29504 2012-01-11 Ulrich Drepper <drepper@gmail.com>
29506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29508 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29509 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29513 2012-01-10 Ulrich Drepper <drepper@gmail.com>
29515 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29517 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29518 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29519 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29521 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29524 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29525 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29528 * math/bits/math-finite.h: Add ldexp support.
29530 2012-01-10 Marek Polacek <polacek@redhat.com>
29532 * locale/programs/localedef.h (show_archive_content): Add noreturn
29535 2012-01-09 Ulrich Drepper <drepper@gmail.com>
29537 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29539 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29541 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29543 * io/Makefile (headers): Add bits/poll2.h.
29545 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29548 typo #include statement.
29550 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29552 * include/sys/cdefs.h: Define __attribute_alloc_size.
29553 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29554 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29555 * elf/pldd.c: Likewise.
29556 * iconv/iconv_charmap.c: Likewise.
29557 * iconv/iconvconfig.c: Likewise.
29558 * iconv/strtab.c: Likewise.
29559 * locale/programs/locale.c: Likewise.
29560 * locale/programs/localedef.h: Likewise.
29561 * locale/programs/simple-hash.c: Likewise.
29562 * nscd/nscd.h: Likewise.
29563 * nss/makedb.c: Likewise.
29564 * sysdeps/generic/ldconfig.h: Likewise.
29565 * locale/programs/localedef.c: Remove xmalloc prototype.
29566 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29568 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29570 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29573 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29575 * math/Makefile (tests): Add tst-CMPLX.
29576 * math/tst-CMPLX.c: New file.
29578 * math/complex.h (CMPLXL): Fix typo.
29580 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29581 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29583 * debug/tst-chk1.c: Add poll and ppoll tests.
29584 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29585 * include/sys/poll.h: Add hidden proto for ppoll.
29586 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29587 * sysdeps/mach/hurd/ppoll.c: Likewise.
29588 * io/ppoll.c: Likewise.
29589 * debug/poll_chk.c: New file.
29590 * debug/ppoll_chk.c: New file.
29591 * include/bits/poll2.h: New file.
29592 * io/bits/poll2.h: New file.
29595 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29597 * configure.in: static is always set to yes. Remove.
29598 * config.make.in: Don't set build-static.
29599 * Makeconfig: Remove use of build-static.
29600 * dlfcn/Makefile: Likewise.
29601 * elf/Makefile: Likewise.
29602 * math/Makefile: Likewise.
29603 * misc/Makefile: Likewise.
29604 * nptl/Makefile: Likewise.
29605 * sysdeps/mach/hurd/Makefile: Likewise.
29607 * configure.in: PWD_P is not used anymore.
29608 * config.make.in: Remove PWD_P entry.
29610 * configure.in: Remove last remnants of RANLIB.
29611 No need to check for signed size_t anymore.
29612 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29614 Remove __builtin_expect test because we require at least gcc 3.4.
29615 * aclocal.m4: Likewise.
29617 * wcsmbs/mbrtoc16.c: Implement using towc function.
29618 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29619 * wcsmbs/wcsmbsload.c: Likewise.
29620 * iconv/gconv_simple.c: Likewise.
29621 * iconv/gconv_int.h: Likewise.
29622 * iconv/gconv_builtin.h: Likewise.
29623 * iconv/iconv_prog.c: Remove CHAR16 handling.
29625 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29627 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29629 * configure.in: Remove --with-elf and --enable-bounded options.
29630 Dont set base_machine for ia64. More non-ELF conditions removed.
29631 Remove testing and setting of leading underscore information.
29632 * config.make.in (build-bounded): Set to no.
29633 * config.h.in: Remove NO_UNDERSCORES entry.
29634 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29636 * csu/start.c: Remove !NO_UNDERSCORE code.
29637 * locale/localeinfo.h: Likewise.
29638 * sysdeps/generic/machine-gmon.h: Likewise.
29639 * sysdeps/generic/sysdep.h: Likewise.
29640 * sysdeps/i386/sysdep.h: Likewise.
29641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29642 * sysdeps/mach/sysdep.h: Likewise.
29643 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29645 * sysdeps/sh/sysdep.h: Likewise.
29646 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29647 * sysdeps/unix/i386/sysdep.S: Likewise.
29648 * sysdeps/unix/sparc/start.c: Likewise.
29649 * sysdeps/unix/sparc/sysdep.S: Likewise.
29650 * sysdeps/unix/sparc/sysdep.h: Likewise.
29651 * sysdeps/unix/start.c: Likewise.
29652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29653 * sysdeps/x86_64/sysdep.h: Likewise.
29655 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29658 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29660 * argp/argp-fmtstream.h: Use const instead __const.
29661 * argp/argp.h: Likewise.
29662 * assert/assert.h: Likewise.
29663 * bits/fenv.h: Likewise.
29664 * bits/sched.h: Likewise.
29665 * bits/sigset.h: Likewise.
29666 * bits/sigthread.h: Likewise.
29667 * catgets/nl_types.h: Likewise.
29668 * conform/data/pthread.h-data: Likewise.
29669 * crypt/crypt-private.h: Likewise.
29670 * crypt/crypt.h: Likewise.
29671 * crypt/crypt_util.c: Likewise.
29672 * ctype/ctype.h: Likewise.
29673 * debug/execinfo.h: Likewise.
29674 * debug/mbsnrtowcs_chk.c: Likewise.
29675 * debug/mbsrtowcs_chk.c: Likewise.
29676 * debug/wcsnrtombs_chk.c: Likewise.
29677 * debug/wcsrtombs_chk.c: Likewise.
29678 * debug/wcstombs_chk.c: Likewise.
29679 * dirent/dirent.h: Likewise.
29680 * dlfcn/dlfcn.h: Likewise.
29681 * elf/neededtest4.c: Likewise.
29682 * grp/grp.h: Likewise.
29683 * gshadow/gshadow.h: Likewise.
29684 * iconv/gconv.h: Likewise.
29685 * iconv/gconv_int.h: Likewise.
29686 * iconv/gconv_simple.c: Likewise.
29687 * iconv/iconv.h: Likewise.
29688 * iconv/loop.c: Likewise.
29689 * iconv/skeleton.c: Likewise.
29690 * include/aio.h: Likewise.
29691 * include/aliases.h: Likewise.
29692 * include/argz.h: Likewise.
29693 * include/arpa/inet.h: Likewise.
29694 * include/assert.h: Likewise.
29695 * include/dirent.h: Likewise.
29696 * include/dlfcn.h: Likewise.
29697 * include/execinfo.h: Likewise.
29698 * include/fcntl.h: Likewise.
29699 * include/fenv.h: Likewise.
29700 * include/glob.h: Likewise.
29701 * include/grp.h: Likewise.
29702 * include/libintl.h: Likewise.
29703 * include/mntent.h: Likewise.
29704 * include/netdb.h: Likewise.
29705 * include/pwd.h: Likewise.
29706 * include/rpc/netdb.h: Likewise.
29707 * include/sched.h: Likewise.
29708 * include/search.h: Likewise.
29709 * include/shadow.h: Likewise.
29710 * include/signal.h: Likewise.
29711 * include/stdio.h: Likewise.
29712 * include/stdlib.h: Likewise.
29713 * include/string.h: Likewise.
29714 * include/sys/socket.h: Likewise.
29715 * include/sys/stat.h: Likewise.
29716 * include/sys/statfs.h: Likewise.
29717 * include/sys/statvfs.h: Likewise.
29718 * include/sys/syslog.h: Likewise.
29719 * include/sys/time.h: Likewise.
29720 * include/sys/uio.h: Likewise.
29721 * include/time.h: Likewise.
29722 * include/unistd.h: Likewise.
29723 * include/utmp.h: Likewise.
29724 * include/wchar.h: Likewise.
29725 * include/wctype.h: Likewise.
29726 * inet/aliases.h: Likewise.
29727 * inet/arpa/inet.h: Likewise.
29728 * inet/netinet/ether.h: Likewise.
29729 * inet/netinet/in.h: Likewise.
29730 * intl/libintl.h: Likewise.
29731 * io/bits/fcntl2.h: Likewise.
29732 * io/fcntl.h: Likewise.
29733 * io/ftw.h: Likewise.
29734 * io/sys/poll.h: Likewise.
29735 * io/sys/stat.h: Likewise.
29736 * io/sys/statfs.h: Likewise.
29737 * io/sys/statvfs.h: Likewise.
29738 * io/utime.h: Likewise.
29739 * libio/bits/stdio.h: Likewise.
29740 * libio/bits/stdio2.h: Likewise.
29741 * libio/libio.h: Likewise.
29742 * libio/libioP.h: Likewise.
29743 * libio/stdio.h: Likewise.
29744 * locale/lc-ctype.c: Likewise.
29745 * locale/locale.h: Likewise.
29746 * login/utmp.h: Likewise.
29747 * malloc/arena.c: Likewise.
29748 * malloc/malloc.c: Likewise.
29749 * malloc/malloc.h: Likewise.
29750 * malloc/mcheck.c: Likewise.
29751 * malloc/mtrace.c: Likewise.
29752 * math/bits/mathcalls.h: Likewise.
29753 * math/fenv.h: Likewise.
29754 * math/math_private.h: Likewise.
29755 * misc/bits/error.h: Likewise.
29756 * misc/bits/syslog.h: Likewise.
29757 * misc/err.h: Likewise.
29758 * misc/error.h: Likewise.
29759 * misc/fstab.h: Likewise.
29760 * misc/mntent.h: Likewise.
29761 * misc/regexp.h: Likewise.
29762 * misc/search.h: Likewise.
29763 * misc/sgtty.h: Likewise.
29764 * misc/sys/mman.h: Likewise.
29765 * misc/sys/syslog.h: Likewise.
29766 * misc/sys/uio.h: Likewise.
29767 * misc/sys/xattr.h: Likewise.
29768 * misc/ttyent.h: Likewise.
29769 * nis/rpcsvc/ypclnt.h: Likewise.
29770 * nss/nss.h: Likewise.
29771 * posix/bits/unistd.h: Likewise.
29772 * posix/fnmatch.h: Likewise.
29773 * posix/glob.h: Likewise.
29774 * posix/sched.h: Likewise.
29775 * posix/spawn.h: Likewise.
29776 * posix/sys/wait.h: Likewise.
29777 * posix/unistd.h: Likewise.
29778 * posix/wordexp.h: Likewise.
29779 * pwd/pwd.h: Likewise.
29780 * resolv/netdb.h: Likewise.
29781 * resource/sys/resource.h: Likewise.
29782 * rt/aio.h: Likewise.
29783 * rt/bits/mqueue2.h: Likewise.
29784 * rt/mqueue.h: Likewise.
29785 * shadow/shadow.h: Likewise.
29786 * signal/signal.h: Likewise.
29787 * socket/send.c: Likewise.
29788 * socket/sendto.c: Likewise.
29789 * socket/sys/socket.h: Likewise.
29790 * stdio-common/printf.h: Likewise.
29791 * stdlib/bits/stdlib.h: Likewise.
29792 * stdlib/fmtmsg.h: Likewise.
29793 * stdlib/monetary.h: Likewise.
29794 * stdlib/stdlib.h: Likewise.
29795 * stdlib/ucontext.h: Likewise.
29796 * streams/stropts.h: Likewise.
29797 * string/argz.h: Likewise.
29798 * string/bits/string2.h: Likewise.
29799 * string/string.h: Likewise.
29800 * string/strings.h: Likewise.
29801 * sunrpc/rpc/auth.h: Likewise.
29802 * sunrpc/rpc/auth_des.h: Likewise.
29803 * sunrpc/rpc/clnt.h: Likewise.
29804 * sunrpc/rpc/netdb.h: Likewise.
29805 * sunrpc/rpc/pmap_clnt.h: Likewise.
29806 * sunrpc/rpc/xdr.h: Likewise.
29807 * sysdeps/generic/inttypes.h: Likewise.
29808 * sysdeps/generic/net/if.h: Likewise.
29809 * sysdeps/generic/sys/swap.h: Likewise.
29810 * sysdeps/gnu/net/if.h: Likewise.
29811 * sysdeps/gnu/utmpx.h: Likewise.
29812 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29813 * sysdeps/i386/i486/bits/string.h: Likewise.
29814 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29815 * sysdeps/s390/bits/string.h: Likewise.
29816 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29817 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29818 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29819 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29820 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29821 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29822 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29823 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29824 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29825 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29826 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29827 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29828 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29829 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29830 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29831 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29832 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29836 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29837 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29838 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29839 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29840 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29841 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29842 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29844 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29845 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29846 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29847 * sysvipc/sys/ipc.h: Likewise.
29848 * sysvipc/sys/msg.h: Likewise.
29849 * sysvipc/sys/sem.h: Likewise.
29850 * sysvipc/sys/shm.h: Likewise.
29851 * termios/termios.h: Likewise.
29852 * time/sys/time.h: Likewise.
29853 * time/time.h: Likewise.
29854 * wcsmbs/bits/wchar2.h: Likewise.
29855 * wcsmbs/uchar.h: Likewise.
29856 * wcsmbs/wchar.h: Likewise.
29857 * wctype/wctype.h: Likewise.
29860 * Makeconfig: Remove all but ELF support including AIX support.
29861 * Makerules: Likewise.
29862 * config.h.in: Likewise.
29863 * config.make.in: Likewise.
29864 * configure: Likewise.
29865 * configure.in: Likewise.
29866 * csu/Makefile: Likewise.
29867 * csu/version.c: Likewise.
29868 * debug/Makefile: Likewise.
29869 * dlfcn/Makefile: Likewise.
29870 * elf/Makefile: Likewise.
29871 * extra-lib.mk: Likewise.
29872 * iconv/Makefile: Likewise.
29873 * include/libc-symbols.h: Likewise.
29874 * include/shlib-compat.h: Likewise.
29875 * resolv/Makefile: Likewise.
29876 * resolv/res_libc.c: Likewise.
29877 * rt/Makefile: Likewise.
29878 * sysdeps/i386/asm-syntax.h: Likewise.
29879 * sysdeps/i386/sysdep.h: Likewise.
29880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29881 * sysdeps/mach/sysdep.h: Likewise.
29882 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29883 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29884 * sysdeps/s390/asm-syntax.h: Likewise.
29885 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29887 * sysdeps/sh/sysdep.h: Likewise.
29888 * sysdeps/unix/sparc/sysdep.h: Likewise.
29889 * sysdeps/wordsize-32/divdi3.c: Likewise.
29890 * sysdeps/x86_64/sysdep.h: Likewise.
29892 * argp/Versions: Remove _argp_unlock_xxx.
29895 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29896 * abilist/libBrokenLocale.abilist: Likewise.
29897 * abilist/libanl.abilist: Likewise.
29898 * abilist/libc.abilist: Likewise.
29899 * abilist/libcrypt.abilist: Likewise.
29900 * abilist/libdl.abilist: Likewise.
29901 * abilist/libm.abilist: Likewise.
29902 * abilist/libnsl.abilist: Likewise.
29903 * abilist/libpthread.abilist: Likewise.
29904 * abilist/libresolv.abilist: Likewise.
29905 * abilist/librt.abilist: Likewise.
29906 * abilist/libthread_db.abilist: Likewise.
29907 * abilist/libutil.abilist: Likewise.
29908 * abilist/libnss_db.abilist: New file.
29910 * scripts/abilist.awk: Add support for indirect functions.
29912 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29914 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29916 * shlib-versions: Remove entries for ports architectures.
29918 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29920 * elf/stackguard-macros.h: Remove support for IA-64.
29921 * elf/tst-auditmod1.c: Likewise.
29922 * sysdeps/generic/ldsodefs.h: Likewise.
29924 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29925 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29929 * configure.in: Remove --enable-omitfp support.
29931 * config.make.in: Likewise.
29932 * Makeconfig: Likewise.
29933 * manual/install.texi: Likewise.
29935 In case anyone cares, the IA-64 architecture could move to ports.
29936 * sysdeps/ia64/*: Removed.
29937 * sysdeps/unix/sysv/linux/ia64/*: Removed.
29938 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29941 * configure.in: Remove entries for unsupported architectures.
29944 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29945 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29947 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29948 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29949 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29950 fall back to using wcrtomb.
29951 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29952 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29954 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29955 * wcsmbs/tst-c16c32-1.c: New file.
29957 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29960 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29962 * elf/tst-unique3.cc: Add explicit declaration of gets.
29963 * elf/tst-unique3lib.cc: Likewise.
29964 * elf/tst-unique3lib2.cc: Likewise.
29965 * elf/tst-unique4.cc: Likewise.
29967 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29969 2012-01-06 Joseph Myers <joseph@codesourcery.com>
29972 * assert/assert.h (static_assert): Don't define for C++.
29973 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29974 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29976 2012-01-03 Ulrich Drepper <drepper@gmail.com>
29978 * iconv/loop.c (single loop): Fix assertion in storing of
29981 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29983 2012-01-01 Ulrich Drepper <drepper@gmail.com>
29985 * posix/getconf.c: Update copyright year.
29986 * nss/getent.c: Likewise.
29987 * nss/makedb.c: Likewise.
29988 * iconv/iconvconfig.c: Likewise.
29989 * iconv/iconv_prog.c: Likewise.
29990 * elf/ldconfig.c: Likewise.
29991 * elf/pldd.c: Likewise.
29992 * elf/sotruss.ksh: Likewise.
29993 * catgets/gencat.c: Likewise.
29994 * csu/version.c: Likewise.
29995 * elf/ldd.bash.in: Likewise.
29996 * elf/sprof.c (print_version): Likewise.
29997 * locale/programs/locale.c: Likewise.
29998 * locale/programs/localedef.c: Likewise.
29999 * login/programs/pt_chown.c: Likewise.
30000 * nscd/nscd.c (print_version): Likewise.
30001 * debug/xtrace.sh: Likewise.
30002 * malloc/memusage.sh: Likewise.
30003 * malloc/mtrace.pl: Likewise.
30004 * debug/catchsegv.sh: Likewise.
30006 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30008 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30011 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30014 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30015 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30017 * iconv/gconv_int.h: Likewise.
30018 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30019 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30020 from libc for GLIBC_2.16.
30021 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30022 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30023 * wcsmbs/uchar.h: Really define mbstate_t.
30024 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30025 * wcsmbs/c16rtomb.c: New file.
30026 * wcsmbs/mbrtoc16.c: New file.
30027 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30028 for C/POSIX locale.
30029 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30030 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30032 * wcsmbs/wchar.h: Add missing __restrict.
30034 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30037 * time/Makefile (routines): Add timespec_get.
30038 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30039 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30040 timespec for ISO C11.
30041 * time/timespec_get.c: New file.
30042 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30043 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30046 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30047 * stdlib/stdlib.h: Declare aligned_alloc.
30048 * Versions.def: Add GLIBC_2.16 for libc.
30049 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30052 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30055 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30059 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30062 * assert/assert.h (static_assert): Define.
30064 * version.h: Update for 2.16 development version.
30067 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30070 * version.h (RELEASE): Bump for 2.15 release.
30071 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30073 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30074 Patch by Marek Polacek <mpolacek@redhat.com>.
30076 * bits/byteswap.h: Protect long long constants with __extension__.
30077 * sysdeps/i386/bits/byteswap.h: Likewise.
30078 * sysdeps/ia64/bits/byteswap.h: Likewise.
30079 * sysdeps/s390/bits/byteswap.h: Likewise.
30080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30082 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30086 destination buffer.
30087 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30089 2011-12-23 Marek Polacek <polacek@redhat.com>
30091 * elf/dl-addr.c (determine_info): Add inline keyword.
30092 * elf/tst-auditmod4b.c (check_avx): Likewise.
30093 * elf/tst-auditmod6b.c (check_avx): Likewise.
30094 * elf/tst-auditmod6c.c (check_avx): Likewise.
30095 * elf/tst-auditmod7b.c (check_avx): Likewise.
30097 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30099 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30102 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30105 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30106 processing for last bytes.
30108 2011-08-06 Bruno Haible <bruno@clisp.org>
30111 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30112 U+0385, not to U+1FEE.
30115 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30116 entry for U+00A5 U+0301.
30118 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30121 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30122 buffer for the output is too small.
30124 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30128 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30129 SSE flags if possible.
30131 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30135 processing for last bytes.
30137 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30139 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30140 (syscall-list-default-options, syscall-list-default-condition)
30141 (syscall-list-includes): Define.
30142 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30143 list of ABIs and options and #if conditions for each ABI. Do not
30144 handle common syscalls between ABIs specially.
30145 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30147 (syscall-list-variants, syscall-list-32bit-options)
30148 (syscall-list-32bit-condition, syscall-list-64bit-options)
30149 (syscall-list-64bit-condition): Define.
30150 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30151 (syscall-list-variants, syscall-list-32bit-options)
30152 (syscall-list-32bit-condition, syscall-list-64bit-options)
30153 (syscall-list-64bit-condition): Define.
30154 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30156 (syscall-list-variants, syscall-list-32bit-options)
30157 (syscall-list-32bit-condition, syscall-list-64bit-options)
30158 (syscall-list-64bit-condition): Define.
30159 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30161 (syscall-list-variants, syscall-list-32bit-options)
30162 (syscall-list-32bit-condition, syscall-list-64bit-options)
30163 (syscall-list-64bit-condition): Define.
30165 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30167 * locale/iso-639.def: Add brx entry.
30170 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30171 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30173 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30174 __feraiseexcept_renamed.
30176 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30179 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30180 EPOLLET with unsigned values.
30181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30182 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30184 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30185 to large cancellation.
30186 * math/s_cacoshf.c: Likewise.
30187 * math/s_cacoshl.c: Likewise.
30189 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30193 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30194 * math/s_cacoshf.c: Likewise.
30195 * math/s_cacoshl.c: Likewise.
30197 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30200 * iconv/gconv.h: Define __GCONV_SWAP.
30201 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30202 * iconvdata/utf-16.c: Likewise.
30203 * iconvdata/utf-32.c: Likewise.
30205 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30209 numerator after shifting it by one limb.
30211 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30214 under [__USE_EXTERN_INLINES].
30216 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30219 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30221 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30223 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30224 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30226 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30227 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30228 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30229 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30230 for strncasecmp/strncasecmp_l compilation.
30231 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30232 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30234 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30237 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30240 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30243 * time/tzfile.c (__tzfile_read): Check values from file header.
30245 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30247 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30248 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30249 * powerpc/powerpc32/dl-start.S: Likewise.
30250 * powerpc/powerpc32/elf/start.S: Likewise.
30251 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30252 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30253 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30254 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30255 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30256 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30257 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30258 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30259 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30260 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30261 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30262 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30263 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30264 * powerpc/powerpc32/memset.S: Likewise.
30265 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30266 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30267 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30268 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30269 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30270 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30271 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30272 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30273 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30274 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30276 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30277 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30279 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30281 * math/libm-test.inc: Added more nearbyint tests.
30282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30287 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30289 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30292 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30294 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30295 Add wcscpy-ssse3 wcscpy-c.
30296 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30297 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30298 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30299 * sysdeps/x86_64/wcschr.S: New file.
30300 * sysdeps/x86_64/wcsrchr.S: New file.
30301 * string/test-strcmp.c: Remove checking of wcscmp function for
30303 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30304 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30305 wcsrchr-sse2 wcsrchr-c.
30306 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30307 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30308 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30309 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30310 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30311 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30312 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30313 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30314 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30315 * wcsmbc/wcschr.c (WCSCHR): New macro.
30317 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30319 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30320 * wcsmbs/test-wcsrchr.c: New file.
30321 * string/test-strrchr.c: Add wcsrchr support.
30323 * wcsmbs/test-wcscpy.c: New file.
30324 * string/test-strcpy.c: Add wcscpy support.
30327 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30329 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30332 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30335 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30337 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30340 Minor optimizations.
30342 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30343 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30344 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30346 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30348 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30349 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30350 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30351 for gcc to avoid warnings.
30352 * inet/Makefile (tests): Add tst-checks.
30353 * inet/tst-checks.c: New file.
30355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30358 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30361 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30362 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30364 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30366 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30368 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30371 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30373 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30375 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30376 conditional on GCC version.
30377 (__arch_compare_and_exchange_val_8_acq)
30378 (__arch_compare_and_exchange_val_16_acq)
30379 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30380 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30381 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30383 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30385 * sysdeps/sh/backtrace.c: New file.
30387 2011-12-02 Andreas Schwab <schwab@redhat.com>
30389 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30392 2011-12-01 Andreas Schwab <schwab@redhat.com>
30394 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30395 falling back to utime.
30397 2011-11-30 Andreas Schwab <schwab@redhat.com>
30399 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30400 expectations for float.
30402 2011-11-29 Andreas Schwab <schwab@redhat.com>
30404 * locale/weight.h (findidx): Add parameter len.
30405 * locale/weightwc.h (findidx): Likewise.
30406 * posix/fnmatch_loop.c (FCT): Adjust caller.
30407 * posix/regcomp.c (build_equiv_class): Likewise.
30408 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30409 * posix/regexec.c (check_node_accept_bytes): Likewise.
30410 * string/strcoll_l.c (STRCOLL): Likewise.
30411 * string/strxfrm_l.c (STRXFRM): Likewise.
30413 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30415 * Makefile.in: Remove CVSOPT handling.
30416 * configure.in: Remove use of AC_REVISION.
30417 * iconvdata/Makefile (distribute): No need to filter out CVS.
30418 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30421 2011-11-16 Andreas Schwab <schwab@redhat.com>
30423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30424 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30425 [USE_AS_STRNCASECMP_L]: Likewise.
30426 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30427 NO_TLS_DIRECT_SEG_REFS.
30428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30429 Fix argument offsets for non-PIC.
30430 [USE_AS_STRNCASECMP_L]: Likewise.
30431 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30432 NO_TLS_DIRECT_SEG_REFS.
30434 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30436 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30438 * locale/loadlocale.c (_nl_load_locale): Likewise.
30440 2011-11-15 Andreas Schwab <schwab@redhat.com>
30442 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30443 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30445 (SYSCALL_GETTIME): Set errno on error.
30447 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30448 count references to noai6ai_cached.
30450 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30452 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30454 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30455 FD_CLOEXEC for /proc/self/maps.
30457 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30458 FD_CLOEXEC for /proc/meminfo.
30460 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30463 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30464 FD_CLOEXEC for given file.
30466 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30468 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30469 FD_CLOEXEC for /etc/hosts.
30470 (_gethtent): Likewise.
30472 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30474 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30475 cancellation and set FD_CLOEXEC for /etc/netgroup.
30477 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30478 reading /etc/publickey.
30480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30481 allow cancellation when reading /etc/group.
30483 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30485 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30487 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30488 when using data file.
30490 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30492 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30493 (write_nis_obj): Use "c" and "e" in fopen.
30495 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30497 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30499 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30501 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30503 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30506 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30508 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30510 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30512 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30513 file parsing and set FD_CLOEXEC.
30515 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30517 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30519 2011-11-14 Andreas Schwab <schwab@redhat.com>
30521 * malloc/arena.c (arena_get2): Don't call reused_arena when
30522 _int_new_arena failed.
30524 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30526 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30527 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30528 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30530 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30532 to compile strcasecmp and strncasecmp.
30533 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30534 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30538 2011-11-13 Ulrich Drepper <drepper@gmail.com>
30540 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30541 locale-defines.sym to gen-as-const-headers.
30542 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30543 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30545 to compile strcasecmp and strncasecmp.
30546 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30547 strcasecmp_l and strncasecmp_l.
30548 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30549 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30550 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30551 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30552 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30553 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30554 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30555 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30556 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30557 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30558 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30560 2011-11-12 Ulrich Drepper <drepper@gmail.com>
30562 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30563 result of SYSDEP_GETTIME_CPU to retval.
30564 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30565 parameter list to macro. Remove trailing semicolon. Adjust users.
30567 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30570 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30572 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30574 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30575 from unused variable.
30577 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30579 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30582 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30585 * sunrpc/rpc_prot.c (rejected): Fix case value.
30587 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30588 unsigned long long int to avoid warnings in shift.
30590 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30592 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30595 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30596 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30597 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30599 * nis/nis_table.c (nis_list): Use variable of correct type for
30600 result of __follow_path call.
30602 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30604 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30605 of math functions ceil, trunc, floor, round, and sqrt, when
30606 avaliable on the platform.
30607 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30609 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30610 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30611 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30613 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30615 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30616 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30618 2011-11-11 Roland McGrath <roland@hack.frob.com>
30620 * include/unistd.h: Fix __readlink return type.
30621 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30623 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30625 * stdlib/ucontext.h: Undo last change for makecontext.
30627 2011-11-11 Andreas Schwab <schwab@redhat.com>
30629 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30631 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30632 * setjmp/setjmp.h: Mark functions as non-leaf.
30633 * setjmp/bits/setjmp2.h: Likewise.
30634 * stdlib/ucontext.h: Likewise.
30636 2011-11-10 Andreas Schwab <schwab@redhat.com>
30638 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30639 (reused_arena): Don't check arena limit.
30640 (arena_get2): Atomically check arena limit.
30642 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30644 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30645 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30650 2011-11-07 Andreas Schwab <schwab@redhat.com>
30652 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30653 handler when locking.
30655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30656 Fix size of allocated buffer.
30658 2011-11-04 Andreas Schwab <schwab@redhat.com>
30661 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30662 declarations for long double functions.
30663 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30665 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30667 2011-11-03 Andreas Schwab <schwab@redhat.com>
30669 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30672 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30675 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30677 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30679 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30681 * include/alloca.h (stackinfo_alloca_round): Define.
30682 (extend_alloca): Use it.
30683 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30684 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30687 * scripts/check-local-headers.sh: Ignore libaudit.h.
30689 * nscd/Makefile (extra-objs): Make recursively expanded.
30691 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30693 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30696 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30697 * posix/tst-rfc3484-2.c: Likewise.
30698 * posix/tst-rfc3484-3.c: Likewise.
30700 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30702 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30704 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30705 process_vm_writev from libc using GLIBC_2.15 version.
30707 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30709 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30711 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30714 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30717 * nss/getent.c (initgroups_keys): Show error message in case no group
30720 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30721 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30722 __bump_nl_timestamp.
30723 * nscd/connections (nscd_init): When host database is served open
30724 netlink socket and request notification about configuration changes.
30725 (main_loop_poll): Track netlink file descriptor and bump timestamp
30726 in case data becomes available.
30727 (main_loop_epoll): Likewise.
30728 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30729 (database_pers_head): Add extra_data fileds.
30730 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30731 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30732 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30735 in6ai data, call __free_in6ai.
30736 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30737 Add -DHAVE_NETLINK.
30738 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30739 interface information. Reuse previous data if netlink timestamp
30741 (__bump_nl_timestamp): New function.
30742 (__free_in6ai): New function.
30744 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30746 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30747 close_not_cancel_no_status here.
30748 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30750 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30753 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30756 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30757 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30758 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30760 2011-07-03 Andreas Jaeger <aj@suse.de>
30763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30764 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30765 * math/libm-test.inc (sin_test): Add test case.
30767 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30770 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30771 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30773 * elf/chroot_canon.c (chroot_canon): Cleanups.
30775 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30778 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30779 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30781 * string/test-strchr.c: Make usable for strchrnul testing.
30782 * string/test-strchrnul.c: New file.
30783 * string/Makefile (strop-tests): Add strchrnul.
30785 * po/it.po: Update from translation team.
30786 * po/es.po: Likewise.
30788 2011-10-28 Ulrich Drepper <drepper@gmail.com>
30790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30791 the three constants needed as parameters. Drop the others.
30792 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30793 __m128i_strloadu_tolower.
30794 Create and initialize variable zero and use it in all the places
30795 where _mm_setzero_si128 was used.
30797 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30798 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30799 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30800 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30802 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30803 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30804 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30805 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30806 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30807 __mpranred, __mptan.
30808 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30809 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30810 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30811 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30812 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30813 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30815 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30816 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30818 2011-10-28 Andreas Schwab <schwab@redhat.com>
30820 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30821 redefine if SHARED.
30822 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30825 wide char related routines to wcsmbs subdir.
30827 2011-10-27 Andreas Schwab <schwab@redhat.com>
30830 * misc/sys/cdefs.h (__THROWNL): Define.
30831 * posix/unistd.h: Use __THREADNL instead of __THREAD
30832 for memory synchronization functions.
30834 2011-10-26 Roland McGrath <roland@hack.frob.com>
30837 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30839 * manual/stdio.texi (Obstack Streams): Node removed.
30841 2011-10-26 Andreas Schwab <schwab@redhat.com>
30843 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30847 * math/math_private.h (math_force_eval): Allow non-addressable
30849 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30851 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30853 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30854 file is not needed.
30856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30858 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30859 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30863 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30865 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30866 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30867 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30868 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30869 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30870 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30871 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30872 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30873 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30874 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30875 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30876 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30877 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30878 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30879 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30880 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30881 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30882 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30883 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30885 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30886 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30888 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30889 place. Use VEX encoding when compiling for AVX.
30891 2011-10-25 Andreas Schwab <schwab@redhat.com>
30893 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30894 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30896 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30898 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30900 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30901 useless if() expression.
30902 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30912 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30914 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30915 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30916 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30918 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30922 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30924 2011-10-25 Andreas Schwab <schwab@redhat.com>
30926 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30928 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30930 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30932 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30933 .text section. Avoid duplicate constants.
30934 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30936 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30942 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30943 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30944 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30945 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30946 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30947 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30948 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30949 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30950 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30951 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30952 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30954 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30955 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30956 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30957 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30958 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30959 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30960 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30961 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30962 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30963 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30964 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30967 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30968 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30969 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30970 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30972 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30976 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30978 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30980 2011-10-24 Ulrich Drepper <drepper@gmail.com>
30982 * sysdeps/x86_64/dla.h: Move to ...
30983 * sysdeps/x86_64/fpu/dla.h: ...here.
30984 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30985 situations. Use __builtin_fma only for gcc 4.6 and up.
30987 * config.make.in: Add have-mfma4 entry.
30988 * configure.in: Substitute libc_cv_cc_fma4.
30989 * math/Makefile (dbl-only-routines): Add sincostab.
30990 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30991 Use __sincostab not sincos.
30992 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30999 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31000 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31001 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31002 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31004 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31005 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31007 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31008 define aliases when function name is a macro.
31009 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31010 sysdeps/ieee754/dbl-64/sincos.tbl.
31011 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31012 fma4-enabled routines.
31013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31018 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31020 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31022 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31023 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31025 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31027 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31031 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31033 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31040 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31041 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31042 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31044 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31055 2011-10-24 Andreas Schwab <schwab@redhat.com>
31057 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31059 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31063 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31065 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31067 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31068 Remove unused variable magic_bits.
31069 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31071 * string/strnlen.c: Define and use STRNLEN macro.
31072 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31073 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31075 * wcsmbs/wcslen.c: Define and use WCSLEN.
31076 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31077 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31078 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31079 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31080 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31081 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31082 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31084 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31087 strnlen-sse2-no-bsf.
31088 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31090 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31091 Add strnlen support.
31092 (USE_AS_STRNLEN): New macro.
31093 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31095 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31096 * sysdeps/x86_64/wcslen.S: New file.
31098 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31101 XMM-moves are used for copying on small sizes.
31103 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31105 * wcsmbs/Makefile (strop-tests): Add wcschr.
31106 * wcsmbs/test-wcschr.c: New file.
31107 * string/test-strchr.c: Update.
31108 Add wcschr support.
31111 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31113 * wcsmbs/Makefile (strop-tests): Add wcslen.
31114 * wcsmbs/test-wcslen.c: New file.
31115 * string/test-strlen.c: Update.
31116 Add wcslen support.
31119 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31121 * po/it.po: Update from translation team.
31123 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31125 * sysdeps/x86_64/wcscmp.S: Update.
31126 Fix wrong comparison semantics.
31127 wcscmp shall use signed comparison not unsigned.
31128 Don't use substraction to avoid overflow bug.
31129 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31130 * wcsmbc/wcscmp.c: Likewise.
31131 * string/test-strcmp.c: Likewise.
31132 Add new tests to check cases with negative values.
31134 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31136 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31137 * sysdeps/x86_64/dla.h: ...here. New file.
31138 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31148 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31150 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31151 __ynl_finite aliases.
31153 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31157 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31159 [DLA_FMA] (EMULV): Use DLA_FMA.
31160 [DLA_FMA] (MUL12): Use EMULV.
31161 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31162 that are not needed.
31163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31171 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31173 * math/s_nan.c: Undef __nan.
31174 * math/s_nanf.c: Undef __nanf.
31175 * math/s_nanl.c: Undef __nanl.
31176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31179 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31181 * math/s_catan.c: Add branch predictions.
31182 * math/s_catanf.c: Likewise.
31183 * math/s_catanh.c: Likewise.
31184 * math/s_catanhf.c: Likewise.
31185 * math/s_catanhl.c: Likewise.
31186 * math/s_catanl.c: Likewise.
31187 * math/s_cexp.c: Likewise.
31188 * math/s_cexpf.c: Likewise.
31189 * math/s_cexpl.c: Likewise.
31190 * math/s_clog.c: Likewise.
31191 * math/s_clog10.c: Likewise.
31192 * math/s_clog10f.c: Likewise.
31193 * math/s_clog10l.c: Likewise.
31194 * math/s_clogf.c: Likewise.
31195 * math/s_clogl.c: Likewise.
31196 * math/s_csqrt.c: Likewise.
31197 * math/s_csqrtf.c: Likewise.
31198 * math/s_csqrtl.c: Likewise.
31199 * math/s_ctanf.c: Likewise.
31200 * math/s_ctanh.c: Likewise.
31201 * math/s_ctanhf.c: Likewise.
31202 * math/s_ctanhl.c: Likewise.
31203 * math/s_ctanl.c: Likewise.
31205 * math/math_private.h: Define __nan, __nanf, __nanl.
31206 * math/s_cacosh.c: Include <math_private.h>.
31207 * math/s_cacoshl.c: Likewise.
31208 * math/s_casinh.c: Likewise.
31209 * math/s_casinhf.c: Likewise.
31210 * math/s_casinhl.c: Likewise.
31211 * math/s_ccos.c: Rely entire on ccosh.
31212 * math/s_ccosf.c: Rely entire on ccoshf.
31213 * math/s_ccosl.c: Rely entirely on ccoshl.
31214 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31215 Remove tests for FE_INVALID.
31216 * math/s_ccoshf.c: Likewise.
31217 * math/s_ccoshl.c: Likewise.
31218 * math/s_csin.c: Likewise.
31219 * math/s_csinf.c: Likewise.
31220 * math/s_csinh.c Likewise.
31221 * math/s_csinhf.c: Likewise.
31222 * math/s_csinhl.c: Likewise.
31223 * math/s_csinl.c: Likewise.
31224 * math/s_ctan.c: Likewise.
31225 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31226 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31229 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31232 compilation problems.
31234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31237 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31239 * sysdeps/i386/configure.in: Test for -mfma4 option.
31240 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31241 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31242 COMMON_CPUID_INDEX_80000001.
31243 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31244 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31245 use it if FMA3 is not supported.
31246 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31248 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31251 2011-10-20 Andreas Schwab <schwab@redhat.com>
31254 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31255 it would create a cycle with a link time dependency.
31257 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31259 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31261 * string/Makefile (strop-tests): Add rawmemchr.
31262 * string/test-rawmemchr.c: New file.
31264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31266 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31267 when compiling str{,n}casecmp and when AVX is available. Hook up
31268 new optimized code in initializers.
31270 2011-10-19 Andreas Schwab <schwab@redhat.com>
31272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31273 __feraiseexcept instead of feraiseexcept.
31275 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31277 * math/math_private.h: Define defaults for libc_fetestexcept and
31279 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31280 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31283 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31284 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31285 libc_fetestexcept and libc_feupdateenv.
31287 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31288 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31289 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31290 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31291 libc_feholdexcept_setround.
31293 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31294 Add s_nearbyint-c and s_nearbyintf-c.
31295 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31296 nearbyintf inlines.
31297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31298 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31302 * math/math_private.h: Define defaults for libc_fegetround,
31303 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31304 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31305 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31306 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31307 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31308 standard functions.
31309 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31310 Remove comments and hacks for old compiler versions.
31311 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31312 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31313 libc_feholdexceptl.
31315 2011-10-18 Andreas Schwab <schwab@redhat.com>
31317 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31318 (__feraiseexcept_renamed): Add __NTH.
31319 (feraiseexcept): Add __NTH. Rename local variables to fix
31320 namespace violations.
31322 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31326 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31328 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31329 recently added interfaces.
31330 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31332 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31333 about macro parameter expansion.
31335 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31336 __NO_MATH_INLINES is defined. Cleanups.
31338 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31339 and __floorf is target has SSE4.1.
31340 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31341 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31342 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31343 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31345 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31347 (floorf): Likewise.
31349 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31351 2011-10-17 Andreas Schwab <schwab@redhat.com>
31353 * misc/sys/cdefs.h: Fix last change.
31355 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31358 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31360 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31362 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31363 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31365 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31366 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31367 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31368 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31370 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31371 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31372 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31373 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31374 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31375 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31376 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31377 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31378 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31379 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31380 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31381 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31382 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31383 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31385 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31386 ceil, ceilf, floor, floorf.
31388 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31389 Perform IRELATIVE relocations last.
31391 * elf/do-rel.h: Add another parameter nrelative, replacing the
31392 local variable with the same name. Change name of the function
31393 to end in Rel or Rela (uppercase).
31394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31395 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31396 elf_dynamic_do_##reloc function.
31398 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31400 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31401 is sufficient, at least on modern CPUs.
31403 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31405 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31408 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31410 * math/bits/math-finite.h: Add entries for exp.
31411 * math/e_expl.c: Add __*_finite alias.
31412 * sysdeps/i386/fpu/e_exp.S: Likewise.
31413 * sysdeps/i386/fpu/e_expf.S: Likewise.
31414 * sysdeps/i386/fpu/e_expl.c: Likewise.
31415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31416 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31417 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31419 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31423 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31424 is sufficient, at least on modern CPUs.
31426 * ctype/ctype-info.c (__ctype_init): Define.
31427 * include/ctype.h (__ctype_init): Declare.
31428 (__ctype_b_loc): The variable is always initialized.
31429 (__ctype_toupper_loc): Likewise.
31430 (__ctype_tolower_loc): Likewise.
31431 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31432 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31434 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31436 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31438 * configure.in: Also look in $cxxmachine/include for C++ system
31441 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31443 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31444 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31445 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31446 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31448 (USE_AS_WMEMCMP): New macro.
31450 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31451 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31452 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31453 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31455 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31456 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31457 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31458 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31459 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31461 (USE_AS_WMEMCMP): New macro.
31462 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31463 * sysdeps/string/test-memcmp.c: Update.
31464 Fix simple_wmemcmp.
31466 * wcsmbs/wmemcmp.c: Update.
31467 (WMEMCMP): New macro.
31470 2011-10-12 Andreas Jaeger <aj@suse.de>
31473 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31475 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31477 * libio/iofwide.c (do_length): Avoid warning.
31479 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31481 2011-10-14 Ulrich Drepper <drepper@gmail.com>
31483 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31485 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31486 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31487 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31488 * sysdeps/i386/i686/fpu/e_log.S: New file.
31489 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31490 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31492 * ctype/ctype.h: Add support for inlined isXXX functions when
31493 compiling C++ code.
31495 2011-10-14 Andreas Schwab <schwab@redhat.com>
31497 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31499 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31501 2011-10-13 Roland McGrath <roland@hack.frob.com>
31504 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31506 2011-10-13 Andreas Schwab <schwab@redhat.com>
31508 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31509 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31512 * sysdeps/x86_64/memrchr.S: Check for zero size.
31514 * string/stratcliff.c: Add memrchr tests.
31516 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31519 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31520 rawmemchr-sse2 rawmemchr-sse2-bsf.
31521 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31522 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31523 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31524 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31525 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31526 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31527 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31528 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31530 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31531 * string/memrchr.c (MEMRCHR): New macro.
31533 2011-10-12 Ulrich Drepper <drepper@gmail.com>
31535 Add integration with gcc's -ffinite-math-only and optimize wrapper
31537 * Versions.def: Define GLIBC_2.15 version for libm.
31538 * math/Makefile (headers): Add bits/math-finite.h.
31539 * math/bits/math-finite.h: New file.
31540 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31541 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31542 * math/e_acoshl.c: Add __*_finite alias.
31543 * math/e_acosl.c: Likewise.
31544 * math/e_asinl.c: Likewise.
31545 * math/e_atan2l.c: Likewise.
31546 * math/e_atanhl.c: Likewise.
31547 * math/e_coshl.c: Likewise.
31548 * math/e_exp10.c: Likewise.
31549 * math/e_exp10f.c: Likewise.
31550 * math/e_exp10l.c: Likewise.
31551 * math/e_exp2l.c: Likewise.
31552 * math/e_fmodl.c: Likewise.
31553 * math/e_gammal_r.c: Likewise.
31554 * math/e_hypotl.c: Likewise.
31555 * math/e_j0l.c: Likewise.
31556 * math/e_j1l.c: Likewise.
31557 * math/e_jnl.c: Likewise.
31558 * math/e_lgammal_r.c: Likewise.
31559 * math/e_log10l.c: Likewise.
31560 * math/e_log2l.c: Likewise.
31561 * math/e_logl.c: Likewise.
31562 * math/e_powl.c: Likewise.
31563 * math/e_sinhl.c: Likewise.
31564 * math/e_sqrtl.c: Likewise.
31565 * math/e_scalb.c: Completely rewritten and optimized.
31566 * math/e_scalbf.c: Likewise.
31567 * math/e_scalbl.c: Likewise.
31568 * math/w_acos.c: Likewise.
31569 * math/w_acosf.c: Likewise.
31570 * math/w_acosl.c: Likewise.
31571 * math/w_acosh.c: Likewise.
31572 * math/w_acoshf.c: Likewise.
31573 * math/w_acoshl.c: Likewise.
31574 * math/w_asin.c: Likewise.
31575 * math/w_asinf.c: Likewise.
31576 * math/w_asinl.c: Likewise.
31577 * math/w_atan2.c: Likewise.
31578 * math/w_atan2f.c: Likewise.
31579 * math/w_atan2l.c: Likewise.
31580 * math/w_atanh.c: Likewise.
31581 * math/w_atanhf.c: Likewise.
31582 * math/w_atanhl.c: Likewise.
31583 * math/w_exp10.c: Likewise.
31584 * math/w_exp10f.c: Likewise.
31585 * math/w_exp10l.c: Likewise.
31586 * math/w_fmod.c: Likewise.
31587 * math/w_fmodf.c: Likewise.
31588 * math/w_fmodl.c: Likewise.
31589 * math/w_j0.c: Likewise.
31590 * math/w_j0f.c: Likewise.
31591 * math/w_j0l.c: Likewise.
31592 * math/w_j1.c: Likewise.
31593 * math/w_j1f.c: Likewise.
31594 * math/w_j1l.c: Likewise.
31595 * math/w_jn.c: Likewise.
31596 * math/w_jnf.c: Likewise.
31597 * math/w_log.c: Likewise.
31598 * math/w_logf.c: Likewise.
31599 * math/w_logl.c: Likewise.
31600 * math/w_log10.c: Likewise.
31601 * math/w_log10f.c: Likewise.
31602 * math/w_log10l.c: Likewise.
31603 * math/w_log2.c: Likewise.
31604 * math/w_log2f.c: Likewise.
31605 * math/w_log2l.c: Likewise.
31606 * math/w_pow.c: Likewise.
31607 * math/w_powf.c: Likewise.
31608 * math/w_powl.c: Likewise.
31609 * math/w_remainder.c: Likewise.
31610 * math/w_remainderf.c: Likewise.
31611 * math/w_remainderl.c: Likewise.
31612 * math/w_scalb.c: Likewise.
31613 * math/w_scalbf.c: Likewise.
31614 * math/w_scalbl.c: Likewise.
31615 * math/w_sqrt.c: Likewise.
31616 * math/w_sqrtf.c: Likewise.
31617 * math/w_sqrtl.c: Likewise.
31618 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31619 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31621 * math/math_private.h: Declare __kernel_standard_f.
31622 * math/w_cosh.c: Remove cruft and optimize a bit.
31623 * math/w_coshf.c: Likewise.
31624 * math/w_coshl.c: Likewise.
31625 * math/w_exp2.c: Likewise.
31626 * math/w_exp2f.c: Likewise.
31627 * math/w_exp2l.c: Likewise.
31628 * math/w_hypot.c: Likewise.
31629 * math/w_hypotf.c: Likewise.
31630 * math/w_hypotl.c: Likewise.
31631 * math/w_lgamma.c: Likewise.
31632 * math/w_lgamma_r.c: Likewise.
31633 * math/w_lgammaf.c: Likewise.
31634 * math/w_lgammaf_r.c: Likewise.
31635 * math/w_lgammal.c: Likewise.
31636 * math/w_lgammal_r.c: Likewise.
31637 * math/w_sinh.c: Likewise.
31638 * math/w_sinhf.c: Likewise.
31639 * math/w_sinhl.c: Likewise.
31640 * math/w_tgamma.c: Likewise.
31641 * math/w_tgammaf.c: Likewise.
31642 * math/w_tgammal.c: Likewise.
31643 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31645 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31646 Minor optimizations. Pretty printing. Remove cruft.
31647 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31648 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31651 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31652 * sysdeps/i386/fpu/e_asin.S: Likewise.
31653 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31654 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31655 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31656 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31657 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31658 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31659 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31660 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31661 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31662 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31663 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31664 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31665 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31666 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31667 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31668 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31669 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31670 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31671 * sysdeps/i386/fpu/e_log.S: Likewise.
31672 * sysdeps/i386/fpu/e_log10.S: Likewise.
31673 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31674 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31675 * sysdeps/i386/fpu/e_log2.S: Likewise.
31676 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31677 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31678 * sysdeps/i386/fpu/e_logf.S: Likewise.
31679 * sysdeps/i386/fpu/e_logl.S: Likewise.
31680 * sysdeps/i386/fpu/e_pow.S: Likewise.
31681 * sysdeps/i386/fpu/e_powf.S: Likewise.
31682 * sysdeps/i386/fpu/e_powl.S: Likewise.
31683 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31684 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31685 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31686 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31688 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31689 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31690 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31691 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31692 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31695 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31697 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31698 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31701 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31702 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31703 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31706 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31708 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31709 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31712 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31713 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31714 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31715 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31716 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31717 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31719 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31720 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31721 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31722 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31723 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31724 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31725 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31726 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31727 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31728 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31729 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31730 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31731 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31732 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31733 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31734 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31735 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31736 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31737 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31738 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31739 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31740 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31741 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31742 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31746 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31747 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31748 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31749 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31751 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31752 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31757 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31758 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31760 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31762 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31763 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31764 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31768 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31769 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31770 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31771 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31772 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31773 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31774 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31775 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31776 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31777 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31779 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31780 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31781 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31782 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31785 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31786 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31787 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31788 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31789 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31790 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31791 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31792 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31793 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31794 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31795 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31796 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31797 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31798 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31800 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31802 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31803 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31804 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31805 (__isnanf): Likewise.
31806 (__isinf_ns): Likewise.
31807 (__isinf_nsf): Likewise.
31808 (__finite): Likewise.
31809 (__finitef): Likewise.
31810 (__ieee754_sqrt): Define as macro.
31811 (__ieee754_sqrtf): Define as macro.
31812 (__ieee754_sqrtl): Define as macro.
31813 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31815 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31816 __FINITE_MATH_ONLY__ consistent.
31817 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31819 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31821 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31824 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31826 2011-10-09 Ulrich Drepper <drepper@gmail.com>
31828 * po/ja.po: Update from translation team.
31830 2011-10-08 Roland McGrath <roland@hack.frob.com>
31832 * locale/programs/locarchive.c (prepare_address_space): New function.
31833 (create_archive, enlarge_archive, open_archive): Use it.
31835 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31836 inside [SHARED], where it is used.
31838 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31840 * nss/getent.c (netgroup_keys): Remove unused variable.
31841 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31843 2011-10-08 Ulrich Drepper <drepper@gmail.com>
31845 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31849 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31850 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31851 * math/Makefile (libm-calls): Add s_isinf_ns.
31852 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31853 * math/multc3.c: Likewise.
31854 * math/s_casin.c: Likewise.
31855 * math/s_casinf.c: Likewise.
31856 * math/s_casinl.c: Likewise.
31857 * math/s_ccos.c: Likewise.
31858 * math/s_ccosf.c: Likewise.
31859 * math/s_ccosl.c: Likewise.
31860 * math/s_ctan.c: Likewise.
31861 * math/s_ctanf.c: Likewise.
31862 * math/s_ctanh.c: Likewise.
31863 * math/s_ctanhf.c: Likewise.
31864 * math/s_ctanhl.c: Likewise.
31865 * math/s_ctanl.c: Likewise.
31866 * math/w_fmod.c: Likewise.
31867 * math/w_fmodf.c: Likewise.
31868 * math/w_fmodl.c: Likewise.
31869 * math/w_remainder.c: Likewise.
31870 * math/w_remainderf.c: Likewise.
31871 * math/w_remainderl.c: Likewise.
31872 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31873 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31874 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31876 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31877 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31878 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31879 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31881 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31883 * stdio-common/printf_fphex.c: Likewise.
31884 * stdio-common/printf_size.c: Likewise.
31886 * math/e_exp10.c: Include math_private.h using <...> not "...".
31887 * math/e_exp10f.c: Likewise.
31888 * math/e_exp10l.c: Likewise.
31889 * math/e_exp2l.c: Likewise.
31890 * math/e_j0l.c: Likewise.
31891 * math/e_j1l.c: Likewise.
31892 * math/e_jnl.c: Likewise.
31893 * math/e_lgammal_r.c: Likewise.
31894 * math/e_rem_pio2l.c: Likewise.
31895 * math/e_scalb.c: Likewise.
31896 * math/e_scalbf.c: Likewise.
31897 * math/e_scalbl.c: Likewise.
31898 * math/k_cosl.c: Likewise.
31899 * math/k_sinl.c: Likewise.
31900 * math/k_tanl.c: Likewise.
31901 * math/s_cacoshf.c: Likewise.
31902 * math/s_catan.c: Likewise.
31903 * math/s_catanf.c: Likewise.
31904 * math/s_catanh.c: Likewise.
31905 * math/s_catanhf.c: Likewise.
31906 * math/s_catanhl.c: Likewise.
31907 * math/s_catanl.c: Likewise.
31908 * math/s_ccosh.c: Likewise.
31909 * math/s_ccoshf.c: Likewise.
31910 * math/s_ccoshl.c: Likewise.
31911 * math/s_cexp.c: Likewise.
31912 * math/s_cexpf.c: Likewise.
31913 * math/s_cexpl.c: Likewise.
31914 * math/s_clog.c: Likewise.
31915 * math/s_clog10.c: Likewise.
31916 * math/s_clog10f.c: Likewise.
31917 * math/s_clog10l.c: Likewise.
31918 * math/s_clogf.c: Likewise.
31919 * math/s_clogl.c: Likewise.
31920 * math/s_csin.c: Likewise.
31921 * math/s_csinf.c: Likewise.
31922 * math/s_csinh.c: Likewise.
31923 * math/s_csinhf.c: Likewise.
31924 * math/s_csinhl.c: Likewise.
31925 * math/s_csinl.c: Likewise.
31926 * math/s_csqrt.c: Likewise.
31927 * math/s_csqrtf.c: Likewise.
31928 * math/s_csqrtl.c: Likewise.
31929 * math/s_ctan.c: Likewise.
31930 * math/s_ctanf.c: Likewise.
31931 * math/s_ctanh.c: Likewise.
31932 * math/s_ctanhf.c: Likewise.
31933 * math/s_ctanhl.c: Likewise.
31934 * math/s_ctanl.c: Likewise.
31935 * math/s_ldexp.c: Likewise.
31936 * math/s_ldexpf.c: Likewise.
31937 * math/s_ldexpl.c: Likewise.
31938 * math/s_significand.c: Likewise.
31939 * math/s_significandf.c: Likewise.
31940 * math/s_significandl.c: Likewise.
31941 * math/w_acos.c: Likewise.
31942 * math/w_acosf.c: Likewise.
31943 * math/w_acosh.c: Likewise.
31944 * math/w_acoshf.c: Likewise.
31945 * math/w_acoshl.c: Likewise.
31946 * math/w_acosl.c: Likewise.
31947 * math/w_asin.c: Likewise.
31948 * math/w_asinf.c: Likewise.
31949 * math/w_asinl.c: Likewise.
31950 * math/w_atan2.c: Likewise.
31951 * math/w_atan2f.c: Likewise.
31952 * math/w_atan2l.c: Likewise.
31953 * math/w_atanh.c: Likewise.
31954 * math/w_atanhf.c: Likewise.
31955 * math/w_atanhl.c: Likewise.
31956 * math/w_cosh.c: Likewise.
31957 * math/w_coshf.c: Likewise.
31958 * math/w_coshl.c: Likewise.
31959 * math/w_dremf.c: Likewise.
31960 * math/w_exp10.c: Likewise.
31961 * math/w_exp10f.c: Likewise.
31962 * math/w_exp10l.c: Likewise.
31963 * math/w_exp2.c: Likewise.
31964 * math/w_exp2f.c: Likewise.
31965 * math/w_fmod.c: Likewise.
31966 * math/w_fmodf.c: Likewise.
31967 * math/w_fmodl.c: Likewise.
31968 * math/w_hypot.c: Likewise.
31969 * math/w_hypotf.c: Likewise.
31970 * math/w_hypotl.c: Likewise.
31971 * math/w_j0.c: Likewise.
31972 * math/w_j0f.c: Likewise.
31973 * math/w_j0l.c: Likewise.
31974 * math/w_j1.c: Likewise.
31975 * math/w_j1f.c: Likewise.
31976 * math/w_j1l.c: Likewise.
31977 * math/w_jn.c: Likewise.
31978 * math/w_jnf.c: Likewise.
31979 * math/w_jnl.c: Likewise.
31980 * math/w_lgamma.c: Likewise.
31981 * math/w_lgamma_r.c: Likewise.
31982 * math/w_lgammaf.c: Likewise.
31983 * math/w_lgammaf_r.c: Likewise.
31984 * math/w_lgammal.c: Likewise.
31985 * math/w_lgammal_r.c: Likewise.
31986 * math/w_log.c: Likewise.
31987 * math/w_log10.c: Likewise.
31988 * math/w_log10f.c: Likewise.
31989 * math/w_log10l.c: Likewise.
31990 * math/w_log2.c: Likewise.
31991 * math/w_log2f.c: Likewise.
31992 * math/w_log2l.c: Likewise.
31993 * math/w_logf.c: Likewise.
31994 * math/w_logl.c: Likewise.
31995 * math/w_pow.c: Likewise.
31996 * math/w_powf.c: Likewise.
31997 * math/w_powl.c: Likewise.
31998 * math/w_remainder.c: Likewise.
31999 * math/w_remainderf.c: Likewise.
32000 * math/w_remainderl.c: Likewise.
32001 * math/w_scalb.c: Likewise.
32002 * math/w_scalbf.c: Likewise.
32003 * math/w_scalbl.c: Likewise.
32004 * math/w_sinh.c: Likewise.
32005 * math/w_sinhf.c: Likewise.
32006 * math/w_sinhl.c: Likewise.
32007 * math/w_sqrt.c: Likewise.
32008 * math/w_sqrtf.c: Likewise.
32009 * math/w_sqrtl.c: Likewise.
32010 * math/w_tgamma.c: Likewise.
32011 * math/w_tgammaf.c: Likewise.
32012 * math/w_tgammal.c: Likewise.
32014 * po/ja.po: Update from translation team.
32016 2011-09-29 Andreas Jaeger <aj@suse.de>
32019 * sunrpc/netname.c (netname2host): Fix logic.
32023 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32025 * math/w_remainder.c (__remainder): Likewise.
32026 * math/w_remainderf.c (__remainderf): Likewise.
32027 * math/libm-test.inc (remainder_test): Add test cases.
32029 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32031 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32034 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32036 * string/test-memcmp.c: Avoid unncessary #defines.
32037 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32039 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32041 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32042 Use new sse2 version for core i3 - i7 as it's faster
32043 than sse42 version.
32044 (bit_Prefer_PMINUB_for_stringop): New.
32045 * sysdeps/x86_64/rawmemchr.S: Update.
32046 Replace with faster SSE2 version.
32047 * sysdeps/x86_64/memrchr.S: New file.
32048 * sysdeps/x86_64/memchr.S: Update.
32049 Replace with faster SSE2 version.
32051 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32053 * elf/dl-load.c (lose): Add cast to avoid warning.
32055 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32057 * po/ca.po: Update from translation team.
32059 * inet/getnetgrent_r.c: Hook up nscd.
32060 * nscd/Makefile (routines): Add nscd_netgroup.
32061 (nscd-modules): Add netgroupcache.
32062 (CFLAGS-netgroupcache.c): Define.
32063 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32064 (cache_search): Add const to second parameter.
32065 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32067 (dbs): Add netgrdb entry.
32068 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32069 (verify_persistent_db): Handle netgrdb.
32070 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32071 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32073 (netgroup_response_header): Define.
32074 (innetgroup_response_header): Define.
32075 (datahead): Add netgroup_response_header and innetgroup_response_header
32077 * nscd/nscd.conf: Add entries for netgroup cache.
32078 * nscd/nscd.h (dbtype): Add netgrdb.
32079 (_PATH_NSCD_NETGROUP_DB): Define.
32080 (netgroup_iov_disabled): Declare.
32081 (xmalloc, xcalloc, xrealloc): Move declarations here.
32082 (cache_search): Adjust prototype.
32083 Add netgroup-related prototypes.
32084 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32085 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32086 (__nscd_innetgr): Declare.
32087 * nscd/selinux.c (perms): Use access_vector_t as element type and
32088 add netgroup-related initializers.
32089 * nscd/netgroupcache.c: New file.
32090 * nscd/nscd_netgroup.c: New file.
32091 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32092 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32093 For four parameters use innetgr.
32094 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32095 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32096 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32097 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32099 * nscd/connections.c (register_traced_file): Don't register file
32100 for disabled databases.
32102 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32104 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32106 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32107 from tree and freeing node.
32109 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32111 * nss/nsswitch.c (__nss_database_lookup): Handle
32112 nss_parse_service_list out of memory case.
32114 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32116 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32117 out of memory case.
32119 2011-10-04 Andreas Schwab <schwab@redhat.com>
32121 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32122 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32124 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32125 elf_machine_rela, elf_machine_lazy_rel.
32126 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32127 (ELF_DYNAMIC_DO_REL): Likewise.
32128 (ELF_DYNAMIC_DO_RELA): Likewise.
32129 (ELF_DYNAMIC_RELOCATE): Likewise.
32130 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32131 to ELF_DYNAMIC_DO_REL.
32132 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32133 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32134 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32137 skip_ifunc, don't call ifunc function if non-zero.
32138 (elf_machine_rela): Likewise.
32139 (elf_machine_lazy_rel): Likewise.
32140 (elf_machine_lazy_rela): Likewise.
32141 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32142 (elf_machine_lazy_rel): Likewise.
32143 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32145 (elf_machine_lazy_rel): Likewise.
32146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32148 (elf_machine_lazy_rel): Likewise.
32149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32150 (elf_machine_lazy_rel): Likewise.
32151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32152 (elf_machine_lazy_rel): Likewise.
32153 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32154 (elf_machine_lazy_rel): Likewise.
32155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32156 (elf_machine_lazy_rel): Likewise.
32157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32158 (elf_machine_lazy_rel): Likewise.
32159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32160 (elf_machine_lazy_rel): Likewise.
32162 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32164 * nss/nss_files/files-init.c (_nss_files_init): Use static
32165 initialization for all the *_traced_file variables.
32167 2011-09-28 Andreas Schwab <schwab@redhat.com>
32169 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32171 2011-09-27 Roland McGrath <roland@hack.frob.com>
32174 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32176 2011-09-27 Andreas Schwab <schwab@redhat.com>
32178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32179 Reread the line before reparsing it.
32181 2011-09-26 Andreas Schwab <schwab@redhat.com>
32183 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32185 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32186 Maxim Kuvyrkov <maxim@codesourcery.com>
32187 Joseph Myers <joseph@codesourcery.com>
32189 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32190 if needed for __stack_chk_guard.
32192 2011-09-19 Roland McGrath <roland@hack.frob.com>
32194 * sysdeps/posix/spawni.c (script_execute): Always define it.
32195 It will be optimized away if unused.
32196 (maybe_script_execute): New function.
32197 (__spawni): Call it.
32199 * Makerules: Don't include tls.make.
32200 (config-tls): Always set to thread.
32201 * tls.make.c: File removed.
32203 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32205 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32206 * config.make.in (CPPFLAGS-config): New substituted variable.
32208 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32213 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32214 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32216 2011-09-15 Roland McGrath <roland@hack.frob.com>
32218 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32219 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32221 (CALL_FAIL): Likewise.
32222 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32223 (CALL_FAIL): Macro removed.
32224 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32226 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32228 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32229 for __FINITE_MATH_ONLY__ == 1.
32231 2011-09-15 Andreas Schwab <schwab@redhat.com>
32233 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32234 __ieee754_sqrt instead of sqrt.
32235 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32236 __ieee754_sqrtf instead of sqrtf.
32237 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32238 __floorf instead of floorf.
32239 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32240 __floorf, __truncf instead of floorf, truncf.
32242 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32244 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32246 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32247 __extern_always_inline.
32248 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32251 2011-09-14 Andreas Schwab <schwab@redhat.com>
32253 * elf/rtld.c (dl_main): Also relocate in dependency order when
32254 doing symbol dependency testing.
32256 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32259 Always define `refsym'.
32261 2011-09-13 Andreas Schwab <schwab@redhat.com>
32263 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32264 (__FD_ELT): Renamed from __FDELT.
32265 * misc/bits/select2.h (__FD_ELT): Likewise.
32266 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32267 __FD_MASK instead of __FDELT, __FDMASK.
32268 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32270 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32273 * elf/Makefile (gen-ldd): Fix pattern.
32275 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32276 (init_tls): Likewise.
32278 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32280 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32282 2011-09-12 Andreas Schwab <schwab@redhat.com>
32284 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32285 `struct cmsghdr *' instead of `void *'.
32286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32289 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32291 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32293 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32294 ldd_rewrite_script.
32296 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32298 * configure.in: Remove --with-tls option.
32299 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32300 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32301 out in case it is missing.
32302 * sysdeps/ia64/elf/configure.in: Likewise.
32303 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32304 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32305 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32306 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32307 * sysdeps/sh/elf/configure.in: Likewise.
32308 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32309 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32310 * sysdeps/x86_64/elf/configure.in: Likewise.
32311 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32312 * sysdeps/mach/hurd/tls.h: Likewise.
32315 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32318 * configure.in: Fix use of AC_INIT.
32320 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32322 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32324 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32326 * malloc/hooks.c: Likewise.
32329 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32330 variables statically.
32331 (narenas): Initialize.
32332 (list_lock): Initialize.
32333 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32334 initializtion of main_arena and list_lock. Small cleanups.
32335 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32336 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32337 Add initializers to main_arena and mp_.
32338 (malloc_state): Remove pagesize member. Change all users to use
32341 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32342 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32343 is always initialized.
32345 * malloc/malloc.c: Removed unused configurations and dead code.
32346 * malloc/arena.c: Likewise.
32347 * malloc/hooks.c: Likewise.
32348 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32350 * include/tls.h: Removed. USE___THREAD must always be defined.
32351 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32352 * elf/dl-libc.c: Likewise.
32353 * elf/dl-tsd.c: Likewise.
32354 * include/errno.h: Likewise.
32355 * include/netdb.h: Likewise.
32356 * include/resolv.h: Likewise.
32357 * inet/herrno-loc.c: Likewise.
32358 * inet/herrno.c: Likewise.
32359 * malloc/arena.c: Likewise.
32360 * malloc/hooks.c: Likewise.
32361 * malloc/malloc.c: Likewise.
32362 * resolv/res-state.c: Likewise.
32363 * resolv/res_libc.c: Likewise.
32364 * sysdeps/i386/dl-machine.h: Likewise.
32365 * sysdeps/ia64/dl-machine.h: Likewise.
32366 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32367 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32368 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32369 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32370 * sysdeps/sh/dl-machine.h: Likewise.
32371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32373 * sysdeps/unix/i386/sysdep.S: Likewise.
32374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32375 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32380 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32384 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32385 * sysdeps/x86_64/dl-machine.h: Likewise.
32386 * tls.make.c: Likewise.
32388 * configure.in: Remove --with-__thread option. Make tests for
32389 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32390 tls_model attribute fail if no support is available. Remove
32392 * Makeconfig: Adjust for dropped configure option. All features are
32394 * Makerules: Likewise.
32395 * Versions.def: Likewise.
32396 * argp/argp-fmtstream.c: Likewise.
32397 * argp/argp-fmtstream.h: Likewise.
32398 * argp/argp-help.c: Likewise.
32399 * assert/assert.c: Likewise.
32400 * config.h.in: Likewise.
32401 * config.make.in: Likewise.
32402 * configure: Likewise.
32403 * configure.in: Likewise.
32404 * csu/Versions: Likewise.
32405 * csu/init.c: Likewise.
32406 * elf/tst-audit2.c: Likewise.
32407 * elf/tst-tls10.c: Likewise.
32408 * elf/tst-tls10.h: Likewise.
32409 * elf/tst-tls11.c: Likewise.
32410 * elf/tst-tls12.c: Likewise.
32411 * elf/tst-tls14.c: Likewise.
32412 * elf/tst-tlsmod11.c: Likewise.
32413 * elf/tst-tlsmod12.c: Likewise.
32414 * elf/tst-tlsmod13.c: Likewise.
32415 * elf/tst-tlsmod13a.c: Likewise.
32416 * elf/tst-tlsmod14a.c: Likewise.
32417 * elf/tst-tlsmod15b.c: Likewise.
32418 * elf/tst-tlsmod16a.c: Likewise.
32419 * elf/tst-tlsmod16b.c: Likewise.
32420 * elf/tst-tlsmod7.c: Likewise.
32421 * elf/tst-tlsmod8.c: Likewise.
32422 * elf/tst-tlsmod9.c: Likewise.
32423 * gmon/gmon.c: Likewise.
32424 * grp/fgetgrent_r.c: Likewise.
32425 * grp/putgrent.c: Likewise.
32426 * hurd/fopenport.c: Likewise.
32427 * include/libc-symbols.h: Likewise.
32428 * include/tls.h: Likewise.
32429 * intl/gettextP.h: Likewise.
32430 * intl/loadinfo.h: Likewise.
32431 * locale/global-locale.c: Likewise.
32432 * locale/localeinfo.h: Likewise.
32433 * mach/devstream.c: Likewise.
32434 * malloc/arena.c: Likewise.
32435 * malloc/set-freeres.c: Likewise.
32436 * misc/err.c: Likewise.
32437 * misc/getttyent.c: Likewise.
32438 * misc/mntent_r.c: Likewise.
32439 * posix/getopt.c: Likewise.
32440 * posix/wordexp.c: Likewise.
32441 * pwd/fgetpwent_r.c: Likewise.
32442 * resolv/Versions: Likewise.
32443 * resolv/res_hconf.c: Likewise.
32444 * shadow/fgetspent_r.c: Likewise.
32445 * shadow/putspent.c: Likewise.
32446 * stdio-common/printf_fphex.c: Likewise.
32447 * stdio-common/tmpfile.c: Likewise.
32448 * stdlib/abort.c: Likewise.
32449 * stdlib/fmtmsg.c: Likewise.
32450 * sunrpc/auth_unix.c: Likewise.
32451 * sunrpc/clnt_perr.c: Likewise.
32452 * sunrpc/clnt_tcp.c: Likewise.
32453 * sunrpc/clnt_udp.c: Likewise.
32454 * sunrpc/clnt_unix.c: Likewise.
32455 * sunrpc/openchild.c: Likewise.
32456 * sunrpc/svc_simple.c: Likewise.
32457 * sunrpc/svc_tcp.c: Likewise.
32458 * sunrpc/svc_udp.c: Likewise.
32459 * sunrpc/svc_unix.c: Likewise.
32460 * sunrpc/xdr.c: Likewise.
32461 * sunrpc/xdr_array.c: Likewise.
32462 * sunrpc/xdr_rec.c: Likewise.
32463 * sunrpc/xdr_ref.c: Likewise.
32464 * sunrpc/xdr_stdio.c: Likewise.
32466 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32468 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32470 2011-07-03 Andreas Jaeger <aj@suse.de>
32472 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32473 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32474 regenerate with gen-libm-tests.pl.
32476 2010-05-12 Petr Baudis <pasky@suse.cz>
32479 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32480 around j0() zero points by switching to j1().
32481 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32486 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32490 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32493 Patch in part by Pavel Roskin <proski@gnu.org>.
32496 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32498 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32499 Free memory block if necessary.
32502 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32503 be NULL. Don't lock in this case.
32505 2011-09-09 Roland McGrath <roland@hack.frob.com>
32507 * elf/elf.h (ELFOSABI_GNU): New macro.
32508 (ELFOSABI_LINUX): Define to that.
32510 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32512 * string/strncat.c (strncat): Undef the symbol in case it has been
32513 defined in bits/string.h.
32515 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32517 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32519 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32522 2011-08-17 Andreas Jaeger <aj@suse.de>
32524 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32526 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32527 Ian Lance Taylor <iant@google.com>
32529 * math/libm-test.inc (lround_test): New testcase.
32530 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32532 2011-09-08 Ulrich Drepper <drepper@gmail.com>
32534 * Makefile: Remove support for automatic cvs check-ins.
32535 * Makerules: Likewise.
32536 * config.make.in: Likewise.
32537 * configure.in: Likewise.
32538 * intl/Makefile: Likewise.
32539 * locale/Makefile: Likewise.
32540 * po/Makefile: Likewise.
32541 * posix/Makefile: Likewise.
32542 * sysdeps/gnu/Makefile: Likewise.
32543 * sysdeps/mach/hurd/Makefile: Likewise.
32544 * sysdeps/sparc/sparc32/Makefile: Likewise.
32547 * posix/Makefile (bug-regex32-ENV): Define.
32548 Patch by John Stanley <jpsinthemix@verizon.net>.
32550 * misc/Makefile (headers): Add bits/select2.h.
32551 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32552 * misc/bits/select2.h: New file.
32553 * include/bits/select2.h: New file.
32554 * debug/Makefile (routines): Add fdelt_chk.
32555 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32556 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32558 * debug/fdelt_chk.c: New file.
32560 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32561 * wcsmbs/test-wmemcmp.c: Likewise.
32562 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32563 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32565 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32567 * string/Makefile (strop-tests): Add memcmp.
32568 * string/test-wmemcmp.c: New file.
32569 * string/test-memcmp.c: Add wmemcmp support.
32571 2011-09-08 Roland McGrath <roland@hack.frob.com>
32574 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32577 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32578 garbage value in a __mach_port_mod_refs call in the cases of the
32579 task-self and thread-self ports.
32581 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32583 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32585 2011-09-08 Andreas Schwab <schwab@redhat.com>
32587 * elf/dl-load.c (lose): Check for non-null L.
32589 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32591 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32593 * elf/dl-libc.c (dlerror_run): Pass back error code from
32597 * elf/dl-load.c (lose): Free l_origin if it is valid.
32599 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32601 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32602 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32606 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32608 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32610 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32611 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32612 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32613 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32614 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32615 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32616 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32617 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32618 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32619 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32621 2011-08-15 Alan Modra <amodra@gmail.com>
32624 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32625 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32626 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32627 ppc_mcount to static-only-routines.
32628 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32630 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32631 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32633 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32635 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32636 for finite and infinity parameters.
32638 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32641 and add nop instructions for throughput optimization.
32642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32644 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32647 aligned copy for power7 with vector-scalar instructions.
32648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32650 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32655 2011-09-07 Andreas Schwab <schwab@redhat.com>
32658 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32661 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32663 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32664 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32665 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32666 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32669 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32671 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32672 Forgot to demangle the pointer.
32674 * sysdeps/i386/sysdep.h: Define atom_text_section.
32675 * sysdeps/x86_64/sysdep.h: Likewise.
32676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32677 section with atom_text_section.
32678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32680 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32682 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32684 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32685 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32686 already be defined. Change to take two parameters and don't assign
32687 result to variable. Adjust all users.
32688 Define INTERNAL_GETTIME if not already defined.
32689 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32692 HAVE_CLOCK_GETTIME_VSYSCALL.
32693 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32696 gettimeofday vsyscall, just use time.
32698 2011-09-06 Andreas Schwab <schwab@redhat.com>
32700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32703 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32705 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32709 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32711 syscall if possible.
32713 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32715 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32716 e_ident. Don't pass to find_mapsXX.
32717 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32719 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32722 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32723 * sysdeps/x86_64/multiarch/strchr.S: Update.
32724 Check bit_slow_BSF bit.
32725 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32726 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32727 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32729 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32732 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32734 (tryshell): Define.
32735 (__spawni): Change last parameter to be flag. Test
32736 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32737 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32738 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32739 * posix/spawni.c: Likewise.
32740 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32741 * posix/spawnp.c: Likewise. Change normal version to use
32742 SPAWN_XFLAGS_USE_PATH.
32743 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32744 SPAWN_XFLAGS_TRY_SHELL.
32747 * posix/glob.h: Remove gcc 1.x support.
32750 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32752 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32755 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32757 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32758 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32759 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32760 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32761 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32762 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32764 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32766 * sysdeps/x86_64/wcscmp.S: New file.
32768 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32769 wcscmp-c wcscmp-sse2
32770 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32771 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32772 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32773 * wcsmbs/wcscmp.c: Allow renaming.
32775 2011-09-05 David S. Miller <davem@davemloft.net>
32777 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32778 stack slot, rather than the struct return pointer slot.
32779 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32780 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32782 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32784 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32786 * po/ja.po: Update from translation team.
32789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32790 kernel in 64-bit binaries.
32792 2011-09-01 David S. Miller <davem@davemloft.net>
32794 * elf/elf.h (HWCAP_SPARC_*): Move to..
32795 * sysdeps/sparc/sysdep.h: this new file and add new values.
32796 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32797 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32798 _DL_HWCAP_COUNT to 24.
32799 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32801 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32802 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32803 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32805 instead of magic constants.
32806 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32808 2011-08-31 David S. Miller <davem@davemloft.net>
32810 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32812 Reimplement to do errno handling inline.
32813 (SYSCALL_ERROR_HANDLER): New macro.
32814 (__SYSCALL_STRING): Do not do errno handling in asm.
32815 (__CLONE_SYSCALL_STRING): Delete.
32816 (__INTERNAL_SYSCALL_STRING): Delete.
32817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32818 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32819 (PSEUDO): Reimplement to do errno handling inline.
32820 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32821 (SYSCALL_ERROR_HANDLER): New macro.
32822 (__SYSCALL_STRING): Do not do errno handling in asm.
32823 (__CLONE_SYSCALL_STRING): Delete.
32824 (__INTERNAL_SYSCALL_STRING): Delete.
32825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32826 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32828 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32829 (inline_syscall*): Add 'err' argument.
32830 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32831 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32832 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32833 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32835 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32836 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32838 2011-08-30 Andreas Schwab <schwab@redhat.com>
32840 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32842 2011-08-29 Jiri Olsa <jolsa@redhat.com>
32844 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32847 2011-08-24 David S. Miller <davem@davemloft.net>
32849 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32851 2011-08-24 Andreas Schwab <schwab@redhat.com>
32853 * elf/Makefile: Add rules to build and run unload8 test.
32854 * elf/unload8.c: New file.
32855 * elf/unload8mod1.c: New file.
32856 * elf/unload8mod1x.c: New file.
32857 * elf/unload8mod2.c: New file.
32858 * elf/unload8mod3.c: New file.
32860 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32863 2011-08-23 David S. Miller <davem@davemloft.net>
32865 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32866 subtract stack bias.
32867 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32868 %sp not %fp in calculations.
32869 (_JMPBUF_UNWINDS_ADJ): Likewise.
32871 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32872 (aio_suspend): Call it to force an exception region around the
32873 AIO_MISC_WAIT() invocation.
32875 2011-08-23 Andreas Schwab <schwab@redhat.com>
32877 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32880 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32882 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32884 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32885 and <dl-machine.h>.
32886 (Elf64_FuncDesc): Remove.
32888 2011-08-22 David S. Miller <davem@davemloft.net>
32890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32891 sigaltstack check, add missing cfi directives.
32892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32893 missing cfi directives, and sigaltstack handling.
32895 2011-08-16 Andreas Schwab <schwab@redhat.com>
32898 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32899 object is seen twice.
32900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32902 * elf/Makefile (distribute): Add tst-initorder2.c.
32903 (tests): Add tst-initorder2.
32904 (modules-names): Add tst-initorder2a tst-initorder2b
32905 tst-initorder2c tst-initorder2d. Add rules to build them.
32906 ($(objpfx)tst-initorder2.out): New rule.
32907 * elf/tst-initorder2.c: New file.
32908 * elf/tst-initorder2.exp: New file.
32910 2011-08-22 Andreas Schwab <schwab@redhat.com>
32912 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32914 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32915 dependencies back to end of function.
32917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32918 $(elfobjdir)/ld.so.
32920 2011-08-21 Ulrich Drepper <drepper@gmail.com>
32922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32923 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32925 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32926 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32927 of __vdso_gettimeofday.
32928 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32929 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32931 (_libc_vdso_platform_setup): Remove initialization of
32932 __vdso_gettimeofday and __vdso_time.
32934 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32936 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32937 and fgetc_unlocked.
32938 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32941 * elf/dl-open.c (add_to_global): Report additions to the global scope
32942 for LD_DEBUG=scopes.
32943 (dl_open_worker): Also print scope of newly loaded dependencies.
32944 (_dl_show_scope): Indicate if there is no scope.
32947 * stdio-common/Makefile (tests): Add bug24.
32948 * stdio-common/bug24.c: New file.
32950 2011-08-19 Andreas Jaeger <aj@suse.de>
32953 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32954 non-existant file when using close-on-exec mode.
32956 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32959 the very first instruction.
32961 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32962 the CFI state in the end.
32963 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32964 inclusion of dl-trampoline.h.
32965 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32967 2011-08-19 Andreas Schwab <schwab@redhat.com>
32969 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32970 expectations for long double.
32972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32973 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32975 2011-08-14 David S. Miller <davem@davemloft.net>
32977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32978 artificual limit depends upon the system page size.
32980 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32982 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32983 * resolv/Makefile: Define CFLAGS-libresolv.
32985 2011-08-17 Andreas Schwab <schwab@redhat.com>
32987 * nss/makedb.c (compute_tables): Make variables used in nested
32990 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32992 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32993 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32994 if buffer was too small.
32996 * elf/pldd.c (main): Attach to all threads in the process.
32997 Rewrite /proc handling to use *at functions.
32999 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33001 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33002 specifies first scope to show.
33003 (dl_open_worker): Update callers. Move printing scope of new
33004 object to before the relocation.
33005 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33006 * sysdeps/generic/ldsodefs.h: Update declaration.
33008 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33009 string for the scope number.
33011 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33013 * nscd/servicescache.c (cache_addserv): Make sure written is always
33016 2011-08-14 Roland McGrath <roland@hack.frob.com>
33018 * sysdeps/i386/i486/bits/atomic.h
33019 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33020 statement expression, so as to suppress "set but not used" warning.
33021 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33023 * string/strncat.c (STRNCAT): Use prototype definition.
33025 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33026 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33028 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33029 (localedef-modules): Add localedef.
33030 (locale-modules): Add locale.
33032 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33033 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33034 to avoid a warning.
33036 2011-08-14 David S. Miller <davem@davemloft.net>
33038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33039 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33041 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33043 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33044 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33045 * elf/rtld.c (dl_main): Set l_name of vDSO.
33046 Call _dl_show_scope when DL_DEBUG_SCOPES.
33047 (process_dl_debug): Recognize scopes flag and also set it for all.
33048 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33049 Declare _dl_show_scope.
33051 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33052 (do_dlopen): Pass caller_dlopen to dl_open.
33053 (__libc_dlopen_mode): Initialize caller_dlopen.
33055 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33056 of libc. Make tolower call locale-independent. Optimize a bit by
33057 using isdigit instead of isalnum.
33058 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33060 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33062 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33063 was a dependency or dynamically loaded.
33065 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33067 * intl/l10nflist.c: Allow architecture-specific pop function.
33068 * sysdeps/x86_64/l10nflist.c: New file.
33070 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33073 2011-08-10 Andreas Schwab <schwab@redhat.com>
33075 * include/dirent.h: Add libc_hidden_proto for scandirat and
33076 scandirat64. Don't declare __scandirat64.
33077 * dirent/scandirat.c: Add libc_hidden_def.
33078 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33079 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33081 2011-08-10 David S. Miller <davem@davemloft.net>
33083 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33087 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33089 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33091 * Versions.def [libc]: Add GLIBC_2.15.
33092 * dirent/Makefile (routines): Add scandirat and scandirat64.
33093 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33095 * dirent/dirent.h: Declare scandirat and scandirat64.
33096 * dirent/scandirat.c: New file.
33097 * dirent/scandirat64.c: New file.
33098 * sysdeps/wordsize-64/scandirat.c: New file.
33099 * sysdeps/wordsize-64/scandirat64.c: New file.
33100 * dirent/opendir.c: Define opendirat.
33101 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33103 * dirent/scandir64.c: Adjust for scandir.c change.
33104 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33105 __scandirat64, and __scandir_cancel_handler.
33106 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33107 additional parameter and use openat instead of open (outside of ld.so).
33108 Add new __opendir as wrapper around __opendirat.
33109 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33110 here without requiring old scandirat implementation.
33112 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33114 * dirent/scandir.c (cancel_handler): Renamed to
33115 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33116 defined. Adjust users.
33117 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33118 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33120 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33122 * string/test-string.h (IMPL): Use __STRING to expand name and then
33125 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33128 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33130 * string/Makefile: Update.
33131 (strop-tests): Append strncat.
33132 * string/test-wcscmp.c: New file.
33133 New comprehensive test for wcscmp.
33134 * string/test-strcmp.c: Update.
33135 (WIDE): New define.
33137 2011-07-22 Andreas Schwab <schwab@redhat.com>
33139 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33142 2011-07-26 Andreas Schwab <schwab@redhat.com>
33144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33145 encoding to ACE if AI_IDN.
33147 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33150 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33152 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33154 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33155 Fix overflow bug in strncat.
33156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33158 * string/test-strncat.c: Update.
33159 Add new tests for checking overflow bugs.
33161 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33164 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33165 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33166 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33167 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33168 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33169 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33170 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33171 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33174 (USE_AS_STRCAT): Define.
33175 Add strcat and strncat support.
33176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33178 2011-07-25 Andreas Schwab <schwab@redhat.com>
33180 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33181 __n bigger than INT_MAX+1.
33182 (__strncmp_g): Likewise.
33184 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33186 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33187 * libio/stido.h: Likewise.
33189 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33194 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33197 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33201 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33206 (_dl_x86_64_save_sse): Likewise.
33208 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33212 (_dl_x86_64_save_sse): Likewise.
33214 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33216 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33218 2011-07-21 Andreas Schwab <schwab@redhat.com>
33220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33222 (_dl_x86_64_save_sse): Use correct AVX check.
33224 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33227 bug in strncpy/strncat.
33228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33230 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33232 * string/tester.c (test_strcat): Add tests for different alignments
33233 of source and destination.
33234 (test_strncat): Likewise.
33236 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33239 * posix/glob.c (glob): Check passed in values before using them in
33240 expressions to avoid some overflows.
33241 (glob_in_dir): Likewise.
33244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33245 check for AVX enablement so that we don't crash with old kernels and
33247 * elf/tst-audit4.c: Add same checks here.
33248 * elf/tst-audit6.c: Likewise.
33250 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33252 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33254 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33256 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33258 * po/cs.po: Update from translation team.
33259 * po/bg.po: Likewise.
33261 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33263 * misc/sys/cdefs.h: Add support for const attribute.
33264 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33265 to gnu_dev_{major,minor,makedev} functions.
33267 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33269 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33271 2011-07-20 Andreas Schwab <schwab@redhat.com>
33273 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33276 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33279 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33280 register in order to avoid conflicts with the soft frame pointer
33281 being held in r11 when necessary.
33282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33283 (INTERNAL_VSYSCALL_NCS): Likewise.
33285 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33287 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33288 * elf/dl-fini.c (_dl_fini): Adjust caller.
33289 * elf/dl-close.c (_dl_close_worker): Likewise.
33290 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33292 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33294 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33295 "aux_cache->nlibs < 0".
33297 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33298 in the reload-count case.
33300 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33303 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33304 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33305 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33306 * sysdeps/x86_64/multiarch/strcat.S: New file.
33307 * sysdeps/x86_64/multiarch/strncat.S: New file.
33308 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33310 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33311 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33313 (USE_AS_STRCAT): Define.
33314 Add strcat and strncat support.
33315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33317 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33318 * string/strncat.c: Update.
33319 (USE_AS_STRNCAT): Define.
33320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33321 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33323 * sysdeps/x86_64/multiarch/init-arch.h
33324 (bit_Prefer_PMINUB_for_stringop): New.
33325 (index_Prefer_PMINUB_for_stringop): Likewise.
33326 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33327 bit_Prefer_PMINUB_for_stringop.
33329 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33331 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33333 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33334 of casting of buffer.
33335 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33336 buffer32 and buffer64.
33337 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33338 writes instead of casting of buffer.
33339 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33341 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33344 2011-07-19 Andreas Schwab <schwab@redhat.com>
33346 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33348 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33350 * nscd/nscd.c (termination_handler): Don't do anything for a database
33351 if it has not yet been initialized.
33353 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33355 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33357 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33359 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33361 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33363 * po/nl.po: Update from translation team.
33364 * po/sv.po: Likewise.
33366 2011-07-16 Roland McGrath <roland@hack.frob.com>
33368 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33369 now disallowed by GCC.
33371 * configure.in (use-default-link): Default to yes if a test -shared
33372 link meets our qualifications.
33373 * configure: Regenerated.
33375 * config.make.in (output-format): New variable.
33376 * configure.in: Check for ld --print-output-format support.
33377 * configure: Regenerated.
33378 * Makerules ($(common-objpfx)format.lds)
33379 [$(output-format) != unknown]: Just use $(output-format),
33380 instead of the linker-script munging.
33382 2011-07-14 Roland McGrath <roland@hack.frob.com>
33384 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33385 of $(common-objpfx)shlib.lds.
33386 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33388 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33389 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33391 * configure.in (-z relro check): Adjust test code to add a large
33392 writable data section after it.
33393 * configure: Regenerated.
33395 2011-07-11 Roland McGrath <roland@hack.frob.com>
33397 * configure.in (-z relro check): Fix test code to make the variable
33399 * configure: Regenerated.
33401 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33403 * nscd/nscd.h (struct traced_file): Define.
33404 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33405 elements. Add traced_files.
33406 (inotify_fd): Declare.
33407 (register_traced_file): Declare.
33408 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33409 (inotify_fd): Export.
33410 (resolv_conf_descr): Remove.
33411 (nscd_init): Move inotify descriptor creation to main.
33412 Don't register files for notification here.
33413 (register_traced_file): New function.
33414 (invalidate_cache): Don't use reset_res to determine whether to call
33415 res_init, go through the list of registered files.
33416 (main_loop_poll): The inotify descriptors are now stored in the
33417 structures for the traced files.
33418 (main_loop_epoll): Likewise
33419 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33420 to __nss_disable_nscd.
33421 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33422 for a database anymore. Check the records for all the registered
33424 * nss/Makefile (libnss_files-routines): Add files-init.
33425 (libnss_db-routines): Add db-init.
33426 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33427 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33428 * nss/nss_db/db-init.c: New file.
33429 * nss/nss_files/files-init.c: New file.
33430 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33431 __nss_lookup_function.
33432 (__nss_lookup_function): Call nss_load_library.
33433 (nss_load_all_libraries): New function.
33434 (__nss_disable_nscd): Take parameter with callback function for files
33435 to register. Set is_nscd. Load all the DSOs for the NSS modules
33436 used for the cached services.
33437 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33438 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33439 options for features to all the files in nscd.
33441 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33443 2011-07-10 Roland McGrath <roland@hack.frob.com>
33445 * csu/elf-init.c (__libc_csu_init): Comment typo.
33447 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33449 * po/pl.po: Update from translation team.
33450 * po/ja.po: Likewise.
33451 * po/ru.po: Likewise.
33452 * po/ko.po: Likewise.
33453 * po/fr.po: Likewise.
33455 2011-07-09 Roland McGrath <roland@hack.frob.com>
33457 * configure.in (.ctors/.dtors header and trailer check):
33458 Use an empirical test on a built program.
33459 * configure: Regenerated.
33461 * configure.in (-z relro check): Use an empirical test on a built DSO.
33462 Detect, but do not require, on ia64.
33463 * configure: Regenerated.
33465 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33466 Update tests that use readelf to use $READELF instead.
33467 * configure: Regenerated.
33469 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33471 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33472 if the result is not used.
33474 2011-07-05 Andreas Jaeger <aj@suse.de>
33477 * stdlib/tst-strtod.c: Add testcase.
33479 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33481 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33482 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33483 The latter has a higher limit. Take additional parameter to pass to
33485 (__pathconf): Pass file to __statfs_link_max.
33486 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33488 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33492 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33493 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33496 (__statfs_filesize_max): Likewise.
33497 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33499 2011-07-05 Andreas Jaeger <aj@suse.de>
33501 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33503 2011-07-06 Marek Polacek <mpolacek@redhat.com>
33505 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33507 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33510 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33512 * Makefile (strop-tests): Add strncat.
33513 * string/test-strncat.c: New file.
33515 2011-06-30 Marek Polacek <mpolacek@redhat.com>
33517 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33519 2011-06-21 Andreas Jaeger <aj@suse.de>
33521 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33522 Copy rule from iconvdata/Makefile.
33524 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33527 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33528 but no long options are defined, just return 'W'.
33530 2011-06-22 Marek Polacek <mpolacek@redhat.com>
33533 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33535 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33537 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33539 (innetgr): Likewise.
33541 2011-07-05 Roland McGrath <roland@hack.frob.com>
33543 * config.make.in (install_root): Default to $(DESTDIR).
33545 2011-07-05 Ulrich Drepper <drepper@gmail.com>
33547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33549 2011-07-02 Roland McGrath <roland@hack.frob.com>
33551 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33553 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33554 containing directory rather than embedding absolute directory names.
33556 * scripts/check-local-headers.sh: Rewritten using awk.
33557 Match by word, not by line. Print error messages for matches.
33558 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33560 * Makerules [shlib-lds-flags empty]:
33561 ($(common-objpfx)libc_pic.opts): New target.
33562 ($(common-objpfx)libc_pic.os.clean): New target.
33563 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33565 * config.make.in (OBJCOPY): New variable.
33566 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33567 * configure: Regenerated.
33569 * config.make.in (use-default-link): New variable.
33570 * configure.in (use_default_link): Grok --with-default-link to set it.
33571 * configure: Regenerated.
33572 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33573 (shlib-lds, shlib-lds-flags): Define to empty.
33575 * Makerules (shlib-lds): New variable.
33576 (shlib-lds-flags): New variable.
33577 (build-shlib, build-moduile, build-module-asneeded): Use it.
33578 ($(common-objpfx)libc.so): Use $(shlib-lds).
33579 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33580 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33582 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33583 DT_FLAGS/DT_FLAGS_1 with zero flags.
33585 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33586 linker script munging.
33588 2011-07-02 Ulrich Drepper <drepper@gmail.com>
33590 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33592 * crypt/sha512.c (sha512_process_block): Perform total addition using
33593 128-bit if possible.
33594 (__sha512_finish_ctx): Likewise.
33595 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33597 * crypt/sha256.c (SWAP64): Define.
33598 (sha256_process_block): Perform total addition using 64-bit if
33600 (__sha256_finish_ctx): Likewise.
33602 2011-07-01 Ulrich Drepper <drepper@gmail.com>
33604 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33605 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33606 * nscd/hstcache.c (cache_addhst): Likewise.
33607 * nscd/grpcache.c (cache_addgr): Likewise.
33608 * nscd/aicache.c (addhstaiX): Likewise
33609 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33611 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33613 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33615 * nscd/hstcache.c (cache_addhst): Likewise.
33616 * nscd/grpcache.c (cache_addgr): Likewise.
33617 * nscd/aicache.c (addhstaiX): Likewise
33619 2011-07-01 Andreas Schwab <schwab@redhat.com>
33621 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33622 domain only when needed.
33624 2011-06-30 Andreas Schwab <schwab@redhat.com>
33626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33627 is always restored.
33629 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33631 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33632 are re-adding the entry.
33633 * nscd/servicescache.c (cache_addserv): Likewise.
33635 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33637 * sysdeps/generic/dl-irel.h: fix protection against multiple
33639 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33641 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33644 * malloc/memusage.sh: Fix quoting in message.
33645 * debug/xtrace.sh: Likewise.
33647 * configure.in: Remove support for --experimental-malloc option, make
33649 * config.make.in: Likewise.
33650 * malloc/Makefile: Likewise.
33652 2011-06-27 Andreas Schwab <schwab@redhat.com>
33654 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33655 two-byte characters.
33657 2011-06-27 Roland McGrath <roland@hack.frob.com>
33659 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33660 AC_CACHE_CHECK invocation.
33661 * configure: Regenerated.
33663 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33665 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33668 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33669 bit from old_res_options.
33671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33673 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33674 value type for setfct.
33676 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33679 __gettimeofday instead of gettimeofday.
33681 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33683 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33685 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33692 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33695 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33696 strcpy-sse2-unaligned strncpy-sse2-unaligned
33697 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33698 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33699 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33700 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33701 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33704 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33705 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33706 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33707 (STRCPY): Support SSE2 and SSSE3 versions.
33709 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33713 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33714 kernels which artificially limit size of requests.
33716 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33719 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33720 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33721 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33722 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33723 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33724 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33725 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33727 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33728 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33729 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33730 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33731 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33732 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33734 Enable unaligned load optimization for Intel Core i3, i5 and i7
33736 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33738 (index_Fast_Unaligned_Load): Define.
33739 (HAS_FAST_UNALIGNED_LOAD): Define.
33741 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33743 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33745 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33749 until it is clear that the information is realy needed.
33750 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33752 2011-06-22 Andreas Schwab <schwab@redhat.com>
33754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33756 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33759 /sys/devices/system/cpu/online if it is usable.
33761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33762 reading the information from the /proc filesystem to once a second.
33764 2011-06-21 Andreas Jaeger <aj@suse.de>
33766 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33767 NULL after inclusion of kernel headers.
33769 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33771 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33772 calls to internal_setent.
33775 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33776 addresses using gethostbyname4_r ignore IPv4 addresses.
33778 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33779 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33781 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33783 2011-06-20 David S. Miller <davem@davemloft.net>
33785 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33787 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33789 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33790 (elf_irel): Use it.
33791 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33792 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33793 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33794 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33795 * sysdeps/x86_64/dl-irel.h: Likewise.
33797 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33798 * elf/dl-sym.c: Likewise.
33800 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33802 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33803 need to dereference resplen2.
33805 2011-06-14 Andreas Schwab <schwab@redhat.com>
33807 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33809 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33811 * Makeconfig: Define vardbdir and inst_vardbdir.
33812 * nss/Makefile: Add rules to install db-Makefile.
33814 * nss/nss_db/db-XXX.c: Cleanup.
33816 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33817 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33819 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33820 * nss/makedb.c: Implement -g option to specify that value strings
33821 are generated and should not be added to table iterated over for
33823 * nss/nss_db/db-initgroups.c: New file.
33825 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33828 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33829 (internal_getgrouplist): Adjust to name change.
33830 Update use_initgroups_entry if this is not the first call.
33831 * nss/databases.def: Add initgroups entry.
33833 * nss/makedb.c (compute_tables): Check result of multiple hash table
33834 sizes to minimize maximum chain length.
33836 2011-06-14 Ulrich Drepper <drepper@gmail.com>
33838 * Versions.def: Add entry for libnss_db.
33839 * shlib-versions: Likewise.
33840 * nss/Makefile: Add rules to build libnss_db.
33841 * nss/Versions: Add libnss_db information. Organize libnss_files
33843 * nss/db-Makefile: Add gshadow support. Change rules for the new
33844 makedb progra. Some minor improvements to generate smaller files.
33845 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33847 * nss/makedb.c: ...here.
33848 Improve database format to be smaller and require less memory at
33850 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33852 * nss/nss_db/db-netgrp.c: Likewise.
33853 * nss/nss_db/db-open.c: Likewise.
33854 * nss/nss_files/flies-XXX.x: Adjust comments.
33855 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33856 * nss/nss_files/files-grp.c: Likewise.
33857 * nss/nss_files/files-hosts.c: Likewise.
33858 * nss/nss_files/files-network.c: Likewise.
33859 * nss/nss_files/files-proto.c: Likewise.
33860 * nss/nss_files/files-pwd.c: Likewise.
33861 * nss/nss_files/files-rpc.c: Likewise.
33862 * nss/nss_files/files-service.c: Likewise.
33863 * nss/nss_files/files-sgrp.c: Likewise.
33864 * nss/nss_files/files-spwd.c: Likewise.
33865 * nss/nss_db/db-alias.c: Removed.
33866 * nss/nss_db/dummy-db.h: Removed.
33868 2011-06-02 Ulrich Drepper <drepper@gmail.com>
33870 * nss/makedb.c: Rewritten to not use database library.
33871 * nss/Makefile: Update to build new makedb program.
33873 2011-06-14 Andreas Jaeger <aj@suse.de>
33875 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33876 memset declaration.
33878 2011-06-10 Andreas Schwab <schwab@redhat.com>
33880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33883 2011-06-10 Roland McGrath <roland@hack.frob.com>
33885 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33886 * elf/Makefile ($(objpfx)ld.so): Likewise.
33888 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33889 Don't list ld.so twice in dependencies.
33891 * posix/bug-regex31.c: Include <stdlib.h>.
33893 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33895 * nis/nss_compat/compat-spwd.c
33896 (getspent_next_nss_netgr): Remove unused variable.
33897 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33899 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33900 nonmembers" output to use the right array.
33902 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33904 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33906 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33907 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33908 * catgets/gencat.c (read_input_file): Likewise.
33909 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33911 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33912 variable definition inside #if's controlling its use.
33914 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33916 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33918 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33920 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33923 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33925 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33926 * configure: Regenerated.
33928 * Makerules: Revert last change.
33929 * elf/Makefile: Likewise.
33931 2011-06-09 Roland McGrath <roland@hack.frob.com>
33933 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33934 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33935 (reloc-link): Likewise.
33937 2011-06-09 Ulrich Drepper <drepper@gmail.com>
33939 * elf/Makefile: Add rules to build pldd.
33940 * elf/pldd.c: New file.
33941 * elf/pldd-xx.c: New file.
33943 2011-06-07 Ulrich Drepper <drepper@gmail.com>
33945 * version.h: Update for 2.15 development version.
33947 2011-06-07 David S. Miller <davem@davemloft.net>
33949 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33952 elf_machine_lazy_rel): Likewise.
33953 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33955 elf_machine_lazy_rel): Likewise.
33956 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33957 dl_hwcap via passed in argument.
33958 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33961 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33963 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33965 2011-06-06 Roland McGrath <roland@hack.frob.com>
33968 * manual/fdl-1.1.texi: New file, verbatim from:
33969 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33970 * manual/lgpl-2.1.texi: New file, verbatim from:
33971 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33972 * manual/Makefile (licenses): New variable, list those new file names.
33974 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33976 * manual/fdl.texi: File removed.
33977 * manual/lesser.texi: File removed.
33978 * manual/libc.texinfo (Copying, Documentation License):
33979 Use new @include file names, put @appendix directive before @include.
33981 2011-06-04 Jakub Jelinek <jakub@redhat.com>
33984 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33985 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33986 (mq_open): Add __NTH.
33988 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33991 Assume Intel Core i3/i5/i7 processor if AVX is available.
33993 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33998 2011-05-31 Andreas Schwab <schwab@redhat.com>
34000 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34001 memory. Use alloca_account. Fix memory leak when retrying.
34003 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34005 * version.h (RELEASE): Bump for 2.14 release.
34006 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34008 * config.make.in (RANLIB): Remove entry.
34010 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34012 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34013 (libc.pot): Work around missing support for .ksh extension in xgettext.
34016 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34017 if both request failed.
34018 (send_dg): In case of server errors clear resplen or *resplen2.
34021 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34022 when there are multiple maps.
34023 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34024 (_dl_fini): Remove test here.
34026 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34028 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34031 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34032 bit from old_res_options.
34033 (gaih_inet): Likewise.
34036 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34039 * resolv/res_init.c (res_setoptions): Make the code more compact.
34042 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34046 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34048 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34051 * malloc/malloc.h: Declare malloc hook variables as volatile.
34053 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34057 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34058 raise in the comment.
34059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34061 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34063 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34066 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34067 grow the buffers more if it already has to be sufficient.
34068 (build_wcs_upper_buffer): Likewise.
34069 * posix/regexec.c (check_matching): Likewise.
34070 (clean_state_log_if_needed): Likewise.
34071 (extend_buffers): Don't enlarge buffers beyond size of the input
34073 Patches mostly by Emil Wojak <emil@wojak.eu>.
34074 * posix/bug-regex32.c: New file.
34075 * posix/Makefile (tests): Add bug-regex32.
34077 * locale/findlocale.c (_nl_find_locale): Return right away if
34078 _nl_explode_name failed.
34079 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34081 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34083 * debug/xtrace.sh: Unify messages.
34084 * malloc/memusage.sh: Likewise.
34087 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34088 time symbol from vDSO. Substitute with vsyscall if not available.
34089 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34092 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34093 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34094 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34095 Add sendmmsg and internal_sendmmsg.
34096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34097 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34098 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34100 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34101 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34104 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34107 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34108 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34114 * iconvdata/Makefile (tests): Add bug-iconv9.
34115 * iconvdata/bug-iconv9.c: New file.
34117 2011-05-27 Andreas Schwab <schwab@redhat.com>
34120 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34122 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34124 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34125 (struct user_regs_struct): Change intcs field back to cs.
34127 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34129 * po/ja.po: Update from translation team.
34131 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34134 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34135 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34137 2011-05-20 Andreas Schwab <schwab@redhat.com>
34139 * stdlib/longlong.h: Update from GCC.
34141 2011-05-23 Andreas Schwab <schwab@redhat.com>
34143 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34145 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34146 Add parameter name.
34147 (__sysconf): Pass it down.
34149 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34152 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34154 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34155 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34156 add in in __libc_use_alloca calls. Adjust callers.
34157 (glob): Use malloc in some situations.
34159 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34160 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34163 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34165 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34166 and CLOCK_BOOTTIME_ALARM.
34169 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34172 * string/_strerror.c (__strerror_r): Print negative errors as signed
34176 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34177 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34178 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34180 * configure.in: Fix typo in redirection and correct removal of test
34181 files in two cases.
34184 * locale/setlocale.c (new_composite_name): Fix test to check for
34185 identical name of all categories.
34188 * libio/filedoalloc.c (local_isatty): New function.
34189 (_IO_file_doallocate): Use local_isatty.
34190 * stdio-common/perror.c (perror): In case a new stream is used
34191 forward the stream error.
34192 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34195 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34200 * include/alloca.h (extend_alloca_account): Define.
34203 * posix/regex.h: Fix comments with documentation of user-accessible
34204 fields after compilation and describe correct free'ing of pattern
34205 after re_compile_pattern.
34206 Patch by Reuben Thomas <rrt@sc3d.org>.
34208 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34210 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34211 and -mno-altivec to prevent the compiler from using Altivec and/or
34212 VSX instructions when the corresponding registers are not available.
34214 2011-05-19 Andreas Schwab <schwab@redhat.com>
34216 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34218 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34220 * libio/freopen.c (freopen): Use __dup2, not dup2.
34221 * libio/freopen64.c (freopen64): Likewise.
34223 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34226 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34227 * math/Makefile (tests): Add test-powl.
34228 (CFLAGS-test-powl.c): Define.
34229 * math/test-powl.c: New file.
34231 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34233 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34235 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34238 * iconvdata/gb18030.c: Update to GB18020-2005.
34240 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34242 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34243 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34244 Patch by Aharon Robbins <arnold@skeeve.com>.
34247 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34251 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34252 through underflows.
34255 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34256 point to strings before performing equality test for error_one_per_line
34260 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34264 (struct user_fpregs_struct): Avoid __uint*_t types.
34267 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34268 symbol info. Use it instead of calling _dl_addr locally.
34269 (lock_and_info): New function.
34270 (tr_freehook): Call lock_and_info and pass symbol info as additional
34271 parameter to tr_where.
34272 (tr_mallochook): Likewise.
34273 (tr_reallochook): Likewise.
34274 (tr_memalignhook): Likewise.
34276 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34277 used and couldn't be at all thread-safe.
34279 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34281 * libio/freopen.c (freopen): Don't close old file descriptor
34282 before the new one is opened. Instead dup the new file descriptor
34283 to the old one after the new stream is created.
34284 * libio/freopen64.c (freopen64): Likewise.
34285 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34286 * libio/fileops.c (_IO_new_file_close_it): Handle new
34287 _IO_FLAGS2_NOCLOSE flag.
34288 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34289 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34290 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34291 _IO_FLAGS2_NOCLOSE flag.
34292 * include/unistd.h: Add hidden_proto for dup3.
34293 Define __have_dup3.
34294 * io/dup3.c: Define hidden symbol.
34295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34298 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34299 when an incomplete long option is used.
34300 * posix/tst-getopt_long1.c: New file.
34301 * posix/Makefile (tests): Add tst-getopt_long1.
34304 * scripts/config.guess: Update from autoconf-2.68.
34305 * scripts/config.sub: Likewise.
34308 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34310 (has_cpuclock): ...this. New function.
34311 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34312 macro here based on has_cpuclock code.
34315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34316 First byte (not low byte) is now always NUL.
34317 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34320 Use non-cancelable interfaces.
34323 * locale/iso-639.def: Add entry for Sorani.
34326 * include/stdlib.h: Move include protection to the right place.
34327 Define abort_msg_s. Declare __abort_msg with it.
34328 * stdlib/abort.c (__abort_msg): Adjust type.
34329 * assert/assert.c (__assert_fail_base): New function. Majority
34330 of code from __assert_fail. Allocate memory for __abort_msg with
34332 (__assert_fail): Now call __assert_fail_base.
34333 * assert/assert-perr.c: Remove bulk of implementation. Use
34334 __assert_fail_base.
34335 * include/assert.hL Declare __assert_fail_base.
34336 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34338 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34340 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34344 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34345 until all modules are registered in the DTV.
34346 * elf/Makefile: Add rules to build and run tst-tls19.
34347 * elf/tst-tls19.c: New file.
34348 * elf/tst-tls19mod1.c: New file.
34349 * elf/tst-tls19mod2.c: New file.
34350 * elf/tst-tls19mod3.c: New file.
34351 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34354 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34358 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34359 two-byte sequence errors.
34360 * iconvdata/Makefile (tests): Add bug-iconv8.
34361 * iconvdata/bug-iconv8.c: New file.
34364 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34367 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34370 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34371 (dummy_getcfa): New function.
34372 (init): Get _Unwind_GetCFA address, use dummy if not found.
34373 (backtrace_helper): In recursion check, also check whether CFA changes.
34374 (__backtrace): Completely initialize arg.
34376 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34377 storing incomplete byte sequence in state object. Avoid testing for
34378 guaranteed too small input if we know there is enough data available.
34380 2011-05-11 Andreas Schwab <schwab@redhat.com>
34382 * Makeconfig (+link-pie): Indent.
34383 * Rules (binaries-pie): Define if $(have-fpie) and
34385 (binaries-shared): Also filter out $(binaries-pie).
34386 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34387 * nscd/Makefile (others-pie): Add nscd.
34388 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34389 ($(objpfx)nscd): Remove command override.
34390 * login/Makefile (others-pie): Add pt_chown.
34391 ($(objpfx)pt_chown): Remove command override.
34392 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34393 remove command overrides.
34395 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34397 * libio/tst_putwc.c: Fix error messages.
34400 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34401 currently writing and seek to current position when not.
34402 * libio/Makefile (tests): Add bug-fclose1.
34403 * libio/bug-fclose1.c: New file.
34405 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34408 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34409 don't set DF_1_NODELETE here.
34410 (do_lookup_x): When entering new entry test for copy relocation
34411 and if necessary set DF_1_NODELETE flag.
34412 * elf/tst-unique4.cc: New file.
34413 * elf/tst-unique4.h: New file.
34414 * elf/tst-unique4lib.cc: New file.
34415 * elf/Makefile: Add rules to build and run tst-unique4.
34416 Patch by Piotr Bury <pbury@goahead.com>.
34418 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34421 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34424 * misc/mntent_r.c (addmntent): Flush the stream after the output
34427 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34428 (is_trusted_path_normalize): Skip initial colon. Append slash
34429 to empty buffer. Duplicate is_trusted_path code but allow
34430 constructed patch to be prefix.
34431 (is_dst): Allow $ORIGIN followed by /.
34432 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34433 Correct testing of result of is_trusted_path_normalize
34434 (decompose_rpath): Fix warning.
34436 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34439 * grp/initgroups.c (internal_getgrouplist): When we found the service
34440 list through the initgroups entry in nsswitch.conf do not always
34441 continue on a successful lookup. Don't always use the
34442 __nss_group_database value if it is set.
34443 * nss/nsswitch.conf (initgroups): Change action for successful db
34444 lookup to continue for compatibility.
34446 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34449 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34451 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34453 * iconvdata/tst-tables.sh: Likewise.
34454 * iconvdata/cp770.c: New file.
34455 * iconvdata/cp771.c: New file.
34456 * iconvdata/cp772.c: New file.
34457 * iconvdata/cp773.c: New file.
34458 * iconvdata/cp774.c: New file.
34459 * iconvdata/testdata/CP770: New file.
34460 * iconvdata/testdata/CP770..UTF8: New file.
34461 * iconvdata/testdata/CP771: New file.
34462 * iconvdata/testdata/CP771..UTF8: New file.
34463 * iconvdata/testdata/CP772: New file.
34464 * iconvdata/testdata/CP772..UTF8: New file.
34465 * iconvdata/testdata/CP773: New file.
34466 * iconvdata/testdata/CP773..UTF8: New file.
34467 * iconvdata/testdata/CP774: New file.
34468 * iconvdata/testdata/CP774..UTF8: New file.
34470 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34472 * iconvdata/gen-8bit-gap.sh: Likewise.
34473 * iconvdata/gen-8bit.sh: Likewise.
34475 * locale/iso-639.def: Add ary entry.
34478 * locale/C-translit.h.in: Add U20A1 transliteration.
34481 * locale/iso-639.def: Add wae entry.
34482 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34485 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34489 * locale/C-translit.h.in: Add entry for U20B9.
34490 Patch by pravin.d.s@gmail.com.
34492 2011-05-08 Ulrich Drepper <drepper@gmail.com>
34495 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34496 ENAMETOOLONG use generic getcwd.
34497 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34498 in rtld. Use *stat64.
34499 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34500 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34501 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34502 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34503 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34504 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34505 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34506 __fstatat64 macros.
34507 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34508 * dirent/rewinddir.c: Add libc_hidden_def.
34509 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34510 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34512 * include/dirent.h (__alloc_dir): Add flags parameter.
34513 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34514 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34516 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34517 from fdopendir if O_CLOEXEC is already set.
34519 2011-03-15 Alan Modra <amodra@gmail.com>
34521 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34522 l_tls_firstbyte_offset non-zero. Save padding offset in
34523 l_tls_firstbyte_offset for later use.
34524 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34525 freeing static tls block.
34527 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34529 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34530 where #ifdef was intended. The intent is to prevent ARG_MAX from
34531 being defined by the kernel headers.
34533 2011-05-07 Ulrich Drepper <drepper@gmail.com>
34536 * resolv/resolv.h: Define RES_NOTLDQUERY.
34537 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34538 no-tld-query and set RES_NOTLDQUERY.
34539 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34540 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34541 modern BIND to search name as TLD unless forbidden.
34543 2011-05-07 Petr Baudis <pasky@suse.cz>
34544 Ulrich Drepper <drepper@gmail.com>
34547 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34548 (is_trusted_path): ...to here.
34549 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34550 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34551 using is_trusted_path_normalize() in setuid scripts.
34553 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34555 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34556 __BEGIN/__END_DECLS.
34558 2011-05-06 Ulrich Drepper <drepper@gmail.com>
34560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34561 NSS_STATUS_NOTFOUND if no record was found.
34563 2011-05-05 Andreas Schwab <schwab@redhat.com>
34565 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34566 (headers-not-in-tirpc): Remove rpc/netdb.h
34567 * resolv/netdb.h: Revert last change.
34569 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34571 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34572 circular dependency between libgcc.a and libc.a.
34574 2011-05-05 Andreas Schwab <schwab@redhat.com>
34576 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34577 * nis/Makefile: Don't install rpcsvc/*.
34578 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34579 instead of <rpc/types.h>.
34580 (MAXHOSTNAMELEN): Define.
34582 2011-05-03 Andreas Schwab <schwab@redhat.com>
34584 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34586 2011-04-28 Maciej Babinski <mbabinski@google.com>
34589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34590 gethostbyname4_r when IPv6 results are possible.
34592 2011-05-02 Ulrich Drepper <drepper@gmail.com>
34595 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34596 _PC_PIPE_BUF handling.
34598 2011-04-30 Bruno Haible <bruno@clisp.org>
34601 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34602 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34604 * inet/getnameinfo.c (getnameinfo): Likewise.
34606 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34608 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34609 to groups setting in database lookup.
34610 * nss/nsswitch.conf: Add initgroups entry.
34612 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34615 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34617 Patch by Eric Blake <eblake@redhat.com>.
34619 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34621 * sunrpc/Makefile (need-export-routines): Add svc_run.
34622 (routines): Remove svc_run.
34623 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34624 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34625 * sunrpc/svc_run.c (svc_run): Likewise.
34626 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34628 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34631 problem in reallocation in last patch.
34633 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34635 * sunrpc/Makefile: Move inclusion of Rules.
34637 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34639 * nss/nss_files/files-initgroups.c: New file.
34640 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34641 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34642 _nss_files_initgroups_dyn.
34644 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34646 * elf/elf.h (R_ARM_IRELATIVE): Define.
34648 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34650 * po/ru.po: Update from translation team.
34652 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34654 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34657 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34660 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34661 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34663 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34664 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34666 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34668 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34670 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34674 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34677 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34679 * stdlib/bug-getcontext.c: New file.
34680 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34682 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34684 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34685 instructions into .machine "z9-109".
34686 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34687 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34689 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34691 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34692 between environment variables and auxiliary vector.
34694 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34696 * Makefile: Add rules to build linkobj/libc.so.
34697 * include/libc-symbols.h: Define libc_hidden_nolink.
34698 * include/rpc/auth.h: Mark functions which are to be hidden.
34699 * include/rpc/auth_des.h: Likewise.
34700 * include/rpc/auth_unix.h: Likewise.
34701 * include/rpc/clnt.h: Likewise.
34702 * include/rpc/des_crypt.h: Likewise.
34703 * include/rpc/key_prot.h: Likewise.
34704 * include/rpc/pmap_clnt.h: Likewise.
34705 * include/rpc/pmap_prot.h: Likewise.
34706 * include/rpc/pmap_rmt.h: Likewise.
34707 * include/rpc/rpc_msg.h: Likewise.
34708 * include/rpc/svc.h: Likewise.
34709 * include/rpc/svc_auth.h: Likewise.
34710 * include/rpc/xdr.h: Likewise.
34711 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34712 * nss/Makefile: Likewise.
34713 * sunrpc/Makefile: Don't install headers. Build library with normal
34714 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34715 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34716 for the compat linking library. Remove use of INTDEF/INTUSE.
34717 * sunrpc/auth_none.c: Likewise.
34718 * sunrpc/auth_unix.c: Likewise.
34719 * sunrpc/authdes_prot.c: Likewise.
34720 * sunrpc/authuxprot.c: Likewise.
34721 * sunrpc/clnt_gen.c: Likewise.
34722 * sunrpc/clnt_perr.c: Likewise.
34723 * sunrpc/clnt_raw.c: Likewise.
34724 * sunrpc/clnt_simp.c: Likewise.
34725 * sunrpc/clnt_tcp.c: Likewise.
34726 * sunrpc/clnt_udp.c: Likewise.
34727 * sunrpc/clnt_unix.c: Likewise.
34728 * sunrpc/des_crypt.c: Likewise.
34729 * sunrpc/des_soft.c: Likewise.
34730 * sunrpc/get_myaddr.c: Likewise.
34731 * sunrpc/key_call.c: Likewise.
34732 * sunrpc/key_prot.c: Likewise.
34733 * sunrpc/netname.c: Likewise.
34734 * sunrpc/pm_getmaps.c: Likewise.
34735 * sunrpc/pm_getport.c: Likewise.
34736 * sunrpc/pmap_clnt.c: Likewise.
34737 * sunrpc/pmap_prot.c: Likewise.
34738 * sunrpc/pmap_prot2.c: Likewise.
34739 * sunrpc/pmap_rmt.c: Likewise.
34740 * sunrpc/publickey.c: Likewise.
34741 * sunrpc/rpc_cmsg.c: Likewise.
34742 * sunrpc/rpc_common.c: Likewise.
34743 * sunrpc/rpc_dtable.c: Likewise.
34744 * sunrpc/rpc_prot.c: Likewise.
34745 * sunrpc/rpc_thread.c: Likewise.
34746 * sunrpc/rtime.c: Likewise.
34747 * sunrpc/svc.c: Likewise.
34748 * sunrpc/svc_auth.c: Likewise.
34749 * sunrpc/svc_authux.c: Likewise.
34750 * sunrpc/svc_raw.c: Likewise.
34751 * sunrpc/svc_run.c: Likewise.
34752 * sunrpc/svc_simple.c: Likewise.
34753 * sunrpc/svc_tcp.c: Likewise.
34754 * sunrpc/svc_udp.c: Likewise.
34755 * sunrpc/svc_unix.c: Likewise.
34756 * sunrpc/svcauth_des.c: Likewise.
34757 * sunrpc/xcrypt.c: Likewise.
34758 * sunrpc/xdr.c: Likewise.
34759 * sunrpc/xdr_array.c: Likewise.
34760 * sunrpc/xdr_float.c: Likewise.
34761 * sunrpc/xdr_intXX_t.c: Likewise.
34762 * sunrpc/xdr_mem.c: Likewise.
34763 * sunrpc/xdr_rec.c: Likewise.
34764 * sunrpc/xdr_ref.c: Likewise.
34765 * sunrpc/xdr_sizeof.c: Likewise.
34766 * sunrpc/xdr_stdio.c: Likewise.
34768 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34771 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34772 * sysdeps/ia64/dl-tls.h: Likewise.
34773 * sysdeps/powerpc/dl-tls.h: Likewise.
34774 * sysdeps/s390/dl-tls.h: Likewise.
34775 * sysdeps/sh/dl-tls.h: Likewise.
34776 * sysdeps/sparc/dl-tls.h: Likewise.
34777 * sysdeps/x86_64/dl-tls.h: Likewise.
34778 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34780 2011-03-14 Andreas Schwab <schwab@redhat.com>
34782 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34783 rpath element also skip the following colon.
34784 (expand_dynamic_string_token): Add is_path parameter and pass
34785 down to DL_DST_REQUIRED and _dl_dst_substitute.
34786 (decompose_rpath): Call expand_dynamic_string_token with
34787 non-zero is_path. Ignore empty rpaths.
34788 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34791 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34796 2011-04-09 Ulrich Drepper <drepper@gmail.com>
34799 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34800 Patch by Filipe David Manana <fdmanana@apache.org>.
34802 2011-04-07 Andreas Schwab <schwab@redhat.com>
34804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34805 Maintain aligned stack.
34806 (CHECK_RSP): Remove unused macro.
34808 2011-04-03 Ulrich Drepper <drepper@gmail.com>
34810 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34813 2011-04-02 Ulrich Drepper <drepper@gmail.com>
34815 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34817 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34819 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34822 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34823 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34824 * sysdeps/x86_64/memmove.c: New file.
34825 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34826 (memcpy): Renamed to ...
34827 (__new_memcpy): This.
34828 (memcpy): Provide GLIBC_2_14 memcpy.
34829 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34830 (memcpy): Provide GLIBC_2_2_5 memcpy.
34832 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34835 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34837 2011-03-30 Andreas Schwab <schwab@redhat.com>
34839 * misc/syncfs.c: New file.
34840 * misc/Makefile (routines): Add syncfs.
34841 * posix/unistd.h: Declare syncfs.
34842 * sysdeps/unix/syscalls.list: Add syncfs.
34844 2011-04-01 Andreas Schwab <schwab@redhat.com>
34846 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34849 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34853 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34856 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34860 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34866 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34867 sync_file_range.c with -fexceptions.
34868 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34869 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34870 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34871 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34872 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34873 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34874 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34875 sync_file_range as cancellation point
34876 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34877 now a wrapper around __call_sync_file_range with cancellation handling.
34878 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34879 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34880 function name to __call_sync_file_range.
34881 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34882 Add call_sync_file_range.
34884 2011-04-01 Andreas Schwab <schwab@redhat.com>
34886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34889 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34891 * iconv/iconv.h: Fix typo in comment.
34892 * io/fcntl.h: Likewise.
34893 * libio/stdio.h: Likewise.
34894 * posix/spawn.h: Likewise.
34895 * posix/unistd.h: Likewise.
34896 * stdlib/stdlib.h: Likewise.
34897 * time/time.h: Likewise.
34898 * wcsmbs/wchar.h: Likewise.
34900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34901 open_by_handle): Add.
34902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34903 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34904 Augment a few comments.
34905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34910 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34913 * io/fcntl.h (AT_EMPTY_PATH): Define.
34915 2011-03-30 Ulrich Drepper <drepper@gmail.com>
34917 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34918 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34919 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34921 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
34922 * Versions.def: Add GLIBC_2.14.
34923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34926 2011-03-22 Ulrich Drepper <drepper@gmail.com>
34928 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34930 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34932 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34935 * string/test-strncmp.c (do_page_test): New function.
34936 (check2): Likewise.
34937 (test_main): Call check2.
34938 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34940 2011-03-20 Ulrich Drepper <drepper@gmail.com>
34943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34944 Handle cache information in CPU leaf 4.
34945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34947 2011-03-18 Ulrich Drepper <drepper@gmail.com>
34950 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34951 character representation.
34952 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34954 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34956 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34957 END(__isnan) to END(__isnanf) to match function entry point/label
34958 EALIGN(__isnanf,...).
34960 2011-03-10 Jakub Jelinek <jakub@redhat.com>
34962 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34964 2011-03-10 Ulrich Drepper <drepper@gmail.com>
34967 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34968 copy from the symbol referenced in the relocation to initialize the
34970 Patch by Piotr Bury <pbury@goahead.com>.
34971 * elf/Makefile: Add rules to build and tst-unique3.
34972 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34973 * elf/tst-unique3.cc: New file.
34974 * elf/tst-unique3.h: New file.
34975 * elf/tst-unique3lib.cc: New file.
34976 * elf/tst-unique3lib2.cc: New file.
34978 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34980 2011-03-10 Mike Frysinger <vapier@gentoo.org>
34982 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34983 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34986 2011-03-06 Ulrich Drepper <drepper@gmail.com>
34988 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34989 to-be-loaded object along a path to loader is ld.so.
34991 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34992 Ulrich Drepper <drepper@gmail.com>
34994 * sysdeps/x86_64/memset.S: After aligning destination, code
34995 branches to different locations depending on the value of
34996 misalignment, when multiarch is enabled. Fix this.
34998 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35000 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35001 Set _x86_64_preferred_memory_instruction for AMD processsors.
35002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35003 Set bit_Prefer_SSE_for_memop for AMD processors.
35005 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35007 * libio/fmemopen.c (fmemopen): Optimize a bit.
35009 2011-03-03 Andreas Schwab <schwab@redhat.com>
35011 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35013 2011-03-03 Roland McGrath <roland@redhat.com>
35015 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35017 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35019 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35020 __bzero_ultra1 instead of __memset_ultra1.
35022 2011-02-23 Andreas Schwab <schwab@redhat.com>
35023 Ulrich Drepper <drepper@gmail.com>
35026 * include/link.h (struct link_map): Add l_orig_initfini.
35027 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35028 returning unsuccessfully.
35029 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35030 close of a file loaded at startup, restore the original l_initfini
35032 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35033 list, store the pointer.
35034 * elf/Makefile ($(objpfx)noload-mem): New rule.
35035 (noload-ENV): Define.
35036 (tests): Add $(objpfx)noload-mem.
35037 * elf/noload.c: Include <memcheck.h>.
35038 (main): Call mtrace. Close all opened handles.
35040 2011-02-17 Andreas Schwab <schwab@redhat.com>
35043 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35044 dependencies are missing.
35046 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35048 Fix __if_freereq crash: Unlike the generic version which uses free,
35050 * sysdeps/mach/hurd/ifreq.h: New file.
35052 2011-01-27 Petr Baudis <pasky@suse.cz>
35053 Ulrich Drepper <drepper@gmail.com>
35056 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35057 to extend_alloca().
35058 * stdio-common/bug23.c: New file.
35059 * stdio-common/Makefile (tests): Add bug23.
35061 2010-09-28 Andreas Schwab <schwab@redhat.com>
35062 Ulrich Drepper <drepper@gmail.com>
35065 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35066 before performing relro protection. At old place add assertion
35067 to make sure nothing changed.
35069 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35070 Glauber de Oliveira Costa <glommer@gmail.com>
35072 * elf/elf.h: Add new ARM TLS relocs.
35074 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35077 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35079 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35081 * sysdeps/wordsize-64/tst-writev.c: New file.
35083 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35085 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35086 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35087 insns in _dl_start to prevent a TOC reference before relocs are
35090 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35093 * Makeconfig: Remove RANLIB definition.
35094 * Makerules: Don't use RANLIB.
35095 * aclocal.m4: Remove ranlib test.
35096 * configure.in: No need to check for ranlib.
35097 * elf/rtld-Rules: Don't use RANLIB.
35099 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35101 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35103 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35104 inclusion protection macro.
35106 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35107 SIGRTMIN and SIGRTMAX and print information in that case only when
35108 SIGRTMIN is defined.
35110 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35112 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35113 arginfo fn returning -1.
35115 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35116 and thousands string is zero terminated.
35118 2011-02-03 Andreas Schwab <schwab@redhat.com>
35120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35121 sysdeps/unix/sysv/linux/bits/socket.h.
35123 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35125 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35126 (__CPU_COUNT): Remove old macros.
35127 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35128 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35129 (__CPU_ALLOC, __CPU_FREE): Add macros.
35130 (__sched_cpualloc, __sched_cpufree): Add declarations.
35132 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35134 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35135 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35136 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35137 (readdhstai): Return value of addhstaiX call.
35138 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35139 (addgrbyX): Return value returned by cache_addgr.
35140 (readdgrbyname): Return value returned by addgrbyX.
35141 (readdgrbygid): Likewise.
35142 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35143 (addpwbyX): Return value returned by cache_addpw.
35144 (readdpwbyname): Return value returned by addhstbyX.
35145 (readdpwbyuid): Likewise.
35146 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35147 (addservbyX): Return value returned by cache_addserv.
35148 (readdservbyname): Return value returned by addservbyX:
35149 (readdservbyport): Likewise.
35150 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35151 (addhstbyX): Return value returned by cache_addhst.
35152 (readdhstbyname): Return value returned by addhstbyX.
35153 (readdhstbyaddr): Likewise.
35154 (readdhstbynamev6): Likewise.
35155 (readdhstbyaddrv6): Likewise.
35156 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35157 (readdinitgroups): Return value returned by addinitgroupsX.
35158 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35159 (prune_cache): Keep track of timeout value of re-added entries.
35160 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35161 * nscd/nscd.h: Adjust prototypes of readd* functions.
35163 2011-02-04 Roland McGrath <roland@redhat.com>
35165 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35166 (nis_stats): Likewise.
35167 * nis/nis_modify.c (nis_modify): Likewise.
35168 * nis/nis_remove.c (nis_remove): Likewise.
35169 * nis/nis_add.c (nis_add): Likewise.
35171 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35173 * posix/fnmatch_loop.c: Add some consts.
35175 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35177 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35180 * config.make.in (config-cflags-novzeroupper): Define.
35181 * configure.in: Substitute libc_cv_cc_novzeroupper.
35182 * elf/Makefile (AVX-CFLAGS): Define.
35183 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35184 (CFLAGS-tst-auditmod4a.c): Likewise.
35185 (CFLAGS-tst-auditmod4b.c): Likewise.
35186 (CFLAGS-tst-auditmod6b.c): Likewise.
35187 (CFLAGS-tst-auditmod6c.c): Likewise.
35188 (CFLAGS-tst-auditmod7b.c): Likewise.
35189 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35191 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35193 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35194 function to the callback.
35195 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35197 2011-02-02 Andreas Schwab <schwab@redhat.com>
35199 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35202 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35205 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35207 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35209 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35212 * elf/Makefile: Add rules to build and run new test.
35213 * elf/tst-initorder.c: New file.
35214 * elf/tst-initorder.exp: New file.
35215 * elf/tst-initordera1.c: New file.
35216 * elf/tst-initordera2.c: New file.
35217 * elf/tst-initordera3.c: New file.
35218 * elf/tst-initordera4.c: New file.
35219 * elf/tst-initorderb1.c: New file.
35220 * elf/tst-initorderb2.c: New file.
35221 * elf/tst-order-a1.c: New file.
35222 * elf/tst-order-a2.c: New file.
35223 * elf/tst-order-a3.c: New file.
35224 * elf/tst-order-a4.c: New file.
35225 * elf/tst-order-b1.c: New file.
35226 * elf/tst-order-b2.c: New file.
35227 * elf/tst-order-main.c: New file.
35228 New test case by George Gensure <werkt0@gmail.com>.
35230 2010-10-01 Andreas Schwab <schwab@redhat.com>
35232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35233 decoding ACE if AI_CANONIDN.
35235 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35237 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35239 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35241 * version.h (RELEASE): Bump for 2.13 release.
35242 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35244 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35248 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35249 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35252 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35253 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35255 * posix/getconf.c: Update copyright year.
35256 * catgets/gencat.c: Likewise.
35257 * csu/version.c: Likewise.
35258 * debug/catchsegv.sh: Likewise.
35259 * debug/xtrace.sh: Likewise.
35260 * elf/ldconfig.c: Likewise.
35261 * elf/ldd.bash.in: Likewise.
35262 * elf/sprof.c (print_version): Likewise.
35263 * iconv/iconv_prog.c: Likewise.
35264 * iconv/iconvconfig.c: Likewise.
35265 * locale/programs/locale.c: Likewise.
35266 * locale/programs/localedef.c: Likewise.
35267 * malloc/memusage.sh: Likewise.
35268 * malloc/mtrace.pl: Likewise.
35269 * nscd/nscd.c (print_version): Likewise.
35270 * nss/getent.c: Likewise.
35272 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35273 PF_CAIF, and PF_ALG.
35274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35276 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35278 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35279 (modules-names): Use them.
35280 (ifunc-test-modules, ifunc-pie-tests): Define.
35281 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35282 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35283 (test-extras): Likewise.
35284 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35285 $(compile-command.c).
35286 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35287 (all-built-dso): Define.
35288 (check-textrel.out, check-execstack.out): Depend on it.
35290 * configure.in: Don't override --enable-multi-arch.
35292 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35295 * nscd/hstcache.c (tryagain): Define.
35296 (cache_addhst): Return tryagain not notfound for temporary errors.
35297 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35300 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35303 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35304 to make the syscall.
35305 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35308 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35309 and fall back to matching as normal character if the string ends before
35310 the matching ']' is found. This is what POSIX requires.
35311 * posix/testfnm.c: Adjust test result.
35312 * posix/globtest.sh: Adjust test result. Add new test.
35313 * posix/tst-fnmatch.input: Likewise.
35314 * posix/tst-fnmatch2.c: Add new test.
35316 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35318 * elf/Makefile (check-execstack): Revert last change. Depend on
35320 (check-execstack.h): New target.
35321 (generated): Add check-execstack.h.
35322 * elf/check-execstack.c: Include "check-execstack.h".
35323 (main): Revert last change.
35324 (handle_file): Return zero if GNU_STACK is absent and
35325 DEFAULT_STACK_PERMS doesn't include PF_X.
35327 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35329 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35330 in child fails because the descriptor is already closed.
35331 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35332 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35333 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35336 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35340 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35341 temporary buffer used to handle multi lookups locally.
35342 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35344 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35346 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35349 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35351 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35352 alignment for SSE2.
35354 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35357 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35358 characters. When rounding increased number of integer digits recompute
35360 * stdio-common/tst-grouping.c: New file.
35361 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35363 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35365 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35366 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35368 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35370 * bits/select.h: Likewise.
35372 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35374 * po/ja.po: Update from translation team.
35376 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35379 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35380 implementation just like for lxstat, fxstatat, et al.
35382 2010-12-27 Jim Meyering <meyering@redhat.com>
35385 * posix/regexec.c (build_trtable): Return failure indication upon
35386 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35388 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35391 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35392 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35394 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35397 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35400 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35401 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35403 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35405 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35406 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35407 script has SORT_BY_INIT_PRIORITY.
35408 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35409 NO_CTORS_DTORS_SECTIONS is defined.
35410 * elf/soinit.c: Likewise.
35411 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35412 NO_CTORS_DTORS_SECTIONS is defined.
35413 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35414 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35415 * sysdeps/sh/init-first.c: Likewise.
35416 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35418 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35420 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35421 always use the slow path.
35423 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35425 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35426 similar rule which adds the sysdep directories to the header search in
35427 order to pick up the correct platform stackinfo.h.
35428 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35429 perform test if it is, otherwise return successfully without testing.
35430 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35431 DEFAULT_STACK_PERMS define in stackinfo.h.
35432 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35433 defined in stackinfo.h.
35434 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35435 DEFAULT_STACK_PERMS defined in stackinfo.h.
35436 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35437 * sysdeps/ia64/stackinfo.h: Likewise.
35438 * sysdeps/s390/stackinfo.h: Likewise.
35439 * sysdeps/sh/stackinfo.h: Likewise.
35440 * sysdeps/sparc/stackinfo.h: Likewise.
35441 * sysdeps/x86_64/stackinfo.h: Likewise.
35442 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35443 PF_X for powerpc64. Retain PF_X for powerpc32.
35445 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35447 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35449 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35450 GETDENTS_64BIT_ALIGNED.
35452 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35454 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35456 2010-12-10 Andreas Schwab <schwab@redhat.com>
35458 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35462 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35464 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35465 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35467 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35470 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35473 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35475 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35477 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35479 * po/it.po: Update from translation team.
35481 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35486 2010-11-30 Ulrich Drepper <drepper@gmail.com>
35488 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35490 2010-11-24 Andreas Schwab <schwab@redhat.com>
35492 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35494 (gaih_getanswer_slice): Likewise.
35496 2010-10-20 Jakub Jelinek <jakub@redhat.com>
35498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35500 2010-05-31 Petr Baudis <pasky@suse.cz>
35503 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35504 silently even in the chroot mode.
35506 2010-11-22 Ulrich Drepper <drepper@gmail.com>
35508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35509 last patch a bit. Pretty printing
35511 2010-05-31 Petr Baudis <pasky@suse.cz>
35514 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35515 initialization of skip_initgroups_dyn.
35517 2010-11-19 Ulrich Drepper <drepper@gmail.com>
35519 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35522 2010-11-16 Ulrich Drepper <drepper@gmail.com>
35524 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35526 2010-11-11 Andreas Schwab <schwab@redhat.com>
35528 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35529 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35530 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35531 ($(objpfx)tst-fnmatch-mem): New rule.
35532 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35533 * posix/tst-fnmatch.c (main): Call mtrace.
35535 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35538 Support Intel processor model 6 and model 0x2c.
35540 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
35542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35545 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35548 * string/test-strncasecmp.c (check_result): New function.
35549 (do_one_test): Use it.
35550 (check1): New function.
35551 (test_main): Use it.
35552 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35553 Support strcasecmp and strncasecmp.
35555 2010-11-08 Ulrich Drepper <drepper@gmail.com>
35558 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35561 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35563 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35567 * sysdeps/x86_64/multiarch/bzero.S: New file.
35568 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35569 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35570 * sysdeps/x86_64/multiarch/memset.S: New file.
35571 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35573 Set bit_Prefer_SSE_for_memop for Intel processors.
35574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35576 (index_Prefer_SSE_for_memop): Define.
35577 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35579 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35581 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35582 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35584 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35587 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35588 (__x86_64_raw_data_cache_size_half): Likewise.
35589 (__x86_64_raw_shared_cache_size): Likewise.
35590 (__x86_64_raw_shared_cache_size_half): Likewise.
35592 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35593 (__x86_64_raw_data_cache_size_half): Likewise.
35594 (__x86_64_raw_shared_cache_size): Likewise.
35595 (__x86_64_raw_shared_cache_size_half): Likewise.
35596 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35597 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35598 and __x86_64_raw_shared_cache_size_half. Round
35599 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35600 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35601 to multiple of 256 bytes.
35603 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35606 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35607 of inacessible symlinks. Verify result of symlink before returning it.
35608 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35609 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35611 2010-10-28 Erich Ritz <erichritz@gmail.com>
35613 * math/math.h (isinf): Fix typo in comment.
35615 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35617 * po/da.po: Update from translation team.
35619 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35621 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35622 is added to the list.
35624 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35625 Ulrich Drepper <drepper@gmail.com>
35627 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35628 the global list here. Move code to...
35629 (_dl_add_to_namespace_list): ...here. New function.
35630 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35631 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35632 * elf/dl-load.c (lose): Don't remove the element from the list.
35633 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35634 (_dl_map_object): Likewise.
35636 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35639 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35640 into all bytes of SSE register.
35641 Patch by Richard Li <richardpku@gmail.com>.
35643 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35646 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35649 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35651 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35652 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35653 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35659 2010-10-22 Andreas Schwab <schwab@redhat.com>
35661 * include/dlfcn.h (__RTLD_SECURE): Define.
35662 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35663 mode & __RTLD_SECURE instead.
35664 (open_path): Rename preloaded parameter to secure.
35665 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35666 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35667 * elf/dl-deps.c (openaux): Likewise.
35668 * elf/rtld.c (struct map_args): Remove is_preloaded.
35669 (map_doit): Don't use it.
35670 (dl_main): Likewise.
35671 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35672 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35674 2010-09-09 Andreas Schwab <schwab@redhat.com>
35676 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35677 (sysd-rules-targets): Remove duplicates.
35678 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35679 rtld-%.$o dependency.
35681 2010-10-18 Andreas Schwab <schwab@redhat.com>
35683 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35684 _dl_map_object do it.
35686 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35688 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35689 fast fma builtins, define the macros in the C99 standard.
35690 (FP_FAST_FMAF): Likewise.
35691 (FP_FAST_FMAL): Likewise.
35692 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35694 * bits/mathdef.h: Update copyright year.
35695 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35697 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35699 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35700 builtins, define the macros in the C99 standard.
35701 (FP_FAST_FMAF): Likewise.
35702 (FP_FAST_FMAL): Likewise.
35703 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35705 (FP_FAST_FMAF): Likewise.
35707 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35710 * math/libm-test.inc (fma_test): Some new testcases.
35711 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35713 y and infinite z. Do multiplication by C already in long double.
35714 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35716 y and infinite z. Do bitwise or of inexact bit into u.d.
35717 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35718 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35719 * sysdeps/i386/fpu/s_fma.S: Removed.
35720 * sysdeps/i386/fpu/s_fmal.S: Removed.
35722 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35725 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35727 computation is not scheduled after fetestexcept. Fix value
35728 of minimum denormal long double.
35730 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35733 * math/libm-test.inc (fma_test): Add some more tests.
35734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35737 2010-10-15 Andreas Schwab <schwab@redhat.com>
35739 * scripts/data/localplt-s390-linux-gnu.data: New file.
35740 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35742 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35745 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35746 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35748 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35750 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35752 if one of x and y is very large and the other is subnormal.
35753 * sysdeps/s390/fpu/s_fmaf.c: New file.
35754 * sysdeps/s390/fpu/s_fma.c: New file.
35755 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35756 * sysdeps/powerpc/fpu/s_fma.S: New file.
35757 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35758 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35759 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35761 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35764 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35767 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35768 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35769 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35770 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35771 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35774 2010-10-12 Ulrich Drepper <drepper@redhat.com>
35777 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35778 * posix/bug-regex31.input: Add test case.
35780 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35782 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35783 * posix/bug-regex31.input: New file.
35786 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35787 (parse_sub_exp): Fix last change, use postorder.
35789 * posix/bug-regex31.c: New file.
35790 * posix/Makefile: Add rules to build and run bug-regex31.
35792 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35795 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35798 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35799 to have entries in sys_siglist.
35802 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35805 2010-10-07 Jakub Jelinek <jakub@redhat.com>
35808 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35809 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35810 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35811 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35813 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35814 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35815 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35816 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35817 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35818 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35819 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35820 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35821 * math/ftestexcept.c (fetestexcept): Likewise.
35822 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35823 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35824 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35825 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35826 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35827 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35830 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35833 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35836 2010-10-06 Ulrich Drepper <drepper@gmail.com>
35838 * string/bug-strstr1.c: New file.
35839 * string/Makefile: Add rules to build and run bug-strstr1.
35841 2010-10-05 Eric Blake <eblake@redhat.com>
35844 * string/str-two-way.h (two_way_long_needle): Always clear memory
35845 when skipping input due to the shift table.
35847 2010-10-03 Ulrich Drepper <drepper@gmail.com>
35850 * malloc/mcheck.c: Handle large requests.
35853 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35854 for strncmp and strncasecmp.
35855 * string/stratcliff.c: Add tests for strcmp and strncmp.
35856 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35858 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35860 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35863 2010-09-30 Andreas Jaeger <aj@suse.de>
35865 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35866 (CGROUP_SUPER_MAGIC): Define.
35867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35868 Handle btrfs and cgroup file systems.
35869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35872 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
35874 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35875 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35877 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35880 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35881 trying to locate the ELF header.
35883 2010-09-27 Andreas Schwab <schwab@redhat.com>
35886 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35887 Mask out sign-bit copies when constructing f_fsid.
35889 2010-09-24 Petr Baudis <pasky@suse.cz>
35891 * debug/stack_chk_fail_local.c: Add missing licence exception.
35892 * debug/warning-nop.c: Likewise.
35894 2010-09-15 Joseph Myers <joseph@codesourcery.com>
35896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35897 implementing getdents64 using getdents syscall, set d_type if
35898 __ASSUME_GETDENTS32_D_TYPE.
35900 2010-09-16 Andreas Schwab <schwab@redhat.com>
35902 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35903 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35905 2010-09-21 Ulrich Drepper <drepper@redhat.com>
35908 * posix/unistd.h: Undo change of feature selection for ftruncate from
35911 2010-09-20 Ulrich Drepper <drepper@redhat.com>
35913 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35916 2010-09-20 Andreas Schwab <schwab@redhat.com>
35918 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35920 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35922 2010-09-14 Andreas Schwab <schwab@redhat.com>
35924 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35925 variables after CHECK_SP call.
35926 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35928 2010-09-13 Andreas Schwab <schwab@redhat.com>
35929 Ulrich Drepper <drepper@redhat.com>
35931 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35932 re-relocationg ld.so.
35933 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35934 _dl_init_paths call.
35935 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35938 2010-09-14 Ulrich Drepper <drepper@redhat.com>
35940 * resolv/res_init.c (__res_vinit): Count the default server we added.
35942 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35943 Ulrich Drepper <drepper@redhat.com>
35946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35947 (____longjmp_chk): Use %ebx for saving value across system call.
35950 2010-09-06 Andreas Schwab <schwab@redhat.com>
35952 * manual/Makefile: Don't mix pattern rules with normal rules.
35954 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35956 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35958 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35959 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35960 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35961 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35965 2010-09-04 Ulrich Drepper <drepper@redhat.com>
35968 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35969 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35971 2010-09-02 Ulrich Drepper <drepper@redhat.com>
35973 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35974 * sysdeps/x86_64/addmul_1.S: Likewise.
35975 * sysdeps/x86_64/lshift.S: Likewise.
35976 * sysdeps/x86_64/mul_1.S: Likewise.
35977 * sysdeps/x86_64/rshift.S: Likewise.
35978 * sysdeps/x86_64/sub_n.S: Likewise.
35979 * sysdeps/x86_64/submul_1.S: Likewise.
35981 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35983 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35984 Define __sched_param instead of SCHED_* and sched_param when
35985 <bits/sched.h> is included with __need_schedparam defined.
35986 * bits/sched.h [__need_schedparam]
35987 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35988 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35989 (__defined_schedparam): Define to 1.
35990 (__sched_param): New structure, identical to sched_param.
35991 (__need_schedparam): Undefine.
35993 2010-08-31 Mike Frysinger <vapier@gentoo.org>
35995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35996 (epoll_create1): Declare.
35998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36000 2010-08-31 Andreas Schwab <schwab@redhat.com>
36003 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36004 shifting retval into place.
36006 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36008 * nis/rpcsvc/nis.h: Update copyright notice.
36009 * nis/rpcsvc/nis.x: Likewise.
36010 * nis/rpcsvc/nis_callback.h: Likewise.
36011 * nis/rpcsvc/nis_callback.x: Likewise.
36012 * nis/rpcsvc/nis_object.x: Likewise.
36013 * nis/rpcsvc/nis_tags.h: Likewise.
36014 * nis/rpcsvc/yp.h: Likewise.
36015 * nis/rpcsvc/yp.x: Likewise.
36016 * nis/rpcsvc/ypupd.h: Likewise.
36017 * nis/yp_xdr.c: Likewise.
36018 * nis/ypupdate_xdr.c: Likewise.
36020 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36021 mainly the body of pmap_getport. Add parameters to specify timeouts.
36022 (pmap_getport): Use __libc_rpc_getport.
36023 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36024 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36025 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36027 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36032 2010-08-27 Roland McGrath <roland@redhat.com>
36034 * sysdeps/i386/i686/multiarch/Makefile
36035 (CFLAGS-varshift.c): New variable.
36037 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36039 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36040 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36044 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36046 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36048 * sysdeps/x86_64/strlen.S: Unroll the loop.
36049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36050 strlen-sse2 strlen-sse2-bsf.
36051 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36052 __strlen_no_bsf if bit_Slow_BSF is set.
36053 (__strlen_sse42): Removed.
36054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36055 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36057 2010-08-25 Roland McGrath <roland@redhat.com>
36059 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36060 * sysdeps/x86_64/multiarch/varshift.c: New file.
36061 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36062 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36063 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36064 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36066 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36069 strlen-sse2 strlen-sse2-bsf.
36070 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36071 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36072 (__strlen_sse2): Removed.
36073 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36076 bit_Slow_BSF for Atom.
36077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36078 (index_Slow_BSF): Define.
36079 (HAS_SLOW_BSF): Define.
36081 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36084 * resolv/res_init.c (__res_vinit): When no server address at all
36085 is given default to loopback.
36087 2010-08-24 Roland McGrath <roland@redhat.com>
36089 * configure.in: Remove config-name.h generation.
36090 * configure: Regenerated.
36091 * config-name.in: File removed.
36092 * scripts/config-uname.sh: New file.
36093 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36094 ($(objdir)config-name.h): New target.
36096 * sunrpc/rpc_parse.h: Avoid nested comment.
36098 2010-08-24 Richard Henderson <rth@redhat.com>
36099 Ulrich Drepper <drepper@redhat.com>
36100 H.J. Lu <hongjiu.lu@intel.com>
36102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36104 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36105 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36106 _mm_alignr_epi8 with _mm_loadu_si128.
36107 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36108 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36109 (__m128i_shift_right): Removed.
36110 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36111 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36112 * sysdeps/x86_64/multiarch/varshift.h: New file.
36113 * sysdeps/x86_64/multiarch/varshift.S: New file.
36115 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36117 * configure.in: Move assembler checks to before sysdep dir checking.
36119 2010-08-20 Petr Baudis <pasky@suse.cz>
36121 * LICENSES: Sync the sunrpc license.
36123 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36125 * sunrpc/auth_des.c: Update copyright notice once again.
36126 * sunrpc/auth_none.c: Likewise.
36127 * sunrpc/auth_unix.c: Likewise.
36128 * sunrpc/authdes_prot.c: Likewise.
36129 * sunrpc/authuxprot.c: Likewise.
36130 * sunrpc/bindrsvprt.c: Likewise.
36131 * sunrpc/clnt_gen.c: Likewise.
36132 * sunrpc/clnt_perr.c: Likewise.
36133 * sunrpc/clnt_raw.c: Likewise.
36134 * sunrpc/clnt_simp.c: Likewise.
36135 * sunrpc/clnt_tcp.c: Likewise.
36136 * sunrpc/clnt_udp.c: Likewise.
36137 * sunrpc/clnt_unix.c: Likewise.
36138 * sunrpc/des_crypt.c: Likewise.
36139 * sunrpc/des_soft.c: Likewise.
36140 * sunrpc/get_myaddr.c: Likewise.
36141 * sunrpc/getrpcport.c: Likewise.
36142 * sunrpc/key_call.c: Likewise.
36143 * sunrpc/key_prot.c: Likewise.
36144 * sunrpc/openchild.c: Likewise.
36145 * sunrpc/pm_getmaps.c: Likewise.
36146 * sunrpc/pm_getport.c: Likewise.
36147 * sunrpc/pmap_clnt.c: Likewise.
36148 * sunrpc/pmap_prot.c: Likewise.
36149 * sunrpc/pmap_prot2.c: Likewise.
36150 * sunrpc/pmap_rmt.c: Likewise.
36151 * sunrpc/rpc/auth.h: Likewise.
36152 * sunrpc/rpc/auth_unix.h: Likewise.
36153 * sunrpc/rpc/clnt.h: Likewise.
36154 * sunrpc/rpc/des_crypt.h: Likewise.
36155 * sunrpc/rpc/key_prot.h: Likewise.
36156 * sunrpc/rpc/netdb.h: Likewise.
36157 * sunrpc/rpc/pmap_clnt.h: Likewise.
36158 * sunrpc/rpc/pmap_prot.h: Likewise.
36159 * sunrpc/rpc/pmap_rmt.h: Likewise.
36160 * sunrpc/rpc/rpc.h: Likewise.
36161 * sunrpc/rpc/rpc_des.h: Likewise.
36162 * sunrpc/rpc/rpc_msg.h: Likewise.
36163 * sunrpc/rpc/svc.h: Likewise.
36164 * sunrpc/rpc/svc_auth.h: Likewise.
36165 * sunrpc/rpc/types.h: Likewise.
36166 * sunrpc/rpc/xdr.h: Likewise.
36167 * sunrpc/rpc_clntout.c: Likewise.
36168 * sunrpc/rpc_cmsg.c: Likewise.
36169 * sunrpc/rpc_common.c: Likewise.
36170 * sunrpc/rpc_cout.c: Likewise.
36171 * sunrpc/rpc_dtable.c: Likewise.
36172 * sunrpc/rpc_hout.c: Likewise.
36173 * sunrpc/rpc_main.c: Likewise.
36174 * sunrpc/rpc_parse.c: Likewise.
36175 * sunrpc/rpc_parse.h: Likewise.
36176 * sunrpc/rpc_prot.c: Likewise.
36177 * sunrpc/rpc_sample.c: Likewise.
36178 * sunrpc/rpc_scan.c: Likewise.
36179 * sunrpc/rpc_scan.h: Likewise.
36180 * sunrpc/rpc_svcout.c: Likewise.
36181 * sunrpc/rpc_tblout.c: Likewise.
36182 * sunrpc/rpc_util.c: Likewise.
36183 * sunrpc/rpc_util.h: Likewise.
36184 * sunrpc/rpcinfo.c: Likewise.
36185 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36186 * sunrpc/rpcsvc/key_prot.x: Likewise.
36187 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36188 * sunrpc/rpcsvc/mount.x: Likewise.
36189 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36190 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36191 * sunrpc/rpcsvc/rex.x: Likewise.
36192 * sunrpc/rpcsvc/rstat.x: Likewise.
36193 * sunrpc/rpcsvc/rusers.x: Likewise.
36194 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36195 * sunrpc/rpcsvc/spray.x: Likewise.
36196 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36197 * sunrpc/rtime.c: Likewise.
36198 * sunrpc/svc.c: Likewise.
36199 * sunrpc/svc_auth.c: Likewise.
36200 * sunrpc/svc_authux.c: Likewise.
36201 * sunrpc/svc_raw.c: Likewise.
36202 * sunrpc/svc_run.c: Likewise.
36203 * sunrpc/svc_simple.c: Likewise.
36204 * sunrpc/svc_tcp.c: Likewise.
36205 * sunrpc/svc_udp.c: Likewise.
36206 * sunrpc/svc_unix.c: Likewise.
36207 * sunrpc/svcauth_des.c: Likewise.
36208 * sunrpc/xcrypt.c: Likewise.
36209 * sunrpc/xdr.c: Likewise.
36210 * sunrpc/xdr_array.c: Likewise.
36211 * sunrpc/xdr_float.c: Likewise.
36212 * sunrpc/xdr_mem.c: Likewise.
36213 * sunrpc/xdr_rec.c: Likewise.
36214 * sunrpc/xdr_ref.c: Likewise.
36215 * sunrpc/xdr_sizeof.c: Likewise.
36216 * sunrpc/xdr_stdio.c: Likewise.
36218 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36221 2010-08-19 Andreas Schwab <schwab@redhat.com>
36223 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36225 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36227 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36228 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36229 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36230 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36231 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36232 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36233 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36234 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36236 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36237 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36238 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36239 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36240 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36242 2010-07-26 Anton Blanchard <anton@samba.org>
36244 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36245 * malloc/arena.c (heap_trim): Likewise.
36247 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36249 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36252 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36254 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36256 * sysdeps/i386/elf/Makefile: New file.
36258 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36260 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36261 from fanotify_init.
36262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36265 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36267 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36269 * sysdeps/multiarch/strcmp.S: Likewise.
36271 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36273 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36274 strncase_l-nonascii.
36275 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36276 Add strncase_l-ssse3.
36277 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36278 * sysdeps/x86_64/strcmp.S: Likewise.
36279 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36280 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36281 * sysdeps/x86_64/strncase.S: New file.
36282 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36283 * sysdeps/x86_64/strncase_l.S: New file.
36284 * string/Makefile (strop-tests): Add strncasecmp.
36285 * string/test-strncasecmp.c: New file.
36287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36290 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36291 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36293 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36295 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36297 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36299 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36303 2010-05-01 Alan Modra <amodra@gmail.com>
36305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36306 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36307 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36308 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36309 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36310 tidying. Don't tail-call __sigjmp_save for static lib.
36311 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36313 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36314 (CALL_MCOUNT): Add eh info, and nop after bl.
36315 (TAIL_CALL_SYSCALL_ERROR): New macro.
36316 (PSEUDO_RET): Use it.
36317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36318 Correct save location of integer regs and cr.
36319 (_dl_profile_resolve): Correct cr save location. Delete nops
36320 after bl when SHARED. Reduce cfi size a little by better
36321 placement of cfi directives.
36322 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36323 make a stack frame. Instead use parm save area as a temp.
36324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36325 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36327 Don't make a stack frame for parent, use parm save area.
36328 Increase child stack frame to 112 bytes. Don't save unused reg,
36329 and adjust reg usage. Set up cfi on error recovery and
36330 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36332 (__makecontext): Add dummy nop after jump to exit.
36333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36334 Use correct parm save area and cr save, reduce stack frame.
36335 Correct cfi for possible PSEUDO_RET frame setup.
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36337 Branch to local label emitted by PSEUDO_RET rather than
36340 2010-08-12 Andreas Schwab <schwab@redhat.com>
36343 * locale/programs/locale.c (print_assignment): New function.
36344 (show_locale_vars): Use it.
36346 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36348 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36350 (struct statfs64): Likewise.
36351 (_STATFS_F_FLAGS): Define.
36352 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36354 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36355 (ST_VALID): Define locally.
36356 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36357 __statvfs_getflags, use the provided value.
36358 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36359 __ASSUME_STATFS_F_FLAGS.
36361 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36363 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36364 Add sys/fanotify.h.
36365 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36366 fanotify_mask for GLIBC_2.13.
36367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36368 fanotify_init and fanotify_mark.
36369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36370 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36372 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36374 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36375 prlimit64 for GLIBC_2.13.
36376 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36382 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36386 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36389 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36390 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36392 * nss/Makefile: Add rules to build and run tst-nss-test1.
36393 * shlib-versions: Add entry for libnss_test1.
36394 * nss/nss_test1.c: New file.
36395 * nss/tst-nss-test1.c: New file.
36397 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36398 (__nss_configure_lookup): Set appropriate entry in
36399 __nss_configure_lookup to true.
36400 * nss/nsswitch.h: Define enum with indeces of databases in
36401 databases and __nss_database_custom arrays. Declare
36402 __nss_database_custom.
36403 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36404 to avoid using nscd when custom rules are installed.
36405 * nss/getXXbyYY_r.c: Likewise.
36406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36408 * nss/nss_files/files-parse.c: Whitespace fixes.
36410 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36413 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36414 * posix/fnmatch_loop.c: Likewise.
36416 2010-07-17 Andi Kleen <ak@linux.intel.com>
36418 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36419 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36420 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36421 * Versions.def [GLIBC_2.13]: Add.
36423 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36426 Also fail if tpwd after pwuid call is NULL.
36428 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36430 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36431 when converting to ms.
36433 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36435 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36436 EOPNOTSUPP errors with ENOTTY.
36437 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36438 EOPNOTSUPP errors with ENOTTY.
36440 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36442 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36443 Add strcasecmp_l-ssse3.
36444 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36446 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36447 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36448 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36450 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36452 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36454 * string/Makefile (strop-tests): Add strcasecmp.
36455 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36456 strcasecmp_l-nonascii.
36457 (gen-as-const-headers): Add locale-defines.sym.
36458 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36459 * sysdeps/x86_64/strcasecmp.S: New file.
36460 * sysdeps/x86_64/strcasecmp_l.S: New file.
36461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36462 * sysdeps/x86_64/locale-defines.sym: New file.
36463 * string/test-strcasecmp.c: New file.
36465 * string/test-strcasestr.c: Test both ends of the range of characters.
36466 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36468 2010-07-29 Roland McGrath <roland@redhat.com>
36471 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36473 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36475 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36478 2010-07-27 Andreas Schwab <schwab@redhat.com>
36480 * manual/memory.texi (Malloc Tunable Parameters): Document
36483 2010-07-26 Roland McGrath <roland@redhat.com>
36486 * configure.in (-fgnu89-inline check): Set and substitute
36487 gnu89_inline, not libc_cv_gnu89_inline.
36488 * configure: Regenerated.
36489 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36491 2010-07-26 Ulrich Drepper <drepper@redhat.com>
36493 * string/test-strnlen.c: New file.
36494 * string/Makefile (strop-tests): Add strnlen.
36495 * string/tester.c (test_strnlen): Add a few more test cases.
36496 * string/tst-strlen.c: Better error reporting.
36498 * sysdeps/x86_64/strnlen.S: New file.
36500 2010-07-24 Ulrich Drepper <drepper@redhat.com>
36502 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36503 lower-latency instructions.
36505 2010-07-23 Ulrich Drepper <drepper@redhat.com>
36507 * string/test-strcasestr.c: New file.
36508 * string/test-strstr.c: New file.
36509 * string/Makefile (strop-tests): Add strstr and strcasestr.
36510 * string/str-two-way.h: Don't undefine MAX.
36511 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36513 2010-07-21 Andreas Schwab <schwab@redhat.com>
36515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36516 strcasestr-nonascii.
36517 (CFLAGS-strcasestr-nonascii.c): Define.
36518 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36519 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36520 Remove unused attribute.
36522 2010-07-20 Roland McGrath <roland@redhat.com>
36524 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36525 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36526 ld.so.cache was broken. With it, there is no way to disable dsocaps
36527 like LD_HWCAP_MASK can disable hwcaps.
36529 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36531 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36533 2010-07-16 Ulrich Drepper <drepper@redhat.com>
36535 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36536 call in strcasestr.
36537 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36538 __strcasestr_sse42_nonascii.
36539 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36540 strcasestr-nonascii.c.
36541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36543 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
36545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36550 2010-07-09 Ulrich Drepper <drepper@redhat.com>
36552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36555 2010-07-06 Andreas Schwab <schwab@redhat.com>
36558 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36561 2010-07-06 Ulrich Drepper <drepper@redhat.com>
36563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36564 _PC_PIPE_BUF using F_GETPIPE_SZ.
36566 2010-07-05 Roland McGrath <roland@redhat.com>
36568 * manual/arith.texi (Rounding Functions): Fix rint description
36569 implicit in round description.
36571 2010-07-02 Ulrich Drepper <drepper@redhat.com>
36573 * elf/Makefile: Fix linking for a few tests to make recent linker
36576 2010-06-30 Andreas Schwab <schwab@redhat.com>
36578 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36579 $(common-objpfx)libc_nonshared.a.
36581 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
36583 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36584 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36585 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36586 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36587 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36588 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36589 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36590 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36605 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36606 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36607 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36608 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36609 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36610 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36611 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36612 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36613 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36614 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36615 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36616 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36632 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36634 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36635 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36636 * string/memmove.c (memmove): Renamed to ...
36637 (MEMMOVE): ...this. Default to memmove.
36638 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36639 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36642 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36643 mempcpy-ssse3-back memmove-ssse3-back.
36644 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36647 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36648 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36649 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36650 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36651 * sysdeps/x86_64/multiarch/memmove.c: New file.
36652 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36653 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36654 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36655 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36656 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36659 (index_Fast_Copy_Backward): Define.
36660 (HAS_ARCH_FEATURE): Define.
36661 (HAS_FAST_REP_STRING): Define.
36662 (HAS_FAST_COPY_BACKWARD): Define.
36664 2010-06-21 Andreas Schwab <schwab@redhat.com>
36666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36667 Restore proper fallback handling.
36669 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36672 * posix/group_member.c (__group_member): Correct checking loop.
36674 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36675 OOM in getpwuid_r correctly. Return error number when the caller
36676 should return, otherwise -1.
36677 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36678 call returning > 0 value.
36679 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36681 2010-06-07 Andreas Schwab <schwab@redhat.com>
36683 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36684 libc_nonshared.a from targets in modules-names.
36686 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36688 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36691 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36694 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36698 2010-06-02 Andreas Schwab <schwab@redhat.com>
36700 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36702 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36713 2010-06-14 Roland McGrath <roland@redhat.com>
36715 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36717 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36719 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36720 __REDIRECT followed by __THROW.
36721 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36722 * posix/getopt.h (getopt): Likewise.
36724 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36726 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36727 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36728 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36730 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36731 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36733 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36735 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36737 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36741 Properly check family and model.
36743 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36745 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36747 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36749 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36751 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36753 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36756 2010-05-19 Andreas Schwab <schwab@redhat.com>
36758 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36761 2010-05-21 Andreas Schwab <schwab@redhat.com>
36763 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36764 and internal_recvmmsg.
36765 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36766 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36767 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36768 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36770 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36771 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36772 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36774 2010-05-20 Andreas Schwab <schwab@redhat.com>
36776 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36778 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
36780 POWER7 optimizations.
36781 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36782 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36784 2010-05-19 Ulrich Drepper <drepper@redhat.com>
36786 * version.h: Update for 2.13 development version.
36788 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
36790 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36791 exceptions. Return 0.
36793 2010-05-07 Roland McGrath <roland@redhat.com>
36795 * elf/ldconfig.c (main): Add a const.
36797 2010-05-06 Ulrich Drepper <drepper@redhat.com>
36799 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36800 (args_options): Add no-idn option.
36801 (ahosts_keys_int): Add idn_flags to ai_flags.
36802 (parse_option): Handle 'i' option to clear idn_flags.
36804 * malloc/malloc.c (_int_free): Possible race in the most recently
36805 added check. Only act on the data if no current modification
36808 See ChangeLog.17 for earlier changes.