1 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
4 (__malloc_assert, __libc_realloc, __libc_calloc,
5 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
7 * malloc/hooks.c (realloc_check): Likewise.
9 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12 * malloc/arena.c: Remove PER_THREAD conditional.
13 [!PER_THREAD]: Remove code.
14 (ptmalloc_unlock_all2): Likewise.
15 (ptmalloc_init): Likewise.
16 (_int_new_arena): Likewise.
17 (arena_get2): Likewise.
18 * malloc/hooks.c (__malloc_get_state): Likewise.
19 (__malloc_set_state): Likewise.
20 * malloc/malloc.c: Likewise.
21 (struct malloc_state): Likewise.
22 (struct malloc_par): Likewise.
23 (__libc_realloc): Likewise.
24 (__libc_mallopt): Likewise.
26 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
30 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
32 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33 macro to a function. Check for zero perturb_byte.
34 (_int_malloc, _int_free): Remove zero perturb_byte checks.
36 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
38 * malloc/malloc.c: (force_reg): Remove.
39 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
40 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41 force_reg by atomic_forced_read.
42 * malloc/arena.c (ptmalloc_init): Likewise.
43 * malloc/hooks.c (top_check): Likewise.
45 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
51 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53 2013-12-08 Joseph Myers <joseph@codesourcery.com>
55 * math/auto-libm-test-in: Add tests of lgamma.
56 * math/auto-libm-test-out: Regenerated.
57 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58 (M_LOG_2_SQRT_PIl): Likewise.
59 (lgamma_test_data): Use AUTO_TESTS_f_f1.
60 * math/gen-auto-libm-tests.c (func_calc_method): Add value
62 (func_calc_desc): Add mpfr_f_f1 union field.
71 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
72 (test_functions): Add lgamma.
73 (calc_generic_results): Handle mpfr_f_f1.
74 * sysdeps/i386/fpu/libm-test-ulps: Update.
75 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
80 __mpn_add_n for PowerPC64/POWER7.
81 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
82 __mpn_sub_n for PowerPC64/POWER7.
84 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
87 __mpn_addmul_1 for PowerPC64.
88 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
89 __mpn_submul_1 for PowerPC64.
90 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
92 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
95 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
98 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
100 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
104 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
106 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
107 add multiarch folders.
108 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
109 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
110 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
111 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
112 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
113 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
114 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
115 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
116 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
117 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
118 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
126 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
129 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
135 multiarch __ieee754_hypot for PowerPC32.
136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
141 multiarch __ieee754_hypotf for PowerPC32.
143 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
146 long_double_symbol only if __logbl is defined.
147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
148 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
150 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
152 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
154 path for implementation.
155 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
158 logb, and logbl multiarch implementations for PowerPC32.
159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
164 multiarch logb for PowerPC32.
165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
170 multiarch logbf for PowerPC32.
171 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
175 multiarch logbl implementation for PowerPC32.
177 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
180 and modff multiarch implementations.
181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
186 multiarch modf for PowerPC32.
187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
192 multiarch modff for PowerPC32.
194 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
197 and lrintf multiarch implementations.
198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
203 multiarch lrint for PowerPC32.
204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
205 file: multiarch lrintf for PowerPC32.
207 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
210 and lroundf multiarch implementations.
211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
218 multiarch lround for PowerPC32.
219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
220 file: multiarch lroundf for PowerPC32.
222 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
225 copysign and copysignf multiarch implementations.
226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
231 file: multiarch copysign for PowerPC32.
232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
233 file: multiarch copysignf for PowerPC32.
235 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
238 and truncf multiarch implementations.
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
244 multiarch trunc for PowerPC32.
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
250 multiarch truncf for PowerPC32.
252 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
255 and roundf multiarch implementations.
256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
261 multiarch round for PowerPC32.
262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
267 multiarch roundf for PowerPC32.
269 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
272 and floorf multiarch implementations.
273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
278 multiarch floor for PowerPC32.
279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
284 multiarch floorf for PowerPC32.
286 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
289 and ceilf multiarch implementations.
290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
295 multiarch ceil for PowerPC32.
296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
301 multiarch ceilf for PowerPC32.
303 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
305 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
307 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
310 and finitef multiarch implementations.
311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
316 multiarch finite for PowerPC32.
317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
320 file: multiarch finitef for PowerPC32.
322 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
325 and isinff multiarch implementations.
326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
331 multiarch isinf for PowerPC32.
332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
335 multiarch isinff for PowerPC32.
337 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
340 alias when __isnan is defined.
341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
342 and isnanf multiarch implementations.
343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
352 multiarch isnan for PowerPC32.
353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
358 multiarch isnanf for PowerPC32.
360 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
363 and sqrtf multiarch implementations.
364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
369 multiarch sqrt for PowerPC32.
370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
375 multiarch sqrtf for PowerPC32.
377 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
380 and llroundf multiarch implementations.
381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
388 file: multiarch llround for PowerPC32.
389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
390 file: multiarch llroundf for PowerPC32.
392 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
395 multiarch PowerPC32 fpu implementations.
396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
401 multiarch llrint for PowerPC32.
402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
409 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
413 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
417 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
419 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
421 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
422 multiarch wordcopy for PPC32.
423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
426 (__libc_ifunc_impl_list): Likewise.
427 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
428 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
429 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
430 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
431 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
432 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
434 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
437 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
444 multiarch wcscpy for PPC32.
445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
448 (__libc_ifunc_impl_list): Likewise.
449 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
450 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
451 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
452 sysdeps/powerpc/power6/wcscpy.c.
454 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
461 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
464 multiarch wcsrchr for PPC32.
465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
468 (__libc_ifunc_impl_list): Likewise.
469 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
470 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
471 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
472 sysdeps/powerpc/power6/wcsrchr.c.
474 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
482 multiarch wcschr for PPc32.
483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
486 (__libc_ifunc_impl_list): Likewise.
487 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
488 * sysdeps/powerpc/power6/wcschr.c: ... to here.
489 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
490 sysdeps/powerpc/power6/wcschr.c.
492 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
495 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
497 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
498 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
499 file: multiarch strchr for PPC32.
500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
503 (__libc_ifunc_impl_list): Likewise.
505 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
509 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
511 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
513 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
514 multiarch strchrnul for PPC32.
515 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
517 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
518 (__libc_ifunc_impl_list): Likewise.
520 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
524 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
525 multiarch strncasecmp for PPC32.
526 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
528 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
529 multiarch strncasecmp_l for PPC32.
530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
531 strncasecmp multiarch objects.
532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
533 (__libc_ifunc_impl_list): Likewise.
535 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
537 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
539 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
540 multiarch strncasecmp for PPC32.
541 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
543 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
544 multiarch strcasecmp_l for PPC32.
545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
548 (__libc_ifunc_impl_list): Likewise.
550 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
552 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
554 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
556 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
557 multiarch strncmp for PPC32.
558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
560 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
561 (__libc_ifunc_impl_list): Likewise.
563 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
566 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
568 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
569 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
573 (__libc_ifunc_impl_list): Likewise.
575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
577 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
579 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
581 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
585 (__libc_ifunc_impl_list): Likewise.
587 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
589 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
591 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
593 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
594 multiarch rawmemchr for PPC32.
595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
598 (__libc_ifunc_impl_list): Likewise.
600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
604 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
606 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
607 file: memrchr multiarch for PPC32.
608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
611 (__libc_ifunc_impl_list): Likewise.
613 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
615 * string/memchr.c (__memchr): Using macro to redefine symbol name.
616 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
618 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
619 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
620 multiarch memchr for PPC32.
621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
624 (__libc_ifunc_impl_list): Likewise.
626 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
629 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
631 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
633 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
634 file: multiarch mempcpy for PPC32.
635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
638 (__libc_ifunc_impl_list): Likewise.
640 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
642 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
643 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
644 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
645 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
646 multiarch bzero for PPC32.
647 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
649 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
651 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
652 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
653 file: multiarch memset for PPC32.
654 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
656 memset multiarch objects.
657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
658 (__libc_ifunc_impl_list): Likewise.
660 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
665 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
667 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
671 (__libc_ifunc_impl_list): Likewise.
673 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
676 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
677 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
679 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
681 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
683 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
684 multiarch memcpy for PPC32.
685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
688 (__libc_ifunc_impl_list): Likewise.
690 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
693 support multiarch for POWER/PPC32.
694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
696 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
698 Implies file to make multiarch folder appers before the fpu and
699 default folder for power4 configuration.
701 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
703 * scripts/bench.pl: Append volatile keyword to type.
705 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
707 * sysdeps/sh/sotruss-lib.c: New file.
708 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
710 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
714 2013-12-05 Joseph Myers <joseph@codesourcery.com>
717 * math/w_tgamma.c: Include <errno.h>.
718 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
719 * math/w_tgammaf.c: Include <errno.h>.
720 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
721 * math/w_tgammal.c: Include <errno.h>.
722 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
723 * math/auto-libm-test-in: Do not allow missing errno on tgamma
724 underflow. Add more tgamma tests.
725 * math/auto-libm-test-out: Regenerated.
726 * sysdeps/i386/fpu/libm-test-ulps: Update.
727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
729 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
730 sin, sinh, tan, tanh, tgamma, y0 and y1.
731 * math/auto-libm-test-out: Regenerated.
732 * math/libm-test.inc (TEST_COND_x86_64): New macro.
733 (TEST_COND_x86): Likewise.
734 (M_E2l): Remove macro.
736 (M_2_SQRT_PIl): Likewise.
737 (M_SQRT_PIl): Likewise.
738 (M_1_DIV_El): Likewise.
739 (log_test_data): Use AUTO_TESTS_f_f.
740 (log10_test_data): Likewise.
741 (log1p_test_data): Likewise.
742 (log2_test_data): Likewise.
743 (sin_test_data): Likewise.
744 (sin_tonearest_test_data): Likewise.
745 (sin_towardzero_test_data): Likewise.
746 (sin_downward_test_data): Likewise.
747 (sin_upward_test_data): Likewise.
748 (sinh_test_data): Likewise.
749 (sinh_tonearest_test_data): Likewise.
750 (sinh_towardzero_test_data): Likewise.
751 (sinh_downward_test_data): Likewise.
752 (sinh_upward_test_data): Likewise.
753 (tan_test_data): Likewise.
754 (tan_tonearest_test_data): Likewise.
755 (tan_towardzero_test_data): Likewise.
756 (tan_downward_test_data): Likewise.
757 (tan_upward_test_data): Likewise.
758 (tanh_test_data): Likewise.
759 (tgamma_test_data): Likewise.
760 (y0_test_data): Likewise.
761 (y1_test_data): Likewise.
762 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
763 (special_real_inputs): Add pi/4.
764 * sysdeps/i386/fpu/libm-test-ulps: Update.
765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
767 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
769 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
770 "longjmp_target" static probes.
771 (__longjmp): Rename to __longjmp_symbol.
772 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
773 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
774 on which longjmp to generate.
775 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
776 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
778 (__sigsetjmp): Rename to __sigsetjmp_symbol.
779 (__sigjmp_save): Rename to __sigjmp_save_symbol.
780 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
781 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
782 and __sigjmp_save_symbol based on which sigsetjmp to generated.
783 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
785 __longjmp_symbol based on which __longjmp to generate.
786 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
788 (setjmp): Rename to setjmp_symbol.
789 (__sigsetjmp): Rename to __sigsetjmp_symbol.
790 (_setjmp): Rename to _setjmp_symbol.
791 (__sigsetjmp): Rename to __sigsetjmp_symbol.
792 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
793 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
794 which setjmp to generate.
795 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
796 "longjmp_target" static probes.
798 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
800 * benchtests/README: Add note about output arguments.
801 * benchtests/bench-sincos.c: Remove file.
802 * benchtests/sincos-inputs: New file.
803 * scripts/bench.pl: Identify output arguments and define
804 static variables for them.
806 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
809 * Makefile (INSTALL): Add install-plain.texi as the primary
811 * manual/install-plain.texi: New file.
812 * manual/install.texi: Include node directive only for
813 non-plaintext output.
815 2013-12-04 Joseph Myers <joseph@codesourcery.com>
817 * stdlib/longlong.h: Update from GCC.
821 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
822 * math/w_j0f.c (y0f): Likewise.
823 * math/w_j0l.c (__y0l): Likewise.
824 * math/w_j1.c (y1): Likewise.
825 * math/w_j1f.c (y1f): Likewise.
826 * math/w_j1l.c (__y1l): Likewise
827 * math/w_jn.c (yn): Likewise.
828 * math/w_jnf.c (ynf): Likewise.
829 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
830 Bessel function pole errors in _POSIX_ mode. Use NAN as return
831 value for Bessel function domain errors outside _SVID_ mode.
832 Adjust sign of return value for yn (negative integer, 0).
833 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
834 by zero in return for negative x and set sign appropriately for
836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
837 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
838 * math/libm-test.inc (y0_test_data): Add more tests and adjust
839 expectations in error cases.
840 (y1_test_data): Likewise.
841 (yn_test_data): Likewise.
842 * sysdeps/i386/fpu/libm-test-ulps: Update.
843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
845 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
847 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
848 "64" to "64-v1". Add "64-v2".
849 (abi-64-options): Rename to ...
850 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
851 (abi-64-condition): Rename to ...
852 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
853 (abi-64-ld-soname): Rename to ...
854 (abi-64-v1-ld-soname): ... this.
855 (abi-64-v2-options): Define.
856 (abi-64-v2-condition): Likewise.
857 (abi-64-v2-ld-soname): Likewise.
858 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
859 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
864 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
865 Alan Modra <amodra@gmail.com>
867 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
868 New versions for use with the ELFv2 ABI.
869 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
870 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
872 (struct La_ppc64v2_retval): Likewise.
873 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
874 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
875 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
876 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
877 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
878 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
879 Do not save or restore CR.
880 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
881 (_dl_profile_resolve): Do no save or restore CR. Support extended
882 return values for ELFv2 ABI. Fix location of FPR return registers.
883 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
884 updated values for _CALL_ELF == 2.
885 (La_regs, La_retval, int_retval): Likewise.
887 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
889 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
890 (FRAME_MIN_SIZE_PARM): Likewise.
891 (FRAME_BACKCHAIN): Likewise.
892 (FRAME_CR_SAVE): Likewise.
893 (FRAME_LR_SAVE): Likewise.
894 (FRAME_TOC_SAVE): Likewise.
895 (FRAME_PARM_SAVE): Likewise.
896 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
897 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
898 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
899 (call_mcount_parm_offset): New macro.
900 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
901 (PROF): Use symbolic stack frame offsets.
902 (TAIL_CALL_SYSCALL_ERROR): Likewise.
903 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
904 Redefine in terms of FRAME_MIN_SIZE.
905 (_dl_runtime_resolve): Use symbolic stack frame offsets.
906 (_dl_profile_resolve): Likewise. Update comment.
907 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
908 symbols stack frame offsets.
909 (__sigsetjmp): Likewise.
910 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
911 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
912 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
913 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
916 (FRAME_BACKCHAIN): Remove.
917 (FRAME_CR_SAVE): Likewise.
918 (FRAME_LR_SAVE): Likewise.
919 (FRAME_COMPILER_DW): Likewise.
920 (FRAME_LINKER_DW): Likewise.
921 (FRAME_TOC_SAVE): Likewise.
922 (FRAME_PARM_SAVE): Likewise.
923 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
924 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
925 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
927 (CHECK_SP): Use symbolic stack frame offsets.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
929 zone" instead of caller's parameter save area for temp storage.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
931 Likewise. Also, use symbolic stack frame offsets.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
933 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
934 our own stack frame instead of the caller's.
935 (__socket): Use symbolic stack frame offsets.
937 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
938 Alan Modra <amodra@gmail.com>
940 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
942 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
943 PPC64_LOCAL_ENTRY_OFFSET): Define.
944 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
946 (elf_machine_fixup_plt): Call it.
947 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
949 (elf_machine_rela): Update call to elf_machine_plt_conflict.
950 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
951 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
952 r2 before calling target.
954 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
955 Alan Modra <amodra@gmail.com>
957 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
958 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
959 versions of macros to support ELFv2 ABI.
960 (LOCALENTRY): New macro.
961 (ENTRY, EALIGN): Use it.
962 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
963 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
964 fall through into ENTRY entry point.
965 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
966 Only define if _CALL_ELF != 2.
968 (elf_machine_matches_host): Verify ABI version matches.
969 (RTLD_START): Use LOCALENTRY.
970 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
971 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
972 (PLT_ENTRY_WORDS): New macro.
973 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
974 (elf_machine_runtime_setup): Support ELFv2 ABI.
975 (elf_machine_fixup_plt): Likewise.
976 (elf_machine_plt_conflict): Likewise.
977 (resolve_ifunc): Likewise.
978 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
982 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
984 (makecontext): Support ELFv2 ABI.
985 * elf/elf.h (EF_PPC64_ABI): Define.
987 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
989 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
991 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
992 [ASSEMBLER] (ENTRY): ... but instead here ...
993 [ASSEMBLER] (EALIGN): ... and here.
994 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
995 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
996 [!ASSEMBLER] (ENTRY_2): Use it.
997 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
998 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
999 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1000 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1001 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1003 Use PPC64_LOAD_FUNCPTR.
1005 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1007 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1009 2013-12-04 Alan Modra <amodra@gmail.com>
1011 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1012 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1013 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1014 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1017 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1018 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1019 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1020 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1021 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1023 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1026 (__makecontext): Fix incorrect CFI when backtracing out of
1027 context created via makecontext.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1029 (__setcontext): Fix incorrect CFI during switch to new context.
1030 (__novec_setcontext): Likewise.
1032 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1035 * time/strptime_l.c (__strptime_internal): Allow modifiers
1037 * time/tst-strptime.c (day_tests): Add testcase.
1040 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1042 * scripts/bench.pl: Skip over blank lines.
1044 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1047 * manual/time.texi (Calendar Time): Clarify what timezone functions
1050 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1054 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1056 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1058 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1059 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1060 * debug/memset_chk.c (__memset_chk): Likewise.
1061 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1062 * debug/strncpy_chk.c: Likewise.
1064 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1068 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1069 (__ieee754_exp): For possibly underflowing results, check size of
1070 result and force underflow exception if required.
1071 * math/auto-libm-test-in: Add more tests of exp.
1072 * math/auto-libm-test-out: Regenerated.
1073 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1077 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1078 * math/w_exp2f.c (__exp2f): Likewise.
1079 * math/w_exp2l.c (__exp2l): Likewise.
1080 * math/auto-libm-test-in: Do not allow missing errno on exp2
1082 * math/auto-libm-test-out: Regenerated.
1084 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1087 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1088 handle filename validation.
1089 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1092 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1095 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1096 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1097 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1099 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1101 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1103 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1104 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1105 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1106 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1107 Add more erfc tests.
1108 * math/auto-libm-test-out: Regenerated.
1109 * sysdeps/i386/fpu/libm-test-ulps: Update.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1112 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1113 exp2, expm1, j0 and j1.
1114 * math/auto-libm-test-out: Regenerated.
1115 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1116 (erfc_test_data): Likewise.
1117 (exp_test_data): Likewise.
1118 (exp_tonearest_test_data): Likewise.
1119 (exp_towardzero_test_data): Likewise.
1120 (exp_downward_test_data): Likewise.
1121 (exp_upward_test_data): Likewise.
1122 (exp10_test_data): Likewise.
1123 (exp2_test_data): Likewise.
1124 (expm1_test_data): Likewise.
1125 (j0_test_data): Likewise.
1126 (j1_test_data): Likewise.
1127 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1128 (input_flag_type): Add flag_xfail_rounding.
1129 (input_flags): Add xfail-rounding.
1130 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1131 (output_for_one_input_case): Handle flag_xfail_rounding.
1132 * sysdeps/i386/fpu/libm-test-ulps: Update.
1133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1138 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1141 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1144 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1145 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1146 (STAP_PROBE0): New macro.
1147 (STAP_PROBE1): Likewise.
1148 (STAP_PROBE2): Likewise.
1149 (STAP_PROBE3): Likewise.
1150 (STAP_PROBE4): Likewise.
1152 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1154 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1156 2013-12-02 Steve Ellcey <sellcey@mips.com>
1158 * benchtests/Makefile (bench): Add sqrt.
1159 (LDLIBS-bench-sqrt): New.
1160 * benchtests/sqrt-input: New.
1162 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1164 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1165 (GAIH_EAI): Likewise.
1166 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1167 (gaih_inet): Likewise.
1168 (getaddrinfo): Don't use GAIH_EAI.
1170 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1171 (struct gaih): Remove definition.
1173 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1175 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1176 Use HERRNOP directly.
1178 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1182 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1184 * math/gen-auto-libm-tests.c (test_functions): Add more
1185 single-argument functions.
1186 (special_fill_pi_2): New function.
1187 (special_fill_minus_pi_2): Likewise.
1188 (special_fill_pi_6): Likewise.
1189 (special_fill_minus_pi_6): Likewise.
1190 (special_fill_pi_3): Likewise.
1191 (special_fill_2pi_3): Likewise.
1192 (special_fill_e): Likewise.
1193 (special_fill_1_e): Likewise.
1194 (special_fill_e_minus_1): Likewise.
1195 (special_real_inputs): Add more special inputs.
1196 (output_for_one_input_case): Do not require ERANGE on underflow to
1197 zero if round-to-nearest result does not underflow to zero, unless
1198 exact results required.
1199 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1200 atan, atanh, cbrt, cos and cosh.
1201 * math/auto-libm-test-out: Regenerated.
1202 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1203 (acos_tonearest_test_data): Likewise.
1204 (acos_towardzero_test_data): Likewise.
1205 (acos_downward_test_data): Likewise.
1206 (acos_upward_test_data): Likewise.
1207 (acosh_test_data): Likewise.
1208 (asin_test_data): Likewise.
1209 (asin_tonearest_test_data): Likewise.
1210 (asin_towardzero_test_data): Likewise.
1211 (asin_upward_test_data): Likewise.
1212 (asinh_test_data): Likewise.
1213 (atan_test_data): Likewise.
1214 (atanh_test_data): Likewise.
1215 (cbrt_test_data): Likewise.
1216 (cos_test_data): Likewise.
1217 (cos_tonearest_test_data): Likewise.
1218 (cos_towardzero_test_data): Likewise.
1219 (cos_downward_test_data): Likewise.
1220 (cos_upward_test_data): Likewise.
1221 (cosh_test_data): Likewise.
1222 (cosh_tonearest_test_data): Likewise.
1223 (cosh_towardzero_test_data): Likewise.
1224 (cosh_downward_test_data): Likewise.
1225 (cosh_upward_test_data): Likewise.
1226 * sysdeps/i386/fpu/libm-test-ulps: Update.
1227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1229 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1232 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1233 * math/w_exp10f.c (__exp10f): Likewise.
1234 * math/w_exp10l.c (__exp10l): Likewise.
1235 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1236 errno settings in existing tests.
1239 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1240 precision control set to double precision.
1241 * sysdeps/i386/fpu/w_sqrt.c: New file.
1242 * math/auto-libm-test-in: Add more tests.
1243 * math/auto-libm-test-out: Update.
1245 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1246 (sqrt_test_tonearest): New function.
1247 (sqrt_towardzero_test_data): New variable.
1248 (sqrt_test_towardzero): New function.
1249 (sqrt_downward_test_data): New variable.
1250 (sqrt_test_downward): New function.
1251 (sqrt_upward_test_data): New variable.
1252 (sqrt_test_upward): New function.
1253 (main): Call the new functions.
1255 * math/gen-auto-libm-tests.c: New file.
1256 * math/auto-libm-test-in: Likewise.
1257 * math/auto-libm-test-out: New generated file.
1258 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1260 (%beautify): Add generated representations of zero.
1261 (top level): Set $auto_input and call parse_auto_input.
1262 (beautify): Remove trailing "f" from hex float constants.
1263 (parse_args): Handle XFAIL_TEST.
1264 (convert_condition): New function.
1265 (or_value): Likewise.
1266 (or_cond_value): Likewise.
1267 (generate_testfile): Handle AUTO_TESTS_* lines.
1268 (parse_auto_input): New function.
1269 * math/libm-test.inc (XFAIL_TEST): New macro.
1270 (ERRNO_UNCHANGED): Update value.
1271 (ERRNO_EDOM): Likewise.
1272 (ERRNO_ERANGE): Likewise.
1273 (IGNORE_RESULT): Likewise.
1274 (TEST_COND_flt_32): New macro.
1275 (TEST_COND_dbl_64): Likewise.
1276 (TEST_COND_ldbl_96_intel): Likewise.
1277 (TEST_COND_ldbl_96_m68k): Likewise.
1278 (TEST_COND_ldbl_128): Likewise.
1279 (TEST_COND_ldbl_128ibm): Likewise.
1280 (TEST_COND_long32): Likewise.
1281 (TEST_COND_long64): Likewise.
1282 (TEST_COND_before_rounding): Likewise.
1283 (TEST_COND_after_rounding): Likewise.
1284 (enable_test): Handle XFAIL_TEST flag.
1285 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1286 with finite results.
1287 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1290 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1291 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1294 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1295 __tls_get_addr_internal instead of __tls_get_offset in order to
1296 avoid GOT pointer dependency. Make rtld export
1297 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1298 __tls_get_addr since we are a __tls_get_offset platform.
1299 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1300 GOT pointer being set up before.
1301 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1303 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1305 * manual/math.texi (Errors in Math Functions): Document accuracy
1309 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1310 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1313 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1315 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1319 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1326 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1327 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1328 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1329 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1330 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1332 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1334 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1336 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1337 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1338 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1339 atomic-feupdateenv and flt-rounds.
1340 * sysdeps/powerpc/nofpu/Versions (libc): Add
1341 __atomic_feholdexcept, __atomic_feclearexcept,
1342 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1343 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1344 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1345 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1346 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1351 * manual/arith.texi (FP Exceptions): Document that exceptions may
1352 not be raised when matherr is used.
1353 (Math Error Reporting): Document overflow in directed rounding
1354 modes. Document that errno may not be set when finite values are
1355 returned on overflow. Document intent to set errno on underflow
1356 only for underflow to zero.
1359 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1360 round-to-nearest then adjust result for other rounding modes.
1361 * include/fenv.h (fegetround): Use libm_hidden_proto.
1362 * math/fegetround.c (fegetround): Use libm_hidden_def.
1363 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1364 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1365 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1366 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1368 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1370 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1371 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1373 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1376 * nss/Versions (libnss_files): Add
1377 _nss_files_gethostbyname3_r.
1378 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1380 (HOST_DB_LOOKUP): Remove macro.
1381 (_nss_files_gethostbyname_r): Implement function without the
1382 HOST_DB_LOOKUP macro.
1383 (_nss_files_gethostbyname2_r): Likewise.
1385 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1387 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1389 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1391 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1392 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1395 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1397 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1398 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1399 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1400 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1401 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1402 __fe_nomask_env_priv and attribute_hidden.
1403 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1404 (libc_feupdateenv_test_ppc): Likewise.
1405 (libc_feresetround_ppc): Likewise.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1407 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1408 compat_symbol macro.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1410 (__fe_nomask_env): Likewise.
1411 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1413 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1415 * string/Makefile: Remove ifunc tests.
1416 * string/test-string.h: Define TEST_IFUNC.
1417 * string/test-bcopy-ifunc.c: Remove.
1418 * string/test-bzero-ifunc.c: Likewise.
1419 * string/test-memccpy-ifunc.c: Likewise.
1420 * string/test-memchr-ifunc.c: Likewise.
1421 * string/test-memcmp-ifunc.c: Likewise.
1422 * string/test-memcpy-ifunc.c: Likewise.
1423 * string/test-memmem-ifunc.c: Likewise.
1424 * string/test-memmove-ifunc.c: Likewise.
1425 * string/test-mempcpy-ifunc.c: Likewise.
1426 * string/test-memrchr-ifunc.c: Likewise.
1427 * string/test-memset-ifunc.c: Likewise.
1428 * string/test-rawmemchr-ifunc.c: Likewise.
1429 * string/test-stpcpy-ifunc.c: Likewise.
1430 * string/test-stpncpy-ifunc.c: Likewise.
1431 * string/test-strcasecmp-ifunc.c: Likewise.
1432 * string/test-strcasestr-ifunc.c: Likewise.
1433 * string/test-strcat-ifunc.c: Likewise.
1434 * string/test-strchr-ifunc.c: Likewise.
1435 * string/test-strchrnul-ifunc.c: Likewise.
1436 * string/test-strcmp-ifunc.c: Likewise.
1437 * string/test-strcpy-ifunc.c: Likewise.
1438 * string/test-strcspn-ifunc.c: Likewise.
1439 * string/test-strlen-ifunc.c: Likewise.
1440 * string/test-strncasecmp-ifunc.c: Likewise.
1441 * string/test-strncat-ifunc.c: Likewise.
1442 * string/test-strncmp-ifunc.c: Likewise.
1443 * string/test-strncpy-ifunc.c: Likewise.
1444 * string/test-strnlen-ifunc.c: Likewise.
1445 * string/test-strpbrk-ifunc.c: Likewise.
1446 * string/test-strrchr-ifunc.c: Likewise.
1447 * string/test-strspn-ifunc.c: Likewise.
1448 * string/test-strstr-ifunc.c: Likewise.
1450 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1452 * benchtests/Makefile: Remove ifunc tests.
1453 * benchtests/bench-string.h: Define TEST_IFUNC.
1454 * benchtests/bench-bcopy-ifunc.c: Remove.
1455 * benchtests/bench-bzero-ifunc.c: Likewise.
1456 * benchtests/bench-memccpy-ifunc.c: Likewise.
1457 * benchtests/bench-memchr-ifunc.c: Likewise.
1458 * benchtests/bench-memcmp-ifunc.c: Likewise.
1459 * benchtests/bench-memcpy-ifunc.c: Likewise.
1460 * benchtests/bench-memmem-ifunc.c: Likewise.
1461 * benchtests/bench-memmove-ifunc.c: Likewise.
1462 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1463 * benchtests/bench-memrchr-ifunc.c: Likewise.
1464 * benchtests/bench-memset-ifunc.c: Likewise.
1465 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1466 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1467 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1468 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1469 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1470 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1471 * benchtests/bench-strcat-ifunc.c: Likewise.
1472 * benchtests/bench-strchr-ifunc.c: Likewise.
1473 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1474 * benchtests/bench-strcmp-ifunc.c: Likewise.
1475 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1476 * benchtests/bench-strcpy-ifunc.c: Likewise.
1477 * benchtests/bench-strcspn-ifunc.c: Likewise.
1478 * benchtests/bench-strlen-ifunc.c: Likewise.
1479 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1480 * benchtests/bench-strncat-ifunc.c: Likewise.
1481 * benchtests/bench-strncmp-ifunc.c: Likewise.
1482 * benchtests/bench-strncpy-ifunc.c: Likewise.
1483 * benchtests/bench-strnlen-ifunc.c: Likewise.
1484 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1485 * benchtests/bench-strrchr-ifunc.c: Likewise.
1486 * benchtests/bench-strsep-ifunc.c: Likewise.
1487 * benchtests/bench-strspn-ifunc.c: Likewise.
1488 * benchtests/bench-strstr-ifunc.c: Likewise.
1490 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1492 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1494 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1496 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1497 * rt/aio.h: Likewise.
1498 * sysdeps/gnu/bits/utmp.h: Likewise.
1499 * sysdeps/gnu/bits/utmpx.h: Likewise.
1500 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1501 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1502 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1503 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1504 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1505 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1506 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1507 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1515 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1516 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1517 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1518 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1519 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1520 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1521 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1522 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1523 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1524 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1526 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1527 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1528 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1529 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1531 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1532 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1533 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1534 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1535 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1536 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1537 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1538 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1539 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1540 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1541 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1543 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1546 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1547 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1549 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1552 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1555 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1558 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1559 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1560 (__fesetround): Remove define.
1561 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1562 rounding and exceptions handling.
1563 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1564 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1565 (__fe_nomask_env): Likewise.
1566 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1567 __fegetround instead of fegetround.
1568 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1569 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1571 2013-11-21 Roland McGrath <roland@hack.frob.com>
1573 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1576 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1578 2013-11-21 Meador Inge <meadori@codesourcery.com>
1581 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1582 (encrypt_r): Likewise.
1583 * malloc/obstack.h (obstack_free): Likewise.
1584 * posix/unistd.h (encrypt): Likewise.
1586 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1588 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1589 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1590 DL_CALL_DT_FINI() that call the functions directly.
1591 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1592 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1593 * elf/dl-fini.c: Likewise.
1595 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
1597 * malloc/hooks.c (memalign_check): Add alignment rounding.
1598 * malloc/malloc.c (_mid_memalign): New function.
1599 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1600 Implement by calling _mid_memalign.
1601 * manual/probes.texi (Memory Allocation Probes): Remove
1602 memory_valloc_retry and memory_pvalloc_retry.
1604 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1606 * locale/programs/locarchive.c (open_archive): Add const
1607 qualifier to ARCHIVEFNAME and copy default fname to
1611 * libio/tst-widetext.input: Rename Oriya to Odia.
1612 * locale/iso-639.def: Likewise.
1614 * manual/probes.texi (Mathematical Function Probes): Add
1615 documentation for sin, cos, asin and acos probes.
1616 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1617 (__sin32): Add slowasin probe.
1618 (__cos32): Add slowacos probe.
1619 (__mpsin): Add slowsin probe.
1620 (__mpcos): Add slowcos probe.
1622 2013-11-19 Joseph Myers <joseph@codesourcery.com>
1625 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1626 thread-local __sim_exceptions_thread and global
1627 __sim_exceptions_global.
1628 (__sim_disabled_exceptions): Change to thread-local
1629 __sim_disabled_exceptions_thread and global
1630 __sim_disabled_exceptions_global.
1631 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1632 and global __sim_round_mode_global.
1633 (__simulate_exceptions): Use thread-local floating-point state and
1634 set global state from it as needed.
1635 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1636 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1637 __sim_round_mode_thread.
1638 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1639 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1640 and global __sim_exceptions_global.
1641 (__sim_disabled_exceptions): Change to thread-local
1642 __sim_disabled_exceptions_thread and global
1643 __sim_disabled_exceptions_global.
1644 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1645 and global __sim_round_mode_global.
1646 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1647 (SIM_SET_GLOBAL): Likewise.
1648 * sysdeps/powerpc/soft-fp/sfp-machine.h
1649 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1650 __sim_round_mode_thread.
1651 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1652 __sim_disabled_exceptions_thread.
1653 (__sim_exceptions): Change to __sim_exceptions_thread.
1654 (__sim_disabled_exceptions): Change to
1655 __sim_disabled_exceptions_thread.
1656 (__sim_round_mode): Change to __sim_round_mode_thread.
1657 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1658 thread-local floating-point state and set global state from it as
1660 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1661 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1662 (__sim_disabled_exceptions): Remove extern declaration.
1663 (feenableexcept): Use thread-local floating-point state and set
1664 global state from it as needed.
1665 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1667 (__sim_disabled_exceptions): Likewise.
1668 (__sim_round_mode): Likewise.
1669 (__fegetenv): Use thread-local floating-point state.
1670 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1671 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1672 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1673 floating-point state and set global state from it as needed.
1674 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1675 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1676 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1678 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1679 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1681 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1682 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1683 Use __sim_round_mode_thread.
1684 * math/test-fenv-tls.c: New file.
1685 * math/Makefile (tests): Add test-fenv-tls.
1686 ($(objpfx)test-fenv-tls): Depend on
1687 $(common-objpfx)nptl/libpthread.so.
1689 2013-11-19 Andreas Schwab <schwab@suse.de>
1691 * locale/programs/locale.c (show_info): Decode wordarray elements.
1692 * locale/categories.def (LC_MONETARY): Add element for
1693 _NL_MONETARY_CRNCYSTR.
1694 * locale/C-monetary.c (conversion_rate): New variable.
1695 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1698 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1700 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1701 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1703 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1705 * elf/Makefile (tst-auxv): New test.
1706 * elf/tst-auxv.c: New
1707 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1709 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1711 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1712 (hidden_proto): Caller changed.
1713 (hidden_tls_proto): New macro.
1714 (libc_hidden_tls_proto): Likewise.
1715 (rtld_hidden_tls_proto): Likewise.
1716 (libm_hidden_tls_proto): Likewise.
1717 (libresolv_hidden_tls_proto): Likewise.
1718 (librt_hidden_tls_proto): Likewise.
1719 (libdl_hidden_tls_proto): Likewise.
1720 (libnss_files_hidden_tls_proto): Likewise.
1721 (libnsl_hidden_tls_proto): Likewise.
1722 (libnss_nisplus_hidden_tls_proto): Likewise.
1723 (libutil_hidden_tls_proto): Likewise.
1725 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1728 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1729 (decompose_rpath): Defer expansion to fillin_rpath.
1730 (_dl_init_paths): Pass linkmap to fillin_rpath.
1732 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1734 * benchtests/Makefile: Add strsep.
1735 * benchtests/bench-strsep.c: New file: strsep benchtest.
1736 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1738 2013-11-18 Andreas Schwab <schwab@suse.de>
1740 * locale/programs/locale.c (show_info) [case byte]: Check for
1741 '\377' instead of '\177'.
1742 * locale/C-monetary.c (not_available): Always use "\377".
1743 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1744 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1745 detect unavailable sign_posn locale elements.
1746 * locale/localeconv.c (__localeconv): For grouping and
1747 mon_grouping handle "\177" and "\377" like no grouping.
1748 (INT_ELEM): New macro. Use it to set all numeric members.
1749 * locale/programs/ld-monetary.c (monetary_read)
1750 <tok_mon_grouping>: Normalize single -1 to the empty string.
1751 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1754 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1757 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1758 when we match (nil).
1759 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1761 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1763 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1764 (NO_TEST_INLINE): Update value.
1765 (ERRNO_UNCHANGED): Likewise.
1766 (ERRNO_EDOM): Likewise.
1767 (ERRNO_ERANGE): Likewise.
1768 (IGNORE_RESULT): Likewise.
1769 (check_float_internal): Check signs of NaN results if
1771 (check_complex): Pass TEST_NAN_SIGN flag through to second
1772 check_float_internal call.
1773 (copysign_test_data): Add tests with quiet NaNs as second
1774 argument. Use TEST_NAN_SIGN.
1775 (fabs_test_data): Add test of negative quiet NaN argument. Use
1777 (signbit_test_data): Add tests of quiet NaN argument.
1778 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1780 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1782 (parse_args): Handle function results specified as IGNORE.
1783 * math/libm-test.inc (IGNORE_RESULT): New macro.
1784 (check_float_internal): Do not check numerical result if flag
1786 (check_complex): Pass through IGNORE_RESULT to second
1787 check_float_internal call.
1788 (check_int): Do not check numerical result if flag IGNORE_RESULT
1790 (check_long): Likewise.
1791 (check_bool): Likewise.
1792 (check_longlong): Likewise.
1793 (lrint_test_data): Add tests of infinite and NaN arguments.
1794 (lrint_tonearest_test_data): Likewise.
1795 (lrint_towardzero_test_data): Likewise.
1796 (lrint_downward_test_data): Likewise.
1797 (lrint_upward_test_data): Likewise.
1798 (llrint_test_data): Likewise.
1799 (llrint_tonearest_test_data): Likewise.
1800 (llrint_towardzero_test_data): Likewise.
1801 (llrint_downward_test_data): Likewise.
1802 (llrint_upward_test_data): Likewise.
1803 (lround_test_data): Likewise.
1804 (llround_test_data): Likewise.
1806 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1807 (ERRNO_UNCHANGED): Update value.
1808 (ERRNO_EDOM): Likewise.
1809 (ERRNO_ERANGE): Likewise.
1810 (NO_TEST_INLINE_FLOAT): New macro.
1811 (NO_TEST_INLINE_DOUBLE): Likewise.
1812 (enable_test): New function.
1813 (RUN_TEST_f_f): Check enable_test before running test.
1814 (RUN_TEST_2_f): Likewise.
1815 (RUN_TEST_fff_f): Likewise.
1816 (RUN_TEST_c_f): Likewise.
1817 (RUN_TEST_f_f1): Likewise.
1818 (RUN_TEST_fF_f1): Likewise.
1819 (RUN_TEST_fI_f1): Likewise.
1820 (RUN_TEST_ffI_f1): Likewise.
1821 (RUN_TEST_c_c): Likewise.
1822 (RUN_TEST_cc_c): Likewise.
1823 (RUN_TEST_f_i): Likewise.
1824 (RUN_TEST_f_i_tg): Likewise.
1825 (RUN_TEST_ff_i_tg): Likewise.
1826 (RUN_TEST_f_b): Likewise.
1827 (RUN_TEST_f_b_tg): Likewise.
1828 (RUN_TEST_f_l): Likewise.
1829 (RUN_TEST_f_L): Likewise.
1830 (RUN_TEST_fFF_11): Likewise.
1831 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1833 (cosh_test_data): Likewise.
1834 (exp_test_data): Likewise.
1835 (expm1_test_data): Likewise.
1836 (hypot_test_data): Likewise.
1837 (pow_test_data): Likewise.
1838 (sinh_test_data): Likewise.
1839 (tanh_test_data): Likewise.
1840 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1843 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1844 tests with quiet NaN input and output.
1845 (acosh_test_data): Likewise.
1846 (asin_test_data): Likewise.
1847 (asinh_test_data): Likewise.
1848 (atan_test_data): Likewise.
1849 (atanh_test_data): Likewise.
1850 (atan2_test_data): Likewise.
1851 (cbrt_test_data): Likewise.
1852 (cos_test_data): Likewise.
1853 (cosh_test_data): Likewise.
1854 (erf_test_data): Likewise.
1855 (erfc_test_data): Likewise.
1856 (exp_test_data): Likewise.
1857 (exp10_test_data): Likewise.
1858 (exp2_test_data): Likewise.
1859 (expm1_test_data): Likewise.
1860 (hypot_test_data): Likewise.
1861 (j0_test_data): Likewise.
1862 (j1_test_data): Likewise.
1863 (jn_test_data): Likewise.
1864 (lgamma_test_data): Likewise.
1865 (log_test_data): Likewise.
1866 (log10_test_data): Likewise.
1867 (log1p_test_data): Likewise.
1868 (log2_test_data): Likewise.
1869 (pow_test_data): Likewise.
1870 (scalb_test_data): Likewise.
1871 (sin_test_data): Likewise.
1872 (sincos_test_data): Likewise.
1873 (sinh_test_data): Likewise.
1874 (tan_test_data): Likewise.
1875 (tanh_test_data): Likewise.
1876 (tgamma_test_data): Likewise.
1877 (y0_test_data): Likewise.
1878 (y1_test_data): Likewise.
1879 (yn_test_data): Likewise.
1882 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1883 argument being NaN and avoid computations with second argument in
1885 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1886 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1887 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1889 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1891 * locale/iso-639.def: Add Chitwani Tharu (the).
1893 2013-11-14 Andreas Schwab <schwab@suse.de>
1895 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1896 word instead of empty string.
1898 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1901 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1903 (__fe_nomask_env): Likewise.
1905 2013-11-13 Steve Ellcey <sellcey@mips.com>
1907 * benchtests/bench-timing.h: Include time.h.
1909 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1912 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1914 * sysdeps/unix/sysv/linux/configure: Regenerated.
1916 2013-11-13 Joseph Myers <joseph@codesourcery.com>
1919 * stdlib/strtod_l.c (round_and_return): Do not consider
1920 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1921 exponent one less than half the least subnormal exponent.
1922 * stdlib/test-strtod-round-data: Add more tests.
1923 * stdlib/tst-strtod-round.c (tests): Regenerated.
1925 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1928 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1929 (__fe_mask_env): Likewise.
1930 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1931 libm_hidden_proto and add function prototype.
1932 (__fe_mask_env): Add function prototype.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1934 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1936 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1938 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1940 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1942 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1943 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1945 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1947 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1948 of htab_find_slot().
1950 2013-11-11 David S. Miller <davem@davemloft.net>
1953 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1954 symbol in the non-vis3 case in static builds.
1955 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1956 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1957 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1958 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1960 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1963 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1966 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968 * benchtests/Makefile: Add bench-strtod.
1969 * benchtests/bench-strtod.c: New file: strtod benchtest
1971 2013-11-11 Andreas Schwab <schwab@suse.de>
1974 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1975 terminating NUL in key length.
1977 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1980 Add artificial ODP entry for vDSO symbol for PPC64.
1981 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1982 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1984 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1987 * nss/getent.c (services_keys): Recognize services starting with digit.
1989 2013-11-06 David S. Miller <davem@davemloft.net>
1992 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1993 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1995 2013-11-06 Will Newton <will.newton@linaro.org>
1997 * manual/memory.texi (Malloc Examples): Remove register
1998 keyword from examples.
2000 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2002 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2004 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2006 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2007 depending on [__GCC_IEC_559 > 0].
2008 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2009 depending on [__GCC_IEC_559_COMPLEX > 0].
2011 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2013 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2016 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2018 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2020 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2023 * malloc/malloc (malloc_info): Do not handle first bin as
2026 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2028 * locale/iso-639.def: Add Central Nahuatl (nhn).
2030 2013-11-01 Bruno Haible <bruno@clisp.org>
2033 * manual/math.texi (BSD Random): Specify range upper bound as
2036 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2038 * locale/iso-639.def: Add Meadow Mari (mhr).
2040 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2042 [BZ #14752], [BZ #15763]
2043 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2045 * rt/tst_shm.c: Add test for escaping directory.
2047 2013-10-31 Andreas Schwab <schwab@suse.de>
2050 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2051 followed by 'x' as part of digit sequence.
2052 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2054 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2057 * configure.ac: allow GNU Make 4.0 and greater.
2058 * configure: Regenerated.
2060 2013-10-30 Will Newton <will.newton@linaro.org>
2063 * malloc/hooks.c (memalign_check): Limit alignment to the
2064 maximum representable power of two.
2065 * malloc/malloc.c (__libc_memalign): Likewise.
2066 * malloc/tst-memalign.c (do_test): Add test for very
2067 large alignment values.
2068 * malloc/tst-posix_memalign.c (do_test): Likewise.
2070 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2073 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2074 (munmap_chunk): Likewise.
2075 (mremap_chunk): Likewise.
2077 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2080 * stdlib/div.c (div): Remove obsolete code.
2081 * stdlib/ldiv.c (ldiv): Likewise.
2082 * stdlib/lldiv.c (lldiv): Likewise.
2084 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2087 * nss/nss_files/files-XXX.c (get_contents_ret): New
2089 (get_contents): New function.
2090 (internal_getent): Use it. Expand size of LINEBUFLEN.
2092 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2094 * configure.in: Moved to ...
2095 * configure.ac: ... here. Change reference to configure.in
2097 * sysdeps/arm/preconfigure.ac: ... here.
2098 configure.in to configure.ac.
2099 * sysdeps/gnu/configure.in: Moved to ...
2100 * sysdeps/gnu/configure.ac: ... here.
2101 * sysdeps/i386/configure.in: Moved to ...
2102 * sysdeps/i386/configure.ac: ... here.
2103 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2104 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2105 * sysdeps/mach/configure.in: Moved to ...
2106 * sysdeps/mach/configure.ac: ... here.
2107 * sysdeps/mach/hurd/configure.in: Moved to ...
2108 * sysdeps/mach/hurd/configure.ac: ... here.
2109 * sysdeps/powerpc/configure.in: Moved to ...
2110 * sysdeps/powerpc/configure.ac: ... here.
2111 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2112 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2113 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2114 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2115 * sysdeps/s390/s390-32/configure.in: Moved to ...
2116 * sysdeps/s390/s390-32/configure.ac: ... here.
2117 * sysdeps/s390/s390-64/configure.in: Moved to ...
2118 * sysdeps/s390/s390-64/configure.ac: ... here.
2119 * sysdeps/sh/configure.in: Moved to ...
2120 * sysdeps/sh/configure.ac: ... here.
2121 * sysdeps/sparc/configure.in: Moved to ...
2122 * sysdeps/sparc/configure.ac: ... here.
2123 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2124 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2125 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2126 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2127 * sysdeps/x86_64/configure.in: Moved to ...
2128 * sysdeps/x86_64/configure.ac: ... here.
2129 * sysdeps/x86_64/preconfigure.in: Moved to ...
2130 * sysdeps/x86_64/preconfigure.ac: ... here.
2131 * aclocal.m4: Change reference to configure.in to configure.ac.
2132 * config.h.in: Likewise.
2133 * manual/install.texi: Likewise.
2134 * manual/maint.texi: Likewise.
2135 * Makefile: Likewise.
2136 * malloc/Makefile: Likewise.
2137 * nscd/Makefile: Likewise.
2138 * Makeconfig: Change reference to configure.in and
2139 preconfigure.in to configure.ac and preconfigure.ac
2141 * INSTALL: Regenerated.
2142 * configure: Likewise.
2143 * sysdeps/gnu/configure: Likewise.
2144 * sysdeps/i386/configure: Likewise.
2145 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2146 * sysdeps/mach/configure: Likewise.
2147 * sysdeps/mach/hurd/configure: Likewise.
2148 * sysdeps/powerpc/configure: Likewise.
2149 * sysdeps/powerpc/powerpc32/configure: Likewise.
2150 * sysdeps/powerpc/powerpc64/configure: Likewise.
2151 * sysdeps/s390/s390-32/configure: Likewise.
2152 * sysdeps/s390/s390-64/configure: Likewise.
2153 * sysdeps/sh/configure: Likewise.
2154 * sysdeps/sparc/configure: Likewise.
2155 * sysdeps/unix/sysv/linux/configure: Likewise.
2156 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2157 * sysdeps/x86_64/configure: Likewise.
2158 * sysdeps/x86_64/preconfigure: Likewise.
2160 2013-10-29 Andreas Schwab <schwab@suse.de>
2162 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2164 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2166 * benchtests/pow-inputs: Add new inputs.
2168 * benchtests/exp-inputs: Add new inputs.
2170 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2171 conditional check for return value.
2172 (__cos32): Likewise.
2174 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2176 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2177 to provide a boost for large inputs with word alignment.
2178 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2179 implementation based on optimized PPC64 strcpy.
2180 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2181 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2182 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2183 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2185 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2188 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2190 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2193 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2194 * time/tst-strptime.c (day_tests): Add testcase.
2196 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2199 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2201 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2204 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2205 MAP_FAILED on error.
2207 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2210 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2211 heap for large requests.
2213 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2216 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2217 result if the result has no associated interface.
2218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2219 interface for all 127.X.Y.Z addresses.
2221 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2223 * locale/iso-639.def: Add Ligurian (lij)
2225 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2228 * sunrpc/rpc_main.c: Document rpcgen -5.
2230 2013-10-19 Michael Stahl <mstahl@redhat.com>
2232 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2234 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2237 * posix/glob.c: Match only directories when trailing slash is present.
2238 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2239 (main): Add testcase.
2241 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2244 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2246 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2248 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2249 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2250 AUTH_DES and cindex for FIPS 140-2.
2251 (DES Encryption): Add cindex FIPS 46-3.
2253 * locale/locarchive.h (struct locarhandle): Add fname.
2254 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2255 if an optional argument was specified to --list-archive,
2257 * locale/programs/locarchive.c (show_archive_content): Take new
2258 argument fname and pass it via ah.fname to open_archive.
2259 * locale/programs/localedef.h: Update decl.
2260 (open_archive): If AH->fname is non-null, open that file
2261 rather than the default file name, and don't ignore ENOENT.
2262 (create_archive): Set AH.fname to NULL.
2263 (delete_locales_from_archive): Likewise.
2264 (add_locales_to_archive): Likewise.
2265 * locale/programs/locfile.c (write_all_categories): Likewise.
2267 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2268 Aldy Hernandez <aldyh@redhat.com>
2270 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2271 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2272 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2273 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2274 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2275 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2276 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2277 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2278 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2279 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2280 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2281 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2282 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2283 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2284 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2286 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2288 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2290 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2292 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2293 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2295 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2296 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2297 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2298 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2300 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2301 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2302 * sysdeps/powerpc/preconfigure: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2305 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2306 Replace contents of file by #include of <fenv_libc.h>.
2307 * sysdeps/powerpc/soft-fp/sfp-machine.h
2308 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2310 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2311 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2312 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2315 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2323 Allow copysignl PLT reference to be missing.
2325 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2326 Joseph Myers <joseph@codesourcery.com
2329 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2331 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2333 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2335 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2336 * elf/tst-tls1.c: Likewise.
2337 * elf/tst-tls10.h: Likewise.
2338 * elf/tst-tls14.c: Likewise.
2339 * elf/tst-tls2.c: Likewise.
2340 * elf/tst-tls3.c: Likewise.
2341 * elf/tst-tls4.c: Likewise.
2342 * elf/tst-tls5.c: Likewise.
2343 * elf/tst-tls6.c: Likewise.
2344 * elf/tst-tls7.c: Likewise.
2345 * elf/tst-tls8.c: Likewise.
2346 * elf/tst-tls9.c: Likewise.
2347 * elf/tst-tlsmod1.c: Likewise.
2348 * elf/tst-tlsmod13.c: Likewise.
2349 * elf/tst-tlsmod13a.c: Likewise.
2350 * elf/tst-tlsmod14a.c: Likewise.
2351 * elf/tst-tlsmod16a.c: Likewise.
2352 * elf/tst-tlsmod16b.c: Likewise.
2353 * elf/tst-tlsmod2.c: Likewise.
2354 * elf/tst-tlsmod3.c: Likewise.
2355 * elf/tst-tlsmod4.c: Likewise.
2356 * elf/tst-tlsmod5.c: Likewise.
2357 * elf/tst-tlsmod6.c: Likewise.
2359 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2362 * malloc/malloc.c: remove checks for statistics.
2364 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2367 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2368 * inet/tst-network.c: Add testcase.
2370 2013-10-17 Andreas Schwab <schwab@suse.de>
2373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2374 to determine canonical name.
2376 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2378 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2379 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2381 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2383 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2385 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2388 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2389 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2390 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2391 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2392 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2393 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2395 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2396 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2401 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2402 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2403 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2404 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2405 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2406 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2407 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2408 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2410 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2411 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2412 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2413 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2414 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2415 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2416 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2417 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2418 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2419 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2420 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2421 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2422 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2423 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2424 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2425 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2426 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2427 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2428 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2429 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2430 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2431 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2433 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2435 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2437 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2440 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2441 make result into a quiet NaN.
2443 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2445 * soft-fp/adddf3.c: Fix horizontal whitespace.
2446 * soft-fp/addsf3.c: Likewise.
2447 * soft-fp/addtf3.c: Likewise.
2448 * soft-fp/divdf3.c: Likewise.
2449 * soft-fp/divsf3.c: Likewise.
2450 * soft-fp/divtf3.c: Likewise.
2451 * soft-fp/double.h: Likewise.
2452 * soft-fp/eqdf2.c: Likewise.
2453 * soft-fp/eqsf2.c: Likewise.
2454 * soft-fp/eqtf2.c: Likewise.
2455 * soft-fp/extenddftf2.c: Likewise.
2456 * soft-fp/extended.h: Likewise.
2457 * soft-fp/extendsfdf2.c: Likewise.
2458 * soft-fp/extendsftf2.c: Likewise.
2459 * soft-fp/extendxftf2.c: Likewise.
2460 * soft-fp/fixdfdi.c: Likewise.
2461 * soft-fp/fixdfsi.c: Likewise.
2462 * soft-fp/fixdfti.c: Likewise.
2463 * soft-fp/fixsfdi.c: Likewise.
2464 * soft-fp/fixsfsi.c: Likewise.
2465 * soft-fp/fixsfti.c: Likewise.
2466 * soft-fp/fixtfdi.c: Likewise.
2467 * soft-fp/fixtfsi.c: Likewise.
2468 * soft-fp/fixtfti.c: Likewise.
2469 * soft-fp/fixunsdfdi.c: Likewise.
2470 * soft-fp/fixunsdfsi.c: Likewise.
2471 * soft-fp/fixunsdfti.c: Likewise.
2472 * soft-fp/fixunssfdi.c: Likewise.
2473 * soft-fp/fixunssfsi.c: Likewise.
2474 * soft-fp/fixunssfti.c: Likewise.
2475 * soft-fp/fixunstfdi.c: Likewise.
2476 * soft-fp/fixunstfsi.c: Likewise.
2477 * soft-fp/fixunstfti.c: Likewise.
2478 * soft-fp/floatdidf.c: Likewise.
2479 * soft-fp/floatdisf.c: Likewise.
2480 * soft-fp/floatditf.c: Likewise.
2481 * soft-fp/floatsidf.c: Likewise.
2482 * soft-fp/floatsisf.c: Likewise.
2483 * soft-fp/floatsitf.c: Likewise.
2484 * soft-fp/floattidf.c: Likewise.
2485 * soft-fp/floattisf.c: Likewise.
2486 * soft-fp/floattitf.c: Likewise.
2487 * soft-fp/floatundidf.c: Likewise.
2488 * soft-fp/floatundisf.c: Likewise.
2489 * soft-fp/floatunditf.c: Likewise.
2490 * soft-fp/floatunsidf.c: Likewise.
2491 * soft-fp/floatunsisf.c: Likewise.
2492 * soft-fp/floatunsitf.c: Likewise.
2493 * soft-fp/floatuntidf.c: Likewise.
2494 * soft-fp/floatuntisf.c: Likewise.
2495 * soft-fp/floatuntitf.c: Likewise.
2496 * soft-fp/fmadf4.c: Likewise.
2497 * soft-fp/fmasf4.c: Likewise.
2498 * soft-fp/fmatf4.c: Likewise.
2499 * soft-fp/gedf2.c: Likewise.
2500 * soft-fp/gesf2.c: Likewise.
2501 * soft-fp/getf2.c: Likewise.
2502 * soft-fp/ledf2.c: Likewise.
2503 * soft-fp/lesf2.c: Likewise.
2504 * soft-fp/letf2.c: Likewise.
2505 * soft-fp/muldf3.c: Likewise.
2506 * soft-fp/mulsf3.c: Likewise.
2507 * soft-fp/multf3.c: Likewise.
2508 * soft-fp/negdf2.c: Likewise.
2509 * soft-fp/negsf2.c: Likewise.
2510 * soft-fp/negtf2.c: Likewise.
2511 * soft-fp/op-1.h: Likewise.
2512 * soft-fp/op-2.h: Likewise.
2513 * soft-fp/op-4.h: Likewise.
2514 * soft-fp/op-8.h: Likewise.
2515 * soft-fp/op-common.h: Likewise.
2516 * soft-fp/quad.h: Likewise.
2517 * soft-fp/single.h: Likewise.
2518 * soft-fp/soft-fp.h: Likewise.
2519 * soft-fp/sqrtdf2.c: Likewise.
2520 * soft-fp/sqrtsf2.c: Likewise.
2521 * soft-fp/sqrttf2.c: Likewise.
2522 * soft-fp/subdf3.c: Likewise.
2523 * soft-fp/subsf3.c: Likewise.
2524 * soft-fp/subtf3.c: Likewise.
2525 * soft-fp/truncdfsf2.c: Likewise.
2526 * soft-fp/trunctfdf2.c: Likewise.
2527 * soft-fp/trunctfsf2.c: Likewise.
2528 * soft-fp/trunctfxf2.c: Likewise.
2529 * soft-fp/unorddf2.c: Likewise.
2530 * soft-fp/unordsf2.c: Likewise.
2531 * soft-fp/unordtf2.c: Likewise.
2533 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2535 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2536 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2538 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2540 * elf/dl-libc.c: Clear initfini list after freeing.
2542 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2544 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2545 * soft-fp/addsf3.c: Likewise.
2546 * soft-fp/addtf3.c: Likewise.
2547 * soft-fp/divdf3.c: Likewise.
2548 * soft-fp/divsf3.c: Likewise.
2549 * soft-fp/divtf3.c: Likewise.
2550 * soft-fp/double.h: Likewise.
2551 * soft-fp/eqdf2.c: Likewise.
2552 * soft-fp/eqsf2.c: Likewise.
2553 * soft-fp/eqtf2.c: Likewise.
2554 * soft-fp/extenddftf2.c: Likewise.
2555 * soft-fp/extended.h: Likewise.
2556 * soft-fp/extendsfdf2.c: Likewise.
2557 * soft-fp/extendsftf2.c: Likewise.
2558 * soft-fp/extendxftf2.c: Likewise.
2559 * soft-fp/fixdfdi.c: Likewise.
2560 * soft-fp/fixdfsi.c: Likewise.
2561 * soft-fp/fixdfti.c: Likewise.
2562 * soft-fp/fixsfdi.c: Likewise.
2563 * soft-fp/fixsfsi.c: Likewise.
2564 * soft-fp/fixsfti.c: Likewise.
2565 * soft-fp/fixtfdi.c: Likewise.
2566 * soft-fp/fixtfsi.c: Likewise.
2567 * soft-fp/fixtfti.c: Likewise.
2568 * soft-fp/fixunsdfdi.c: Likewise.
2569 * soft-fp/fixunsdfsi.c: Likewise.
2570 * soft-fp/fixunsdfti.c: Likewise.
2571 * soft-fp/fixunssfdi.c: Likewise.
2572 * soft-fp/fixunssfsi.c: Likewise.
2573 * soft-fp/fixunssfti.c: Likewise.
2574 * soft-fp/fixunstfdi.c: Likewise.
2575 * soft-fp/fixunstfsi.c: Likewise.
2576 * soft-fp/fixunstfti.c: Likewise.
2577 * soft-fp/floatdidf.c: Likewise.
2578 * soft-fp/floatdisf.c: Likewise.
2579 * soft-fp/floatditf.c: Likewise.
2580 * soft-fp/floatsidf.c: Likewise.
2581 * soft-fp/floatsisf.c: Likewise.
2582 * soft-fp/floatsitf.c: Likewise.
2583 * soft-fp/floattidf.c: Likewise.
2584 * soft-fp/floattisf.c: Likewise.
2585 * soft-fp/floattitf.c: Likewise.
2586 * soft-fp/floatundidf.c: Likewise.
2587 * soft-fp/floatundisf.c: Likewise.
2588 * soft-fp/floatunsidf.c: Likewise.
2589 * soft-fp/floatunsisf.c: Likewise.
2590 * soft-fp/floatuntidf.c: Likewise.
2591 * soft-fp/floatuntisf.c: Likewise.
2592 * soft-fp/floatuntitf.c: Likewise.
2593 * soft-fp/fmadf4.c: Likewise.
2594 * soft-fp/fmasf4.c: Likewise.
2595 * soft-fp/fmatf4.c: Likewise.
2596 * soft-fp/gedf2.c: Likewise.
2597 * soft-fp/gesf2.c: Likewise.
2598 * soft-fp/getf2.c: Likewise.
2599 * soft-fp/ledf2.c: Likewise.
2600 * soft-fp/lesf2.c: Likewise.
2601 * soft-fp/letf2.c: Likewise.
2602 * soft-fp/muldf3.c: Likewise.
2603 * soft-fp/mulsf3.c: Likewise.
2604 * soft-fp/multf3.c: Likewise.
2605 * soft-fp/negdf2.c: Likewise.
2606 * soft-fp/negsf2.c: Likewise.
2607 * soft-fp/negtf2.c: Likewise.
2608 * soft-fp/op-1.h: Likewise.
2609 * soft-fp/op-2.h: Likewise.
2610 * soft-fp/op-4.h: Likewise.
2611 * soft-fp/op-8.h: Likewise.
2612 * soft-fp/op-common.h: Likewise.
2613 * soft-fp/quad.h: Likewise.
2614 * soft-fp/single.h: Likewise.
2615 * soft-fp/soft-fp.h: Likewise.
2616 * soft-fp/sqrtdf2.c: Likewise.
2617 * soft-fp/sqrtsf2.c: Likewise.
2618 * soft-fp/sqrttf2.c: Likewise.
2619 * soft-fp/subdf3.c: Likewise.
2620 * soft-fp/subsf3.c: Likewise.
2621 * soft-fp/subtf3.c: Likewise.
2622 * soft-fp/truncdfsf2.c: Likewise.
2623 * soft-fp/trunctfdf2.c: Likewise.
2624 * soft-fp/trunctfsf2.c: Likewise.
2625 * soft-fp/trunctfxf2.c: Likewise.
2626 * soft-fp/unorddf2.c: Likewise.
2627 * soft-fp/unordsf2.c: Likewise.
2628 * soft-fp/unordtf2.c: Likewise.
2630 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
2633 * misc/error.c (error_tail): Fix possible buffer overflow.
2635 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2638 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2641 2013-10-14 P. J. McDermott <pj@pehjota.net>
2644 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2645 testing pipefail option.
2647 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2649 * soft-fp/double.h: Indent preprocessor directives inside #if.
2650 * soft-fp/extended.h: Likewise.
2651 * soft-fp/op-2.h: Likewise.
2652 * soft-fp/op-4.h: Likewise.
2653 * soft-fp/op-common.h: Likewise.
2654 * soft-fp/quad.h: Likewise.
2655 * soft-fp/single.h: Likewise.
2656 * soft-fp/soft-fp.h: Likewise.
2658 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2660 * iconv/iconv_prog.c: Fix typos.
2661 * stdio-common/psiginfo-data.h: Likewise.
2663 2013-10-12 Reuben Thomas <rrt@sc3d.org>
2666 * locale/setlocale.c: Fix typo.
2668 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2671 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2672 signaling NaN arguments.
2673 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2674 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2677 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2679 * soft-fp/gesf2.c (__gesf2): Likewise.
2680 * soft-fp/getf2.c (__getf2): Likewise.
2681 * soft-fp/ledf2.c (__ledf2): Likewise.
2682 * soft-fp/lesf2.c (__lesf2): Likewise.
2683 * soft-fp/letf2.c (__letf2): Likewise.
2685 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2686 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2687 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2688 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2689 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2690 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2691 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2692 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2693 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2694 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2695 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2696 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2697 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2698 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2699 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2700 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2701 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2702 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2703 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2704 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2705 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2706 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2707 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2708 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2709 * soft-fp/floattidf.c (__floattidf): Likewise.
2710 * soft-fp/floattisf.c (__floattisf): Likewise.
2711 * soft-fp/floattitf.c (__floattitf): Likewise.
2712 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2713 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2714 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2715 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2716 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2717 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2718 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2719 * soft-fp/gesf2.c (__gesf2): Likewise.
2720 * soft-fp/getf2.c (__getf2): Likewise.
2721 * soft-fp/ledf2.c (__ledf2): Likewise.
2722 * soft-fp/lesf2.c (__lesf2): Likewise.
2723 * soft-fp/letf2.c (__letf2): Likewise.
2725 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2726 Undefine and redefine.
2727 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2728 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2729 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2730 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2731 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2732 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2733 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2734 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2735 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2736 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2737 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2738 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2739 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2740 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2741 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2744 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2745 without decrementing exponent if mantissa >= that for the
2747 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2748 denominator, not >. Decrement exponent in < case instead of
2749 incrementing in >= case.
2750 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2751 without decrementing exponent if mantissa >= that for the
2754 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2755 computing saturated result for unsigned overflow.
2757 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2758 Jeff Law <law@redhat.com>
2760 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2761 (atan2Mp): Add systemtap probe marker.
2762 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2763 (__ieee754_log): Add systemtap probe marker.
2764 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2765 (atanMp): Add systemtap probe marker.
2766 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2767 (tanMp): Add systemtap probe marker.
2768 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2769 (__slowexp): Add systemtap probe marker.
2770 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2771 (__slowpow): Add systemtap probe marker.
2772 * manual/probes.texi: Document probes.
2774 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2777 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2779 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2781 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2782 written to buffer but not flushed.
2783 * libio/iofwrite_u.c: Likewise.
2784 * libio/iopadn.c: Return bytes returned even if EOF was
2786 * libio/iowpadn.c: Likewise.
2787 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2788 if _IO_padn does not write the whole buffer.
2789 [!COMPILE_WPRINTF] (PAD): Likewise.
2791 2013-10-10 David S. Miller <davem@davemloft.net>
2793 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2796 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2798 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2799 instead of FSF address.
2800 * soft-fp/fixdfti.c: Likewise.
2801 * soft-fp/fixsfti.c: Likewise.
2802 * soft-fp/fixtfti.c: Likewise.
2803 * soft-fp/fixunsdfti.c: Likewise.
2804 * soft-fp/fixunssfti.c: Likewise.
2805 * soft-fp/fixunstfti.c: Likewise.
2806 * soft-fp/floattidf.c: Likewise.
2807 * soft-fp/floattisf.c: Likewise.
2808 * soft-fp/floattitf.c: Likewise.
2809 * soft-fp/floatuntidf.c: Likewise.
2810 * soft-fp/floatuntisf.c: Likewise.
2811 * soft-fp/floatuntitf.c: Likewise.
2812 * soft-fp/trunctfxf2.c: Likewise.
2814 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2815 * soft-fp/fixdfti.c: Likewise.
2816 * soft-fp/fixsfti.c: Likewise.
2817 * soft-fp/fixtfti.c: Likewise.
2818 * soft-fp/fixunsdfti.c: Likewise.
2819 * soft-fp/fixunssfti.c: Likewise.
2820 * soft-fp/fixunstfti.c: Likewise.
2821 * soft-fp/floattidf.c: Likewise.
2822 * soft-fp/floattisf.c: Likewise.
2823 * soft-fp/floattitf.c: Likewise.
2824 * soft-fp/floatuntidf.c: Likewise.
2825 * soft-fp/floatuntisf.c: Likewise.
2826 * soft-fp/floatuntitf.c: Likewise.
2827 * soft-fp/trunctfxf2.c: Likewise.
2829 2013-10-10 David S. Miller <davem@davemloft.net>
2831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2833 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2835 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2836 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2837 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2838 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2839 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2840 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2841 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2843 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2844 for NaNs before doing comparisons on argument.
2845 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2848 2013-10-10 Will Newton <will.newton@linaro.org>
2850 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2851 passed to _int_memalign does not overflow.
2853 2013-10-10 Torvald Riegel <triegel@redhat.com>
2855 * scripts/bench.pl: Add include-sources directive.
2856 * benchtests/README: Update documentation.
2858 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2860 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2861 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2862 instead of FP_INIT_ROUNDMODE.
2863 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2864 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2867 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2868 copy class of input value.
2869 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2870 not handle exceptions.
2871 * soft-fp/negsf2.c (__negsf2): Likewise.
2872 * soft-fp/negtf2.c (__negtf2): Likewise.
2873 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2875 2013-10-09 Joseph Myers <joseph@codesourcery.com>
2877 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2878 semicolon. From Linux kernel.
2880 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2882 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2884 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2887 * manual/socket.texi: Added statement about buffer
2888 for gethostbyname2_r.
2890 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
2892 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2893 Use .p2align directive instead, throughout.
2894 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2895 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2896 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2898 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2899 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2900 * sysdeps/x86_64/strchr.S: Likewise.
2901 * sysdeps/x86_64/strrchr.S: Likewise.
2903 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2905 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2907 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2909 * sysdeps/generic/math_private.h (__mpsin1): Remove
2911 (__mpcos1): Likewise.
2912 (__mpsin): New argument __range_reduce.
2913 (__mpcos): Likewise.
2914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2915 (slow): Use __mpsin and __mpcos.
2922 (bsloww1): Likewise.
2923 (bsloww2): Likewise.
2926 (csloww1): Likewise.
2927 (csloww2): Likewise.
2928 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2929 range_reduce. Merge in __mpsin1.
2930 (__mpcos): Likewise.
2932 (__mpcos1): Likewise.
2934 2013-10-07 Joseph Myers <joseph@codesourcery.com>
2936 * locale/loadlocale.c (_nl_intern_locale_data): Use
2938 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2939 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2940 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2941 obstack data is appropriately aligned.
2942 (obstack_int32_grow_fast): Likewise.
2943 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2944 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2945 (add_locale_uint32_array): Likewise.
2947 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2949 * benchtests/Makefile: Remove ARGLIST and RET variables.
2950 ($(objpfx)bench-%.c): Pass only function name to the script.
2951 * benchtests/README: Update documentation.
2952 * benchtests/acos-inputs: Add new directives.
2953 * benchtests/acosh-inputs: Likewise.
2954 * benchtests/asin-inputs: Likewise.
2955 * benchtests/asinh-inputs: Likewise.
2956 * benchtests/atan-inputs: Likewise.
2957 * benchtests/atanh-inputs: Likewise.
2958 * benchtests/cos-inputs: Likewise.
2959 * benchtests/cosh-inputs: Likewise.
2960 * benchtests/exp-inputs: Likewise.
2961 * benchtests/log-inputs: Likewise.
2962 * benchtests/pow-inputs: Likewise.
2963 * benchtests/rint-inputs: Likewise.
2964 * benchtests/sin-inputs: Likewise.
2965 * benchtests/sinh-inputs: Likewise.
2966 * benchtests/tan-inputs: Likewise.
2967 * benchtests/tanh-inputs: Likewise.
2968 * scripts/bench.pl: Add support for new directives.
2970 2013-10-07 Alan Modra <amodra@gmail.com>
2972 * README: Fix careless merge.
2974 2013-10-05 Alan Modra <amodra@gmail.com>
2976 * NEWS: Mention powerpc64le support and bugs fixed.
2977 * README: Both big-endian and little-endian powerpc64 supported.
2979 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2981 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2982 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2983 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2984 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2986 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2988 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2991 2013-10-04 Joseph Myers <joseph@codesourcery.com>
2993 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2994 Move -mhard-float appending from
2995 ports/sysdeps/powerpc/powerpc32/Makefile.
2996 [$(with-fp) = yes] (ASFLAGS): Likewise.
2997 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2998 * sysdeps/powerpc/nofpu: Move directory from
2999 ports/sysdeps/powerpc/nofpu.
3000 * sysdeps/powerpc/soft-fp: Move directory from
3001 ports/sysdeps/powerpc/soft-fp.
3002 * sysdeps/powerpc/powerpc32/405: Move directory from
3003 ports/sysdeps/powerpc/powerpc32/405.
3004 * sysdeps/powerpc/powerpc32/440: Move directory from
3005 ports/sysdeps/powerpc/powerpc32/440.
3006 * sysdeps/powerpc/powerpc32/464: Move directory from
3007 ports/sysdeps/powerpc/powerpc32/464.
3008 * sysdeps/powerpc/powerpc32/476: Move directory from
3009 ports/sysdeps/powerpc/powerpc32/476.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3011 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3013 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3015 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3017 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3019 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3020 * README: Update for powerpc-*-linux-gnu software floating point
3023 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3024 case to powerpc/powerpc32*.
3025 * sysdeps/unix/sysv/linux/configure: Regenerated.
3027 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3028 (_FPU_MASK_OM): Define as 0x04.
3029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3037 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3040 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3043 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3044 and setcontext_e500.
3046 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3048 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3050 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3052 * manual/threads.texi (Default Thread Attributes): Fix typo.
3054 2013-10-04 Will Newton <will.newton@linaro.org>
3056 * malloc/Makefile: Add tst-memalign.
3057 * malloc/tst-memalign.c: New file.
3059 * malloc/tst-posix_memalign.c: Add comments.
3060 (do_test): Add comments and call free on all potentially
3061 allocated pointers. Add space after cast.
3063 * malloc/tst-pvalloc.c: Add comments.
3064 (do_test): Add comments and call free on all potentially
3065 allocated pointers. Remove duplicate check for NULL pointer.
3066 Add space after cast.
3068 * malloc/tst-valloc.c: Add comments.
3069 (do_test): Add comments and call free on all potentially
3070 allocated pointers. Remove duplicate check for NULL pointer.
3071 Add space after cast.
3073 2013-10-04 Alan Modra <amodra@gmail.com>
3075 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3076 Use stdint types in rather than __attribute__((mode())).
3077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3079 2013-10-04 Alan Modra <amodra@gmail.com>
3081 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3082 Correct handling of unaligned relocs for little-endian.
3083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3085 2013-10-04 Alan Modra <amodra@gmail.com>
3087 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3088 * configure: Regenerate.
3089 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3090 * shlib-versions: Likewise.
3092 2013-10-04 Alan Modra <amodra@gmail.com>
3094 * string/tester.c (test_memrchr): Increment reported test cycle.
3096 2013-10-04 Alan Modra <amodra@gmail.com>
3098 * string/test-memcpy.c (do_one_test): When reporting errors, print
3099 string address and don't overrun end of string.
3101 2013-10-04 Alan Modra <amodra@gmail.com>
3103 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3104 insrdi. Make better use of reg selection to speed exit slightly.
3105 Schedule entry path a little better. Remove useless "are we done"
3106 checks on entry to main loop. Handle wrapping around zero address.
3107 Correct main loop count. Handle single left-over word from main
3108 loop inline rather than by using loop_small. Remove extra word
3109 case in loop_small caused by wrong loop count. Add little-endian
3111 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3112 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3114 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3115 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3116 support. Avoid rlwimi.
3117 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3119 2013-10-04 Alan Modra <amodra@gmail.com>
3121 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3123 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3124 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3125 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3126 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3127 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3128 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3130 2013-10-04 Alan Modra <amodra@gmail.com>
3132 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3133 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3135 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3136 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3137 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3139 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3140 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3141 use of regs. Use power7 mtocrf. Tidy function tails.
3143 2013-10-04 Alan Modra <amodra@gmail.com>
3145 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3146 Formatting. Consistently use rXXX register defines or rN defines.
3147 Use early exit labels that avoid restoring unused non-volatile regs.
3148 Make cr field use more consistent with rWORDn compares. Rename
3149 regs used as shift registers for unaligned loop, using rN defines
3150 for short lifetime/multiple use regs.
3151 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3152 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3153 addi 1,1,64 to pop stack frame. Simplify return value code.
3154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3156 2013-10-04 Alan Modra <amodra@gmail.com>
3158 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3159 support. Correct typos, formatting. Optimize tail. Use insrdi
3161 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3162 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3163 little-endian support. Correct typos.
3164 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3166 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3167 in loop and entry code to keep "and." results.
3168 (strchr): Add little-endian support. Comment. Move cntlzd
3170 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3172 2013-10-04 Alan Modra <amodra@gmail.com>
3174 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3175 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3176 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3177 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3179 2013-10-04 Alan Modra <amodra@gmail.com>
3181 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3182 (rTMP): Define as r11.
3183 (strcmp): Add little-endian support. Optimise tail.
3184 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3185 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3186 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3188 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3192 2013-10-04 Alan Modra <amodra@gmail.com>
3194 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3195 little-endian support. Remove unnecessary "are we done" tests.
3196 Handle "s" wrapping around zero and extremely large "size".
3197 Correct main loop count. Handle single left-over word from main
3198 loop inline rather than by using small_loop. Correct comments.
3199 Delete "zero" tail, use "end_max" instead.
3200 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3202 2013-10-04 Alan Modra <amodra@gmail.com>
3204 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3205 support. Don't branch over align.
3206 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3207 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3208 support. Rearrange tmp reg use to suit. Comment.
3209 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3211 2013-10-04 Alan Modra <amodra@gmail.com>
3213 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3215 2013-10-04 Alan Modra <amodra@gmail.com>
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3218 conditional form of branch and link when obtaining pc.
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3221 2013-10-04 Alan Modra <amodra@gmail.com>
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3228 2013-10-04 Alan Modra <amodra@gmail.com>
3230 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3231 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3232 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3233 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3234 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3235 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3236 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3237 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3238 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3239 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3241 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3242 Alistair Popple <alistair@ozlabs.au.ibm.com>
3243 Alan Modra <amodra@gmail.com>
3246 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3247 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3248 _dl_hwcap access for little-endian.
3249 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3250 destroy vmx regs when saving unaligned.
3251 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3252 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3253 destroy vmx regs when saving unaligned.
3255 2013-10-04 Alan Modra <amodra@gmail.com>
3257 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3258 Don't use a union to pack hi/low value.
3260 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3262 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3264 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3265 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3266 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3267 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3270 2013-10-04 Alan Modra <amodra@gmail.com>
3272 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3273 constants to usual value for .cst8 section, and remove redundant
3275 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3276 constant for 0x1p52. Load little-endian words of double from
3277 correct stack offsets.
3279 2013-10-04 Alan Modra <amodra@gmail.com>
3281 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3282 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3283 words of double from correct stack offsets.
3284 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3285 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3286 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3287 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3290 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3291 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3292 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3293 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3296 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3297 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3298 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3300 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3302 2013-10-04 Alan Modra <amodra@gmail.com>
3304 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3305 64-bit int/double union.
3306 (_FPU_SETCW): Likewise.
3307 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3308 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3310 2013-10-04 Alan Modra <amodra@gmail.com>
3312 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3313 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3315 2013-10-04 Alan Modra <amodra@gmail.com>
3317 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3318 use vector int constants.
3319 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3321 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3323 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3324 array with long long.
3325 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3326 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3327 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3328 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3329 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3330 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3331 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3332 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3333 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3334 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3335 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3337 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3339 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3341 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3342 (__signbit): Likewise. Correct for little-endian.
3343 (__signbitl): Call __signbit.
3344 (lrint): Correct for little-endian.
3345 (lrintf): Call lrint.
3347 2013-10-04 Alan Modra <amodra@gmail.com>
3349 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3350 union 32-bit int array member with 64-bit int array.
3351 (t515, tm256): Double rather than long double.
3352 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3354 2013-10-04 Alan Modra <amodra@gmail.com>
3356 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3358 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3360 version of math_ldbl.h.
3362 2013-10-04 Alan Modra <amodra@gmail.com>
3364 [BZ #15734], [BZ #15735]
3365 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3366 all uses of ieee875 long double macros and unions. Simplify test
3367 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3368 ldbl_extract_mantissa value for ix,iy exponents. Properly
3369 normalize after ldbl_extract_mantissa, and don't add hidden bit
3370 already handled. Don't treat low word of ieee854 mantissa like
3371 low word of IBM long double and mask off bit when testing for
3373 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3374 all uses of ieee875 long double macros and unions. Simplify tests
3375 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3376 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3377 two1022, instead use their values. Recognise that tests for large
3378 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3379 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3380 Rewrite all uses of ieee875 long double macros and unions. Simplify
3381 test for 0.0L and nan. Correct negation.
3382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3383 ieee875 long double macros and unions. Correct output for large
3384 magnitude x. Correct absolute value calculation.
3385 (__erfcl): Likewise.
3386 * math/libm-test.inc: Add tests for errors discovered in IBM long
3387 double versions of fmodl, remainderl, erfl and erfcl.
3389 2013-10-04 Alan Modra <amodra@gmail.com>
3391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3392 all uses of ieee854 long double macros and unions. Simplify tests
3393 for long doubles that are fully specified by the high double.
3394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3396 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3397 Remove dead code too.
3398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3399 (__ieee754_ynl): Likewise.
3400 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3401 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3403 Remove dead code too.
3404 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3405 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3407 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3411 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3414 Comment on variable precision.
3415 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3416 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3418 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3421 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3424 2013-10-04 Alan Modra <amodra@gmail.com>
3426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3427 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3428 all uses of ieee854 long double macros and unions.
3429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3431 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3432 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3433 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3436 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3438 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3440 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3442 Simplify sign and nan test too.
3443 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3444 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3445 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3446 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3448 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3449 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3453 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3458 2013-10-04 Alan Modra <amodra@gmail.com>
3460 * stdio-common/printf_size.c (__printf_size): Don't use
3461 union ieee854_long_double in fpnum union.
3462 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3463 signbit macro to retrieve sign from long double.
3464 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3465 retrieve sign from long double.
3466 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3467 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3468 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3469 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3470 * math/test-misc.c (main): Don't use union ieee854_long_double.
3472 2013-10-04 Alan Modra <amodra@gmail.com>
3475 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3476 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3477 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3478 calculation. Remove unnecessary test for denormal exponent.
3479 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3480 Correct handling of denormals. Avoid undefined shift behaviour.
3481 Correct normalisation of low mantissa when low double is denormal.
3482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3483 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3484 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3485 Correct normalisation of low mantissa. Test for overflow of high
3486 mantissa and normalise.
3487 (ldbl_nearbyint): Use more readable constant for two52.
3488 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3489 (__mpn_construct_long_double): Fix test for overflow of high
3490 mantissa and correct normalisation. Avoid undefined shift.
3492 2013-10-04 Alan Modra <amodra@gmail.com>
3494 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3495 (union ibm_extended_long_double): Define as an array of ieee754_double.
3496 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3497 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3498 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3499 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3501 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3503 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3504 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3505 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3506 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3508 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3510 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3511 page size instead of calling getpagesize.
3513 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3514 (LOCFILE_ALIGN_MASK): Likewise.
3515 (LOCFILE_ALIGN_UP): Likewise.
3516 (LOCFILE_ALIGNED_P): Likewise.
3517 * locale/programs/ld-collate.c (collate_output): Use the new
3518 macros instead of __alignof__ (int32_t).
3519 * locale/weight.h (findidx): Likewise.
3521 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3524 * manual/string.texi: Fix strncat and wcsncat.
3526 2013-10-03 Brooks Moses <bmoses@google.com>
3529 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3530 * Makerules: ...here, and adjust associated comments.
3532 2013-10-02 Will Newton <will.newton@linaro.org>
3534 * malloc/Makefile: Add tst-pvalloc.
3535 * malloc/tst-pvalloc.c: New file.
3537 2013-10-02 Will Newton <will.newton@linaro.org>
3539 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3540 improve test coverage.
3542 2013-10-02 Will Newton <will.newton@linaro.org>
3544 * malloc/Makefile: Add tst-posix_memalign.
3545 * malloc/tst-posix_memalign.c: New file.
3547 2013-10-01 Eric Blake <eblake@redhat.com>
3549 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3550 Use __THROWNL rather than __THROW on static functions.
3552 2013-09-30 Petr Machata <pmachata@redhat.com>
3554 * elf/elf.h (R_AARCH64_ABS16): New macro.
3555 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3556 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3557 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3558 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3559 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3560 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3561 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3562 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3563 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3564 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3565 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3566 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3567 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3568 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3569 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3570 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3571 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3572 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3573 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3574 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3575 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3576 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3577 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3578 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3579 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3580 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3581 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3582 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3583 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3584 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3585 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3586 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3587 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3588 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3589 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3590 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3591 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3592 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3593 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3594 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3595 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3596 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3597 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3598 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3599 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3600 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3601 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3602 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3603 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3604 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3605 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3606 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3607 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3608 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3609 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3610 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3611 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3612 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3613 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3614 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3615 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3616 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3617 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3618 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3619 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3620 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3621 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3622 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3623 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3624 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3625 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3626 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3627 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3628 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3629 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3630 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3631 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3632 (R_AARCH64_TLSDESC_LDR): Likewise.
3633 (R_AARCH64_TLSDESC_ADD): Likewise.
3634 (R_AARCH64_TLSDESC_CALL): Likewise.
3636 2013-09-30 Andreas Schwab <schwab@suse.de>
3639 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3640 the nss database lookup.
3641 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3644 2013-09-28 Mike Frysinger <vapier@gentoo.org>
3646 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3648 2013-09-28 P. J. McDermott <pj@pehjota.net>
3650 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3651 ${Bash-specific parameter/pattern/string} parameter expansion.
3652 * sysdeps/unix/make-syscalls.sh: Likewise.
3654 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3656 * sysdeps/sh/stackguard-macros.h: New file.
3658 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
3660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3662 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3663 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3664 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3665 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3667 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3670 Fix thread ID register.
3672 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3674 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3675 [POSIX || UNIX98]: Require rather than permitting all symbols from
3677 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3678 element of struct sched_param.
3679 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3680 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3681 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3682 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3685 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3687 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3688 argument calculation.
3690 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3692 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3694 [POSIX] (pthread_attr_t): Do not require type.
3695 [POSIX] (pthread_cond_t): Likewise.
3696 [POSIX] (pthread_condattr_t): Likewise.
3697 [POSIX] (pthread_key_t): Likewise.
3698 [POSIX] (pthread_mutex_t): Likewise.
3699 [POSIX] (pthread_mutexattr_t): Likewise.
3700 [POSIX] (pthread_once_t): Likewise.
3701 [POSIX] (pthread_t): Likewise.
3702 [POSIX-based standards] (pthread_atfork): Expect function.
3704 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3705 Richard Sandiford <richard@codesourcery.com>
3707 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3708 (swap_endianness_p): New extern variable.
3709 (set_big_endian): New inline function.
3710 (maybe_swap_uint32): Likewise.
3711 (maybe_swap_uint32_array): Likewise.
3712 (maybe_swap_uint32_obstack): Likewise.
3713 * locale/programs/locfile.c: Include <stdbool.h>.
3714 (swap_endianness_p): New variable.
3715 (add_locale_uint32): Call maybe_swap_uint32.
3716 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3717 (write_locale_data): Call maybe_swap_uint32_array.
3718 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3720 (obstack_int32_grow_fast): Likewise.
3721 (output_weightwc): Call maybe_swap_uint32_obstack.
3722 (collate_output): Likewise.
3723 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3724 (OPT_LITTLE_ENDIAN): Likewise.
3725 (options): Add --little-endian and --big-endian options.
3726 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3727 * locale/programs/locarchive.c: Include "locfile.h".
3731 (create_archive): Use the new macros to access fields of
3732 structures directly mapped from or written to locale archives.
3733 (oldlocrecentcmp): Likewise.
3734 (enlarge_archive): Likewise.
3735 (insert_name): Likewise.
3736 (add_alias): Likewise.
3737 (add_locale): Likewise.
3738 (delete_locales_from_archive): Likewise.
3739 (show_archive_content): Likewise.
3740 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3743 2013-09-24 Roland McGrath <roland@hack.frob.com>
3745 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3746 http://www.gnu.org/doc/freemanuals.texi.
3747 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3749 2013-09-24 Will Newton <will.newton@linaro.org>
3751 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3754 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3756 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3759 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3761 * manual/threads.texi (POSIX Threads): Fix a typo.
3763 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3766 * string/tst-strcoll-overflow.c: New test case.
3767 * string/Makefile (xtests): Add tst-strcoll-overflow.
3768 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3769 cache if string sizes may cause integer overflow.
3772 * string/strcoll_l.c (coll_seq): New members rule, idx,
3773 save_idx and back_us.
3774 (get_next_seq_nocache): New function.
3775 (do_compare_nocache): New function.
3776 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3779 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3782 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3783 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3784 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3787 * elf/Makefile (tests): Add tst-ptrguard1.
3788 (tests-static): Add tst-ptrguard1-static.
3789 (tst-ptrguard1-ARGS): Define.
3790 (tst-ptrguard1-static-ARGS): Define.
3791 * elf/tst-ptrguard1.c: New file.
3792 * elf/tst-ptrguard1-static.c: New file.
3793 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3794 * sysdeps/i386/stackguard-macros.h: Likewise.
3795 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3796 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3797 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3798 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3799 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3800 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3802 2013-09-23 Hector Marco <hecmargi@upv.es>
3803 Ismael Ripoll <iripoll@disca.upv.es>
3804 Carlos O'Donell <carlos@redhat.com>
3807 * sysdeps/generic/stackguard-macros.h: Define
3808 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3809 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3810 Define __pointer_chk_guard_local.
3811 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3812 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3814 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3817 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3819 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3821 * include/string.h (__ffs): Declare as hidden.
3822 * string/ffs.c (__ffs): Define as hidden.
3823 * sysdeps/i386/ffs.c (__ffs): Likewise.
3824 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3825 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3826 * sysdeps/s390/ffs.c (__ffs): Likewise.
3827 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3829 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3831 * NEWS: Mention malloc probes.
3833 * malloc/arena.c (new_heap): New memory_heap_new probe.
3834 (grow_heap): New memory_heap_more probe.
3835 (shrink_heap): New memory_heap_less probe.
3836 (heap_trim): New memory_heap_free probe.
3837 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3838 (systrim): New memory_sbrk_less probe.
3839 * manual/probes.texi: Document them.
3841 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3842 * manual/probes.texi: Document it.
3844 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3845 (__libc_realloc): Add memory_realloc_retry probe.
3846 (__libc_memalign): Add memory_memalign_retry probe.
3847 (__libc_valloc): Add memory_valloc_retry probe.
3848 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3849 (__libc_calloc): Add memory_calloc_retry probe.
3850 * manual/probes.texi: Document them.
3852 * malloc/arena.c (get_free_list): Add probe
3853 memory_arena_reuse_free_list.
3854 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3855 and memory_arena_reuse.
3856 (arena_get2) [!PER_THREAD]: Likewise.
3857 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3858 memory_arena_reuse_realloc.
3859 * manual/probes.texi: Document them.
3861 * malloc/malloc.c (__libc_free): Add
3862 memory_mallopt_free_dyn_thresholds probe.
3863 (__libc_mallopt): Add multiple memory_mallopt probes.
3864 * manual/probes.texi: Document them.
3866 * malloc/malloc.c: Include stap-probe.h.
3867 (__libc_mallopt): Add memory_mallopt probe.
3868 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3869 * manual/probes.texi: New.
3870 * manual/Makefile (chapters): Add probes.
3871 * manual/threads.texi: Set next node.
3873 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3876 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3877 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3878 Add `Chinese' to `nan' entry name.
3880 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3882 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3883 (POLYNOMIAL): Likewise.
3884 (TAYLOR_SINCOS): Likewise.
3885 (TAYLOR_SLOW): Likewise.
3886 (__sin): Use TAYLOR_SINCOS.
3888 (slow): Use TAYLOR_SLOW.
3893 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3895 * stdlib/strtod_l.c: Fix buffer overrun.
3897 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3899 * benchtests/Makefile (bench): Add sincos.
3900 * benchtests/bench-sincos.c: New file.
3902 * math/libm-test.inc (cos_test_data): New test inputs.
3903 (sin_test_data): Likewise.
3905 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3913 (bsloww1): Likewise.
3914 (bsloww2): Likewise.
3916 (csloww1): Likewise.
3917 (csloww2): Likewise.
3919 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3924 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3928 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3930 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3931 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3932 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3933 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3934 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3935 * elf/cache.c (print_entry): Handle the new cache flags.
3937 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3938 Aldy Hernandez <aldyh@redhat.com>
3940 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3941 Change condition to [_SOFT_FLOAT].
3942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3954 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3957 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3960 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3962 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3963 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3964 (__longjmp): Use LOAD_GP to load saved GPRs.
3965 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3966 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3967 (__sigsetjmp): Use SAVE_GP to save GPRs.
3969 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3970 Do not append -msoft-float.
3971 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3973 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3975 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3977 2013-09-17 Joseph Myers <joseph@codesourcery.com>
3980 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3981 (_FPU_GETCW): Use initial "__" on variable and field names but not
3982 on macro parameter name.
3983 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3984 parentheses around reference to macro parameter.
3986 2013-09-13 Richard Sandiford <richard@codesourcery.com>
3988 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3990 (ctype_startup): Use uint32_t in cast and sizeof for
3993 2013-09-11 Jia Liu <proljc@gmail.com>
3995 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3997 [__FreeBSD__]: Likewise.
3999 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4002 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4003 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4004 (strchr): Remove __strchr_sse42 ifunc selection.
4005 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4006 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4008 2013-09-11 Will Newton <will.newton@linaro.org>
4010 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4011 parameter to RES. Remove hardcoded 1000 value.
4012 * benchtests/bench-skeleton.c (main): Pass RES parameter
4013 to TIMING_INIT and multiply result by 1000.
4015 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4019 2013-09-11 Andreas Schwab <schwab@suse.de>
4021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4023 (O_TMPFILE) [__USE_GNU]: Define.
4024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4027 2013-09-11 Will Newton <will.newton@linaro.org>
4030 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4033 2013-09-11 Will Newton <will.newton@linaro.org>
4036 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4039 2013-09-11 Will Newton <will.newton@linaro.org>
4042 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4045 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4047 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4048 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4053 2013-09-10 Allan McRae <allan@archlinux.org>
4056 * manual/arith.texi (Parsing of Floats): Clarify
4060 * manual/install.texi (Running make install): Mention
4062 * INSTALL: Regenerated.
4064 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4066 * csu/init-first.c (_init): Remove the !SHARED condition around
4067 FPU control word initialization.
4068 * elf/dl-support.c (_dl_fpu_control): New variable.
4069 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4070 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4071 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4072 * math/test-fpucw-static.c: New file.
4073 * math/test-fpucw-ieee.c: New file.
4074 * math/test-fpucw-ieee-static.c: New file.
4075 * math/Makefile (tests): Add `test-fpucw-ieee' and
4077 (tests-static): New variable.
4078 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4080 [($(build-shared),yes)]
4081 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4083 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4086 2013-09-09 Allan McRae <allan@archlinux.org>
4089 * manual/string.texi (Collation Functions): Fix typo in
4091 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4094 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4097 * libio/memstream.c (open_memstream): Fix memory leak.
4098 * libio/wmemstream.c (open_wmemstream): Likewise.
4101 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4103 2013-09-09 Will Newton <will.newton@linaro.org>
4105 * malloc/Makefile: Add tst-realloc to tests.
4106 * malloc/tst-realloc.c: New file.
4108 2013-09-09 Allan McRae <allan@archlinux.org>
4111 * COPYING: Update from GNU website to fix FSF address.
4112 * COPYING.LIB: Likewise.
4114 2013-09-06 David S. Miller <davem@davemloft.net>
4116 * po/zh_TW.po: Update Chinese (traditional) translation from
4117 translation project.
4119 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4120 Joseph Myers <joseph@codesourcery.com>
4122 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4124 (obstack_chunk_alloc): New macro.
4125 (obstack_chunk_free): Likewise.
4126 (record_offset): New function.
4127 (init_locale_data): Likewise.
4128 (align_locale_data): Likewise.
4129 (add_locale_empty): Likewise.
4130 (add_locale_raw_data): Likewise.
4131 (add_locale_raw_obstack): Likewise.
4132 (add_locale_string): Likewise.
4133 (add_locale_wstring): Likewise.
4134 (add_locale_uint32): Likewise.
4135 (add_locale_uint32_array): Likewise.
4136 (add_locale_char): Likewise.
4137 (start_locale_structure): Likewise.
4138 (end_locale_structure): Likewise.
4139 (start_locale_prelude): Likewise.
4140 (end_locale_prelude): Likewise.
4141 (write_locale_data): Take locale_file structure rather than an
4143 * locale/programs/locfile.h: Include "obstack.h".
4144 (struct locale_file): Change to store locale file contents instead
4146 (init_locale_data): New prototype.
4147 (align_locale_data): Likewise.
4148 (add_locale_empty): Likewise.
4149 (add_locale_raw_data): Likewise.
4150 (add_locale_raw_obstack): Likewise.
4151 (add_locale_string): Likewise.
4152 (add_locale_wstring): Likewise.
4153 (add_locale_uint32): Likewise.
4154 (add_locale_uint32_array): Likewise.
4155 (add_locale_char): Likewise.
4156 (start_locale_structure): Likewise.
4157 (end_locale_structure): Likewise.
4158 (start_locale_prelude): Likewise.
4159 (end_locale_prelude): Likewise.
4160 (write_locale_data): Update prototype.
4161 * locale/programs/3level.h (struct TABLE): Remove result field.
4162 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4163 Use new locale_file interface.
4164 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4165 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4166 * locale/programs/ld-address.c (address_output): Use new
4167 locale_file interface.
4168 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4170 (collate_finish): Don't call collseq_table_finalize.
4171 (collate_output): Use new locale_file interface.
4172 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4174 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4175 (TABLE): Move defines earlier in file.
4176 (ELEMENT): Likewise.
4177 (DEFAULT): Likewise.
4178 (wctrans_table_add): Move macro and inline function earlier in
4180 (struct wctype_table): Move type earlier in file.
4181 (add_locale_wctype_table): New static prototype.
4182 (struct locale_ctype_t): Use logical types instead of struct iovec
4183 pointers for members.
4184 (ctype_output): Use new locale_file interface.
4185 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4186 new locale_file interface.
4187 (allocate_arrays): Update for use of new locale_file interface.
4188 * locale/programs/ld-identification.c (identification_output): Use
4189 new locale_file interface.
4190 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4191 * locale/programs/ld-messages.c (messages_output): Likewise.
4192 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4193 * locale/programs/ld-name.c (name_output): Likewise.
4194 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4195 * locale/programs/ld-paper.c (paper_output): Likewise.
4196 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4197 * locale/programs/ld-time.c (time_output): Likewise.
4199 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4201 * benchtests/Makefile: Add memrchr benchmark.
4202 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4203 benchmark as memrchr.
4204 * benchtests/bench-memrchr-ifunc.c: New file.
4205 * benchtests/bench-memrchr.c: New file.
4207 2013-09-06 Will Newton <will.newton@linaro.org>
4209 * benchtests/Makefile (string-bench): Add memcpy.
4211 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4212 Cong Wang <amwang@redhat.com>
4214 * sysdeps/unix/sysv/linux/bits/in.h
4215 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4216 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4217 before __USE_KERNEL_IPV6_DEFS uses.
4218 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4220 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4221 sockaddr_in6, or ipv6_mreq.
4223 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4225 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4226 memory access for final bytes in some large inputs.
4227 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4229 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4231 * string/test-memrchr.c: New file.
4232 * string/test-memrchr-ifunc.c: New file.
4233 * string/Makefile: Add new memrchr testcase.
4235 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4237 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4238 fanotify_init returns EPERM.
4240 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4242 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4244 (top level): Treat second token from macro or constant entries for
4245 allowed headers as allowed.
4246 * include/complex.h: Condition internal declarations on
4248 * include/fenv.h: Condition include of <stdbool.h> and internal
4249 declarations on [!_ISOMAC].
4251 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4254 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4256 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4258 * configure.in (--enable-versioning): Remove configure option.
4259 (libc_cv_asm_symver_directive): Remove configure test.
4260 (libc_cv_ld_version_script_option): Likewise.
4261 (VERSIONING): Remove variable and AC_SUBST.
4262 (DO_VERSIONING): Remove AC_DEFINE.
4263 * configure: Regenerated.
4264 * config.h.in (DO_VERSIONING): Remove macro.
4265 * Makerules [$(versioning) = yes]: Change conditionals to
4266 [$(build-shared) = yes].
4267 * config.make.in (versioning): Remove variable.
4268 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4269 [$(build-shared) = yes].
4270 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4271 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4272 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4273 [$(build-shared) = yes].
4274 * extra-lib.mk [$(versioning) = yes]: Likewise.
4275 * hurd/Makefile [$(versioning) = yes]: Likewise.
4276 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4278 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4280 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4281 [SHARED && !NO_HIDDEN].
4282 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4284 [SHARED && DO_VERSIONING]: Likewise..
4285 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4286 [$(build-shared) = yes].
4287 * manual/install.texi (--disable-versioning): Remove
4289 * INSTALL: Regenerated.
4290 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4292 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4293 [$(build-shared) = yes].
4294 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4295 * sysdeps/i386/i686/multiarch/strstr-c.c
4296 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4297 [SHARED && !NO_HIDDEN].
4298 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4299 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4300 * sysdeps/powerpc/powerpc32/dl-machine.c
4301 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4302 * sysdeps/powerpc/powerpc32/sysdep.h
4303 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4304 to [SHARED && PIC && !NO_HIDDEN].
4305 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4306 conditional to [SHARED].
4308 2013-09-04 Will Newton <will.newton@linaro.org>
4310 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4311 * benchtests/bench-string.h: Include bench-timing.h instead
4312 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4313 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4314 call to HP_TIMING_DIFF_INIT.
4315 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4316 instead of hp-timing.h macros.
4317 * benchtests/bench-memchr.c: Likewise.
4318 * benchtests/bench-memcmp.c: Likewise.
4319 * benchtests/bench-memcpy.c: Likewise.
4320 * benchtests/bench-memmem.c: Likewise.
4321 * benchtests/bench-memmove.c: Likewise.
4322 * benchtests/bench-memset.c: Likewise.
4323 * benchtests/bench-rawmemchr.c: Likewise.
4324 * benchtests/bench-strcasecmp.c: Likewise.
4325 * benchtests/bench-strcasestr.c: Likewise.
4326 * benchtests/bench-strcat.c: Likewise.
4327 * benchtests/bench-strchr.c: Likewise.
4328 * benchtests/bench-strcmp.c: Likewise.
4329 * benchtests/bench-strcpy.c: Likewise.
4330 * benchtests/bench-strcpy_chk.c: Likewise.
4331 * benchtests/bench-strlen.c: Likewise.
4332 * benchtests/bench-strncasecmp.c: Likewise.
4333 * benchtests/bench-strncat.c: Likewise.
4334 * benchtests/bench-strncmp.c: Likewise.
4335 * benchtests/bench-strncpy.c: Likewise.
4336 * benchtests/bench-strnlen.c: Likewise.
4337 * benchtests/bench-strpbrk.c: Likewise.
4338 * benchtests/bench-strrchr.c: Likewise.
4339 * benchtests/bench-strspn.c: Likewise.
4340 * benchtests/bench-strstr.c: Likewise.
4342 2013-09-04 Will Newton <will.newton@linaro.org>
4344 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4346 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4349 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4350 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4351 * math/libm-test.inc (lgamma_test_data): Add more tests.
4352 * sysdeps/i386/fpu/libm-test-ulps: Update.
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4357 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4361 Add strcmp-sse2-unaligned
4362 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4364 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4366 * Versions.def (libc): Add GLIBC_2.19.
4368 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4370 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4371 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4373 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4376 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4377 intermediate calculations in recurrence.
4378 (__ieee754_ynf): Likewise.
4379 * math/libm-test.inc (jn_test_data): Do not allow spurious
4380 underflow exception. Add more tests.
4381 (yn_test_data): Add more tests.
4382 * sysdeps/i386/fpu/libm-test-ulps: Update.
4383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4385 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4389 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4391 * csu/init-first.c: Fix then/than typos.
4392 * locale/programs/ld-collate.c: Likewise.
4393 * locale/programs/linereader.h: Likewise.
4394 * manual/charset.texi: Likewise.
4395 * manual/filesys.texi: Likewise.
4396 * manual/stdio.texi: Likewise.
4397 * manual/string.texi: Likewise.
4398 * stdlib/fmtmsg.c: Likewise.
4399 * sysdeps/i386/stpncpy.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4403 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4405 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4407 * elf/dl-open.c: Fix typos.
4408 * iconvdata/gbbig5.c: Likewise.
4409 * iconvdata/iso-2022-jp.c: Likewise.
4410 * iconv/gconv_int.h: Likewise.
4411 * iconv/loop.c: Likewise.
4412 * nis/rpcsvc/nis.h: Likewise.
4413 * resolv/ns_name.c: Likewise.
4414 * stdio-common/vfscanf.c: Likewise.
4415 * streams/stropts.h: Likewise.
4416 * sunrpc/rpc_thread.c: Likewise.
4417 * sysdeps/i386/strpbrk.S: Likewise.
4418 * sysdeps/ieee754/k_standard.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4421 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4422 * sysdeps/mach/hurd/profil.c: Likewise.
4423 * sysdeps/s390/dl-procinfo.h: Likewise.
4424 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4425 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4427 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4430 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4432 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4435 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4437 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4439 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4440 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4441 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4442 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4443 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4444 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4445 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4446 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4448 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4449 Roland McGrath <roland@hack.frob.com>
4451 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4452 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4454 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4456 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4457 __executable_start symbol instead of _start.
4459 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4461 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4462 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4464 * sysdeps/gnu/ldsodefs.h: ... this new file.
4466 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4467 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4468 instead of ELFOSABI_LINUX.
4470 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4471 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4472 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4473 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4475 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4476 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4477 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4479 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4480 (ibm_extended_long_double): Add ieee_nan member.
4481 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4482 (do_test): New function.
4484 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4486 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4487 functions, renamed from truncdfsf_test, trunctfsf_test,
4489 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4491 (do_test): Run all these.
4493 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4495 * argp/argp-help.c: Fix typos.
4496 * argp/argp-parse.c: Likewise.
4497 * debug/backtracesyms.c: Likewise.
4498 * elf/elf.h: Likewise.
4499 * malloc/malloc.c: Likewise.
4500 * nis/nis_print.c: Likewise.
4501 * resolv/res_comp.c: Likewise.
4502 * stdlib/stdlib.h: Likewise.
4503 * sunrpc/clnt_tcp.c: Likewise.
4504 * sunrpc/clnt_udp.c: Likewise.
4505 * sunrpc/clnt_unix.c: Likewise.
4506 * sysdeps/unix/bsd/ptsname.c: Likewise.
4507 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4508 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4515 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4517 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4519 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4522 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4525 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4526 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4527 ($(objpfx)bug-dl-leaf): New rule.
4528 ($(objpfx)bug-dl-leaf.so): Likewise.
4529 ($(objpfx)bug-dl-leaf.out): Likewise.
4530 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4531 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4532 * dlfcn/bug-dl-leaf.c: New test.
4533 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4534 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4535 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4536 (dlclose): Likewise.
4537 (dlmopen): Likewise.
4539 2013-08-27 Roland McGrath <roland@hack.frob.com>
4541 * include/netdb.h [!_ISOMAC]:
4542 Don't include <tls.h>.
4543 (h_errno, __libc_h_errno): Move declaration and macros out of
4546 * include/resolv.h [_RESOLV_H_]:
4547 Don't include <tls.h>.
4548 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4549 * resolv/res_libc.c: Don't include <tls.h>.
4550 (_res): Use __attribute__ ((nocommon)) in place of
4551 __attribute__ ((section (".bss"))).
4553 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4554 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4556 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4558 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4559 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4561 * resolv/res_mkquery.c: Include <sys/time.h>.
4563 * inet/ifreq.c: Moved to ...
4564 * sysdeps/unix/ifreq.c: ... here.
4565 * inet/ifreq.c: New file, true stub version.
4567 * socket/sa_len.c: New file.
4568 * socket/Makefile (aux): Add it.
4569 * sysdeps/unix/sysv/linux/Makefile
4570 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4571 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4572 and #include <socket/sa_len.c>.
4573 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4574 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4576 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4577 * bits/socket.h: ... here.
4579 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4580 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4581 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4583 2013-08-27 Andreas Schwab <schwab@suse.de>
4586 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4587 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4588 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4589 * string/test-strcasecmp.c (test_main): Run tests in several
4591 * string/test-strncasecmp.c (test_main): Likewise.
4593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4594 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4595 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4597 (__strncasecmp_ssse3) [PIC]: Likewise.
4599 2013-08-26 Roland McGrath <roland@hack.frob.com>
4601 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4603 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4604 instead of explicitly declaring xdecrypt.
4605 * nis/nss_nis/nis-publickey.c: Likewise.
4607 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4610 * nscd/aicache.c: Include res_hconf.h.
4611 (addhstaiX): Initialize res_hconf.
4613 2013-08-26 Andreas Schwab <schwab@suse.de>
4615 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4616 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4618 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4620 * nscd/aicache.c (addhstaiX): Fix indentation.
4622 2013-08-25 Mike Frysinger <vapier@gentoo.org>
4624 * configure.ac: Quote $build_pt_chown test.
4625 * configure: Regenerated.
4627 2013-08-23 Joseph Myers <joseph@codesourcery.com>
4630 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4631 * math/s_cexpf.c (__cexpf): Likewise.
4632 * math/s_cexpl.c (__cexpl): Likewise.
4633 * math/libm-test.inc (cexp_test_data): Correct expected return
4634 value for NaN + i0. Add another test.
4636 2013-08-22 David S. Miller <davem@davemloft.net>
4638 * po/ca.po: Update Catalan translation from translation project.
4639 * po/uk.po: Add Ukrainian translations from translation project.
4641 2013-08-21 Joseph Myers <joseph@codesourcery.com>
4644 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4645 is infinite, not alongside NaN test.
4646 * math/s_fdimf.c (__fdimf): Likewise.
4647 * math/s_fdiml.c (__fdiml): Likewise.
4648 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4651 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
4653 * argp/argp-help.c: Fix typos.
4654 * crypt/speeds.c: Likewise.
4655 * csu/check_fds.c: Likewise.
4656 * elf/dl-load.c: Likewise.
4657 * elf/dl-open.c: Likewise.
4658 * elf/reldep3.c: Likewise.
4659 * elf/reldep.c: Likewise.
4660 * elf/sprof.c: Likewise.
4661 * iconv/iconv_charmap.c: Likewise.
4662 * iconv/skeleton.c: Likewise.
4663 * iconv/strtab.c: Likewise.
4664 * io/lockf64.c: Likewise.
4665 * libio/libioP.h: Likewise.
4666 * resolv/gai_notify.c: Likewise.
4667 * resolv/ns_name.c: Likewise.
4668 * resolv/ns_samedomain.c: Likewise.
4669 * resolv/res_send.c: Likewise.
4670 * stdlib/random.c: Likewise.
4671 * sunrpc/rpc/xdr.h: Likewise.
4672 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4680 * sysdeps/mach/hurd/check_fds.c: Likewise.
4681 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4682 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4683 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4685 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4686 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4687 * sysdeps/pthread/aio_notify.c: Likewise.
4688 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4689 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4690 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4692 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4694 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4696 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4697 version if bit_Slow_SSE4_2 is set.
4698 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4701 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4705 trampoline stack frame information.
4706 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4708 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4709 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4710 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4711 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4712 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4713 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4715 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4716 interrupting a syscall and set with option SA_SIGINFO.
4718 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4721 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4722 argument is infinite.
4723 * math/s_cprojf.c (__cprojf): Likewise.
4724 * math/s_cprojl.c (__cprojl): Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4726 * math/libm-test.inc (cproj_test_data): Add more tests.
4728 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4730 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4731 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4732 size. Use __ffs to determine corresponding shift.
4734 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4735 Roland McGrath <roland@hack.frob.com>
4737 * Makefile (INSTALL): Remove trailing blank lines from output of
4740 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4742 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4743 Align 32 bit compat elf_greg to 8 bytes.
4745 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4747 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4749 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4751 * string/strcoll_l.c (coll_seq): New structure.
4752 (get_next_seq_cached): New function.
4753 (get_next_seq): New function.
4754 (do_compare): New function.
4755 (STRCOLL): Use GNU style definition. Simplify implementation
4756 by using get_next_seq, get_next_seq_cached and do_compare.
4758 2013-08-16 Florian Weimer <fweimer@redhat.com>
4762 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4764 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4766 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4767 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4768 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4770 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4771 GETDENTS_64BIT_ALIGNED.
4772 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4773 * manual/filesys.texi (Reading/Closing Directory): Document
4774 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4776 * manual/conf.texi (Limits for Files): Add portability note to
4778 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4780 2013-08-13 Andreas Schwab <schwab@suse.de>
4783 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4785 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4786 LDBL_MAX_EXP >= 16384]: Add tests for it.
4788 2013-08-12 David S. Miller <davem@davemloft.net>
4790 * version.h (RELEASE): Set to "development".
4791 (VERSION): Set to "2.18.90".
4792 * NEWS: Add 2.19 section.
4794 2013-08-03 David S. Miller <davem@davemloft.net>
4796 * po/ko.po: Update Korean translation from translation project.
4798 2013-08-01 David S. Miller <davem@davemloft.net>
4800 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4801 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4804 2013-07-30 David S. Miller <davem@davemloft.net>
4806 * po/fr.po: Update French translation from translation project.
4808 2013-07-28 David S. Miller <davem@davemloft.net>
4810 * po/cs.po: Update Czech translation from translation project.
4812 * po/sv.po: Update Swedish translation from translation project.
4814 2013-07-27 David S. Miller <davem@davemloft.net>
4816 * po/eo.po: Update Esperanto translation from translation project.
4818 * po/vi.po: Update Vietnamese translation from translation project.
4820 * po/de.po: Update German translation from translation project.
4822 2013-07-26 David S. Miller <davem@davemloft.net>
4824 * po/bg.po: Update Bulgarian translation from translation project.
4826 * po/nl.po: Update Dutch translation from translation project.
4827 * po/pl.po: Update Polish translation from translation project.
4828 * po/ru.po: Update Russian translation from translation project.
4830 2013-07-24 David S. Miller <davem@davemloft.net>
4832 * po/libc.pot: Update.
4834 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4836 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4838 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4839 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4840 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4842 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4844 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4846 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4847 Andreas Schwab <schwab@suse.de>
4848 Roland McGrath <roland@hack.frob.com>
4849 Joseph Myers <joseph@codesourcery.com>
4850 Carlos O'Donell <carlos@redhat.com>
4853 * config.h.in: Define HAVE_PT_CHOWN.
4854 * config.make.in (build-pt-chown): New variable.
4855 * configure.in (--enable-pt_chown): New configure option.
4856 * configure: Regenerate.
4857 * login/Makefile: Include Makeconfig. Build pt_chown only if
4858 build-pt-chown is enabled.
4859 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4860 pt_chown to fix pty ownership.
4861 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4863 * manual/install.texi (Configuring and compiling): Mention
4864 --enable-pt_chown. Add @findex for grantpt.
4865 * INSTALL: Regenerate.
4867 2013-07-20 David S. Miller <davem@davemloft.net>
4869 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4870 difference between 32-bit and 64-bit.
4872 2013-07-15 Carlos O'Donell <carlos@redhat.com>
4875 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4876 Avoid system header dependency with -ffreestanding.
4877 ($(objpfx)bits/syscall%d): Likewise.
4879 2013-07-13 David S. Miller <davem@davemloft.net>
4881 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4882 underflows from atanl/atan2l due to bug 15319.
4883 (casinh_test_data): Likewise.
4885 2013-07-07 David S. Miller <davem@davemloft.net>
4887 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4889 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4891 * sysdeps/i386/fpu/libm-test-ulps: Update.
4892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4894 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4896 * configure.in (--enable-lock-elision): Fix message text.
4897 * INSTALL: Regenerate.
4898 * configure: Regenerate.
4900 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4904 2013-07-03 Andreas Jaeger <aj@suse.de>
4906 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4908 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4909 (ptrace_peeksiginfo_args): Add.
4910 (__ptrace_peeksiginfo_flags): Add.
4911 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4915 2013-07-03 Allan McRae <allan@archlinux.org>
4917 * sysdeps/i386/fpu/libm-test-ulps: Update.
4919 2013-07-02 David S. Miller <davem@davemloft.net>
4921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4923 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4927 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4929 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4932 2013-07-02 Andi Kleen <ak@linux.intel.com>
4934 * config.h.in (ENABLE_LOCK_ELISION): Add.
4935 * configure.in (--enable-lock-elision): Add option.
4936 * manual/install.texi: Document --enable lock elision.
4937 * configure: Regenerate
4938 * INSTALL: Regenerate.
4940 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4942 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4943 SSE4.2 strcasecmp for libc.a.
4944 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4946 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4949 * soft-fp/op-common.h (_FP_FMA): New macro.
4950 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4951 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4952 (_FP_MUL_MEAT_1_imm): ... here.
4953 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4954 (_FP_MUL_MEAT_1_wide): ... here.
4955 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4956 (_FP_MUL_MEAT_1_hard): ... here.
4957 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4958 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4959 (_FP_MUL_MEAT_2_wide): ... here.
4960 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4961 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4962 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4963 (_FP_MUL_MEAT_2_gmp): ... here.
4964 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4965 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4966 (_FP_MUL_MEAT_4_wide): ... here.
4967 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4968 (_FP_MUL_MEAT_4_gmp): ... here.
4969 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4970 (_FP_WFRACBITS_DW_S): Likewise.
4971 (_FP_WFRACXBITS_DW_S): Likewise.
4972 (_FP_HIGHBIT_DW_S): Likewise.
4973 (FP_FMA_S): Likewise.
4974 (_FP_FRAC_HIGH_DW_S): Likewise.
4975 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4976 (_FP_WFRACBITS_DW_D): Likewise.
4977 (_FP_WFRACXBITS_DW_D): Likewise.
4978 (_FP_HIGHBIT_DW_D): Likewise.
4979 (FP_FMA_D): Likewise.
4980 (_FP_FRAC_HIGH_DW_D): Likewise.
4981 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4982 (_FP_WFRACBITS_DW_E): Likewise.
4983 (_FP_WFRACXBITS_DW_E): Likewise.
4984 (_FP_HIGHBIT_DW_E): Likewise.
4985 (FP_FMA_E): Likewise.
4986 (_FP_FRAC_HIGH_DW_E): Likewise.
4987 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4988 (_FP_WFRACBITS_DW_Q): Likewise.
4989 (_FP_WFRACXBITS_DW_Q): Likewise.
4990 (_FP_HIGHBIT_DW_Q): Likewise.
4991 (FP_FMA_Q): Likewise.
4992 (_FP_FRAC_HIGH_DW_Q): Likewise.
4993 * soft-fp/fmasf4.c: New file.
4994 * soft-fp/fmadf4.c: Likewise.
4995 * soft-fp/fmatf4.c: Likewise.
4997 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5000 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5004 (index_Slow_SSE4_2): Likewise.
5005 (index_Prefer_PMINUB_for_stringop): Likewise.
5006 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5007 bit_Slow_SSE4_2 is set.
5008 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5009 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5011 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5013 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5014 rtld_global._dl_hwcap2.
5015 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5017 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5018 POWER8 feature descriptions defined in _dl_hwcap2.
5019 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5020 string handling for POWER8 feature bits.
5021 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5022 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5023 _dl_powerpc_cap_flags.
5024 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5025 * sysdeps/powerpc/rtld-global-offsets.sym
5026 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5027 _dl_hwcap2 in the rtld_global_ro structure.
5029 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5031 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5032 hardware capabilities in support of AT_HWCAP2.
5033 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5034 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5036 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5037 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5038 explicitly the unknown a_type display mechanism is used.
5039 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5040 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5042 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5043 to macro prototype for AT_HWCAP2 support.
5044 * sysdeps/i386/dl-procinfo.h: Likewise.
5045 * sysdeps/s390/dl-procinfo.h: Likewise.
5046 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5047 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5048 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5049 return -1 for unknown a_type display fallback.
5050 * sysdeps/sparc/dl-procinfo.h: Likewise.
5051 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5052 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5054 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5056 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5057 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5059 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5062 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5063 mprotect making __stack_prot writable.
5065 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5066 Joseph Myers <joseph@codesourcery.com>
5068 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5069 as being properly aligned.
5071 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5073 * dlfcn/modstatic5.c: New file.
5074 * dlfcn/tststatic5.c: New file.
5075 * dlfcn/Makefile (tests): Add tststatic5.
5076 (tests-static): Likewise.
5077 (modules-names): Add modstatic5.
5078 (tststatic5-ENV): New variable.
5079 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5082 * elf/dl-support.c (_dl_main_map): New variable.
5083 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5084 (_dl_nns, _dl_load_adds): Set to 1.
5085 (_dl_initial_searchlist): Refer to _dl_main_map.
5086 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5087 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5088 call to _dl_get_origin.
5089 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5091 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5092 * dlfcn/modstatic3.c: New file.
5093 * dlfcn/tststatic3.c: New file.
5094 * dlfcn/tststatic4.c: New file.
5095 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5096 (tests-static): Likewise.
5097 (modules-names): Add modstatic3.
5098 (tststatic3-ENV, tststatic4-ENV): New variables.
5099 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5100 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5102 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5104 * configure.in (CC): Require GCC version 4.4 or later.
5105 * configure: Regenerated.
5106 * manual/install.texi (Tools for Compilation): Update GCC version
5108 * INSTALL: Regenerated.
5110 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5113 * string/test-memcmp.c (check2): New.
5114 (main): Call check2.
5116 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5118 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5121 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5123 (dl_open_worker) [!SHARED]: ... here.
5125 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5127 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5129 2013-06-25 Richard Henderson <rth@redhat.com>
5131 * locale/programs/locarchive.c: Include <libc-internal.h>
5133 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5135 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5136 trailing whitespace removed.
5138 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5141 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5142 * locale/programs/locarchive.c: Include libc-mmap.h.
5143 (prepare_address_space): Take two new outputs (the mmap base and len).
5144 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5146 (create_archive): Declare new mmap base and len values for
5147 prepare_address_space, and store the result in ah.
5148 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5149 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5150 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5151 Declare new mmap base and len values for
5152 prepare_address_space, and store the result in new_ah.
5153 (open_archive): Declare new mmap base and len values for
5154 prepare_address_space, and store the result in ah.
5155 (close_archive): If ah->mmap_base is not NULL, use that and
5156 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5157 * sysdeps/generic/libc-mmap.h: New file.
5159 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5161 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5162 (ALIGN_UP): Likewise.
5163 (PTR_ALIGN_DOWN): Likewise.
5164 (PTR_ALIGN_UP): Likewise.
5166 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5168 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5169 entry mapped to PPC_PLATFORM_POWER8.
5170 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5172 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5173 (_dl_string_platform): Add case for exporting platform position for
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5176 search path to sysdeps/powerpc/powerpc32/power8 directory.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5178 search path to sysdeps/powerpc/powerpc64/power8 directory.
5179 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5181 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5184 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5186 * INSTALL: Regenerate.
5188 * nscd/connections.c (nscd_init): Fix comment.
5190 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5192 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5195 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5196 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5198 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5200 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5202 (DL_DST_REQ_STATIC): Remove macro.
5204 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5207 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5208 with a shift of 0 bits.
5210 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5212 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5215 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5218 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5220 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5222 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5223 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5224 accepts -fno-tree-loop-distribute-patterns.
5225 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5226 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5228 * string/memset.c (memset): Likewise.
5229 * string/test-memmove.c (simple_memmove): Disable loop transformation
5231 * string/test-memset.c (simple_memset): Likewise.
5232 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5233 * benchtests/bench-memset.c (simple_memset): Likewise.
5234 * configure: Regenerated.
5236 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5238 * math/test-misc.c (main): Ignore fesetround failure when failures
5239 of subsequent rounding tests would be ignored.
5242 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5243 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5244 * math/fegetenv.c (__fegetenv): Return 0.
5245 * math/fegetexcept.c (fegetexcept): Return 0.
5246 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5248 * math/feholdexcpt.c (feholdexcept): Return 0.
5249 * math/fesetenv.c (__fesetenv): Return 0.
5250 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5251 argument FE_TONEAREST.
5252 * math/feupdateenv.c (__feupdateenv): Return 0.
5253 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5255 2013-06-18 Roland McGrath <roland@hack.frob.com>
5257 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5258 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5259 ($(objpfx)rtld-%.os rules): Use them.
5261 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5266 2013-06-17 Roland McGrath <roland@hack.frob.com>
5268 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5269 length of target pattern, then descending length of dependency pattern.
5270 * configure.in (AWK): Require gawk 3.1.2 or newer.
5271 * manual/install.texi (Tools for Compilation): Say that we do.
5272 * configure: Regenerated.
5274 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5275 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5276 * scripts/sysd-rules.awk: ... this new script.
5277 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5278 than a glob-style pattern.
5280 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5282 * math/test-misc.c (main): Do not treat incorrectly rounded
5283 conversions as failure unless ROUNDING_TESTS passes.
5285 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5288 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5289 restore exception state around main square root computation, then
5290 check for inexactness explicitly.
5292 * math/libm-test.inc (fma_test_data): Add another test.
5294 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5296 * manual/threads.texi (Non-POSIX Extensions): New document
5297 node. Document pthread_getattr_default_np and
5298 pthread_setattr_default_np.
5300 * Versions.def (libpthread): Add GLIBC_2.18.
5301 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5310 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5321 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5324 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5326 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5327 H.J. Lu <hjl.tools@gmail.com>
5330 * sysdeps/x86_64/rtld-memset.c: Remove file.
5331 * sysdeps/x86_64/rtld-memset.S: New file.
5333 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5335 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5336 (test_in_one_mode): Take arguments for whether the rounding mode
5337 is supported for each floating-point type.
5338 (do_test): Pass new arguments to test_in_one_mode using
5341 2013-06-13 Roland McGrath <roland@hack.frob.com>
5343 * posix/tst-waitid.c (do_test): Distinguish different instances of
5344 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5345 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5346 before entering the kernel for waitpid.
5348 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5350 * NEWS: Fix note on clock function precision. Text by Roland
5353 2013-06-13 Roland McGrath <roland@hack.frob.com>
5355 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5356 it into place only when and if the sanity check passes.
5358 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5360 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5361 output for whether conversion result is exact. Take argument
5362 indicating whether type is IBM long double.
5363 (round_for_all): Change need_exact field to ibm_ld.
5364 * stdlib/tst-strtod-round.c (struct exactness): New type.
5365 (struct test): Change bool ld_ok field to struct exactness exact.
5366 (TEST): Update all definitions for change to field.
5367 (tests): Regenerate array contents.
5368 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5369 field value. Check for IBM long double here.
5370 (do_test): Update calls to test_in_one_mode.
5372 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5375 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5376 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5378 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5381 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5382 generated by the compiler on loop optimizations.
5383 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5384 general definitions.
5386 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5388 * math/bug-nextafter.c: Include <math-tests.h>.
5389 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5391 * math/bug-nexttoward.c: Include <math-tests.h>.
5392 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5394 * math/test-misc.c: Include <math-tests.h>.
5395 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5398 2013-06-12 Andreas Jaeger <aj@suse.de>
5400 * po/ia.po: Update Interlingua translation from translation
5403 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5405 * include/fenv.h: Include stdbool.h.
5406 (struct rm_ctx): New structure.
5407 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5409 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5410 (SET_RESTORE_ROUNDF): Likewise.
5411 (SET_RESTORE_ROUNDL): Likewise.
5412 (SET_RESTORE_ROUND_NOEX): Likewise.
5413 (SET_RESTORE_ROUND_NOEXF): Likewise.
5414 (SET_RESTORE_ROUND_NOEXL): Likewise.
5415 (SET_RESTORE_ROUND_53BIT): Likewise.
5416 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5417 (libc_feresetround_noexf_ctx): Likewise.
5418 (libc_feresetround_noexl_ctx): Likewise.
5419 (libc_feholdsetround_53bit_ctx): Likewise.
5420 (libc_feresetround_53bit_ctx): Likewise.
5421 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5422 (libc_feholdexcept_setround_sse_ctx): New function.
5423 (libc_fesetenv_sse_ctx): Likewise.
5424 (libc_feupdateenv_sse_ctx): Likewise.
5425 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5426 (libc_feholdexcept_setround_387_ctx): Likewise.
5427 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5428 (libc_feholdsetround_387_prec_ctx): Likewise.
5429 (libc_feholdsetround_387_ctx): Likewise.
5430 (libc_feholdsetround_387_53bit_ctx): Likewise.
5431 (libc_feholdsetround_sse_ctx): Likewise.
5432 (libc_feresetround_sse_ctx): Likewise.
5433 (libc_feresetround_387_ctx): Likewise.
5434 (libc_feupdateenv_387_ctx): Likewise.
5435 (libc_feholdexcept_setroundf_ctx): Define macro.
5436 (libc_fesetenvf_ctx): Likewise.
5437 (libc_feupdateenvf_ctx): Likewise.
5438 (libc_feholdsetroundf_ctx): Likewise.
5439 (libc_feresetroundf_ctx): Likewise.
5440 (libc_feholdexcept_setround_ctx): Likewise.
5441 (libc_fesetenv_ctx): Likewise.
5442 (libc_feupdateenv_ctx): Likewise.
5443 (libc_feholdsetround_ctx): Likewise.
5444 (libc_feresetround_ctx): Likewise.
5445 (libc_feholdexcept_setroundl_ctx): Likewise.
5446 (libc_feupdateenvl_ctx): Likewise.
5447 (libc_feholdsetroundl_ctx): Likewise.
5448 (libc_feresetroundl_ctx): Likewise.
5449 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5450 (libc_feresetround_53bit_ctx): Likewise.
5452 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5454 * locale/iso-639.def: Convert to UTF-8.
5456 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5458 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5459 (EXCEPTION_TESTS_double): Likewise.
5460 (EXCEPTION_TESTS_long_double): Likewise.
5461 (EXCEPTION_TESTS): Likewise.
5462 * math/libm-test.inc (test_exceptions): Only test exceptions if
5463 EXCEPTION_TESTS (FLOAT).
5465 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5467 * benchtests/Makefile (string-bench): Add strcpy_chk and
5469 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5470 * benchtests/bench-stpcpy_chk.c: New file.
5471 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5472 * benchtests/bench-strcpy_chk.c: New file.
5473 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5475 (do_test): Likewise.
5477 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5479 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5480 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5481 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5482 with tabs where appropriate.
5483 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5485 [PPC_PLATFORM_PPC440]: Likewise.
5486 [PPC_PLATFORM_PPC464]: Likewise.
5487 [PPC_PLATFORM_PPC476]: Likewise.
5488 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5489 ppc464, and ppc476 platform strings merging from ports/
5492 2013-06-11 Andreas Schwab <schwab@suse.de>
5495 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5496 (from_ucs4_idx): Regenerate.
5497 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5498 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5499 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5500 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5501 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5502 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5503 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5504 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5505 from FROM_LOOP and TO_LOOP specific macros.
5506 (BODY): Handle combining characters.
5507 * iconvdata/BIG5HKSCS.irreversible: Update.
5508 * iconvdata/BIG5HKSCS.precomposed: New file.
5509 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5511 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5513 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5515 * include/sys/time.h: Fix indentation and add copyright header.
5517 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5518 (do_test): Likewise.
5519 * string/test-memchr.c (do_one_test): Likewise.
5520 (do_test): Likewise.
5521 * string/test-memcmp.c (do_one_test): Likewise.
5522 (do_test): Likewise.
5523 * string/test-memcpy.c (do_one_test): Likewise.
5524 (do_test): Likewise.
5525 * string/test-memmem.c (do_one_test): Likewise.
5526 (do_test): Likewise.
5527 (do_random_tests): Likewise.
5528 * string/test-memmove.c (do_one_test): Likewise.
5529 (do_test): Likewise.
5530 * string/test-memset.c (do_one_test): Likewise.
5531 (do_test): Likewise.
5532 * string/test-rawmemchr.c (do_one_test): Likewise.
5533 (do_test): Likewise.
5534 * string/test-strcasecmp.c (do_one_test): Likewise.
5535 (do_test): Likewise.
5536 * string/test-strcasestr.c (do_one_test): Likewise.
5537 (do_test): Likewise.
5538 * string/test-strcat.c (do_one_test): Likewise.
5539 (do_test): Likewise.
5540 * string/test-strchr.c (do_one_test): Likewise.
5541 (do_test): Likewise.
5542 * string/test-strcmp.c (do_one_test): Likewise.
5543 (do_test): Likewise.
5544 * string/test-strcpy.c (do_one_test): Likewise.
5545 (do_test): Likewise.
5546 * string/test-string.h: Likewise.
5547 (test_init): Likewise.
5548 * string/test-strlen.c (do_one_test): Likewise.
5549 (do_test): Likewise.
5550 * string/test-strncasecmp.c (do_one_test): Likewise.
5551 (do_test): Likewise.
5552 * string/test-strncat.c (do_one_test): Likewise.
5553 (do_test): Likewise.
5554 * string/test-strncmp.c (do_one_test): Likewise.
5555 (do_test_limit): Likewise.
5556 (do_test): Likewise.
5557 * string/test-strncpy.c (do_one_test): Likewise.
5558 (do_test): Likewise.
5559 * string/test-strnlen.c (do_one_test): Likewise.
5560 (do_test): Likewise.
5561 * string/test-strpbrk.c (do_one_test): Likewise.
5562 (do_test): Likewise.
5563 * string/test-strrchr.c (do_one_test): Likewise.
5564 (do_test): Likewise.
5565 * string/test-strspn.c (do_one_test): Likewise.
5566 (do_test): Likewise.
5567 * string/test-strstr.c (do_one_test): Likewise.
5568 (do_test): Likewise.
5570 * benchtests/Makefile (string-bench): Add string benchmarks.
5571 * benchtests/bench-bcopy-ifunc.c: New file.
5572 * benchtests/bench-bcopy.c: New file.
5573 * benchtests/bench-bzero-ifunc.c: New file.
5574 * benchtests/bench-bzero.c: New file.
5575 * benchtests/bench-memccpy-ifunc.c: New file.
5576 * benchtests/bench-memccpy.c: New file.
5577 * benchtests/bench-memchr-ifunc.c: New file.
5578 * benchtests/bench-memchr.c: New file.
5579 * benchtests/bench-memcmp-ifunc.c: New file.
5580 * benchtests/bench-memcmp.c: New file.
5581 * benchtests/bench-memmem-ifunc.c: New file.
5582 * benchtests/bench-memmem.c: New file.
5583 * benchtests/bench-memmove-ifunc.c: New file.
5584 * benchtests/bench-memmove.c: New file.
5585 * benchtests/bench-mempcpy-ifunc.c: New file.
5586 * benchtests/bench-mempcpy.c: New file.
5587 * benchtests/bench-memset-ifunc.c: New file.
5588 * benchtests/bench-memset.c: New file.
5589 * benchtests/bench-rawmemchr-ifunc.c: New file.
5590 * benchtests/bench-rawmemchr.c: New file.
5591 * benchtests/bench-stpcpy-ifunc.c: New file.
5592 * benchtests/bench-stpcpy.c: New file.
5593 * benchtests/bench-stpncpy-ifunc.c: New file.
5594 * benchtests/bench-stpncpy.c: New file.
5595 * benchtests/bench-strcasecmp-ifunc.c: New file.
5596 * benchtests/bench-strcasecmp.c: New file.
5597 * benchtests/bench-strcasestr-ifunc.c: New file.
5598 * benchtests/bench-strcasestr.c: New file.
5599 * benchtests/bench-strcat-ifunc.c: New file.
5600 * benchtests/bench-strcat.c: New file.
5601 * benchtests/bench-strchr-ifunc.c: New file.
5602 * benchtests/bench-strchr.c: New file.
5603 * benchtests/bench-strchrnul-ifunc.c: New file.
5604 * benchtests/bench-strchrnul.c: New file.
5605 * benchtests/bench-strcmp-ifunc.c: New file.
5606 * benchtests/bench-strcmp.c: New file.
5607 * benchtests/bench-strcpy-ifunc.c: New file.
5608 * benchtests/bench-strcpy.c: New file.
5609 * benchtests/bench-strcspn-ifunc.c: New file.
5610 * benchtests/bench-strcspn.c: New file.
5611 * benchtests/bench-strlen-ifunc.c: New file.
5612 * benchtests/bench-strlen.c: New file.
5613 * benchtests/bench-strncasecmp-ifunc.c: New file.
5614 * benchtests/bench-strncasecmp.c: New file.
5615 * benchtests/bench-strncat-ifunc.c: New file.
5616 * benchtests/bench-strncat.c: New file.
5617 * benchtests/bench-strncmp-ifunc.c: New file.
5618 * benchtests/bench-strncmp.c: New file.
5619 * benchtests/bench-strncpy-ifunc.c: New file.
5620 * benchtests/bench-strncpy.c: New file.
5621 * benchtests/bench-strnlen-ifunc.c: New file.
5622 * benchtests/bench-strnlen.c: New file.
5623 * benchtests/bench-strpbrk-ifunc.c: New file.
5624 * benchtests/bench-strpbrk.c: New file.
5625 * benchtests/bench-strrchr-ifunc.c: New file.
5626 * benchtests/bench-strrchr.c: New file.
5627 * benchtests/bench-strspn-ifunc.c: New file.
5628 * benchtests/bench-strspn.c: New file.
5629 * benchtests/bench-strstr-ifunc.c: New file.
5630 * benchtests/bench-strstr.c: New file.
5632 * benchtests/Makefile: Disable parallel execution of targets.
5633 (string-bench): Add memcpy.
5634 (benchset): New variable to store a list of benchmark sets.
5635 (bench-func): Renamed from bench.
5636 (bench-set): New target.
5637 (bench): Depend on bench-func and bench-set.
5638 * benchtests/README: Add section on benchmark sets.
5639 * benchtests/bench-memcpy-ifunc.c: New file.
5640 * benchtests/bench-memcpy.c: New file.
5641 * benchtests/bench-string.h: New file.
5643 2013-06-11 Andreas Schwab <schwab@suse.de>
5646 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5647 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5648 values in the triple.
5649 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5650 terminator in the group key.
5652 2013-06-11 Andreas Jaeger <aj@suse.de>
5654 * po/zh_TW.po: Update Chinese (traditional) translation from
5655 translation project.
5657 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5659 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5660 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5661 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5663 (clock_getcpuclockid): Likewise.
5664 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5665 Add weak_alias and libc_hidden_def.
5666 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5667 * rt/clock_gettime.c (clock_gettime): Rename to
5668 __clock_gettime. Add weak_alias and libc_hidden_def.
5669 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5670 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5671 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5672 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5673 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5675 * rt/clock_settime.c (clock_settime): Rename to
5676 __clock_settime. Add weak_alias and libc_hidden_def.
5677 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5679 2013-06-10 Joseph Myers <joseph@codesourcery.com>
5681 * mach/err_boot.sub: Remove trailing whitespace.
5682 * mach/err_ipc.sub: Likewise.
5683 * mach/err_mach.sub: Likewise.
5685 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5686 (ROUNDING_TESTS_double): Likewise.
5687 (ROUNDING_TESTS_long_double): Likewise.
5688 (ROUNDING_TESTS): Likewise.
5689 * math/libm-test.inc: Include <math-tests.h>.
5690 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5691 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5692 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5693 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5695 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5697 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5700 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5702 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5703 otherwise empty TRANS lines.
5704 * sysdeps/gnu/errlist.c: Regenerated.
5706 * catgets/gencat.c (error_print): Use (void) in function
5708 * crypt/crypt_util.c (__init_des): Likewise.
5709 * crypt/speeds.c (Stop): Likewise.
5711 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5712 * inet/ruserpass.c (token): Likewise.
5713 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5714 * intl/localealias.c (extend_alias_table): Likewise.
5715 * intl/plural-exp.c (init_germanic_plural): Likewise.
5716 * libio/fcloseall.c (__fcloseall): Likewise.
5717 * libio/genops.c (_IO_flush_all): Likewise.
5718 (_IO_flush_all_linebuffered): Likewise.
5719 (_IO_cleanup): Likewise.
5720 (_IO_iter_begin): Likewise.
5721 (_IO_iter_end): Likewise.
5722 (_IO_list_lock): Likewise.
5723 (_IO_list_unlock): Likewise.
5724 (_IO_list_resetlock): Likewise.
5725 * libio/getchar.c (getchar): Likewise.
5726 * libio/getchar_u.c (getchar_unlocked): Likewise.
5727 * libio/getwchar.c (getwchar): Likewise.
5728 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5729 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5730 * login/getpt.c (__getpt): Likewise.
5731 * login/tst-utmp.c (main): Likewise.
5732 * malloc/hooks.c (__malloc_check_init): Likewise.
5733 * malloc/malloc.c (__malloc_stats): Likewise.
5734 * malloc/mtrace.c (tr_break): Likewise.
5736 (muntrace): Likewise.
5737 * misc/fstab.c (endfsent): Likewise.
5738 * misc/getclktck.c (__getclktck): Likewise.
5739 * misc/getdtsz.c (__getdtablesize): Likewise.
5740 * misc/gethostid.c (gethostid): Likewise.
5741 * misc/getpagesize.c (__getpagesize): Likewise.
5742 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5743 (__get_nprocs): Likewise.
5744 (__get_phys_pages): Likewise.
5745 (__get_avphys_pages): Likewise.
5746 * misc/getttyent.c (getttyent): Likewise.
5747 (setttyent): Likewise.
5748 (endttyent): Likewise.
5749 * misc/getusershell.c (getusershell): Likewise.
5750 (endusershell): Likewise.
5751 (setusershell): Likewise.
5752 (initshells): Likewise.
5753 * misc/hsearch.c (__hdestroy): Likewise.
5754 * misc/sync.c (sync): Likewise.
5755 * misc/syslog.c (closelog_internal): Likewise.
5756 (closelog): Likewise.
5757 * misc/ttyslot.c (ttyslot): Likewise.
5758 * misc/vhangup.c (vhangup): Likewise.
5759 * posix/fork.c (__fork): Likewise.
5760 * posix/getegid.c (__getegid): Likewise.
5761 * posix/geteuid.c (__geteuid): Likewise.
5762 * posix/getgid.c (__getgid): Likewise.
5763 * posix/getpid.c (__getpid): Likewise.
5764 * posix/getppid.c (__getppid): Likewise.
5765 * posix/getuid.c (__getuid): Likewise.
5766 * posix/pause.c (pause): Likewise.
5767 * posix/setpgrp.c (setpgrp): Likewise.
5768 * posix/setsid.c (__setsid): Likewise.
5769 * posix/test-vfork.c (noop): Likewise.
5770 * resolv/gethnamaddr.c (_endhtent): Likewise.
5771 (_gethtent): Likewise.
5772 (ht_endhostent): Likewise.
5773 (gethostent): Likewise.
5774 (dns_service): Likewise.
5775 * stdlib/drand48.c (drand48): Likewise.
5776 * stdlib/lrand48.c (lrand48): Likewise.
5777 * stdlib/mrand48.c (mrand48): Likewise.
5778 * stdlib/rand.c (rand): Likewise.
5779 * stdlib/random.c (__random): Likewise.
5780 * stdlib/setenv.c (clearenv): Likewise.
5781 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5782 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5783 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5784 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5785 (__get_nprocs): Likewise.
5786 (__get_phys_pages): Likewise.
5787 (__get_avphys_pages): Likewise.
5788 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5789 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5790 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5791 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5792 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5793 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5794 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5795 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5796 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5797 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5798 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5799 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5800 * sysdeps/posix/clock.c (clock): Likewise.
5801 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5802 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5803 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5804 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5805 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5806 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5807 (__get_nprocs_conf): Likewise.
5808 (__get_phys_pages): Likewise.
5809 (__get_avphys_pages): Likewise.
5810 * time/clock.c (clock): Likewise.
5811 * time/tzset.c (__tzname_max): Likewise.
5813 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5815 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5816 (__bswap_32): Do not use "register".
5817 * crypt/crypt.c (_ufc_doit_r): Likewise.
5818 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5819 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5820 * gmon/gmon.c (__monstartup): Likewise.
5821 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5822 * hurd/hurdmalloc.c (more_memory): Likewise.
5825 (realloc): Likewise.
5826 (malloc_fork_prepare): Likewise.
5827 (malloc_fork_parent): Likewise.
5828 (malloc_fork_child): Likewise.
5829 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5830 (_svcauth_des): Likewise.
5831 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5832 * inet/inet_net.c (inet_network): Likewise.
5833 * inet/inet_netof.c (inet_netof): Likewise.
5834 * inet/rcmd.c (__validuser2_sa): Likewise.
5835 * io/fts.c (fts_open): Likewise.
5836 (fts_load): Likewise.
5837 (fts_close): Likewise.
5838 (fts_read): Likewise.
5839 (fts_children): Likewise.
5840 (fts_build): Likewise.
5841 (fts_stat): Likewise.
5842 (fts_sort): Likewise.
5843 (fts_alloc): Likewise.
5844 (fts_lfree): Likewise.
5845 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5846 (_IO_file_xsgetn): Likewise.
5847 (_IO_file_xsgetn_mmap): Likewise.
5848 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5849 (_IO_cookie_write): Likewise.
5850 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5851 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5852 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5853 * malloc/obstack.c (_obstack_begin): Likewise.
5854 (_obstack_begin_1): Likewise.
5855 (_obstack_newchunk): Likewise.
5856 (_obstack_allocated_p): Likewise.
5857 (obstack_free): Likewise.
5858 (_obstack_memory_used): Likewise.
5859 * misc/getttyent.c (getttynam): Likewise.
5860 (getttyent): Likewise.
5863 * misc/getusershell.c (initshells): Likewise.
5864 * misc/syslog.c (__vsyslog_chk): Likewise.
5865 * misc/ttyslot.c (ttyslot): Likewise.
5866 * nis/nis_hash.c (__nis_hash): Likewise.
5867 * posix/fnmatch_loop.c (FCT): Likewise.
5868 * posix/getconf.c (print_all): Likewise.
5870 * posix/getopt.c (exchange): Likewise.
5871 * posix/glob.c (globfree): Likewise.
5872 (prefix_array): Likewise.
5873 (__glob_pattern_type): Likewise.
5874 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5875 (NS_GET32): Likewise.
5876 (NS_PUT16): Likewise.
5877 (NS_PUT32): Likewise.
5878 * resolv/gethnamaddr.c (getanswer): Likewise.
5879 (gethostbyname2): Likewise.
5880 (gethostbyaddr): Likewise.
5881 (_gethtent): Likewise.
5882 (_gethtbyname2): Likewise.
5883 (_gethtbyaddr): Likewise.
5884 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5885 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5886 * resolv/res_init.c (__res_vinit): Likewise.
5887 (net_mask): Likewise.
5888 * resolv/res_mkquery.c (outchar): Likewise.
5890 * stdio-common/printf_fp.c (outchar): Likewise.
5892 * stdio-common/printf_fphex.c (outchar): Likewise.
5894 * stdio-common/printf_size.c (outchar): Likewise.
5896 * stdio-common/test_rdwr.c (main): Likewise.
5897 * stdio-common/tfformat.c (matches): Likewise.
5898 * stdio-common/vfprintf.c (outchar): Likewise.
5899 (printf_unknown): Likewise.
5900 (buffered_vfprintf): Likewise.
5901 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5902 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5903 (ReadFile): Likewise.
5904 * stdlib/qsort.c (SWAP): Likewise.
5905 (_quicksort): Likewise.
5906 * stdlib/setenv.c (__add_to_environ): Likewise.
5907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5908 * stdlib/strtol_l.c (__strtol_l): Likewise.
5909 * stdlib/tst-strtod.c (main): Likewise.
5910 * stdlib/tst-strtol.c (main): Likewise.
5911 * stdlib/tst-strtoll.c (main): Likewise.
5912 * string/bits/string2.h (__strcmp_cc): Likewise.
5913 (__strcmp_cg): Likewise.
5914 (__strcspn_c1): Likewise.
5915 (__strcspn_c2): Likewise.
5916 (__strcspn_c3): Likewise.
5917 (__strspn_c1): Likewise.
5918 (__strspn_c2): Likewise.
5919 (__strspn_c3): Likewise.
5920 (__strsep_1c): Likewise.
5921 (__strsep_2c): Likewise.
5922 (__strsep_3c): Likewise.
5923 * string/memccpy.c (__memccpy): Likewise.
5924 * string/stpcpy.c (__stpcpy): Likewise.
5925 * string/strcmp.c (strcmp): Likewise.
5926 * string/strrchr.c (strrchr): Likewise.
5927 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5929 * sysdeps/mach/hurd/getcwd.c
5930 (_hurd_canonicalize_directory_name_internal): Likewise.
5931 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5932 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5933 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5934 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5935 Likewise, in both definitions.
5936 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5938 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5939 64] (__bswap_64): Likewise.
5940 * time/test_time.c (main): Likewise.
5941 * time/tzfile.c (__tzfile_read): Likewise.
5942 (__tzfile_compute): Likewise.
5943 * time/tzset.c (__tzset_parse_tz): Likewise.
5944 (tzset_internal): Likewise.
5945 (compute_change): Likewise.
5946 * wcsmbs/wcscat.c (__wcscat): Likewise.
5947 * wcsmbs/wcschr.c (wcschr): Likewise.
5948 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5949 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5950 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5951 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5952 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5953 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5954 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5955 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5956 * wcsmbs/wmemset.c (wmemset): Likewise.
5958 2013-06-06 Joseph Myers <joseph@codesourcery.com>
5960 * scripts/config.guess: Update to version 2013-05-16.
5961 * scripts/config.sub: Update to version 2013-04-24.
5962 * scripts/install-sh: Update to version 2011-11-20.07.
5963 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5964 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5966 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
5968 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5969 * elf/sln.c: Likewise.
5970 * hurd/hurd/ioctl.h: Likewise.
5971 * hurd/hurdmalloc.c: Likewise.
5972 * hurd/xattr.c: Likewise.
5973 * include/shlib-compat.h: Likewise.
5974 * inet/ruserpass.c: Likewise.
5975 * libio/iofgets_u.c: Likewise.
5976 * libio/iofgetws_u.c: Likewise.
5977 * locale/programs/ld-identification.c: Likewise.
5978 * locale/programs/ld-time.c: Likewise.
5979 * mach/msg-destroy.c: Likewise.
5980 * nss/nss_files/files-netgrp.c: Likewise.
5981 * resolv/res_data.c: Likewise.
5982 * soft-fp/op-1.h: Likewise.
5983 * soft-fp/op-2.h: Likewise.
5984 * soft-fp/op-4.h: Likewise.
5985 * soft-fp/op-common.h: Likewise.
5986 * stdio-common/printf_fphex.c: Likewise.
5987 * stdlib/strtod_l.c: Likewise.
5988 * sunrpc/rpc/clnt.h: Likewise.
5989 * sysdeps/generic/framestate.c: Likewise.
5990 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5991 * sysdeps/i386/bsd-setjmp.S: Likewise.
5992 * sysdeps/i386/__longjmp.S: Likewise.
5993 * sysdeps/i386/setjmp.S: Likewise.
5994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5995 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5999 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6000 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6001 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6012 * sysdeps/ieee754/support.c: Likewise.
6013 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6014 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6015 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6016 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6017 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6018 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6019 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6020 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6021 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6022 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6023 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6024 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6025 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6026 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6027 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6028 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6029 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6032 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6034 * posix/transbug.c: Remove executable mode.
6036 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6038 * crypt/speeds.c: Remove trailing whitespace.
6039 * dlfcn/default.c: Likewise.
6040 * elf/ifuncdep2.c: Likewise.
6041 * elf/ifuncmain1.c: Likewise.
6042 * elf/ifuncmain1vis.c: Likewise.
6043 * elf/testobj.h: Likewise.
6044 * elf/tst-stackguard1.c: Likewise.
6045 * gmon/sys/gmon.h: Likewise.
6046 * hurd/hurdmsg.c: Likewise.
6047 * hurd/new-fd.c: Likewise.
6048 * hurd/ports-get.c: Likewise.
6049 * iconvdata/ibm1008_420.c: Likewise.
6050 * inet/tst-getni1.c: Likewise.
6051 * inet/tst-getni2.c: Likewise.
6052 * libio/ioungetc.c: Likewise.
6053 * libio/wfiledoalloc.c: Likewise.
6054 * manual/libm-err-tab.pl: Likewise.
6055 * math/w_dremf.c: Likewise.
6056 * misc/ftruncate.c: Likewise.
6057 * posix/bug-glob2.c: Likewise.
6058 * posix/tst-pcre.c: Likewise.
6059 * posix/wait4.c: Likewise.
6060 * resolv/README: Likewise.
6061 * resolv/res_debug.h: Likewise.
6062 * resolv/tst-inet_ntop.c: Likewise.
6063 * setjmp/bug269-setjmp.c: Likewise.
6064 * soft-fp/extended.h: Likewise.
6065 * soft-fp/op-1.h: Likewise.
6066 * soft-fp/op-2.h: Likewise.
6067 * soft-fp/op-4.h: Likewise.
6068 * soft-fp/op-8.h: Likewise.
6069 * soft-fp/testit.c: Likewise.
6070 * stdio-common/bug16.c: Likewise.
6071 * stdlib/random.c: Likewise.
6072 * sunrpc/rpcsvc/rquota.x: Likewise.
6073 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6078 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6079 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6080 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6081 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6082 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6083 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6102 * sysdeps/ieee754/s_lib_version.c: Likewise.
6103 * sysdeps/mach/hurd/check_fds.c: Likewise.
6104 * sysdeps/mach/hurd/getsockname.c: Likewise.
6105 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6106 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6107 * sysdeps/powerpc/bits/link.h: Likewise.
6108 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6109 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6110 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6111 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6112 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6113 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6114 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6115 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6116 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6117 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6118 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6119 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6120 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6121 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6122 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6123 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6125 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6126 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6127 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6129 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6130 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6131 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6132 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6134 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6135 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6136 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6137 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6138 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6139 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6140 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6141 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6142 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6143 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6144 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6145 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6146 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6147 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6148 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6149 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6150 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6151 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6152 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6153 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6154 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6155 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6156 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6157 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6160 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6161 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6162 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6163 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6164 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6165 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6166 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6167 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6168 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6169 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6170 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6171 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6172 * sysdeps/powerpc/sysdep.h: Likewise.
6173 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6174 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6175 * sysdeps/sh/dl-trampoline.S: Likewise.
6176 * sysdeps/sh/memset.S: Likewise.
6177 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6178 * sysdeps/sh/strlen.S: Likewise.
6179 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6180 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6181 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6182 * sysdeps/sparc/sparc32/rem.S: Likewise.
6183 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6184 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6185 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6186 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6187 * sysdeps/sparc/sparc32/urem.S: Likewise.
6188 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6189 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6190 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6191 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6193 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6194 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6195 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6196 * sysdeps/unix/bsd/times.c: Likewise.
6197 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6198 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6202 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6204 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6205 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6206 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6207 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6209 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6210 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6211 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6212 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6213 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6214 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6215 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6216 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6217 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6218 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6219 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6220 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6221 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6222 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6223 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6224 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6225 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6226 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6227 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6228 * sysdeps/x86_64/strcspn.S: Likewise.
6230 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6232 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6233 generated file. Regenerate properly from gen-translit.pl.
6234 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6235 locale/C-translit.h.
6237 2013-06-05 Andreas Schwab <schwab@suse.de>
6240 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6241 week as 6 instead of -1.
6242 * time/tst-strptime.c (day_tests): Add test case.
6244 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6246 * sysdeps/generic/math_private.h
6247 (libc_feholdexcept_setround_53bit): Replace with
6248 libc_feholdsetround_53bit.
6249 (libc_feupdateenv_53bit): Replace with
6250 libc_feresetround_53bit.
6251 (SET_RESTORE_ROUND_53BIT): Adjust.
6253 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6255 * string/test-strchrnul.c: Add copyright header.
6257 * posix/tst-getaddrinfo4.c: Increase test timeout.
6259 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6262 * math/libm-test.inc (MAX_EXP): Remove
6264 (ulp): Use MIN_EXP - MANT_DIG.
6265 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6267 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6269 * po/be.po: Revert last change.
6270 * po/zh_CN.po: Likewise.
6271 * po/header.pot: Likewise.
6273 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6275 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6276 link-libc-deps to empty as target-specific variable.
6277 * Makerules (link-libc-args): New variable.
6278 (libc-for-link): Likewise.
6279 (link-libc-deps): Likewise.
6280 (lib%.so): Depend on $(link-libc-deps). Link with
6282 (build-module): Link with $(link-libc-args).
6283 (build-module-asneeded): Likewise.
6284 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6286 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6287 target-specific variable.
6288 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6289 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6290 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6292 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6294 ($(objpfx)libpcprofile.so): Likewise.
6295 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6297 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6298 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6299 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6301 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6302 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6303 * login/Makefile ($(objpfx)libutil.so): Likewise.
6304 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6305 * math/Makefile ($(objpfx)libm.so): Likewise.
6306 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6307 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6308 variable instead of depending directly on libc.
6309 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6310 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6312 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6314 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6315 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6316 ($(objpfx)libanl.so): Likewise.
6317 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6319 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6321 * sysdeps/i386/fpu/Makefile: Remove file.
6322 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6323 ($(objpfx)libm.so): Remove dependency on ld.so.
6325 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6328 * nis/yp_xdr.c (XDRMAXNAME): Define.
6329 (XDRMAXRECORD): Define.
6330 (xdr_domainname): Use XDRMAXNAME.
6331 (xdr_mapname): Likewise.
6332 (xdr_peername): Likewise.
6333 (xdr_keydat): Use XDRMAXRECORD.
6334 (xdr_valdat): Likewise.
6336 2013-05-30 Jeff Law <law@redhat.com>
6339 * manual/errno.texi (ESTALE): Update to account for more than
6340 just NFS file systems.
6341 * sysdeps/gnu/errlist.c: Regenerated.
6343 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6346 * elf/Makefile (tests): Add tst-null-argv.
6347 (modules-names): Add tst-null-argv-lib.
6348 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6349 (tst-null-argv-ENV): Set environment for tst-null-argv.
6350 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6351 (RTLD_PROGNAME): New macro.
6352 * elf/tst-null-argv.c: New test case.
6353 * elf/tst-null-argv-lib.c: Library for test case.
6354 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6355 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6356 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6357 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6358 * elf/dl-init.c (call_init): Likewise.
6359 (_dl_init): Likewise.
6360 * elf/dl-load.c (print_search_path): Likewise.
6361 (_dl_map_object): Likewise.
6362 * elf/dl-lookup.c (do_lookup_x): Likewise.
6363 (add_dependency): Likewise.
6364 (_dl_lookup_symbol_x): Likewise.
6365 (_dl_debug_bindings): Likewise.
6366 * elf/dl-open.c (_dl_show_scope): Likewise.
6367 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6368 * elf/dl-version.c (match_symbol): Likewise.
6369 (_dl_check_map_versions): Likewise.
6370 * elf/rtld.c (dl_main): Likewise.
6371 (print_unresolved): Use RTLD_PROGNAME.
6372 (print_missing_version): Likewise.
6373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6374 (elf_machine_rela): Likewise.
6375 * sysdeps/powerpc/powerpc32/dl-machine.c
6376 (__process_machine_rela): Likewise.
6377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6379 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6381 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6383 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6388 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6390 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6392 * po/be.po: Add descriptive title.
6393 * po/zh_CN.po: Likewise.
6394 * po/header.pot: Likewise.
6396 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6398 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6400 (enlarge_archive): Likewise.
6402 2013-05-28 Ben North <ben@redfrontdoor.org>
6404 * manual/arith.texi (frexp): It is the magnitude of the return
6405 value which lies in [0.5, 1), not the return value itself.
6407 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6411 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6413 * stdio-common/bug26.c (main): Correct fscanf template.
6415 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6416 declare _dl_skip_args.
6418 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6421 * manual/platform.texi: Add missing @end deftypefun.
6423 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6427 bit of mantissa of 2^16382.
6428 * math/libm-test.inc (hypot_test_data): Add more tests.
6430 * math/libm-test.inc: Add drem and pow10 to list of tested
6432 (pow10_test): New function.
6433 (drem_test): Likewise.
6434 (drem_test_tonearest): Likewise.
6435 (drem_test_towardzero): Likewise.
6436 (drem_test_downward): Likewise.
6437 (drem_test_upward): Likewise.
6438 (main): Call the new functions.
6440 * math/libm-test.inc (finite_test_data): Remove.
6441 (finite_test): Run tests from isfinite_test_data.
6442 (gamma_test_data): Remove.
6443 (gamma_test): Run tests from lgamma_test_data.
6444 * sysdeps/i386/fpu/libm-test-ulps: Update.
6445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6449 * manual/platform.texi: Add PowerPC PPR function set documentation.
6450 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6453 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6455 * math/libm-test.inc (MAX_EXP): Define.
6457 (ulp): New function.
6458 (check_float_internal): Use ULPDIFF.
6459 (cpow_test): Disable failing test.
6460 (check_ulp): Test ulp() implemetnation.
6461 (main): Call check_ulp before starting tests.
6463 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6465 * math/gen-libm-test.pl (generate_testfile): Do not handle
6466 START_DATA and END_DATA.
6467 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6469 (acos_tonearest_test_data): Likewise.
6470 (acos_towardzero_test_data): Likewise.
6471 (acos_downward_test_data): Likewise.
6472 (acos_upward_test_data): Likewise.
6473 (acosh_test_data): Likewise.
6474 (asin_test_data): Likewise.
6475 (asin_tonearest_test_data): Likewise.
6476 (asin_towardzero_test_data): Likewise.
6477 (asin_downward_test_data): Likewise.
6478 (asin_upward_test_data): Likewise.
6479 (asinh_test_data): Likewise.
6480 (atan_test_data): Likewise.
6481 (atanh_test_data): Likewise.
6482 (atan2_test_data): Likewise.
6483 (cabs_test_data): Likewise.
6484 (cacos_test_data): Likewise.
6485 (cacosh_test_data): Likewise.
6486 (carg_test_data): Likewise.
6487 (casin_test_data): Likewise.
6488 (casinh_test_data): Likewise.
6489 (catan_test_data): Likewise.
6490 (catanh_test_data): Likewise.
6491 (cbrt_test_data): Likewise.
6492 (ccos_test_data): Likewise.
6493 (ccosh_test_data): Likewise.
6494 (ceil_test_data): Likewise.
6495 (cexp_test_data): Likewise.
6496 (cimag_test_data): Likewise.
6497 (clog_test_data): Likewise.
6498 (clog10_test_data): Likewise.
6499 (conj_test_data): Likewise.
6500 (copysign_test_data): Likewise.
6501 (cos_test_data): Likewise.
6502 (cos_tonearest_test_data): Likewise.
6503 (cos_towardzero_test_data): Likewise.
6504 (cos_downward_test_data): Likewise.
6505 (cos_upward_test_data): Likewise.
6506 (cosh_test_data): Likewise.
6507 (cosh_tonearest_test_data): Likewise.
6508 (cosh_towardzero_test_data): Likewise.
6509 (cosh_downward_test_data): Likewise.
6510 (cosh_upward_test_data): Likewise.
6511 (cpow_test_data): Likewise.
6512 (cproj_test_data): Likewise.
6513 (creal_test_data): Likewise.
6514 (csin_test_data): Likewise.
6515 (csinh_test_data): Likewise.
6516 (csqrt_test_data): Likewise.
6517 (ctan_test_data): Likewise.
6518 (ctan_tonearest_test_data): Likewise.
6519 (ctan_towardzero_test_data): Likewise.
6520 (ctan_downward_test_data): Likewise.
6521 (ctan_upward_test_data): Likewise.
6522 (ctanh_test_data): Likewise.
6523 (ctanh_tonearest_test_data): Likewise.
6524 (ctanh_towardzero_test_data): Likewise.
6525 (ctanh_downward_test_data): Likewise.
6526 (ctanh_upward_test_data): Likewise.
6527 (erf_test_data): Likewise.
6528 (erfc_test_data): Likewise.
6529 (exp_test_data): Likewise.
6530 (exp_tonearest_test_data): Likewise.
6531 (exp_towardzero_test_data): Likewise.
6532 (exp_downward_test_data): Likewise.
6533 (exp_upward_test_data): Likewise.
6534 (exp10_test_data): Likewise.
6535 (exp2_test_data): Likewise.
6536 (expm1_test_data): Likewise.
6537 (fabs_test_data): Likewise.
6538 (fdim_test_data): Likewise.
6539 (finite_test_data): Likewise.
6540 (floor_test_data): Likewise.
6541 (fma_test_data): Likewise.
6542 (fma_towardzero_test_data): Likewise.
6543 (fma_downward_test_data): Likewise.
6544 (fma_upward_test_data): Likewise.
6545 (fmax_test_data): Likewise.
6546 (fmin_test_data): Likewise.
6547 (fmod_test_data): Likewise.
6548 (fpclassify_test_data): Likewise.
6549 (frexp_test_data): Likewise.
6550 (gamma_test_data): Likewise.
6551 (hypot_test_data): Likewise.
6552 (ilogb_test_data): Likewise.
6553 (isfinite_test_data): Likewise.
6554 (isgreater_test_data): Likewise.
6555 (isgreaterequal_test_data): Likewise.
6556 (isinf_test_data): Likewise.
6557 (isless_test_data): Likewise.
6558 (islessequal_test_data): Likewise.
6559 (islessgreater_test_data): Likewise.
6560 (isnan_test_data): Likewise.
6561 (isnormal_test_data): Likewise.
6562 (issignaling_test_data): Likewise.
6563 (isunordered_test_data): Likewise.
6564 (j0_test_data): Likewise.
6565 (j1_test_data): Likewise.
6566 (jn_test_data): Likewise.
6567 (ldexp_test_data): Likewise.
6568 (lgamma_test_data): Likewise.
6569 (lrint_test_data): Likewise.
6570 (lrint_tonearest_test_data): Likewise.
6571 (lrint_towardzero_test_data): Likewise.
6572 (lrint_downward_test_data): Likewise.
6573 (lrint_upward_test_data): Likewise.
6574 (llrint_test_data): Likewise.
6575 (llrint_tonearest_test_data): Likewise.
6576 (llrint_towardzero_test_data): Likewise.
6577 (llrint_downward_test_data): Likewise.
6578 (llrint_upward_test_data): Likewise.
6579 (log_test_data): Likewise.
6580 (log10_test_data): Likewise.
6581 (log1p_test_data): Likewise.
6582 (log2_test_data): Likewise.
6583 (logb_test_data): Likewise.
6584 (logb_downward_test_data): Likewise.
6585 (lround_test_data): Likewise.
6586 (llround_test_data): Likewise.
6587 (modf_test_data): Likewise.
6588 (nearbyint_test_data): Likewise.
6589 (nextafter_test_data): Likewise.
6590 (nexttoward_test_data): Likewise.
6591 (pow_test_data): Likewise.
6592 (pow_tonearest_test_data): Likewise.
6593 (pow_towardzero_test_data): Likewise.
6594 (pow_downward_test_data): Likewise.
6595 (pow_upward_test_data): Likewise.
6596 (remainder_test_data): Likewise.
6597 (remainder_tonearest_test_data): Likewise.
6598 (remainder_towardzero_test_data): Likewise.
6599 (remainder_downward_test_data): Likewise.
6600 (remainder_upward_test_data): Likewise.
6601 (remquo_test_data): Likewise.
6602 (rint_test_data): Likewise.
6603 (rint_tonearest_test_data): Likewise.
6604 (rint_towardzero_test_data): Likewise.
6605 (rint_downward_test_data): Likewise.
6606 (rint_upward_test_data): Likewise.
6607 (round_test_data): Likewise.
6608 (scalb_test_data): Likewise.
6609 (scalbn_test_data): Likewise.
6610 (scalbln_test_data): Likewise.
6611 (signbit_test_data): Likewise.
6612 (sin_test_data): Likewise.
6613 (sin_tonearest_test_data): Likewise.
6614 (sin_towardzero_test_data): Likewise.
6615 (sin_downward_test_data): Likewise.
6616 (sin_upward_test_data): Likewise.
6617 (sincos_test_data): Likewise.
6618 (sinh_test_data): Likewise.
6619 (sinh_tonearest_test_data): Likewise.
6620 (sinh_towardzero_test_data): Likewise.
6621 (sinh_downward_test_data): Likewise.
6622 (sinh_upward_test_data): Likewise.
6623 (sqrt_test_data): Likewise.
6624 (tan_test_data): Likewise.
6625 (tan_tonearest_test_data): Likewise.
6626 (tan_towardzero_test_data): Likewise.
6627 (tan_downward_test_data): Likewise.
6628 (tan_upward_test_data): Likewise.
6629 (tanh_test_data): Likewise.
6630 (tgamma_test_data): Likewise.
6631 (trunc_test_data): Likewise.
6632 (y0_test_data): Likewise.
6633 (y1_test_data): Likewise.
6634 (yn_test_data): Likewise.
6635 (significand_test_data): Likewise.
6637 * math/gen-libm-test.pl (@functions): Remove variable.
6638 (generate_testfile): Don't handle START and END lines.
6639 * math/libm-test.inc (START): New macro.
6641 (END_COMPLEX): Likewise.
6642 (acos_test): Use END macro without arguments.
6643 (acos_test_tonearest): Likewise.
6644 (acos_test_towardzero): Likewise.
6645 (acos_test_downward): Likewise.
6646 (acos_test_upward): Likewise.
6647 (acosh_test): Likewise.
6648 (asin_test): Likewise.
6649 (asin_test_tonearest): Likewise.
6650 (asin_test_towardzero): Likewise.
6651 (asin_test_downward): Likewise.
6652 (asin_test_upward): Likewise.
6653 (asinh_test): Likewise.
6654 (atan_test): Likewise.
6655 (atanh_test): Likewise.
6656 (atan2_test): Likewise.
6657 (cabs_test): Likewise.
6658 (cacos_test): Use END_COMPLEX macro without arguments.
6659 (cacosh_test): Likewise.
6660 (carg_test): Use END macro without arguments.
6661 (casin_test): Use END_COMPLEX macro without arguments.
6662 (casinh_test): Likewise.
6663 (catan_test): Likewise.
6664 (catanh_test): Likewise.
6665 (cbrt_test): Use END macro without arguments.
6666 (ccos_test): Use END_COMPLEX macro without arguments.
6667 (ccosh_test): Likewise.
6668 (ceil_test): Use END macro without arguments.
6669 (cexp_test): Use END_COMPLEX macro without arguments.
6670 (cimag_test): Use END macro without arguments.
6671 (clog_test): Use END_COMPLEX macro without arguments.
6672 (clog10_test): Likewise.
6673 (conj_test): Likewise.
6674 (copysign_test): Use END macro without arguments.
6675 (cos_test): Likewise.
6676 (cos_test_tonearest): Likewise.
6677 (cos_test_towardzero): Likewise.
6678 (cos_test_downward): Likewise.
6679 (cos_test_upward): Likewise.
6680 (cosh_test): Likewise.
6681 (cosh_test_tonearest): Likewise.
6682 (cosh_test_towardzero): Likewise.
6683 (cosh_test_downward): Likewise.
6684 (cosh_test_upward): Likewise.
6685 (cpow_test): Use END_COMPLEX macro without arguments.
6686 (cproj_test): Likewise.
6687 (creal_test): Use END macro without arguments.
6688 (csin_test): Use END_COMPLEX macro without arguments.
6689 (csinh_test): Likewise.
6690 (csqrt_test): Likewise.
6691 (ctan_test): Likewise.
6692 (ctan_test_tonearest): Likewise.
6693 (ctan_test_towardzero): Likewise.
6694 (ctan_test_downward): Likewise.
6695 (ctan_test_upward): Likewise.
6696 (ctanh_test): Likewise.
6697 (ctanh_test_tonearest): Likewise.
6698 (ctanh_test_towardzero): Likewise.
6699 (ctanh_test_downward): Likewise.
6700 (ctanh_test_upward): Likewise.
6701 (erf_test): Use END macro without arguments.
6702 (erfc_test): Likewise.
6703 (exp_test): Likewise.
6704 (exp_test_tonearest): Likewise.
6705 (exp_test_towardzero): Likewise.
6706 (exp_test_downward): Likewise.
6707 (exp_test_upward): Likewise.
6708 (exp10_test): Likewise.
6709 (exp2_test): Likewise.
6710 (expm1_test): Likewise.
6711 (fabs_test): Likewise.
6712 (fdim_test): Likewise.
6713 (finite_test): Likewise.
6714 (floor_test): Likewise.
6715 (fma_test): Likewise.
6716 (fma_test_towardzero): Likewise.
6717 (fma_test_downward): Likewise.
6718 (fma_test_upward): Likewise.
6719 (fmax_test): Likewise.
6720 (fmin_test): Likewise.
6721 (fmod_test): Likewise.
6722 (fpclassify_test): Likewise.
6723 (frexp_test): Likewise.
6724 (gamma_test): Likewise.
6725 (hypot_test): Likewise.
6726 (ilogb_test): Likewise.
6727 (isfinite_test): Likewise.
6728 (isgreater_test): Likewise.
6729 (isgreaterequal_test): Likewise.
6730 (isinf_test): Likewise.
6731 (isless_test): Likewise.
6732 (islessequal_test): Likewise.
6733 (islessgreater_test): Likewise.
6734 (isnan_test): Likewise.
6735 (isnormal_test): Likewise.
6736 (issignaling_test): Likewise.
6737 (isunordered_test): Likewise.
6738 (j0_test): Likewise.
6739 (j1_test): Likewise.
6740 (jn_test): Likewise.
6741 (ldexp_test): Likewise.
6742 (lgamma_test): Likewise.
6743 (lrint_test): Likewise.
6744 (lrint_test_tonearest): Likewise.
6745 (lrint_test_towardzero): Likewise.
6746 (lrint_test_downward): Likewise.
6747 (lrint_test_upward): Likewise.
6748 (llrint_test): Likewise.
6749 (llrint_test_tonearest): Likewise.
6750 (llrint_test_towardzero): Likewise.
6751 (llrint_test_downward): Likewise.
6752 (llrint_test_upward): Likewise.
6753 (log_test): Likewise.
6754 (log10_test): Likewise.
6755 (log1p_test): Likewise.
6756 (log2_test): Likewise.
6757 (logb_test): Likewise.
6758 (logb_test_downward): Likewise.
6759 (lround_test): Likewise.
6760 (llround_test): Likewise.
6761 (modf_test): Likewise.
6762 (nearbyint_test): Likewise.
6763 (nextafter_test): Likewise.
6764 (nexttoward_test): Likewise.
6765 (pow_test): Likewise.
6766 (pow_test_tonearest): Likewise.
6767 (pow_test_towardzero): Likewise.
6768 (pow_test_downward): Likewise.
6769 (pow_test_upward): Likewise.
6770 (remainder_test): Likewise.
6771 (remainder_test_tonearest): Likewise.
6772 (remainder_test_towardzero): Likewise.
6773 (remainder_test_downward): Likewise.
6774 (remainder_test_upward): Likewise.
6775 (remquo_test): Likewise.
6776 (rint_test): Likewise.
6777 (rint_test_tonearest): Likewise.
6778 (rint_test_towardzero): Likewise.
6779 (rint_test_downward): Likewise.
6780 (rint_test_upward): Likewise.
6781 (round_test): Likewise.
6782 (scalb_test): Likewise.
6783 (scalbn_test): Likewise.
6784 (scalbln_test): Likewise.
6785 (signbit_test): Likewise.
6786 (sin_test): Likewise.
6787 (sin_test_tonearest): Likewise.
6788 (sin_test_towardzero): Likewise.
6789 (sin_test_downward): Likewise.
6790 (sin_test_upward): Likewise.
6791 (sincos_test): Likewise.
6792 (sinh_test): Likewise.
6793 (sinh_test_tonearest): Likewise.
6794 (sinh_test_towardzero): Likewise.
6795 (sinh_test_downward): Likewise.
6796 (sinh_test_upward): Likewise.
6797 (sqrt_test): Likewise.
6798 (tan_test): Likewise.
6799 (tan_test_tonearest): Likewise.
6800 (tan_test_towardzero): Likewise.
6801 (tan_test_downward): Likewise.
6802 (tan_test_upward): Likewise.
6803 (tanh_test): Likewise.
6804 (tgamma_test): Likewise.
6805 (trunc_test): Likewise.
6806 (y0_test): Likewise.
6807 (y1_test): Likewise.
6808 (yn_test): Likewise.
6809 (significand_test): Likewise.
6811 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6814 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6816 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6819 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6820 __ppc_mdoio and __ppc_mdoom.
6821 * manual/platform.texi: Document new functions __ppc_yield,
6822 __ppc_mdoio and __ppc_mdoom.
6824 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6826 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6827 (main): Mention "tls" pseudo-hwcap is legacy.
6828 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6830 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6832 * math/gen-libm-test.pl (parse_args): Output only string of
6833 arguments as text for test name, not full call or descriptions of
6834 tests for extra outputs.
6835 (generate_testfile): Do not pass function name to parse_args.
6836 Generate this_func variable from START.
6837 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6839 (struct test_ff_f_data): Likewise.
6840 (test_ff_f_data_nexttoward): Likewise.
6841 (struct test_fi_f_data): Likewise.
6842 (struct test_fl_f_data): Likewise.
6843 (struct test_if_f_data): Likewise.
6844 (struct test_fff_f_data): Likewise.
6845 (struct test_c_f_data): Likewise.
6846 (struct test_f_f1_data): Likewise. Remove field extra_name.
6847 (struct test_fF_f1_data): Likewise.
6848 (struct test_ffI_f1_data): Likewise.
6849 (struct test_c_c_data): Rename test_name field to arg_str.
6850 (struct test_cc_c_data): Likewise.
6851 (struct test_f_i_data): Likewise.
6852 (struct test_ff_i_data): Likewise.
6853 (struct test_f_l_data): Likewise.
6854 (struct test_f_L_data): Likewise.
6855 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6857 (COMMON_TEST_SETUP): New macro.
6858 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6859 (COMMON_TEST_CLEANUP): Likewise.
6860 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6861 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6863 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6864 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6866 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6867 (RUN_TEST_fff_f): Take argument string. Call new setup and
6869 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6870 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6872 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6873 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6875 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6876 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6878 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6879 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6881 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6882 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6884 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6885 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6887 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6888 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6890 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6891 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6893 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6894 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6896 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6897 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6899 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6900 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6902 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6903 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6905 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6906 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6908 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6909 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6911 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6912 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6914 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6916 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6918 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6919 to _sifields.sigfault.
6920 (si_addr_lsb): Define new macro.
6921 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6922 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6923 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6925 2013-05-03 Carlos O'Donell <carlos at redhat.com>
6928 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6930 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6932 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6935 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6937 * math/gen-libm-test.pl (parse_args): Do not include expected
6938 result in test name.
6939 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6941 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6943 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6948 * benchtests/Makefile: Sort function entries.
6950 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6951 tanh, asinh, acosh, atanh.
6952 * benchtests/acos-inputs: New file.
6953 * benchtests/acosh-inputs: New file.
6954 * benchtests/asin-inputs: New file.
6955 * benchtests/asinh-inputs: New file.
6956 * benchtests/atanh-inputs: New file.
6957 * benchtests/cosh-inputs: New file.
6958 * benchtests/log-inputs: New file.
6959 * benchtests/sinh-inputs: New file.
6960 * benchtests/tanh-inputs: New file.
6962 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6965 * posix/tst-getaddrinfo4.c: New test.
6966 * posix/Makefile (tests): Add it.
6968 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6971 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6972 when no services were used.
6973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6974 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6976 2013-05-21 Andreas Schwab <schwab@suse.de>
6979 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6980 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6982 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6983 redundant variable declarations and reallocation of buffer when
6984 parsing as IPv6 address. Always set NSS status when called from
6985 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6986 buffer too small. Correct computation of needed size.
6987 * nss/Makefile (tests): Add test-digits-dots.
6988 * nss/test-digits-dots.c: New test.
6990 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6992 * benchtests/Makefile: Remove instructions for adding
6994 * benchtests/README: New file to explain how to execute and
6995 enhance the benchmark tests.
6997 2013-05-21 Andreas Schwab <schwab@suse.de>
7000 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7001 * setjmp/tst-sigsetjmp.c: New test.
7003 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7005 * sysdeps/x86_64/memset.S (memset): New implementation.
7006 (__bzero): Likewise.
7007 (__memset_tail): New function.
7009 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7011 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7012 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7013 __memcpy_sse2_unaligned ifunc selection.
7014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7015 Add memcpy-sse2-unaligned.S.
7016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7017 Add: __memcpy_sse2_unaligned.
7019 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7022 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7023 math_force_eval before restoring floating-point envrionment.
7024 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7027 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7029 (__nearbyintl): Use math_force_eval before restoring
7030 floating-point environment.
7031 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7033 * math/gen-libm-test.pl (special_functions): Remove.
7034 (parse_args): Don't handle TEST_extra. Handle functions with no
7036 * math/libm-test.inc (struct test_sincos_data): Replace with
7037 struct test_fFF_11_data.
7038 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7039 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7040 (sincos_test_data): Change element type to struct
7041 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7042 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7043 RUN_TEST_LOOP_sincos.
7044 * math/README.libm-test: Don't mention special handling of
7045 individual functions.
7046 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7048 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7049 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7050 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7053 * math/gen-libm-test.pl (get_variable): Remove function.
7054 (parse_args): Don't show pointer parameters to call in test
7055 names. Use "extra output N" in test names for extra outputs
7056 rather than naming variables.
7058 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7061 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7062 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7063 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7065 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7067 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7070 * math/gen-libm-test.pl (@tests): Remove variable.
7072 (new_test): Remove function.
7073 (show_exceptions): New function.
7074 (special_functions): Use show_exceptions instead of new_test.
7075 (parse_args): Likewise.
7076 (generate_testfile): Pass only function name in generated call to
7077 print_max_error or print_complex_max_error.
7078 (get_ulps): Do not handle complex tests specially.
7079 (output_test): Rename to ...
7080 (get_all_ulps_for_test): ... this. Return a string rather than
7081 printing to a file. Require ulps to be present.
7082 (output_ulps): Generate arrays rather than #defines.
7083 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7084 (struct ulp_data): New type.
7085 (BUILD_COMPLEX_ULP): Remove macro.
7086 (compare_ulp_data): New function.
7087 (find_ulps): Likewise.
7088 (find_test_ulps): Likewise.
7089 (find_function_ulps): Likewise.
7090 (find_complex_function_ulps): Likewise.
7091 (print_max_error): Determine allowed ulps using
7093 (print_complex_max_error): Determine allowed ulps using
7094 find_complex_function_ulps.
7095 (check_float_internal): Determine max ulps using find_test_ulps.
7096 (check_float): Do not take max_ulp parameter. Update call to
7097 check_float_internal.
7098 (check_complex): Likewise.
7099 (check_int): Do not take max_ulp parameter.
7100 (check_long): Likewise.
7101 (check_bool): Likewise.
7102 (check_longlong): Likewise.
7103 (struct test_f_f_data): Remove max_ulp field.
7104 (struct test_ff_f_data): Likewise.
7105 (struct test_ff_f_data_nexttoward): Likewise.
7106 (struct test_fi_f_data): Likewise.
7107 (struct test_fl_f_data): Likewise.
7108 (struct test_if_f_data): Likewise.
7109 (struct test_fff_f_data): Likewise.
7110 (struct test_c_f_data): Likewise.
7111 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7112 (struct test_fF_f1_data): Likewise.
7113 (struct test_ffI_f1_data): Likewise.
7114 (struct test_c_c_data): Remove max_ulp field.
7115 (struct test_cc_c_data): Likewise.
7116 (struct test_f_i_data): Likewise.
7117 (struct test_ff_i_data): Likewise.
7118 (struct test_f_l_data): Likewise.
7119 (struct test_f_L_data): Likewise.
7120 (struct test_sincos_data): Likewise.
7121 (RUN_TEST_f_f): Do not handle ulps.
7122 (RUN_TEST_LOOP_f_f): Likewise.
7123 (RUN_TEST_2_f): Likewise.
7124 (RUN_TEST_LOOP_2_f): Likewise.
7125 (RUN_TEST_fff_f): Likewise.
7126 (RUN_TEST_LOOP_fff_f): Likewise.
7127 (RUN_TEST_c_f): Likewise.
7128 (RUN_TEST_LOOP_c_f): Likewise.
7129 (RUN_TEST_f_f1): Likewise.
7130 (RUN_TEST_LOOP_f_f1): Likewise.
7131 (RUN_TEST_fF_f1): Likewise.
7132 (RUN_TEST_LOOP_fF_f1): Likewise.
7133 (RUN_TEST_fI_f1): Likewise.
7134 (RUN_TEST_LOOP_fI_f1): Likewise.
7135 (RUN_TEST_ffI_f1): Likewise.
7136 (RUN_TEST_LOOP_ffI_f1): Likewise.
7137 (RUN_TEST_c_c): Likewise.
7138 (RUN_TEST_LOOP_c_c): Likewise.
7139 (RUN_TEST_cc_c): Likewise.
7140 (RUN_TEST_LOOP_cc_c): Likewise.
7141 (RUN_TEST_f_i): Likewise.
7142 (RUN_TEST_LOOP_f_i): Likewise.
7143 (RUN_TEST_f_i_tg): Likewise.
7144 (RUN_TEST_LOOP_f_i_tg): Likewise.
7145 (RUN_TEST_ff_i_tg): Likewise.
7146 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7147 (RUN_TEST_f_b): Likewise.
7148 (RUN_TEST_LOOP_f_b): Likewise.
7149 (RUN_TEST_f_b_tg): Likewise.
7150 (RUN_TEST_LOOP_f_b_tg): Likewise.
7151 (RUN_TEST_f_l): Likewise.
7152 (RUN_TEST_LOOP_f_l): Likewise.
7153 (RUN_TEST_f_L): Likewise.
7154 (RUN_TEST_LOOP_f_L): Likewise.
7155 (RUN_TEST_sincos): Likewise.
7156 (RUN_TEST_LOOP_sincos): Likewise.
7158 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7162 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7163 main case of finite arguments, set rounding mode to FE_TONEAREST
7164 and discard exceptions.
7165 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7167 (remainder_tonearest_test_data): New variable.
7168 (remainder_test_tonearest): New function.
7169 (remainder_towardzero_test_data): New variable.
7170 (remainder_test_towardzero): New function.
7171 (remainder_downward_test_data): New variable.
7172 (remainder_test_downward): New function.
7173 (remainder_upward_test_data): New variable.
7174 (remainder_test_upward): New function.
7175 (main): Call the new test functions.
7177 * math/libm-test.inc (struct test_f_f1_data): Remove field
7179 (struct test_fF_f1_data): Likewise.
7180 (struct test_ffI_f1_data): Likewise.
7181 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7182 based on value of EXTRA_EXPECTED.
7183 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7184 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7185 EXTRA_VAR based on value of EXTRA_EXPECTED.
7186 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7187 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7188 EXTRA_VAR based on value of EXTRA_EXPECTED.
7189 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7190 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7191 EXTRA_VAR based on value of EXTRA_EXPECTED.
7192 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7193 * math/gen-libm-test.pl (parse_args): Don't output initializers
7194 for extra output values.
7196 * math/libm-test.inc (check_int): Expect result to be exactly
7197 equal to expected value and do not handle ulps.
7198 (check_long): Likewise.
7199 (check_longlong): Likewise.
7201 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7203 (cimag_test_data): Likewise.
7204 (conj_test_data): Likewise.
7205 (copysign_test_data): Likewise.
7206 (cproj_test_data): Likewise.
7207 (creal_test_data): Likewise.
7208 (fabs_test_data): Likewise.
7209 (fdim_test_data): Likewise.
7210 (finite_test_data): Likewise.
7211 (floor_test_data): Likewise.
7212 (fmax_test_data): Likewise.
7213 (fmin_test_data): Likewise.
7214 (fmod_test_data): Likewise.
7215 (fpclassify_test_data): Likewise.
7216 (frexp_test_data): Likewise.
7217 (ilogb_test_data): Likewise.
7218 (isfinite_test_data): Likewise.
7219 (isgreater_test_data): Likewise.
7220 (isgreaterequal_test_data): Likewise.
7221 (isinf_test_data): Likewise.
7222 (isless_test_data): Likewise.
7223 (islessequal_test_data): Likewise.
7224 (islessgreater_test_data): Likewise.
7225 (isnan_test_data): Likewise.
7226 (isnormal_test_data): Likewise.
7227 (issignaling_test_data): Likewise.
7228 (isunordered_test_data): Likewise.
7229 (ldexp_test_data): Likewise.
7230 (lrint_test_data): Likewise.
7231 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7232 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7233 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7234 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7235 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7236 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7238 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7239 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7240 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7241 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7243 (lrint_downward_test_data): Test for "inexact" exceptions.
7244 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7245 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7246 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7248 (lrint_upward_test_data): Test for "inexact" exceptions.
7249 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7251 (llrint_test_data): Test for "inexact" exceptions.
7252 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7253 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7254 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7255 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7256 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7257 (llrint_downward_test_data): Test for "inexact" exceptions.
7258 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7259 (llrint_upward_test_data): Test for "inexact" exceptions.
7260 (logb_test_data): Likewise.
7261 (logb_downward_test_data): Likewise.
7262 (nextafter_test_data): Likewise.
7263 (nexttoward_test_data): Likewise.
7264 (remainder_test_data): Likewise.
7265 (remquo_test_data): Likewise.
7266 (scalbn_test_data): Likewise.
7267 (scalbln_test_data): Likewise.
7268 (signbit_test_data): Likewise.
7269 (sqrt_test_data): Likewise.
7270 (significand_test_data): Likewise.
7272 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7275 * benchtests/bench-modf.c (struct args): Mark arg0 as
7277 * scripts/bench.pl: Mark members of struct args as volatile.
7279 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7282 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7283 negative infinity on POWER6 or lower.
7284 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7286 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7289 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7290 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7291 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7292 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7293 (_FP_SETQNAN): New macro.
7294 (_FP_SETQNAN_SEMIRAW): Likewise.
7295 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7296 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7297 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7298 (FP_EXTEND): Use _FP_FRAC_SNANP.
7299 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7300 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7302 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7307 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7309 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7310 with DIVIDE_BY_ZERO_EXCEPTION.
7311 (gamma_test_data): Likewise.
7312 (lgamma_test_data): Likewise.
7313 (log_test_data): Likewise.
7314 (log10_test_data): Likewise.
7315 (log2_test_data): Likewise.
7316 (tgamma_test_data): Likewise.
7318 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7319 (acos_test_tonearest): Likewise.
7320 (acos_test_towardzero): Likewise.
7321 (acos_test_downward): Likewise.
7322 (acos_test_upward): Likewise.
7323 (acosh_test): Likewise.
7324 (asin_test): Likewise.
7325 (asin_test_tonearest): Likewise.
7326 (asin_test_towardzero): Likewise.
7327 (asin_test_downward): Likewise.
7328 (asin_test_upward): Likewise.
7329 (asinh_test): Likewise.
7330 (atan_test): Likewise.
7331 (atanh_test): Likewise.
7332 (atan2_test): Likewise.
7333 (cabs_test): Likewise.
7334 (cacos_test): Likewise.
7335 (cacosh_test): Likewise.
7336 (casin_test): Likewise.
7337 (casinh_test): Likewise.
7338 (catan_test): Likewise.
7339 (catanh_test): Likewise.
7340 (cbrt_test): Likewise.
7341 (ccos_test): Likewise.
7342 (ccosh_test): Likewise.
7343 (cexp_test): Likewise.
7344 (clog_test): Likewise.
7345 (clog10_test): Likewise.
7346 (cos_test): Likewise.
7347 (cos_test_tonearest): Likewise.
7348 (cos_test_towardzero): Likewise.
7349 (cos_test_downward): Likewise.
7350 (cos_test_upward): Likewise.
7351 (cosh_test): Likewise.
7352 (cosh_test_tonearest): Likewise.
7353 (cosh_test_towardzero): Likewise.
7354 (cosh_test_downward): Likewise.
7355 (cosh_test_upward): Likewise.
7356 (cpow_test): Likewise.
7357 (csin_test): Likewise.
7358 (csinh_test): Likewise.
7359 (csqrt_test): Likewise.
7360 (ctan_test): Likewise.
7361 (ctan_test_tonearest): Likewise.
7362 (ctan_test_towardzero): Likewise.
7363 (ctan_test_downward): Likewise.
7364 (ctan_test_upward): Likewise.
7365 (ctanh_test): Likewise.
7366 (ctanh_test_tonearest): Likewise.
7367 (ctanh_test_towardzero): Likewise.
7368 (ctanh_test_downward): Likewise.
7369 (ctanh_test_upward): Likewise.
7370 (erf_test): Likewise.
7371 (erfc_test): Likewise.
7372 (exp_test): Likewise.
7373 (exp_test_tonearest): Likewise.
7374 (exp_test_towardzero): Likewise.
7375 (exp_test_downward): Likewise.
7376 (exp_test_upward): Likewise.
7377 (exp10_test): Likewise.
7378 (exp2_test): Likewise.
7379 (expm1_test): Likewise.
7380 (fmod_test): Likewise.
7381 (gamma_test): Likewise.
7382 (hypot_test): Likewise.
7383 (j0_test): Likewise.
7384 (j1_test): Likewise.
7385 (jn_test): Likewise.
7386 (lgamma_test): Likewise.
7387 (log_test): Likewise.
7388 (log10_test): Likewise.
7389 (log1p_test): Likewise.
7390 (log2_test): Likewise.
7391 (logb_test_downward): Likewise.
7392 (pow_test): Likewise.
7393 (pow_test_tonearest): Likewise.
7394 (pow_test_towardzero): Likewise.
7395 (pow_test_downward): Likewise.
7396 (pow_test_upward): Likewise.
7397 (remainder_test): Likewise.
7398 (remquo_test): Likewise.
7399 (sin_test): Likewise.
7400 (sin_test_tonearest): Likewise.
7401 (sin_test_towardzero): Likewise.
7402 (sin_test_downward): Likewise.
7403 (sin_test_upward): Likewise.
7404 (sincos_test): Likewise.
7405 (sinh_test): Likewise.
7406 (sinh_test_tonearest): Likewise.
7407 (sinh_test_towardzero): Likewise.
7408 (sinh_test_downward): Likewise.
7409 (sinh_test_upward): Likewise.
7410 (sqrt_test): Likewise.
7411 (tan_test): Likewise.
7412 (tan_test_tonearest): Likewise.
7413 (tan_test_towardzero): Likewise.
7414 (tan_test_downward): Likewise.
7415 (tan_test_upward): Likewise.
7416 (tanh_test): Likewise.
7417 (tgamma_test): Likewise.
7418 (y0_test): Likewise.
7419 (y1_test): Likewise.
7420 (yn_test): Likewise.
7422 * math/gen-libm-test.pl (adjust_arg): Remove function.
7423 (special_function): Remove argument $in_func. Only handle
7424 generating output for tables of tests, not inside functions.
7425 (parse_args): Likewise.
7426 (generate_testfile): Remove variable $in_func. Update call to
7428 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7429 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7430 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7431 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7432 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7433 (MAX_VALUE_INIT): Rename macro to max_value.
7434 (MIN_VALUE_INIT): Rename macro to min_value.
7435 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7436 (plus_zero): Remove variable.
7437 (minus_zero): Likewise.
7438 (plus_infty): Likewise.
7439 (minus_infty): Likewise.
7440 (qnan_value): Likewise.
7441 (max_value): Likewise.
7442 (min_value): Likewise.
7443 (min_subnorm_value): Likewise.
7445 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7447 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7448 uint64_t or uint32_t usage.
7449 * crypt/sha256-block.c: Likewise.
7450 * crypt/sha256-crypt.c: Likewise.
7451 * crypt/sha256.c: Likewise.
7452 * crypt/sha512-block.c: Likewise.
7453 * crypt/sha512-crypt.c: Likewise.
7454 * crypt/sha512.c: Likewise.
7455 * debug/backtrace-tst.c: Likewise.
7456 * debug/pcprofiledump.c: Likewise.
7457 * elf/cache.c: Likewise.
7458 * elf/dl-cache.c: Likewise.
7459 * elf/dl-misc.c: Likewise.
7460 * elf/dl-profile.c: Likewise.
7461 * elf/dl-support.c: Likewise.
7462 * elf/ldconfig.c: Likewise.
7463 * elf/sprof.c: Likewise.
7464 * iconv/dummy-repertoire.c: Likewise.
7465 * iconv/iconv_charmap.c: Likewise.
7466 * iconv/skeleton.c: Likewise.
7467 * iconvdata/8bit-generic.c: Likewise.
7468 * iconvdata/cp737.h: Likewise.
7469 * iconvdata/cp775.h: Likewise.
7470 * iconvdata/ibm1008.h: Likewise.
7471 * iconvdata/ibm1025.h: Likewise.
7472 * iconvdata/ibm1046.h: Likewise.
7473 * iconvdata/ibm1097.h: Likewise.
7474 * iconvdata/ibm1112.h: Likewise.
7475 * iconvdata/ibm1122.h: Likewise.
7476 * iconvdata/ibm1123.h: Likewise.
7477 * iconvdata/ibm1124.h: Likewise.
7478 * iconvdata/ibm1129.h: Likewise.
7479 * iconvdata/ibm1130.h: Likewise.
7480 * iconvdata/ibm1132.h: Likewise.
7481 * iconvdata/ibm1133.h: Likewise.
7482 * iconvdata/ibm1137.h: Likewise.
7483 * iconvdata/ibm1140.h: Likewise.
7484 * iconvdata/ibm1141.h: Likewise.
7485 * iconvdata/ibm1142.h: Likewise.
7486 * iconvdata/ibm1143.h: Likewise.
7487 * iconvdata/ibm1144.h: Likewise.
7488 * iconvdata/ibm1145.h: Likewise.
7489 * iconvdata/ibm1146.h: Likewise.
7490 * iconvdata/ibm1147.h: Likewise.
7491 * iconvdata/ibm1148.h: Likewise.
7492 * iconvdata/ibm1149.h: Likewise.
7493 * iconvdata/ibm1153.h: Likewise.
7494 * iconvdata/ibm1154.h: Likewise.
7495 * iconvdata/ibm1155.h: Likewise.
7496 * iconvdata/ibm1156.h: Likewise.
7497 * iconvdata/ibm1157.h: Likewise.
7498 * iconvdata/ibm1158.h: Likewise.
7499 * iconvdata/ibm1160.h: Likewise.
7500 * iconvdata/ibm1161.h: Likewise.
7501 * iconvdata/ibm1162.h: Likewise.
7502 * iconvdata/ibm1163.h: Likewise.
7503 * iconvdata/ibm1164.h: Likewise.
7504 * iconvdata/ibm1166.h: Likewise.
7505 * iconvdata/ibm1167.h: Likewise.
7506 * iconvdata/ibm12712.h: Likewise.
7507 * iconvdata/ibm1390.h: Likewise.
7508 * iconvdata/ibm1399.h: Likewise.
7509 * iconvdata/ibm16804.h: Likewise.
7510 * iconvdata/ibm4517.h: Likewise.
7511 * iconvdata/ibm4899.h: Likewise.
7512 * iconvdata/ibm4909.h: Likewise.
7513 * iconvdata/ibm4971.h: Likewise.
7514 * iconvdata/ibm5347.h: Likewise.
7515 * iconvdata/ibm803.h: Likewise.
7516 * iconvdata/ibm856.h: Likewise.
7517 * iconvdata/ibm901.h: Likewise.
7518 * iconvdata/ibm902.h: Likewise.
7519 * iconvdata/ibm9030.h: Likewise.
7520 * iconvdata/ibm9066.h: Likewise.
7521 * iconvdata/ibm921.h: Likewise.
7522 * iconvdata/ibm922.h: Likewise.
7523 * iconvdata/ibm9448.h: Likewise.
7524 * iconvdata/isiri-3342.h: Likewise.
7525 * iconvdata/jis0201.h: Likewise.
7526 * include/link.h: Likewise.
7527 * include/netdb.h: Likewise.
7528 * inet/check_native.c: Likewise.
7529 * inet/check_pf.c: Likewise.
7530 * inet/getipv4sourcefilter.c: Likewise.
7531 * inet/getnameinfo.c: Likewise.
7532 * inet/getsourcefilter.c: Likewise.
7533 * inet/htonl.c: Likewise.
7534 * inet/setipv4sourcefilter.c: Likewise.
7535 * inet/setsourcefilter.c: Likewise.
7536 * inet/test-inet6_opt.c: Likewise.
7537 * inet/tst-network.c: Likewise.
7538 * locale/C-collate.c: Likewise.
7539 * locale/C-ctype.c: Likewise.
7540 * locale/C-time.c: Likewise.
7541 * locale/C-translit.h: Likewise.
7542 * locale/loadarchive.c: Likewise.
7543 * locale/programs/3level.h: Likewise.
7544 * locale/programs/charmap.c: Likewise.
7545 * locale/programs/charmap.h: Likewise.
7546 * locale/programs/ld-address.c: Likewise.
7547 * locale/programs/ld-collate.c: Likewise.
7548 * locale/programs/ld-ctype.c: Likewise.
7549 * locale/programs/ld-identification.c: Likewise.
7550 * locale/programs/ld-measurement.c: Likewise.
7551 * locale/programs/ld-messages.c: Likewise.
7552 * locale/programs/ld-monetary.c: Likewise.
7553 * locale/programs/ld-name.c: Likewise.
7554 * locale/programs/ld-numeric.c: Likewise.
7555 * locale/programs/ld-paper.c: Likewise.
7556 * locale/programs/ld-telephone.c: Likewise.
7557 * locale/programs/ld-time.c: Likewise.
7558 * locale/programs/linereader.c: Likewise.
7559 * locale/programs/locale.c: Likewise.
7560 * locale/programs/locarchive.c: Likewise.
7561 * locale/programs/locfile.h: Likewise.
7562 * locale/programs/repertoire.c: Likewise.
7563 * locale/programs/simple-hash.c: Likewise.
7564 * locale/programs/simple-hash.h: Likewise.
7565 * malloc/memusage.c: Likewise.
7566 * malloc/memusagestat.c: Likewise.
7567 * nis/nis_defaults.c: Likewise.
7568 * nis/nis_hash.c: Likewise.
7569 * nis/nis_print.c: Likewise.
7570 * nis/nis_xdr.c: Likewise.
7571 * nscd/connections.c: Likewise.
7572 * nscd/hstcache.c: Likewise.
7573 * nscd/nscd_gethst_r.c: Likewise.
7574 * nscd/nscd_getserv_r.c: Likewise.
7575 * nscd/nscd_helper.c: Likewise.
7576 * nscd/servicescache.c: Likewise.
7577 * nss/makedb.c: Likewise.
7578 * nss/nss_db/db-XXX.c: Likewise.
7579 * nss/nss_db/db-initgroups.c: Likewise.
7580 * nss/nss_db/db-netgrp.c: Likewise.
7581 * nss/nss_files/files-network.c: Likewise.
7582 * nss/nss_files/files-parse.c: Likewise.
7583 * posix/bug-regex5.c: Likewise.
7584 * posix/fnmatch_loop.c: Likewise.
7585 * posix/regcomp.c: Likewise.
7586 * posix/regexec.c: Likewise.
7587 * posix/tst-rfc3484-2.c: Likewise.
7588 * posix/tst-rfc3484-3.c: Likewise.
7589 * posix/tst-rfc3484.c: Likewise.
7590 * resolv/nss_dns/dns-canon.c: Likewise.
7591 * resolv/nss_dns/dns-network.c: Likewise.
7592 * resolv/res_init.c: Likewise.
7593 * resolv/res_mkquery.c: Likewise.
7594 * resolv/tst-aton.c: Likewise.
7595 * stdlib/cxa_atexit.c: Likewise.
7596 * stdlib/cxa_finalize.c: Likewise.
7597 * stdlib/gen-fpioconst.c: Likewise.
7598 * stdlib/strtol_l.c: Likewise.
7599 * string/tst-endian.c: Likewise.
7600 * sunrpc/auth_des.c: Likewise.
7601 * sunrpc/clnt_udp.c: Likewise.
7602 * sunrpc/rtime.c: Likewise.
7603 * sunrpc/svcauth_des.c: Likewise.
7604 * sunrpc/xdr.c: Likewise.
7605 * sunrpc/xdr_intXX_t.c: Likewise.
7606 * sunrpc/xdr_rec.c: Likewise.
7607 * sysdeps/generic/ldconfig.h: Likewise.
7608 * sysdeps/generic/ldsodefs.h: Likewise.
7609 * sysdeps/generic/memusage.h: Likewise.
7610 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7617 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7618 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7620 * sysdeps/posix/getaddrinfo.c: Likewise.
7621 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7622 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7623 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7625 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7626 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7627 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7628 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7629 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7630 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7631 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7632 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7633 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7634 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7635 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7636 * sysdeps/x86_64/dl-tls.h: Likewise.
7637 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7638 * time/alt_digit.c: Likewise.
7639 * time/era.c: Likewise.
7640 * wcsmbs/tst-c16c32-1.c: Likewise.
7642 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7644 * math/libm-test.inc (struct test_sincos_data): New type.
7645 (RUN_TEST_LOOP_sincos): New macro.
7646 (sincos_test_data): New variable.
7647 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7649 2013-05-16 Richard Henderson <rth@redhat.com>
7651 * math/atest-exp2.c (LIMB64): New macro.
7652 (CONSTSZ): New macro.
7653 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7655 (print_mpn_fp): ... to function scope.
7656 (read_mpn_hex): Remove.
7658 (exp2_mpn): Use mp_log2.
7659 (main): Use mp_exp1.
7661 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7663 * math/libm-test.inc: Remove comment about not testing "inexact"
7665 (INEXACT_EXCEPTION): New macro.
7666 (NO_INEXACT_EXCEPTION): Likewise.
7667 (INVALID_EXCEPTION_OK): Update value.
7668 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7669 (OVERFLOW_EXCEPTION_OK): Likewise.
7670 (UNDERFLOW_EXCEPTION_OK): Likewise.
7671 (IGNORE_ZERO_INF_SIGN): Likewise.
7672 (ERRNO_UNCHANGED): Likewise.
7673 (ERRNO_EDOM): Likewise.
7674 (ERRNO_ERANGE): Likewise.
7675 (test_exceptions): Handle testing "inexact" exceptions.
7676 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7677 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7678 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7679 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7681 (rint_towardzero_test_data): Likewise.
7682 (rint_downward_test_data): Likewise.
7683 (rint_upward_test_data): Likewise.
7685 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7686 with OVERFLOW_EXCEPTION.
7687 (exp10_test_data): Likewise.
7688 (exp2_test_data): Likewise.
7689 (expm1_test_data): Likewise.
7690 (lgamma_test_data): Likewise.
7691 (pow_test_data): Likewise.
7692 (tgamma_test_data): Likewise.
7693 (yn_test_data): Remove duplicate test of overflow.
7695 * math/libm-test.inc (struct test_cc_c_data): New type.
7696 (RUN_TEST_LOOP_cc_c): New macro.
7697 (cpow_test_data): New variable.
7698 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7700 * math/libm-test.inc (struct test_f_L_data): New type.
7701 (RUN_TEST_LOOP_f_L): New macro.
7702 (llrint_test_data): New variable.
7703 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7704 (llrint_tonearest_test_data): New variable.
7705 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7706 (llrint_towardzero_test_data): New variable.
7707 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7708 (llrint_downward_test_data): New variable.
7709 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7710 (llrint_upward_test_data): New variable.
7711 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7712 (llround_test_data): New variable.
7713 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7715 2013-05-13 Peter Collingbourne <pcc@google.com>
7717 * math/atest-exp2.c (get_log2): Remove const attribute.
7719 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7721 * math/libm-test.inc (struct test_f_l_data): New type.
7722 (RUN_TEST_LOOP_f_l): New macro.
7723 (lrint_test_data): New variable.
7724 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7725 (lrint_tonearest_test_data): New variable.
7726 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7727 (lrint_towardzero_test_data): New variable.
7728 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7729 (lrint_downward_test_data): New variable.
7730 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7731 (lrint_upward_test_data): New variable.
7732 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7733 (lround_test_data): New variable.
7734 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7736 2013-05-15 Peter Collingbourne <pcc@google.com>
7738 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7739 (EXTRACT_WORDS64) Use where appropriate.
7740 (INSERT_WORDS64) Likewise.
7742 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7743 constraints with x constraints.
7744 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7746 * malloc/obstack.c (_obstack_compat): Add initializer.
7748 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7751 si_trapno and add si_addr_lsb to _sifields.sigfault.
7752 (si_trapno): Remove macro.
7753 (si_addr_lsb): Define new macro.
7754 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7756 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7758 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7759 instead of TEST_f_l.
7760 (llrint_test_tonearest): Likewise.
7761 (llrint_test_towardzero): Likewise.
7762 (llrint_test_downward): Likewise.
7763 (llrint_test_upward): Likewise.
7764 (llround_test): Likewise.
7766 * math/libm-test.inc (struct test_f_i_data): Add comment.
7767 (RUN_TEST_LOOP_f_b): New macro.
7768 (RUN_TEST_LOOP_f_b_tg): Likewise.
7769 (finite_test_data): New variable.
7770 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7771 (isfinite_test_data): New variable.
7772 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7773 (isinf_test_data): New variable.
7774 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7775 (isnan_test_data): New variable.
7776 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7777 (isnormal_test_data): New variable.
7778 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7779 (issignaling_test_data): New variable.
7780 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7781 (signbit_test_data): New variable.
7782 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7784 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7785 with INVALID_EXCEPTION.
7786 (acosh_test_data): Likewise.
7787 (asin_test_data): Likewise.
7788 (atanh_test_data): Likewise.
7789 (fmod_test_data): Likewise.
7790 (log_test_data): Likewise.
7791 (log10_test_data): Likewise.
7792 (log2_test_data): Likewise.
7793 (pow_test_data): Likewise.
7794 (sqrt_test_data): Likewise.
7795 (y0_test_data): Likewise.
7796 (y1_test_data): Likewise.
7797 (yn_test_data): Likewise.
7799 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7802 * math/libm-test.inc (struct test_ff_i_data): New type.
7803 (RUN_TEST_LOOP_ff_i_tg): New macro.
7804 (isgreater_test_data): New variable.
7805 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7806 (isgreaterequal_test_data): New variable.
7807 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7808 (isless_test_data): New variable.
7809 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7810 (islessequal_test_data): New variable.
7811 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7812 (islessgreater_test_data): New variable.
7813 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7814 (isunordered_test_data): New variable.
7815 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7817 2013-05-14 David S. Miller <davem@davemloft.net>
7819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7821 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7823 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7825 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7827 (struct test_f_i_data): Change type of max_ulp to int.
7829 * math/libm-test.inc (test_ffI_f1_data): New type.
7830 (RUN_TEST_LOOP_ffI_f1): New macro.
7831 (remquo_test_data): New variable.
7832 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7834 * setjmp/tst-setjmp-fp.c: New file.
7835 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7836 (link-libm): New variable.
7837 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7839 * math/libm-test.inc (struct test_f_i_data): New type.
7840 (RUN_TEST_LOOP_f_i): New macro.
7841 (RUN_TEST_LOOP_f_i_tg): Likewise.
7842 (fpclassify_test_data): New variable.
7843 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7844 (ilogb_test_data): New variable.
7845 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7847 * math/libm-test.inc (scalbln_test): Correct function name in END
7850 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7851 (RUN_TEST_LOOP_fI_f1): New macro.
7852 (frexp_test_data): New variable.
7853 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7855 * math/libm-test.inc (struct test_fF_f1_data): New type.
7856 (RUN_TEST_LOOP_fF_f1): New macro.
7857 (modf_test_data): New variable.
7858 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7860 * math/libm-test.inc (struct test_f_f1_data): New type.
7861 (RUN_TEST_LOOP_f_f1): New macro.
7862 (gamma_test_data): New variable.
7863 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7864 (lgamma_test_data): New variable.
7865 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7867 2013-05-13 Carlos O'Donell <carlos@redhat.com>
7869 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7870 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7871 (main): Comment "tls" pseudo-hwcap.
7873 2013-05-13 Joseph Myers <joseph@codesourcery.com>
7875 * math/libm-test.inc (struct test_fl_f_data): New type.
7876 (RUN_TEST_LOOP_fl_f): New variable.
7877 (scalbln_test_data): New variable.
7878 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7880 * math/libm-test.inc (struct test_fi_f_data): New type.
7881 (RUN_TEST_LOOP_fi_f): New macro.
7882 (ldexp_test_data): New variable.
7883 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7884 (scalbn_test_data): New variable.
7885 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7887 * math/libm-test.inc (struct test_c_f_data): New type.
7888 (RUN_TEST_LOOP_c_f): New macro.
7889 (cabs_test_data): New variable.
7890 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7891 (carg_test_data): New variable.
7892 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7893 (cimag_test_data): New variable.
7894 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7895 (creal_test_data): New variable.
7896 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7898 * math/libm-test.inc (struct test_if_f_data): New type.
7899 (RUN_TEST_LOOP_if_f): New macro.
7900 (jn_test_data): New variable.
7901 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7902 (yn_test_data): New variable.
7903 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7905 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7907 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7909 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7910 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7912 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7914 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7915 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7916 (bench-deps): Add bench-timing.h.
7917 * benchtests-bench-skeleton.c: Include bench-timing.h.
7918 (main): Use TIMING_* macros instead of clock_gettime.
7919 * benchtests/bench-timing.h: New file.
7922 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7923 Renamed from _LIB_VERSION.
7924 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7926 2013-05-12 Joseph Myers <joseph@codesourcery.com>
7928 * math/libm-test.inc (struct test_fff_f_data): New type.
7929 (RUN_TEST_LOOP_fff_f): New macro.
7930 (fma_test_data): New variable.
7931 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7932 (fma_towardzero_test_data): New variable.
7933 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7934 (fma_downward_test_data): New variable.
7935 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7936 (fma_upward_test_data): New variable.
7937 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7939 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7940 (struct test_c_c_data): New type.
7941 (RUN_TEST_LOOP_c_c): New macro.
7942 (cacos_test_data): New variable.
7943 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7944 (cacosh_test_data): New variable.
7945 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7946 (casin_test_data): New variable.
7947 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7948 (casinh_test_data): New variable.
7949 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7950 (catan_test_data): New variable.
7951 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7952 (catanh_test_data): New variable.
7953 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7954 (ccos_test_data): New variable.
7955 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7956 (ccosh_test_data): New variable.
7957 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7958 (cexp_test_data): New variable.
7959 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7960 (clog_test_data): New variable.
7961 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7962 (clog10_test_data): New variable.
7963 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7964 (conj_test_data): New variable.
7965 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7966 (cproj_test_data): New variable.
7967 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7968 (csin_test_data): New variable.
7969 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7970 (csinh_test_data): New variable.
7971 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7972 (csqrt_test_data): New variable.
7973 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7974 (ctan_test_data): New variable.
7975 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7976 (ctan_tonearest_test_data): New variable.
7977 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7978 (ctan_towardzero_test_data): New variable.
7979 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7980 (ctan_downward_test_data): New variable.
7981 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7982 (ctan_upward_test_data): New variable.
7983 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7984 (ctanh_test_data): New variable.
7985 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7986 (ctanh_tonearest_test_data): New variable.
7987 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7988 (ctanh_towardzero_test_data): New variable.
7989 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7990 (ctanh_downward_test_data): New variable.
7991 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7992 (ctanh_upward_test_data): New variable.
7993 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7994 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7997 * math/libm-test.inc (struct test_ff_f_data): New type.
7998 (struct test_ff_f_data_nexttoward): Likewise.
7999 (RUN_TEST_LOOP_2_f): New macro.
8000 (RUN_TEST_LOOP_ff_f): Likewise.
8001 (atan2_test_data): New variable.
8002 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8003 (copysign_test_data): New variable.
8004 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8005 (fdim_test_data): New variable.
8006 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8007 (fmax_test_data): New variable.
8008 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8009 (fmin_test_data): New variable.
8010 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8011 (fmod_test_data): New variable.
8012 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8013 (hypot_test_data): New variable.
8014 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8015 (nextafter_test_data): New variable.
8016 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8017 (nexttoward_test_data): New variable.
8018 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8019 (pow_test_data): New variable.
8020 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8021 (pow_tonearest_test_data): New variable.
8022 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8023 (pow_towardzero_test_data): New variable.
8024 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8025 (pow_downward_test_data): New variable.
8026 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8027 (pow_upward_test_data): New variable.
8028 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8029 (remainder_test_data): New variable.
8030 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8031 (scalb_test_data): New variable.
8032 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8033 * sysdeps/i386/fpu/libm-test-ulps: Update.
8035 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8037 * math/libm-test.inc (fma_test): Use max_value instead of local
8039 (nextafter_test): Likewise.
8041 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8042 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8043 (acos_downward_test_data): New variable.
8044 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8045 (acos_upward_test_data): New variable.
8046 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8047 (acosh_test_data): New variable.
8048 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8049 (asin_test_data): New variable.
8050 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8051 (asin_tonearest_test_data): New variable.
8052 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8053 (asin_towardzero_test_data): New variable.
8054 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8055 (asin_downward_test_data): New variable.
8056 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8057 (asin_upward_test_data): New variable.
8058 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8059 (asinh_test_data): New variable.
8060 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8061 (atan_test_data): New variable.
8062 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8063 (atanh_test_data): New variable.
8064 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8065 (cbrt_test_data): New variable.
8066 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8067 (ceil_test_data): New variable.
8068 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8069 (cos_test_data): New variable.
8070 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8071 (cos_tonearest_test_data): New variable.
8072 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8073 (cos_towardzero_test_data): New variable.
8074 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8075 (cos_downward_test_data): New variable.
8076 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8077 (cos_upward_test_data): New variable.
8078 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8079 (cosh_test_data): New variable.
8080 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8081 (cosh_tonearest_test_data): New variable.
8082 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8083 (cosh_towardzero_test_data): New variable.
8084 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8085 (cosh_downward_test_data): New variable.
8086 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8087 (cosh_upward_test_data): New variable.
8088 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8089 (erf_test_data): New variable.
8090 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8091 (erfc_test_data): New variable.
8092 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8093 (exp_test_data): New variable.
8094 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8095 (exp_tonearest_test_data): New variable.
8096 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8097 (exp_towardzero_test_data): New variable.
8098 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8099 (exp_downward_test_data): New variable.
8100 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8101 (exp_upward_test_data): New variable.
8102 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8103 (exp10_test_data): New variable.
8104 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8105 (exp2_test_data): New variable.
8106 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8107 (expm1_test_data): New variable.
8108 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8109 (fabs_test_data): New variable.
8110 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8111 (floor_test_data): New variable.
8112 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8113 (j0_test_data): New variable.
8114 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8115 (j1_test_data): New variable.
8116 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8117 (log_test_data): New variable.
8118 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8119 (log10_test_data): New variable.
8120 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8121 (log1p_test_data): New variable.
8122 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8123 (log2_test_data): New variable.
8124 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8125 (logb_test_data): New variable.
8126 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8127 (logb_downward_test_data): New variable.
8128 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8129 (nearbyint_test_data): New variable.
8130 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8131 (rint_test_data): New variable.
8132 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8133 (rint_tonearest_test_data): New variable.
8134 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8135 (rint_towardzero_test_data): New variable.
8136 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8137 (rint_downward_test_data): New variable.
8138 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8139 (rint_upward_test_data): New variable.
8140 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8141 (round_test_data): New variable.
8142 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8143 (sin_test_data): New variable.
8144 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8145 (sin_tonearest_test_data): New variable.
8146 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8147 (sin_towardzero_test_data): New variable.
8148 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8149 (sin_downward_test_data): New variable.
8150 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8151 (sin_upward_test_data): New variable.
8152 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8153 (sinh_test_data): New variable.
8154 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8155 (sinh_tonearest_test_data): New variable.
8156 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8157 (sinh_towardzero_test_data): New variable.
8158 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8159 (sinh_downward_test_data): New variable.
8160 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8161 (sinh_upward_test_data): New variable.
8162 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8163 (sqrt_test_data): New variable.
8164 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8165 (tan_test_data): New variable.
8166 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8167 (tan_tonearest_test_data): New variable.
8168 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8169 (tan_towardzero_test_data): New variable.
8170 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8171 (tan_downward_test_data): New variable.
8172 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8173 (tan_upward_test_data): New variable.
8174 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8175 (tanh_test_data): New variable.
8176 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8177 (tgamma_test_data): New variable.
8178 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8179 (trunc_test_data): New variable.
8180 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8181 (y0_test_data): New variable.
8182 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8183 (y1_test_data): New variable.
8184 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8185 (significand_test_data): New variable.
8186 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8188 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8191 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8193 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8195 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8197 2013-05-10 Andreas Jaeger <aj@suse.de>
8200 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8201 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8203 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8205 * math/gen-libm-test.pl (adjust_arg): New function.
8206 (special_functions): Handle generating output in both functions
8208 (parse_args): Likewise.
8209 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8210 $in_func argument to parse_args.
8211 * math/libm-test.inc (struct test_f_f_data): New type.
8212 (IF_ROUND_INIT_): New macro.
8213 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8214 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8215 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8216 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8217 (ROUND_RESTORE_): Likewise.
8218 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8219 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8220 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8221 (ROUND_RESTORE_FE_UPWARD): Likewise.
8222 (RUN_TEST_LOOP_f_f): New macro.
8223 (acos_test_data): New variable.
8224 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8225 (acos_tonearest_test_data): New variable.
8226 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8228 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8230 * benchtests/bench-skeleton.c (startup): Fix coding style.
8232 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8235 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8236 negative infinity argument.
8237 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8238 negative infinity argument.
8239 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8240 negative infinity argument.
8241 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8244 2013-05-10 Florian Weimer <fweimer@redhat.com>
8246 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8247 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8248 * iconv/iconv_prog.c (main): Likewise.
8249 * locale/programs/charmap-dir.c (charmap_readdir)
8250 (fopen_uncompressed): Likewise.
8251 * locale/programs/locfile.c (siblings_uncached)
8252 (write_locale_data): Use lstat64 instead of lstat.
8253 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8256 2013-05-10 Andreas Jaeger <aj@suse.de>
8259 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8263 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8265 * elf/dl-close.c (_dl_close_worker): Add comments.
8267 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8270 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8272 (__ieee754_rem_pio2l): Update comments.
8275 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8277 (__ieee754_rem_pio2l): Update comments.
8279 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8280 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8282 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8285 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8286 (M_PI_34_LOG10El): Likewise.
8287 (M_PI2_LOG10El): Likewise.
8288 (M_PI4_LOG10El): Likewise.
8289 (M_PI_LOG10El): Likewise.
8291 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8295 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8297 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8298 (MINUS_ZERO_INIT): Likewise.
8299 (PLUS_INFTY_INIT): Likewise.
8300 (MINUS_INFTY_INIT): Likewise.
8301 (QNAN_VALUE_INIT): Likewise.
8302 (MAX_VALUE_INIT): Likewise.
8303 (MIN_VALUE_INIT): Likewise.
8304 (MIN_SUBNORM_VALUE_INIT): Likewise.
8305 (plus_zero): Initialize with PLUS_ZERO_INIT.
8306 (minus_zero): Initialize with MINUS_ZERO_INIT.
8307 (plus_infty): Initialize with PLUS_INFTY_INIT.
8308 (minus_infty): Initialize with MINUS_INFTY_INIT.
8309 (qnan_value): Initialize with QNAN_VALUE_INIT.
8310 (max_value): Initialize with MAX_VALUE_INIT.
8311 (min_value): Initialize with MIN_VALUE_INIT.
8312 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8314 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8315 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8316 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8317 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8319 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8320 (RUN_TEST_2_f): Likewise.
8321 (RUN_TEST_ff_f): Likewise.
8322 (RUN_TEST_fi_f): Likewise.
8323 (RUN_TEST_fl_f): Likewise.
8324 (RUN_TEST_fff_f): Likewise.
8325 (RUN_TEST_c_f): Likewise.
8326 (RUN_TEST_f_f1): Likewise.
8327 (RUN_TEST_fF_f1): Likewise.
8328 (RUN_TEST_fI_f1): Likewise.
8329 (RUN_TEST_ffI_f1): Likewise.
8330 (RUN_TEST_c_c): Likewise.
8331 (RUN_TEST_cc_c): Likewise.
8332 (RUN_TEST_f_i): Likewise.
8333 (RUN_TEST_f_i_tg): Likewise.
8334 (RUN_TEST_ff_i_tg): Likewise.
8335 (RUN_TEST_f_b): Likewise.
8336 (RUN_TEST_f_b_tg): Likewise.
8337 (RUN_TEST_f_l): Likewise.
8338 (RUN_TEST_f_L): Likewise.
8339 (RUN_TEST_sincos): Likewise.
8340 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8341 whether to show exceptions. Do not include ");\n" in return
8343 (special_functions): Output call to RUN_TEST_sincos instead of
8344 check_float calls. Update calls to new_test.
8345 (parse_args): Output call to single RUN_TEST_* macro instead of
8346 check_* calls and other assignments. Update calls to new_test.
8352 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8353 input to result for tgamma overflow.
8354 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8355 (gamma_coeff): New variable.
8356 (NCOEFF): New macro.
8357 (gamma_positive): New function.
8358 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8359 underflow here. Use gamma_positive instead of exp (lgamma) for
8361 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8362 (gamma_coeff): New variable.
8363 (NCOEFF): New macro.
8364 (gammaf_positive): New function.
8365 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8366 underflow here. Use gamma_positive instead of exp (lgamma) for
8368 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8369 (gamma_coeff): New variable.
8370 (NCOEFF): New macro.
8371 (gammal_positive): New function.
8372 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8373 underflow here. Use gamma_positive instead of exp (lgamma) for
8375 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8376 (gamma_coeff): New variable.
8377 (NCOEFF): New macro.
8378 (gammal_positive): New function.
8379 (__ieee754_gammal_r): Handle positive infinity, overflow and
8380 underflow here. Handle NaN the same as positive infinity. Remove
8381 check x < 0xffffffff for negative integers. Use gamma_positive
8382 instead of exp (lgamma) for other arguments.
8383 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8384 (gamma_coeff): New variable.
8385 (NCOEFF): New macro.
8386 (gammal_positive): New function.
8387 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8388 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8393 * sysdeps/generic/math_private.h (__gamma_productf): New
8395 (__gamma_product): Likewise.
8396 (__gamma_productl): Likewise.
8397 * math/Makefile (libm-calls): Add gamma_product.
8398 * math/libm-test.inc (tgamma_test): Add more tests.
8399 * sysdeps/i386/fpu/libm-test-ulps: Update.
8400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8402 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8404 * benchtests/bench-skeleton.c (main): Preheat CPU.
8406 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8408 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8410 2013-05-07 Roland McGrath <roland@hack.frob.com>
8412 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8413 and _dl_skip_args_internal.
8415 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8417 * manual/message.texi (Message Translation): Talk about users.
8418 Message to key mapping impacts design.
8420 2013-05-06 Roland McGrath <roland@hack.frob.com>
8422 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8424 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8426 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8427 * sysdeps/wordsize-64/glob64.c: ... here.
8429 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8430 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8433 * debug/getlogin_r_chk.c: Moved to ...
8434 * login/getlogin_r_chk.c: ... here.
8435 * debug/Makefile (routines): Move getlogin_r_chk to ...
8436 * login/Makefile (routines): ... here.
8437 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8438 * login/Versions (libc: GLIBC_2.4): ... here.
8440 * io/poll.c (__poll): Renamed from poll.
8441 Add libc_hidden_def.
8442 (poll): Define as weak alias.
8444 * debug/ptsname_r_chk.c: Moved to ...
8445 * login/ptsname_r_chk.c: ... here.
8446 * debug/Makefile (routines): Move ptsname_r_chk to ...
8447 * login/Makefile (routines): ... here.
8448 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8449 * login/Versions (libc: GLIBC_2.4): ... here.
8451 * posix/getlogin.c: Moved to ...
8452 * login/getlogin.c: ... here.
8453 * posix/getlogin_r.c: Moved to ...
8454 * login/getlogin_r.c: ... here.
8455 * posix/getlogin_r.c: Moved to ...
8456 * login/getlogin_r.c: ... here.
8457 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8458 * login/Makefile (routines): ... here.
8459 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8460 * login/Versions (libc: GLIBC_2.0): ... here.
8462 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8463 (setrlimit): Define as weak alias.
8465 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8466 Call __ names for open, ftruncate, and close.
8467 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8468 (truncate): Define as weak alias.
8470 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8472 * math/gen-libm-test.pl (parse_args): Initialize x before each
8473 test of frexp, modf and remquo.
8475 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8478 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8482 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8484 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8486 2013-05-06 Roland McGrath <roland@hack.frob.com>
8488 * elf/dl-writev.h: New file.
8489 * elf/dl-misc.c: Include it.
8490 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8491 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8493 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8495 * math/libm-test.inc (noXFails): Remove variable.
8496 (noXPasses): Likewise.
8497 (BUILD_COMPLEX_INT): Remove macro.
8498 (print_screen): Remove xfail argument.
8499 (print_screen_max_error): Likewise.
8500 (update_stats): Likewise.
8501 (print_max_error): Likewise. Update calls to other affected
8503 (print_complex_max_error): Likewise.
8504 (test_single_exception): Update calls to print_screen.
8505 (test_single_errno): Likewise.
8506 (check_float_internal): Remove xfail argument. Update calls to
8507 other affected functions.
8508 (check_float): Likewise.
8509 (check_complex): Likewise.
8510 (check_int): Likewise.
8511 (check_long): Likewise.
8512 (check_bool): Likewise.
8513 (check_longlong): Likewise.
8514 (main): Don't print noXFails and noXPasses.
8515 * math/gen-libm-test.pl (top level): Don't mention expected
8516 failure handling in comment.
8517 (new_test): Don't handle expected failures.
8518 (parse_args): Don't mention expected failure handling in comment.
8519 (generate_testfile): Don't handle expected failures.
8520 (parse_ulps): Likewise.
8521 (print_ulps_file): Likewise.
8522 (get_failure): Remove function.
8523 (output_test): Don't handle expected failures.
8524 * make/README.libm-test: Don't mention expected failure handling.
8526 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8527 (minus_zero): Likewise.
8528 (plus_infty): Likewise.
8529 (minus_infty): Likewise.
8530 (qnan_value): Likewise.
8531 (max_value): Likewise.
8532 (min_value): Likewise.
8533 (min_subnorm_value): Likewise.
8534 (initialize): Do not initialize those variables dynamically.
8536 2013-05-03 Roland McGrath <roland@hack.frob.com>
8538 * io/open.c (__open_2): Moved to ...
8539 * io/open_2.c: ... this new file.
8540 * io/open64.c (__open64_2): Moved to ...
8541 * io/open64_2.c: ... this new file.
8542 * io/openat.c (__openat_2): Moved to ...
8543 * io/openat_2.c: ... this new file.
8544 * io/openat64.c (__openat64_2): Moved to ...
8545 * io/openat64_2.c: ... this new file.
8546 * io/Makefile (routines): Add them.
8547 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8548 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8549 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8550 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8551 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8552 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8553 (__openat64): Add hidden_ver.
8554 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8555 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8557 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8558 Separately conditionalize setting of GLRO(dl_sysinfo) so
8559 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8560 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8562 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8564 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8567 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8568 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8569 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8570 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8571 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8573 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8575 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8578 * math/libm-test.inc (hypot_test): Do not use
8579 IGNORE_ZERO_INF_SIGN.
8581 2013-05-03 Andreas Jaeger <aj@suse.de>
8583 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8585 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8586 (PF_MAX): Adjust for VSOCK change.
8588 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8592 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8595 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8596 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8597 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8599 2013-05-02 David S. Miller <davem@davemloft.net>
8601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8603 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
8605 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8607 2013-05-01 Roland McGrath <roland@hack.frob.com>
8609 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8611 2013-05-01 Richard Smith <richard@metafoo.co.uk>
8614 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8615 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8616 Use __attribute__ ((__gnu_inline__)).
8617 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8618 Don't use __attribute__ ((__gnu_inline__)).
8620 2013-05-01 Joseph Myers <joseph@codesourcery.com>
8623 * math/s_catan.c (__catan): Handle small real or imaginary part of
8624 input specially to avoid spurious underflow.
8625 * math/s_catanf.c (__catanf): Likewise.
8626 * math/s_catanh.c (__catanh): Likewise.
8627 * math/s_catanhf.c (__catanhf): Likewise.
8628 * math/s_catanhl.c (__catanhl): Likewise.
8629 * math/s_catanl.c (__catanl): Likewise.
8630 * math/libm-test.inc (catan_test): Add more tests.
8631 (catanh_test): Likewise.
8632 * sysdeps/i386/fpu/libm-test-ulps: Update.
8633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8635 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8639 2013-04-30 Joseph Myers <joseph@codesourcery.com>
8642 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8643 accurately for denominator in atan2.
8644 * math/s_catanf.c (__catanf): Likewise.
8645 * math/s_catanh.c (__catanh): Likewise.
8646 * math/s_catanhf.c (__catanhf): Likewise.
8647 * math/s_catanhl.c (__catanhl): Likewise.
8648 * math/s_catanl.c (__catanl): Likewise.
8649 * math/libm-test.inc (catan_test): Add more tests.
8650 (catanh_test): Likewise.
8651 * sysdeps/i386/fpu/libm-test-ulps: Update.
8652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8654 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8656 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8658 * benchtests/Makefile (bench): Remove slow benchmarks.
8659 * benchtests/atan-inputs: Add slow benchmark inputs.
8660 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8661 (BENCH_FUNC): Accept variant offset.
8663 * benchtests/bench-skeleton.c (main): Run benchmark for each
8665 * benchtests/cos-inputs: Add slow benchmark inputs.
8666 * benchtests/exp-inputs: Likewise.
8667 * benchtests/pow-inputs: Likewise.
8668 * benchtests/sin-inputs: Likewise.
8669 * benchtests/slowatan-inputs: Remove.
8670 * benchtests/slowatan.c: Remove.
8671 * benchtests/slowcos-inputs: Remove.
8672 * benchtests/slowcos.c: Remove.
8673 * benchtests/slowexp-inputs: Remove.
8674 * benchtests/slowexp.c: Remove.
8675 * benchtests/slowpow-inputs: Remove.
8676 * benchtests/slowpow.c: Remove.
8677 * benchtests/slowsin-inputs: Remove.
8678 * benchtests/slowsin.c: Remove.
8679 * benchtests/slowtan-inputs: Remove.
8680 * benchtests/slowtan.c: Remove.
8681 * benchtests/tan-inputs: Add slow benchmark inputs.
8682 * scripts/bench.pl: Parse comments and directives.
8684 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8686 ($(objpfx)bench-%.c): Remove *-ITER.
8687 * benchtests/bench-modf.c: Remove definition of ITER.
8688 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8689 (main): Loop for DURATION seconds instead of fixed number of
8691 * scripts/bench.pl: Don't expect iterations in parameters.
8693 2013-04-29 Roland McGrath <roland@hack.frob.com>
8695 * io/fchdir.c (__fchdir): Renamed from fchdir.
8696 (fchdir): Define as weak alias.
8698 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8700 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8701 (ERRNO_EDOM): Likewise.
8702 (ERRNO_ERANGE): Likewise.
8703 (noErrnoTests): New variable.
8704 (init_max_error): Set errno to 0.
8705 (test_single_errno): New function.
8706 (test_errno): Likewise.
8707 (check_float_internal): Call test_errno. Set errno to 0.
8708 (check_complex): Refer to errno tests in comment.
8709 (check_int): Call test_errno. Set errno to 0.
8710 (check_long): Likewise.
8711 (check_bool): Likewise.
8712 (check_longlong): Likewise.
8713 (cos_test): Use ERRNO_* flags for errno tests instead of
8715 (expm1_test): Likewise.
8716 (fmod_test): Likewise.
8717 (ilogb_test): Likewise.
8718 (lgamma_test): Likewise.
8719 (pow_test): Likewise.
8720 (remainder_test): Likewise.
8721 (sin_test): Likewise.
8722 (tan_test): Likewise.
8723 (yn_test): Likewise.
8724 (initialize): Set errno to 0.
8725 (main): Print number of errno tests.
8726 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8728 2013-04-29 Andreas Jaeger <aj@suse.de>
8731 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8735 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8736 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8740 * stdlib/random.c (__initstate): Return NULL if
8744 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8745 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8748 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8752 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8754 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8755 of individual tests.
8756 (casin_test): Likewise.
8757 (casinh_test): Likewise.
8759 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8762 * math/s_catan.c (__catan): Handle arguments with large real or
8763 imaginary part separately without squaring.
8764 * math/s_catanf.c (__catanf): Likewise.
8765 * math/s_catanh.c (__catanh): Likewise.
8766 * math/s_catanhf.c (__catanhf): Likewise.
8767 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8769 (__catanhl): Handle arguments with large real or imaginary part
8770 separately without squaring.
8771 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8773 (__catanl): Handle arguments with large real or imaginary part
8774 separately without squaring.
8775 * math/libm-test.inc (catan_test): Add more tests.
8776 (catanh_test): Likewise.
8777 * sysdeps/i386/fpu/libm-test-ulps: Update.
8778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8780 2013-04-27 Andreas Jaeger <aj@suse.de>
8783 * stdlib/stdlib.h: Update guards for qecvt.
8784 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8787 2013-04-27 Allan McRae <allan@archlinux.org>
8789 * sysdeps/i386/fpu/libm-test-ulps: Update.
8791 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8794 * math/s_catan.c: Include <float.h>.
8795 (__catan): Ensure underflow exception occurs for underflowed
8797 * math/s_catanf.c: Include <float.h>.
8798 (__catanf): Ensure underflow exception occurs for underflowed
8800 * math/s_catanh.c: Include <float.h>.
8801 (__catanh): Ensure underflow exception occurs for underflowed
8803 * math/s_catanhf.c: Include <float.h>.
8804 (__catanhf): Ensure underflow exception occurs for underflowed
8806 * math/s_catanhl.c: Include <float.h>.
8807 (__catanhl): Ensure underflow exception occurs for underflowed
8809 * math/s_catanl.c: Include <float.h>.
8810 (__catanl): Ensure underflow exception occurs for underflowed
8812 * math/libm-test.inc (catan_test): Add more tests.
8813 (catanh_test): Likewise.
8816 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8818 * math/s_ccoshf.c (__ccoshf): Likewise.
8819 * math/s_ccoshl.c (__ccoshl): Likewise.
8820 * math/s_csin.c (__csin): Likewise.
8821 * math/s_csinf.c (__csinf): Likewise.
8822 * math/s_csinh.c (__csinh): Likewise.
8823 * math/s_csinhf.c (__csinhf): Likewise.
8824 * math/s_csinhl.c (__csinhl): Likewise.
8825 * math/s_csinl.c (__csinl): Likewise.
8826 * math/libm-test.inc (ccos_test): Add more tests.
8827 (ccosh_test): Likewise.
8828 (csin_test): Likewise.
8829 (csinh_test): Likewise.
8831 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8833 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8834 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8835 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8836 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8837 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8838 powerpc/power5+/fpu folders.
8839 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8842 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8846 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8848 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8849 additions to variable.
8850 [$(config-machine) = x86_64] (modules-names): Likewise.
8851 ($(objpfx)tst-audit3): Remove dependency.
8852 ($(objpfx)tst-audit3.out): Likewise.
8853 ($(objpfx)tst-audit4): Likewise.
8854 ($(objpfx)tst-audit4.out): Likewise.
8855 ($(objpfx)tst-audit5): Likewise.
8856 ($(objpfx)tst-audit5.out): Likewise.
8857 ($(objpfx)tst-audit6): Likewise.
8858 ($(objpfx)tst-audit6.out): Likewise.
8859 ($(objpfx)tst-audit7): Likewise.
8860 ($(objpfx)tst-audit7.out): Likewise.
8861 (tst-audit3-ENV): Remove variable.
8862 (tst-audit4-ENV): Likewise.
8863 (tst-audit5-ENV): Likewise.
8864 (tst-audit6-ENV): Likewise.
8865 (tst-audit7-ENV): Likewise.
8866 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8867 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8868 addition to variable.
8869 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8870 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8871 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8872 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8873 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8874 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8875 tst-audit3, tst-audit4 and tst-audit5.
8876 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8877 tst-audit6 and tst-audit7.
8878 [$(subdir) = elf] (modules-names): Add audit modules for those
8880 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8881 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8882 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8883 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8884 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8885 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8886 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8887 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8888 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8889 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8890 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8891 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8892 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8893 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8894 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8895 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8897 [$(subdir) = elf && $(config-cflags-avx) = yes]
8898 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8899 [$(subdir) = elf && $(config-cflags-avx) = yes]
8900 (CFLAGS-tst-auditmod4a.c): Likewise.
8901 [$(subdir) = elf && $(config-cflags-avx) = yes]
8902 (CFLAGS-tst-auditmod4b.c): Likewise.
8903 [$(subdir) = elf && $(config-cflags-avx) = yes]
8904 (CFLAGS-tst-auditmod6b.c): Likewise.
8905 [$(subdir) = elf && $(config-cflags-avx) = yes]
8906 (CFLAGS-tst-auditmod6c.c): Likewise.
8907 [$(subdir) = elf && $(config-cflags-avx) = yes]
8908 (CFLAGS-tst-auditmod7b.c): Likewise.
8909 * elf/tst-audit3.c: Move to ...
8910 * sysdeps/x86_64/tst-audit3.c: ... here.
8911 * elf/tst-audit4.c: Move to ...
8912 * sysdeps/x86_64/tst-audit4.c: ... here.
8913 * elf/tst-audit5.c: Move to ...
8914 * sysdeps/x86_64/tst-audit5.c: ... here.
8915 * elf/tst-audit6.c: Move to ...
8916 * sysdeps/x86_64/tst-audit6.c: ... here.
8917 * elf/tst-audit7.c: Move to ...
8918 * sysdeps/x86_64/tst-audit7.c: ... here.
8919 * elf/tst-auditmod3a.c: Move to ...
8920 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8921 * elf/tst-auditmod3b.c: Move to ...
8922 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8923 * elf/tst-auditmod4a.c: Move to ...
8924 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8925 * elf/tst-auditmod4b.c: Move to ...
8926 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8927 * elf/tst-auditmod5a.c: Move to ...
8928 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8929 * elf/tst-auditmod5b.c: Move to ...
8930 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8931 * elf/tst-auditmod6a.c: Move to ...
8932 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8933 * elf/tst-auditmod6b.c: Move to ...
8934 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8935 * elf/tst-auditmod6c.c: Move to ...
8936 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8937 * elf/tst-auditmod7a.c: Move to ...
8938 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8939 * elf/tst-auditmod7b.c: Move to ...
8940 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8942 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8945 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8946 define unconditionally.
8947 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8948 define unconditionally.
8949 (INT8_C, INT16_C, etc.): Likewise.
8951 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8953 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8954 __ehdr_start with hidden visibility.
8956 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8958 2013-04-24 Carlos O'Donell <carlos@redhat.com>
8960 * math/libm-test.inc (cos_test): Use accurate hex constants.
8961 (sincost_test): Likewise.
8963 2013-04-24 Joseph Myers <joseph@codesourcery.com>
8965 * math/libm-test.inc (catan_test): Add more tests.
8966 (catanh_test): Likewise.
8968 * math/s_catanf.c (__catanf): Use suffixed floating-point
8970 * math/s_catanhf.c (__catanhf): Likewise.
8971 * math/s_catanhl.c (__catanhl): Likewise.
8972 * math/s_catanl.c (__catanl): Likewise.
8975 * math/s_catan.c (__catan): Calculate imaginary part of result
8976 with log1p not log unless computing log of number close to 0.
8977 * math/s_catanf.c (__catanf): Likewise.
8978 * math/s_catanl.c (__catanl): Likewise.
8979 * math/s_catanh.c (__catanh): Calculate real part of result with
8980 log1p not log unless computing log of number close to 0.
8981 * math/s_catanhf.c (__catanhf): Likewise.
8982 * math/s_catanhl.c (__catanhl): Likewise.
8983 * math/libm-test.inc (catan_test): Add more tests.
8984 (catanh_test): Likewise.
8985 * sysdeps/i386/fpu/libm-test-ulps: Update.
8986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8990 * benchtests/Makefile: Mention files in which fast and slow
8991 paths of math functions are implemented.
8993 2013-04-23 Roland McGrath <roland@hack.frob.com>
8995 * sysdeps/posix/timespec_get.c: New file.
8997 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8999 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9001 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9003 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9004 powerpc/power5/fpu folders.
9005 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9006 * benchtests/Makefile: Add modf testcase.
9007 * benchtests/bench-modf.c: New file: Benchmark test for mo
9009 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9012 * time/Makefile (tests): Add tst-strptime-whitespace.
9013 * time/strptime_l.c (get_number): Use ISSPACE.
9014 (__strptime_internal): Likewise.
9015 * time/tst-strptime-whitespace.c: New test case.
9017 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9019 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9021 (_nss_files_init): Set it here.
9023 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9025 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9026 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9029 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9031 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9033 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9035 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9038 2013-04-21 David S. Miller <davem@davemloft.net>
9040 * po/ru.po: Update Russion translation from translation project.
9042 2013-04-17 Adam Conrad <adconrad@0c3.net>
9044 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9047 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9049 * configure.in: Remove i386 configure warning. Remove i386 case.
9050 * configure: Regenerate.
9051 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9052 Add example to error message.
9053 * sysdeps/i386/configure: Regenerate.
9055 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9057 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9059 * benchtests/cos-inputs: New file.
9060 * benchtests/slowcos-inputs: New file.
9061 * benchtests/slowcos.c: New file.
9062 * benchtests/slowtan-inputs: New file.
9063 * benchtests/slowtan.c: New file.
9064 * benchtests/tan-inputs: New file.
9066 2013-04-16 Roland McGrath <roland@hack.frob.com>
9068 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9071 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9073 * benchtests/Makefile: Include cppflags-iterator.mk to add
9074 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9076 * Makefile.in (bench-clean): New target.
9077 * benchtests/Makefile (bench-clean): Likewise.
9079 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9081 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9083 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9085 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9087 2013-04-15 Andreas Schwab <schwab@suse.de>
9089 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9091 * nscd/pwdcache.c (cache_addpw): Likewise.
9092 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9095 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9097 * benchtests/Makefile (bench): Write all output to
9098 bench-out.tmp together.
9100 2013-04-15 Andreas Schwab <schwab@suse.de>
9102 * nscd/nscd.c (main): Don't fork again after closing files.
9104 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9106 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9108 * benchtests/Rules (bench-deps): Collect dependencies into a
9109 single variable. Add Makefile to dependencies.
9110 ($(objpfx)bench-%.c): Depend on bench-deps.
9112 2013-04-12 Roland McGrath <roland@hack.frob.com>
9113 Xavier Roche <roche+kml2@exalead.com>
9116 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9117 just that it's a file descriptor.
9118 * manual/llio.texi (Synchronizing AIO Operations): Update description
9119 for EBADF error from aio_fsync.
9121 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9123 * Rules (bench): Move target definition...
9124 * benchtests/Makefile: ... here.
9126 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9128 * math/libm-test.inc (cos_test): Fix PI/2 test.
9129 (sincos_test): Likewise.
9130 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9131 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9133 2013-04-11 Andreas Schwab <schwab@suse.de>
9136 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9137 accept exponent character only when digits were seen.
9138 * stdio-common/Makefile (tests): Add bug26.
9139 * stdio-common/bug26.c: New file.
9142 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9145 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9147 * Makeconfig (rtld-prefix): Define built linker prefix.
9148 * Rules (run-bench): Use it.
9149 * math/Makefile (run-regen-ulps): Likewise.
9151 * Rules (bench): Remove eval.
9153 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9154 Roland McGrath <roland@hack.frob.com>
9155 Ondrej Bilka <neleai@seznam.cz>
9158 * time/getdate.c: Include ctype.h and alloca.h.
9159 (__getdate_r): Trim leading and trailing spaces of input.
9160 * time/tst-getdate.c (tests): Add tests with leading and
9163 2013-04-08 Roland McGrath <roland@hack.frob.com>
9166 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9167 when computing value.
9169 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9171 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9172 Use testrun.sh to run libm tests.
9175 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9177 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9180 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9182 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9184 * Makefile.in (regen-ulps): New target.
9185 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9186 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9187 [ifneq (no,$(PERL)] (regen-ulps): New target.
9188 [ifeq (no,$(PERL)] (regen-ulps): New target.
9189 * math/libm-test.inc (ulps_file_name): Define.
9190 (output_dir): New variable.
9191 (options): Add "output-dir" option.
9192 (parse_opt): Handle 'o' case.
9193 (main): If output_dir is non-NULL use it as a prefix
9195 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9197 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9200 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9201 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9202 fail configure if __sync_val_compare_and_swap is not inlined.
9203 * sysdeps/i386/configure: Regenerate.
9204 * configure.in: Build for i686 when configured for i386.
9205 * configure: Regenerate.
9206 * README: Remove i386 reference.
9208 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9210 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9211 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9213 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9215 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9216 (lmsnanval): New variables.
9217 (F): Add conversion tests.
9218 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9219 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9221 * stdio-common/tstdiomisc.c (F): Properly collect individual
9225 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9226 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9227 Instead, use input NaN values or generate a qNaN by arithmetic
9228 operation. Also fix bugs to comply with the standard.
9229 * math/libm-test.inc (remainder_test): Add more tests.
9232 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9234 input NaN values or generate a qNaN by arithmetic operation.
9236 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9239 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9242 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9245 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9247 * math/s_cexpf.c (__cexpf): Likewise.
9248 * math/s_cexpl.c (__cexpl): Likewise.
9249 * math/libm-test.inc (cexp_test): Add more tests.
9251 2013-04-03 Andreas Schwab <schwab@suse.de>
9254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9255 order arrays from heap if bigger than alloca cutoff.
9257 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9259 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9260 (SNAN_TESTS_double): Refer to GCC PR56831.
9261 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9264 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9266 * Rules (bench): Move bench.out after the run is complete.
9268 * Rules (bench): Echo currently running benchmark.
9270 * benchtests/Makefile (bench): Add atan and slowatan.
9271 * benchtests/atan-inputs: New file.
9272 * benchtests/slowatan-inputs: New file.
9273 * benchtests/slowatan.c: New file.
9275 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9280 * sysdeps/unix/sysv/linux/kernel-features.h
9281 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9282 __ASSUME_XFS_RESTRICTED_CHOWN.
9283 * sysdeps/unix/sysv/linux/pathconf.c
9284 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9285 Save and restore errno.
9287 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9290 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9291 arguments using __kernel_casinh.
9292 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9293 arguments using __kernel_casinhf.
9294 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9295 arguments using __kernel_casinhl.
9296 * math/libm-test.inc (cacosh_test): Add more tests.
9297 * sysdeps/i386/fpu/libm-test-ulps: Update.
9298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9300 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9302 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9305 * bench/Makefile (bench): Add sin and slowsin.
9306 * benchtests/sin-inputs: New file.
9307 * benchtests/slowsin-inputs: New file.
9308 * benchtests/slowsin.c: New file.
9310 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9311 (bench): Add slowexp and slowpow.
9312 (exp-ITER): Increase iterations.
9313 (pow-ITER): Likewise.
9314 * benchtests/exp-inputs: Change input.
9315 * benchtests/pow-inputs: Likewise.
9316 * benchtests/slowexp-inputs: New file.
9317 * benchtests/slowexp.c: New file.
9318 * benchtests/slowpow-inputs: New file.
9319 * benchtests/slowpow.c: New file.
9321 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9323 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9325 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9326 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9327 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9328 * benchtests/Makefile: Add rint benchtest.
9329 * benchtests/rint-inputs: Input for rint benchtest.
9331 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9333 * Versions.def (libm): Add GLIBC_2.18.
9334 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9335 hidden libm prototypes.
9336 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9337 * math/Makefile (libm-calls): Add s_issignaling.
9338 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9339 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9340 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9342 * math/math.h [__USE_GNU] (issignaling): New macro.
9343 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9344 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9346 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9349 * manual/arith.texi (issignaling): New section.
9350 * manual/libm-err-tab.pl (@all_functions): Update comment.
9351 * math/gen-libm-test.pl (parse_args): Apply special handling for
9353 * math/libm-test.inc (print_float, issignaling_test): New
9355 (check_float_internal): Add issignaling checks.
9356 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9358 * sysdeps/powerpc/math-tests.h: New file.
9359 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9361 * math/test-snan.c (TEST_FUNC): Likewise.
9363 2013-03-30 David S. Miller <davem@davemloft.net>
9365 * po/de.po: Update from translation team.
9367 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9371 imaginary part less than 1.0 and real part less than 0.5
9373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9375 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9376 (cacos_test): Add more tests.
9377 (casin_test): Likewise.
9378 (casinh_test): Likewise.
9379 * sysdeps/i386/fpu/libm-test-ulps: Update.
9380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9382 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9384 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9387 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9388 (__pow_mp): Replace ONE and MONE with their values.
9389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9390 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9391 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9392 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9393 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9394 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9396 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9398 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9399 (__pow_mp): Replace ZERO and MZERO with their values.
9400 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9402 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9404 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9405 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9408 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9410 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9412 2013-03-28 Roland McGrath <roland@hack.frob.com>
9414 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9415 Declare with __attribute__ ((weak)).
9416 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9417 Call __call_tls_dtors only if it's not NULL.
9419 2013-03-28 Roland McGrath <roland@hack.frob.com>
9421 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9422 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9423 magic __ehdr_start linker symbol if it's defined.
9424 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9425 them up here if it was already done.
9427 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9428 (_dl_aux_init): Use const in cast when setting it.
9429 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9430 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9431 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9433 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9435 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9436 * csu/libc-tls.c: Nor here.
9437 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9439 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9440 (__libc_message): Never call vsyslog.
9442 2013-03-28 Alan Modra <amodra@gmail.com>
9444 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9446 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9449 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9452 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9456 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9459 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9460 Don't add gid passed as argument.
9462 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9464 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9467 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9468 imaginary part between 1.0 and 1.5 and real part less than 0.5
9470 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9471 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9472 * math/libm-test.inc (cacos_test): Add more tests.
9473 (casin_test): Likewise.
9474 (casinh_test): Likewise.
9475 * sysdeps/i386/fpu/libm-test-ulps: Update.
9476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9478 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9480 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9484 (__dbl_mp): Likewise.
9485 (add_magnitudes): Likewise.
9486 (sub_magnitudes): Likewise.
9494 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9496 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9497 (__dubcos): Likewise.
9498 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9499 (__ieee754_acos): Likewise.
9500 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9501 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9503 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9506 (my_log2): Likewise.
9507 (checkint): Likewise.
9508 * sysdeps/ieee754/dbl-64/e_remainder.c
9509 (__ieee754_remainder): Likewise.
9510 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9513 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9515 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9516 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9517 MANTISSA_STORE_T to store computations on mantissa. Use
9518 macros for rounding and division.
9520 (__dbl_mp): Likewise.
9521 (add_magnitudes): Likewise.
9522 (sub_magnitudes): Likewise.
9525 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9526 powers of two in terms of TWOPOW macro.
9527 (mp_no): Make type of mantissa as MANTISSA_T.
9528 [!RADIXI]: Define RADIXI.
9529 [!TWO52]: Define TWO52.
9530 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9532 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9534 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9535 llroundl symbol when building for PPC32.
9537 2013-03-24 Mark H Weaver <mhw@netris.org>
9539 * manual/arith.texi (Normalization Functions): Fix prototypes for
9540 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9542 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9546 high value to check if expl overflow.
9547 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9548 to check for underflow and overflow.
9549 * math/libm-test.inc: Add exp test.
9551 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9554 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9557 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9559 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9562 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9564 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9565 wrap blocks consisting of several statements.
9567 * sysdeps/generic/math-tests.h: New file.
9568 * sysdeps/i386/fpu/math-tests.h: Likewise.
9569 * math/test-snan.c: Include it.
9570 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9572 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9575 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9576 (__ieee754_j0l): Do not improve calculations using cos of twice
9577 input for inputs above LDBL_MAX / 2.0L.
9578 (__ieee754_y0l): Likewise.
9579 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9580 (__ieee754_j1l): Do not improve calculations using cos of twice
9581 input for inputs above LDBL_MAX / 2.0L.
9582 (__ieee754_y1l): Likewise.
9583 * math/libm-test.inc (j0_test): Add another test.
9584 (j1_test): Likewise.
9585 (y0_test): Likewise.
9586 (y1_test): Likewise.
9587 * sysdeps/i386/fpu/libm-test-ulps: Update.
9589 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9591 * Rules ($(objpfx)bench-%.c): Include code from a C source
9594 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9597 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9598 imaginary part 1.0 and real part less than 0.5 specially.
9599 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9600 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9601 * math/libm-test.inc (cacos_test): Add more tests.
9602 (casin_test): Likewise.
9603 (casinh_test): Likewise.
9604 * sysdeps/i386/fpu/libm-test-ulps: Update.
9605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9607 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9609 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9610 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9612 2013-03-20 Joseph Myers <joseph@codesourcery.com>
9614 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9615 * config.make.in (config-cflags-sse4): Remove variable.
9616 (config-cflags-avx): Likewise.
9617 (config-cflags-sse2avx): Likewise.
9618 (config-cflags-novzeroupper): Likewise.
9619 (config-asflags-i686): Likewise.
9620 (have-mfma4): Likewise.
9621 (have-as-vis3): Likewise.
9623 * configure.in (MIG): Do not AC_SUBST.
9624 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9625 (libc_cv_cc_sse4): Do not AC_SUBST.
9626 (libc_cv_cc_avx): Likewise.
9627 (libc_cv_cc_sse2avx): Likewise.
9628 (libc_cv_cc_novzeroupper): Likewise.
9629 (libc_cv_cc_fma4): Likewise.
9630 (libc_cv_as_i686): Likewise.
9631 (libc_cv_sparc_as_vis3): Likewise.
9632 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9634 (config-asflags-i686): Likewise.
9635 (config-cflags-avx): Likewise.
9636 (config-cflags-sse2avx): Likewise.
9637 (have-mfma4): Likewise.
9638 (config-cflags-novzeroupper): Likewise.
9639 * sysdeps/mach/configure.in (MIG): Likewise.
9640 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9641 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9643 (config-cflags-avx): Likewise.
9644 (config-cflags-sse2avx): Likewise.
9645 (have-mfma4): Likewise.
9646 (config-cflags-novzeroupper): Likewise.
9647 * configure: Regenerated.
9648 * sysdeps/i386/configure: Likewise.
9649 * sysdeps/mach/configure: Likewise.
9650 * sysdeps/sparc/configure: Likewise.
9651 * sysdeps/x86_64/configure: Likewise.
9653 2013-03-20 Roland McGrath <roland@hack.frob.com>
9656 * locale/programs/localedef.c (options): Put N_ translation marker
9657 on argument names, not just descriptions.
9659 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9661 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9663 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
9666 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9668 2013-03-19 Roland McGrath <roland@hack.frob.com>
9670 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9671 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9672 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9673 [!BEFORE_ABORT] (before_abort): New function.
9674 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9675 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9676 (writev_for_fatal): New function.
9677 (WRITEV_FOR_FATAL): New macro; call that.
9678 (backtrace_and_maps): New function.
9679 (BEFORE_ABORT): New macro; call that.
9680 (struct str_list): Type removed.
9681 (__libc_message, __libc_fatal): Functions removed.
9682 Include <sysdeps/posix/libc_fatal.c> instead.
9684 2013-03-19 Joseph Myers <joseph@codesourcery.com>
9686 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9688 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9691 2013-03-19 Andreas Schwab <schwab@suse.de>
9693 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9694 * sysdeps/gnu/configure: Regenerate.
9696 * configure.in: Substitute libc_cv_rtlddir.
9697 * configure: Regenerate.
9698 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9699 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9700 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9701 * elf/Makefile (install-others, CFLAGS-interp.c)
9702 (ldso_install, common-ldd-rewrite): Likewise.
9703 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9704 $(inst_slibdir)/$(rtld-installed-name).
9705 * scripts/rellns-sh: Add -p option.
9706 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9709 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9711 * manual/nptl.texi: Renamed to ...
9712 * manual/threads.texi: ... this.
9713 * manual/Makefile (chapters): Update.
9715 2013-03-18 Roland McGrath <roland@hack.frob.com>
9718 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9719 on argument names, not just descriptions.
9720 * malloc/memusagestat.c (options): Likewise.
9721 * nss/getent.c (options): Likewise.
9723 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9726 * iconv/iconv_prog.c (options): Put N_ translation marker
9727 on argument names, not just descriptions.
9728 * iconv/iconvconfig.c (options): Likewise.
9730 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9732 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9733 implementation which is faster on all x86_64 architectures.
9734 Tested on AMD, Intel Nehalem, SNB, IVB.
9735 * sysdeps/x86_64/strnlen.S: Likewise.
9737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9738 Remove all multiarch strlen and strnlen versions.
9739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9740 Remove strlen and strnlen related parts.
9742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9746 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9747 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9748 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9749 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9750 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9751 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9753 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9755 * manual/memory.texi (Malloc Tunable Parameters):
9756 Sort parameters alphabetically. Add comments for missing entries.
9758 2013-03-17 David S. Miller <davem@davemloft.net>
9760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9762 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9765 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9766 for arguments at most half maximum finite value.
9767 * math/libm-test.inc (j0_test): Add more tests.
9768 (j1_test): Likewise.
9769 (y0_test): Likewise.
9770 (y1_test): Likewise.
9771 * sysdeps/i386/fpu/libm-test-ulps: Update.
9772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9775 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9776 1 / x and functions P and Q for arguments above 0x1p256L.
9777 (__ieee754_y0l): Likewise.
9778 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9779 (__ieee754_y1l): Likewise.
9780 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9781 (j1_test): Likewise.
9782 (y0_test): Likewise.
9783 (y1_test): Likewise.
9785 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9787 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9790 2013-03-15 Roland McGrath <roland@hack.frob.com>
9792 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9793 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9794 zero since it's initialized to EXEC_PAGESIZE.
9796 * sysdeps/unix/sysv/linux/ldsodefs.h
9797 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9798 * sysdeps/generic/ldsodefs.h: ... here.
9800 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9802 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9804 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9806 * math/test-snan.c: Renamed from
9807 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9808 * math/Makefile (tests): Add test-snan.
9809 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9812 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9813 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9815 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9816 __builtin_nan family of functions.
9817 * math/libm-test.inc (initialize): Initialize qnan_value with
9818 __builtin_nan family of functions.
9819 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9821 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9823 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9824 storage class. Initialize qNaN_var and sNaN_var with
9825 __builtin_nan and __builtin_nans families of functions,
9828 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9829 (sqrt_test): Remove duplicate test with qNaN input.
9830 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9831 (round_test, signbit_test, significand_test): Note missing +/-Inf
9832 as well as qNaN tests.
9834 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9835 qNaN_var. Fix a few strings, too.
9836 * math/libm-test.inc (nan_value): Rename to qnan_value.
9837 * math/gen-libm-test.pl (%beautify): Adjust to that.
9838 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9839 * math/test-misc.c (main): Likewise.
9840 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9841 to __qnan_bytes, and __qnan_union, respectively.
9842 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9844 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9845 and lqnanval, respectively.
9846 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9847 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9848 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9849 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9851 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9852 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9855 * math/test-misc.c (main): Fix copy'n'pastos.
9856 * misc/tst-efgcvt.c (special): Likewise.
9858 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9859 Remove declarations.
9861 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9863 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9864 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9865 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9866 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9868 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9870 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9871 macro to return vdso values correctly in IFUNC implementations.
9872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9873 Optimization by using IFUNC.
9875 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9876 Richard Henderson <rth@redhat.com>
9877 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9879 * Makefile.in (bench): New target.
9880 * NEWS: Mention the benchmark framework.
9881 * Rules (bench): Likewise.
9882 (binaries-bench): Generate binaries for functions to
9884 * benchtests/Makefile: New makefile for benchmark tests.
9885 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9887 * benchtests/exp-inputs: New input file for EXP function.
9888 * benchtests/pow-inputs: New input file for POW function.
9889 * scripts/bench.pl: New script to generate source files for
9892 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9894 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9896 computations on mantissa. Use macros for rounding and
9899 (__dbl_mp): Likewise.
9900 (add_magnitudes): Likewise.
9901 (sub_magnitudes): Likewise.
9904 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9905 powers of two in terms of TWOPOW macro.
9906 (mp_no): Make type of mantissa as MANTISSA_T.
9907 [!RADIXI]: Define RADIXI.
9908 [!TWO52]: Define TWO52.
9909 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9911 * manual/nptl.texi (cindex): Modify threads to pthreads.
9913 2013-03-15 Joseph Myers <joseph@codesourcery.com>
9915 * sysdeps/x86_64/preconfigure: Regenerated.
9917 2013-03-14 Joseph Myers <joseph@codesourcery.com>
9920 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9922 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9923 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9925 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9926 * math/libm-test.inc (j0_test): Do not allow one spurious
9927 underflow exception.
9928 (y1_test): Likewise.
9930 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9932 * manual/Makefile (chapters): Add nptl.
9933 * manual/debug.texi (Debugging Support): Add link to Threads
9935 * manual/nptl.texi: New file.
9937 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9939 2013-03-14 Petr Baudis <pasky@ucw.cz>
9941 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9942 for non-NULL pointer before the memory validity test. Pointed
9943 out by Holger Brunck <holger.brunck@keymile.com>.
9945 2013-03-13 Andreas Schwab <schwab@suse.de>
9947 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9950 2013-03-13 Joseph Myers <joseph@codesourcery.com>
9952 * timezone/zic.c: Update from tzcode 2013b.
9954 2013-03-12 Carlos O'Donell <carlos@redhat.com>
9956 * manual/install.texi (Configuring and compiling):
9957 Mention i686 and i586.
9958 * INSTALL: Regenerate.
9960 2013-03-12 Roland McGrath <roland@hack.frob.com>
9962 * sysdeps/init_array/elf-init.c: New file.
9964 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9965 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9967 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9968 __gmon_start__ as global, but as static with a .preinit_array pointer.
9969 * sysdeps/init_array/gmon-start.c: New file. Use that.
9970 * sysdeps/init_array/crti.S: New file, empty except for comments.
9971 * sysdeps/init_array/crtn.S: Likewise.
9973 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
9975 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9978 Remove Prefer_SSE_for_memop.
9979 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9980 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9981 HAS_PREFER_SSE_FOR_MEMOP.
9982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9985 Remove bzero, memset ifunc support.
9986 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9987 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9988 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9991 2013-03-11 Andreas Schwab <schwab@suse.de>
9994 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9997 (GLIBC_2.16): Remove pthread_atfork.
9999 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10001 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10002 (ptestcases.h): Likewise.
10004 2013-03-08 Roland McGrath <roland@hack.frob.com>
10006 * Makeconfig ($(common-objpfx)config.status): Depend on
10007 sysdeps/*/preconfigure{,.in} too.
10009 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10011 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10012 (__free_hook): Use void * instead of __malloc_ptr_t.
10013 (__malloc_hook): Likewise.
10014 (__realloc_hook): Likewise.
10015 (__memalign_hook): Likewise.
10016 (__after_morecore_hook): Likewise.
10017 * malloc/arena.c (save_malloc_hook): Likewise.
10018 (save_free_hook): Likewise.
10019 * malloc/hooks.c (malloc_hook_ini): Likewise.
10020 (realloc_hook_ini): Likewise.
10021 (memalign_hook_ini): Likewise.
10022 * malloc/malloc.c (malloc_hook_ini): Likewise.
10023 (realloc_hook_ini): Likewise.
10024 (memalign_hook_ini): Likewise.
10025 (__free_hook): Likewise.
10026 (__malloc_hook): Likewise.
10027 (__realloc_hook): Likewise.
10028 (__memalign_hook): Likewise.
10029 (__libc_malloc): Likewise.
10030 (__libc_free): Likewise.
10031 (__libc_realloc): Likewise.
10032 (__libc_memalign): Likewise.
10033 (__libc_valloc): Likewise.
10034 (__libc_pvalloc): Likewise.
10035 (__libc_calloc): Likewise.
10036 (__posix_memalign): Likewise.
10037 * malloc/morecore.c (__sbrk): Likewise.
10038 (__default_morecore): Likewise.
10040 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10042 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10043 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10044 __malloc_ptrdiff_t.
10046 * malloc/malloc.h (__malloc_size_t): Remove macro.
10047 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10049 (old_memalign_hook): Likewise.
10050 (old_realloc_hook): Likewise.
10051 (struct hdr): Likewise.
10053 (mallochook): Likewise.
10054 (memalignhook): Likewise.
10055 (reallochook): Likewise.
10056 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10057 (tr_old_realloc_hook): Likewise.
10058 (tr_old_memalign_hook): Likewise.
10059 (tr_mallochook): Likewise.
10060 (tr_reallochook): Likewise.
10061 (tr_memalignhook): Likewise.
10063 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10065 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10066 default_ldbl_pack and using as default implementation.
10067 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10069 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10070 redundant definition.
10071 (ldbl_insert_mantissa): Likewise.
10072 (ldbl_canonicalize): Likewise.
10073 (ldbl_nearbyint): Likewise.
10074 (ldbl_pack): Rename to ldbl_pack_ppc.
10075 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10076 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10077 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10079 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10082 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10083 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10084 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10086 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10087 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10088 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10090 2013-03-07 Andreas Jaeger <aj@suse.de>
10092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10095 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10097 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10098 Include mpa.h and declare __MPEXP.
10099 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10100 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10101 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10102 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10103 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10104 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10105 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10107 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10108 (__slowpow): Use long double EXPL and LOGL functions to
10110 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10111 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10113 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10114 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10118 intermediate variable to calculate exponent.
10120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10124 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10125 [!NO__SQR]: Define __sqr.
10126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10127 and NO__SQR. Remove all code except __mul and __sqr. Include
10128 sysdeps/ieee754/dbl-64/mpa.c.
10129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10132 * posix/Makefile (tests): Add tst-pathconf.
10133 * posix/tst-pathconf.c: New test case.
10134 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10136 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10138 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10140 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10142 2013-03-06 Andreas Jaeger <aj@suse.de>
10144 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10145 definition via __MAP_ANONYMOUS.
10147 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10148 it's not part of Linux headers.
10150 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10151 (MAP_HUGE_MASK): Define.
10153 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10155 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10156 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10158 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10159 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10161 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10162 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10164 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10166 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10167 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10168 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10169 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10170 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10171 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10173 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10176 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10177 Handle f2fs and efivarfs.
10179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10182 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10183 (EFIVARFS_MAGIC): Add.
10184 (F2FS_LINK_MAX): Add.
10186 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10188 * stdio-common/vfprintf.c: Replace __builtin_expect with
10191 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10194 * sysdeps/generic/bp-sym.h: Remove file.
10195 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10196 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10197 <bp-sym.h> and <bp-asm.h>.
10198 (__longjmp): Don't use BP_SYM.
10199 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10201 (memcpy): Don't use BP_SYM.
10202 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10203 <bp-sym.h> and <bp-asm.h>.
10204 (memcpy): Don't use BP_SYM.
10205 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10207 (memcpy): Don't use BP_SYM.
10208 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10210 (memset): Don't use BP_SYM.
10211 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10212 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10213 (__bzero): Don't use BP_SYM.
10214 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10215 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10216 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10217 <bp-sym.h> and <bp-asm.h>.
10218 (memcmp): Don't use BP_SYM. Remove comment about bounded
10220 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10221 <bp-sym.h> and <bp-asm.h>.
10222 (memcpy): Don't use BP_SYM.
10223 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10224 <bp-sym.h> and <bp-asm.h>.
10225 (memset): Don't use BP_SYM.
10226 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10227 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10228 (__bzero): Don't use BP_SYM.
10229 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10230 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10231 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10232 <bp-sym.h> and <bp-asm.h>.
10233 (strncmp): Don't use BP_SYM. Remove comment about bounded
10235 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10236 <bp-sym.h> and <bp-asm.h>.
10237 (memcpy): Don't use BP_SYM.
10238 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10239 <bp-sym.h> and <bp-asm.h>.
10240 (memset): Don't use BP_SYM.
10241 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10242 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10243 (__bzero): Don't use BP_SYM.
10244 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10245 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10246 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10247 <bp-sym.h> and <bp-asm.h>.
10248 (__memchr): Don't use BP_SYM.
10249 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10250 <bp-sym.h> and <bp-asm.h>.
10251 (memcmp): Don't use BP_SYM. Remove comment about bounded
10253 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10254 <bp-sym.h> and <bp-asm.h>.
10255 (memcpy): Don't use BP_SYM.
10256 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10257 <bp-sym.h> and <bp-asm.h>.
10258 (__mempcpy): Don't use BP_SYM.
10259 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10260 <bp-sym.h> and <bp-asm.h>.
10261 (__memrchr): Don't use BP_SYM.
10262 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10263 <bp-sym.h> and <bp-asm.h>.
10264 (memset): Don't use BP_SYM.
10265 (__bzero): Likewise.
10266 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10267 <bp-sym.h> and <bp-asm.h>.
10268 (__rawmemchr): Don't use BP_SYM.
10269 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10270 <bp-sym.h> and <bp-asm.h>.
10271 (__STRCMP): Don't use BP_SYM.
10272 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10273 <bp-sym.h> and <bp-asm.h>.
10274 (strchr): Don't use BP_SYM.
10275 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10276 <bp-sym.h> and <bp-asm.h>.
10277 (__strchrnul): Don't use BP_SYM.
10278 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10279 <bp-sym.h> and <bp-asm.h>.
10280 (strlen): Don't use BP_SYM.
10281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10282 <bp-sym.h> and <bp-asm.h>.
10283 (strncmp): Don't use BP_SYM. Remove comment about bounded
10285 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10286 <bp-sym.h> and <bp-asm.h>.
10287 (__strnlen): Don't use BP_SYM.
10288 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10289 <bp-sym.h> and <bp-asm.h>.
10290 (__GI__setjmp): Don't use BP_SYM.
10291 (_setjmp): Likewise.
10292 (__sigsetjmp): Likewise.
10293 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10294 (L(start_addresses)): Don't use BP_SYM.
10295 (_start): Likewise.
10296 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10298 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10299 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10300 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10301 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10302 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10304 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10305 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10306 about bounded pointers.
10307 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10308 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10309 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10311 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10312 about bounded pointers. Remove GKM FIXME comments.
10313 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10314 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10316 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10317 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10318 Remove GKM FIXME comments.
10319 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10320 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10321 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10323 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10324 about bounded pointers. Remove GKM FIXME comment.
10325 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10327 (strncmp): Don't use BP_SYM. Remove comment about bounded
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10330 <bp-sym.h> and <bp-asm.h>.
10331 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10333 <bp-sym.h> and <bp-asm.h>.
10334 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10337 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10339 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10342 2013-03-05 David S. Miller <davem@davemloft.net>
10344 * po/es.po: Update from translation team.
10346 2013-03-05 Andreas Jaeger <aj@suse.de>
10348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10349 <bits/mman-linux.h>.
10350 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10352 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10353 <bits/mman-linux.h> to end of file.
10354 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10356 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10357 <bits/mman-linux.h> to end of file.
10358 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10360 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10361 <bits/mman-linux.h> to end of file.
10363 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10364 (MCL_CURRENT, MCL_FUTURE): Define here.
10366 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10371 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10373 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10375 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10376 fourth parameter needed for rt_sigprocmask syscall.
10377 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10378 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10379 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10381 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10382 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10384 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10387 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10388 comment about bounded pointers.
10389 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10390 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10392 2013-03-04 Andreas Jaeger <aj@suse.de>
10394 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10395 common definitions.
10397 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10398 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10399 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10400 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10402 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10404 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10407 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10408 __ieee754_sqrl instead of __sqrl.
10410 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10412 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10413 * sysdeps/powerpc/fpu_control.h: ... here.
10414 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10415 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10416 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10417 * sysdeps/powerpc/bits/mathinline.h: ... here.
10419 2013-03-01 Roland McGrath <roland@hack.frob.com>
10421 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10422 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10423 to just [NEED_DL_SYSINFO_DSO].
10424 * elf/dl-support.c: Likewise.
10425 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10426 * elf/rtld.c (dl_main): Likewise.
10427 * elf/setup-vdso.h (setup_vdso): Likewise.
10428 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10429 * sysdeps/unix/sysv/linux/dl-sysdep.c
10430 (_dl_discover_osversion): Likewise.
10432 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10434 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10435 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10437 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10439 * NEWS: Mention libm performance improvements and non-x86 PI
10442 * csu/libc-start.c (__pthread_initialize_minimal): Change
10443 function arguments.
10444 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10446 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10449 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10450 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10451 <bp-sym.h> and <bp-asm.h>.
10452 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10453 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10455 (memcpy): Don't use BP_SYM.
10456 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10458 (__mpn_add_n): Don't use BP_SYM.
10459 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10460 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10462 (__mpn_addmul_1): Don't use BP_SYM.
10463 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10464 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10466 (_setjmp): Don't use BP_SYM.
10467 (__novmx_setjmp): Likewise.
10468 (__GI__setjmp): Likewise.
10469 (__vmx_setjmp): Likewise.
10470 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10472 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10473 (__bzero): Don't use BP_SYM.
10474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10476 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10477 <bp-sym.h> and <bp-asm.h>.
10478 (memcpy): Don't use BP_SYM.
10479 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10480 <bp-sym.h> and <bp-asm.h>.
10481 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10483 <bp-sym.h> and <bp-asm.h>.
10484 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10485 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10487 (__mpn_lshift): Don't use BP_SYM.
10488 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10489 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10491 (memset): Don't use BP_SYM.
10492 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10493 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10494 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10496 (__mpn_mul_1): Don't use BP_SYM.
10497 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10499 <bp-sym.h> and <bp-asm.h>.
10500 (memcmp): Don't use BP_SYM.
10501 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10502 <bp-sym.h> and <bp-asm.h>.
10503 (memcpy): Don't use BP_SYM.
10504 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10505 <bp-sym.h> and <bp-asm.h>.
10506 (memset): Don't use BP_SYM.
10507 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10508 <bp-sym.h> and <bp-asm.h>.
10509 (strncmp): Don't use BP_SYM.
10510 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10511 <bp-sym.h> and <bp-asm.h>.
10512 (memcpy): Don't use BP_SYM.
10513 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10514 <bp-sym.h> and <bp-asm.h>.
10515 (memset): Don't use BP_SYM.
10516 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10517 <bp-sym.h> and <bp-asm.h>.
10518 (__memchr): Don't use BP_SYM.
10519 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10520 <bp-sym.h> and <bp-asm.h>.
10521 (memcmp): Don't use BP_SYM.
10522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10523 <bp-sym.h> and <bp-asm.h>.
10524 (memcpy): Don't use BP_SYM.
10525 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10526 <bp-sym.h> and <bp-asm.h>.
10527 (__mempcpy): Don't use BP_SYM.
10528 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10529 <bp-sym.h> and <bp-asm.h>.
10530 (__memrchr): Don't use BP_SYM.
10531 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10532 <bp-sym.h> and <bp-asm.h>.
10533 (memset): Don't use BP_SYM.
10534 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10535 <bp-sym.h> and <bp-asm.h>.
10536 (__rawmemchr): Don't use BP_SYM.
10537 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10538 <bp-sym.h> and <bp-asm.h>.
10539 (__STRCMP): Don't use BP_SYM.
10540 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10541 <bp-sym.h> and <bp-asm.h>.
10542 (strchr): Don't use BP_SYM.
10543 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10544 <bp-sym.h> and <bp-asm.h>.
10545 (__strchrnul): Don't use BP_SYM.
10546 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10547 <bp-sym.h> and <bp-asm.h>.
10548 (strlen): Don't use BP_SYM.
10549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10550 <bp-sym.h> and <bp-asm.h>.
10551 (strncmp): Don't use BP_SYM.
10552 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10553 <bp-sym.h> and <bp-asm.h>.
10554 (__strnlen): Don't use BP_SYM.
10555 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10557 (__mpn_rshift): Don't use BP_SYM.
10558 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10559 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10560 <bp-sym.h> and <bp-asm.h>.
10561 (__sigsetjmp): Don't use BP_SYM.
10562 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10563 (L(start_addresses)): Don't use BP_SYM.
10564 (_start): Likewise.
10565 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10567 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10568 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10569 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10570 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10572 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10573 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10574 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10575 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10577 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10579 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10580 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10582 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10584 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10585 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10586 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10588 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10590 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10592 (strncmp): Don't use BP_SYM,
10593 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10595 (__mpn_sub_n): Don't use BP_SYM.
10596 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10597 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10599 (__mpn_submul_1): Don't use BP_SYM.
10600 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10602 <bp-sym.h> and <bp-asm.h>.
10603 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10605 <bp-sym.h> and <bp-asm.h>.
10606 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10609 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10612 Use ZK to minimize writes to Z.
10613 (sub_magnitudes): Simplify code a bit.
10614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10615 Use ZK to minimize writes to Z.
10616 (sub_magnitudes): Simplify code a bit.
10618 2013-02-27 Roland McGrath <roland@hack.frob.com>
10620 * csu/gmon-start.c: Add special exception to license text.
10622 2013-02-27 Richard Henderson <rth@redhat.com>
10624 * scripts/config.guess: Update from config.git.
10625 * scripts/config.sub: Likewise.
10627 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10629 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10631 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10633 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10635 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10637 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10639 2013-02-26 Roland McGrath <roland@hack.frob.com>
10641 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10642 [$(build-shared = yes].
10644 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10646 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10647 (__mul): Reduce iterations for calculating mantissa.
10649 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10651 (__mpranred): Likewise.
10654 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10655 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10657 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10659 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10660 Define __attribute__.
10662 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10664 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10666 * posix/regex_internal.h (__attribute): Remove.
10667 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10668 (re_string_context_at): Likewise.
10669 (bitset_not): Use __attribute__ and mark function as possibly
10671 (bitset_merge): Likewise.
10672 (bitset_mask): Likewise.
10673 (re_string_char_size_at): Likewise.
10674 (re_string_wchar_at): Likewise.
10675 (re_string_elem_size_at): Likewise.
10677 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10679 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10683 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10687 (denorm): Likewise.
10688 (__dbl_mp): Likewise.
10689 (add_magnitudes): Likewise.
10690 (sub_magnitudes): Likewise.
10694 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10697 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10700 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10704 up changes with default code.
10705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10708 2013-02-24 Allan McRae <allan@archlinux.org>
10710 * manual/socket.texi (The Internet Namespace): Order menu items
10711 to match that in the file.
10713 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10714 node listing of the info page menu.
10716 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10719 * sysdeps/i386/bp-asm.h: Remove file.
10720 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10721 (PARMS): Do not use macros from bp-asm.h.
10725 (__mpn_add_n): Do not use BP_SYM
10726 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10728 (PARMS): Do not use macros from bp-asm.h.
10731 (__mpn_addmul_1): Do not use BP_SYM
10732 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10734 (PARMS): Do not use macros from bp-asm.h.
10735 (SIGMSK): Likewise.
10736 (_setjmp): Likewise. Do not use BP_SYM.
10737 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10739 (PARMS): Do not use macros from bp-asm.h.
10740 (SIGMSK): Likewise.
10741 (setjmp): Likewise. Do not use BP_SYM.
10742 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10744 (PARMS): Do not use macros from bp-asm.h.
10745 (__frexp): Do not use BP_SYM.
10747 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10749 (PARMS): Do not use macros from bp-asm.h.
10750 (__frexpf): Do not use BP_SYM.
10751 (frexpf): Likewise.
10752 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10754 (PARMS): Do not use macros from bp-asm.h.
10755 (__frexpl): Do not use BP_SYM.
10756 (frexpl): Likewise.
10757 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10759 (PARMS): Do not use macros from bp-asm.h.
10760 (__remquo): Do not use BP_SYM.
10761 (remquo): Likewise.
10762 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10764 (PARMS): Do not use macros from bp-asm.h.
10765 (__remquof): Do not use BP_SYM.
10766 (remquof): Likewise.
10767 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10769 (PARMS): Do not use macros from bp-asm.h.
10770 (__remquol): Do not use BP_SYM.
10771 (remquol): Likewise.
10772 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10774 (PARMS): Do not use macros from bp-asm.h.
10777 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10778 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10780 (PARMS): Do not use macros from bp-asm.h.
10781 (strlen): Do not use BP_SYM.
10782 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10784 (PARMS): Do not use macros from bp-asm.h.
10788 (__mpn_add_n): Do not use BP_SYM.
10789 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10791 (PARMS): Do not use macros from bp-asm.h.
10794 (__mpn_addmul_1): Do not use BP_SYM.
10795 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10798 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10800 (PARMS): Do not use macros from bp-asm.h.
10803 (__mpn_lshift): Do not use BP_SYM.
10804 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10806 (PARMS): Do not use macros from bp-asm.h.
10810 (memcpy): Likewise. Do not use BP_SYM.
10811 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10812 libc_hidden_def and weak_alias.
10813 (mempcpy): Do not use BP_SYM in weak_alias.
10814 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10816 (PARMS): Do not use macros from bp-asm.h.
10819 [!BZERO_P] (CHR): Likewise.
10820 (memset): Likewise. Do not use BP_SYM.
10821 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10823 (PARMS): Do not use macros from bp-asm.h.
10826 (__mpn_mul_1): Do not use BP_SYM.
10827 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10829 (PARMS): Do not use macros from bp-asm.h.
10832 (__mpn_rshift): Do not use BP_SYM.
10833 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10835 (PARMS): Do not use macros from bp-asm.h.
10838 (strchr): Likewise. Do not use BP_SYM.
10839 (index): Do not use BP_SYM in weak_alias.
10840 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10842 (PARMS): Do not use macros from bp-asm.h.
10845 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10846 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10848 (PARMS): Do not use macros from bp-asm.h.
10849 (strlen): Do not use BP_SYM.
10850 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10852 (PARMS): Do not use macros from bp-asm.h.
10856 (__mpn_sub_n): Do not use BP_SYM.
10857 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10859 (PARMS): Do not use macros from bp-asm.h.
10862 (__mpn_submul_1): Do not use BP_SYM.
10863 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10865 (PARMS): Do not use macros from bp-asm.h.
10869 (__mpn_add_n): Do not use BP_SYM.
10870 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10873 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10875 (PARMS): Do not use macros from bp-asm.h.
10878 (memcmp): Do not use BP_SYM.
10879 (bcmp): Do not use BP_SYM in weak_alias.
10880 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10882 (PARMS): Do not use macros from bp-asm.h.
10886 (memcpy): Likewise. Do not use BP_SYM.
10887 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10889 (PARMS): Do not use macros from bp-asm.h.
10893 (memmove): Likewise. Do not use BP_SYM.
10894 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10896 (PARMS): Do not use macros from bp-asm.h.
10900 (__mempcpy): Likewise. Do not use BP_SYM.
10901 (mempcpy): Do not use BP_SYM in weak_alias.
10902 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10904 (PARMS): Do not use macros from bp-asm.h.
10907 [!BZERO_P] (CHR): Likewise.
10908 (memset): Likewise. Do not use BP_SYM.
10909 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10911 (PARMS): Do not use macros from bp-asm.h.
10913 (strcmp): Do not use BP_SYM.
10914 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10916 (PARMS): Do not use macros from bp-asm.h.
10919 [USE_AS_STRTOK_R] (SAVE): Likewise.
10920 (FUNCTION): Likewise. Do not use BP_SYM.
10921 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10923 (strtok_r): Likewise.
10924 (__GI___strtok_r): Likewise.
10925 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10926 (PARMS): Do not use macros from bp-asm.h.
10929 (__mpn_lshift): Do not use BP_SYM.
10930 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10931 (PARMS): Do not use macros from bp-asm.h.
10934 (__memchr): Do not use BP_SYM.
10935 (memchr): Do not use BP_SYM in weak_alias.
10936 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10937 (PARMS): Do not use macros from bp-asm.h.
10940 (memcmp): Do not use BP_SYM.
10941 (bcmp): Do not use BP_SYM in weak_alias.
10942 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10943 (PARMS): Do not use macros from bp-asm.h.
10946 (__mpn_mul_1): Do not use BP_SYM.
10947 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10949 (PARMS): Do not use macros from bp-asm.h.
10952 (__rawmemchr): Do not use BP_SYM.
10953 (rawmemchr): Do not use BP_SYM in weak_alias.
10954 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10955 (PARMS): Do not use macros from bp-asm.h.
10958 (__mpn_rshift): Do not use BP_SYM.
10959 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10960 (PARMS): Do not use macros from bp-asm.h.
10961 (SIGMSK): Likewise.
10962 (__sigsetjmp): Likewise. Do not use BP_SYM.
10963 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10964 (_start): Do not use BP_SYM.
10965 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10966 (PARMS): Do not use macros from bp-asm.h.
10969 (__stpcpy): Likewise. Do not use BP_SYM.
10970 (stpcpy): Do not use BP_SYM in weak_alias.
10971 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10973 (PARMS): Do not use macros from bp-asm.h.
10977 (__stpncpy): Likewise. Do not use BP_SYM.
10978 (stpncpy): Do not use BP_SYM in weak_alias.
10979 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10980 (PARMS): Do not use macros from bp-asm.h.
10983 (strchr): Likewise. Do not use BP_SYM.
10984 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10986 (PARMS): Do not use macros from bp-asm.h.
10989 (__strchrnul): Likewise. Do not use BP_SYM.
10990 (strchrnul): Do not use BP_SYM in weak_alias.
10991 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10993 (PARMS): Do not use macros from bp-asm.h.
10995 (strcspn): Do not use BP_SYM.
10996 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10998 (PARMS): Do not use macros from bp-asm.h.
11001 (strpbrk): Likewise. Do not use BP_SYM.
11002 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11004 (PARMS): Do not use macros from bp-asm.h.
11007 (strrchr): Likewise. Do not use BP_SYM.
11008 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11009 (PARMS): Do not use macros from bp-asm.h.
11011 (strspn): Do not use BP_SYM.
11012 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11013 (PARMS): Do not use macros from bp-asm.h.
11017 (FUNCTION): Likewise. Do not use BP_SYM.
11018 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11020 (strtok_r): Likewise.
11021 (__GI___strtok_r): Likewise.
11022 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11023 (PARMS): Do not use macros from bp-asm.h.
11027 (__mpn_sub_n): Do not use BP_SYM.
11028 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11030 (PARMS): Do not use macros from bp-asm.h.
11033 (__mpn_submul_1): Do not use BP_SYM.
11034 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11036 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11038 (PARMS): Do not use macros from bp-asm.h.
11043 (__clone): Do not use BP_SYM.
11044 (clone): Do not use BP_SYM in weak_alias.
11045 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11047 (PARMS): Do not use macros from bp-asm.h.
11049 (__mmap64): Do not use BP_SYM.
11050 (mmap64): Do not use BP_SYM in weak_alias.
11051 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11052 <bp-sym.h> and <bp-asm.h>.
11053 (PARMS): Do not use macros from bp-asm.h.
11054 (__posix_fadvise64_l64): Do not use BP_SYM.
11055 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11056 (PARMS): Do not use macros from bp-asm.h.
11058 (semtimedop): Do not use BP_SYM.
11059 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11062 2013-02-21 Allan McRae <allan@archlinux.org>
11064 * manual/message.texi (Charset conversion in gettext):
11065 Move @end statement to beginning of line.
11067 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11074 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11075 (denorm): Likewise.
11076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11079 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11081 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11082 tail-call to the resolved function if pltexit isn't needed.
11084 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11087 or Y being zero as being unlikely.
11088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11091 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11093 * manual/nss.texi (System Databases and Name Service Switch):
11094 Remove frobnicate @pxref.
11096 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11098 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11099 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11101 2013-02-20 Petr Machata <pmachata@redhat.com>
11103 * elf/elf.h (R_ARM_TARGET1): New macro.
11104 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11105 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11106 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11107 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11108 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11109 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11110 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11111 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11112 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11113 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11114 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11115 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11116 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11117 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11118 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11119 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11120 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11121 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11122 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11123 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11124 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11125 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11126 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11127 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11128 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11129 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11130 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11131 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11132 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11133 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11134 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11135 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11136 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11137 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11138 (R_ARM_THM_GOT_BREL12): Likewise.
11139 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11140 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11141 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11142 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11143 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11144 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11145 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11146 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11147 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11149 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11151 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11152 __attribute_used__ to __attribute__ ((unused)).
11154 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11156 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11159 comment formatting.
11160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11162 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11165 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11167 (ENTER): Remove both macro definitions.
11169 (CHECK_BOUNDS_LOW): Likewise.
11170 (CHECK_BOUNDS_HIGH): Likewise.
11171 (CHECK_BOUNDS_BOTH): Likewise.
11172 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11173 (RETURN_BOUNDED_POINTER): Likewise.
11174 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11175 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11176 (POP_ERRNO_LOCATION_RETURN): Likewise.
11177 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11178 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11179 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11181 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11182 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11183 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11184 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11185 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11186 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11187 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11188 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11189 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11190 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11191 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11192 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11193 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11194 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11196 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11197 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11199 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11200 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11201 * sysdeps/i386/i586/memset.S (memset): Likewise.
11202 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11203 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11204 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11206 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11207 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11208 Change uses of L(2) to L(out).
11209 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11210 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11211 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11212 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11213 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11215 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11216 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11218 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11219 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11220 (RETURN): Do not use macro LEAVE.
11221 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11222 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11223 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11224 * sysdeps/i386/i686/memset.S (memset): Likewise.
11225 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11226 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11227 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11228 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11230 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11231 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11232 L(1_2) and L(1_3) into L(1).
11233 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11234 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11235 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11236 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11237 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11238 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11239 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11240 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11241 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11243 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11244 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11245 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11246 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11247 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11248 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11249 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11250 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11251 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11252 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11253 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11254 * sysdeps/i386/strspn.S (strspn): Likewise.
11255 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11257 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11258 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11259 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11260 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11261 L(1_3) into L(1_1).
11262 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11263 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11264 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11266 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11268 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11270 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11273 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11275 * math/atest-exp.c (exp_mpn): Remove ROUND.
11276 * math/atest-exp2.c (exp_mpn): Likewise.
11277 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11279 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11280 * stdlib/tst-tls-atexit-lib.c: Likewise.
11281 * stdlib/tst-tls-atexit.c: Likewise.
11283 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11285 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11286 and __attribute_alloc_size__.
11288 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11290 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11291 __attribute_alloc_size__.
11292 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11293 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11295 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11297 * include/programs/xmalloc.h: New file.
11298 * catgets/gencat.c: Include it.
11299 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11300 * elf/pldd.c: Likewise.
11301 * iconv/iconv_charmap.c: Likewise.
11302 * iconv/iconvconfig.c: Likewise.
11303 * iconv/strtab.c: Likewise.
11304 * locale/programs/locale.c: Likewise.
11305 * locale/programs/localedef.h: Likewise.
11306 * locale/programs/simple-hash.c: Likewise.
11307 * nscd/nscd.h: Likewise.
11308 * nss/makedb.c: Likewise.
11309 * sysdeps/generic/ldconfig.h: Likewise.
11311 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11313 * Versions.def: Add GLIBC_2.18.
11314 * include/link.h (struct link_map): New member l_tls_dtor_count.
11315 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11316 (__call_tls_dtors): Likewise.
11317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11318 __cxa_thread_atexit_impl.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11335 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11336 (tests): Add test case tst-tls-atexit.
11337 (modules-names): Add shared library for tst-tls-atexit.
11338 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11339 (GLIBC_PRIVATE): Add __call_tls_dtors.
11340 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11342 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11343 * stdlib/tst-tls-atexit.c: New test case.
11344 * stdlib/tst-tls-atexit-lib.c: New test case.
11346 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11348 * elf/Versions (ld): Add _dl_find_dso_for_object.
11349 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11350 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11351 (dl_open_worker): Use _dl_find_dso_for_object.
11352 * elf/dl-sym.c (do_sym): Likewise.
11353 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11355 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11357 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11358 Syntactic changes only.
11359 (_dl_runtime_profile): Do a tail-call to the resolved function.
11361 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11364 * sysdeps/x86_64/bp-asm.h: Remove file.
11365 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11366 <bp-sym.h> and <bp-asm.h>.
11367 (__clone): Do not use BP_SYM.
11368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11369 <bp-sym.h> and <bp-asm.h>.
11370 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11371 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11373 (_setjmp): Do not use BP_SYM.
11374 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11376 (setjmp): Do not use BP_SYM.
11377 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11379 (mempcpy): Do not use BP_SYM in weak_alias.
11380 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11382 (strchr): Do not use BP_SYM.
11383 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11385 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11386 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11387 (_start): Do not use BP_SYM.
11388 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11390 (strcat): Do not use BP_SYM.
11391 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11393 (STRCMP): Do not use BP_SYM.
11394 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11396 (STRCPY): Do not use BP_SYM.
11397 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11399 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11401 (FUNCTION): Do not use BP_SYM.
11402 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11404 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11406 2013-02-17 Andreas Jaeger <aj@suse.de>
11408 * time/Versions: Sort entries.
11409 * string/Versions: Likewise.
11410 * resolv/Versions: Likewise.
11411 * posix/Versions: Likewise.
11412 * iconv/Versions: Likewise.
11413 * elf/Versions: Likewise.
11414 * wcsmbs/Versions: Likewise.
11416 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11418 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11419 loop termination condition.
11421 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11422 variable to calculate EZ.
11425 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11426 the lower precision input.
11428 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11431 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11432 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11433 (run-via-rtld-prefix): Do not handle %-bp tests.
11434 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11435 (all-object-suffixes): Remove .ob.
11436 (bppfx): Remove variable.
11437 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11438 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11439 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11440 [$(build-bounded) = yes] (libtype.ob): Likewise.
11441 * Makerules (elide-routines.ob): Remove variable.
11442 (do-tests-clean): Do not handle *-bp.out.
11443 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11444 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11445 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11446 (tests): Do not include $(tests-bp.out).
11447 (xtests): Do not include $(xtests-bp.out).
11448 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11449 [$(build-bounded) = yes] ($(addprefix
11450 $(objpfx),$(binaries-bounded))): Remove rule.
11451 ($(objpfx)%-bp.out): Remove rule.
11452 * config.make.in (build-bounded): Remove variable.
11453 * crypt/Makefile [$(build-bounded) = yes]
11454 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11455 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11456 append to variable.
11457 [$(build-bounded) = yes] (install-lib): Likewise.
11458 [$(build-bounded) = yes] (generated): Likewise.
11459 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11461 * intl/Makefile [$(build-bounded) = yes]
11462 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11463 * math/Makefile [$(build-bounded) = yes]
11464 ($(tests:%=$(objpfx)%-bp): Likewise.
11465 * misc/Makefile [$(build-bounded) = yes]
11466 ($(objpfx)tst-tsearch-bp): Likewise.
11467 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11468 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11470 * string/Makefile (o-objects.ob): Remove variable.
11471 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11472 (CFLAGS-.ob): Remove variable.
11473 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11474 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11475 both definitions of variable.
11476 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11477 (ASFLAGS-.ob): Remove variable.
11479 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11482 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11483 Remove __BOUNDED_POINTERS__ from condition.
11484 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11485 * string/bits/string2.h [!__NO_STRING_INLINES &&
11486 !__BOUNDED_POINTERS__]: Likewise.
11487 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11489 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11490 Remove conditional code.
11491 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11492 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11493 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11497 * csu/libc-start.c: Do not include <bp-sym.h>.
11498 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11499 * elf/dl-open.c: Do not include <bp-sym.h>.
11500 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11501 * math/fegetenv.c: Do not include <bp-sym.h>.
11502 (fegetenv): Do not use BP_SYM in versioned symbols.
11503 * nptl/sysdeps/pthread/bits/libc-lockP.h
11504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11507 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11509 (__pthread_mutex_destroy): Likewise.
11510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11511 (__pthread_mutex_lock): Likewise.
11512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11513 (__pthread_mutex_trylock): Likewise.
11514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11515 (__pthread_mutex_unlock): Likewise.
11516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11517 (__pthread_mutexattr_init): Likewise.
11518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11519 (__pthread_mutexattr_destroy): Likewise.
11520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11521 (__pthread_mutexattr_settype): Likewise.
11522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11523 (__pthread_rwlock_init): Likewise.
11524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11525 (__pthread_rwlock_destroy): Likewise.
11526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11527 (__pthread_rwlock_rdlock): Likewise.
11528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11529 (__pthread_rwlock_tryrdlock): Likewise.
11530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11531 (__pthread_rwlock_wrlock): Likewise.
11532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11533 (__pthread_rwlock_trywrlock): Likewise.
11534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11535 (__pthread_rwlock_unlock): Likewise.
11536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11537 (__pthread_key_create): Likewise.
11538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11539 (__pthread_setspecific): Likewise.
11540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11541 (__pthread_getspecific): Likewise.
11542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11545 (_pthread_cleanup_push_defer): Likewise.
11546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11547 (_pthread_cleanup_pop_restore): Likewise.
11548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11549 (pthread_setcancelstate): Likewise.
11550 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11552 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11553 (memchr): Do not use BP_SYM in weak_alias.
11554 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11555 (fegetenv): Do not use BP_SYM in versioned symbols.
11556 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11557 (fesetenv): Do not use BP_SYM in versioned symbols.
11558 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11559 (feupdateenv): Do not use BP_SYM in versioned symbols.
11560 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11561 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11562 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11563 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11564 (open64): Do not use BP_SYM in weak_alias.
11565 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11566 (fegetenv): Do not use BP_SYM in versioned symbols.
11567 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11568 (fesetenv): Do not use BP_SYM in versioned symbols.
11569 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11570 (feupdateenv): Do not use BP_SYM in versioned symbols.
11571 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11572 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11573 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11574 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11575 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11576 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11579 (__libc_start_main): Do not use BP_SYM.
11581 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11584 redundant return line.
11586 (denorm): Likewise.
11587 (dbl_mp): Likewise.
11588 (sub_magnitudes): Likewise.
11594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11596 (denorm): Likewise.
11597 (dbl_mp): Likewise.
11598 (sub_magnitudes): Likewise.
11605 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11607 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11608 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11611 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11612 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11614 of __mul for squares.
11615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11619 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11620 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11622 2013-02-13 Joseph Myers <joseph@codesourcery.com>
11625 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11627 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11628 prototype or function definition. Rename ubp_* variables and
11629 parameters. Remove argv definitions conditional on
11630 [__BOUNDED_POINTERS__].
11631 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11632 * elf/dl-runtime.c (_dl_fixup): Likewise.
11633 * include/set-hooks.h (RUN_HOOK): Likewise.
11634 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11636 * string/strcpy.c (strcpy): Do not use __unbounded.
11637 * sysdeps/generic/frame.h (struct layout): Likewise.
11638 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11639 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11640 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11641 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11642 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11643 (__backtrace): Likewise.
11644 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11646 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11647 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11648 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11650 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11651 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11652 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11653 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11654 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11655 Do not use __unbounded.
11656 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11657 Rename __unboundedrlimits parameter to rlimits in prototype.
11658 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11659 Do not use __unbounded.
11660 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11661 not use __ptrvalue.
11662 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11663 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11664 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11665 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11666 __ptrvalue or __unbounded.
11667 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11668 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11670 (__new_msgctl): Do not use __ptrvalue.
11671 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11673 (__libc_msgrcv): Do not use __ptrvalue.
11674 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11675 startup_info): Do not use __unbounded.
11676 (__libc_start_main): Likewise. Rename ubp_* variables and
11677 parameters. Remove argv definitions conditional on
11678 [__BOUNDED_POINTERS__].
11679 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11681 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11683 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11685 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11687 (__new_shmctl): Do not use __ptrvalue.
11688 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11689 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11691 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11692 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11693 (__libc_sigaction): Likewise.
11694 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11695 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11697 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11699 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11701 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11703 * string/mempcpy.c: Implement by calling memcpy.
11705 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11712 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11713 values in the mantissa.
11715 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11716 minimize writes to Z.
11717 (sub_magnitudes): Simplify code a bit.
11719 2013-02-12 Roland McGrath <roland@hack.frob.com>
11721 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11722 from the message. The linker prefixes all warnings with that already.
11724 2013-02-12 Andreas Schwab <schwab@suse.de>
11727 * posix/regexec.c (extend_buffers): Add parameter min_len.
11728 (check_matching): Pass minimum needed length.
11729 (clean_state_log_if_needed): Likewise.
11730 (get_subexp): Likewise.
11731 * posix/Makefile (tests): Add bug-regex34.
11732 (bug-regex34-ENV): Define.
11733 * posix/bug-regex34.c: New file.
11736 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11737 elements compare against the byte sequence of it, not its name.
11738 * posix/Makefile (tests): Add bug-regex35.
11739 (bug-regex35-ENV): Define.
11740 * posix/bug-regex35.c: New file.
11742 2013-02-11 Tom de Vries <tom@codesourcery.com>
11744 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11746 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11747 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11748 (CHECK_EOL): Add undef.
11750 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11752 * bits/stdlib-bsearch.h: New file.
11753 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11754 * stdlib/stdlib.h: Likewise.
11756 2013-02-11 Roland McGrath <roland@hack.frob.com>
11758 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11759 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11761 * manual/search.texi (Array Search Function): Add missing const in
11763 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11764 declaration to use rlim_t.
11765 (Basic Scheduling Functions): Remove erroneous const from
11766 sched_getparam prototype. Remove erroneous * from
11767 sched_get_priority_max and sched_get_priority_min prototypes.
11768 (Resource Usage): Fix summary @comment on vtimes to refer to
11769 sys/vtimes.h rather than vtimes.h.
11770 Add missing *s in vtimes prototype.
11771 (Limits on Resources): Fix ulimit prototype to return long int.
11772 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11773 prototypes to use long int rather than double.
11774 (BSD Random): Fix initstate and setstate to use char *, not void *.
11775 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11776 prototype to make second argument 'struct aiocb64 *const[]'.
11777 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11778 (Status of AIO Operations): Remove erroneous const in aio_return and
11779 aio_return64 prototypes.
11780 (Synchronizing I/O): Fix sync prototype to return void.
11781 * manual/startup.texi (Suboptions): Remove an erroneous const in
11782 getsubopt prototype.
11783 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11784 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11785 use size_t rather than int.
11786 (Scanning All Users): Likewise for getpwent_r.
11787 (Setting Groups): Add missing const to setgroups prototype.
11788 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11789 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11790 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11791 'const void *' rather than 'const char *'.
11792 (Host Address Functions): Likewise for inet_ntop.
11793 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11794 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11795 ssize_t for return value.
11796 (Sending Data): Likewise for send, sendto, sendmsg.
11797 (Socket Option Functions): Add a missing const in setsockopt prototype.
11798 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11799 use wchar_t for the argument.
11800 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11801 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11803 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11804 double/float/long double for second argument.
11805 Fix return types of significand, significandf, significandl.
11806 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11807 argument in fchmod prototype.
11808 (File Owner): Use uid_t and gid_t in fchown prototype.
11809 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11810 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11811 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11812 use 'const struct dirent **' as argument types to CMP function pointer
11814 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11815 (File Times): Fix summary magic @comment for struct utimbuf and utime
11816 to refer to utime.h, not time.h.
11817 * manual/string.texi (Argz Functions): Add missing const in
11818 argz_extract and argz_next prototypes.
11819 (Finding Tokens in a String): Likewise for basename.
11820 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11821 (Copying and Concatenation): Fix typo in wmemmove prototype.
11822 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11823 (Signal Stack): Remove erroneous const in sigstack prototype.
11824 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11826 (Simple Calendar Time): Likewise for stime.
11827 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11829 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11830 say sys/sysctl.h instead.
11831 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11832 and vsyslog prototypes.
11834 2013-02-11 Tom de Vries <tom@codesourcery.com>
11836 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11839 2013-02-11 Roland McGrath <roland@hack.frob.com>
11841 * misc/sys/mman.h: Fix typo in mremap comment.
11843 2013-02-08 Roland McGrath <roland@hack.frob.com>
11845 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11846 the '\0' terminator.
11848 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11851 * debug/segfault.c: Don't include <bp-checks.h>.
11852 * sysdeps/generic/bp-checks.h: Remove file.
11853 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11854 (__GETDENTS): Don't use CHECK_N.
11855 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11856 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11857 (__getgroups): Don't use CHECK_N.
11858 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11859 (setgroups): Don't use CHECK_N.
11860 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11861 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11862 (__libc_msgrcv): Don't use CHECK_N.
11863 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11864 (__libc_msgsnd): Don't use CHECK_N.
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11867 (__libc_pread): Don't use CHECK_N.
11868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11869 include <bp-checks.h>.
11870 (__libc_pread64): Don't use CHECK_N.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11872 include <bp-checks.h>.
11873 (__libc_pwrite): Don't use CHECK_N.
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11875 include <bp-checks.h>.
11876 (__libc_pwrite64): Don't use CHECK_N.
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11879 (__libc_pread): Don't use CHECK_N.
11880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11881 include <bp-checks.h>.
11882 (__libc_pread64): Don't use CHECK_N.
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11884 include <bp-checks.h>.
11885 (__libc_pwrite): Don't use CHECK_N.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11887 include <bp-checks.h>.
11888 (__libc_pwrite64): Don't use CHECK_N.
11889 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11890 (do_pread): Don't use CHECK_N.
11891 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11892 (do_pread64): Don't use CHECK_N.
11893 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11894 (do_pwrite): Don't use CHECK_N.
11895 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11896 (do_pwrite64): Don't use CHECK_N.
11897 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11898 (__libc_readv): Don't use CHECK_N.
11899 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11900 (semop): Don't use CHECK_N.
11901 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11903 (semtimedop): Don't use CHECK_N.
11904 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11905 (__libc_pread): Don't use CHECK_N.
11906 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11908 (__libc_pread64): Don't use CHECK_N.
11909 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11911 (__libc_pwrite): Don't use CHECK_N.
11912 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11914 (__libc_pwrite64): Don't use CHECK_N.
11915 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11917 (__libc_msgrcv): Don't use CHECK_N.
11918 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11919 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11920 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11921 (__libc_writev): Don't use CHECK_N.
11923 2013-02-08 Roland McGrath <roland@hack.frob.com>
11925 * string/strcpy.c: Removed unused variable.
11927 * Makeconfig (+sysdep-includes): Define with := rather than =.
11928 Use an existing include/ subdir of each sysdeps dir before it.
11930 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11932 * nscd/connection.c (register_traced_file): Comment function.
11933 [HAVE_INOTIFY] (union __inev): Define.
11934 [HAVE_INOTIFY] (inotify_check_files): New function.
11935 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11936 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11938 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11940 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11942 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11943 loaded if not already and that a failure is permanent.
11945 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11948 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11949 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11951 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11954 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11955 (CHECK_1_NULL_OK): Likewise.
11956 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11957 (__fxstat): Do not use CHECK_1.
11958 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11960 (___fxstat64): Do not use CHECK_1.
11961 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11963 (__fxstatat): Do not use CHECK_1.
11964 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11966 (__fxstatat64): Do not use CHECK_1.
11967 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11969 (__fxstat): Do not use CHECK_1.
11970 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11972 (__fxstatat): Do not use CHECK_1.
11973 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11975 (__getresgid): Do not use CHECK_1.
11976 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11978 (__getresuid): Do not use CHECK_1.
11979 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11981 (__lxstat): Do not use CHECK_1.
11982 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11984 (__old_msgctl): Do not use CHECK_1.
11985 (__new_msgctl): Likewise.
11986 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11988 (__new_setrlimit): Do not use CHECK_1.
11989 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11991 (__old_shmctl): Do not use CHECK_1.
11992 (__new_shmctl): Likewise.
11993 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11995 (__xstat): Do not use CHECK_1.
11996 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11997 (__lxstat): Do not use CHECK_1.
11998 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12000 (___lxstat64): Do not use CHECK_1.
12001 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12002 (__old_msgctl): Do not use CHECK_1.
12003 (__new_msgctl): Likewise.
12004 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12006 (__gettimeofday): Do not use CHECK_1.
12007 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12008 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12009 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12011 (__gettimeofday): Do not use CHECK_1.
12012 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12013 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12014 (__new_shmctl): Do not use CHECK_1.
12015 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12017 (do_sigtimedwait): Do not use CHECK_1.
12018 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12020 (do_sigwaitinfo): Do not use CHECK_1.
12021 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12023 (msgctl): Do not use CHECK_1.
12024 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12026 (shmctl): Do not use CHECK_1.
12027 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12028 (ustat): Do not use CHECK_1.
12029 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12031 (__fxstat): Do not use CHECK_1.
12032 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12034 (__fxstatat): Do not use CHECK_1.
12035 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12037 (__lxstat): Do not use CHECK_1.
12038 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12040 (__xstat): Do not use CHECK_1.
12041 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12042 (__xstat): Do not use CHECK_1.
12043 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12044 (___xstat64): Do not use CHECK_1.
12047 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12049 (CHECK_BOUNDS_HIGH): Likewise.
12050 * string/strcpy.c: Do not include <bp-checks.h>.
12051 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12053 2013-02-07 Roland McGrath <roland@hack.frob.com>
12055 * nscd/nscd-client.h (__nscd_drop_map_ref):
12056 Add __attribute__ ((unused)).
12057 * nis/nss-nisplus.h (niserr2nss): Likewise.
12059 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12060 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12062 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12063 Remove inline keyword.
12064 * include/rounding-mode.h (round_away): Likewise.
12065 * libio/wfileops.c (adjust_wide_data): Likewise.
12066 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12067 (__m128i_strloadu_tolower): Likewise.
12068 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12069 (__m128i_strloadu_tolower): Likewise.
12070 * time/mktime.c (ydhms_diff): Likewise.
12071 * locale/elem-hash.h (elem_hash): Likewise.
12072 * locale/setlocale.c (setdata): Likewise.
12073 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12074 (re_string_wchar_at): Likewise.
12075 (bitset_not, bitset_merge, bitset_mask): Likewise.
12076 [!(__GNUC__ > 3)] (inline): Remove macro.
12077 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12078 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12079 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12080 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12081 * string/memcmp.c (memcmp_bytes): Likewise.
12082 * locale/programs/locarchive.c (compute_hashval): Likewise.
12083 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12084 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12085 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12086 * nss/getent.c (print_rpc, print_protocols): Likewise.
12087 (print_passwd, print_group, print_aliases): Likewise.
12088 * nis/nss-nisplus.h (niserr2nss): Likewise.
12089 * nscd/connections.c (restart_p): Likewise.
12090 Change return type to bool.
12092 2013-02-05 Roland McGrath <roland@hack.frob.com>
12094 * Makeconfig (all-Depend-files): Add existing
12095 $(sorted-subdirs:=/Depend) files.
12096 (all-subdirs): Remove nss.
12097 * sysdeps/unix/inet/Subdirs: Add it here instead.
12098 * hesiod/Depend: New file.
12100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12101 instead of calling alloca.
12103 * io/lseek.c (__lseek): Rename to __libc_lseek.
12104 Define __lseek as an alias.
12106 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12108 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12110 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12111 else clause and remove check for non-standard endianness.
12113 2013-02-04 David S. Miller <davem@davemloft.net>
12115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12117 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12120 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12121 (__ubp_memchr): Remove prototype.
12122 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12123 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12124 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12125 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12126 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12128 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12129 (__ubp_memchr): Likewise.
12130 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12131 (__ubp_memchr): Likewise.
12132 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12133 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12134 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12135 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12137 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12138 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12139 (__getcwd): Do not use CHECK_STRING.
12140 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12142 (__real_chown): Do not use CHECK_STRING.
12143 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12145 (fchownat): Do not use CHECK_STRING.
12146 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12148 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12150 (__lchown): Do not use CHECK_STRING.
12151 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12152 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12153 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12154 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12156 include <bp-checks.h>.
12157 (truncate64): Do not use CHECK_STRING.
12158 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12160 (__real_chown): Do not use CHECK_STRING.
12161 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12163 (__lchown): Do not use CHECK_STRING.
12164 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12166 (__chown): Do not use CHECK_STRING.
12167 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12169 (truncate64): Do not use CHECK_STRING.
12170 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12172 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12173 (__xmknod): Do not use CHECK_STRING.
12174 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12176 (__xmknodat): Do not use CHECK_STRING.
12177 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12178 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12180 2013-02-04 Andreas Schwab <schwab@suse.de>
12183 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12184 * include/netdb.h: Likewise for h_errno.
12185 * elf/tst-stackguard1.c: Include <tls.h>.
12187 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12189 * elf/link.h (struct link_map): Extend the l_addr comment.
12190 * include/link.h (struct link_map): Likewise.
12192 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12195 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12196 (BOUNDED_1): Remove macro.
12197 * debug/backtrace.c: Don't include <bp-checks.h>.
12198 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12199 (__backtrace): Likewise.
12200 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12202 (__backtrace): Don't use BOUNDED_1.
12203 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12205 (__backtrace): Don't use BOUNDED_1.
12206 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12207 (__backtrace): Don't use BOUNDED_1.
12208 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12209 (shmat): Don't use BOUNDED_N.
12211 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12214 * sysdeps/generic/bp-start.h: Remove file.
12215 * csu/libc-start.c: Don't include <bp-start.h>.
12216 (LIBC_START_MAIN): Set up __environ directly instead of using
12217 INIT_ARGV_and_ENVIRON.
12218 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12222 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12224 (CHECK_FCNTL): Likewise.
12225 (CHECK_N_PAGES): Likewise.
12228 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12230 (CHECK_SIGSET_NULL_OK): Likewise.
12231 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12233 (sigpending): Don't use CHECK_SIGSET.
12234 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12236 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12237 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12239 (do_sigsuspend): Don't use CHECK_SIGSET.
12240 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12242 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12243 (do_sigwait): Don't use CHECK_SIGSET.
12244 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12247 include <bp-checks.h>.
12248 (sigpending): Don't use CHECK_SIGSET.
12249 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12250 include <bp-checks.h>.
12251 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12252 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12254 (sigpending): Don't use CHECK_SIGSET.
12255 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12257 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12260 * sysdeps/generic/bp-semctl.h: Remove file.
12261 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12262 <bp-checks.h> and <bp-semctl.h>.
12263 (__old_semctl): Don't use CHECK_SEMCTL.
12264 (__new_semctl): Likewise.
12265 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12267 (__old_semctl): Don't use CHECK_SEMCTL.
12268 (__new_semctl): Likewise.
12269 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12270 <bp-checks.h> and <bp-semctl.h>.
12271 (__old_semctl): Don't use CHECK_SEMCTL.
12272 (__new_semctl): Likewise.
12273 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12274 <bp-checks.h> and <bp-semctl.h>.
12275 (semctl): Don't use CHECK_SEMCTL.
12278 * Makerules (elide-bp-thunks): Remove variable.
12279 (elide-routines.oS): Don't use $(elide-bp-thunks).
12280 (elide-routines.os): Likewise.
12281 (elide-routines.o): Likewise.
12282 (elide-routines.op): Likewise.
12283 (elide-routines.og): Likewise.
12284 (objects): Don't use $(bp-thunks).
12285 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12287 (common-generated): Do not add s-proto-bp.d.
12288 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12291 Do not generate makefile rules for bounded-pointer thunks.
12292 * sysdeps/generic/bp-thunks.h: Remove file.
12293 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12294 * sysdeps/unix/s-proto-bp.S: Likewise.
12297 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12298 parts of result separately when argument is not close to line from
12299 -i to i and one part of argument is small.
12300 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12301 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12302 * math/libm-test.inc (cacos_test): Add more tests.
12303 (casin_test): Likewise.
12304 (casinh_test): Likewise.
12305 * sysdeps/i386/fpu/libm-test-ulps: Update.
12306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12308 2013-01-31 David S. Miller <davem@davemloft.net>
12310 * po/de.po: Update from translation team.
12312 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12314 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12316 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12318 * configure.in (_AC_PROG_CC_C89): New definition.
12319 * configure: Regenerate.
12321 * configure.in (AC_PROG_CPP): New definition.
12322 * configure: Regenerate.
12324 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12326 * debug/tst-backtrace.h: New file.
12327 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12328 (ret): Remove variable.
12330 (FAIL): Remove macro.
12331 (NO_INLINE): Likewise.
12332 (fn1): Use match function instead of strstr.
12333 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12334 (ret): Remove variable.
12336 (FAIL): Remove macro.
12337 (NO_INLINE): Likewise.
12338 (fn): Use match function instead of strstr.
12339 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12340 (ret): Remove variable.
12342 (FAIL): Remove macro.
12343 (NO_INLINE): Likewise.
12344 (handle_signal): Use match function instead of strstr.
12345 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12346 (ret): Remove variable.
12348 (FAIL): Remove macro.
12349 (NO_INLINE): Likewise.
12350 (handle_signal): Use match function instead of strstr.
12352 2013-01-23 Roland McGrath <roland@hack.frob.com>
12354 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12356 2013-01-23 David S. Miller <davem@davemloft.net>
12358 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12359 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12360 argument of CAS if possible.
12361 * sysdeps/sparc/sparc64/bits/atomic.h
12362 (__arch_compare_and_exchange_val_32_acq): Likewise.
12363 (__arch_compare_and_exchange_val_64_acq): Likewise.
12365 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12367 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12368 * sysdeps/posix/ulimit.c: ... this.
12369 Include <limits.h>.
12370 * sysdeps/unix/bsd/ulimit.c: Remove file.
12372 2013-01-23 Adam Conrad <adconrad@0c3.net>
12374 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12375 (LDFLAGS-tst-array5): Likewise.
12377 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12380 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12381 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12382 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12383 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12385 2013-01-21 David S. Miller <davem@davemloft.net>
12387 * sysdeps/sparc/backtrace.c: New file.
12388 * sysdeps/sparc/sparc32/backtrace.h: New file.
12389 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12390 * sysdeps/sparc/sparc64/backtrace.h: New file.
12391 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12392 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12395 2013-01-21 Andreas Schwab <schwab@suse.de>
12398 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12401 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12407 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12408 Mark Mitchell <mark@codesourcery.com>
12409 Tom de Vries <tom@codesourcery.com>
12410 Paul Pluzhnikov <ppluzhnikov@google.com>
12412 * debug/tst-backtrace2.c: New file.
12413 * debug/tst-backtrace3.c: Likewise.
12414 * debug/tst-backtrace4.c: Likewise.
12415 * debug/tst-backtrace5.c: Likewise.
12416 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12417 (CFLAGS-tst-backtrace3.c): Likewise.
12418 (CFLAGS-tst-backtrace4.c): Likewise.
12419 (CFLAGS-tst-backtrace5.c): Likewise.
12420 (LDFLAGS-tst-backtrace2): Likewise.
12421 (LDFLAGS-tst-backtrace3): Likewise.
12422 (LDFLAGS-tst-backtrace4): Likewise.
12423 (LDFLAGS-tst-backtrace5): Likewise.
12424 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12425 tst-backtrace4 and tst-backtrace5.
12427 2013-01-18 Anton Blanchard <anton@samba.org>
12428 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12430 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12431 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12432 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12433 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12435 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12436 "+r" and remove output regs list as redundant. Add explicit inline
12437 asm to specify register of return val to work around compiler codegen
12438 bug. Remove (int) cast on return value. Add return type parameter to
12439 use in macro so that this macro does not truncate return value for
12441 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12442 pass to INTERNAL_VSYSCALL_NCS.
12443 (INLINE_VSYSCALL): Add 'long int' as return type to
12444 INTERNAL_VSYSCALL_NCS macro invocation.
12445 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12446 INTERNAL_VSYSCALL_NCS macro invocation.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12449 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12452 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12453 Fix application of SIMD FP exception mask.
12455 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12456 mp_no from a power of two.
12457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12458 __mpexp_twomm1. Use __pow_mp.
12460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12463 2013-01-17 David S. Miller <davem@davemloft.net>
12465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12467 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12470 * include/complex.h: Condition contents on [!_COMPLEX_H].
12471 (__kernel_casinhf): New prototype.
12472 (__kernel_casinh): Likewise.
12473 (__kernel_casinhl): Likewise.
12474 * math/Makefile (libm_calls): Add k_casinh.
12475 * math/k_casinh.c: New file.
12476 * math/k_casinhf.c: Likewise.
12477 * math/k_casinhl.c: Likewise.
12478 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12479 finite nonzero arguments.
12480 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12481 finite nonzero arguments.
12482 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12483 finite nonzero arguments.
12484 * math/s_casinh.c: Do not include <float.h>.
12485 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12486 * math/s_casinhf.c: Do not include <float.h>.
12487 (__casinhf): Move code for finite nonzero arguments to
12489 * math/s_casinhl.c: Do not include <float.h>.
12490 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12492 (__casinhl): Move code for finite nonzero arguments to
12494 * math/libm-test.inc (cacos_test): Add more tests.
12495 * sysdeps/i386/fpu/libm-test-ulps: Update.
12496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12498 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12500 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12501 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12502 [!HAVE_MREMAP]: Remove [defined linux] case.
12503 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12505 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12507 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12509 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12511 * elf/elf.h (R_386_SIZE32): New relocation.
12512 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12514 (elf_machine_rela): Likewise.
12515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12516 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12518 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12520 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12521 (FP_FAST_FMA): Do not define.
12522 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12523 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12524 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12525 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12526 !_SOFT_FLOAT]: Likewise.
12527 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12528 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12530 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12531 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12532 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12533 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12534 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12535 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12538 2013-01-16 Andreas Schwab <schwab@suse.de>
12541 * include/stdlib.h (__mktemp): Add declaration.
12542 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12543 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12545 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12547 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12549 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12550 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12551 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12553 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12554 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12556 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12558 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12559 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12560 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12562 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12563 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12565 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12567 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12569 2013-01-15 David S. Miller <davem@davemloft.net>
12571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12572 trunc{,f} to libm-sysdep_routes.
12573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12583 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12584 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12585 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12586 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12587 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12588 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12591 nearbyint{,f} to libm-sysdep_routes.
12592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12603 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12606 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12609 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12610 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12612 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12613 libc_feholdexcept and libc_fesetenv.
12615 2013-01-15 Mike Frysinger <vapier@gentoo.org>
12617 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12619 2013-01-14 David S. Miller <davem@davemloft.net>
12621 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12622 (SPARC_ASM_VIS2_IFUNC): Likewise.
12623 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12625 use of 'siam' instruction.
12626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12659 routines to libm-sysdep_routines.
12660 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12663 fdim/fdimf to libm-sysdep_routines.
12664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12672 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12673 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12674 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12675 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12677 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12679 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12680 to optimize copies.
12682 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12687 local variable MPTWO.
12688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12691 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12693 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12696 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12698 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12700 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12702 * manual/pattern.texi (glob_t): Document gl_flags.
12703 (glob64_t): Likewise.
12705 2013-01-11 David S. Miller <davem@davemloft.net>
12707 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12708 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12709 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12710 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12711 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12712 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12713 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12714 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12715 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12716 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12717 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12718 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12719 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12722 sparc V9 rather than using V8 code.
12723 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12724 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12726 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12728 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12731 2013-01-11 Roland McGrath <roland@hack.frob.com>
12733 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12734 not in the main loop.
12735 * configure: Regenerated.
12737 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12739 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12740 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12742 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12743 [!__GLIBC_HAVE_LONG_LONG] case.
12744 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12745 condition to just #else.
12746 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12747 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12748 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12749 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12751 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12752 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12753 #elif condition to just #else.
12754 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12755 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12756 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12757 #elif condition to just #else.
12759 2013-01-11 Steve Ellcey <sellcey@mips.com>
12761 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12762 (EF_MIPS_ARCH_64): Fix value.
12763 (EF_MIPS_ARCH_32R2): New.
12764 (EF_MIPS_ARCH_64R2): New.
12766 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12768 * Makeconfig (+link-pie-before-libc): New.
12769 (+link-pie-after-libc): Likewise.
12770 (+link-pie-tests): Likewise.
12771 (+link-pie): Rewritten.
12772 (link-before-libc): Remove $(config-LDFLAGS).
12773 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12774 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12775 (config-LDFLAGS): Renamed to ...
12776 (rtld-LDFLAGS): This.
12777 (rtld-tests-LDFLAGS): New macro.
12778 (link-libc-rpath-link): Likewise.
12779 (link-libc-tests-rpath-link): Likewise.
12780 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12781 (link-libc): Prepand $(link-libc-rpath-link).
12782 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12783 (test-program-prefix): New macro.
12784 (test-via-rtld-prefix): Likewise.
12785 (test-program-cmd): Likewise.
12786 (host-test-program-cmd): Likewise.
12787 * Makefile ($(common-objpfx)testrun.sh): Replace
12788 $(run-program-prefix) with $(test-program-prefix).
12789 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12791 ($(common-objpfx)shlib.lds): Likewise.
12792 (build-module-helper): Likewise.
12793 ($(common-objpfx)format.lds): Likewise.
12794 * Rules (binaries-pie-tests): New.
12795 (binaries-pie-notests): Likewise.
12796 (binaries-pie): Rewritten.
12797 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12798 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12799 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12800 (make-test-out): Replace $(host-built-program-cmd) with
12801 $(host-test-program-cmd).
12802 * config.make.in (build-hardcoded-path-in-tests): New variable.
12803 * configure.in (--enable-hardcoded-path-in-tests): New configure
12805 (hardcoded_path_in_tests): New AC_SUBST.
12806 * configure: Regenerated.
12807 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12808 $(built-program-cmd) with $(test-program-cmd).
12809 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12810 (test_program_cmd): This.
12811 * elf/Makefile ($(objpfx)order.out): Run test with
12812 $(test-program-prefix).
12813 ($(objpfx)order2.out): Likewise.
12814 ($(objpfx)tst-initorder.out): Likewise.
12815 ($(objpfx)tst-initorder2.out): Likewise.
12816 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12817 $(test-program-cmd).
12818 ($(objpfx)tst-array1-static.out): Likewise.
12819 ($(objpfx)tst-array2.out): Likewise.
12820 ($(objpfx)tst-array3.out): Likewise.
12821 ($(objpfx)tst-array4.out): Likewise.
12822 ($(objpfx)tst-array5.out): Likewise.
12823 ($(objpfx)tst-array5-static.out): Likewise.
12824 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12825 $(test-program-cmd).
12826 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12827 $(run-program-prefix) with $(test-program-prefix).
12828 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12829 (test_program_prefix): This.
12830 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12831 $(run-program-prefix) with $(test-program-prefix).
12832 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12833 (test_program_prefix): This.
12834 * iconvdata/tst-tables.sh: Likewise.
12835 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12836 $(run-program-prefix) with $(test-program-prefix).
12837 ($(objpfx)tst-translit.out): Likewise.
12838 ($(objpfx)tst-gettext2.out): Likewise.
12839 ($(objpfx)tst-gettext4.out): Likewise.
12840 ($(objpfx)tst-gettext6.out): Likewise.
12841 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12842 (test_program_prefix): This.
12843 * intl/tst-gettext2.sh: Likewise.
12844 * intl/tst-gettext4.sh Likewise.
12845 * intl/tst-gettext6.sh: Likewise.
12846 * intl/tst-translit.sh: Likewise.
12847 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12848 with $(test-program-cmd).
12849 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12850 $(run-program-prefix) with $(test-program-prefix).
12851 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12852 (test_program_prefix): This.
12853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12854 $(run-program-prefix) with $(test-program-prefix).
12855 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12856 (test_program_prefix): This.
12857 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12858 * posix/Makefile ($(objpfx)globtest.out): Replace
12859 $(run-via-rtld-prefix) and $(test-wrapper) with
12860 $(test-program-prefix) and $(test-via-rtld-prefix).
12861 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12862 $(test-program-prefix).
12863 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12864 $(host-test-program-cmd).
12865 (tst-spawn-ARGS): Likewise.
12866 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12867 $(test-program-prefix).
12868 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12869 (test_via_rtld_prefix): This.
12870 (test_wrapper): Renamed to ...
12871 (test_program_prefix): This.
12872 (run_program_prefix): Replaced by test_program_prefix.
12873 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12874 (test_program_prefix): This.
12875 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12876 with $(host-test-program-cmd).
12877 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12878 $(run-program-prefix) with $(test-program-prefix).
12879 ($(objpfx)tst-printf.out): Likewise.
12880 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12881 $(test-program-cmd).
12882 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12883 (test_program_prefix): This.
12884 * stdio-common/tst-unbputc.sh: Likewise.
12885 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12886 $(run-program-prefix) with $(test-program-prefix).
12887 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12888 (test_program_prefix): This.
12889 * string/Makefile ($(objpfx)tst-svc.out): Replace
12890 $(built-program-cmd) with $(test-program-cmd).
12892 2013-01-11 Andreas Jaeger <aj@suse.de>
12895 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12896 value. Sync with Linux 3.7.
12898 2013-01-10 David S. Miller <davem@davemloft.net>
12900 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12901 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12902 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12904 2013-01-10 Roland McGrath <roland@hack.frob.com>
12906 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12908 * configure: Regenerated.
12910 2013-01-10 David S. Miller <davem@davemloft.net>
12912 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12913 sparc V9 rather than using V8 code.
12914 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12915 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12917 2013-01-10 Roland McGrath <roland@hack.frob.com>
12919 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12920 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12921 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12922 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12923 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12924 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12925 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12926 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12927 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12928 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12929 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12930 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12931 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12932 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12933 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12934 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12935 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12936 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12937 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12938 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12939 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12940 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12941 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12942 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12943 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12944 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12945 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12947 2013-01-10 David S. Miller <davem@davemloft.net>
12949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12951 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12953 * posix/Makefile (tests-static): New variable.
12954 (tests): Add $(tests-static).
12955 (tst-exec-static-ARGS): New variable.
12956 (tst-spawn-static-ARGS): Likewise.
12957 * posix/tst-exec-static.c: New file.
12958 * posix/tst-spawn-static.c: Likewise.
12959 * posix/tst-exec.c: Support run directly.
12960 * posix/tst-spawn.c: Likewise.
12962 2013-01-10 Joseph Myers <joseph@codesourcery.com>
12964 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12966 * math/bits/mathcalls.h (llrint): Likewise.
12967 (llround): Likewise.
12968 * stdlib/stdlib.h (struct drand48_data): Likewise.
12969 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12970 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12971 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12973 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12975 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12976 (elf_greg_t): Likewise.
12977 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12978 (__jmp_buf): Likewise.
12979 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12981 (llrint): Likewise, for all definitions.
12982 (llrintl): Likewise.
12984 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12985 Remove [__GNUC__] condition.
12986 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12987 condition to just [__USE_ISOC99].
12988 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12990 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12993 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12994 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12996 (_POSIX_V6_ILP32_OFF32): Likewise.
12997 (_XBS5_ILP32_OFF32): Likewise.
12998 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12999 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13001 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13003 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13006 doubles __mpexp_twomm1. Adjust usage.
13007 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13010 2013-01-10 Andreas Schwab <schwab@suse.de>
13013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13014 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13016 2013-01-09 David S. Miller <davem@davemloft.net>
13019 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13020 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13021 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13022 TCP_FASTOPEN): Define.
13023 (tcp_repair_opt): New structure.
13024 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13026 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13027 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13028 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13029 (tcp_cookie_transactions): New structure.
13031 2013-01-09 Anton Blanchard <anton@samba.org>
13033 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13034 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13035 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13036 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13038 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13040 * include/features.h (__USE_ANSI): Remove.
13042 2013-01-09 Roland McGrath <roland@hack.frob.com>
13044 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13046 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13048 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13050 * sysdeps/s390/fpu/libm-test-ulps: Update.
13052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13054 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13058 (denorm): Likewise.
13059 (__mp_dbl): Likewise.
13060 (__dbl_mp): Likewise.
13061 (add_magnitudes): Likewise.
13062 (sub_magnitudes): Likewise.
13068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13072 (denorm): Likewise.
13073 (__mp_dbl): Likewise.
13074 (__dbl_mp): Likewise.
13075 (add_magnitudes): Likewise.
13076 (sub_magnitudes): Likewise.
13082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13086 (denorm): Likewise.
13087 (__mp_dbl): Likewise.
13088 (__dbl_mp): Likewise.
13089 (add_magnitudes): Likewise.
13090 (sub_magnitudes): Likewise.
13097 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13099 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13100 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13101 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13102 2 && __USE_EXTERN_INLINES]: Likewise.
13104 2013-01-08 Andreas Jaeger <aj@suse.de>
13107 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13109 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13110 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13112 2013-01-07 Anton Blanchard <anton@samba.org>
13114 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13115 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13116 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13117 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13118 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13119 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13120 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13121 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13123 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13124 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13125 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13126 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13128 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13129 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13130 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13131 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13132 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13133 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13134 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13135 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13137 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13138 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13139 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13140 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13141 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13143 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13144 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13146 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13147 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13148 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13149 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13150 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13151 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13153 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13154 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13156 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13158 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13160 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13161 (__MALLOC_PMT): Likewise.
13162 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13163 [__GNUC__], only on [_LIBC].
13164 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13165 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13166 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13167 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13168 forward declaration.
13169 (realloc_hook_ini): Likewise.
13170 (memalign_hook_ini): Likewise.
13171 (__libc_memalign): Do not use __MALLOC_PMT in variable
13173 (__libc_valloc): Likewise.
13174 (__libc_pvalloc): Likewise.
13175 (__libc_calloc): Likewise.
13176 (__posix_memalign): Likewise.
13179 * math/s_casinh.c: Include <float.h>.
13180 (__casinh): Do not do computation with squaring and square root
13181 for large arguments.
13182 * math/s_casinhf.c: Include <float.h>.
13183 (__casinhf): Do not do computation with squaring and square root
13184 for large arguments.
13185 * math/s_casinhl.c: Include <float.h>.
13186 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13187 (__casinhl): Do not do computation with squaring and square root
13188 for large arguments.
13189 * math/libm-test.inc (casin_test): Add more tests.
13190 (casinh_test): Likewise.
13191 * sysdeps/i386/fpu/libm-test-ulps: Update.
13192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13194 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13196 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13197 (__x86_64_raw_data_cache_size): Likewise.
13198 (__x86_64_data_cache_size_half): Likewise.
13199 (__x86_64_raw_data_cache_size_half): Likewise.
13200 (__x86_64_shared_cache_size): Likewise.
13201 (__x86_64_raw_shared_cache_size): Likewise.
13202 (__x86_64_shared_cache_size_half): Likewise.
13203 (__x86_64_raw_shared_cache_size_half): Likewise.
13204 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13206 (__x86_data_cache_size): This.
13207 (__x86_64_raw_data_cache_size): Renamed to ...
13208 (__x86_raw_data_cache_size): This.
13209 (__x86_64_data_cache_size_half): Renamed to ...
13210 (__x86_data_cache_size_half): This.
13211 (__x86_64_raw_data_cache_size_half): Renamed to ...
13212 (__x86_raw_data_cache_size_half): This.
13213 (__x86_64_shared_cache_size): Renamed to ...
13214 (__x86_shared_cache_size): This.
13215 (__x86_64_raw_shared_cache_size): Renamed to ...
13216 (__x86_raw_shared_cache_size): This.
13217 (__x86_64_shared_cache_size_half): Renamed to ...
13218 (__x86_shared_cache_size_half): This.
13219 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13220 (__x86_raw_shared_cache_size_half): This.
13221 * sysdeps/x86_64/memcpy.S: Updated.
13222 * sysdeps/x86_64/memset.S: Likewise.
13223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13224 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13225 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13227 2013-01-04 David S. Miller <davem@davemloft.net>
13229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13231 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13233 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13234 1 to avoid redefinition warning.
13235 (__USE_GNU): Don't define.
13236 (init_signaling_nan): Protoize.
13238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13240 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13242 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13244 (__cpymn): Likewise.
13245 (norm): Remove commented code.
13246 (denorm): Likewise.
13247 (__mp_dbl): Likewise.
13249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13250 (__cpymn): Likewise.
13251 (norm): Remove commented code.
13252 (denorm): Likewise.
13253 (__mp_dbl): Likewise.
13256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13257 mp_no value for 1.0 and 2.0.
13258 (norm): Use RADIXI instead of radixi.d.
13259 (denorm): Likewise.
13260 (__mul): Use 0.0 instead of zero.d.
13261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13262 mp_no value for 1.0 and 2.0.
13263 (norm): Use RADIXI instead of radixi.d.
13264 (denorm): Likewise.
13265 (__mul): Use 0.0 instead of zero.d.
13267 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13270 * math/s_casinh.c (__casinh): Reduce finite argument to first
13271 quadrant then set signs of results at the end.
13272 * math/s_casinhf.c (__casinhf): Likewise.
13273 * math/s_casinhl.c (__casinhl): Likewise.
13274 * math/libm-test.inc (casin_test): Add more tests.
13275 (casinh_test): Likewise.
13276 * sysdeps/i386/fpu/libm-test-ulps: Update.
13277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13279 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13281 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13283 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13285 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13287 (denorm): Likewise.
13288 (__mp_dbl): Likewise.
13291 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13292 and adjust the header comment.
13294 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13295 variable name from declaration.
13297 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13300 Initialize COMMON_CPUID_INDEX_7 element.
13301 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13302 (CPUID_RTM): Likewise.
13303 (HAS_RTM): Likewise.
13304 (COMMON_CPUID_INDEX_7): New enum.
13306 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13309 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13310 size is zero, record memory as freed.
13312 2013-01-03 Andreas Jaeger <aj@suse.de>
13314 * po/ia.po: Add new Interlingua translation.
13316 2012-01-03 Allan McRae <allan@archlinux.org>
13318 * locale/programs/localedef.c: Fix description of '--posix' flag.
13320 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13322 * NEWS: Update dates in second copyright notice.
13323 * README: Update copyright dates in example.
13324 * manual/libc.texinfo: Update copyright dates.
13325 * scripts/test-installation.pl: Update copyright date in --version
13328 * hurd/ctty-input.c: Fix copyright notice formatting.
13329 * hurd/ctty-output.c: Likewise.
13330 * hurd/dtable.c: Likewise.
13331 * hurd/hurd-raise.c: Likewise.
13332 * hurd/hurdprio.c: Likewise.
13333 * hurd/msgportdemux.c: Likewise.
13334 * misc/sys/file.h: Likewise.
13335 * misc/sys/ioctl.h: Likewise.
13336 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13337 * sysdeps/mach/hurd/chdir.c: Likewise.
13338 * sysdeps/mach/hurd/fchdir.c: Likewise.
13339 * sysdeps/mach/hurd/rename.c: Likewise.
13340 * sysdeps/mach/hurd/rmdir.c: Likewise.
13341 * sysdeps/mach/hurd/seekdir.c: Likewise.
13342 * sysdeps/mach/hurd/setsid.c: Likewise.
13343 * sysdeps/posix/wait3.c: Likewise.
13345 * All files with FSF copyright notices: Update copyright dates
13346 using scripts/update-copyrights.
13347 * intl/plural.c: Regenerated.
13348 * locale/programs/charmap-kw.h: Likewise.
13349 * locale/programs/locfile-kw.h: Likewise.
13351 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13353 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13356 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13357 calculation loop and add branch prediction.
13359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13360 check access beyond bounds of m1np.
13362 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13364 (__inv): Remove local variable MPTWO to use the global
13366 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13370 MP3HALFS static const.
13372 2013-01-01 David S. Miller <davem@davemloft.net>
13374 * po/ca.po: Update from translation team.
13376 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13378 * scripts/update-copyrights: New file.
13379 * Makeconfig: Reformat copyright notice.
13380 * ctype/ctype.h: Likewise.
13381 * debug/swprintf_chk.c: Likewise.
13382 * elf/dl-cache.c: Likewise.
13383 * elf/dl-debug.c: Likewise.
13384 * elf/dl-object.c: Likewise.
13385 * grp/initgroups.c: Likewise.
13386 * hurd/Makefile: Likewise.
13387 * hurd/hurd/signal.h: Likewise.
13388 * hurd/hurdfault.c: Likewise.
13389 * hurd/hurdioctl.c: Likewise.
13390 * hurd/hurdlookup.c: Likewise.
13391 * hurd/intr-msg.c: Likewise.
13392 * iconv/gconv_open.c: Likewise.
13393 * libio/swprintf.c: Likewise.
13394 * locale/lc-ctype.c: Likewise.
13395 * locale/nl_langinfo.c: Likewise.
13396 * mach/Machrules: Likewise.
13397 * mach/Makefile: Likewise.
13398 * malloc/obstack.h: Likewise.
13399 * manual/Makefile: Likewise.
13400 * manual/tsort.awk: Likewise.
13401 * misc/bits/stab.def: Likewise.
13402 * nis/nis_print_group_entry.c: Likewise.
13403 * nis/nis_table.c: Likewise.
13404 * nis/nss_compat/compat-pwd.c: Likewise.
13405 * nis/nss_compat/compat-spwd.c: Likewise.
13406 * po/Makefile: Likewise.
13407 * posix/fnmatch.c: Likewise.
13408 * posix/regex.h: Likewise.
13409 * resolv/Makefile: Likewise.
13410 * resolv/nss_dns/dns-network.c: Likewise.
13411 * resolv/res_hconf.c: Likewise.
13412 * scripts/gen-sorted.awk: Likewise.
13413 * soft-fp/soft-fp.h: Likewise.
13414 * stdio-common/printf.h: Likewise.
13415 * stdlib/monetary.h: Likewise.
13416 * stdlib/random.c: Likewise.
13417 * stdlib/random_r.c: Likewise.
13418 * sysdeps/generic/Makefile: Likewise.
13419 * sysdeps/gnu/Makefile: Likewise.
13420 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13448 * sysdeps/mach/hurd/errnos.awk: Likewise.
13449 * sysdeps/mach/hurd/fork.c: Likewise.
13450 * sysdeps/mach/hurd/getcwd.c: Likewise.
13451 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13452 * sysdeps/mach/hurd/mmap.c: Likewise.
13453 * sysdeps/mach/hurd/utimes.c: Likewise.
13454 * sysdeps/mach/hurd/xmknod.c: Likewise.
13455 * sysdeps/posix/profil.c: Likewise.
13456 * sysdeps/posix/readdir_r.c: Likewise.
13457 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13458 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13459 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13460 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13462 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13463 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13464 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13466 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13467 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13468 * sysdeps/pthread/lio_listio.c: Likewise.
13469 * sysdeps/sparc/dl-procinfo.h: Likewise.
13470 * sysdeps/unix/i386/sysdep.S: Likewise.
13471 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13472 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13473 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13474 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13476 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13477 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13478 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13479 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13480 * sysdeps/wordsize-32/divdi3.c: Likewise.
13481 * time/sys/time.h: Likewise.
13482 * wcsmbs/Makefile: Likewise.
13484 2013-01-01 David S. Miller <davem@davemloft.net>
13486 * po/fr.po: Update from translation team.
13488 * catgets/gencat.c: Update copyright year.
13489 * csu/version.c: Likewise.
13490 * debug/catchsegv.sh: Likewise.
13491 * debug/pcprofiledump.c: Likewise.
13492 * debug/xtrace.sh: Likewise.
13493 * elf/ldconfig.c: Likewise.
13494 * elf/ldd.bash.in: Likewise.
13495 * elf/pldd.c: Likewise.
13496 * elf/sotruss.ksh: Likewise.
13497 * elf/sprof.c: Likewise.
13498 * iconv/iconv_prog.c: Likewise.
13499 * iconv/iconvconfig.c: Likewise.
13500 * locale/programs/locale.c: Likewise.
13501 * locale/programs/localedef.c: Likewise.
13502 * login/programs/pt_chown.c: Likewise.
13503 * malloc/memusage.sh: Likewise.
13504 * malloc/memusagestat.c: Likewise.
13505 * malloc/mtrace.pl: Likewise.
13506 * nscd/nscd.c: Likewise.
13507 * nss/getent.c: Likewise.
13508 * nss/makedb.c: Likewise.
13509 * posix/getconf.c: Likewise.
13511 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13513 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13516 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13518 * math/bits/mathcalls.h (modf): Use __nonnull.
13520 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13522 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13523 (split): Use macro CN instead of the bare value.
13524 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13527 instead of the bare value.
13528 (power1): Likewise.
13530 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13534 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13536 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13538 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13539 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13540 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13541 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13543 2012-12-28 Andreas Jaeger <aj@suse.de>
13545 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13546 values are from Linux 3.7.
13548 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13549 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13551 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13553 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13556 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13558 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13559 variables with preprocessor constants.
13560 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13561 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13562 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13564 2012-12-27 Bruno Haible <bruno@clisp.org>
13567 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13570 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13573 and use variable directly.
13574 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13576 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13578 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13581 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13583 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13584 include directive. Remove local variable MPONE.
13585 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13586 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13587 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13589 2012-12-25 David S. Miller <davem@davemloft.net>
13591 * version.h (RELEASE): Set to "development".
13592 (VERSION): Set to "2.17.90".
13593 * NEWS: Add 2.18 section.
13595 2012-12-21 David S. Miller <davem@davemloft.net>
13597 * po/hr.po: Update from translation team.
13599 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13601 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13603 2012-12-19 Steve Ellcey <sellcey@mips.com>
13605 * NEWS: Mention new memcpy for MIPS.
13607 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13609 * manual/contrib.texi (Contributors): Spelling correction.
13611 2012-12-15 David S. Miller <davem@davemloft.net>
13613 * po/ru.po: Update from translation team.
13615 2012-12-13 David S. Miller <davem@davemloft.net>
13617 * NEWS: Mention IFUNC testsuite enhancements.
13619 * po/pl.po: Update from translation team.
13620 * po/bg.po: Likewise.
13622 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13623 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13625 2012-12-11 David S. Miller <davem@davemloft.net>
13627 * po/sv.po: Update from translation team.
13629 * po/vi.po: Update from translation team.
13631 * po/cs.po: Update from translation team.
13633 * po/de.po: Update from translation team.
13634 * po/eo.po: Likewise.
13635 * po/nl.po: Likewise.
13637 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13640 * manual/argp.texi (Argp Helper Functions): Move node to follow
13641 Argp Parsing State.
13644 * manual/conf.texi (Limits on File System Capacity): Mention if
13645 terminating null is included in the max size.
13647 2012-12-10 Andreas Jaeger <aj@suse.de>
13649 * po/cs.po: Update from translation team.
13651 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13653 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13654 void pointer and cast to uintptr_t.
13655 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13657 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13658 * sysdeps/s390/s390-64/memset.S: Likewise.
13660 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
13663 * menual/message.texi (Message Translation): Fix typos.
13664 (Helper programs for gettext): Likewise.
13666 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13669 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13672 2012-12-07 David S. Miller <davem@davemloft.net>
13674 * po/libc.pot: Update.
13676 2012-12-07 Richard Henderson <rth@redhat.com>
13679 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13680 normal/normal case to before the switch.
13681 (_FP_DIV): Likewise.
13683 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13684 Mike Frysinger <vapier@gentoo.org>
13686 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13687 check for __NR_fadvise64_64.
13689 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13691 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13692 0, not just to plain "0" as a statement.
13693 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13696 2012-12-06 Joseph Myers <joseph@codesourcery.com>
13698 * NEWS: Use sourceware.org in Bugzilla URL.
13700 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13703 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13705 * stdio-common/tst-put-error.c (do_test): Add newline to the
13706 padded test to ensure flush.
13708 2012-12-05 Jeff Law <law@redhat.com>
13710 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13712 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13714 * README: Don't refer to ports add-on as distributed separately.
13715 Mention AArch64 in list of systems supported in the ports add-on.
13717 * LICENSES: Add more non-FSF copyright and license notices.
13719 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13722 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13724 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13725 10000 as width of padded output.
13727 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13729 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13732 variable LX with __attribute__ ((unused)).
13733 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13735 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13738 with __attribute__ ((unused)).
13740 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13742 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13744 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13746 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13747 (CFLAGS-nldbl-acos.c): New variable.
13748 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13749 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13750 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13751 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13752 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13753 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13754 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13755 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13756 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13757 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13758 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13759 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13760 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13761 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13762 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13763 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13764 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13765 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13766 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13767 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13768 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13769 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13770 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13771 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13772 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13773 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13774 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13775 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13776 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13777 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13778 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13779 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13780 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13781 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13782 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13783 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13784 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13785 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13786 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13787 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13788 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13789 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13790 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13791 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13792 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13793 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13794 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13795 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13796 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13797 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13798 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13799 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13800 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13801 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13802 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13803 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13804 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13805 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13806 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13807 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13808 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13809 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13810 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13811 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13812 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13813 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13814 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13815 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13816 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13817 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13818 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13819 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13820 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13821 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13822 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13823 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13824 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13825 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13826 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13827 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13828 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13829 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13830 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13831 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13832 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13833 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13834 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13835 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13836 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13837 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13838 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13839 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13840 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13841 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13842 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13843 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13844 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13847 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13851 whole low double instead of just low 47 bits when splitting values
13854 2012-12-03 Allan McRae <allan@archlinux.org>
13856 * manual/stdio.texi (Predefined Printf Handlers): Remove
13857 @hsep and @vsep usage.
13859 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13861 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13862 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13864 2012-12-03 Jeff Law <law@redhat.com>
13866 * time/sys/time.h (settimeofday): Do not mark TV argument
13869 2012-12-01 Mike Frysinger <vapier@gentoo.org>
13871 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13872 when currently writing and seek to current position when not.
13873 * libio/Makefile (tests): Remove bug-fclose1.
13874 * libio/bug-fclose1.c: Delete.
13876 2012-12-01 Joseph Myers <joseph@codesourcery.com>
13878 * manual/arith.texi (feenableexcept): Fix typo.
13879 (fedisableexcept): Likewise.
13881 2012-11-30 Roland McGrath <roland@hack.frob.com>
13883 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13884 second, differently-typed declaration, rather than a cast.
13886 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13888 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13889 * include/rpc/svc.h: ... here.
13891 2012-11-30 Aurelien Jarno <aurel32@debian.org>
13894 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13895 depending n and resplen2 to catch cases where answer
13898 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13900 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13901 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13903 2012-11-29 Mike Frysinger <vapier@gentoo.org>
13905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13907 2012-11-29 Roland McGrath <roland@hack.frob.com>
13909 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13911 2012-11-28 Jeff Law <law@redhat.com>
13914 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13915 dataset_temporary. Track alloca usage into alloca_used.
13916 If dataset is large allocate and release it via malloc/free.
13918 2012-06-04 Florian Weimer <fweimer@redhat.com>
13921 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13923 2012-11-28 David S. Miller <davem@davemloft.net>
13925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13927 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13930 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13931 of pi/2 rounded to nearest to 64 bits.
13932 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13933 nearest to 64 bits.
13934 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13937 2012-11-28 Jeff Law <law@redhat.com>
13938 Martin Osvald <mosvald@redhat.com>
13941 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13942 * sunrpc/svc.c: Include time.h.
13943 (__svc_accept_failed): New function.
13944 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13945 any reason other than EINTR, call __svc_accept_failed.
13946 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13947 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13949 2012-11-28 Andreas Schwab <schwab@suse.de>
13951 * scripts/abilist.awk: Also handle indirect functions in .opd
13954 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13957 * sysdeps/x86/fpu/powl_helper.c: New file.
13958 * sysdeps/x86/fpu/Makefile: Likewise.
13959 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13961 (__ieee754_powl): Use __powl_helper for finite arguments except
13962 integer exponents below 8.
13963 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13965 (__ieee754_powl): Use __powl_helper for finite arguments except
13966 integer exponents below 8.
13967 * math/libm-test.inc (pow_test): Add more tests and enable some
13968 previously disabled tests.
13969 * sysdeps/i386/fpu/libm-test-ulps: Update.
13970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13972 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13973 Carlos O'Donell <carlos_odonell@mentor.com>
13975 * nss/makedb.c (is_prime): Assert that input is odd and greater
13976 than 4. Note that fact in a comment too.
13977 (next_prime): Add 4 to input.
13979 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13982 * libio/Makefile (tests): Add test case tst-fwrite-error.
13983 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13984 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13985 * libio/tst-fwrite-error.c: New test case.
13987 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13989 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13990 before casting to void *.
13991 * include/libc-internal.h (__pointer_type): New macro.
13992 (__integer_if_pointer_type_sub): Likewise.
13993 (__integer_if_pointer_type): Likewise.
13994 (cast_to_integer): Likewise.
13995 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13996 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13997 before casting to atomic64_t.
13998 (atomic_exchange_acq): Likewise.
13999 (__arch_exchange_and_add_body): Likewise.
14000 (__arch_add_body): Likewise.
14001 (atomic_add_negative): Likewise.
14002 (atomic_add_zero): Likewise.
14004 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14006 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14007 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14008 (add_fdes): Likewise.
14009 (linear_search_fdes): Likewise.
14010 (binary_search_unencoded_fdes): Likewise.
14012 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14014 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14016 2012-11-24 Adam Conrad <adconrad@0c3.net>
14018 * configure.in: Autodetect C++ header directories.
14019 * configure: Regenerated.
14021 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14023 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14025 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14029 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14031 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14032 LDBL_MANT_DIG == 106]: Disable some tests.
14033 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14035 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14039 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14040 input for small inputs. Return +/- pi/2 for large inputs.
14041 * math/libm-test.inc (atan_test): Add more tests.
14043 * sysdeps/generic/unwind-dw2-fde-glibc.c
14044 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14045 __attribute__ ((unused)).
14048 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14049 x * y if x and y are nonzero and z is zero.
14052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14053 nonzero exponents with absolute value below 0x1p-117 to +/-
14057 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14058 up arguments below 2**-450, not just those below 2**-500.
14059 * math/libm-test.inc (hypot_test): Add another test.
14062 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14063 Return a+b for ratio over 2**120, not 2**60.
14064 * math/libm-test.inc (hypot_test): Add another test.
14066 * math/libm-test.inc (clog_test): Use
14067 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14068 (clog10_test): Likewise.
14071 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14073 2012-11-22 Andreas Schwab <schwab@suse.de>
14075 * sysdeps/i386/fpu/libm-test-ulps: Update.
14077 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14079 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14080 printf output with newline.
14082 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14085 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14086 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14087 -z nodlopen, -z initfirst and -z execstack support.
14088 * configure: Regenerated.
14090 * elf/elf.h (DF_1_NODIRECT): New macro.
14091 (DF_1_IGNMULDEF): Likewise.
14092 (DF_1_NOKSYMS): Likewise.
14093 (DF_1_NOHDR): Likewise.
14094 (DF_1_EDITED): Likewise.
14095 (DF_1_NORELOC): Likewise.
14096 (DF_1_SYMINTPOSE): Likewise.
14097 (DF_1_GLOBAUDIT): Likewise.
14098 (DF_1_SINGLETON): Likewise.
14099 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14100 DT_1_SUPPORTED_MASK bits.
14101 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14103 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14105 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14107 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14109 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14112 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14113 (sendmmsg): Move declarations...
14114 * socket/sys/socket.h: ... here.
14115 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14116 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14118 * socket/recvmmsg.c: ... this new file.
14119 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14120 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14121 definition of __sendmmsg hidden.
14122 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14123 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14124 Move ENOSYS stub into and include it from...
14125 * socket/sendmmsg.c: ... this new file.
14126 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14127 (sysdep_routines): Move recvmmsg and sendmmsg...
14128 * socket/Makefile (routines): ... here.
14129 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14130 (GLIBC_PRIVATE): Add __sendmmsg.
14131 * include/sys/socket.h (__sendmmsg): Add declarations.
14132 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14135 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14138 variable I1 with __attribute__ ((unused)).
14139 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14141 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14143 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14144 DUMMY variables with __attribute__ ((unused)).
14146 * bits/byteswap.h: Include <bits/types.h>.
14147 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14149 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14151 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14152 string_t. Do not manually set errno.
14153 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14154 length with __strnlen. Make sure to both set errno and return it on
14157 2012-11-19 David S. Miller <davem@davemloft.net>
14159 With help from Joseph Myers.
14160 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14161 very large arguments properly.
14162 * math/libm-test.inc (atan_test): New tests.
14163 (atan2_test): New tests.
14164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14167 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14170 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14173 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14174 [POSIX] (EADDRNOTAVAIL): Likewise.
14175 [POSIX] (EAFNOSUPPORT): Likewise.
14176 [POSIX] (EALREADY): Likewise.
14177 [POSIX] (ECONNABORTED): Likewise.
14178 [POSIX] (ECONNREFUSED): Likewise.
14179 [POSIX] (ECONNRESET): Likewise.
14180 [POSIX] (EDESTADDRREQ): Likewise.
14181 [POSIX] (EDQUOT): Likewise.
14182 [POSIX] (EHOSTUNREACH): Likewise.
14183 [POSIX] (EIDRM): Likewise.
14184 [POSIX] (EISCONN): Likewise.
14185 [POSIX] (ELOOP): Likewise.
14186 [POSIX] (EMULTIHOP): Likewise.
14187 [POSIX] (ENETDOWN): Likewise.
14188 [POSIX] (ENETUNREACH): Likewise.
14189 [POSIX] (ENOBUFS): Likewise.
14190 [POSIX] (ENODATA): Likewise.
14191 [POSIX] (ENOLINK): Likewise.
14192 [POSIX] (ENOMSG): Likewise.
14193 [POSIX] (ENOPROTOOPT): Likewise.
14194 [POSIX] (ENOSR): Likewise.
14195 [POSIX] (ENOSTR): Likewise.
14196 [POSIX] (ENOTCONN): Likewise.
14197 [POSIX] (ENOTSOCK): Likewise.
14198 [POSIX] (EOPNOTSUPP): Likewise.
14199 [POSIX] (EOVERFLOW): Likewise.
14200 [POSIX] (EPROTO): Likewise.
14201 [POSIX] (EPROTONOSUPPORT): Likewise.
14202 [POSIX] (EPROTOTYPE): Likewise.
14203 [POSIX] (ESTALE): Likewise.
14204 [POSIX] (ETIME): Likewise.
14205 [POSIX] (ETXTBSY): Likewise.
14206 [POSIX] (EWOULDBLOCK): Likewise.
14207 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14208 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14209 [POSIX] (SEEK_CUR): Likewise.
14210 [POSIX] (SEEK_END): Likewise.
14211 [POSIX || UNIX98] (mode_t): Do not require.
14212 [POSIX] (off_t): Likewise.
14213 [POSIX] (pid_t): Likewise.
14214 [POSIX] (sys/stat.h): Do not allow header.
14215 [POSIX] (unistd.h): Likewise.
14216 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14217 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14218 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14219 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14221 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14222 sigevent): Specify elements.
14223 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14225 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14226 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14228 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14229 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14230 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14231 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14232 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14233 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14234 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14235 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14236 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14237 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14238 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14239 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14240 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14241 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14243 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14245 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14247 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14249 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14250 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14251 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14252 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14254 Specify lower bound on value.
14255 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14259 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14260 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14261 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14262 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14264 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14266 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14267 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14268 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14269 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14270 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14271 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14273 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14274 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14275 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14276 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14277 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14278 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14279 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14280 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14281 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14283 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14285 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14286 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14287 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14288 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14289 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14290 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14292 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14293 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14294 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14295 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14296 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14297 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14298 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14300 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14301 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14302 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14303 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14304 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14305 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14306 specify as optional.
14307 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14308 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14309 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14310 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14311 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14312 [XPG3] (NL_LANGMAX): Likewise.
14313 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14314 [POSIX || XPG3] (NL_NMAX): Likewise.
14315 [POSIX || XPG3] (NL_SETMAX): Likewise.
14316 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14317 [XPG3] (NZERO): Likewise.
14318 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14319 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14320 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14321 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14322 (REG_ERANGE): Expect.
14323 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14325 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14326 Use (void) in prototype.
14327 [POSIX] (*_t): Allow.
14328 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14329 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14330 (WRDE_BADVAL): Expect.
14332 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14334 [XPG3 || XPG4] (O_RSYNC): Likewise.
14335 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14337 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14338 [XPG3 || XPG4] (sigqueue): Likewise.
14339 [XPG3 || XPG4] (sigtimedwait): Likewise.
14340 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14341 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14342 [XPG3 || XPG4] (vsnprintf): Likewise.
14343 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14345 [XPG3 || XPG4] (blksize_t): Likewise.
14346 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14348 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14349 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14350 [XPG3 || XPG4] (struct itimerspec): Likewise.
14351 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14352 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14353 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14354 [XPG3 || XPG4] (clockid_t): Likewise.
14355 [XPG3 || XPG4] (timer_t): Likewise.
14356 [XPG3 || XPG4] (clock_getres): Likewise.
14357 [XPG3 || XPG4] (clock_gettime): Likewise.
14358 [XPG3 || XPG4] (clock_settime): Likewise.
14359 [XPG3 || XPG4] (nanosleep): Likewise.
14360 [XPG3 || XPG4] (timer_create): Likewise.
14361 [XPG3 || XPG4] (timer_delete): Likewise.
14362 [XPG3 || XPG4] (timer_gettime): Likewise.
14363 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14364 [XPG3 || XPG4] (timer_settime): Likewise.
14365 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14366 [XPG3 || XPG4] (getlogin_r): Likewise.
14367 [XPG3 || XPG4] (pread): Likewise.
14368 [XPG3 || XPG4] (pthread_atfork): Likewise.
14369 [XPG3 || XPG4] (pwrite): Likewise.
14372 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14375 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14377 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14378 finalizing MALLSTREAM.
14380 * sysdeps/mach/hurd/syncfs.c: New file.
14382 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14385 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14386 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14387 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14388 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14389 (_nss_dns_gethostbyname4_r): Likewise.
14390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14391 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14393 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14396 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14398 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14400 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14401 * elf/cache.c (print_entry): Print ",AArch64" for
14404 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14405 * elf/cache.c (print_entry): Print ",hard-float" for
14408 2012-11-18 David S. Miller <davem@davemloft.net>
14410 With help from Joseph Myers.
14411 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14413 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14415 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14416 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14418 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14419 * math/libm-test.inc (y0_test): New tests.
14420 (y1_test): New tests.
14421 * sysdeps/i386/fpu/libm-test-ulps: Update.
14422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14425 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14427 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14429 * configure: Regenerated.
14431 2012-11-17 David S. Miller <davem@davemloft.net>
14434 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14435 nonzero exponents with absolute value below 0x1p-128 to +/-
14438 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14440 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14442 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14444 * posix/getconf-speclist.c: New file.
14445 * posix/posix-envs.def: Likewise.
14446 * posix/confstr.c (START_ENV_GROUP): New macro.
14447 (END_ENV_GROUP): Likewise.
14448 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14449 (KNOWN_PRESENT_ENV_STRING): Likewise.
14450 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14451 (UNKNOWN_ENVIRONMENT): Likewise.
14452 (confstr): Include posix-envs.def instead of handling
14453 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14454 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14455 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14456 (END_ENV_GROUP): Likewise.
14457 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14458 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14459 (UNKNOWN_ENVIRONMENT): Likewise.
14460 (__sysconf): Include posix-envs.def instead of handling associated
14461 cases directly here.
14462 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14463 preprocessing getconf-speclist.c rather than running getconf or
14464 generating empty file.
14466 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14468 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14470 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14473 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14475 2012-11-16 David S. Miller <davem@davemloft.net>
14477 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14478 smaller than LDBL_EPSILON/2.0L, just return xm1.
14480 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14482 * elf/tst-array1.c (init): Set constructor priority to 1000.
14483 (fini): Set destructor priority to 1000.
14484 * elf/tst-array2dep.c: Likewise.
14486 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14489 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14490 (_IO_new_file_xsputn): Also return EOF if none of the input
14491 data was written when overflow failed.
14492 * libio/iopadn.c (_IO_padn): Likewise.
14493 * libio/iowpadn.c (_IO_wpadn): Likewise.
14494 * stdio-common/tst-put-error.c: Add copyright notice.
14495 (do_test): Add case for printing padded string.
14496 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14497 _IO_padn returned error.
14498 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14499 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14502 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14504 * libio/libioP.h: Add comment note that the references to C++
14505 bits are now obsolete.
14507 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14509 * math/libm-test.inc (check_complex): Use asprintf.
14511 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14513 * debug/pcprofiledump.c (print_version): Update copyright year.
14514 * malloc/memusagestat.c (print_version): Likewise.
14516 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14519 * elf/Makefile (tests): Add tst-audit8.
14520 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14521 ($(objpfx)tst-audit8.out): New target.
14522 (tst-audit8-ENV): New variable.
14523 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14524 audit if l_reloc_result is NULL.
14525 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14526 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14527 * elf/tst-audit8.c: New file.
14529 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14531 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14532 * misc/Makefile (CFLAGS-select.c): Define.
14533 * posix/Makefile (CFLAGS-pause.c): Define.
14535 2012-11-13 David S. Miller <davem@davemloft.net>
14537 * crypt/Makefile: Move test targets after toplevel Rules
14538 inclusion. Grab any necessary sysdep routines when linking.
14539 * crypt/md5.c (md5_process_block): Remove define, we will always
14540 name it __md5_process_block.
14541 (md5_finish_ctx): Update md5_process_block call.
14542 (md5_stream): Likewise.
14543 (md5_process_bytes): Likewise.
14544 (md5_process_block): Rename to __md5_process_block and move to ...
14545 * crypt/md5-block.c: ... here.
14546 * crypt/sha256.c (sha256_process_block): Move to ...
14547 * crypt/sha256-block.c: ... here.
14548 * crypt/sha512.c (sha512_process_block): Move to ...
14549 * crypt/sha512-block.c: ... here.
14550 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14552 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14553 * sysdeps/sparc/sparc64/multiarch/Makefile
14554 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14556 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14557 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14559 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14560 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14561 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14562 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14563 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14564 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14565 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14566 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14567 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14569 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14570 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14572 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14574 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14576 * timezone/tzselect.ksh: Update from tzcode git revision
14577 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14578 * timezone/zdump.c: Likewise.
14579 * timezone/zic.c: Likewise.
14580 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14581 in TZVERSION setting, not $(PKGVERSION).
14582 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14583 REPORT_BUGS_TO settings.
14586 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14589 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14591 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14592 detection to immediately after _FP_ROUND().
14593 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14596 2012-11-11 David S. Miller <davem@davemloft.net>
14598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14600 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14601 __close rather than their public counterparts.
14603 2012-11-10 Joseph Myers <joseph@codesourcery.com>
14605 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14607 [UNIX98] (sem_timedwait): Do not expect.
14608 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14609 [XPG4 || UNIX98] (sockatmark): Do not expect.
14610 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14611 (clock_getcpuclockid): Do not expect.
14612 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14613 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14615 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14616 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14617 [UNIX98] (vwscanf): Likewise.
14618 [UNIX98] (vswscanf): Likewise.
14620 2012-11-09 Joseph Myers <joseph@codesourcery.com>
14622 * timezone/version.h: Remove file.
14623 * timezone/README: Do not refer to version.h.
14624 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14625 $(objpfx)version.h.
14626 ($(objpfx)zdump.o): Likewise.
14627 ($(objpfx)version.h): New target.
14629 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14631 * timezone/README: Don't mention modification to tzselect.ksh.
14632 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14633 work on unmodified tzselect.ksh. Substitute version numbers in
14636 * Makefile (format-me): Remove.
14637 (INSTALL): Adjust indentation. Use commands directly instead of
14638 using $(format-me).
14640 * aclocal.m4 (ACX_PKGVERSION): New macro.
14641 (ACX_BUGURL): Likewise.
14642 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14643 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14644 (REPORT_BUGS_TO): Likewise.
14645 * configure: Regenerated.
14646 * config.h.in (PKGVERSION): New macro.
14647 (REPORT_BUGS_TO): Likewise.
14648 * config.make.in (PKGVERSION): New variable.
14649 (PKGVERSION_TEXI): Likewise.
14650 (REPORT_BUGS_TO): Likewise.
14651 (REPORT_BUGS_TEXI): Likewise.
14652 * Makefile (format-me): Use -I$(common-objpfx)manual.
14653 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14654 ($(common-objpfx)manual/%): New target.
14655 (manual/%): Remove target.
14656 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14657 (print_version): Use PKGVERSION.
14658 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14659 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14660 and REPORT_BUGS_TO.
14661 ($(objpfx)xtrace): Likewise.
14662 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14663 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14664 (print_version): Use PKGVERSION.
14665 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14666 (do_version): Use PKGVERSION.
14667 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14669 (common-ldd-rewrite): Likewise.
14670 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14671 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14672 (print_version): Use PKGVERSION.
14673 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14674 * elf/pldd.c (argp_program_bug_address): Remove variable.
14675 (more_help): New function.
14676 (argp): Use more_help.
14677 (print_version): Use PKGVERSION.
14678 * elf/sln.c (main): Use PKGVERSION.
14679 (usage): Use REPORT_BUGS_TO.
14680 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14681 (top level): Use PKGVERSION.
14682 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14683 (print_version): Use PKGVERSION.
14684 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14685 (print_version): Use PKGVERSION.
14686 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14687 (print_version): Use PKGVERSION.
14688 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14689 (print_version): Use PKGVERSION.
14690 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14691 (print_version): Use PKGVERSION.
14692 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14693 (print_version): Use PKGVERSION.
14694 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14696 ($(objpfx)memusage): Likewise.
14697 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14698 (do_version): Use PKGVERSION.
14699 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14700 (print_version): Use PKGVERSION.
14701 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14702 ($PKGVERSION): New variable.
14703 ($REPORT_BUGS_TO): Likewise.
14704 (usage): Use $REPORT_BUGS_TO.
14705 (top level): Use $PKGVERSION.
14706 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14707 ($(objpfx)pkgvers.texi): New rule.
14708 ($(objpfx)stamp-pkgvers): Likewise.
14709 * manual/install.texi: Include pkgvers.texi.
14710 (--with-pkgversion): Document new configure option.
14711 (--with-bugurl): Likewise.
14712 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14713 than necessarily for this particular distribution. Use
14714 REPORT_BUGS_TO for where to report bugs.
14715 * INSTALL: Regenerated.
14716 * manual/libc.texinfo: Include pkgvers.texi.
14717 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14718 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14719 (print_version): Use PKGVERSION.
14720 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14721 (print_version): Use PKGVERSION.
14722 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14723 (print_version): Use PKGVERSION.
14724 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14725 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14727 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14728 (print_version): Use PKGVERSION.
14729 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14730 (print_version): Use PKGVERSION.
14731 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14734 * timezone/checktab.awk: Update from tzcode 2012i.
14735 * timezone/ialloc.c: Likewise.
14736 * timezone/private.h: Likewise.
14737 * timezone/scheck.c: Likewise.
14738 * timezone/tzfile.h: Likewise.
14739 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14740 (TZVERSION): Hardcode tzcode version number.
14741 * timezone/zdump.c: Update from tzcode 2012i.
14742 * timezone/zic.c: Likewise.
14743 * timezone/version.h: New file.
14744 * timezone/README: Describe version.h. Update upstream location.
14747 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14748 (mktemp): Enable declaration.
14749 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14750 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14751 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14752 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14766 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14767 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14768 for copies of such integer values.
14769 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14770 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14772 2012-11-09 Andreas Jaeger <aj@suse.de>
14774 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14775 definitions and declarations that are provided by
14776 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14778 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14780 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14781 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14782 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14785 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14787 * elf/elf.h: Update comment before AArch64 relocations.
14789 2012-11-07 David S. Miller <davem@davemloft.net>
14791 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14792 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14793 (__start_context): Declare.
14794 (__makecontext_ret): Delete.
14795 (__makecontext): Hook up __start_context instead of
14797 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14798 (sysdep_routines): Add __start_context when in stdlib.
14800 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14802 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14803 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14804 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14806 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14807 (READELF): New variable. Use it instead of hardcoded "readelf".
14809 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14811 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14812 * sysdeps/x86/Makefile: Here.
14813 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14814 * sysdeps/x86/tst-xmmymm.sh: This.
14816 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14818 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14820 [UNIX98] (pthread_barrier_t): Do not expect.
14821 [UNIX98] (pthread_barrierattr_t): Likewise.
14822 [UNIX98] (pthread_spinlock_t): Likewise.
14823 [UNIX98] (pthread_barrier_destroy): Likewise.
14824 [UNIX98] (pthread_barrier_init): Likewise.
14825 [UNIX98] (pthread_barrier_wait): Likewise.
14826 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14827 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14828 [UNIX98] (pthread_barrierattr_init): Likewise.
14829 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14830 [UNIX98] (pthread_getcpuclockid): Likewise.
14831 [UNIX98] (pthread_mutex_timedlock): Likewise.
14832 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14833 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14834 [UNIX98] (pthread_sigmask): Likewise.
14835 [UNIX98] (pthread_spin_destroy): Likewise.
14836 [UNIX98] (pthread_spin_init): Likewise.
14837 [UNIX98] (pthread_spin_lock): Likewise.
14838 [UNIX98] (pthread_spin_trylock): Likewise.
14839 [UNIX98] (pthread_spin_unlock): Likewise.
14840 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14842 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14843 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14844 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14845 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14846 [XPG3 || XPG4] (pthread_key_t): Likewise.
14847 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14848 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14849 [XPG3 || XPG4] (pthread_once_t): Likewise.
14850 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14851 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14852 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14853 [XPG3 || XPG4] (pthread_t): Likewise.
14855 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14857 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14859 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14860 Change function return type to int.
14862 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14863 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14864 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14865 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14866 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14867 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14868 [!POSIX] (posix_madvise): Likewise.
14869 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14871 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14872 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14873 (mode_t): Likewise.
14874 (posix_mem_offset): Likewise.
14875 (posix_typed_mem_get_info): Likewise.
14876 (posix_typed_mem_open): Likewise.
14878 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14879 Change condition to [XOPEN2K8].
14881 * conform/conformtest.pl: Preprocess allow-header data with -x c
14882 instead of from stdin.
14883 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14884 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14885 [C99-based standards] (cerfc): Likewise.
14886 [C99-based standards] (cexp2): Likewise.
14887 [C99-based standards] (cexpm1): Likewise.
14888 [C99-based standards] (clog10): Likewise.
14889 [C99-based standards] (clog1p): Likewise.
14890 [C99-based standards] (clog2): Likewise.
14891 [C99-based standards] (clgamma): Likewise.
14892 [C99-based standards] (ctgamma): Likewise.
14893 [C99-based standards] (cerff): Likewise.
14894 [C99-based standards] (cerfcf): Likewise.
14895 [C99-based standards] (cexp2f): Likewise.
14896 [C99-based standards] (cexpm1f): Likewise.
14897 [C99-based standards] (clog10f): Likewise.
14898 [C99-based standards] (clog1pf): Likewise.
14899 [C99-based standards] (clog2f): Likewise.
14900 [C99-based standards] (clgammaf): Likewise.
14901 [C99-based standards] (ctgammaf): Likewise.
14902 [C99-based standards] (cerfl): Likewise.
14903 [C99-based standards] (cerfcl): Likewise.
14904 [C99-based standards] (cexp2l): Likewise.
14905 [C99-based standards] (cexpm1l): Likewise.
14906 [C99-based standards] (clog10l): Likewise.
14907 [C99-based standards] (clog1pl): Likewise.
14908 [C99-based standards] (clog2l): Likewise.
14909 [C99-based standards] (clgammal): Likewise.
14910 [C99-based standards] (ctgammal): Likewise.
14911 * conform/data/inttypes.h-data [C99-based standards]: Include
14912 stdint.h-data. Remove all expectations for stdint.h contents.
14913 [C99-based standards] (PRI*): Do not allow.
14914 [C99-based standards] (SCN*): Likewise.
14915 [C99-based standards] (*_t): Likewise.
14916 [C99-based-standards] (PRId8): Expect macro.
14917 [C99-based-standards] (PRIi8): Likewise.
14918 [C99-based-standards] (PRIo8): Likewise.
14919 [C99-based-standards] (PRIu8): Likewise.
14920 [C99-based-standards] (PRIx8): Likewise.
14921 [C99-based-standards] (PRIX8): Likewise.
14922 [C99-based-standards] (SCNd8): Likewise.
14923 [C99-based-standards] (SCNi8): Likewise.
14924 [C99-based-standards] (SCNo8): Likewise.
14925 [C99-based-standards] (SCNu8): Likewise.
14926 [C99-based-standards] (SCNx8): Likewise.
14927 [C99-based-standards] (PRIdLEAST8): Likewise.
14928 [C99-based-standards] (PRIiLEAST8): Likewise.
14929 [C99-based-standards] (PRIoLEAST8): Likewise.
14930 [C99-based-standards] (PRIuLEAST8): Likewise.
14931 [C99-based-standards] (PRIxLEAST8): Likewise.
14932 [C99-based-standards] (PRIXLEAST8): Likewise.
14933 [C99-based-standards] (SCNdLEAST8): Likewise.
14934 [C99-based-standards] (SCNiLEAST8): Likewise.
14935 [C99-based-standards] (SCNoLEAST8): Likewise.
14936 [C99-based-standards] (SCNuLEAST8): Likewise.
14937 [C99-based-standards] (SCNxLEAST8): Likewise.
14938 [C99-based-standards] (PRIdFAST8): Likewise.
14939 [C99-based-standards] (PRIiFAST8): Likewise.
14940 [C99-based-standards] (PRIoFAST8): Likewise.
14941 [C99-based-standards] (PRIuFAST8): Likewise.
14942 [C99-based-standards] (PRIxFAST8): Likewise.
14943 [C99-based-standards] (PRIXFAST8): Likewise.
14944 [C99-based-standards] (SCNdFAST8): Likewise.
14945 [C99-based-standards] (SCNiFAST8): Likewise.
14946 [C99-based-standards] (SCNoFAST8): Likewise.
14947 [C99-based-standards] (SCNuFAST8): Likewise.
14948 [C99-based-standards] (SCNxFAST8): Likewise.
14949 [C99-based-standards] (PRId16): Likewise.
14950 [C99-based-standards] (PRIi16): Likewise.
14951 [C99-based-standards] (PRIo16): Likewise.
14952 [C99-based-standards] (PRIu16): Likewise.
14953 [C99-based-standards] (PRIx16): Likewise.
14954 [C99-based-standards] (PRIX16): Likewise.
14955 [C99-based-standards] (SCNd16): Likewise.
14956 [C99-based-standards] (SCNi16): Likewise.
14957 [C99-based-standards] (SCNo16): Likewise.
14958 [C99-based-standards] (SCNu16): Likewise.
14959 [C99-based-standards] (SCNx16): Likewise.
14960 [C99-based-standards] (PRIdLEAST16): Likewise.
14961 [C99-based-standards] (PRIiLEAST16): Likewise.
14962 [C99-based-standards] (PRIoLEAST16): Likewise.
14963 [C99-based-standards] (PRIuLEAST16): Likewise.
14964 [C99-based-standards] (PRIxLEAST16): Likewise.
14965 [C99-based-standards] (PRIXLEAST16): Likewise.
14966 [C99-based-standards] (SCNdLEAST16): Likewise.
14967 [C99-based-standards] (SCNiLEAST16): Likewise.
14968 [C99-based-standards] (SCNoLEAST16): Likewise.
14969 [C99-based-standards] (SCNuLEAST16): Likewise.
14970 [C99-based-standards] (SCNxLEAST16): Likewise.
14971 [C99-based-standards] (PRIdFAST16): Likewise.
14972 [C99-based-standards] (PRIiFAST16): Likewise.
14973 [C99-based-standards] (PRIoFAST16): Likewise.
14974 [C99-based-standards] (PRIuFAST16): Likewise.
14975 [C99-based-standards] (PRIxFAST16): Likewise.
14976 [C99-based-standards] (PRIXFAST16): Likewise.
14977 [C99-based-standards] (SCNdFAST16): Likewise.
14978 [C99-based-standards] (SCNiFAST16): Likewise.
14979 [C99-based-standards] (SCNoFAST16): Likewise.
14980 [C99-based-standards] (SCNuFAST16): Likewise.
14981 [C99-based-standards] (SCNxFAST16): Likewise.
14982 [C99-based-standards] (PRId32): Likewise.
14983 [C99-based-standards] (PRIi32): Likewise.
14984 [C99-based-standards] (PRIo32): Likewise.
14985 [C99-based-standards] (PRIu32): Likewise.
14986 [C99-based-standards] (PRIx32): Likewise.
14987 [C99-based-standards] (PRIX32): Likewise.
14988 [C99-based-standards] (SCNd32): Likewise.
14989 [C99-based-standards] (SCNi32): Likewise.
14990 [C99-based-standards] (SCNo32): Likewise.
14991 [C99-based-standards] (SCNu32): Likewise.
14992 [C99-based-standards] (SCNx32): Likewise.
14993 [C99-based-standards] (PRIdLEAST32): Likewise.
14994 [C99-based-standards] (PRIiLEAST32): Likewise.
14995 [C99-based-standards] (PRIoLEAST32): Likewise.
14996 [C99-based-standards] (PRIuLEAST32): Likewise.
14997 [C99-based-standards] (PRIxLEAST32): Likewise.
14998 [C99-based-standards] (PRIXLEAST32): Likewise.
14999 [C99-based-standards] (SCNdLEAST32): Likewise.
15000 [C99-based-standards] (SCNiLEAST32): Likewise.
15001 [C99-based-standards] (SCNoLEAST32): Likewise.
15002 [C99-based-standards] (SCNuLEAST32): Likewise.
15003 [C99-based-standards] (SCNxLEAST32): Likewise.
15004 [C99-based-standards] (PRIdFAST32): Likewise.
15005 [C99-based-standards] (PRIiFAST32): Likewise.
15006 [C99-based-standards] (PRIoFAST32): Likewise.
15007 [C99-based-standards] (PRIuFAST32): Likewise.
15008 [C99-based-standards] (PRIxFAST32): Likewise.
15009 [C99-based-standards] (PRIXFAST32): Likewise.
15010 [C99-based-standards] (SCNdFAST32): Likewise.
15011 [C99-based-standards] (SCNiFAST32): Likewise.
15012 [C99-based-standards] (SCNoFAST32): Likewise.
15013 [C99-based-standards] (SCNuFAST32): Likewise.
15014 [C99-based-standards] (SCNxFAST32): Likewise.
15015 [C99-based-standards] (PRId64): Likewise.
15016 [C99-based-standards] (PRIi64): Likewise.
15017 [C99-based-standards] (PRIo64): Likewise.
15018 [C99-based-standards] (PRIu64): Likewise.
15019 [C99-based-standards] (PRIx64): Likewise.
15020 [C99-based-standards] (PRIX64): Likewise.
15021 [C99-based-standards] (SCNd64): Likewise.
15022 [C99-based-standards] (SCNi64): Likewise.
15023 [C99-based-standards] (SCNo64): Likewise.
15024 [C99-based-standards] (SCNu64): Likewise.
15025 [C99-based-standards] (SCNx64): Likewise.
15026 [C99-based-standards] (PRIdLEAST64): Likewise.
15027 [C99-based-standards] (PRIiLEAST64): Likewise.
15028 [C99-based-standards] (PRIoLEAST64): Likewise.
15029 [C99-based-standards] (PRIuLEAST64): Likewise.
15030 [C99-based-standards] (PRIxLEAST64): Likewise.
15031 [C99-based-standards] (PRIXLEAST64): Likewise.
15032 [C99-based-standards] (SCNdLEAST64): Likewise.
15033 [C99-based-standards] (SCNiLEAST64): Likewise.
15034 [C99-based-standards] (SCNoLEAST64): Likewise.
15035 [C99-based-standards] (SCNuLEAST64): Likewise.
15036 [C99-based-standards] (SCNxLEAST64): Likewise.
15037 [C99-based-standards] (PRIdFAST64): Likewise.
15038 [C99-based-standards] (PRIiFAST64): Likewise.
15039 [C99-based-standards] (PRIoFAST64): Likewise.
15040 [C99-based-standards] (PRIuFAST64): Likewise.
15041 [C99-based-standards] (PRIxFAST64): Likewise.
15042 [C99-based-standards] (PRIXFAST64): Likewise.
15043 [C99-based-standards] (SCNdFAST64): Likewise.
15044 [C99-based-standards] (SCNiFAST64): Likewise.
15045 [C99-based-standards] (SCNoFAST64): Likewise.
15046 [C99-based-standards] (SCNuFAST64): Likewise.
15047 [C99-based-standards] (SCNxFAST64): Likewise.
15048 [C99-based-standards] (PRIdMAX): Likewise.
15049 [C99-based-standards] (PRIiMAX): Likewise.
15050 [C99-based-standards] (PRIoMAX): Likewise.
15051 [C99-based-standards] (PRIuMAX): Likewise.
15052 [C99-based-standards] (PRIxMAX): Likewise.
15053 [C99-based-standards] (PRIXMAX): Likewise.
15054 [C99-based-standards] (SCNdMAX): Likewise.
15055 [C99-based-standards] (SCNiMAX): Likewise.
15056 [C99-based-standards] (SCNoMAX): Likewise.
15057 [C99-based-standards] (SCNuMAX): Likewise.
15058 [C99-based-standards] (SCNxMAX): Likewise.
15059 [C99-based-standards] (PRIdPTR): Likewise.
15060 [C99-based-standards] (PRIiPTR): Likewise.
15061 [C99-based-standards] (PRIoPTR): Likewise.
15062 [C99-based-standards] (PRIuPTR): Likewise.
15063 [C99-based-standards] (PRIxPTR): Likewise.
15064 [C99-based-standards] (PRIXPTR): Likewise.
15065 [C99-based-standards] (SCNdPTR): Likewise.
15066 [C99-based-standards] (SCNiPTR): Likewise.
15067 [C99-based-standards] (SCNoPTR): Likewise.
15068 [C99-based-standards] (SCNuPTR): Likewise.
15069 [C99-based-standards] (SCNxPTR): Likewise.
15070 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15072 * conform/data/stdint.h-data: Update comments to clarify
15074 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15076 [C99-based standards] (INT8_MAX): Likewise.
15077 [C99-based standards] (INT16_MIN): Likewise.
15078 [C99-based standards] (INT16_MAX): Likewise.
15079 [C99-based standards] (INT32_MIN): Likewise.
15080 [C99-based standards] (INT32_MAX): Likewise.
15081 [C99-based standards] (INT64_MIN): Likewise.
15082 [C99-based standards] (INT64_MAX): Likewise.
15083 [C99-based standards] (UINT8_MAX): Likewise.
15084 [C99-based standards] (UINT16_MAX): Likewise.
15085 [C99-based standards] (UINT32_MAX): Likewise.
15086 [C99-based standards] (UINT64_MAX): Likewise.
15087 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15088 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15089 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15090 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15091 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15092 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15093 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15094 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15095 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15096 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15097 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15098 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15099 [C99-based standards] (INT_FAST8_MIN): Likewise.
15100 [C99-based standards] (INT_FAST8_MAX): Likewise.
15101 [C99-based standards] (INT_FAST16_MIN): Likewise.
15102 [C99-based standards] (INT_FAST16_MAX): Likewise.
15103 [C99-based standards] (INT_FAST32_MIN): Likewise.
15104 [C99-based standards] (INT_FAST32_MAX): Likewise.
15105 [C99-based standards] (INT_FAST64_MIN): Likewise.
15106 [C99-based standards] (INT_FAST64_MAX): Likewise.
15107 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15108 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15109 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15110 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15111 [C99-based standards] (INTPTR_MIN): Likewise.
15112 [C99-based standards] (INTPTR_MAX): Likewise.
15113 [C99-based standards] (UINTPTR_MAX): Likewise.
15114 [C99-based standards] (INTMAX_MIN): Likewise.
15115 [C99-based standards] (INTMAX_MAX): Likewise.
15116 [C99-based standards] (UINTMAX_MAX): Likewise.
15117 [C99-based standards] (PTRDIFF_MIN): Likewise.
15118 [C99-based standards] (PTRDIFF_MAX): Likewise.
15119 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15120 [C99-based standards] (SIZE_MAX): Likewise.
15121 [C99-based standards] (WCHAR_MAX): Likewise.
15122 [C99-based standards] (WINT_MAX): Likewise.
15123 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15124 constraint on value.
15125 [C99-based standards] (WCHAR_MIN): Likewise.
15126 [C99-based standards] (WINT_MIN): Likewise.
15127 [C99-based standards] (*_t): Allow.
15128 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15129 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15130 Include math.h-data and complex.h-data. Remove all expectations
15131 of math.h and complex.h contents.
15132 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15134 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15135 (struct tm): Expect tag.
15136 [C99-based-standards] (wcstof): Expect function.
15137 [C99-based-standards] (wcstold): Likewise.
15138 [C99-based-standards] (wcstoll): Likewise.
15139 [C99-based-standards] (wcstoull): Likewise.
15140 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15141 macro-int-constant. Specify type.
15142 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15143 constraint on value.
15144 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15146 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15148 [ISO C standards]: Do not allow headers.
15149 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15150 wcs[abcdefghijklmnopqrstuvwxyz]*.
15151 [ISO C standards] (*_t): Do not allow.
15152 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15154 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15155 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15157 [ISO C standards]: Do not allow headers.
15158 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15159 is[abcdefghijklmnopqrstuvwxyz]*.
15160 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15161 to[abcdefghijklmnopqrstuvwxyz]*.
15162 [ISO C standards] (*_t): Do not allow.
15163 * conform/data/stdalign.h-data: New file.
15164 * conform/data/stdbool.h-data: Likewise.
15165 * conform/data/stdnoreturn.h-data: Likewise.
15167 2012-11-07 Roland McGrath <roland@hack.frob.com>
15170 * manual/filesys.texi (Directory Entries): Typo fix.
15171 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15173 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15175 * elf/elf.h (EM_AARCH64): New macro.
15176 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15177 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15178 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15179 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15180 (R_AARCH64_TLSDESC): Likewise.
15181 (NT_ARM_TLS): Likewise.
15182 (NT_ARM_HW_BREAK): Likewise.
15183 (NT_ARM_HW_WATCH): Likewise.
15185 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15188 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15189 (__ieee754_powl): Saturate nonzero exponents with absolute value
15190 below 0x1p-79 to +/- 0x1p-79.
15191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15192 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15193 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15194 nonzero exponents with absolute value below 0x1p-32 to +/-
15196 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15197 (__ieee754_powl): Saturate nonzero exponents with absolute value
15198 below 0x1p-79 to +/- 0x1p-79.
15199 * math/libm-test.inc (pow_test): Add more tests.
15201 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15203 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15204 _dl_s390_cap_flags with kernel. Increase string length.
15205 (_dl_s390_platforms): Add z196 and zEC12.
15207 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15209 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15210 Change XOPEN21K to XOPEN2K.
15212 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15214 * string/memmove.c: Use memcpy when possible.
15216 2012-11-06 Andreas Jaeger <aj@suse.de>
15218 * po/eo.po: Update from translation team.
15220 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15224 exponent and small x and y exponents, scale x or y up. Increase
15225 by 2 the exponent used in scaling up.
15226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15228 * math/libm-test.inc (fma_test): Add more tests.
15229 (fma_test_towardzero): Likewise.
15230 (fma_test_downward): Likewise.
15231 (fma_test_upward): Likewise.
15233 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15236 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15240 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15241 namespace for names of struct fields.
15242 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15244 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15245 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15247 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15250 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15252 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15254 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15258 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15261 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15265 definitely overflow as x * y not x * y + z.
15266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15268 * math/libm-test.inc (fma_test): Add more tests.
15269 (fma_test_towardzero): Likewise.
15270 (fma_test_downward): Likewise.
15271 (fma_test_upward): Likewise.
15273 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15277 * include/stub-tag.h: Remove file.
15278 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15280 * manual/maint.texi (Porting): Don't reference it.
15281 * Makerules ($(objpfx)stubs): Likewise.
15282 * dirent/closedir.c: Don't include <stub-tag.h>.
15283 * dirent/dirfd.c: Likewise.
15284 * dirent/fdopendir.c: Likewise.
15285 * dirent/getdents.c: Likewise.
15286 * dirent/getdents64.c: Likewise.
15287 * dirent/opendir.c: Likewise.
15288 * dirent/readdir.c: Likewise.
15289 * dirent/readdir64.c: Likewise.
15290 * dirent/readdir64_r.c: Likewise.
15291 * dirent/readdir_r.c: Likewise.
15292 * dirent/rewinddir.c: Likewise.
15293 * dirent/seekdir.c: Likewise.
15294 * dirent/telldir.c: Likewise.
15295 * gmon/profil.c: Likewise.
15296 * grp/setgroups.c: Likewise.
15297 * inet/if_index.c: Likewise.
15298 * io/access.c: Likewise.
15299 * io/chdir.c: Likewise.
15300 * io/chmod.c: Likewise.
15301 * io/chown.c: Likewise.
15302 * io/close.c: Likewise.
15303 * io/dup.c: Likewise.
15304 * io/dup2.c: Likewise.
15305 * io/dup3.c: Likewise.
15306 * io/euidaccess.c: Likewise.
15307 * io/faccessat.c: Likewise.
15308 * io/fchdir.c: Likewise.
15309 * io/fchmod.c: Likewise.
15310 * io/fchmodat.c: Likewise.
15311 * io/fchown.c: Likewise.
15312 * io/fchownat.c: Likewise.
15313 * io/fcntl.c: Likewise.
15314 * io/flock.c: Likewise.
15315 * io/fstatfs.c: Likewise.
15316 * io/fstatfs64.c: Likewise.
15317 * io/fstatvfs.c: Likewise.
15318 * io/fstatvfs64.c: Likewise.
15319 * io/futimens.c: Likewise.
15320 * io/fxstat.c: Likewise.
15321 * io/fxstat64.c: Likewise.
15322 * io/fxstatat.c: Likewise.
15323 * io/fxstatat64.c: Likewise.
15324 * io/getcwd.c: Likewise.
15325 * io/isatty.c: Likewise.
15326 * io/lchmod.c: Likewise.
15327 * io/lchown.c: Likewise.
15328 * io/link.c: Likewise.
15329 * io/linkat.c: Likewise.
15330 * io/lseek.c: Likewise.
15331 * io/lseek64.c: Likewise.
15332 * io/lxstat64.c: Likewise.
15333 * io/mkdir.c: Likewise.
15334 * io/mkdirat.c: Likewise.
15335 * io/mkfifo.c: Likewise.
15336 * io/mkfifoat.c: Likewise.
15337 * io/open.c: Likewise.
15338 * io/open64.c: Likewise.
15339 * io/openat.c: Likewise.
15340 * io/openat64.c: Likewise.
15341 * io/pipe.c: Likewise.
15342 * io/pipe2.c: Likewise.
15343 * io/poll.c: Likewise.
15344 * io/posix_fadvise.c: Likewise.
15345 * io/posix_fadvise64.c: Likewise.
15346 * io/posix_fallocate.c: Likewise.
15347 * io/posix_fallocate64.c: Likewise.
15348 * io/read.c: Likewise.
15349 * io/readlink.c: Likewise.
15350 * io/readlinkat.c: Likewise.
15351 * io/rmdir.c: Likewise.
15352 * io/sendfile.c: Likewise.
15353 * io/sendfile64.c: Likewise.
15354 * io/statfs.c: Likewise.
15355 * io/statfs64.c: Likewise.
15356 * io/statvfs.c: Likewise.
15357 * io/statvfs64.c: Likewise.
15358 * io/symlink.c: Likewise.
15359 * io/symlinkat.c: Likewise.
15360 * io/ttyname.c: Likewise.
15361 * io/ttyname_r.c: Likewise.
15362 * io/umask.c: Likewise.
15363 * io/unlink.c: Likewise.
15364 * io/unlinkat.c: Likewise.
15365 * io/utime.c: Likewise.
15366 * io/utimensat.c: Likewise.
15367 * io/write.c: Likewise.
15368 * io/xmknod.c: Likewise.
15369 * io/xmknodat.c: Likewise.
15370 * io/xstat.c: Likewise.
15371 * io/xstat64.c: Likewise.
15372 * login/getpt.c: Likewise.
15373 * login/grantpt.c: Likewise.
15374 * login/unlockpt.c: Likewise.
15375 * math/e_acoshl.c: Likewise.
15376 * math/e_acosl.c: Likewise.
15377 * math/e_asinl.c: Likewise.
15378 * math/e_atan2l.c: Likewise.
15379 * math/e_atanhl.c: Likewise.
15380 * math/e_coshl.c: Likewise.
15381 * math/e_expl.c: Likewise.
15382 * math/e_fmodl.c: Likewise.
15383 * math/e_gammal_r.c: Likewise.
15384 * math/e_hypotl.c: Likewise.
15385 * math/e_j0l.c: Likewise.
15386 * math/e_j1l.c: Likewise.
15387 * math/e_jnl.c: Likewise.
15388 * math/e_lgammal_r.c: Likewise.
15389 * math/e_log10l.c: Likewise.
15390 * math/e_log2l.c: Likewise.
15391 * math/e_logl.c: Likewise.
15392 * math/e_powl.c: Likewise.
15393 * math/e_rem_pio2l.c: Likewise.
15394 * math/e_sinhl.c: Likewise.
15395 * math/e_sqrtl.c: Likewise.
15396 * math/fclrexcpt.c: Likewise.
15397 * math/fedisblxcpt.c: Likewise.
15398 * math/feenablxcpt.c: Likewise.
15399 * math/fegetenv.c: Likewise.
15400 * math/fegetexcept.c: Likewise.
15401 * math/fegetround.c: Likewise.
15402 * math/feholdexcpt.c: Likewise.
15403 * math/fesetenv.c: Likewise.
15404 * math/fesetround.c: Likewise.
15405 * math/feupdateenv.c: Likewise.
15406 * math/fgetexcptflg.c: Likewise.
15407 * math/fraiseexcpt.c: Likewise.
15408 * math/fsetexcptflg.c: Likewise.
15409 * math/ftestexcept.c: Likewise.
15410 * math/k_cosl.c: Likewise.
15411 * math/k_rem_pio2l.c: Likewise.
15412 * math/k_sinl.c: Likewise.
15413 * math/k_tanl.c: Likewise.
15414 * math/s_asinhl.c: Likewise.
15415 * math/s_atanl.c: Likewise.
15416 * math/s_cbrtl.c: Likewise.
15417 * math/s_erfl.c: Likewise.
15418 * math/s_expm1l.c: Likewise.
15419 * math/s_log1pl.c: Likewise.
15420 * math/s_tanhl.c: Likewise.
15421 * misc/acct.c: Likewise.
15422 * misc/brk.c: Likewise.
15423 * misc/chflags.c: Likewise.
15424 * misc/chroot.c: Likewise.
15425 * misc/fchflags.c: Likewise.
15426 * misc/fgetxattr.c: Likewise.
15427 * misc/flistxattr.c: Likewise.
15428 * misc/fremovexattr.c: Likewise.
15429 * misc/fsetxattr.c: Likewise.
15430 * misc/fsync.c: Likewise.
15431 * misc/ftruncate.c: Likewise.
15432 * misc/futimes.c: Likewise.
15433 * misc/futimesat.c: Likewise.
15434 * misc/getdomain.c: Likewise.
15435 * misc/getdtsz.c: Likewise.
15436 * misc/gethostid.c: Likewise.
15437 * misc/gethostname.c: Likewise.
15438 * misc/getloadavg.c: Likewise.
15439 * misc/getpagesize.c: Likewise.
15440 * misc/getsysstats.c: Likewise.
15441 * misc/getxattr.c: Likewise.
15442 * misc/gtty.c: Likewise.
15443 * misc/ioctl.c: Likewise.
15444 * misc/lgetxattr.c: Likewise.
15445 * misc/listxattr.c: Likewise.
15446 * misc/llistxattr.c: Likewise.
15447 * misc/lremovexattr.c: Likewise.
15448 * misc/lsetxattr.c: Likewise.
15449 * misc/lutimes.c: Likewise.
15450 * misc/madvise.c: Likewise.
15451 * misc/mincore.c: Likewise.
15452 * misc/mlock.c: Likewise.
15453 * misc/mlockall.c: Likewise.
15454 * misc/mmap.c: Likewise.
15455 * misc/mprotect.c: Likewise.
15456 * misc/msync.c: Likewise.
15457 * misc/munlock.c: Likewise.
15458 * misc/munlockall.c: Likewise.
15459 * misc/munmap.c: Likewise.
15460 * misc/preadv.c: Likewise.
15461 * misc/preadv64.c: Likewise.
15462 * misc/ptrace.c: Likewise.
15463 * misc/pwritev.c: Likewise.
15464 * misc/pwritev64.c: Likewise.
15465 * misc/readv.c: Likewise.
15466 * misc/reboot.c: Likewise.
15467 * misc/remap_file_pages.c: Likewise.
15468 * misc/removexattr.c: Likewise.
15469 * misc/revoke.c: Likewise.
15470 * misc/select.c: Likewise.
15471 * misc/setdomain.c: Likewise.
15472 * misc/setegid.c: Likewise.
15473 * misc/seteuid.c: Likewise.
15474 * misc/sethostid.c: Likewise.
15475 * misc/sethostname.c: Likewise.
15476 * misc/setregid.c: Likewise.
15477 * misc/setreuid.c: Likewise.
15478 * misc/setxattr.c: Likewise.
15479 * misc/sstk.c: Likewise.
15480 * misc/stty.c: Likewise.
15481 * misc/swapoff.c: Likewise.
15482 * misc/swapon.c: Likewise.
15483 * misc/sync.c: Likewise.
15484 * misc/syncfs.c: Likewise.
15485 * misc/syscall.c: Likewise.
15486 * misc/truncate.c: Likewise.
15487 * misc/ualarm.c: Likewise.
15488 * misc/usleep.c: Likewise.
15489 * misc/ustat.c: Likewise.
15490 * misc/utimes.c: Likewise.
15491 * misc/vhangup.c: Likewise.
15492 * misc/writev.c: Likewise.
15493 * posix/_exit.c: Likewise.
15494 * posix/alarm.c: Likewise.
15495 * posix/execve.c: Likewise.
15496 * posix/fexecve.c: Likewise.
15497 * posix/fork.c: Likewise.
15498 * posix/fpathconf.c: Likewise.
15499 * posix/getaddrinfo.c: Likewise.
15500 * posix/getegid.c: Likewise.
15501 * posix/geteuid.c: Likewise.
15502 * posix/getgid.c: Likewise.
15503 * posix/getgroups.c: Likewise.
15504 * posix/getlogin.c: Likewise.
15505 * posix/getlogin_r.c: Likewise.
15506 * posix/getpgid.c: Likewise.
15507 * posix/getpid.c: Likewise.
15508 * posix/getppid.c: Likewise.
15509 * posix/getresgid.c: Likewise.
15510 * posix/getresuid.c: Likewise.
15511 * posix/getsid.c: Likewise.
15512 * posix/getuid.c: Likewise.
15513 * posix/glob64.c: Likewise.
15514 * posix/nanosleep.c: Likewise.
15515 * posix/pathconf.c: Likewise.
15516 * posix/pause.c: Likewise.
15517 * posix/posix_madvise.c: Likewise.
15518 * posix/pread.c: Likewise.
15519 * posix/pread64.c: Likewise.
15520 * posix/pwrite.c: Likewise.
15521 * posix/pwrite64.c: Likewise.
15522 * posix/sched_getaffinity.c: Likewise.
15523 * posix/sched_getp.c: Likewise.
15524 * posix/sched_gets.c: Likewise.
15525 * posix/sched_primax.c: Likewise.
15526 * posix/sched_primin.c: Likewise.
15527 * posix/sched_rr_gi.c: Likewise.
15528 * posix/sched_setaffinity.c: Likewise.
15529 * posix/sched_setp.c: Likewise.
15530 * posix/sched_sets.c: Likewise.
15531 * posix/sched_yield.c: Likewise.
15532 * posix/setgid.c: Likewise.
15533 * posix/setlogin.c: Likewise.
15534 * posix/setpgid.c: Likewise.
15535 * posix/setresgid.c: Likewise.
15536 * posix/setresuid.c: Likewise.
15537 * posix/setsid.c: Likewise.
15538 * posix/setuid.c: Likewise.
15539 * posix/sleep.c: Likewise.
15540 * posix/spawni.c: Likewise.
15541 * posix/sysconf.c: Likewise.
15542 * posix/times.c: Likewise.
15543 * posix/wait.c: Likewise.
15544 * posix/wait3.c: Likewise.
15545 * posix/wait4.c: Likewise.
15546 * posix/waitpid.c: Likewise.
15547 * resolv/gai_sigqueue.c: Likewise.
15548 * resource/getpriority.c: Likewise.
15549 * resource/getrlimit.c: Likewise.
15550 * resource/getrusage.c: Likewise.
15551 * resource/nice.c: Likewise.
15552 * resource/setpriority.c: Likewise.
15553 * resource/setrlimit.c: Likewise.
15554 * resource/ulimit.c: Likewise.
15555 * rt/aio_cancel.c: Likewise.
15556 * rt/aio_fsync.c: Likewise.
15557 * rt/aio_read.c: Likewise.
15558 * rt/aio_sigqueue.c: Likewise.
15559 * rt/aio_suspend.c: Likewise.
15560 * rt/aio_write.c: Likewise.
15561 * rt/clock_getres.c: Likewise.
15562 * rt/clock_gettime.c: Likewise.
15563 * rt/clock_nanosleep.c: Likewise.
15564 * rt/clock_settime.c: Likewise.
15565 * rt/lio_listio.c: Likewise.
15566 * rt/mq_close.c: Likewise.
15567 * rt/mq_getattr.c: Likewise.
15568 * rt/mq_notify.c: Likewise.
15569 * rt/mq_open.c: Likewise.
15570 * rt/mq_receive.c: Likewise.
15571 * rt/mq_send.c: Likewise.
15572 * rt/mq_setattr.c: Likewise.
15573 * rt/mq_timedreceive.c: Likewise.
15574 * rt/mq_timedsend.c: Likewise.
15575 * rt/mq_unlink.c: Likewise.
15576 * rt/shm_open.c: Likewise.
15577 * rt/shm_unlink.c: Likewise.
15578 * rt/timer_create.c: Likewise.
15579 * rt/timer_delete.c: Likewise.
15580 * rt/timer_getoverr.c: Likewise.
15581 * rt/timer_gettime.c: Likewise.
15582 * rt/timer_settime.c: Likewise.
15583 * setjmp/__longjmp.c: Likewise.
15584 * setjmp/setjmp.c: Likewise.
15585 * signal/kill.c: Likewise.
15586 * signal/killpg.c: Likewise.
15587 * signal/raise.c: Likewise.
15588 * signal/sigaction.c: Likewise.
15589 * signal/sigaltstack.c: Likewise.
15590 * signal/sigblock.c: Likewise.
15591 * signal/sigignore.c: Likewise.
15592 * signal/sigintr.c: Likewise.
15593 * signal/signal.c: Likewise.
15594 * signal/sigpause.c: Likewise.
15595 * signal/sigpending.c: Likewise.
15596 * signal/sigqueue.c: Likewise.
15597 * signal/sigreturn.c: Likewise.
15598 * signal/sigset.c: Likewise.
15599 * signal/sigsetmask.c: Likewise.
15600 * signal/sigstack.c: Likewise.
15601 * signal/sigsuspend.c: Likewise.
15602 * signal/sigtimedwait.c: Likewise.
15603 * signal/sigvec.c: Likewise.
15604 * signal/sigwait.c: Likewise.
15605 * signal/sigwaitinfo.c: Likewise.
15606 * signal/sysv_signal.c: Likewise.
15607 * socket/accept.c: Likewise.
15608 * socket/accept4.c: Likewise.
15609 * socket/bind.c: Likewise.
15610 * socket/connect.c: Likewise.
15611 * socket/getpeername.c: Likewise.
15612 * socket/getsockname.c: Likewise.
15613 * socket/getsockopt.c: Likewise.
15614 * socket/isfdtype.c: Likewise.
15615 * socket/listen.c: Likewise.
15616 * socket/recv.c: Likewise.
15617 * socket/recvfrom.c: Likewise.
15618 * socket/recvmsg.c: Likewise.
15619 * socket/send.c: Likewise.
15620 * socket/sendmsg.c: Likewise.
15621 * socket/sendto.c: Likewise.
15622 * socket/setsockopt.c: Likewise.
15623 * socket/shutdown.c: Likewise.
15624 * socket/sockatmark.c: Likewise.
15625 * socket/socket.c: Likewise.
15626 * socket/socketpair.c: Likewise.
15627 * stdio-common/ctermid.c: Likewise.
15628 * stdio-common/cuserid.c: Likewise.
15629 * stdio-common/remove.c: Likewise.
15630 * stdio-common/rename.c: Likewise.
15631 * stdio-common/renameat.c: Likewise.
15632 * stdio-common/tempname.c: Likewise.
15633 * stdlib/getcontext.c: Likewise.
15634 * stdlib/makecontext.c: Likewise.
15635 * stdlib/setcontext.c: Likewise.
15636 * stdlib/swapcontext.c: Likewise.
15637 * stdlib/system.c: Likewise.
15638 * streams/fattach.c: Likewise.
15639 * streams/fdetach.c: Likewise.
15640 * streams/getmsg.c: Likewise.
15641 * streams/getpmsg.c: Likewise.
15642 * streams/putmsg.c: Likewise.
15643 * streams/putpmsg.c: Likewise.
15644 * sysdeps/unix/bsd/getpt.c: Likewise.
15645 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15646 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15647 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15650 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15651 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15652 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15653 * sysvipc/msgctl.c: Likewise.
15654 * sysvipc/msgget.c: Likewise.
15655 * sysvipc/msgrcv.c: Likewise.
15656 * sysvipc/msgsnd.c: Likewise.
15657 * sysvipc/semctl.c: Likewise.
15658 * sysvipc/semget.c: Likewise.
15659 * sysvipc/semop.c: Likewise.
15660 * sysvipc/semtimedop.c: Likewise.
15661 * sysvipc/shmat.c: Likewise.
15662 * sysvipc/shmctl.c: Likewise.
15663 * sysvipc/shmdt.c: Likewise.
15664 * sysvipc/shmget.c: Likewise.
15665 * termios/tcdrain.c: Likewise.
15666 * termios/tcflow.c: Likewise.
15667 * termios/tcflush.c: Likewise.
15668 * termios/tcgetattr.c: Likewise.
15669 * termios/tcgetpgrp.c: Likewise.
15670 * termios/tcsendbrk.c: Likewise.
15671 * termios/tcsetattr.c: Likewise.
15672 * termios/tcsetpgrp.c: Likewise.
15673 * time/adjtime.c: Likewise.
15674 * time/clock.c: Likewise.
15675 * time/getitimer.c: Likewise.
15676 * time/gettimeofday.c: Likewise.
15677 * time/setitimer.c: Likewise.
15678 * time/settimeofday.c: Likewise.
15679 * time/stime.c: Likewise.
15680 * time/time.c: Likewise.
15682 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15684 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15687 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15689 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15691 2012-11-03 Joseph Myers <joseph@codesourcery.com>
15694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15695 FE_TONEAREST before applying Dekker multiplication and Knuth
15696 addition. Clear inexact exceptions and check for exact zero
15697 results afterwards.
15698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15701 * math/libm-test.inc (fma_test): Add more tests.
15702 (fma_test_towardzero): Likewise.
15703 (fma_test_downward): Likewise.
15704 (fma_test_upward): Likewise.
15705 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15707 (libc_fesetround): New macro.
15708 (libc_fesetroundf): Likewise.
15709 (libc_fesetroundl): Likewise.
15710 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15712 (libc_fesetround_387): Likewise.
15713 (libc_fesetroundf): New macro.
15714 (libc_fesetround): Likewise.
15715 (libc_fesetroundl): Likewise.
15716 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15718 (libc_fesetroundf): New macro.
15719 (libc_fesetround): Likewise.
15720 (libc_fesetroundl): Likewise.
15721 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15722 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15723 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15725 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15726 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15728 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15729 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15731 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15735 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15736 integer constant usable in #if and use that to give value to enum
15738 (FE_DIVBYZERO): Likewise.
15739 (FE_UNDERFLOW): Likewise.
15740 (FE_OVERFLOW): Likewise.
15741 (FE_INVALID): Likewise.
15742 (FE_INVALID_SNAN): Likewise.
15743 (FE_INVALID_ISI): Likewise.
15744 (FE_INVALID_IDI): Likewise.
15745 (FE_INVALID_ZDZ): Likewise.
15746 (FE_INVALID_IMZ): Likewise.
15747 (FE_INVALID_COMPARE): Likewise.
15748 (FE_INVALID_SOFTWARE): Likewise.
15749 (FE_INVALID_SQRT): Likewise.
15750 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15751 (FE_TONEAREST): Likewise.
15752 (FE_TOWARDZERO): Likewise.
15753 (FE_UPWARD): Likewise.
15754 (FE_DOWNWARD): Likewise.
15755 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15756 (FE_DIVBYZERO): Likewise.
15757 (FE_OVERFLOW): Likewise.
15758 (FE_UNDERFLOW): Likewise.
15759 (FE_INEXACT): Likewise.
15760 (FE_TONEAREST): Likewise.
15761 (FE_DOWNWARD): Likewise.
15762 (FE_UPWARD): Likewise.
15763 (FE_TOWARDZERO): Likewise.
15764 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15765 (FE_UNDERFLOW): Likewise.
15766 (FE_OVERFLOW): Likewise.
15767 (FE_DIVBYZERO): Likewise.
15768 (FE_INVALID): Likewise.
15769 (FE_TONEAREST): Likewise.
15770 (FE_TOWARDZERO): Likewise.
15771 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15772 (FE_OVERFLOW): Likewise.
15773 (FE_UNDERFLOW): Likewise.
15774 (FE_DIVBYZERO): Likewise.
15775 (FE_INEXACT): Likewise.
15776 (FE_TONEAREST): Likewise.
15777 (FE_TOWARDZERO): Likewise.
15778 (FE_UPWARD): Likewise.
15779 (FE_DOWNWARD): Likewise.
15780 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15781 (FE_DIVBYZERO): Likewise.
15782 (FE_OVERFLOW): Likewise.
15783 (FE_UNDERFLOW): Likewise.
15784 (FE_INEXACT): Likewise.
15785 (FE_TONEAREST): Likewise.
15786 (FE_DOWNWARD): Likewise.
15787 (FE_UPWARD): Likewise.
15788 (FE_TOWARDZERO): Likewise.
15790 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15792 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15794 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15796 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15797 commands. Quote $PWD.
15798 (blacklist_exports): Don't use remove_newlines. Replace "declare
15800 (remove_newlines): Remove.
15802 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15804 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15805 * stdlib/stdlib.h (atof): Moved to ...
15806 * include/bits/stdlib-float.h: Here. New file.
15807 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15808 * stdlib/bits/stdlib-float.h: New file.
15809 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15811 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15814 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15816 * conform/conformtest.pl (@headers): Add fenv.h.
15817 * conform/data/fenv.h-data: New file.
15818 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15819 include of <math/fenv.h>.
15821 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15822 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15823 && !UNIX98]. Enables tests for XOPEN2K8.
15824 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15825 POSIX2008]: Likewise.
15827 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15828 (struct rusage): Do not expect type or its members.
15831 * math/math.h (FP_NAN): Define macro to integer constant usable in
15832 #if and use that to give value to enum constant.
15833 (FP_INFINITE): Likewise.
15834 (FP_ZERO): Likewise.
15835 (FP_SUBNORMAL): Likewise.
15836 (FP_NORMAL): Likewise.
15838 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15840 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15841 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15844 2012-11-02 Roland McGrath <roland@hack.frob.com>
15846 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15847 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15848 autoconf-time if not.
15849 * configure.in: Remove AC_PREREQ.
15851 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15853 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15854 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15855 of the internal implementation.
15857 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15859 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15860 except include of <misc/sys/syslog.h>.
15862 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15865 function returns with a NULL context exit with zero.
15867 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15869 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15871 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15873 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15874 (run_program_cmd): This.
15875 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15876 (tst_langinfo): New variable. Use it.
15878 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15880 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15881 floating point opcodes.
15883 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15885 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15888 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15890 * sysdeps/mach/hurd/powerpc: Remove directory.
15891 * sysdeps/mach/powerpc: Likewise.
15893 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15895 * scripts/check-local-headers.sh: Ignore c++ headers.
15897 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15899 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15900 __libc_cleanup_region_start argument.
15902 2012-11-01 Joseph Myers <joseph@codesourcery.com>
15906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15907 x * y using scaling, not as x * y + z.
15908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15910 * math/libm-test.inc (fma_test): Add more tests.
15911 (fma_test_towardzero): Likewise.
15912 (fma_test_downward): Likewise.
15913 (fma_test_upward): Likewise.
15915 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15917 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15919 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15921 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15924 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15926 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15928 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15935 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15938 Fix the order of the list for glibc 2.17.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15942 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15946 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15949 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15950 for low part of x being zero before using __atanl (y).
15951 * math/libm-test.inc (atan2_test): Add another test.
15953 * manual/install.texi (Configuring and compiling): Document
15954 general use of test-wrapper and test-wrapper-env.
15955 * INSTALL: Regenerated.
15957 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15958 (__fma): Do not extract and scale down low bits on after-rounding
15959 systems when result rounded to normal precision would have normal
15961 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15962 (__fmal): Do not extract and scale down low bits on after-rounding
15963 systems when result rounded to normal precision would have normal
15965 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15966 (__fmal): Do not extract and scale down low bits on after-rounding
15967 systems when result rounded to normal precision would have normal
15969 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15971 (fma_test): Add more tests.
15972 (fma_test_towardzero): Likewise.
15973 (fma_test_downward): Likewise.
15974 (fma_test_upward): Likewise.
15976 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15978 * sysdeps/i386/tininess.h: Renamed to ...
15979 * sysdeps/x86/tininess.h: This.
15980 * sysdeps/x86_64/tininess.h: Removed.
15982 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15984 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15985 input. Use $(build-program-cmd).
15986 ($(objpfx)tst-array1-static.out): Likewise.
15987 ($(objpfx)tst-array2.out): Likewise.
15988 ($(objpfx)tst-array3.out): Likewise.
15989 ($(objpfx)tst-array4.out): Likewise.
15990 ($(objpfx)tst-array5.out): Likewise.
15991 ($(objpfx)tst-array5-static.out): Likewise.
15993 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15995 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15998 * nss/nsswitch.h (nss_interface_function): Provide new
15999 macro for use with NSS functions.
16000 * grp/initgroups.c: Use new macro.
16001 * nss/getXXbyYY.c: Likewise.
16002 * nss/getXXbyYY_r.c: Likewise.
16003 * nss/getXXent.c: Likewise.
16004 * nss/getXXent_r.c: Likewise.
16005 * sysdeps/posix/getaddrinfo.c: Likewise.
16007 2012-10-30 Andreas Jaeger <aj@suse.de>
16009 * po/ru.po: Update Russion translation from translation project.
16011 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16016 result and shift together with sticky bit instead of replicating
16017 round-to-nearest rounding.
16018 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16020 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16021 missing underflow exceptions.
16022 (fma_test_towardzero): Add more tests.
16023 (fma_test_downward): Likewise.
16024 (fma_test_upward): Likewise.
16027 * sysdeps/generic/tininess.h: New file.
16028 * sysdeps/i386/tininess.h: Likewise.
16029 * sysdeps/sh/tininess.h: Likewise.
16030 * sysdeps/x86_64/tininess.h: Likewise.
16031 * stdlib/tst-strtod-underflow.c: Likewise.
16032 * stdlib/tst-tininess.c: Likewise.
16033 * stdlib/strtod_l.c: Include <tininess.h>.
16034 (round_and_return): Do not set errno for exact underflow cases.
16035 Force an underflow exception when setting errno for underflow.
16036 Determine underflow based on rounding to normal precision if
16037 TININESS_AFTER_ROUNDING.
16038 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16039 ERANGE for exact underflow cases.
16040 * stdlib/Makefile (tests): Add tst-tininess and
16041 tst-strtod-underflow.
16042 ($(objpfx)tst-tininess): Use $(link-libm).
16043 ($(objpfx)tst-strtod-underflow): Likewise.
16045 2012-10-30 Andreas Jaeger <aj@suse.de>
16048 * elf/Makefile (tests): Remove conditional for have-initfini-array
16049 since this is now always required and the variable does not exist
16051 (tests-static): Likewise.
16052 (modules-names): Likewise.
16054 * po/eo.po: Add Esperanto translation from translation project.
16056 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16057 merged with constructor/destructor.
16058 (init_array): Likewise.
16059 * elf/tst-array2dep.c (fini_array): Likewise.
16060 (init_array): Likewise.
16062 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16064 * manual/message.texi: Delete @cartouche tags.
16066 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16068 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16070 * sysdeps/mach/hurd/fsync.c: Likewise.
16072 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16073 [_POSIX_REALTIME_SIGNALS]: Change condition to
16074 [_POSIX_REALTIME_SIGNALS > 0].
16076 2012-10-27 Andreas Jaeger <aj@suse.de>
16078 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16079 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16081 [__WORDSIZE != 64]: Likewise.
16083 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16085 * iconvdata/tst-table.sh: Remove ${SHELL}.
16086 * iconvdata/tst-tables.sh: Likewise.
16088 2012-10-25 David S. Miller <davem@davemloft.net>
16090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16091 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16096 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16097 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16098 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16101 2012-10-25 Roland McGrath <roland@hack.frob.com>
16103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16104 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16107 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16108 Jim Blandy <jimb@codesourcery.com>
16110 * scripts/cross-test-ssh.sh: New file.
16111 * manual/install.texi (Configuring and compiling): Document use of
16113 * INSTALL: Regenerated.
16115 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16117 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16120 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16122 * Makeconfig (run-program-prefix): Fix comment.
16124 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16125 Jim Blandy <jimb@codesourcery.com>
16127 * Makeconfig (test-wrapper): New variable,
16128 (test-wrapper-env): Likewise.
16129 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16130 (run-built-tests): Define to yes.
16131 (run-program-prefix): Use $(test-wrapper).
16132 (built-program-cmd): Likewise.
16133 * Rules (make-test-out): Use $(test-wrapper-env) and
16134 $(host-built-program-cmd).
16135 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16136 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16138 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16139 $(test-wrapper-env) to tst-rtld-load-self.sh.
16140 ($(objpfx)order2.out): Use $(test-wrapper).
16141 ($(objpfx)tst-initorder.out): Likewise.
16142 ($(objpfx)tst-initorder2.out): Likewise.
16143 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16144 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16145 (test_wrapper_env): New variable. Use it to run ld.so.
16146 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16147 Use it to run ld.so.
16148 (test_wrapper_env): Likewise.
16149 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16150 $(test-wrapper) to run-iconv-test.sh.
16151 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16152 (ICONV): Use $test_wrapper.
16153 * posix/Makefile ($(objpfx)globtest.out): Pass
16154 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16155 globtest.sh, not $(run-program-prefix).
16156 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16157 (test_wrapper): Likewise.
16158 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16159 set together with run_via_rtld_prefix.
16160 (run_program_prefix): Define in terms of test_wrapper and
16161 run_via_rtld_prefix.
16163 2012-10-24 Roland McGrath <roland@hack.frob.com>
16165 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16166 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16170 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16171 Declare __clock_getres, __clock_gettime, __clock_settime,
16172 __clock_nanosleep, and __clock_getcpuclockid.
16173 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16174 Remove librt_hidden_def (clock_gettime).
16175 * sysdeps/unix/clock_gettime.c: Likewise.
16176 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16178 * rt/clock_getres.c: Define __clock_getres as an alias.
16179 * sysdeps/posix/clock_getres.c: Likewise.
16180 * rt/clock_settime.c: Define __clock_settime as an alias.
16181 * sysdeps/unix/clock_settime.c: Likewise.
16182 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16183 * sysdeps/unix/clock_nanosleep.c: Likewise.
16184 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16185 * rt/clock-compat.c: New file.
16186 * rt/Makefile (librt-routines): Add clock-compat and move
16187 $(clock-routines) to ...
16188 (routines): ... here, new variable.
16189 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16190 Don't add get_clockfreq here.
16191 * rt/Versions (libc: GLIBC_2.17): New version set.
16192 Add clock_* symbols here.
16193 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16195 (GLIBC_2.17): Add clock_* symbols.
16196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16207 * NEWS: Mention the move.
16209 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16210 Use __open, __read, __close rather than their public counterparts.
16211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16212 (__get_clockfreq_via_cpuinfo): Likewise.
16213 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16214 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16216 * config.h.in (HAVE_IFUNC): New #undef.
16217 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16219 * configure: Regenerated.
16221 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16223 * configure.in: Move READELF check to start of file.
16224 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16225 libc_cv_asm_gnu_indirect_function in the process.
16226 * configure: Regenerated.
16228 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16230 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16231 send the output to /dev/null.
16232 (libc_cv_cc_with_libunwind): Likewise.
16233 (libc_cv_as_noexecstack): Likewise.
16234 * configure: Regenerate.
16236 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16238 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16240 * posix/globtest.sh (TMPDIR): Do not set.
16241 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16242 (testout): Likewise.
16244 2012-10-24 Andreas Jaeger <aj@suse.de>
16246 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16247 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16248 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16249 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16250 posix_fadvise64, posix_fallocate64.
16252 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16253 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16254 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16256 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16258 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16261 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16262 <bits/fcntl-linux.h>.
16263 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16266 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16267 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16268 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16269 [__WORDSIZE != 64]: Likewise.
16271 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16273 * Makeconfig (run-built-tests): New variable.
16274 * Rules [$(cross-compiling) = yes]: Change condition to
16275 [$(run-built-tests) = no].
16276 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16277 to [$(run-built-tests) = yes].
16278 * elf/Makefile [$(cross-compiling) = no]: Likewise
16279 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16280 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16281 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16282 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16283 * io/Makefile [$(cross-compiling) = no]: Likewise.
16284 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16285 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16286 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16287 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16288 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16289 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16290 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16291 * string/Makefile [$(cross-compiling) = no]: Likewise.
16293 * posix/Makefile ($(objpfx)globtest.out): Pass
16294 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16295 $(rtld-installed-name).
16296 * posix/globtest.sh (elf_objpfx): Remove variable.
16297 (rtld_installed_name): Likewise.
16298 (library_path): Likewise.
16299 (run_program_prefix): New variable. Use for running globtest
16302 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16303 Joseph Myers <joseph@codesourcery.com>
16305 * Makeconfig (host-built-program-cmd): New variable.
16306 * elf/Makefile (tst-stackguard1-ARGS): Use
16307 $(host-built-program-cmd).
16308 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16309 (tst-spawn-ARGS): Likewise.
16310 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16312 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16313 Jim Blandy <jimb@codesourcery.com>
16315 * Makeconfig (run-via-rtld-prefix): New variable.
16316 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16317 (built-program-cmd): Likewise.
16319 2012-10-22 Andreas Jaeger <aj@suse.de>
16321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16322 __O_RSYNC if it exists, otherwise to O_SYNC.
16324 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16325 Joseph Myers <joseph@codesourcery.com>
16327 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16329 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16331 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16334 2012-10-22 Andreas Jaeger <aj@suse.de>
16336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16341 bits/fcntl-linux.h.
16343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16344 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16351 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16352 Joseph Myers <joseph@codesourcery.com>
16354 * config.make.in (NM): New variable.
16356 2012-10-21 Andreas Jaeger <aj@suse.de>
16358 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16359 definitions and declarations that are provided by
16360 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16362 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16365 * elf/Makefile (tests-static): Add tst-leaks1-static.
16366 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16367 ($(objpfx)tst-leaks1-static): New rule.
16368 ($(objpfx)tst-leaks1-static-mem): Likewise.
16369 (tst-leaks1-static-ENV): New macro.
16370 * elf/dl-open.c (dl_open_worker): Check the main application
16371 only if SHARED is defined.
16372 * elf/tst-leaks1-static.c: New file.
16374 2012-10-20 Andreas Jaeger <aj@suse.de>
16376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16377 generic values for Linux.
16378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16379 and declarations that are provided by <bits/fcntl-linux.h> and
16380 include <bits/fcntl-linux.h>.
16381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16384 2012-10-20 Roland McGrath <roland@hack.frob.com>
16386 * io/fcntl.h: Move include of <bits/types.h> to the top and
16387 include it unconditionally.
16389 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16391 * wcsmbs/Makefile (tests-ifunc): New variable.
16392 (tests): Add $(tests-ifunc).
16393 * wcsmbs/test-wcschr-ifunc.c: New file.
16394 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16395 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16396 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16397 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16398 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16400 * string/Makefile (tests-ifunc): New variable.
16401 (tests): Add $(tests-ifunc).
16402 * string/test-memccpy.c (TEST_NAME): New macro.
16403 * string/test-memchr.c (TEST_NAME): Likewise.
16404 * string/test-memcmp.c (TEST_NAME): Likewise.
16405 * string/test-memcpy.c (TEST_NAME): Likewise.
16406 * string/test-memmem.c (TEST_NAME): Likewise.
16407 * string/test-memmove.c (TEST_NAME): Likewise.
16408 * string/test-memset.c (TEST_NAME): Likewise.
16409 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16410 * string/test-stpcpy.c (TEST_NAME): Likewise.
16411 * string/test-stpncpy.c (TEST_NAME): Likewise.
16412 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16413 * string/test-strcasestr.c (TEST_NAME): Likewise.
16414 * string/test-strcat.c (TEST_NAME): Likewise.
16415 * string/test-strchr.c (TEST_NAME): Likewise.
16416 * string/test-strcmp.c(TEST_NAME): Likewise.
16417 * string/test-strcpy.c (TEST_NAME): Likewise.
16418 * string/test-strcspn.c (TEST_NAME): Likewise.
16419 * string/test-strlen.c (TEST_NAME): Likewise.
16420 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16421 * string/test-strncmp.c (TEST_NAME): Likewise.
16422 * string/test-strncpy.c (TEST_NAME): Likewise.
16423 * string/test-strnlen.c (TEST_NAME): Likewise.
16424 * string/test-strpbrk.c (TEST_NAME): Likewise.
16425 * string/test-strrchr.c (TEST_NAME): Likewise.
16426 * string/test-strspn.c (TEST_NAME): Likewise.
16427 * string/test-strstr.c (TEST_NAME): Likewise.
16428 * string/test-bcopy-ifunc.c: New file.
16429 * string/test-bzero-ifunc.c: Likewise.
16430 * string/test-memccpy-ifunc.c: Likewise.
16431 * string/test-memchr-ifunc.c: Likewise.
16432 * string/test-memcmp-ifunc.c: Likewise.
16433 * string/test-memcpy-ifunc.c: Likewise.
16434 * string/test-memmem-ifunc.c: Likewise.
16435 * string/test-memmove-ifunc.c: Likewise.
16436 * string/test-mempcpy-ifunc.c: Likewise.
16437 * string/test-memset-ifunc.c: Likewise.
16438 * string/test-rawmemchr-ifunc.c: Likewise.
16439 * string/test-stpcpy-ifunc.c: Likewise.
16440 * string/test-stpncpy-ifunc.c: Likewise.
16441 * string/test-strcasecmp-ifunc.c: Likewise.
16442 * string/test-strcasestr-ifunc.c: Likewise.
16443 * string/test-strcat-ifunc.c: Likewise.
16444 * string/test-strchr-ifunc.c: Likewise.
16445 * string/test-strchrnul-ifunc.c: Likewise.
16446 * string/test-strcmp-ifunc.c: Likewise.
16447 * string/test-strcpy-ifunc.c: Likewise.
16448 * string/test-strcspn-ifunc.c: Likewise.
16449 * string/test-strlen-ifunc.c: Likewise.
16450 * string/test-strncasecmp-ifunc.c: Likewise.
16451 * string/test-strncat-ifunc.c: Likewise.
16452 * string/test-strncmp-ifunc.c: Likewise.
16453 * string/test-strncpy-ifunc.c: Likewise.
16454 * string/test-strnlen-ifunc.c: Likewise.
16455 * string/test-strpbrk-ifunc.c: Likewise.
16456 * string/test-strrchr-ifunc.c: Likewise.
16457 * string/test-strspn-ifunc.c: Likewise.
16458 * string/test-strstr-ifunc.c: Likewise.
16460 * debug/Makefile (tests-ifunc): New variable.
16461 (tests): Add $(tests-ifunc).
16462 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16463 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16464 * debug/test-stpcpy_chk-ifunc.c: New file.
16465 * debug/test-strcpy_chk-ifunc.c: Likewise.
16467 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16470 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16471 header is not read in.
16473 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16475 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16476 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16477 directly. Pass built executable to script as
16478 $(built-program-cmd).
16479 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16480 $testprogram without using LD_LIBRARY_PATH and $ldso.
16482 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16483 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16484 $(rtld-installed-name).
16485 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16486 (rtld_installed_name): Likewise.
16487 (library_path): Likewise.
16488 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16489 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16490 $(run-program-prefix) to tst-tables.sh.
16491 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16492 it to run tst-table-from and tst-table-to.
16493 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16494 Pass it to tst-table.sh.
16495 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16496 $(run-program-prefix) to tst-gettext.sh.
16497 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16499 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16501 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16502 to run tst-gettext.
16503 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16504 to run tst-gettext2.
16505 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16506 to run tst-translit.
16507 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16508 $(run-program-prefix) to tst-mtrace.sh.
16509 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16511 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16512 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16513 $(rtld-installed-name).
16514 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16515 (rtld_installed_name): Likewise.
16516 (run_program_prefix): New variable. Use it to run wordexp-test.
16518 * Makeconfig (ARCH): Remove all definitions.
16519 (machine): Likewise.
16520 [ARCH]: Remove conditional code.
16521 [!objdir]: Give error.
16522 [!objdir] (objpfx): Remove.
16523 [!objdir] (common-objpfx): Likewise.
16524 [!objdir] (common-objdir): Likewise.
16525 * configure.in (config_makefile): Remove. Hardcode Makefile in
16526 AC_CONFIG_FILES call.
16527 * configure: Regenerated.
16530 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16532 (testout): Likewise.
16534 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16535 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16536 $(rtld-installed-name).
16537 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16538 (rtld_installed_name): Likwise.
16539 (runit): Remove function.
16540 (run_getconf): New variable, Use it for running getconf binary.
16542 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16545 * string/test-memmem.c (check_result): New function.
16546 (do_one_test): Use it.
16547 (check1): New function.
16548 (test_main): Use it.
16550 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16552 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16554 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16556 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16557 (_G_LSEEK64): Likewise.
16558 (_G_MMAP64): Likewise.
16559 (_G_FSTAT64): Likewise.
16560 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16561 (_G_LSEEK64): Likewise.
16562 (_G_MMAP64): Likewise.
16563 (_G_FSTAT64): Likewise.
16564 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16565 unconditional. Call __mmap64 directly.
16566 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16567 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16568 __lseek64 directly.
16569 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16570 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16572 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16573 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16574 __lseek64 directly.
16575 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16576 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16577 __lseek64 directly.
16578 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16579 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16580 __lseek64 directly.
16581 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16582 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16583 __fxstat64 directly.
16584 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16585 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16587 (freopen64) [!_G_OPEN64]: Remove conditional code.
16588 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16590 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16591 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16593 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16594 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16596 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16597 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16599 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16600 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16602 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16603 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16605 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16606 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16608 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16610 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16613 * manual/memory.texi (Malloc Tunable Parameters): Add note
16614 about free list pointers overwriting some perturb bytes.
16615 Wording suggested by Roland McGrath.
16617 2012-10-17 Joseph Myers <joseph@codesourcery.com>
16619 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16620 (lgamma_test): Likewise.
16621 (tgamma_test): Likewise.
16623 2012-10-16 Florian Weimer <fweimer@redhat.com>
16626 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16627 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16629 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16631 * NEWS: Mention BZ #14716.
16632 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16633 when removing AVAILABLE1_USES_J macro.
16635 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16637 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16638 (__bswap_64): __uint64_t for unsigned 64-bit int.
16640 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16642 * include/string.h (memmem): Declare libc hidden alias.
16643 * string/memmem.c (memmem): Define libc hidden alias.
16644 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16645 __read, __close instead of open, read, close.
16647 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16650 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16652 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16653 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16654 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16656 (__rawmemchr_sse2): Likewise.
16657 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16658 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16659 (__strchr_sse2): Likewise.
16660 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16661 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16662 (__strcasecmp_sse2): Likewise.
16663 (__strncasecmp_sse2): Likewise.
16664 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16665 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16666 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16667 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16668 (__strrchr_sse2): Likewise.
16669 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16671 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16672 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16673 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16674 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16675 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16676 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16677 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16678 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16679 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16680 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16681 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16682 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16683 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16684 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16685 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16686 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16687 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16688 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16689 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16690 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16691 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16692 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16693 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16694 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16695 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16696 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16697 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16698 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16699 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16700 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16702 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16704 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16705 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16706 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16707 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16709 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16711 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16712 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16713 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16714 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16716 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16717 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16718 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16719 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16720 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16721 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16722 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16723 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16724 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16725 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16726 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16727 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16728 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16729 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16730 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16731 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16732 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16733 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16734 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16735 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16736 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16737 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16738 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16739 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16740 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16741 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16742 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16743 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16744 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16745 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16746 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16747 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16748 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16749 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16750 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16751 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16752 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16753 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16754 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16755 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16756 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16758 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16759 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16760 * include/ifunc-impl-list.h: New file.
16761 * misc/ifunc-impl-list.c: Likewise.
16762 * misc/Makefile (routines): Add ifunc-impl-list.
16763 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16764 * string/test-string.h: Include <ifunc-impl-list.h>.
16765 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16766 impl_array): New variables.
16767 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16769 (test_init): Call __libc_ifunc_impl_list to initialize
16770 func_list if TEST_IFUNC and TEST_NAME are defined.
16772 * string/Makefile (strop-tests): Add bcopy and bzero.
16773 * string/test-bcopy.c: New file.
16774 * string/test-bzero.c: Likewise.
16775 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16777 * string/test-memset.c: Support bzero test if TEST_BZERO is
16779 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16781 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16783 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16786 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16788 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16789 * configure: Regenerated.
16791 * Makeconfig (+link-static-before-libc): Don't include
16792 $(link-static-libc).
16794 * libio/libio.h (_IO_pos_t): Remove.
16796 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16798 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16801 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16803 * crypt/crypt-entry.c: Include fips-private.h.
16804 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16805 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16806 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16807 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16809 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16811 * crypt/crypt-private.h: Include stdbool.h.
16812 (_ufc_setup_salt_r): Return bool.
16813 * crypt/crypt-entry.c: Include errno.h.
16814 (__crypt_r): Return NULL with EINVAL for bad salt.
16815 * crypt/crypt_util.c (bad_for_salt): New.
16816 (_ufc_setup_salt_r): Check that salt is long enough and within
16817 the specified alphabet.
16818 * crypt/badsalttest.c: New file.
16819 * crypt/Makefile (tests): Add it.
16820 ($(objpfx)badsalttest): New.
16822 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16824 * NEWS: Add entry for BZ #14602.
16826 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16828 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16830 * math/libm-test.inc: Update comment listing what functions and
16832 (isgreater_test): New function.
16833 (isgreaterequal_test): Likewise.
16834 (isless_test): Likewise.
16835 (islessequal_test): Likewise.
16836 (islessgreater_test): Likewise.
16837 (isunordered_test): Likewise.
16838 (main): Call the new functions.
16840 2012-10-09 Roland McGrath <roland@hack.frob.com>
16842 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16843 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16844 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16845 * sysdeps/i386/configure: Regenerated.
16846 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16847 * sysdeps/mach/configure: Regenerated.
16848 * sysdeps/mach/hurd/configure: Regenerated.
16849 * sysdeps/powerpc/configure: Regenerated.
16850 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16851 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16852 * sysdeps/s390/s390-32/configure: Regenerated.
16853 * sysdeps/s390/s390-64/configure: Regenerated.
16854 * sysdeps/sh/configure: Regenerated.
16855 * sysdeps/sparc/configure: Regenerated.
16856 * sysdeps/unix/sysv/linux/configure: Regenerated.
16857 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16858 * sysdeps/x86_64/configure: Regenerated.
16860 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16861 defined. Don't check if MAP is NULL.
16863 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16865 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16866 (_G_stat64): Likewise.
16867 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16868 (_G_stat64): Likewise.
16869 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16870 instead of struct _G_stat64.
16871 * libio/fileops.c (mmap_remap_check): Likewise.
16872 (decide_maybe_mmap): Likewise.
16873 (_IO_new_file_seekoff): Likewise.
16874 (_IO_file_stat): Likewise.
16875 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16877 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16878 instead of struct _G_stat64.
16879 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16881 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16884 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16886 (CHECK_EOL): New macro.
16887 (two_way_short_needle): Check beginning of haystack for EOL. Use
16889 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16890 Replace with CHECK_EOL.
16891 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16892 Replace with CHECK_EOL.
16894 2012-10-08 Joseph Myers <joseph@codesourcery.com>
16896 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16898 * math/libm-test.inc: Update comment listing what functions and
16900 (finite_test): New function.
16901 (isinf_test): Likewise.
16902 (isnan_test): Likewise.
16903 (fpclassify_test): Test subnormal input.
16904 (isfinite_test): Likewise.
16905 (isnormal_test): Likewise.
16906 (main): Call the new functions.
16908 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16911 * Makerules (%.dynsym): Force C locale when running
16912 $(OBJDUMP) --dynamic-syms.
16914 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16916 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16919 2012-10-06 David S. Miller <davem@davemloft.net>
16921 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16922 upper 32-bits of the length value in %o2 since we use branch-on-register
16923 tests which consider the entire 64-bit register.
16925 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16927 * string/test-strstr.c (check2): Add a test for page boundary.
16929 2012-10-05 David S. Miller <davem@davemloft.net>
16931 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16932 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16934 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16936 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16937 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16938 and bzero when HWCAP_SPARC_CRYPTO is present.
16940 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16943 * string/test-strstr.c (check2): New function.
16944 (test_main): Call check2.
16946 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16948 * string/bug-strcasestr1.c (do_test): Moved to ...
16949 * string/test-strcasestr.c (check1): Here. New function.
16950 (do_one_test): Break out result checking code into ...
16951 (check_result): This. New function.
16952 (do_one_test): Call check_result.
16953 (test_main): Call check1.
16954 * string/bug-strchr1.c (do_test): Moved to ...
16955 * string/test-strchr.c (check1): Here. New function.
16956 (do_one_test): Break out result checking code into ...
16957 (check_result): This. New function.
16958 (do_one_test): Call check_result.
16959 (test_main): Call check1.
16960 * string/bug-strstr1.c (main): Moved to ...
16961 * string/test-strstr.c (check1): Here. New function.
16962 (do_one_test): Break out result checking code into ...
16963 (check_result): This. New function.
16964 (do_one_test): Call check_result.
16965 (test_main): Call check1.
16966 * string/bug-strcasestr1.c: Removed.
16967 * string/bug-strchr1.c: Likewise.
16968 * string/bug-strstr1.c: Likewise.
16970 * elf/Makefile (dl-routines): Add hwcaps.
16971 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16972 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16973 (_dl_important_hwcaps): Moved to ...
16974 * elf/dl-hwcaps.c: Here. New file.
16975 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16978 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16979 if IS_IN_rtld isn't defined.
16981 * elf/dl-support.c (_dl_sysinfo_map): New.
16982 Include "get-dynamic-info.h" and "setup-vdso.h".
16983 (_dl_non_dynamic_init): Call setup_vdso.
16984 * elf/dynamic-link.h: Don't include <assert.h>.
16985 (elf_get_dynamic_info): Moved to ...
16986 * elf/get-dynamic-info.h: Here. New file.
16987 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16988 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16989 * elf/setup-vdso.h: Here. New file.
16990 * elf/rtld.c: Include "setup-vdso.h".
16991 (dl_main): Call setup_vdso.
16993 2012-10-05 Joseph Myers <joseph@codesourcery.com>
16995 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16996 creal in comment listing functions tested. List finite, isinf,
16997 isnan, isless, islessequal, isgreater, isgreaterequal,
16998 islessgreater, isunordered, lgamma_r and pow10 as functions and
16999 macros not tested. Mention which functions not tested are aliases
17000 for other functions. Fix typo. Note that signs of NaNs are not
17003 * scripts/config.guess: Update from config.git.
17004 * scripts/config.sub: Likewise.
17006 2012-10-04 Roland McGrath <roland@hack.frob.com>
17008 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17009 * misc/madvise.c (madvise): Renamed to __madvise.
17010 Make madvise a weak alias.
17011 * include/sys/mman.h: Declare __madvise.
17012 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17013 * sysdeps/unix/syscalls.list
17014 (madvise): Make __madvise the strong name, and madvise a weak alias.
17015 * sysdeps/unix/sysv/linux/syscalls.list
17016 (madvise, mmap): Remove redundant entries.
17017 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17018 * malloc/malloc.c (mtrim): Likewise.
17019 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17021 2012-10-03 Roland McGrath <roland@hack.frob.com>
17023 * sysdeps/mach/hurd/dl-cache.c: File removed.
17024 * config.h.in (USE_LDCONFIG): New #undef.
17025 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17026 * configure: Regenerated.
17027 * elf/Makefile (dl-routines): Add dl-cache only under
17028 [$(use-ldconfig) = yes].
17029 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17030 cache on [USE_LDCONFIG].
17031 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17033 * elf/rtld.c (dl_main): Likewise.
17035 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17037 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17038 _SC_LEVEL4_CACHE_LINESIZE.
17040 2012-10-03 Roland McGrath <roland@hack.frob.com>
17042 * sysdeps/unix/bsd/confstr.h: File removed.
17044 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17046 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17049 2012-10-02 Roland McGrath <roland@hack.frob.com>
17051 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17052 Make 'mapoff' field ElfW(Off) rather than off_t.
17054 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17056 * nscd/Makefile: Remove nscd-cflags and all its users.
17057 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17058 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17061 * malloc.c (malloc_printerr): Clarify error message.
17063 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17067 Set bit_FMA_Usable if FMA is supported.
17068 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17070 (bit_FMA4_Usable): Updated.
17071 (index_FMA_Usable): New macro.
17072 (CPUID_FMA): Likewise
17073 (HAS_FMA): Defined with bit_FMA_Usable.
17075 2012-10-01 Roland McGrath <roland@hack.frob.com>
17077 * bits/types.h (__swblk_t): Type removed.
17078 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17079 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17081 (__SWBLK_T_TYPE): Likewise.
17082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17083 (__SWBLK_T_TYPE): Likewise.
17084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17085 (__SWBLK_T_TYPE): Likewise.
17086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17087 (__SWBLK_T_TYPE): Likewise.
17089 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17090 Honza Horak <hhorak@redhat.com>
17092 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17093 (xdr_mapname): Use YPMAXMAP as maxsize.
17094 (xdr_peername): Use YPMAXPEER as maxsize.
17095 (xdr_keydat): Use YPAXRECORD as maxsize.
17096 (xdr_valdat): Use YPMAXRECORD as maxsize.
17098 2012-10-01 Roland McGrath <roland@hack.frob.com>
17100 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17102 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17103 * csu/init-first.c: ... here.
17104 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17105 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17106 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17107 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17108 * sysdeps/i386/init-first.c: File removed.
17109 * sysdeps/sh/init-first.c: File removed.
17111 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17115 if x * y might underflow to zero and z is zero.
17116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17118 * math/libm-test.inc (min_subnorm_value): New variable.
17119 (fma_test): Add more tests.
17120 (fma_test_towardzero): Likewise.
17121 (fma_test_downward): Likewise
17122 (fma_test_upward): Likewise.
17123 (initialize): Set min_subnorm_value.
17125 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17130 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17131 mode for addition resulting in exact zero.
17132 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17135 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17137 * math/libm-test.inc (fma_test): Add more tests.
17138 (fma_test_towardzero): New function.
17139 (fma_test_downward): Likewise.
17140 (fma_test_upward): Likewise.
17141 (main): Call the new functions.
17143 2012-09-28 David S. Miller <davem@davemloft.net>
17145 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17147 2012-09-28 Roland McGrath <roland@hack.frob.com>
17149 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17150 instead of SIGALRM.
17152 * sysdeps/gnu/_G_config.h: Moved to ...
17153 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17154 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17155 * sysdeps/generic/_G_config.h: ... here.
17157 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17159 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17161 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17162 Conditionalize target on [libnss_test1.so-version].
17164 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17166 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17167 (elfobjdir): Move out of conditionals.
17169 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17170 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17171 (__nss_lookup_function): Conditionalize label remove_from_tree on
17172 [!DO_STATIC_NSS || SHARED], matching its only use.
17174 2012-09-28 David S. Miller <davem@davemloft.net>
17176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17179 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17181 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17183 when HWCAP_SPARC_CRYPTO is present.
17185 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17187 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17189 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17192 * stdio-common/vfprintf.c (process_string_arg): Revert
17195 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17197 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17199 * stdio-common/tst-sprintf.c: Include <locale.h>
17200 (main): Test sprintf's handling of incomplete multibyte
17203 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17205 * elf/dl-runtime.c (VERSYMIDX): Removed.
17206 * elf/dl-version.c (VERSYMIDX): Likewise.
17207 * elf/do-rel.h (VERSYMIDX): Likewise.
17208 (VALIDX): Likewise.
17209 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17210 * elf/rtld.c (VALIDX): Likewise.
17211 (ADDRIDX): Likewise.
17212 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17213 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17214 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17215 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17216 (VALIDX): Likewise.
17217 (ADDRIDX): Likewise.
17219 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17221 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17223 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17226 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17228 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17229 addresses are in the same scope as 192.0.2/24.
17230 * posix/gai.conf: Document new scope table defaults.
17232 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17235 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17236 for ftell. Compute offsets from write pointers instead.
17237 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17239 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17242 * libio/Makefile (tests): New test case tst-fseek.
17243 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17244 combination works in wide mode.
17245 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17246 state when the external buffer state changes.
17248 2012-09-27 David S. Miller <davem@davemloft.net>
17251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17252 pass reloc->r_addend in as the 'high' argument to
17253 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17257 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17259 * rt/tst-aio2.c: Include <pthread.h>.
17260 * rt/tst-aio3.c: Likewise.
17262 2012-09-27 Steve Ellcey <sellcey@mips.com>
17264 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17266 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17268 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17269 contents on [SHARED].
17271 2012-09-26 Marek Polacek <polacek@redhat.com>
17275 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17276 for C++ and GCC <4.3 as well as for non GCC compilers.
17278 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17282 2012-09-25 Roland McGrath <roland@hack.frob.com>
17284 * Makefile.in (all, install): Declare with .PHONY.
17285 Reported by Michael Hope <michael.hope@linaro.org>.
17287 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17289 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17290 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17292 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17294 (sydep_routines): Add the new and the internal functions.
17295 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17296 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17298 (GLIBC_2.17): Add the new function.
17299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17300 (GLIBC_2.17): Likewise.
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17302 (GLIBC_2.17): Likewise.
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17304 (GLIBC_2.17): Likewise.
17305 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17307 2012-09-25 Alan Modra <amodra@gmail.com>
17309 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17310 Add release barrier before setting once_control to say
17311 initialisation is done. Add hints on lwarx. Use macro in
17313 (clear_once_control): Add release barrier.
17315 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17318 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17320 * math/s_clog10.c (__clog10): Likewise.
17321 * math/s_clog10f.c (__clog10f): Likewise.
17322 * math/s_clog10l.c (__clog10l): Likewise.
17323 * math/s_clogf.c (__clogf): Likewise.
17324 * math/s_clogl.c (__clogl): Likewise.
17325 * math/Makefile (libm-calls): Add x2y2m1.
17326 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17327 (__x2y2m1): Likewise.
17328 (__x2y2m1l): Likewise.
17329 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17330 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17333 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17334 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17335 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17336 * sysdeps/i386/fpu/libm-test-ulps: Update.
17337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17340 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17341 int as type of variable DEPTH.
17342 (glob): Use size_t instead of int as type of variables NEWCOUNT
17345 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17347 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17348 Add s_sincosf-sse2.
17349 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17350 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17351 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17352 macros for using routine as __sincosf_ia32.
17353 Use macro for function declaration and weak_alias.
17354 * sysdeps/i386/fpu/libm-test-ulps: Update.
17356 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17359 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17360 subnormal argument.
17361 * math/s_cexpf.c (__cexpf): Likewise.
17362 * math/s_csinf.c (__csinf): Likewise.
17363 * math/s_csinhf.c (__csinhf): Likewise.
17364 * math/s_ctanf.c (__ctanf): Likewise.
17365 * math/s_ctanhf.c (__ctanhf): Likewise.
17366 * math/s_ccosh.c (__ccoshf): Likewise.
17367 * math/s_cexp.c (__cexpl): Likewise.
17368 * math/s_csin.c (__csin): Likewise.
17369 * math/s_csinh.c (__csinh): Likewise.
17370 * math/s_ctan.c (__ctan): Likewise.
17371 * math/s_ctanh.c (ctanh): Likewise.
17372 * math/s_ccoshl.c (__ccoshl): Likewise.
17373 * math/s_cexpl.c (__cexpl): Likewise.
17374 * math/s_csinl.c (__csinl): Likewise.
17375 * math/s_csinhl.c (__csinhl): Likewise.
17376 * math/s_ctanl.c (__ctanl): Likewise.
17377 * math/s_ctanhl.c (__ctanhl): Likewise.
17379 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17381 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17382 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17383 (_IO_off_t): Define to __off_t, not _G_off_t.
17384 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17385 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17386 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17387 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17388 type of __dummy and __dummy2 fields.
17389 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17390 (_G_ssize_t): Likewise.
17391 (_G_off_t): Likewise.
17392 (_G_pid_t): Likewise.
17393 (_G_uid_t): Likewise.
17394 (_G_wchar_t): Likewise.
17395 (_G_wint_t): Likewise.
17396 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17397 (_G_ssize_t): Likewise.
17398 (_G_off_t): Likewise.
17399 (_G_pid_t): Likewise.
17400 (_G_uid_t): Likewise.
17401 (_G_wchar_t): Likewise.
17402 (_G_wint_t): Likewise.
17403 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17404 (_G_ssize_t): Likewise.
17405 (_G_off_t): Likewise.
17406 (_G_pid_t): Likewise.
17407 (_G_uid_t): Likewise.
17408 (_G_wchar_t): Likewise.
17409 (_G_wint_t): Likewise.
17411 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17413 * malloc/arena.c: Include malloc-sysdep.h.
17414 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17415 is sufficient to shrink the heap or an unmap is needed.
17416 * sysdeps/generic/malloc-sysdep.h: New file. Define
17417 new function check_may_shrink_heap.
17418 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17419 new function check_may_shrink_heap.
17421 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17423 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17426 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17428 * catgets/test-gencat.sh: Add "set -e".
17429 * elf/tst-pathopt.sh: Likewise.
17430 * grp/tst_fgetgrent.sh: Likewise.
17431 * iconvdata/run-iconv-test.sh: Likewise.
17432 * intl/tst-gettext.sh: Likewise.
17433 * intl/tst-gettext2.sh: Likewise.
17434 * intl/tst-gettext4.sh: Likewise.
17435 * intl/tst-gettext6.sh: Likewise.
17436 * intl/tst-translit.sh: Likewise.
17437 * io/ftwtest-sh: Likewise.
17438 * libio/test-freopen.sh: Likewise.
17439 * malloc/tst-mtrace.sh: Likewise.
17440 * posix/globtest.sh: Likewise.
17441 * posix/tst-getconf.sh: Likewise.
17442 * posix/wordexp-tst.sh: Likewise.
17443 * stdio-common/tst-printf.sh: Likewise.
17444 * stdio-common/tst-unbputc.sh: Likewise.
17445 * stdlib/tst-fmtmsg.sh: Likewise.
17446 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17447 * catgets/Makefile: Do not specify -e option when running
17448 testsuite shell scripts.
17449 * elf/Makefile: Likewise.
17450 * grp/Makefile: Likewise.
17451 * iconvdata/Makefile: Likewise.
17452 * intl/Makefile: Likewise.
17453 * io/Makefile: Likewise.
17454 * libio/Makefile: Likewise.
17455 * malloc/Makefile: Likewise.
17456 * posix/Makefile: Likewise.
17457 * stdio-common/Makefile: Likewise.
17458 * stdlib/Makefile: Likewise.
17459 * sysdeps/x86_64/Makefile: Likewise.
17461 * io/ftwtest-sh: Add copyright header.
17462 * posix/globtest.sh: Likewise.
17463 * posix/tst-getconf.sh: Likewise.
17464 * posix/wordexp-tst.sh: Likewise.
17465 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17467 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17470 * Makeconfig (+link): Defined as $(+link-static) if
17471 $(build-shared) isn't yes.
17472 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17474 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17476 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17479 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17480 new chunk size with MALLOC_ALIGN_MASK.
17482 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17485 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17487 (__printf_fphex): Determine rounding using get_rounding_mode and
17489 * stdio-common/tst-printf-round.c (struct hex_test): New
17491 (hex_tests): New variable.
17492 (test_hex_in_one_mode): New function.
17493 (do_test): Also run tests for hex float output.
17495 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17497 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17498 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17499 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17500 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17501 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17502 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17503 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17504 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17506 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17508 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17509 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17510 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17511 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17513 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17516 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17518 * elf/tst-rtld-load-self.sh: New test.
17519 * elf/Makefile: Run it.
17521 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17523 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17524 (tst-writev-ENV): Remove.
17525 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17527 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17529 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17531 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17533 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17535 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17537 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17538 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17539 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17542 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17545 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17546 * config.make.in (have-cpp-asm-debuginfo): Removed.
17547 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17548 * configure: Regenerated.
17550 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17553 * stdio-common/printf_fp.c: Include <stdbool.h> and
17555 (___printf_fp): Determine rounding using get_rounding_mode and
17557 * stdio-common/tst-printf-round.c: New file.
17558 * stdio-common/Makefile (tests): Add tst-printf-round.
17559 (link-libm): New variable.
17560 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17562 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17565 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17566 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17568 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17571 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17573 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17574 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17575 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17576 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17578 2012-09-12 Joseph Myers <joseph@codesourcery.com>
17581 * include/rounding-mode.h: New file.
17582 * sysdeps/generic/get-rounding-mode.h: Likewise.
17583 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17584 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17585 (MAX_VALUE): New macro.
17586 (MIN_VALUE): Likewise.
17587 (overflow_value): New function.
17588 (underflow_value): Likewise.
17589 (round_and_return): Use overflow_value and underflow_value to
17590 determine return values in overflow and underflow cases. Use
17591 round_away to determine rounding depending on rounding mode.
17592 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17593 determine return values in overflow and underflow cases.
17594 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17595 (struct test_results): New structure.
17596 (struct test): Use struct test_results to store expected results
17597 for all rounding modes.
17598 (TEST): Include expected results for all rounding modes.
17599 (test_in_one_mode): New function.
17600 (do_test): Use test_in_one_mode to compute and check results.
17601 Check results for all rounding modes.
17602 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17605 2012-12-09 Allan McRae <allan@archlinux.org>
17607 * sysdeps/i386/fpu/libm-test-ulps: Update
17609 2012-09-11 Joseph Myers <joseph@codesourcery.com>
17611 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17612 (_G_int32_t): Likewise.
17613 (_G_uint16_t): Likewise.
17614 (_G_uint32_t): Likewise.
17615 (_G_HAVE_BOOL): Likewise.
17616 (_G_HAVE_ATEXIT): Likewise.
17617 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17618 (_G_HAVE_IO_FILE_OPEN): Likewise.
17619 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17620 (_G_int32_t): Likewise.
17621 (_G_uint16_t): Likewise.
17622 (_G_uint32_t): Likewise.
17623 (_G_HAVE_BOOL): Likewise.
17624 (_G_HAVE_ATEXIT): Likewise.
17625 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17626 (_G_HAVE_IO_FILE_OPEN): Likewise.
17627 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17628 (_G_int32_t): Likewise.
17629 (_G_uint16_t): Likewise.
17630 (_G_uint32_t): Likewise.
17631 (_G_HAVE_BOOL): Likewise.
17632 (_G_HAVE_ATEXIT): Likewise.
17633 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17634 (_G_HAVE_IO_FILE_OPEN): Likewise.
17636 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17638 * csu/libc-tls.c: Update copyright years.
17640 2012-09-10 Joseph Myers <joseph@codesourcery.com>
17642 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17643 [!_G_USING_THUNKS]: Remove conditional code.
17644 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17645 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17647 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17648 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17649 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17650 (_G_VTABLE_LABEL_PREFIX): Likewise.
17651 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17652 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17653 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17654 (_G_VTABLE_LABEL_PREFIX): Likewise.
17655 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17656 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17657 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17658 (_G_VTABLE_LABEL_PREFIX): Likewise.
17659 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17661 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17663 * libio/Makefile: Include ../Makeconfig before tests.
17664 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17665 only if $(build-shared) is yes.
17667 * iconv/gconv_db.c: Update copyright years.
17669 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17671 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17672 unwind info if defined PIC. Fix special cases description.
17673 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17675 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17677 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17679 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17681 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17683 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17686 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17687 (LDLIBS-tst-chk4): This.
17688 (LDFLAGS-tst-chk5): Renamed to ...
17689 (LDLIBS-tst-chk5): This.
17690 (LDFLAGS-tst-chk6): Renamed to ...
17691 (LDLIBS-tst-chk6): This.
17692 (LDFLAGS-tst-lfschk4): Renamed to ...
17693 (LDLIBS-tst-lfschk4): This.
17694 (LDFLAGS-tst-lfschk5): Renamed to ...
17695 (LDLIBS-tst-lfschk5): This.
17696 (LDFLAGS-tst-lfschk6): Renamed to ...
17697 (LDLIBS-tst-lfschk6): This.
17699 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17700 on $(common-objpfx)soversions.mk.
17702 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17705 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17708 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17710 * malloc/arena.c (arena_get_retry): New function that gets
17711 another arena for the caller to try its request on.
17712 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17713 current arena cannot fulfill the request.
17714 (__libc_memalign): Likewise.
17715 (__libc_memalign): Likewise.
17716 (__libc_pvalloc): Likewise.
17717 (__libc_calloc): Likewise.
17719 2012-09-05 John Tobey <john.tobey@gmail.com>
17722 * manual/arith.texi (Operations on Complex): Fix description
17723 of carg branch cut.
17725 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17728 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17732 * manual/memory.texi (Memory): Make order of menu items match
17735 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17737 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17738 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17739 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17741 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17743 * csu/libc-tls.c (static_dtv): Renamed to ...
17744 (_dl_static_dtv): This. Make it global.
17745 (_dl_initial_dtv): Removed.
17746 (__libc_setup_tls): Updated.
17747 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17748 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17751 2012-09-06 Petr Machata <pmachata@redhat.com>
17753 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17754 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17755 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17756 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17758 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17761 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17762 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17765 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17768 * Makeconfig (link-static-before-libc): Replace $(+prector)
17770 (link-static-after-libc): Replace $(+postctor) with
17772 (link-bounded): Replace $(+prector)/$(+postctor) with
17773 $(+prectorT)/$(+postctorT).
17774 (+prectorT): New macro.
17775 (+postctorT): Likewise.
17777 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17779 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17780 (round_str): Handle values above the maximum for IBM long double
17782 * stdlib/tst-strtod-round.c (tests): Regenerated.
17784 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17786 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17788 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17789 zarch_nohighgprs around the zarch optimized routines.
17790 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17791 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17792 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17795 2012-09-05 David S. Miller <davem@davemloft.net>
17797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17799 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17800 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17801 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17802 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17805 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17807 * malloc/arena.c: Fold copyright years.
17808 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17810 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17812 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17814 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17816 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17818 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17820 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17821 change internal state upon failure.
17823 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17825 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17826 * malloc/memusage.c (mmap): Likewise.
17827 (mmap64, mremap): Likewise. Adjust name in comment.
17829 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17831 * libio/fileops.c: Fix typos in comments.
17832 * libio/oldfileops.c: Likewise.
17833 * libio/wfileops.c: Likewise.
17835 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17838 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17839 (tst-malloc-usable-ENV): Set environment for test case.
17840 * malloc/hooks.c (malloc_check_get_size): New function to get
17842 * malloc/malloc.c (musable): Use malloc_check_get_size.
17843 * malloc/tst-malloc-usable.c: New test case.
17845 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17847 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17849 2012-09-05 Allan McRae <allan@archlinux.org>
17852 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17853 determine header location.
17854 * configure: Regenerated.
17856 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17858 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17860 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17861 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17863 (test): Regenerate.
17865 2012-09-04 David S. Miller <davem@davemloft.net>
17867 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17868 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17871 2012-09-04 Florian Weimer <fweimer@redhat.com>
17873 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17876 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17878 2012-09-04 Joseph Myers <joseph@codesourcery.com>
17881 * libio/iogetdelim.c: Include <limits.h>.
17882 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17883 + len + 1 would overflow.
17885 2012-09-03 Andreas Jaeger <aj@suse.de>
17887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17888 * sysdeps/i386/fpu/libm-test-ulps: Update.
17890 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17892 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17893 Add s_sinf-sse2, s_conf-sse2.
17895 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17896 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17897 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17898 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17900 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17901 for using routine as __sinf_ia32.
17902 Use macro for function declaration and weak_alias.
17903 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17904 for using routine as __cosf_ia32.
17905 Use macro for function declaration and weak_alias.
17907 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17908 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17910 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17911 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17914 * math/libm-test.inc (cos_test): Add more test cases.
17915 (sin_test): Likewise.
17916 (sincos_test): Likewise.
17918 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17920 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17921 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17923 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17925 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17928 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17929 first element of the GOT.
17930 (elf_machine_load_address): Return the difference between
17931 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17933 2012-09-01 Allan McRae <allan@archlinux.org>
17936 * configure.in (AWK): Require gawk version 3.0 or later.
17937 * configure: Regenerated.
17939 2012-09-01 Joseph Myers <joseph@codesourcery.com>
17941 * sysdeps/unix/sysv/linux/kernel-features.h
17942 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17943 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17944 [__NR_clock_getres]: Make code unconditional.
17945 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17946 (clock_getcpuclockid): Remove code left unreachable by removal of
17948 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17949 code unconditional.
17950 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17951 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17952 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17953 Make code unconditional.
17954 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17955 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17956 * sysdeps/unix/sysv/linux/clock_settime.c
17957 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17959 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17960 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17962 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17965 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17966 scripts/test-installation.pl.
17968 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17969 and $ld_so_version if it is set.
17971 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17974 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17975 failure if reading from procfs failed.
17976 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17978 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17980 * sysdeps/unix/sysv/linux/kernel-features.h
17981 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17982 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17983 Remove conditional code.
17984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17985 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17986 Remove conditional code.
17987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17988 * sysdeps/unix/sysv/linux/i386/fxstat.c
17989 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17991 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17992 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17994 * sysdeps/unix/sysv/linux/i386/lxstat.c
17995 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17996 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17997 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17998 Remove conditional code.
17999 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18000 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18001 Remove conditional code.
18002 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18003 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18004 <kernel-features.h>.
18005 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18007 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18008 Remove conditional code.
18009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18010 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18011 Remove conditional.
18013 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18016 * NEWS: Add fixed bug number.
18018 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18021 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18022 underflowing exponent in case of negative sign.
18023 * stdlib/tst-strtod-round-data: Add more tests.
18024 * stdlib/tst-strtod-round.c (tests): Regenerated.
18027 * stdlib/strtod_l.c (NDIG): Remove.
18028 (HEXNDIG): Likewise.
18029 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18030 smallest representable value.
18031 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18032 lie within an exact representation of 1/2 ulp of the result.
18033 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18035 (TENS_P9_IDX): Define unconditionally.
18036 (TENS_P9_SIZE): Likewise.
18037 (TENS_P10_IDX): Likewise.
18038 (TENS_P10_SIZE): Likewise.
18039 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18040 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18041 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18042 entries for 10^2^13 and 10^2^14.
18043 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18044 (TENS_P13_IDX): Define.
18045 (TENS_P13_SIZE): Likewise.
18046 (TENS_P14_IDX): Likewise.
18047 (TENS_P14_SIZE): Likewise.
18048 (_fpioconst_pow10): Change array size to
18049 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18051 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18052 1024]: Add entries for 10^2^13 and 10^2^14.
18053 [LAST_POW10 > _LAST_POW10]: Remove #error.
18054 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18055 (_fpioconst_pow10): Change array size to
18056 FPIOCONST_POW10_ARRAY_SIZE.
18057 * stdlib/gen-fpioconst.c: New file.
18058 * stdlib/gen-tst-strtod-round.c: Likewise.
18059 * stdlib/tst-strtod-round-data: Likewise.
18060 * stdlib/tst-strtod-round.c: Likewise.
18061 * stdlib/Makefile (tests): Add tst-strtod-round.
18064 * stdlib/strtod_l.c: Include <stdint.h>.
18065 (NDEBUG): Do not define.
18066 (round_and_return): Change EXPONENT parameter to type intmax_t.
18067 Rearrange calculations to avoid internal overflow possibilities.
18068 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18069 Rearrange calculations to avoid internal overflow possibilities.
18070 Assert that number fits inside MPNSIZE limbs.
18071 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18072 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18073 calculations and add assertions to avoid internal overflow
18074 possibilities. Add casts to avoid signed/unsigned operations.
18075 * stdlib/tst-strtod-overflow.c: New file.
18076 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18078 2012-08-25 Marek Polacek <polacek@redhat.com>
18080 * time/time.h: Fix some typos in comments.
18082 2012-08-23 Roland McGrath <roland@hack.frob.com>
18084 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18085 * posix/tst-rfc3484-2.c: Likewise.
18086 * posix/tst-rfc3484-3.c: Likewise.
18088 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18090 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18091 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18093 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18095 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18096 #include of fxstatat64.c.
18098 2012-08-22 Roland McGrath <roland@hack.frob.com>
18100 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18101 * shadow/getspent_r.c: Likewise.
18102 * shadow/getspnam.c: Likewise.
18103 * shadow/getspnam_r.c: Likewise.
18104 * gshadow/getsgent.c: Likewise.
18105 * gshadow/getsgent_r.c: Likewise.
18106 * gshadow/getsgnam.c: Likewise.
18107 * gshadow/getsgnam_r.c: Likewise.
18108 * inet/getnetbyad.c: Likewise.
18109 * inet/getnetbyad_r.c: Likewise.
18110 * inet/getnetbynm.c: Likewise.
18111 * inet/getnetbynm_r.c: Likewise.
18112 * inet/getnetent.c: Likewise.
18113 * inet/getnetent_r.c: Likewise.
18114 * inet/getproto.c: Likewise.
18115 * inet/getproto_r.c: Likewise.
18116 * inet/getprtent.c: Likewise.
18117 * inet/getprtent_r.c: Likewise.
18118 * inet/getprtname.c: Likewise.
18119 * inet/getprtname_r.c: Likewise.
18120 * inet/getrpcbyname.c: Likewise.
18121 * inet/getrpcbyname_r.c: Likewise.
18122 * inet/getrpcbynumber.c: Likewise.
18123 * inet/getrpcbynumber_r.c: Likewise.
18124 * inet/getrpcent.c: Likewise.
18125 * inet/getrpcent_r.c: Likewise.
18126 * inet/getaliasent.c: Likewise.
18127 * inet/getaliasent_r.c: Likewise.
18128 * inet/getaliasname.c: Likewise.
18129 * inet/getaliasname_r.c: Likewise.
18130 * nscd/getgrgid_r.c: Likewise.
18131 * nscd/getgrnam_r.c: Likewise.
18132 * nscd/gethstbyad_r.c: Likewise.
18133 * nscd/gethstbynm3_r.c: Likewise.
18134 * nscd/getpwnam_r.c: Likewise.
18135 * nscd/getpwuid_r.c: Likewise.
18136 * nscd/getsrvbynm_r.c: Likewise.
18137 * nscd/getsrvbypt_r.c: Likewise.
18138 * nscd/gai.c: Likewise.
18140 * configure.in (build_nscd): New substituted variable, set
18141 by --disable-build-nscd and defaults to $use_nscd.
18142 * configure: Regenerated.
18143 * config.make.in (build-nscd): New substituted variable.
18144 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18145 Change conditional to require [$(build-nscd) = yes] as well.
18146 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18149 * configure.in (use_nscd): New substituted variable, set by
18150 --disable-nscd. If enabled, define USE_NSCD.
18151 * configure: Regenerated.
18152 * config.h.in: Add USE_NSCD.
18153 * config.make.in (use-nscd): New substituted variable.
18154 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18155 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18156 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18157 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18158 (CFLAGS-getgrnam_r.c): Likewise.
18159 (CFLAGS-initgroups.c): Likewise.
18160 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18161 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18163 * inet/getnetgrent_r.c
18164 (nscd_setnetgrent): New function, broken out of ...
18165 (setnetgrent): ... here. Call it.
18166 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18167 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18168 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18169 * nscd/Makefile (routines, aux): Move definitions after include of
18170 Makeconfig. Conditionalize on [$(use-nscd) != no].
18171 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18172 Conditionalize on [USE_NSCD].
18173 (is_nscd, nscd_init_cb): Likewise.
18174 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18175 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18176 * nss/nss_db/db-init.c: Likewise.
18177 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18179 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18180 (make_request): Use it.
18181 (cache_valid_p): New function.
18182 (__check_pf): Use it.
18183 * NEWS: Add item for --disable-nscd.
18185 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18187 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18188 to support sed >= 4.2.1-20-ga9bf076.
18189 * configure: Regenerated.
18191 2012-08-22 Roland McGrath <roland@hack.frob.com>
18193 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18194 Conditionalize whole body on [IREL].
18196 2012-08-22 Jeff Law <law@redhat.com>
18199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18200 if the family is PF_UNSPEC.
18202 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18204 * Makerules (lib-version): Rename from V.
18205 (install-lib-nosubdir): Change V to lib-version.
18207 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18210 * powerpc32/power6/wcschr.c: New file.
18211 * powerpc32/power6/wcscpy.c: New file.
18212 * powerpc32/power6/wcsrchr.c: New file.
18213 * powerpc64/power6/wcschr.c: New file.
18214 * powerpc64/power6/wcscpy.c: New file.
18215 * powerpc64/power6/wcsrchr.c: New file.
18217 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18219 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18220 (two_way_short_needle): Use it.
18221 * string/strstr.c (AVAILABLE1_USES_J): Define.
18222 * string/strcasestr.c: Likewise.
18224 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18226 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18229 * NEWS: Add an entry.
18230 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18231 define their defaults.
18232 (two_way_short_needle): Detect end-of-string on-the-fly.
18233 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18234 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18235 * string/bug-strcasestr1.c: New test.
18236 * string/Makefile: Run it.
18238 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18241 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18242 the first character.
18244 2012-08-21 Roland McGrath <roland@hack.frob.com>
18246 * csu/elf-init.c (__libc_csu_irel): Function removed.
18247 * csu/libc-start.c (apply_irel): New function.
18248 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18250 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18252 * sysdeps/unix/sysv/linux/kernel-features.h
18253 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18254 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18255 <kernel-features.h>.
18256 [__NR_fadvise64_64]: Make code unconditional.
18257 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18258 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18259 !__NR_fadvise64_64)]: Likewise.
18260 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18261 !__NR_fadvise64_64))]: Likewise.
18262 [__NR_fadvise64]: Make code unconditional.
18263 [!__NR_fadvise64]: Remove conditional code.
18264 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18265 <kernel-features.h>.
18266 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18268 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18271 not include <kernel-features.h>.
18272 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18274 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18276 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18277 include <kernel-features.h>.
18278 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18280 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18283 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18285 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18286 slight instruction rearrangements per scrollpipe analysis.
18287 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18289 2012-08-20 Roland McGrath <roland@hack.frob.com>
18291 * manual/syslog.texi (syslog; vsyslog, closelog):
18292 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18293 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18295 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18296 DSOCAPS to match condition on defining it.
18298 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18300 * sysdeps/unix/sysv/linux/kernel-features.h
18301 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18303 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18304 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18306 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18307 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18309 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18310 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18312 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18313 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18315 * sysdeps/unix/sysv/linux/kernel-features.h
18316 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18317 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18319 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18320 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18321 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18322 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18323 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18324 Make code unconditional.
18325 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18326 (__mmap64) [!__NR_mmap2]: Likewise.
18327 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18328 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18329 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18330 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18331 [__NR_mmap2]: Make code unconditional.
18332 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18333 (__mmap64) [!__NR_mmap2]: Likewise.
18335 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18337 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18339 2012-08-18 Andreas Jaeger <aj@suse.de>
18341 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18343 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18345 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18346 * include/unistd.h (__have_sock_cloexec): Likewise.
18347 (__have_pipe2): Likewise.
18348 (__have_dup3): Likewise.
18350 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18353 * include/unistd.h (__have_pipe2): Change define into an extern int.
18354 (__have_dup3): Likewise.
18355 * socket/have_sock_cloexec.c: Include fcntl.h.
18356 (__have_pipe2): New variable.
18357 (__have_dup3): Likewise.
18359 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18361 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18363 2012-08-17 Marek Polacek <polacek@redhat.com>
18365 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18366 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18368 2012-08-17 Roland McGrath <roland@hack.frob.com>
18370 * configure.in: Add AC_SUBST for sysheaders.
18371 * configure: Regenerated.
18372 * config.make.in (sysheaders): New substituted variable.
18374 * sysdeps/unix/mkfifo.c: Moved ...
18375 * sysdeps/posix/mkfifo.c: ... here.
18376 * sysdeps/unix/mkfifoat.c: Moved ...
18377 * sysdeps/posix/mkfifoat.c: ... here.
18379 * sysdeps/unix/utime.c: Moved ...
18380 * sysdeps/posix/utime.c: ... here.
18382 * sysdeps/unix/time.c: Moved ...
18383 * sysdeps/posix/time.c: ... here.
18384 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18385 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18387 * sysdeps/unix/nice.c: Moved ...
18388 * sysdeps/posix/nice.c: ... here.
18390 * sysdeps/unix/alarm.c: Moved ...
18391 * sysdeps/posix/alarm.c: ... here.
18393 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18395 2012-08-17 Jeff Law <law@redhat.com>
18397 * intl/Makefile (codeset_mo): New variable.
18398 ($(codeset_mo)): New target.
18399 (tst-codeset.out): Depend on that. Remove explicit rule.
18400 (tst-gettext3.out, tst-gettext5.out): Likewise.
18401 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18402 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18403 * intl/tst-codeset.sh: Remove.
18404 * intl/tst-gettext3.sh: Likewise.
18405 * intl/tst-gettext5.sh: Likewise.
18407 2012-08-17 Roland McGrath <roland@hack.frob.com>
18409 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18410 * sysdeps/unix/syscalls.list: ... here.
18412 * sysdeps/posix/getaddrinfo.c
18413 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18414 (gaiconf_init, gaiconf_reload): Use them.
18415 [!_STATBUF_ST_NSEC]
18416 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18417 Define using time_t rather than struct timespec.
18419 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18420 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18422 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18424 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18425 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18428 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18429 __libc_cleanup_push argument.
18431 * bits/param.h: New file.
18432 * misc/sys/param.h: New file.
18433 * include/sys/param.h: New file.
18434 * misc/Makefile (headers): Add bits/param.h.
18435 * sysdeps/generic/sys/param.h: File removed.
18436 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18437 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18438 * sysdeps/mach/hurd/bits/param.h: New file.
18439 * sysdeps/mach/hurd/sys/param.h: File removed.
18441 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18444 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18446 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18447 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18450 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18451 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18452 rather than -D_IO_MTSAFE_IO conditionally.
18453 * stdio-common/Makefile (CPPFLAGS): Likewise.
18454 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18455 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18456 Use $(libio-mtsafe).
18457 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18458 of -D_IO_MTSAFE_IO.
18459 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18460 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18461 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18462 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18463 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18464 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18465 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18466 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18467 (CFLAGS-fread_u_chk.c): Likewise.
18468 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18469 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18470 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18471 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18472 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18473 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18474 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18475 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18476 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18478 * libio/Makefile: Test [$(libc-reentrant) = yes]
18479 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18482 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18483 * sysdeps/pthread/configure: File removed.
18484 * sysdeps/pthread/Makeconfig: New file.
18485 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18486 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18488 2012-08-16 Gary Benson <gbenson@redhat.com>
18490 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18491 unmapping the first object in a namespace.
18493 2012-08-16 Roland McGrath <roland@hack.frob.com>
18495 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18496 (__internal_setnetgrent): ... this. Add internal_function to
18497 definition. Add libc_hidden_def.
18498 (setnetgrent): Update caller.
18499 (internal_endnetgrent): Renamed to ...
18500 (__internal_endnetgrent): ... this. Add internal_function to
18501 definition. Add libc_hidden_def.
18502 (endnetgrent): Update caller.
18503 (internal_getnetgrent_r): Renamed to ...
18504 (__internal_getnetgrent_r): ... this. Add internal_function to
18505 definition. Add libc_hidden_def.
18506 (__getnetgrent_r): Update caller.
18507 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18509 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18511 * stdlib/longlong.h: Update from GCC.
18513 2012-08-16 Roland McGrath <roland@hack.frob.com>
18515 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18516 on _QL, which is set by umul_ppmm but never used.
18517 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18518 variables, which are set by GMP macros but never used.
18519 * stdio-common/_itowa.c (_itowa): Likewise.
18520 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18521 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18523 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18525 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18526 struct La_sh_regs is not constant.
18527 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18528 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18529 and struct La_sparc64_regs are not constant.
18531 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18533 * sysdeps/unix/sysv/linux/kernel-features.h
18534 (__ASSUME_POSIX_TIMERS): Remove.
18535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18537 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18538 Make code unconditional.
18539 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18540 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18541 Make code unconditional.
18542 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18543 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18544 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18545 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18546 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18547 Make code unconditional.
18548 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18549 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18550 (__libc_missing_posix_timers): Remove.
18552 2012-08-15 Roland McGrath <roland@hack.frob.com>
18554 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18555 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18557 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18559 * elf/dl-sym.c: Include <stdlib.h>.
18561 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18562 constants, which avoids warnings in 32-bit builds.
18564 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18565 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18567 * misc/lseek.c: File moved to ...
18568 * io/lseek.c: ... here.
18570 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18572 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18573 shifting LEN more than 31 bits at once.
18575 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18578 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18579 segmentation fault for a case of two empty input strings.
18580 * string/test-strncasecmp.c (check1): Renamed to...
18581 (bz12205): ...this.
18582 (bz14195): Add new testcase for two empty input strings and N > 0.
18583 (test_main): Call new testcase, adapt for renamed function.
18585 2012-08-15 Andreas Jaeger <aj@suse.de>
18588 * crypt/md5test2.c: New test, based on test supplied by Serge
18589 Belyshev <belyshev@depni.sinp.msu.ru>.
18590 * crypt/Makefile (xtests): Add md5test-giant..
18591 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18593 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18596 * crypt/md5.c (md5_process_block): Don't assume the buffer
18597 length is less than 2**32.
18598 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18599 length is less than 2**64.
18601 2012-08-15 Roland McGrath <roland@hack.frob.com>
18603 * string/str-two-way.h: Include <sys/param.h>.
18604 (MAX): Macro removed.
18606 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18607 Move #define and #undef of memmove to just before and after
18608 including <string.h>.
18610 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18611 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18612 and after including <string.h>. Move declarations of
18613 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18614 to before #include "string/memmove.c".
18616 * include/dirent.h: Declare __getdirentries.
18618 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18619 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18621 2012-08-14 Mike Frysinger <vapier@gentoo.org>
18623 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18624 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18625 * sysdeps/i386/configure: Regenerated.
18626 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18627 STABS_CURRENT_FILE, and STABS_FUN.
18628 (END): Remove call to STABS_FUN_END.
18629 (STABS_CURRENT_FILE1): Delete.
18630 (STABS_CURRENT_FILE): Likewise.
18631 (STABS_FUN): Likewise.
18632 (STABS_FUN_END): Likewise.
18633 (STABS_FUN2): Likewise.
18634 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18635 * sysdeps/x86_64/configure: Regenerated.
18637 2012-08-14 Roland McGrath <roland@hack.frob.com>
18639 * elf/dl-open.c: Include <atomic.h>.
18640 * elf/dl-lookup.c: Likewise.
18642 2012-08-14 Joseph Myers <joseph@codesourcery.com>
18644 * sysdeps/unix/sysv/linux/kernel-features.h
18645 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18646 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18648 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18650 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18651 condition on __ASSUME_CLONE_THREAD_FLAGS.
18653 2012-08-14 Andreas Jaeger <aj@suse.de>
18655 * sysdeps/i386/fpu/libm-test-ulps: Update.
18657 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18659 * include/atomic.h (atomic_exchange_and_add): Split into ...
18660 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18663 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18667 2012-08-13 Jeff Law <law@redhat.com>
18669 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18670 null byte in the output string.
18672 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18674 * sysdeps/unix/sysv/linux/kernel-features.h
18675 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18676 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18677 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18678 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18679 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18680 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18681 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18683 2012-08-09 Jeff Law <law@redhat.com>
18686 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18687 When avoid_arena is set, don't retry in the that arena. Pick the
18688 next one, whatever it might be.
18689 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18690 (arena_lock): Pass in new parameter to arena_get2.
18691 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18693 (__libc_malloc): Unify retrying after main arena failure with
18694 __libc_memalign version.
18695 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18697 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18700 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18701 to __redirect_strstr.
18702 (__strstr_sse42): Use typeof __redirect_strstr.
18703 (__strstr_ia32): Likewise.
18704 (__libc_strstr): New prototype.
18705 (strstr): Renamed to ...
18706 (__libc_strstr): This.
18707 (strstr): New strong alias of __libc_strstr.
18708 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18709 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18712 (__libc_time): New prototype.
18713 (time_ifunc): Replace time with __libc_time.
18714 (time): New strong alias and hidden definition of __libc_time.
18715 (__GI_time): Remove strong alias.
18716 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18717 Include <stddef.h>.
18718 (memmove): Redefined to __redirect_memmove.
18719 (__memmove_sse2): Use typeof __redirect_memmove.
18720 (__memmove_ssse3): Likewise.
18721 (__memmove_ssse3_back): Likewise.
18722 (__libc_memmove): New prototype.
18723 (memmove): Renamed to ...
18724 (__libc_memmove): This.
18725 (memmove): New strong alias of __libc_memmove.
18727 2012-08-08 Mark Salter <msalter@redhat.com>
18730 (R_MN10300_TLS_GD): Define.
18731 (R_MN10300_TLS_LD): Likewise.
18732 (R_MN10300_TLS_LDO): Likewise.
18733 (R_MN10300_TLS_GOTIE): Likewise.
18734 (R_MN10300_TLS_IE): Likewise.
18735 (R_MN10300_TLS_LE): Likewise.
18736 (R_MN10300_TLS_DTPMOD): Likewise.
18737 (R_MN10300_TLS_DTPOFF): Likewise.
18738 (R_MN10300_TLS_TPOFF): Likewise.
18739 (R_MN10300_SYM_DIFF): Likewise.
18740 (R_MN10300_ALIGN): Likewise.
18741 (R_MN10300_NUM): Update.
18743 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18748 2012-08-08 Roland McGrath <roland@hack.frob.com>
18750 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18752 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18753 sysdeps/unix -> sysdeps/posix move.
18754 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18756 2012-08-07 Allan McRae <allan@archlinux.org>
18759 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18760 (SUNOS_CPP): Likewise.
18761 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18763 (open_input): Call CPP using execvp.
18765 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18767 * sysdeps/unix/sysv/linux/kernel-features.h
18768 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18769 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18770 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18771 (__ASSUME_WAITID_SYSCALL): Likewise.
18772 * sysdeps/unix/sysv/linux/dl-execstack.c
18773 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18774 code unconditional.
18775 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18777 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18778 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18779 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18781 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18783 [__ASSUME_WAITID_SYSCALL]: Likewise.
18784 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18786 2012-08-07 Roland McGrath <roland@hack.frob.com>
18788 * sysdeps/unix/closedir.c: Renamed to ...
18789 * sysdeps/posix/closedir.c: ... here.
18790 * sysdeps/unix/dirfd.c: Renamed to ...
18791 * sysdeps/posix/dirfd.c: ... here.
18792 * sysdeps/unix/dirstream.h: Renamed to ...
18793 * sysdeps/posix/dirstream.h: ... here.
18794 * sysdeps/unix/fdopendir.c: Renamed to ...
18795 * sysdeps/posix/fdopendir.c: ... here.
18796 * sysdeps/unix/opendir.c: Renamed to ...
18797 * sysdeps/posix/opendir.c: ... here.
18798 * sysdeps/unix/readdir.c: Renamed to ...
18799 * sysdeps/posix/readdir.c: ... here.
18800 * sysdeps/unix/readdir_r.c: Renamed to ...
18801 * sysdeps/posix/readdir_r.c: ... here.
18802 * sysdeps/unix/rewinddir.c: Renamed to ...
18803 * sysdeps/posix/rewinddir.c: ... here.
18804 * sysdeps/unix/seekdir.c: Renamed to ...
18805 * sysdeps/posix/seekdir.c: ... here.
18806 * sysdeps/unix/telldir.c: Renamed to ...
18807 * sysdeps/posix/telldir.c: ... here.
18808 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18809 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18810 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18811 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18813 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18814 * bits/fcntl.h: ... here.
18816 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18818 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18819 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18820 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18821 (struct flock): Move l_start, l_len to the beginning.
18822 Use __pid_t for l_pid.
18823 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18824 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18825 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18826 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18827 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18828 [__USE_LARGEFILE64] (struct flock64): New type.
18829 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18831 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18832 * bits/dirent.h: ... here.
18834 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18835 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18837 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18840 Change from 2.6.0 to 2.6.16.
18841 * sysdeps/unix/sysv/linux/configure: Regenerated.
18842 * sysdeps/unix/sysv/linux/kernel-features.h
18843 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18844 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18846 (__ASSUME_UTIMES): Likewise.
18847 (__ASSUME_CLONE_STOPPED): Remove.
18848 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18849 architectures, not kernel version.
18850 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18851 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18852 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18853 (__ASSUME_WAITID_SYSCALL): Likewise.
18854 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18855 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18856 * README: State 2.6.16 as minimum Linux kernel version. Do not
18857 refer to older versions.
18859 2012-08-06 Roland McGrath <roland@hack.frob.com>
18861 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18862 Define alphasort64 as an alias.
18863 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18864 Define versionsort64 as an alias.
18865 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18866 Define scandir64 as an alias.
18867 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18868 Define scandirat64 as an alias.
18869 * dirent/alphasort64.c (alphasort64):
18870 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18871 * dirent/versionsort64.c: Likewise.
18872 * dirent/scandir64.c: Likewise.
18873 * dirent/scandirat64.c: Likewise.
18874 * sysdeps/wordsize-64/alphasort.c: File removed.
18875 * sysdeps/wordsize-64/alphasort64.c: File removed.
18876 * sysdeps/wordsize-64/scandir.c: File removed.
18877 * sysdeps/wordsize-64/scandir64.c: File removed.
18878 * sysdeps/wordsize-64/scandirat.c: File removed.
18879 * sysdeps/wordsize-64/scandirat64.c: File removed.
18880 * sysdeps/wordsize-64/versionsort.c: File removed.
18881 * sysdeps/wordsize-64/versionsort64.c: File removed.
18882 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18883 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18884 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18885 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18886 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18887 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18891 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18893 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18895 [defined __arch64__ || defined __sparcv9]
18896 (__INO_T_MATCHES_INO64_T): New macro.
18897 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18898 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18899 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18900 * sysdeps/unix/sysv/linux/bits/dirent.h
18901 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18902 (_DIRENT_MATCHES_DIRENT64): New macro.
18904 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18905 Define lockf64 as an alias.
18906 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18907 Define fseeko64 as an alias.
18908 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18909 Define ftello64 as an alias.
18910 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18911 Define _IO_fgetpos64 and fgetpos64 as aliases.
18912 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18913 Define _IO_fsetpos64 and fsetpos64 as aliases.
18914 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18915 Conditionalize body on this.
18916 * libio/fseeko64.c: Likewise.
18917 * libio/ftello64.c: Likewise.
18918 * libio/iofgetpos64.c: Likewise.
18919 * libio/iofsetpos64.c: Likewise.
18920 * sysdeps/wordsize-64/lockf.c: File removed.
18921 * sysdeps/wordsize-64/lockf64.c: File removed.
18922 * sysdeps/wordsize-64/fseeko.c: File removed.
18923 * sysdeps/wordsize-64/fseeko64.c: File removed.
18924 * sysdeps/wordsize-64/ftello.c: File removed.
18925 * sysdeps/wordsize-64/ftello64.c: File removed.
18926 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18927 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18928 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18929 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18930 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18931 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18932 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18933 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18934 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18935 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18936 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18937 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18938 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18941 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18943 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18945 [defined __arch64__ || defined __sparcv9]
18946 (__OFF_T_MATCHES_OFF64_T): New macro.
18947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18948 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18950 (__OFF_T_MATCHES_OFF64_T): New macro.
18952 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18954 * stdlib/secure-getenv.c (__secure_getenv): Replace
18955 GLIBC_2_16 with GLIBC_2_17.
18957 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18959 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18960 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18962 2012-08-03 David S. Miller <davem@davemloft.net>
18964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18966 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18970 (__ASSUME_CORRECT_SI_PID): Likewise.
18971 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18972 (__ASSUME_TMPFS_NAME): Likewise.
18973 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18974 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18975 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18976 (HAVE_AUX_SECURE): Make definition unconditional.
18977 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18978 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18980 2012-08-03 Roland McGrath <roland@hack.frob.com>
18982 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18983 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18984 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18985 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18986 __eloop_threshold instead of SYMLOOP_MAX.
18988 * sysdeps/generic/eloop-threshold.h: New file.
18989 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18991 * elf/chroot_canon.c (chroot_canon): Likewise.
18993 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18996 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18997 Change to 2.6.0 everywhere.
18998 * sysdeps/unix/sysv/linux/configure: Regenerated.
18999 * sysdeps/unix/sysv/linux/kernel-features.h
19000 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19001 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19003 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19004 (__ASSUME_FUTEX_REQUEUE): Remove.
19005 (__ASSUME_STATFS64): Define unconditionally.
19006 (__ASSUME_AT_SECURE): Likewise.
19007 (__ASSUME_CORRECT_SI_PID): Likewise.
19008 (__ASSUME_TGKILL): Define without depending on kernel version for
19010 (__ASSUME_UTIMES): Likewise.
19011 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19013 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19014 (__ASSUME_TMPFS_NAME): Likewise.
19015 * README: Update reference to Linux kernel versions.
19017 2012-08-02 Marek Polacek <polacek@redhat.com>
19020 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19021 libc_cv_asm_type_prefix with %.
19022 * configure: Regenerated.
19023 * include/libc-symbols.h: Remove comment about
19024 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19025 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19026 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19027 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19028 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19029 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19030 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19031 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19032 * elf/tst-unique2mod1.c: Likewise.
19033 * elf/tst-unique1mod2.c: Likewise.
19034 * elf/tst-unique1mod1.c: Likewise.
19035 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19036 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19037 Replace ASM_TYPE_DIRECTIVE with .type.
19038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19039 * sysdeps/i386/sysdep.h: Likewise.
19040 * sysdeps/x86_64/sysdep.h: Likewise.
19041 * sysdeps/sh/sysdep.h: Likewise.
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19043 Do not define ASM_TYPE_DIRECTIVE.
19044 * sysdeps/powerpc/sysdep.h: Likewise.
19045 * sysdeps/powerpc/powerpc32/sysdep.h:
19046 Replace ASM_TYPE_DIRECTIVE with .type.
19047 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19048 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19049 * sysdeps/i386/fpu/e_powf.S: Likewise.
19050 * sysdeps/i386/fpu/e_expl.S: Likewise.
19051 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19052 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19053 * sysdeps/i386/fpu/e_pow.S: Likewise.
19054 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19055 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19056 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19057 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19058 * sysdeps/i386/fpu/e_log2.S: Likewise.
19059 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19060 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19061 * sysdeps/i386/fpu/e_powl.S: Likewise.
19062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19063 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19064 * sysdeps/i386/fpu/e_logl.S: Likewise.
19065 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19066 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19067 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19068 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19069 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19070 * sysdeps/i386/fpu/e_log.S: Likewise.
19071 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19072 * sysdeps/i386/fpu/e_logf.S: Likewise.
19073 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19074 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19075 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19076 * sysdeps/i386/fpu/e_log10.S: Likewise.
19077 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19078 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19079 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19080 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19081 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19082 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19083 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19084 * sysdeps/i386/i686/strtok.S: Likewise.
19085 * sysdeps/i386/i386-mcount.S: Likewise.
19086 * sysdeps/i386/strtok.S: Likewise.
19087 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19088 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19089 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19090 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19091 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19092 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19093 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19094 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19096 * sysdeps/x86_64/_mcount.S: Likewise.
19097 * sysdeps/x86_64/strtok.S: Likewise.
19098 * sysdeps/sh/_mcount.S: Likewise.
19100 2012-08-01 Roland McGrath <roland@hack.frob.com>
19102 * libio/iofopen.c: Include <fcntl.h>.
19103 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19104 (_IO_fopen64, fopen64): Define as aliases.
19105 * libio/iofopen64.c: Include <fcntl.h>.
19106 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19107 Conditionalize body on this.
19108 * sysdeps/wordsize-64/iofopen.c: File removed.
19109 * sysdeps/wordsize-64/iofopen64.c: File removed.
19111 2012-08-01 Marek Polacek <polacek@redhat.com>
19113 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19114 Use dlfcn directly instead of a variable.
19115 (binfmt-subdir): Do not define.
19118 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19120 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19121 Remove all definitions.
19122 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19123 <kernel-features.h>.
19124 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19125 (miss_F_GETOWN_EX): Remove all definitions.
19126 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19128 [!__ASSUME_FCNTL64]: Remove conditional code.
19129 [__ASSUME_FCNTL64]: Make code unconditional.
19130 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19131 <kernel-features.h>.
19132 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19133 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19134 (lockf64) [__NR_fcntl64]: Make code unconditional.
19135 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19137 * sysdeps/unix/sysv/linux/kernel-features.h
19138 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19139 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19140 Make code unconditional.
19141 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19142 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19144 [__NR_vfork]: Make code unconditional.
19145 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19146 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19148 [__NR_vfork]: Make code unconditional.
19149 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19150 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19152 2012-08-01 Roland McGrath <roland@hack.frob.com>
19154 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19155 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19157 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19158 Define mkstemp64 as an alias.
19159 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19160 Define mkstemps64 as an alias.
19161 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19162 Define mkostemp64 as an alias.
19163 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19164 Define mkostemps64 as an alias.
19165 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19166 Conditionalize body on this.
19167 * misc/mkostemp64.c: Likewise.
19168 * misc/mkostemps64.c: Likewise.
19169 * misc/mkstemps64.c: Likewise.
19170 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19171 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19172 * sysdeps/wordsize-64/mkostemp.c: File removed.
19173 * sysdeps/wordsize-64/mkstemp.c: File removed.
19174 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19175 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19176 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19177 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19180 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19181 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19182 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19183 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19185 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19186 compat_symbol macros from <shlib-compat.h> rather than the underlying
19187 default_symbol_version and symbol_version macros, so that DEFAULT
19188 lines in shlib-versions are respected.
19189 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19191 2012-08-01 Florian Weimer <fweimer@redhat.com>
19193 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19194 Declare with warn_unused_result.
19195 (setgid, setregid, setegid, setresgid): Likewise.
19196 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19198 * WUR-REPORT: Remove set*id functions.
19200 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19202 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19204 2012-07-31 Roland McGrath <roland@hack.frob.com>
19207 * include/sys/socket.h (__libc_accept, __libc_accept4):
19208 Add attribute_hidden.
19209 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19211 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19213 * inet/getnetgrent_r.c (setup): Likewise.
19215 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19217 2012-07-31 David S. Miller <davem@davemloft.net>
19219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19221 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19224 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19225 value between 1.0 and 2.0 and smaller part has absolute value less
19227 * math/s_clog10.c (__clog10): Likewise.
19228 * math/s_clog10f.c (__clog10f): Likewise.
19229 * math/s_clog10l.c (__clog10l): Likewise.
19230 * math/s_clogf.c (__clogf): Likewise.
19231 * math/s_clogl.c (__clogl): Likewise.
19232 * math/libm-test.inc (clog_test): Add more tests.
19233 (clog10_test): Likewise.
19234 * sysdeps/i386/fpu/libm-test-ulps: Update.
19235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19237 2012-07-31 Florian Weimer <fweimer@redhat.com>
19239 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19240 Exit with zero in case no suitable GID is found, and write a
19241 message to standard error.
19243 2012-07-30 Roland McGrath <roland@hack.frob.com>
19245 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19247 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19248 (MAXPATHLEN): Removed.
19249 (NOGROUP, NODEV): New macros.
19250 (setbit, clrbit, isset, isclr): New macros.
19251 (howmany, roundup, powerof2): New macros.
19252 (DEV_BSIZE): New macro.
19254 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19255 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19257 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19258 definition on [!__NO_LONG_DOUBLE_MATH].
19260 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19261 PTR_MANGLE and PTR_DEMANGLE.
19263 * socket/accept4.c (accept4): Rename to __libc_accept4.
19264 Define accept4 as a weak alias.
19266 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19267 on [_DIRENT_HAVE_D_TYPE].
19268 * io/ftw.c (ftw_dir): Likewise.
19270 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19272 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19274 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19275 Use the BSD numbers rather than the arbitrary ones we had.
19276 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19277 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19278 (SIGXCPU, SIGXFSZ): New macros.
19281 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19282 initializer on [_LIBC_REENTRANT].
19284 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19285 definitions inside [_POSIX_MAPPED_FILES].
19287 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19289 * dirent/opendir.c: Include <fcntl.h>.
19291 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19292 (__libc_getspecific): Likewise.
19293 (__libc_key_create): Likewise.
19295 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19296 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19297 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19298 (tmpfile64): Define as alias.
19299 * sysdeps/wordsize-64/tmpfile.c: File removed.
19300 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19301 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19302 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19304 * stdio-common/vfscanf.c: Include <stdbool.h>.
19305 * nss/makedb.c: Likewise.
19306 * stdio-common/_i18n_number.h: Likewise.
19307 * argp/argp-help.c: Likewise.
19308 * posix/wordexp.c: Likewise.
19309 * sysdeps/posix/spawni.c: Likewise.
19310 * nss/nss_files/files-initgroups.c: Likewise.
19311 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19312 * nss/nss_files/files-initgroups.c: Likewise.
19313 * nss/nss_db/db-netgrp.c: Likewise.
19314 * nss/nss_db/db-initgroups.c: Likewise.
19315 * io/fchmodat.c: Include <sys/stat.h>.
19317 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19318 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19320 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19323 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19324 Add multiple inclusion protection.
19326 2012-07-27 David S. Miller <davem@davemloft.net>
19328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19330 2012-07-27 Gary Benson <gbenson@redhat.com>
19333 * elf/rtld.c: Include <stap-probe.h>.
19334 (dl_main): Added static probes "init_start" and "init_complete".
19335 * elf/dl-load.c: Include <stap-probe.h>.
19336 (lose): Take new parameter "nsid".
19337 Added static probe "map_failed".
19338 (_dl_map_object_from_fd): Pass namespace id to lose.
19339 Added static probe "map_start".
19340 (open_verify): Pass namespace id to lose.
19341 * elf/dl-open.c: Include <stap-probe.h>.
19342 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19343 and "reloc_complete".
19344 * elf/dl-close.c: Include <stap-probe.h>.
19345 (_dl_close_worker): Added static probes "unmap_start" and
19347 * elf/rtld-debugger-interface.txt: New file documenting the above.
19349 2012-07-26 Roland McGrath <roland@hack.frob.com>
19351 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19352 rather than a string variable.
19353 * sunrpc/rpc_main.c (h_output): Likewise.
19354 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19356 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19358 * inet/check_native.c: New file.
19360 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19363 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19364 if larger part has absolute value 1.0.
19365 * math/s_clog10.c (__clog10): Likewise.
19366 * math/s_clog10f.c (__clog10f): Likewise.
19367 * math/s_clog10l.c (__clog10l): Likewise.
19368 * math/s_clogf.c (__clogf): Likewise.
19369 * math/s_clogl.c (__clogl): Likewise.
19370 * math/libm-test.inc (clog_test): Add more tests.
19371 (clog10_test): Likewise.
19372 * sysdeps/i386/fpu/libm-test-ulps: Update.
19373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19375 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19376 (pltexit): Likewise.
19377 (La_regs): Likewise.
19378 (La_retval): Likewise.
19379 (int_retval): Likewise.
19380 Update #error for removed macros to refer only to definitions in
19382 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19384 (pltexit): Likewise.
19385 (La_regs): Likewise.
19386 (La_retval): Likewise.
19387 (int_retval): Likewise.
19388 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19390 (pltexit): Likewise.
19391 (La_regs): Likewise.
19392 (La_retval): Likewise.
19393 (int_retval): Likewise.
19394 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19396 (pltexit): Likewise.
19397 (La_regs): Likewise.
19398 (La_retval): Likewise.
19399 (int_retval): Likewise.
19400 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19402 (pltexit): Likewise.
19403 (La_regs): Likewise.
19404 (La_retval): Likewise.
19405 (int_retval): Likewise.
19406 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19408 (pltexit): Likewise.
19409 (La_regs): Likewise.
19410 (La_retval): Likewise.
19411 (int_retval): Likewise.
19412 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19414 (pltexit): Likewise.
19415 (La_regs): Likewise.
19416 (La_retval): Likewise.
19417 (int_retval): Likewise.
19418 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19419 macro definitions in tst-audit.h.
19420 * sysdeps/i386/tst-audit.h: New file.
19421 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19422 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19423 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19424 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19425 * sysdeps/sh/tst-audit.h: Likewise.
19426 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19427 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19428 * sysdeps/x86_64/tst-audit.h: Likewise.
19430 2012-07-26 Andreas Jaeger <aj@suse.de>
19432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19435 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19436 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19437 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19439 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19440 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19441 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19443 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19446 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19448 (si_call_addr, si_syscall, si_arch): Define new macro.
19449 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19451 (si_call_addr, si_syscall, si_arch): Define new marcro.
19452 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19454 (si_call_addr, si_syscall, si_arch): Define new macro.
19455 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19457 (si_call_addr, si_syscall, si_arch): Define new macro.
19459 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19462 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19463 Change to 2.4.21 where previously 2.4.1.
19464 * sysdeps/unix/sysv/linux/configure: Regenerated.
19465 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19466 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19467 Linux kernel version.
19468 (__ASSUME_STD_AUXV): Remove.
19469 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19471 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19472 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19473 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19474 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19475 (__ASSUME_NETLINK_SUPPORT): Likewise.
19476 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19477 (__no_netlink_support): Remove conditional definition.
19478 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19480 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19481 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19482 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19483 (if_nameindex_ioctl): Remove.
19484 (if_nameindex_netlink): Do not handle __no_netlink_support.
19485 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19487 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19488 Remove conditional code.
19489 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19491 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19493 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19494 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19495 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19497 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19498 [!__ASSUME_STD_AUXV]: Remove conditional code.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19500 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19501 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19503 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19504 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19506 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19508 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19509 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19511 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19513 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19516 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19519 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19520 code unconditional.
19521 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19523 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19525 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19528 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19530 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19533 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19534 code unconditional.
19535 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19537 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19539 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19542 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19543 code unconditional.
19544 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19546 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19548 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19551 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19553 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19554 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19555 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19556 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19557 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19558 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19559 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19560 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19561 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19562 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19563 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19564 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19565 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19566 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19567 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19568 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19569 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19570 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19571 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19573 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19574 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19575 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19577 2012-07-25 Florian Weimer <fweimer@redhat.com>
19579 * Versions.def: Add GLIBC_2.17.
19580 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19581 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19582 Introduce __libc_secure_getenv.
19583 * stdlib/Versions (2.17): Add secure_getenv
19584 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19585 * stdlib/secure-getenv.c: Rename __secure_getenv to
19586 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19587 symbol __secure_getenv for GLIBC_2.0.
19588 * stdlib/tst-secure-getenv.c: New.
19589 * stdlib/Makefile (tests): Add testcase.
19590 * manual/startup.texi (Environment Access): Document
19592 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19593 __libc_secure_getenv.
19594 * inet/ruserpass.c (ruserpass): Likewise.
19595 * malloc/mtrace.c (mtrace): Likewise.
19596 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19597 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19598 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19599 * sysdeps/posix/tempname.c: Likewise. Evaluate
19600 HAVE_SECURE_GETENV.
19601 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19602 __secure_getenv to __libc_secure_getenv.
19603 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19610 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19616 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19618 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19619 (struct La_i86_retval): Likewise.
19620 (struct La_x86_64_regs): Likewise.
19621 (struct La_x86_64_retval): Likewise.
19622 (struct La_x32_regs): Likewise.
19623 (struct La_x32_retval): Likewise.
19624 (struct La_ppc32_regs): Likewise.
19625 (struct La_ppc32_retval): Likewise.
19626 (struct La_ppc64_regs): Likewise.
19627 (struct La_ppc64_retval): Likewise.
19628 (struct La_sh_regs): Likewise.
19629 (struct La_sh_retval): Likewise.
19630 (struct La_s390_32_regs): Likewise.
19631 (struct La_s390_32_retval): Likewise.
19632 (struct La_s390_64_regs): Likewise.
19633 (struct La_s390_64_retval): Likewise.
19634 (struct La_sparc32_regs): Likewise.
19635 (struct La_sparc32_retval): Likewise.
19636 (struct La_sparc64_regs): Likewise.
19637 (struct La_sparc64_retval): Likewise.
19638 (struct audit_ifaces): Remove architecture-specific pltenter and
19640 * sysdeps/i386/ldsodefs.h: New file.
19641 * sysdeps/powerpc/ldsodefs.h: Likewise.
19642 * sysdeps/s390/ldsodefs.h: Likewise.
19643 * sysdeps/sh/ldsodefs.h: Likewise.
19644 * sysdeps/sparc/ldsodefs.h: Likewise.
19645 * sysdeps/x86_64/ldsodefs.h: Likewise.
19647 2012-07-25 Marek Polacek <polacek@redhat.com>
19650 * math/libm-test.inc (yn_test): Add another test.
19651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19652 to ERANGE when the result is +-Inf.
19653 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19654 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19655 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19658 2012-07-24 Joseph Myers <joseph@codesourcery.com>
19660 * conform/data/time.h-data (NULL): Use macro-constant. Require
19662 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19664 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19666 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19668 * configure.in <sysdeps resolving>: Correct printing
19670 * configure: Regenerate.
19672 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19674 * math/w_ilogb.c: Include <limits.h>.
19675 * math/w_ilogbl.c: Likewise.
19677 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19679 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19680 va_copy. Document allowing for unavailable va_copy only as
19681 pre-C99 compatibility.
19682 * manual/string.texi (Copying and Concatenation): Use va_copy
19683 instead of __va_copy in concat example.
19685 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19687 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19688 (__sendto): Use create_address_port. Initialize APORT and deallocate
19691 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19692 with O_NOLINK passed to __file_name_lookup.
19694 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19695 with O_NOLINK passed to __file_name_lookup.
19697 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19698 negative N or less than NGIDS.
19700 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19701 type to string_t. Set ERANGE as errno and return it if NAME is not big
19702 enough. Use memcpy instead of strncpy.
19704 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19706 * elf/Makefile (check-data): Remove.
19707 (localplt.data): New vpath directive.
19708 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19709 instead of $(check-data).
19710 * scripts/data/localplt-generic.data: Move to ...
19711 * sysdeps/generic/localplt.data: ... here.
19712 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19713 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19714 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19717 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19720 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19723 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19726 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19729 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19733 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19735 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19736 PPC32 and PPC64 files.
19737 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19738 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19740 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19742 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19743 __makecontext_ret to ...
19744 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19745 ... here and call exit if uc_link is NULL. New file.
19746 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19747 __makecontext_ret.S.
19748 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19749 __makecontext_ret to ...
19750 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19751 ... here and call exit if uc_link is NULL. New file.
19752 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19753 __makecontext_ret.S.
19755 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19757 * elf/elf.h (R_390_IRELATIVE): New definition.
19758 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19759 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19760 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19761 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19762 (elf_machine_lazy_rel): Likewise.
19763 * sysdeps/s390/dl-irel.h: New file.
19764 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19765 * sysdeps/s390/s390-64/memset.S: New asm code.
19766 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19767 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19769 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19770 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19771 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19773 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19774 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19775 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19776 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19777 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19778 * sysdeps/s390/s390-32/memset.S: New asm code.
19779 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19781 2012-07-17 Marek Polacek <polacek@redhat.com>
19784 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19785 * sysdeps/s390/s390-64/configure.in: Likewise.
19786 * sysdeps/sparc/configure.in: Likewise.
19787 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19788 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19789 * sysdeps/i386/configure.in: Likewise.
19790 * sysdeps/x86_64/configure.in: Likewise.
19791 * sysdeps/sh/configure.in: Likewise.
19792 * sysdeps/s390/s390-32/configure: Regenerated.
19793 * sysdeps/s390/s390-64/configure: Likewise.
19794 * sysdeps/x86_64/configure: Likewise.
19795 * sysdeps/sh/configure: Likewise.
19796 * sysdeps/powerpc/powerpc64/configure: Likewise.
19797 * sysdeps/powerpc/powerpc32/configure: Likewise.
19798 * sysdeps/sparc/configure: Likwise.
19799 * sysdeps/i386/configure: Likewise.
19801 * elf/dl-open.c: Comment fixes.
19803 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19805 * Makefile [CXX] (check-data): Remove.
19806 [CXX] (c++-types.data): New vpath directive.
19807 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19808 vpath. Do not allow for C++ type data being missing.
19809 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19810 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19811 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19812 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19813 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19814 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19815 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19818 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19821 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19824 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19827 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19830 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19833 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19836 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19839 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19840 definitions to architecture-specific files.
19841 (TLS_IE): Likewise.
19842 (TLS_LD): Likewise.
19843 (TLS_GD): Likewise.
19844 * sysdeps/i386/tls-macros.h: New file.
19845 * sysdeps/powerpc/tls-macros.h: Likewise.
19846 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19847 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19848 * sysdeps/sh/tls-macros.h: Likewise.
19849 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19850 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19851 * sysdeps/x86_64/tls-macros.h: Likewise.
19853 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19856 zero value for regular exit case.
19858 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19859 (__start_context): Preserve zero value for regular exit case.
19861 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19862 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19864 * manual/setjmp.texi (setcontext): Clarify normal process
19865 termination when uc_link is the null pointer.
19866 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19869 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19871 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19872 preprocessor. Test for each exception mask separately.
19874 2012-07-16 Andreas Jaeger <aj@suse.de>
19876 * po/ru.po: Update from translation team.
19878 2012-07-15 Joseph Myers <joseph@codesourcery.com>
19880 * conform/data/string.h-data (NULL): Use macro-constant. Require
19882 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19883 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19884 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19885 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19888 2012-07-13 Andreas Jaeger <aj@suse.de>
19890 * po/fr.po: Update from translation team.
19892 2012-07-12 Marek Polacek <polacek@redhat.com>
19895 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19896 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19899 2012-07-12 Joseph Myers <joseph@codesourcery.com>
19902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19903 Change to 2.4.1 where previously 2.4.0.
19904 * sysdeps/unix/sysv/linux/configure: Regenerated.
19905 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19906 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19908 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19909 (__ASSUME_AT_CLKTCK): Remove.
19910 (__ASSUME_AT_PAGESIZE): Likewise.
19911 (__ASSUME_AT_XID): Likewise.
19912 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19913 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19914 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19916 (HAVE_AUX_PAGESIZE): Likewise.
19917 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19918 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19919 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19921 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19925 the temporary buffer used to invoke __gethostbyname2_r,
19926 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19927 host_data / struct gaih_addrtuple.
19928 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19929 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19930 header file nss/nsswitch.h.
19931 * nss/nsswitch.h (global scope): Add definition of implementation
19932 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19933 resolv/nss_dns/dns-host.c).
19935 2012-07-11 Andreas Jaeger <aj@suse.de>
19937 * po/fr.po: Update from translation team.
19939 * po/sv.po: Update from translation team
19940 * po/fr.po: Another update from translation team.
19942 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19944 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19945 for subnormals or multiply small sinh result by itself.
19946 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19949 2012-07-11 David S. Miller <davem@davemloft.net>
19951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19953 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19956 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19957 (INTERNAL_MARK): Shift it here.
19959 2012-07-10 Marek Polacek <polacek@redhat.com>
19962 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19963 libc_cv_asm_global_directive with .globl.
19964 * configure: Regenerated.
19965 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19967 * sysdeps/i386/configure: Regenerated.
19968 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19970 * sysdeps/x86_64/configure: Regenerated.
19971 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19972 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19973 * elf/tst-unique2mod2.c: Likewise.
19974 * elf/tst-unique2mod1.c: Likewise.
19975 * elf/tst-unique1mod2.c: Likewise.
19976 * elf/tst-unique1mod1.c: Likewise.
19977 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19978 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19979 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19981 * sysdeps/mach/sysdep.h: Likewise.
19982 * sysdeps/i386/sysdep.h: Likewise.
19983 * sysdeps/i386/i386-mcount.S: Likewise.
19984 * sysdeps/x86_64/_mcount.S: Likewise.
19985 * sysdeps/x86_64/sysdep.h: Likewise.
19986 * sysdeps/sh/_mcount.S: Likewise.
19987 * sysdeps/sh/sysdep.h: Likewise.
19988 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19989 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19990 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19991 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19992 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19993 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19994 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19995 * locale/localeinfo.h: Likewise.
19996 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19997 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19999 2012-07-09 Roland McGrath <roland@hack.frob.com>
20002 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20004 * manual/message.texi (The Uniforum approach): Likewise.
20005 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20006 (glibc iconv Implementation): Likewise.
20008 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20011 * math/s_clog.c (__clog): Avoid scaling a value down where that
20012 could result in underflow.
20013 * math/s_clog10.c (__clog10): Likewise.
20014 * math/s_clog10f.c (__clog10f): Likewise.
20015 * math/s_clog10l.c (__clog10l): Likewise.
20016 * math/s_clogf.c (__clogf): Likewise.
20017 * math/s_clogl.c (__clogl): Likewise.
20018 * math/libm-test.inc (clog_test): Add more tests.
20019 (clog10_test): Likewise.
20020 * sysdeps/i386/fpu/libm-test-ulps: Update.
20021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20023 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20026 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20027 by 7 not 8 to examine high bit of fractional part.
20030 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20031 for call to __mcount_internal.
20032 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20033 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20034 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20036 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20039 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20040 approximation for values within 0x1p-13f of an odd multiple of
20042 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20043 exception. Add more tests.
20044 * sysdeps/i386/fpu/libm-test-ulps: Update.
20047 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20048 inputs and return -1 for them. Do not check for +Inf in case not
20049 reachable for +Inf.
20050 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20051 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20052 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20053 and return -1 for them. Do not check for +Inf in case not
20054 reachable for +Inf.
20055 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20057 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20058 and return -1 for them. Do not check for +Inf in case not
20059 reachable for +Inf.
20060 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20061 spurious underflow.
20062 * sysdeps/i386/fpu/libm-test-ulps: Update.
20063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20065 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20067 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20069 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20073 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20074 could result in spurious underflow. Scale down values above
20075 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20076 * math/s_csqrtf.c (__csqrtf): Likewise.
20077 * math/s_csqrtl.c (__csqrtl): Likewise.
20078 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20079 spurious underflow.
20080 * sysdeps/i386/fpu/libm-test-ulps: Update.
20081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20083 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20085 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20087 * catgets/xopen-msg.awk: New file.
20088 * catgets/xopen-msg.sed: Removed.
20090 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20092 * intl/po2test.awk: New file.
20093 * intl/po2test.sed: Removed.
20095 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20098 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20099 or multiply small sinh result by itself.
20100 * math/s_ctanf.c (__ctanf): Likewise.
20101 * math/s_ctanh.c (__ctanh): Likewise.
20102 * math/s_ctanhf.c (__ctanhf): Likewise.
20103 * math/s_ctanhl.c (__ctanhl): Likewise.
20104 * math/s_ctanl.c (__ctanl): Likewise.
20105 * math/libm-test.inc (ctan_test_tonearest): New function.
20106 (ctan_test_towardzero): Likewise.
20107 (ctan_test_downward): Likewise.
20108 (ctan_test_upward): Likewise.
20109 (ctanh_test_tonearest): Likewise.
20110 (ctanh_test_towardzero): Likewise.
20111 (ctanh_test_downward): Likewise.
20112 (ctanh_test_upward): Likewise.
20113 (main): Call these new functions.
20114 * sysdeps/i386/fpu/libm-test-ulps: Update.
20115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20117 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20119 * .gitignore: Delete /ports entry.
20121 2012-07-03 Andreas Jaeger <aj@suse.de>
20123 * po/bg.po: Update from translation team.
20124 * po/cs.po: Likewise.
20125 * po/de.po: Likewise.
20126 * po/hr.po: Likewise.
20127 * po/nl.pl: Likewise.
20128 * po/pl.po: Likewise.
20129 * po/vi.po: Likewise.
20131 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20133 * Makeconfig [!+link] (+link-before-libc): New variable.
20134 [!+link] (+link-after-libc): Likewise.
20135 [!+link] (+link-tests): Likewise.
20136 [!+link] (+link): Define in terms of $(+link-before-libc) and
20137 $(+link-after-libc).
20138 [!+link-static] (+link-static-before-libc): New variable.
20139 [!+link-static] (+link-static-after-libc): Likewise.
20140 [!+link-static] (+link-static-tests): Likewise.
20141 [!+link-static] (+link-static): Define in terms of
20142 $(+link-static-before-libc) and $(+link-static-after-libc).
20143 [build-shared] (link-libc-before-gnulib): New variable.
20144 [build-shared] (link-libc-tests): Likewise.
20145 [build-shared] (link-libc): Define in terms of
20146 $(link-libc-before-gnulib).
20147 [!build-shared] (link-libc-tests): New variable.
20148 (link-libc-static-tests): New variable.
20149 [!gnulib] (gnulib-arch): New variable.
20150 [!gnulib] (gnulib-tests): Likewise.
20151 [!gnulib] (static-gnulib-arch): Likewise.
20152 [!gnulib] (static-gnulib-tests): Likewise.
20153 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20154 Define with "=" instead of ":=".
20155 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20156 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20157 * Rules (binaries-all-notests): New variable.
20158 (binaries-all-tests): Likewise.
20159 (binaries-static-notests): Likewise.
20160 (binaries-static-tests): Likewise.
20161 (binaries-all): Define using $(binaries-all-notests) and
20162 $(binaries-all-tests).
20163 (binaries-static): Define using $(binaries-static-notests) and
20164 $(binaries-static-tests).
20165 (binaries-shared-tests): New variable.
20166 (binaries-shared-notests): Likewise.
20167 (binaries-shared): Remove variable.
20168 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20169 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20170 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20171 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20172 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20173 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20174 * elf/Makefile (sln-modules): New variable.
20175 (extra-objs): Add $(sln-modules:=.o).
20176 (ldconfig-modules): Add static-stubs.
20177 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20178 * elf/static-stubs.c: New file.
20181 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20182 by 7 not 8 to examine high bit of fractional part. Use volatile
20183 variables when splitting into final array of floats if
20184 __FLT_EVAL_METHOD__ != 0.
20185 * math/libm-test.inc (cos_test): Add another test.
20186 (sin_test): Likewise.
20187 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * math/libm-test.inc (cosh_test): Add more tests.
20192 * version.h (RELEASE): Set to "development".
20193 (VERSION): Set to "2.16.90".
20195 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20197 * NEWS: Update copyright. Remove last-updated date.
20198 Mention math library bug fixes and timezone data changes.
20199 * README: Mention GNU/Hurd, x32, and HPPA support status.
20201 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20203 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20205 2012-06-27 Andreas Jaeger <aj@suse.de>
20207 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20209 2012-06-25 Andreas Jaeger <aj@suse.de>
20211 * sysdeps/s390/fpu/libm-test-ulps: Update.
20213 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20214 Thomas Schwinge <thomas@codesourcery.com>
20216 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20217 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20221 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20223 * sysdeps/mach/start.c: Remove file.
20224 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20225 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20226 * sysdeps/sh/init-first.c: Likewise.
20228 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20229 registers for frame unwinding purposes, add CFI directives.
20230 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20231 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20232 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20235 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20236 __fortify_fail returning.
20237 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20239 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20240 sysdeps/sh/____longjmp_chk.S.
20241 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20242 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20243 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20244 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20246 * sysdeps/sh/abort-instr.h: New file.
20247 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20248 process in case exit returns.
20250 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20251 initialize the GOT register before use.
20253 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20254 calculation of ARGC > 4.
20256 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20257 meaningful names to some local labels.
20259 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20260 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20262 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20263 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20264 (__arch_compare_and_exchange_val_16_acq): Likewise.
20265 (__arch_compare_and_exchange_val_32_acq): Likewise.
20266 (atomic_exchange_and_add): Fix gUSA sequence.
20267 (atomic_add): Likewise.
20268 (atomic_add_negative): Likewise.
20269 (atomic_add_zero): Likewise.
20270 (atomic_bit_test_set): Likewise.
20272 2012-06-22 Andreas Schwab <schwab@redhat.com>
20275 * include/link.h (struct link_map): Add l_free_initfini.
20276 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20278 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20279 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20280 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20283 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20285 * configure.in: Use AC_LANG_SOURCE.
20286 * configure: Regenerate.
20288 2012-06-22 Roland McGrath <roland@hack.frob.com>
20290 * configure.in (libc_cv_localstatedir): New substituted variable.
20291 * configure: Regenerated.
20292 * config.make.in (localstatedir): New variable, substituted from
20293 libc_cv_localstatedir.
20294 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20295 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20296 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20297 * sysdeps/gnu/configure: Regenerated.
20299 2012-06-21 Jeff Law <law@redhat.com>
20302 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20303 free. Simplify list management for _LIBC case.
20305 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20308 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20309 Clear sign bit of 64-bit integer value before comparing against
20312 * sysdeps/mach/configure: Regenerated.
20314 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20317 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20319 2012-06-21 Jeff Law <law@redhat.com>
20322 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20323 uint16_t for elements in the "seen" array to avoid char overflows.
20324 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20325 * elf/dl-open.c (dl_open_worker): Likewise.
20327 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20329 * scripts/list-sources.sh: Scan PORTS for translations.
20330 * po/libc.pot: Regenerated.
20332 2012-06-21 Andreas Jaeger <aj@suse.de>
20335 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20337 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20338 * bits/byteswap-16.h (__bswap_16): Likewise.
20339 * bits/byteswap.h (__bswap_constant_16): Likewise.
20341 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20344 * sysdeps/i386/fpu_control.h: Removed.
20345 * sysdeps/x86_64/fpu_control.h: Moved to ...
20346 * sysdeps/x86/fpu_control.h: Here.
20348 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20349 (_FPU_SETCW): Likewise.
20351 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20354 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20355 * sysdeps/x86/fpu/bits/mathinline.h: This.
20356 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20360 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20361 functions if __x86_64__ is defined.
20363 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20365 * string/endian.h: Add !__ASSEMBLER__ condition for including
20366 conversion interfaces.
20368 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20372 of ABS(x) in calculating zero to negative powers other than odd
20374 * math/libm-test.inc (pow_test): Add more tests.
20376 2012-06-15 Andreas Jaeger <aj@suse.de>
20378 * manual/contrib.texi (Contributors): Update entry of Liubov
20379 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20382 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20384 * string/string.h: Add __wur to GNU version of strerror_r.
20386 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20389 * string/Makefile (tests): Add tst-strtok_r.
20390 * string/tst-strtok_r.c: New file.
20391 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20392 RAX_LP/RDX_LP on SAVE_PTR.
20394 2012-06-14 Roland McGrath <roland@hack.frob.com>
20396 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20398 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20400 * libm_test.inc (csqrt_test): Allow more spurious underflow
20402 (j0_test): Likewise.
20403 (j1_test): Likewise.
20404 (y0_test): Likewise.
20405 (y1_test): Likewise.
20407 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20409 * po/Makefile (libc.pot): Use UTF-8 charset.
20411 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20414 Suppress sign-conversion warning from FD_SET.
20415 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20416 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20417 not unsigned long int.
20418 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20420 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20424 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20425 __extern_always_inline instead of __extern_inline.
20426 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20427 (__signbit): Likewise.
20428 (__signbitl): Support C++ namespace.
20429 (lrintf): New inline function.
20431 (llrintf): Likewise.
20432 (llrint): Likewise.
20442 (floorf): Likewise.
20443 (nearbyint): Likewise.
20444 (nearbyintf): Likewise.
20446 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20448 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20449 non-default versions.
20451 2012-06-11 Roland McGrath <roland@hack.frob.com>
20454 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20456 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20458 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20459 (FE_UPWARD, FE_DOWNWARD): Don't define.
20460 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20461 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20463 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20465 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20466 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20468 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20470 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20471 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20472 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20473 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20475 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20478 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20479 * sysdeps/i386/fpu/Implies: New file.
20480 * sysdeps/x86_64/fpu/Implies: Likewise.
20481 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20482 * sysdeps/x86/fpu/bits/fenv.h: This.
20484 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20487 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20490 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20491 character 0xffff that matches the last element of the
20494 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20499 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20502 values higher than 25.6283.
20504 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20506 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20507 subnormal exponent extraction and add some __builtin_expect.
20508 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20509 Fix for subnormal mantissa calculation.
20511 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20513 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20514 cpu2 is -1 and errno is not ENOSYS.
20516 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20519 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20520 * sysdeps/x86/bits/string.h: This.
20521 * sysdeps/x86_64/bits/string.h: Removed.
20523 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20524 if not compiling for x86-64, but compiling for >= i486.
20526 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20527 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20529 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20530 New macro from Linux kernel 3.4.0.
20531 (FP_XSTATE_MAGIC2): Likewise.
20532 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20533 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20534 (struct _fpx_sw_bytes): New struct.
20535 (struct _xsave_hdr): Likewise.
20536 (struct _ymmh_state): Likewise.
20537 (struct _xstate): Likewise.
20539 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20540 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20542 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20543 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20544 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20546 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20547 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20548 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20549 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20550 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20551 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20553 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20556 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20557 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20558 (sysdep_headers): Include sys/platform/ppc.h.
20559 * sysdeps/powerpc/test-gettimebase.c: Test for
20560 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20561 * manual/Makefile (appendices): Include platform.texi.
20562 * manual/contrib.texi (Contributors): Update @node pointers.
20563 * manual/maint.texi (Maintenance): Likewise.
20564 (Platform): New node.
20565 * manual/platform.texi: New file. Document the new features.
20567 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20568 Jakub Jelinek <jakub@redhat.com>
20571 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20572 where __builtin_expect is unavailable.
20574 2012-06-03 David S. Miller <davem@davemloft.net>
20576 * stdlib/longlong.h: Updated from GCC.
20578 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20581 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20582 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20585 (GLIBC_2.16): Likewise.
20587 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20589 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20591 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20594 (default-abi): New variable.
20595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20596 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20598 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20600 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20602 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20605 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20606 definition. Document in comment.
20608 2012-06-01 David S. Miller <davem@davemloft.net>
20610 * stdlib/longlong.h: Updated from GCC.
20612 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20615 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20616 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20617 sys/debugreg.h sys/io.h here.
20618 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20619 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20621 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20622 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20623 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20624 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20625 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20626 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20628 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20629 Define only if __x86_64__ is defined.
20631 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20635 Use int64_t for variable i.
20636 * math/libm-test.inc (fmod_test): Add more tests.
20638 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20639 z computation is not scheduled after fetestexcept.
20640 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20641 Use math_force_eval instead of asm to ensure calculation scheduled
20642 before exception test.
20643 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20644 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20646 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20649 computation is not scheduled after fetestexcept.
20651 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20654 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20655 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20657 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20659 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20660 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20662 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20665 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20667 (__WCHAR_MIN): Support __WORDSIZE == 64.
20668 (__WCHAR_MAX): Likewise.
20670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20671 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20675 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20678 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20679 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20681 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20682 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20684 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20685 Defined to 1 if __x86_64__ isn't defined.
20686 (_STAT_VER_LINUX_OLD): New.
20687 (st_atime): Remove duplicate.
20688 (st_mtime): Likewise.
20689 (st_ctime): Likewise.
20691 2012-05-31 David S. Miller <davem@davemloft.net>
20693 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20696 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20698 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20702 * elf/dl-reloc.c: Include <_itoa.h>.
20703 (_dl_reloc_bad_type): Remove use of INTUSE.
20704 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20705 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20706 * stdio-common/psiginfo.c (psiginfo): Likewise.
20707 * stdio-common/psignal.c (psignal): Likewise.
20708 * string/strsignal.c (strsignal): Likewise.
20709 * include/signal.h (_sys_siglist): Declare hidden proto.
20710 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20711 INTVARDEF with libc_hidden_data_def.
20712 * stdio-common/itoa-udigits.c: Likewise.
20713 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20714 (_itoa_lower_digits_internal): Remove declaration.
20715 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20716 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20717 (_sys_sigabbrev_internal): Remove aliases.
20718 (_sys_siglist): Define hidden alias.
20720 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20725 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20728 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20729 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20731 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20732 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20733 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20734 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20735 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20736 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20738 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20740 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20742 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20752 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20754 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20755 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20756 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20757 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20758 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20759 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20761 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20762 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20764 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20765 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20768 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20771 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20772 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20774 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20776 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20777 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20778 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20780 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20782 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20784 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20786 * math/math.h (M_El): Use two more decimal places.
20787 (M_LOG2El): Likewise.
20788 (M_LOG10El): Likewise.
20789 (M_LN2l): Likewise.
20790 (M_LN10l): Likewise.
20792 (M_PI_2l): Likewise.
20793 (M_PI_4l): Likewise.
20794 (M_1_PIl): Likewise.
20795 (M_2_PIl): Likewise.
20796 (M_2_SQRTPIl): Likewise.
20797 (M_SQRT2l): Likewise.
20798 (M_SQRT1_2l): Likewise.
20800 2012-05-31 David S. Miller <davem@davemloft.net>
20802 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20803 values between float registers.
20804 * sysdeps/sparc/sparc64/memset.S: Likewise.
20805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20807 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20809 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20810 -D_FORTIFY_SOURCE=1.
20811 (CPPFLAGS-tst-longjmp_chk.c): Define.
20812 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20813 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20814 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20815 CFLAGS-tst-wchar-h.c.
20817 2012-05-31 Marek Polacek <polacek@redhat.com>
20820 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20821 __endmntent_internal): Remove declaration.
20822 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20823 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20824 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20826 2012-05-30 David S. Miller <davem@davemloft.net>
20828 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20829 (___Q_simulate_exceptions): Use real FP ops rather than writing
20831 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20834 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20837 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20838 * sysdeps/x86/bits/xtitypes.h: This.
20840 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20841 * sysdeps/x86/bits/wordsize.h: This.
20843 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20844 * sysdeps/x86/bits/huge_vall.h: This.
20846 * sysdeps/i386/bits/select.h: Removed.
20847 * sysdeps/x86_64/bits/select.h: Renamed to ...
20848 * sysdeps/x86/bits/select.h: This.
20850 * sysdeps/i386/bits/setjmp.h: Removed.
20851 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20852 * sysdeps/x86/bits/setjmp.h: This.
20854 * sysdeps/i386/bits/mathdef.h: Removed.
20855 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20856 * sysdeps/x86/bits/mathdef.h: This.
20858 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20861 * include/sys/socket.h (__connect_internal)
20862 (__libc_sa_len_internal): Remove declaration.
20863 (__connect, __libc_sa_len): Declare hidden_proto.
20864 (SA_LEN): Remove use of INTUSE.
20865 * socket/connect.c: Add libc_hidden_def.
20866 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20867 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20868 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20870 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20871 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20872 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20873 of adding _internal alias.
20875 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20878 * sysdeps/i386/bits/link.h: Removed.
20879 * sysdeps/i386/bits/linkmap.h: Likewise.
20880 * sysdeps/x86_64/bits/link.h: Renamed to ...
20881 * sysdeps/x86/bits/link.h: This.
20882 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20883 * sysdeps/x86/bits/linkmap.h: This.
20885 * sysdeps/i386/bits/endian.h: Removed.
20886 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20887 * sysdeps/x86/bits/endian.h: This.
20889 * sysdeps/i386/bits/byteswap.h: Removed.
20890 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20891 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20892 * sysdeps/x86/bits/byteswap.h: This.
20893 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20894 * sysdeps/x86/bits/byteswap-16.h: This.
20895 * sysdeps/i386/Implies: Add x86.
20896 * sysdeps/x86_64/Implies: Likewise.
20898 2012-05-30 David S. Miller <davem@davemloft.net>
20900 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20901 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20902 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20903 (FP_TRAPPING_EXCEPTIONS): Define.
20904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20905 (FP_TRAPPING_EXCEPTIONS): Define.
20906 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20907 subnormals only when inexact has been signalled or underflow
20908 exceptions are enabled.
20909 (_FP_PACK_CANONICAL): Likewise.
20911 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20914 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20915 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20917 2012-05-30 Richard Henderson <rth@twiddle.net>
20919 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20920 with #ifndef NOT_IN_libc.
20922 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20923 marked to avoid plt entry.
20925 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20928 * Makeconfig (default-abi): New macro.
20929 (abi-includes): Likewise.
20930 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20931 $(abi-$(default-abi)-lib-soname) for soname if defined.
20932 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20934 * Makefile (installed-stubs): Likewise.
20935 * include/stubs-biarch.h: Removed.
20936 * scripts/lib-names.awk: Only handle one library at a time.
20937 * scripts/soversions.awk: Remove WORDSIZE support.
20938 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20940 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20942 (syscall-list-default-condition): Likewise.
20943 (syscall-list-default-condition): Likewise.
20944 (syscall-list-includes): Likewise.
20945 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20946 syscall-list-* with abi-*. Handle undefined abi-variants.
20947 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20948 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20949 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20950 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20951 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20952 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20954 (syscall-list-32-options): Likewise.
20955 (syscall-list-32-condition): Likewise.
20956 (syscall-list-64-options): Likewise.
20957 (syscall-list-64-condition): Likewise.
20958 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20960 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20963 (abi-64-ld-soname): New macro.
20964 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20965 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20968 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20969 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20971 2012-05-30 Joseph Myers <joseph@codesourcery.com>
20973 * sysdeps/unix/sysv/linux/kernel-features.h
20974 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20975 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20976 include <kernel-features.h>.
20977 [!__NR_ftruncate64]: Remove conditional code.
20978 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20979 [__NR_ftruncate64]: Make code unconditional.
20980 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20981 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20982 include <kernel-features.h>.
20983 [!__NR_ftruncate64]: Remove conditional code.
20984 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20985 [__NR_ftruncate64]: Make code unconditional.
20986 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20988 include <kernel-features.h>.
20989 [!__NR_ftruncate64]: Remove conditional code.
20990 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20991 [__NR_ftruncate64]: Make code unconditional.
20992 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20994 include <kernel-features.h>.
20995 [!__NR_ftruncate64]: Remove conditional code.
20996 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20997 [__NR_ftruncate64]: Make code unconditional.
20998 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21000 * configure.in (libc_cv_fpie): Weaken to a compile test using
21001 LIBC_TRY_CC_OPTION.
21002 * configure: Regenerated.
21004 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21019 2012-05-27 David S. Miller <davem@davemloft.net>
21021 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21023 (__Q_simulate_exceptions): Return void. Change to simulate
21024 exceptions by writing into the %fsr.
21025 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21026 (__Qp_handle_exceptions): Likewise.
21028 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21029 __Qp_handle_exceptions.
21030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21031 __Qp_handle_exceptions.
21032 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21033 as unused and give dummy FP_RND_NEAREST initializer.
21034 (FP_INHIBIT_RESULTS): Define.
21035 (___Q_simulate_exceptions): Update declaration.
21036 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21038 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21039 as unused and give dummy FP_RND_NEAREST initializer.
21040 (__Qp_handle_exceptions): Update declaration.
21041 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21044 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21046 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21047 the temporary FPU control word.
21048 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21049 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21050 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21051 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21052 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21053 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21054 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21056 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21057 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21058 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21060 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21062 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21065 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21067 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21068 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21069 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21070 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21072 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21073 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21076 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21078 * po/h.po: Update from translation team.
21080 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21082 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21084 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21085 handling of denormals.
21086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21087 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21088 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21089 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21091 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21095 2012-05-26 Marek Polacek <polacek@redhat.com>
21098 * math/libm-test.inc (fma_test): Don't always expect underflow
21101 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21104 * elf/tst-execstack.c: Include stackinfo.h.
21105 (do_test): Adjust test case to ensure that pthread_getattr_np
21106 behaviour remains the same after marking stack executable.
21108 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21110 * sysdeps/unix/sysv/linux/kernel-features.h
21111 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21112 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21114 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21115 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21116 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21118 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21119 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21121 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21123 * configure.in: Define the default includes to being none.
21124 * configure: Regenerated.
21126 2012-05-25 Roland McGrath <roland@hack.frob.com>
21128 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21129 * sysdeps/x86_64/setjmp.S: Likewise.
21130 * sysdeps/i386/bsd-setjmp.S: Likewise.
21131 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21132 * sysdeps/i386/setjmp.S: Likewise.
21133 * sysdeps/i386/__longjmp.S: Likewise.
21134 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21135 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21137 * include/stap-probe.h: New file.
21138 * configure.in: Handle --enable-systemtap.
21139 * configure: Regenerated.
21140 * config.h.in (USE_STAP_PROBE): New #undef.
21141 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21142 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21143 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21145 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21148 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21149 to 2.4.0 where earlier.
21150 * sysdeps/unix/sysv/linux/configure: Regenerated.
21151 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21152 <kernel-features.h>.
21153 [__ASSUME_32BITUIDS]: Make code unconditional.
21154 [!__ASSUME_32BITUIDS]: Remove conditional code.
21155 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21156 <kernel-features.h>.
21157 [__ASSUME_32BITUIDS]: Make code unconditional.
21158 [!__ASSUME_32BITUIDS]: Remove conditional code.
21159 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21160 [__ASSUME_32BITUIDS]: Make code unconditional.
21161 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21162 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21163 <kernel-features.h>.
21164 [__ASSUME_32BITUIDS]: Make code unconditional.
21165 [!__ASSUME_32BITUIDS]: Remove conditional code.
21166 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21167 <kernel-features.h>.
21168 [__ASSUME_32BITUIDS]: Make code unconditional.
21169 [!__ASSUME_32BITUIDS]: Remove conditional code.
21170 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21171 <kernel-features.h>.
21172 [__ASSUME_32BITUIDS]: Make code unconditional.
21173 [!__ASSUME_32BITUIDS]: Remove conditional code.
21174 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21175 <kernel-features.h>.
21176 [__ASSUME_32BITUIDS]: Make code unconditional.
21177 [!__ASSUME_32BITUIDS]: Remove conditional code.
21178 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21179 <kernel-features.h>.
21180 [__ASSUME_32BITUIDS]: Make code unconditional.
21181 [!__ASSUME_32BITUIDS]: Remove conditional code.
21182 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21183 <kernel-features.h>.
21184 [__ASSUME_32BITUIDS]: Make code unconditional.
21185 [!__ASSUME_32BITUIDS]: Remove conditional code.
21186 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21187 <kernel-features.h>.
21188 [__ASSUME_32BITUIDS]: Make code unconditional.
21189 [!__ASSUME_32BITUIDS]: Remove conditional code.
21190 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21191 <kernel-features.h>.
21192 [__ASSUME_32BITUIDS]: Make code unconditional.
21193 [!__ASSUME_32BITUIDS]: Remove conditional code.
21194 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21195 <kernel-features.h>.
21196 [__ASSUME_32BITUIDS]: Make code unconditional.
21197 [!__ASSUME_32BITUIDS]: Remove conditional code.
21198 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21199 <kernel-features.h>.
21200 [__ASSUME_32BITUIDS]: Make code unconditional.
21201 [!__ASSUME_32BITUIDS]: Remove conditional code.
21202 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21203 <kernel-features.h>.
21204 [__NR_setresgid] (__setresgid): Do not declare.
21205 [__ASSUME_32BITUIDS]: Make code unconditional.
21206 [!__ASSUME_32BITUIDS]: Remove conditional code.
21207 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21208 <kernel-features.h>.
21209 [__NR_setresuid] (__setresuid): Do not declare.
21210 [__ASSUME_32BITUIDS]: Make code unconditional.
21211 [!__ASSUME_32BITUIDS]: Remove conditional code.
21212 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21213 <kernel-features.h>.
21214 [__ASSUME_32BITUIDS]: Make code unconditional.
21215 [!__ASSUME_32BITUIDS]: Remove conditional code.
21216 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21217 <kernel-features.h>.
21218 [__ASSUME_32BITUIDS]: Make code unconditional.
21219 [!__ASSUME_32BITUIDS]: Remove conditional code.
21220 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21221 <kernel-features.h>.
21222 [__ASSUME_32BITUIDS]: Make code unconditional.
21223 [!__ASSUME_32BITUIDS]: Remove conditional code.
21224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21225 <kernel-features.h>.
21226 [__ASSUME_32BITUIDS]: Make code unconditional.
21227 [!__ASSUME_32BITUIDS]: Remove conditional code.
21228 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21229 <kernel-features.h>.
21230 [__ASSUME_32BITUIDS]: Make code unconditional.
21231 [!__ASSUME_32BITUIDS]: Remove conditional code.
21232 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21233 <kernel-features.h>.
21234 [__ASSUME_32BITUIDS]: Make code unconditional.
21235 [!__ASSUME_32BITUIDS]: Remove conditional code.
21236 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21237 <kernel-features.h>.
21238 [__ASSUME_32BITUIDS]: Make code unconditional.
21239 [!__ASSUME_32BITUIDS]: Remove conditional code.
21240 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21241 <kernel-features.h>.
21242 [__ASSUME_32BITUIDS]: Make code unconditional.
21243 [!__ASSUME_32BITUIDS]: Remove conditional code.
21244 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21245 <kernel-features.h>.
21246 [__ASSUME_32BITUIDS]: Make code unconditional.
21247 [!__ASSUME_32BITUIDS]: Remove conditional code.
21248 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21249 <kernel-features.h>.
21250 [__ASSUME_32BITUIDS]: Make code unconditional.
21251 [!__ASSUME_32BITUIDS]: Remove conditional code.
21252 * sysdeps/unix/sysv/linux/kernel-features.h
21253 (__ASSUME_SETRESUID_SYSCALL): Remove.
21254 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21255 (__ASSUME_32BITUIDS): Likewise.
21256 (__ASSUME_LDT_WORKS): Likewise.
21257 (__ASSUME_O_DIRECTORY): Likewise.
21258 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21259 architecture but not kernel version.
21260 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21261 (__ASSUME_MMAP2_SYSCALL): Likewise.
21262 (__ASSUME_STAT64_SYSCALL): Likewise.
21263 (__ASSUME_IPC64): Likewise.
21264 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21265 <kernel-features.h>.
21266 [__ASSUME_32BITUIDS]: Make code unconditional.
21267 [!__ASSUME_32BITUIDS]: Remove conditional code.
21268 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21269 <kernel-features.h>.
21270 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21271 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21272 132096]: Remove conditional code.
21273 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21274 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21275 <kernel-features.h>.
21276 [__ASSUME_32BITUIDS]: Make code unconditional.
21277 [!__ASSUME_32BITUIDS]: Remove conditional code.
21278 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21279 <kernel-features.h>.
21280 [__ASSUME_32BITUIDS]: Make code unconditional.
21281 [!__ASSUME_32BITUIDS]: Remove conditional code.
21282 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21283 <kernel-features.h>.
21284 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21286 (__setresgid): Do not declare.
21287 [__ASSUME_32BITUIDS]: Make code unconditional.
21288 [!__ASSUME_32BITUIDS]: Remove conditional code.
21289 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21290 <kernel-features.h>.
21291 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21293 (__setresuid): Do not declare.
21294 [__ASSUME_32BITUIDS]: Make code unconditional.
21295 [!__ASSUME_32BITUIDS]: Remove conditional code.
21296 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21297 <kernel-features.h>.
21298 [__ASSUME_32BITUIDS]: Make code unconditional.
21299 [!__ASSUME_32BITUIDS]: Remove conditional code.
21300 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21301 <kernel-features.h>.
21302 [__ASSUME_32BITUIDS]: Make code unconditional.
21303 [!__ASSUME_32BITUIDS]: Remove conditional code.
21305 2012-05-25 Richard Henderson <rth@twiddle.net>
21307 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21308 dl_hwcap to ifunc resolver.
21309 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21311 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21312 dl_hwcap to ifunc resolver.
21313 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21315 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21318 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21319 for |x| <= 2**-26, not 2**-57.
21320 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21323 2012-05-24 Jeff Law <law@redhat.com>
21325 * stdio-common/Makefile (tests): Add bug25.
21326 * stdio-common/bug25.c: New test.
21328 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21331 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21332 multiple of MALLOC_ALIGNMENT in size.
21333 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21335 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21337 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21339 (FILENAME_MAX): Use macro-int-constant.
21340 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21341 (_IOFBF): Use macro-int-constant.
21342 (_IOLBF): Likewise.
21343 (_IONBF): Likewise.
21344 (SEEK_CUR): Likewise.
21345 (SEEK_END): Likewise.
21346 (SEEK_SET): Likewise.
21347 (TMP_MAX): Likewise.
21348 (EOF): Use macro-int-constant. Require < 0.
21349 (NULL): Use macro-constant. Require == 0.
21350 (stdin): Require type to be FILE *.
21351 (stdout): Likewise.
21352 (stderr): Likewise.
21353 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21354 macro-int-constant.
21355 (EXIT_SUCCESS): Likewise.
21356 (NULL): Use macro-constant. Require == 0.
21357 (RAND_MAX): Use macro-int-constant.
21358 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21359 [C99-based standards] (strtof): Require function.
21360 [C99-based standards] (strtold): Likewise.
21361 [C99-based standards] (strtoll): Likewise.
21362 [C99-based standards] (strtoull): Likewise.
21363 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21364 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21365 [ISO || ISO99 || ISO11] (math.h): Likewise.
21366 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21367 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21370 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21373 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21374 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21375 * intl/dgettext.c (DCGETTEXT): Likewise.
21376 * intl/gettext.c (DCGETTEXT): Likewise.
21377 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21378 * posix/regex_internal.h (gettext): Likewise.
21379 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21380 Remove declaration.
21381 * include/argz.h (__argz_count_internal)
21382 (__argz_stringify_internal): Remove declaration.
21383 (__argz_count, __argz_stringify): Declare hidden proto.
21384 * intl/dcgettext.c: Remove use of INTDEF.
21385 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21386 * string/argz-stringify.c: Likewise.
21387 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21388 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21389 Declare hidden proto.
21390 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21391 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21392 Declare hidden proto.
21393 * include/stdio.h (__asprintf_internal): Don't declare.
21394 (__asprintf): Don't define as macro. Declare hidden proto.
21395 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21396 (__fsetlocking): Declare hidden proto.
21397 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21398 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21400 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21401 (_IO_setlinebuf): Remove use of INTUSE.
21402 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21403 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21404 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21405 Remove declaration.
21406 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21407 (_IO_do_flush): Remove use of INTUSE.
21408 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21409 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21410 (_IO_adjust_column, _IO_least_wmarker)
21411 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21412 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21413 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21414 (_IO_default_doallocate, _IO_wdefault_doallocate)
21415 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21416 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21417 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21418 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21419 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21420 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21421 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21422 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21423 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21424 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21425 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21426 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21427 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21429 (_IO_flush_all_internal, _IO_adjust_column_internal)
21430 (_IO_default_uflow_internal, _IO_default_finish_internal)
21431 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21432 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21433 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21434 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21435 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21436 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21437 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21438 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21439 (_IO_file_close_internal, _IO_file_close_it_internal)
21440 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21441 (_IO_file_init_internal, _IO_file_attach_internal)
21442 (_IO_file_fopen_internal, _IO_file_read_internal)
21443 (_IO_file_sync_internal, _IO_file_seek_internal)
21444 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21445 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21446 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21447 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21448 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21449 (_IO_list_all_internal, _IO_link_in_internal)
21450 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21451 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21452 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21453 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21454 (_IO_do_write_internal, _IO_padn_internal)
21455 (_IO_getline_info_internal, _IO_getline_internal)
21456 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21457 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21458 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21459 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21460 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21461 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21462 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21463 with libc_hidden_ver, remove use of INTUSE.
21464 * libio/genops.c: Likewise.
21465 * libio/freopen.c: Likewise.
21466 * libio/freopen64.c: Likewise.
21467 * libio/iofclose.c: Likewise.
21468 * libio/iofdopen.c: Likewise.
21469 * libio/iofflush.c: Likewise.
21470 * libio/iofflush_u.c: Likewise.
21471 * libio/iofgets.c: Likewise.
21472 * libio/iofgets_u.c: Likewise.
21473 * libio/iofopen.c: Likewise.
21474 * libio/iofopncook.c: Likewise.
21475 * libio/iofread.c: Likewise.
21476 * libio/iofread_u.c: Likewise.
21477 * libio/ioftell.c: Likewise.
21478 * libio/iofwrite.c: Likewise.
21479 * libio/iogetline.c: Likewise.
21480 * libio/iogets.c: Likewise.
21481 * libio/iogetwline.c: Likewise.
21482 * libio/iopadn.c: Likewise.
21483 * libio/iopopen.c: Likewise.
21484 * libio/ioseekoff.c: Likewise.
21485 * libio/ioseekpos.c: Likewise.
21486 * libio/iosetbuffer.c: Likewise.
21487 * libio/iosetvbuf.c: Likewise.
21488 * libio/ioungetc.c: Likewise.
21489 * libio/ioungetwc.c: Likewise.
21490 * libio/iovdprintf.c: Likewise.
21491 * libio/iovsprintf.c: Likewise.
21492 * libio/iovsscanf.c: Likewise.
21493 * libio/memstream.c: Likewise.
21494 * libio/obprintf.c: Likewise.
21495 * libio/oldfileops.c: Likewise.
21496 * libio/oldiofclose.c: Likewise.
21497 * libio/oldiofdopen.c: Likewise.
21498 * libio/oldiofopen.c: Likewise.
21499 * libio/oldiopopen.c: Likewise.
21500 * libio/oldstdfiles.c: Likewise.
21501 * libio/putc.c: Likewise.
21502 * libio/setbuf.c: Likewise.
21503 * libio/setlinebuf.c: Likewise.
21504 * libio/stdfiles.c: Likewise.
21505 * libio/strops.c: Likewise.
21506 * libio/vasprintf.c: Likewise.
21507 * libio/vscanf.c: Likewise.
21508 * libio/vsnprintf.c: Likewise.
21509 * libio/vswprintf.c: Likewise.
21510 * libio/wfiledoalloc.c: Likewise.
21511 * libio/wfileops.c: Likewise.
21512 * libio/wgenops.c: Likewise.
21513 * libio/wmemstream.c: Likewise.
21514 * libio/wstrops.c: Likewise.
21515 * libio/__fpurge.c: Likewise.
21516 * libio/__fsetlocking.c: Likewise.
21517 * assert/assert.c: Likewise.
21518 * debug/fgets_chk.c: Likewise.
21519 * debug/fgets_u_chk.c: Likewise.
21520 * debug/fread_chk.c: Likewise.
21521 * debug/fread_u_chk.c: Likewise.
21522 * debug/gets_chk.c: Likewise.
21523 * debug/obprintf_chk.c: Likewise.
21524 * debug/vasprintf_chk.c: Likewise.
21525 * debug/vdprintf_chk.c: Likewise.
21526 * debug/vsnprintf_chk.c: Likewise.
21527 * debug/vsprintf_chk.c: Likewise.
21528 * malloc/mtrace.c: Likewise.
21529 * misc/error.c: Likewise.
21530 * misc/syslog.c: Likewise.
21531 * stdio-common/asprintf.c: Likewise.
21532 * stdio-common/fxprintf.c: Likewise.
21533 * stdio-common/getw.c: Likewise.
21534 * stdio-common/isoc99_fscanf.c: Likewise.
21535 * stdio-common/isoc99_scanf.c: Likewise.
21536 * stdio-common/isoc99_vfscanf.c: Likewise.
21537 * stdio-common/isoc99_vscanf.c: Likewise.
21538 * stdio-common/isoc99_vsscanf.c: Likewise.
21539 * stdio-common/printf-prs.c: Likewise.
21540 * stdio-common/printf_fp.c: Likewise.
21541 * stdio-common/printf_fphex.c: Likewise.
21542 * stdio-common/printf_size.c: Likewise.
21543 * stdio-common/putw.c: Likewise.
21544 * stdio-common/scanf.c: Likewise.
21545 * stdio-common/sprintf.c: Likewise.
21546 * stdio-common/tmpfile.c: Likewise.
21547 * stdio-common/vfprintf.c: Likewise.
21548 * stdio-common/vfscanf.c: Likewise.
21549 * stdlib/strfmon_l.c: Likewise.
21550 * sunrpc/openchild.c: Likewise.
21551 * sunrpc/xdr_stdio.c: Likewise.
21552 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21553 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21555 2012-05-24 Roland McGrath <roland@hack.frob.com>
21557 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21559 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21560 in the third column, to generate for the shared library an IFUNC
21561 that uses _dl_vdso_vsym.
21562 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21563 * Makeconfig (object-suffixes-noshared): New variable.
21565 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21566 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21567 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21568 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21571 * include/sys/time.h (__gettimeofday): Remove macro.
21572 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21573 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21575 (__gettimeofday): Add libc_hidden_def.
21576 (gettimeofday): Add libc_hidden_weak.
21577 * sysdeps/mach/gettimeofday.c: Likewise.
21578 * sysdeps/posix/gettimeofday.c: Likewise.
21579 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21580 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21582 (__gettimeofday_internal): Remove strong_alias.
21583 (__gettimeofday): Add libc_hidden_def.
21584 (gettimeofday): Add libc_hidden_weak.
21585 * sysdeps/unix/syscalls.list (gettimeofday):
21586 Remove __gettimeofday_internal alias.
21588 2012-05-24 Daniel Jacobowitz <drow@false.org>
21589 H.J. Lu <hongjiu.lu@intel.com>
21592 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21593 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21594 (largebin_index_32_big): New.
21595 (largebin_index): Use it for 16-byte alignment.
21596 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21597 correction with front_misalign.
21599 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21627 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21628 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21630 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21634 * math/libm-test.inc (exp_test): Add test from bug 14036.
21635 (pow_test): Add test from bug 10846.
21637 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21639 (special_function): Do not include flags in test name.
21640 (parse_args): Likewise.
21641 * sysdeps/i386/fpu/libm-test-ulps: Update.
21642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21643 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21644 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21647 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21649 * math/libm-test.inc ("Philosophy"): Update comment about
21651 (UNDERFLOW_EXCEPTION): New macro.
21652 (UNDERFLOW_EXCEPTION_OK): Likewise.
21653 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21654 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21655 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21656 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21657 (INVALID_EXCEPTION_OK): Update value.
21658 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21659 (OVERFLOW_EXCEPTION_OK): Likewise.
21660 (IGNORE_ZERO_INF_SIGN): Likewise.
21661 (test_exceptions): Handle underflow exceptions.
21662 (acos_test): Update for underflow exception expectations.
21663 (cexp_test): Likewise.
21664 (clog_test): Likewise.
21665 (clog10_test): Likewise.
21666 (csqrt_test): Likewise.
21667 (ctan_test): Likewise.
21668 (ctanh_test): Likewise.
21669 (exp_test): Likewise.
21670 (exp10_test): Likewise.
21671 (exp2_test): Likewise.
21672 (expm1_test): Likewise.
21673 (fma_test): Likewise.
21674 (j0_test): Likewise.
21675 (jn_test): Likewise.
21676 (nexttoward_test): Likewise.
21677 (pow_test): Likewise.
21678 (scalbn_test): Likewise.
21679 (scalbln_test): Likewise.
21680 (tan_test): Likewise.
21681 (y1_test): Likewise.
21682 * sysdeps/i386/fpu/libm-test-ulps: Update.
21683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21685 2012-05-23 David S. Miller <davem@davemloft.net>
21687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21688 (__libc_sigaction): Remove unused local variables.
21690 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21692 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21694 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21696 mktime: avoid signed integer overflow
21697 * time/mktime.c (__mktime_internal): Do not mishandle the case
21698 where diff == INT_MIN.
21700 mktime: simplify computation of average
21701 * time/mktime.c (ranged_convert): Use new time_t_avg function
21702 instead of rolling our own (probably-slower) code.
21704 mktime: do not assume signed right shift propagates sign bit
21705 * time/mktime.c (isdst_differ): New static function.
21706 (__mktime_internal): No need to normalize tm_isdst now.
21707 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21710 mktime: merge another wrapv change from gnulib
21711 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21712 from some compilers.
21714 mktime: remove incorrect attempt at unusual arithmetics
21715 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21716 The code didn't really work on such machines anyway.
21717 (TYPE_MINIMUM): Assume two's complement.
21718 (twos_complement_arithmetic): Verify that long_int and time_t
21719 are two's complement (or unsigned, in the latter case).
21721 mktime: check signed shifts on long_int and time_t, too
21722 * time/mktime.c (SHR): Check that shifts work as desired
21723 on the types long_int and time_t too, as SHR is used on
21726 mktime: do not assume 'long' is wide enough
21727 * time/mktime.c (verify): Move decl up.
21728 (long_int): New type.
21729 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21730 to remove assumption in the code that 'long' is wide enough to
21731 store year values. This assumption is not true on x32 and on
21732 some non-glibc platforms.
21734 mktime: merge wrapv change from gnulib
21735 * time/mktime.c (WRAPV): New macro.
21736 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21737 (guess_time_tm, __mktime_internal): Do not assume that signed
21738 integer overflow wraps around; modern compilers generate code
21739 where this assumption is no longer valid.
21741 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21743 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21744 Replace "jmp L(pseudo_end)" with "ret".
21745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21748 2012-05-23 Andreas Jaeger <aj@suse.de>
21750 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21751 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21753 2012-05-23 Andreas Jaeger <aj@suse.de>
21754 Maximilian Attems <max@stro.at>
21756 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21759 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21761 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21762 code so that pseudo_end is just ret and the stack pointer is
21763 correct also for static library in error case.
21765 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21767 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21768 move to syscalls.list.
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21774 * manual/install.texi (Running make install): Do not mention Linux
21775 kernel version for which pt_chown is not needed.
21776 (Linux): Do not mention problems with nscd with 2.0 kernels.
21777 * INSTALL: Regenerated.
21779 2012-05-23 Andreas Jaeger <aj@suse.de>
21781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21782 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21784 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21785 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21786 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21787 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21788 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21789 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21790 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21791 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21792 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21794 * sysdeps/unix/sysv/linux/bits/in.h
21795 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21797 2012-05-22 Roland McGrath <roland@hack.frob.com>
21799 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21800 (PREPARE_VERSION): Just use assert instead, it will be elided
21801 under [NDEBUG] anyway.
21803 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21805 * sysdeps/unix/sysv/linux/Makefile: Include
21806 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21807 (sysdep_routines): Remove sysctl.
21808 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21809 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21810 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21811 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21812 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21814 2012-05-22 Andreas Jaeger <aj@suse.de>
21816 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21817 that pseudo_end is just ret and the stack pointer is correct also
21818 for static library in error case.
21820 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21823 * nss/nsswitch.c (defconfig_entries): New variable.
21824 (__nss_database_lookup): Don't leak defconfig entries.
21825 (nss_parse_service_list): Don't leak on error paths.
21826 (free_database_entries): New function.
21827 (free_defconfig): New function.
21828 (free_mem): Move common code to free_database_entries.
21830 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21832 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21834 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21836 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21837 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21840 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21841 (INTERNAL_SYSCALL_TYPES): Likewise.
21842 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21843 (LOAD_REGS_TYPES_[1-6]): Likewise.
21844 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21845 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21847 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21849 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21850 copysignl for GLIBC_2_0.
21851 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21852 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21854 logbl for GLIBC_2_0.
21855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21856 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21858 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21861 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21863 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21866 * time/mktime.c: Update copyright years.
21868 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21870 mktime: merge comment-quoting-style change from gnulib
21871 * time/mktime.c: Quote 'like this' in comments.
21872 The GNU coding standards suggest that we no longer quote `like this',
21873 as "`" and "'" are typically rendered asymmetrically nowadays.
21874 The typical gnulib style is to quote 'like this' when quoting
21875 code, and "like this" when quoting English.
21877 * time/mktime.c (compile-command): Add "-I.".
21879 mktime: merge mktime-internal.h change from gnulib
21880 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21882 mktime: merge time_r change from gnulib
21883 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21885 mktime: merge DEBUG change from gnulib
21886 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21887 case system <time.h> has a #define.
21889 mktime: merge <sys/types.h> change from gnulib
21890 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21891 since <time.t> is now guaranteed to define time_t.
21893 mktime: merge HAVE_CONFIG_H change from gnulib
21894 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21896 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21901 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21903 (struct rusage): Use anonymous union to pad each field to
21906 2012-05-21 David S. Miller <davem@davemloft.net>
21908 * Makefules (o-iterator): Remove .s cases.
21909 (compile-command.s): Delete.
21910 (COMPILE.s): Delete.
21911 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21913 2012-05-21 Joseph Myers <joseph@codesourcery.com>
21915 * configure.in (libc_cv_predef_stack_protector): Only consider
21916 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21917 * configure: Regenerated.
21919 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21922 New macro. Use R*LP on int and pointer.
21923 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21924 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21925 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21926 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21928 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21929 [__WORDSIZE_TIME64_COMPAT32] instead of
21930 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21931 (struct utmp): Likewise.
21932 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21933 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21935 (__WORDSIZE_TIME64_COMPAT32): This.
21936 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21937 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21938 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21939 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21940 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21941 (__WORDSIZE_TIME64_COMPAT32): New macro.
21943 2012-05-21 Andreas Jaeger <aj@suse.de>
21945 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21946 only if [SHARED]. Add prototype for __wcschr_ia32.
21948 2012-05-21 Roland McGrath <roland@hack.frob.com>
21950 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21951 of %rbp unmolested in the jmp_buf while mangling the low bits.
21952 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21953 unmolested high bits of %rbp while demangling the low bits.
21954 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21956 2012-05-21 Andreas Jaeger <aj@suse.de>
21958 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21959 * sunrpc/svc_simple.c: Use it for registerrpc.
21960 * sunrpc/xcrypt.c: Use it for passwd2des.
21962 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21964 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21966 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21967 Don't define if [__SYSCALL_WORDSIZE != 32].
21968 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21971 2012-05-21 Bruno Haible <bruno@clisp.org>
21972 Andreas Jaeger <aj@suse.de>
21974 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21975 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21976 inptr and inend for must_buffer_ch.
21977 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21978 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21979 * stdio-common/Makefile (tests): Remove bug15.
21980 (bug15-ENV): Remove macro.
21981 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21984 2012-05-19 Andreas Jaeger <aj@suse.de>
21985 Roland McGrath <roland@hack.frob.com>
21987 * manual/contrib.texi: Completely rewritten. It contains now an
21988 alphabetical list of contributors and their contributions.
21990 2012-05-21 Richard Henderson <rth@twiddle.net>
21992 * misc/getauxval.c (__getauxval): Use unsigned long int.
21993 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21994 (getauxval): Use unsigned long int.
21996 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21998 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22000 2012-05-21 Roland McGrath <roland@hack.frob.com>
22002 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22003 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22004 __alignof__ (long double).
22006 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22010 2012-05-20 Richard Henderson <rth@twiddle.net>
22012 * misc/getauxval.c: New file.
22013 * misc/sys/auxv.h: New file.
22014 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22015 (routines): Add getauxval.
22016 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22017 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22018 * elf/dl-sysdep.c (_dl_auxv): Remove.
22019 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22020 * elf/dl-support.c (_dl_auxv): New variable.
22021 (_dl_aux_init): Initialize it.
22022 * manual/startup.texi (Auxiliary Vector): New node.
22023 * sysdeps/generic/bits/hwcap.h: New file.
22024 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22025 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22026 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22027 * sysdeps/sparc/sysdep.h: ... here. Include it.
22028 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22029 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22041 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22045 2012-05-19 David S. Miller <davem@davemloft.net>
22047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22049 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22052 * math/s_ccosh.c: Include <float.h>
22053 (__ccosh): Avoid internal overflow calculating sinh and cosh
22054 values before multiplying by sin and cos values.
22055 * math/s_ccoshf.c: Likewise.
22056 * math/s_ccoshl.c: Likewise.
22057 * math/s_csin.c: Likewise.
22058 * math/s_csinf.c: Likewise.
22059 * math/s_csinl.c: Likewise.
22060 * math/s_csinh.c: Likewise.
22061 * math/s_csinhf.c: Likewise.
22062 * math/s_csinhl.c: Likewise.
22063 * math/libm-test.inc (ccos_test): Add more tests.
22064 (ccosh_test): Likewise.
22065 (csin_test): Likewise.
22066 (csinh_test): Likewise.
22067 * sysdeps/i386/fpu/libm-test-ulps: Update.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22072 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22073 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22075 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22077 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22079 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22080 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22081 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22082 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22083 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22084 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22085 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22086 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22087 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22088 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22089 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22090 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22091 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22092 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22093 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22094 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22095 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22096 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22097 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22098 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22099 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22100 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22101 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22102 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22103 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22104 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22105 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22106 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22107 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22108 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22109 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22111 2012-05-18 Andreas Jaeger <aj@suse.de>
22113 * csu/.gitignore: Delete.
22115 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22117 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22118 (timex): Use __syscall_slong_t.
22120 2012-05-18 Andreas Jaeger <aj@suse.de>
22121 Carlos O'Donell <carlos_odonell@mentor.com>
22123 * manual/install.texi (Configuring and compiling): Update
22124 description about files modified in the source directory.
22125 * INSTALL: Regenerated.
22127 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22129 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22130 value. Use "or" to set return value to -1.
22131 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22132 negate return value.
22134 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22136 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22137 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22138 failure if the compiler has Graphite support disabled.
22139 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22141 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22142 CFLAGS-memmove.c): Likewise.
22143 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22146 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22148 * sysdeps/x86_64/x32/_itoa.h: New file.
22150 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22151 getdents system call only if kernel and user dirents have the
22152 same d_ino and d_off.
22154 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22155 LLONG_MAX != LONG_MAX.
22156 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22157 (_fitoa_word): Likewise.
22159 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22161 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22163 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22165 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22166 include <bits/wordsize.h>. Check __x86_64__ instead of
22168 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22169 if __x86_64__ is defined. Use anonymous union on fpstate.
22171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22174 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22176 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22177 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22178 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22179 Refer to _rtld_local_ro instead of _rtld_global_ro.
22180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22182 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22184 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22186 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22187 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22188 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22190 * sysdeps/powerpc/powerpc32/dl-machine.c
22191 (__elf_machine_runtime_setup) [PROF]: Don't reference
22194 2012-05-18 Andreas Jaeger <aj@suse.de>
22196 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22197 function only available for GCCs before 3.4 since GCC 3.4
22198 introduced a builtin.
22200 (llrintf): Likewise.
22201 (llrint): Likewise.
22208 (nearbyint): Likewise.
22209 (nearbyintf): Likewise.
22213 (floorf): Likewise.
22215 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22217 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22218 on both fields and cast pointer to __syscall_ulong_t.
22220 * bits/types.h (__fsword_t): New type.
22221 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22222 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22224 (__FSWORD_T_TYPE): Likewise.
22225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22226 (__FSWORD_T_TYPE): Likewise.
22227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22228 (__FSWORD_T_TYPE): Likewise.
22229 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22230 (__FSWORD_T_TYPE): Likewise.
22231 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22232 __SWORD_TYPE with __fsword_t.
22233 (statfs64): Likewise.
22235 2012-05-17 David S. Miller <davem@davemloft.net>
22237 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22239 2012-05-17 Andreas Jaeger <aj@suse.de>
22241 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22244 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22246 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22248 2012-05-17 Andreas Jaeger <aj@suse.de>
22250 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22253 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22255 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22257 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22259 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22260 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22262 2012-05-17 Andreas Jaeger <aj@suse.de>
22263 Carlos O'Donell <carlos_odonell@mentor.com>
22266 * sysdeps/x86_64/multiarch/init-arch.h
22267 (bit_YMM_Usable): Rename to...
22268 (bit_AVX_Usable): ... this.
22269 (bit_FMA4_Usable): New macro.
22270 (bit_XMM_state): New macro.
22271 (bit_YMM_state): New macro.
22272 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22273 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22274 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22275 (CPUID_OSXSAVE): New macro.
22276 (CPUID_AVX): New macro.
22277 (CPUID_FMA4): New macro.
22278 (index_YMM_Usable): Rename to...
22279 (index_AVX_Usable): ... this.
22280 (HAS_AVX): Use HAS_ARCH_FEATURE.
22281 (HAS_FMA4): Likewise.
22282 (HAS_YMM_USABLE): Remove.
22283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22284 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22286 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22287 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22288 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22289 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22290 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22292 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22294 * math/libm-test.c: Support platforms without multiple rounding modes.
22295 * math/bug-nextafter.c: Support platforms without FP exceptions.
22296 * math/bug-nexttoward.c: Likewise.
22297 * math/test-fenv.c: Likewise.
22298 * math/test-misc.c: Likewise.
22299 * stdlib/bug-getcontext.c: Likewise.
22301 2012-05-17 Andreas Jaeger <aj@suse.de>
22303 * manual/examples/search.c (critter_cmp): Change signature to
22305 * manual/string.texi (Collation Functions): Likewise.
22307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22309 * bits/types.h: Fold copyright years.
22310 * bits/typesizes.h: Likewise.
22311 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22315 * time/time.h: Likewise.
22317 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22320 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22321 in instead of returning them. Return void.
22322 (__libc_mallinfo): Accumulate over all arenas.
22323 (__malloc_stats): Adjust for change in int_mallinfo interface.
22325 2012-05-16 Roland McGrath <roland@hack.frob.com>
22328 * configure.in (NM): Add AC_CHECK_TOOL for it.
22329 (libc_extra_cflags): New substituted variable.
22330 Check for -fstack-protector being used implicitly.
22331 * configure: Regenerated.
22332 * config.make.in (config-extra-cflags): New variable,
22333 gets @libc_extra_cflags@.
22334 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22337 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22338 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22339 * configure: Regenerated.
22340 * config.make.in (CPPUNDEFS): New substituted variable.
22341 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22342 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22343 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22345 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22347 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22348 (mq_attr): Use __syscall_slong_t.
22350 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22352 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22353 Check __x86_64__ instead of __WORDSIZE.
22354 (_STAT_VER_LINUX): Likewise.
22355 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22356 __syscall_ulong_t and __syscall_slong_t.
22357 (stat64): Likewise.
22359 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22363 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22365 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22369 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22372 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22373 include <bits/wordsize.h>. Check __x86_64__ instead of
22375 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22377 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22380 include <bits/wordsize.h>. Check __x86_64__ instead of
22382 (user_regs_struct): Use "__extension__ unsigned long long"
22383 instead of "unsigned long" if __x86_64__ is defined.
22384 (user): Likewise. Pad after pointer field if __ILP32__ is
22387 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22389 * configure.in (makeinfo): Require version 4.5 or later. Allow
22391 * configure: Regenerated.
22392 * manual/install.texi (texinfo): Increase version requirement to
22394 * INSTALL: Regenerated.
22396 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22398 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22400 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22402 * sysdeps/x86_64/x32/ffs.c: New file.
22404 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22406 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22407 defined. Use __syscall_ulong_t.
22408 (shminfo): Use __syscall_ulong_t.
22409 (shm_info): Likewise.
22411 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22414 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22416 (msgqnum_t): Use __syscall_ulong_t.
22417 (msglen_t): Likewise.
22418 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22421 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22422 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22424 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22426 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22427 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22429 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22432 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22433 include <bits/wordsize.h>. Check __x86_64__ instead of
22436 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22437 "unsigned long long int" if __x86_64__ is defined.
22438 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22441 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22442 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22444 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22446 (GET_PC): Cast to uintptr_t first.
22447 (GET_FRAME): Likewise.
22448 (GET_STACK): Likewise.
22450 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22451 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22452 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22453 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22454 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22455 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22456 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22457 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22458 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22459 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22460 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22461 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22462 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22463 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22464 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22465 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22466 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22467 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22468 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22469 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22471 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22473 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22475 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22477 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22478 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22480 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22482 * Makerules (+depfiles): Also collect depfiles from .oS in
22484 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22485 .oS, $(libnldbl-routines)).
22487 * Makerules (native-compile-mkdep-flags): Define.
22488 * sunrpc/Makefile (extra-objs): Add $(addprefix
22489 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22490 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22491 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22492 calling $(make-target-directory).
22494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22496 * bits/types.h (__snseconds_t): Removed.
22497 * time/time.h (struct timespec): Replace __snseconds_t with
22499 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22500 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22503 (__SNSECONDS_T_TYPE): Likewise.
22504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22505 (__SNSECONDS_T_TYPE): Likewise.
22506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22507 (__SNSECONDS_T_TYPE): Likewise.
22509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22511 * sysdeps/mach/hurd/bits/typesizes.h
22512 (__SYSCALL_SLONG_TYPE): New macro.
22513 (__SYSCALL_ULONG_TYPE): Likewise.
22515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22517 * bits/types.h (__syscall_slong_t): New type.
22518 (__syscall_ulong_t): Likewise.
22520 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22521 (__SYSCALL_ULONG_TYPE): Likewise.
22522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22523 (__SYSCALL_SLONG_TYPE): Likewise.
22524 (__SYSCALL_ULONG_TYPE): Likewise.
22525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22526 (__SYSCALL_SLONG_TYPE): Likewise.
22527 (__SYSCALL_ULONG_TYPE): Likewise.
22528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22529 (__SYSCALL_SLONG_TYPE): Likewise.
22530 (__SYSCALL_ULONG_TYPE): Likewise.
22532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22534 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22535 Add sigaltstack-offsets.sym.
22536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22537 <sigaltstack-offsets.h>.
22538 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22539 longjmp_msg pointer.
22540 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22541 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22543 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22545 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22547 * elf/stackguard-macros.h: Remove file.
22548 * sysdeps/generic/stackguard-macros.h: New file.
22549 * sysdeps/i386/stackguard-macros.h: Likewise.
22550 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22551 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22552 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22553 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22554 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22555 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22556 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22557 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22558 <elf/stackguard-macros.h>.
22561 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22562 __aligned__ in attribute.
22563 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22564 (gregset_t): Likewise.
22566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22568 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22569 * sysdeps/x86_64/64/Implies-after: Here. New file.
22570 * sysdeps/x86_64/x32/Implies-after: New file.
22572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22574 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22575 and access return value for _dl_profile_fixup. Use R10_LP to
22578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22580 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22584 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22585 * sysdeps/x86_64/x32/sysdep.h: New file.
22587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22589 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22590 * sysdeps/x86_64/setjmp.S: Likewise.
22592 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22594 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22595 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22596 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22597 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22598 remove unused global constant.
22600 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22602 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22603 include of <not-cancel.h>.
22605 2012-05-15 Roland McGrath <roland@hack.frob.com>
22607 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22609 2012-05-15 Jeff Law <law@redhat.com>
22610 Andreas Jaeger <aj@suse.de>
22613 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22615 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22616 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22617 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22618 code changing __hst_map_handle.map.
22620 2012-05-15 Roland McGrath <roland@hack.frob.com>
22622 * configure.in (sysnames): Look for Implies-before and Implies-after
22624 * configure: Regenerated.
22626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22628 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22629 8-byte data alignment with LP_SIZE alignment.
22631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22633 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22638 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22642 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22643 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22644 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22646 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22650 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22651 (stackinfo_sub_sp): Likewise.
22653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22670 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22674 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22675 into R11_LP and load __x86_64_shared_cache_size_half into
22678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22680 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22683 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22691 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22692 powerpc32/power7/fpu/s_logb.c via #include.
22693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22694 powerpc32/power7/fpu/s_logbf.c via #include.
22695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22696 powerpc32/power7/fpu/s_logbl.c via #include.
22698 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22700 * README.libm: Remove file.
22702 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22704 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22705 count for x32. Use R*_LP and omit operand-size suffix.
22707 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22709 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22710 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22711 * sysdeps/x86_64/x32/shlib-versions: New file.
22713 2012-05-14 Roland McGrath <roland@hack.frob.com>
22715 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22716 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22717 Use _dl_fatal_printf instead.
22719 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22721 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22722 set if not set by the user. Do not allow for being unset.
22723 * sysdeps/unix/sysv/linux/configure: Regenerated.
22725 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22727 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22728 the `q' suffix from lea and replace .quad with ASM_ADDR.
22730 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22733 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22735 (PTR_DEMANGLE): Likewise.
22737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22739 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22741 (ASM_ADDR): Likewise.
22742 (RAX_LP): Likewise.
22743 (RBP_LP): Likewise.
22744 (RBX_LP): Likewise.
22745 (RCX_LP): Likewise.
22746 (RDI_LP): Likewise.
22747 (RSI_LP): Likewise.
22748 (RSP_LP): Likewise.
22751 (R10_LP): Likewise.
22752 (R10_LP): Likewise.
22753 (R11_LP): Likewise.
22754 (R12_LP): Likewise.
22755 (R13_LP): Likewise.
22756 (R14_LP): Likewise.
22757 (R15_LP): Likewise.
22759 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22761 * sysdeps/x86_64/x32/dl-machine.h: New file.
22763 2012-05-14 Andreas Jaeger <aj@suse.de>
22765 * manual/Makefile (subdir): Remove export of subdir.
22766 (all): Remove target.
22767 (.PHONY): Remove all from list.
22768 (mkinstalldirs): Remove.
22769 (.PHONY): Remove installdirs from list.
22770 ($(inst_infodir)/libc.info): Use make-target-directory.
22771 (installdirs): Remove.
22772 (subdir_%): Remove.
22773 (glibc-targets): Remove.
22776 ($(objpfx)stubs ../po/manual.pot): Remove.
22777 ($(objpfx)stamp%): Remove.
22778 (make-target-directory): Remove.
22779 (subdir_install): Remove.
22780 (routines): Remove.
22787 * manual/.gitignore: Remove, it's not needed anymore.
22788 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22790 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22792 (texis): Renamed to $(objpfx)texis.
22793 (texis-path): New, contains path to generated files.
22794 (chapters.%): Use texis-path for complete path, add extra argument
22796 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22797 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22798 (summary,texi, stamp-summary): Use complete path of
22799 files. Generate files in build dir.
22800 (dir-add.texi): Build in build dir.
22801 (libm-err.texi,stamp-libm-err): Likewise.
22802 (version.texi, stamp-version): Likewise.
22803 (.%c.texi): Likewise.
22804 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22805 (mostlyclean): Remove target.
22806 (realclean): Remove target.
22807 (generated): Add new variable with contents from mostlyclean and
22808 realclean, remove entries duplicated in common-mostlyclean, add
22809 stamp-libm-err and stamp-version.
22810 (generated-dirs): Add libc directory.
22811 ($(inst_infodir)/libc.info): Install files from build dir.
22813 * manual/install.texi (Configuring and compiling): Adjust since
22814 the info files are not part of the tar ball anymore.
22816 2012-05-14 Andreas Jaeger <aj@suse.de>
22818 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22821 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22825 to 2.2.0 where earlier.
22826 * sysdeps/unix/sysv/linux/configure: Regenerated.
22827 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22828 Remove conditional code.
22829 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22830 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22831 Remove conditional code.
22832 [!__NR_lchown]: Likewise.
22833 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22834 [__NR_lchown]: Likewise.
22835 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22836 comment referencing __ASSUME_LCHOWN_SYSCALL.
22837 * sysdeps/unix/sysv/linux/i386/sigaction.c
22838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22840 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22841 Remove conditional code.
22842 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22843 (__protocol_available): Remove #if 0 code.
22844 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22846 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22847 * sysdeps/unix/sysv/linux/kernel-features.h
22848 (__ASSUME_GETCWD_SYSCALL): Don't define.
22849 (__ASSUME_REALTIME_SIGNALS): Likewise.
22850 (__ASSUME_PREAD_SYSCALL): Likewise.
22851 (__ASSUME_PWRITE_SYSCALL): Likewise.
22852 (__ASSUME_POLL_SYSCALL): Likewise.
22853 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22854 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22856 (__ASSUME_SIOCGIFNAME): Don't define.
22857 (__ASSUME_MSG_NOSIGNAL): Likewise.
22858 (__ASSUME_SENDFILE): Define unconditionally.
22859 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22860 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22862 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22863 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22864 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22865 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22866 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22867 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22868 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22870 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22873 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22876 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22882 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22885 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22888 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22891 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22892 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22893 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22894 Remove conditional code.
22895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22896 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22897 Remove conditional code.
22898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22899 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22900 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22901 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22902 Remove conditional code.
22903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22904 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22905 Remove conditional code.
22906 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22907 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22908 Remove conditional code.
22909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22910 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22911 Remove conditional code.
22912 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22913 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22914 Remove conditional code.
22915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22916 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22917 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22918 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22919 * sysdeps/unix/sysv/linux/sigaction.c
22920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22922 * sysdeps/unix/sysv/linux/sigpending.c
22923 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22924 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22925 * sysdeps/unix/sysv/linux/sigprocmask.c
22926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22928 * sysdeps/unix/sysv/linux/sigsuspend.c
22929 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22930 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22931 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22932 (__libc_missing_rt_sigs): Remove.
22933 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22934 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22935 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22936 Remove conditional code.
22937 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22938 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22941 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22942 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22943 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22945 2012-05-14 Andreas Jaeger <aj@suse.de>
22947 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22948 it's not used in glibc.
22949 (__coshm1): Likewise.
22950 (__acosh1p): Likewise.
22953 * manual/string.texi (Copying and Concatenation): Add missing
22954 variable in concat example.
22955 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22960 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22961 __builtin_clzl with __builtin_clzll.
22963 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22966 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22969 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22971 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22972 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22973 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22974 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22976 2012-05-14 Mike Frysinger <vapier@gentoo.org>
22978 * NEWS: Update ia64 info.
22980 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22982 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22985 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22987 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22988 * sysdeps/unix/syscalls.list (dup3): Likewise.
22989 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22990 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22992 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22994 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22995 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22997 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22999 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23001 (TLS_IE): Use mov/add instead of movq/addq to load thread
23003 (TLS_GD_PREFIX): New.
23006 2012-05-11 David S. Miller <davem@davemloft.net>
23008 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23009 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23010 (_FPU_SETCW): Likewise.
23012 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23014 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23015 is 32-byte aligned.
23017 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23020 * iconvdata/gb18030.c: Update tables.
23021 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23022 characters specially.
23023 (BODY for TO_LOOP): Add encoding of missing ranges.
23025 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23028 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23029 * sysdeps/mach/hurd/dup3.c: Likewise.
23030 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23031 * sysdeps/powerpc/memmove.c:: Likewise.
23033 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23036 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23038 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23040 * elf/elf.h (R_X86_64_RELATIVE64): New.
23041 (R_X86_64_NUM): Updated.
23042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23043 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23044 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23045 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23046 tst-quad1pie tst-quad2pie
23047 (modules-names): Add tst-quadmod1 tst-quadmod2.
23048 ($(objpfx)tst-quad1): New dependency.
23049 ($(objpfx)tst-quad2): Likewise.
23050 ($(objpfx)tst-quad1pie): Likewise.
23051 ($(objpfx)tst-quad2pie): Likewise.
23052 * sysdeps/x86_64/tst-quad1.c: New file.
23053 * sysdeps/x86_64/tst-quad1pie.c: New file.
23054 * sysdeps/x86_64/tst-quad2.c: Likewise.
23055 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23056 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23057 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23058 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23059 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23063 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23064 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23065 * streams/stropts.h (t_scalar_t): Define type.
23067 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23068 (_PATH_PRESERVE): Set to "/var/lib".
23069 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23071 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23074 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23075 if __dir_mkfile succeeded.
23077 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23078 checking for _hurd_dtablesize. Unlock it right after having
23079 finished _hurd_dtable allocation.
23081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23083 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23084 * sysdeps/mach/hurd/configure: Regenerated.
23085 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23086 special-casing to...
23087 * sysdeps/gnu/configure.in: ... this new file.
23088 * sysdeps/unix/sysv/linux/configure: Regenerated.
23089 * sysdeps/gnu/configure: New generated file.
23091 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23092 for Linux: use nsec instead of usec, as well as:
23093 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23094 members of type struct timespec.
23095 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23097 (struct stat64): Likewise.
23098 (_STATBUF_ST_NSEC): New macro.
23099 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23102 __strtoul_internal rather than strtoul.
23104 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23106 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23109 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23111 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23112 which preserves existing values.
23113 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23115 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23117 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23118 TIMEOUT values. Return EINVAL for NFDS values either negative or
23119 greater than FD_SETSIZE.
23121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23123 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23124 allocated, call __vm_protect to finish enabling the existing space, and
23125 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23126 allocate the remainder.
23128 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23130 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23131 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23133 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23135 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23136 sysdeps/mach/hurd/readlink.c.
23138 * posix/tst-sysconf.c (posix_options): Only use
23139 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23140 _POSIX_SYNCHRONIZED_IO when they are defined
23141 * sysdeps/mach/hurd/bits/posix_opt.h:
23142 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23143 (_XOPEN_REALTIME): Undefine macro.
23144 (_XOPEN_REALTIME_THREADS): Undefine macro.
23145 (_XOPEN_SHM): Undefine macro.
23146 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23148 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23150 (_POSIX_ASYNC_IO): Undefine macro.
23151 (_POSIX_PRIORITIZED_IO): Undefine macro.
23152 (_POSIX_SPIN_LOCKS): Define macro to -1.
23154 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23155 SA_NODEFER, SA_RESETHAND.
23156 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23157 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23162 * elf/Makefile (pldd-modules): Define unconditionally.
23164 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23166 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23168 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23170 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23171 Return ENOENT when name is empty.
23172 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23174 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23176 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23178 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23182 Fix mlock in all cases except non-readable pages.
23183 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23184 instead of VM_PROT_ALL as parameter to __vm_wire function.
23186 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23187 (__mkdir): When path is `/', just fail with EEXIST.
23188 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23192 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23193 <sys/uio.h> (for writev).
23194 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23195 and <sys/param.h> (for MIN).
23197 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23199 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23200 REQUESTED_TIME. Properly set the remaining time and return EINTR
23203 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23205 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23206 Depend on against $(link-rpcuserlibs).
23208 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23210 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23211 (__libc_stack_end): Do not use attribute_relro.
23212 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23213 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23214 to libthread-provided value.
23215 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23218 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23221 * bits/libc-lock.h (__libc_once_get): New macro.
23222 * sysdeps/mach/bits/libc-lock.h: Likewise.
23223 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23225 instead of using implementation details.
23227 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23228 * libio/freopen.c: Likewise.
23229 * libio/freopen64.c: Likewise.
23230 * misc/syslog.c: Likewise.
23231 * nscd/connections.c: Likewise.
23232 * nscd/netgroupcache.c: Likewise.
23233 * sysdeps/posix/getcwd.c: Likewise.
23235 2012-05-10 Roland McGrath <roland@hack.frob.com>
23237 * math/w_ilogbf.c: Add #include <limits.h>.
23239 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23241 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23242 path instead of returning without unlocking.
23244 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23245 immediate-write ioctls.
23246 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23248 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23250 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23251 __builtin_frame_address instead of making assumptions about the
23252 location of the return address relative to DATA. Force early load of
23253 the return address.
23254 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23255 __builtin_frame_address.
23258 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23259 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23260 implement dup3 and do some further code clean-ups.
23261 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23262 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23266 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23268 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23269 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23270 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23271 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23272 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23275 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23276 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23277 when handler == SIG_ERR, not when handler != SIG_ERR.
23279 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23281 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23282 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23285 accept4 for GNU Hurd.
23286 * include/sys/socket.h (__libc_accept4): New prototype.
23287 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23288 to implement __libc_accept4.
23289 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23291 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23293 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23294 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23295 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23296 signal-defines.sym.
23298 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23300 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23304 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23305 assertion on O_CLOEXEC flag.
23306 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23307 * hurd/intern-fd.c: Likewise.
23308 * hurd/port2fd.c: Likewise.
23310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23313 * bits/in.h (IPV6_PKTINFO): Define new macro.
23314 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23316 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23321 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23322 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23323 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23324 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23326 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23327 * math/libm-test.inc (logb_test) : Additional logb tests.
23329 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23330 Andreas Jaeger <aj@suse.de>
23332 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23333 * configure: Regenerated.
23334 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23335 * config.make.in (link-obsolete-rpc): New substituted variable.
23336 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23337 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23338 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23339 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23340 so that libc.a contains the symbols.
23341 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23342 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23343 * sunrpc/auth_none.c: Likewise.
23344 * sunrpc/auth_unix.c: Likewise.
23345 * sunrpc/authdes_prot.c: Likewise.
23346 * sunrpc/authuxprot.c: Likewise.
23347 * sunrpc/clnt_gen.c: Likewise.
23348 * sunrpc/clnt_perr.c: Likewise.
23349 * sunrpc/clnt_raw.c: Likewise.
23350 * sunrpc/clnt_simp.c: Likewise.
23351 * sunrpc/clnt_tcp.c: Likewise.
23352 * sunrpc/clnt_udp.c: Likewise.
23353 * sunrpc/clnt_unix.c: Likewise.
23354 * sunrpc/des_crypt.c: Likewise.
23355 * sunrpc/des_soft.c: Likewise.
23356 * sunrpc/get_myaddr.c: Likewise.
23357 * sunrpc/key_call.c: Likewise.
23358 * sunrpc/key_prot.c: Likewise.
23359 * sunrpc/netname.c: Likewise.
23360 * sunrpc/pm_getmaps.c: Likewise.
23361 * sunrpc/pm_getport.c: Likewise.
23362 * sunrpc/pmap_clnt.c: Likewise.
23363 * sunrpc/pmap_prot.c: Likewise.
23364 * sunrpc/pmap_prot2.c: Likewise.
23365 * sunrpc/pmap_rmt.c: Likewise.
23366 * sunrpc/publickey.c: Likewise.
23367 * sunrpc/rpc_cmsg.c: Likewise.
23368 * sunrpc/rpc_common.c: Likewise.
23369 * sunrpc/rpc_dtable.c: Likewise.
23370 * sunrpc/rpc_prot.c: Likewise.
23371 * sunrpc/rpc_thread.c: Likewise.
23372 * sunrpc/rtime.c: Likewise.
23373 * sunrpc/svc.c: Likewise.
23374 * sunrpc/svc_auth.c: Likewise.
23375 * sunrpc/svc_raw.c: Likewise.
23376 * sunrpc/svc_run.c: Likewise.
23377 * sunrpc/svc_tcp.c: Likewise.
23378 * sunrpc/svc_udp.c: Likewise.
23379 * sunrpc/svc_unix.c: Likewise.
23380 * sunrpc/svcauth_des.c: Likewise.
23381 * sunrpc/xcrypt.c: Likewise.
23382 * sunrpc/xdr.c: Likewise.
23383 * sunrpc/xdr_array.c: Likewise.
23384 * sunrpc/xdr_float.c: Likewise.
23385 * sunrpc/xdr_intXX_t.c: Likewise.
23386 * sunrpc/xdr_mem.c: Likewise.
23387 * sunrpc/xdr_rec.c: Likewise.
23388 * sunrpc/xdr_ref.c: Likewise.
23389 * sunrpc/xdr_sizeof.c: Likewise.
23390 * sunrpc/xdr_stdio.c: Likewise.
23392 2012-05-10 Roland McGrath <roland@hack.frob.com>
23394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23395 change. Update copyright years.
23397 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23399 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23401 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23402 Joseph Myers <joseph@codesourcery.com>
23403 Paul Pluzhnikov <ppluzhnikov@google.com>
23406 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23408 [cross-compiling] (extra-libs): Likewise.
23409 [cross-compiling] (extra-libs-others): Likewise.
23410 [cross-compiling] (librpcsvc-routines): Likewise.
23411 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23412 [cross-compiling] (omit-deps): Likewise.
23413 (sunrpc-CPPFLAGS): New variable.
23414 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23415 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23416 (cross-rpcgen-objs): New variable.
23417 (extra-objs): Append $(cross-rpcgen-objs).
23418 ($(cross-rpcgen-objs)): New rule.
23419 ($(objpfx)cross-rpcgen): Likewise.
23420 (rpcgen-cmd): Define to use $(built-program-file). Expand
23422 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23423 ($(objpfx)x%.stmp): Likewise.
23424 * sunrpc/proto.h [IS_IN_build] (_): Define.
23425 [IS_IN_build] (_libc_intl_domainname): Likewise.
23427 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23430 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23431 and R_X86_64_TPOFF64.
23433 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23435 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23436 sysdeps/unix/sysv/syscalls.list.
23439 * sysdeps/unix/sysv/syscalls.list: Remove file.
23441 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23444 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23445 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23446 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23447 (__LC_IDENTIFICATION): Make these macros useful in #if
23448 expressions, as required by C99.
23450 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23452 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23453 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23456 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23458 * stdlib/longlong.h: Updated from GCC.
23460 2012-05-09 Andreas Jaeger <aj@suse.de>
23462 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23463 default is first entry.
23464 (run_mode): Set type.
23465 (main): Remove informal message about syslog.
23466 (options): Fix typo.
23469 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23472 (llrintf): Likewise.
23473 (llrint): Likewise.
23476 (nearbyint): Likewise.
23477 (nearbyintf): Likewise.
23479 2012-05-09 Andreas Jaeger <aj@suse.de>
23480 Pedro Alves <palves@redhat.com>
23482 * nscd/nscd.c (run_mode): Use enum.
23483 (main): Cleanup coding style issue.
23485 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23486 Andreas Jaeger <aj@suse.de>
23488 * nscd/nscd.c (go_background): Replaced with...
23489 (run_mode): ... this.
23490 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23491 (options): Add -F --foreground.
23492 (main): Implement it.
23493 (parse_opt): Parse it.
23495 2012-05-09 Andreas Jaeger <aj@suse.de>
23498 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23499 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23500 -Wconversion warning.
23501 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23504 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23506 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23508 (LC_ALL): Use macro-int-constant.
23509 (LC_COLLATE): Likewise.
23510 (LC_CTYPE): Likewise.
23511 (LC_MESSAGES): Likewise.
23512 (LC_MONETARY): Likewise.
23513 (LC_NUMERIC): Likewise.
23514 (LC_TIME): Likewise.
23515 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23516 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23518 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23520 [C99-based standards] (float_t): Expect type.
23521 [C99-based standards] (double_t): Expect type.
23522 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23524 [C99-based standards] (HUGE_VALL): Likewise.
23525 [C99-based standards] (INFINITY): Likewise.
23526 [C99-based standards] (NAN): Likewise.
23527 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23528 [C99-based standards] (FP_NAN): Likewise.
23529 [C99-based standards] (FP_NORMAL): Likewise.
23530 [C99-based standards] (FP_SUBNORMAL): Likewise.
23531 [C99-based standards] (FP_ZERO): Likewise.
23532 [C99-based standards] (FP_FAST_FMA): Use
23533 optional-macro-int-constant. Specify type. Require == 1.
23534 [C99-based standards] (FP_FAST_FMAF): Likewise.
23535 [C99-based standards] (FP_FAST_FMAL): Likewise.
23536 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23537 [C99-based standards] (FP_ILOGBNAN): Likewise.
23538 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23540 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23541 [C99-based standards] (math_errhandling): Specify type.
23542 [ISO99 || ISO11] (signgam): Do not allow.
23543 [non-C99-based standards] (copysignf): Do not allow.
23544 [non-C99-based standards] (exp2f): Likewise.
23545 [non-C99-based standards] (log2f): Likewise.
23546 [non-C99-based standards] (modff): Allow.
23547 [non-C99-based standards] (erff): Do not allow.
23548 [non-C99-based standards] (erfcf): Likewise.
23549 [non-C99-based standards] (gammaf): Likewise.
23550 [non-C99-based standards] (hypotf): Likewise.
23551 [non-C99-based standards] (j0f): Likewise.
23552 [non-C99-based standards] (j1f): Likewise.
23553 [non-C99-based standards] (jnf): Likewise.
23554 [non-C99-based standards] (lgammaf): Likewise.
23555 [non-C99-based standards] (tgammaf): Likewise.
23556 [non-C99-based standards] (y0f): Likewise.
23557 [non-C99-based standards] (y1f): Likewise.
23558 [non-C99-based standards] (ynf): Likewise.
23559 [non-C99-based standards] (isnanf): Likewise.
23560 [non-C99-based standards] (acoshf): Likewise.
23561 [non-C99-based standards] (asinhf): Likewise.
23562 [non-C99-based standards] (atanhf): Likewise.
23563 [non-C99-based standards] (cbrtf): Likewise.
23564 [non-C99-based standards] (expm1f): Likewise.
23565 [non-C99-based standards] (ilogbf): Likewise.
23566 [non-C99-based standards] (log1pf): Likewise.
23567 [non-C99-based standards] (logbf): Likewise.
23568 [non-C99-based standards] (nextafterf): Likewise.
23569 [non-C99-based standards] (remainderf): Likewise.
23570 [non-C99-based standards] (rintf): Likewise.
23571 [non-C99-based standards] (scalbf): Likewise.
23572 [non-C99-based standards] (copysignl): Likewise.
23573 [non-C99-based standards] (exp2l): Likewise.
23574 [non-C99-based standards] (log2l): Likewise.
23575 [non-C99-based standards] (modfl): Allow.
23576 [non-C99-based standards] (erfl): Do not allow.
23577 [non-C99-based standards] (erfcl): Likewise.
23578 [non-C99-based standards] (gammal): Likewise.
23579 [non-C99-based standards] (hypotl): Likewise.
23580 [non-C99-based standards] (j0l): Likewise.
23581 [non-C99-based standards] (j1l): Likewise.
23582 [non-C99-based standards] (jnl): Likewise.
23583 [non-C99-based standards] (lgammal): Likewise.
23584 [non-C99-based standards] (tgammal): Likewise.
23585 [non-C99-based standards] (y0l): Likewise.
23586 [non-C99-based standards] (y1l): Likewise.
23587 [non-C99-based standards] (ynl): Likewise.
23588 [non-C99-based standards] (isnanl): Likewise.
23589 [non-C99-based standards] (acoshl): Likewise.
23590 [non-C99-based standards] (asinhl): Likewise.
23591 [non-C99-based standards] (atanhl): Likewise.
23592 [non-C99-based standards] (cbrtl): Likewise.
23593 [non-C99-based standards] (expm1l): Likewise.
23594 [non-C99-based standards] (ilogbl): Likewise.
23595 [non-C99-based standards] (log1pl): Likewise.
23596 [non-C99-based standards] (logbl): Likewise.
23597 [non-C99-based standards] (nextafterl): Likewise.
23598 [non-C99-based standards] (remainderl): Likewise.
23599 [non-C99-based standards] (rintl): Likewise.
23600 [non-C99-based standards] (scalbl): Likewise.
23601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23602 [non-C99-based standards] (FP_*): Do not allow.
23603 [C99-based standards] (FP_*): Change to
23604 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23605 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23607 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23608 (SIG_ERR): Likewise.
23609 [X/Open-based standards] (SIG_HOLD): Likewise.
23610 (SIG_IGN): Likewise.
23611 (SIGABRT): Use macro-int-constant. Specify type. Require
23613 (SIGFPE): Likewise.
23614 (SIGILL): Likewise.
23615 (SIGINT): Likewise.
23616 (SIGSEGV): Likewise.
23617 (SIGTER): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23619 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23620 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23621 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23622 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23623 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23624 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23627 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23628 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23629 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23630 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23631 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23632 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23634 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23636 [X/Open-based standards] (SIGTRAP): Likewise.
23637 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23638 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23639 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23641 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23644 2012-05-08 Ian Wienand <ianw@vmware.com>
23647 * time/tzset.c (__tzset_parse_tz): Update default rules for
23648 daylight time changes in the Energy Policy Act of 2005.
23650 2012-05-09 Andreas Jaeger <aj@suse.de>
23653 * elf/ldconfig.c (parse_conf): Change string to make clear that
23654 ldconfig only issued a warning if ld.so.conf does not exist.
23656 2012-05-08 David S. Miller <davem@davemloft.net>
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23659 movxtod instead of popping the value on the stack.
23661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23663 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23665 * config.h.in: Add HAVE_ARM_PCS_VFP.
23667 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
23670 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23671 checking but the checks are disabled for any reason.
23673 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23675 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23676 and ELF64_R_TYPE with ELFW(R_TYPE).
23678 2012-05-08 Joseph Myers <joseph@codesourcery.com>
23680 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23681 (ulimit): Likewise.
23683 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23684 (settimeofday): Likewise.
23686 2012-05-08 Mike Frysinger <vapier@gentoo.org>
23688 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23689 a struct th_u2 inside the union, and move tu_block/tu_code into
23690 a new th_u3 union of tu_block/tu_code inside of that. Move
23691 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23692 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23693 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23694 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23695 (th_stuff): Change to th_u1.tu_stuff.
23697 (th_msg): Change to th_u1.th_u2.tu_data.
23699 2012-05-07 David S. Miller <davem@davemloft.net>
23701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23704 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23705 (SETUP_PIC_REG): Use it.
23706 (SETUP_PIC_REG_LEAF): Use it.
23708 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23714 (EXPL_FINITE): Likewise.
23715 (FLDLOG): Likewise.
23716 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23717 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23721 (EXPL_FINITE): Likewise.
23722 (FLDLOG): Likewise.
23723 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23724 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23726 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23727 test of -max_value argument for long double.
23728 * sysdeps/i386/fpu/libm-test-ulps: Update.
23729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23731 2012-05-06 David S. Miller <davem@davemloft.net>
23733 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23734 quad soft-float symbols whose references which are compiler
23736 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23738 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23744 (EXPL_FINITE): Likewise.
23745 (FLDLOG): Likewise.
23748 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23749 Adjust comments for base varying.
23750 (__expl_finite): Change alias to EXPL_FINITE.
23751 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23753 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23754 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23756 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23757 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23759 (EXPL_FINITE): Likewise.
23760 (FLDLOG): Likewise.
23763 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23764 Adjust comments for base varying.
23765 (__expl_finite): Change alias to EXPL_FINITE.
23766 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23771 * math/libm-test.inc (check_float_internal): Correct ulp
23772 calculation for subnormal expected results.
23774 2012-05-06 Andreas Jaeger <aj@suse.de>
23776 * Makeconfig (+math-flags): New, set to -frounding-math.
23777 (+cflags): Add +math-flags so that all of glibc gets compiled with
23780 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23782 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23784 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23790 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23791 (__ieee754_expl): Allow for and saturate large arguments.
23792 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23793 (u_threshold): Likewise.
23794 (__exp): Call __ieee754_exp before checking for overflow and
23796 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23797 (u_threshold): Likewise.
23798 (__expf): Call __ieee754_expf before checking for overflow and
23800 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23801 (u_threshold): Likewise.
23802 (__expl): Call __ieee754_expl before checking for overflow and
23804 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23805 (__ieee754_expl): Allow for and saturate large arguments.
23806 * math/libm-test.inc (exp_test): Add another test. Do not allow
23807 missing overflow exception on overflow.
23808 (expm1_test): Do not allow missing overflow exception on overflow.
23810 * sysdeps/i386/fpu/e_expl.c: Move to ...
23811 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23812 rather than using inline asm.
23813 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23814 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23815 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23817 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23820 (signal): Likewise.
23824 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23826 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23827 sysdeps/unix/common/syscalls.list.
23828 (fchmod): Likewise.
23829 (fchown): Likewise.
23830 (ftruncate): Likewise.
23831 (getrusage): Likewise.
23832 (gettimeofday): Likewise.
23833 (setpgid): Likewise.
23834 (setregid): Likewise.
23835 (setreuid): Likewise.
23836 (sigaction): Likewise.
23837 (truncate): Likewise.
23838 (vhangup): Likewise.
23839 * sysdeps/unix/common/syscalls.list: Remove file.
23840 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23841 * sysdeps/unix/sysv/linux/Implies: Likewise.
23843 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23845 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23847 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23851 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23854 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23857 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23860 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23863 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23866 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23869 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23873 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23877 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23880 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23884 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23888 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23890 * sysdeps/unix/common/bits/dirent.h: Remove file.
23891 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23893 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23894 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23895 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23896 * sysdeps/unix/bsd/isatty.c: Likewise.
23897 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23898 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23899 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23901 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23904 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23905 long double comparison inaccuracies.
23906 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23909 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23911 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23914 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23917 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23918 nonzero digits before rounding a hex value.
23919 * stdlib/tst-strtod.c (tests): Add another test.
23921 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23923 * sysdeps/s390/fpu/libm-test-ulps: Update.
23925 2012-05-03 Andreas Jaeger <aj@suse.de>
23927 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23928 does not get optimized out.
23929 (malloc_opt_barrier): New.
23931 2012-05-03 Andreas Jaeger <aj@suse.de>
23932 Roland McGrath <roland@hack.frob.com>
23934 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23935 intermediate file deletion.
23936 (generated): Add .symlist files.
23938 2012-05-03 Joseph Myers <joseph@codesourcery.com>
23941 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23942 Redirect under this condition.
23943 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23944 [__USE_GNU] (__dprintf_chk): Not under this condition.
23945 [__USE_GNU] (__vdprintf_chk): Likewise.
23946 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23947 under this condition.
23948 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23949 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23950 [__USE_XOPEN2K8] (vdprintf): Likewise.
23951 [__USE_GNU] (__dprintf_chk): Not under this condition.
23952 [__USE_GNU] (__vdprintf_chk): Likewise.
23953 [__USE_GNU] (dprintf): Likewise.
23954 [__USE_GNU] (vdprintf): Likewise.
23956 2012-05-03 Roland McGrath <roland@hack.frob.com>
23958 * elf/Makefile (common-generated): Set this instead of generated for
23959 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23960 $(all-built-dso)-derived lists.
23962 2012-05-03 Andreas Jaeger <aj@suse.de>
23964 * sysdeps/i386/fpu/libm-test-ulps: Update.
23967 * FAQ.in: Likewise.
23968 * scripts/gen-FAQ.pl: Likewise.
23969 * manual/install.texi (Installation): Point to online location of
23971 * Makefile (files-for-dist): Remove FAQ.
23974 2012-05-02 Allan McRae <allan@archlinux.org>
23976 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23977 (LDFLAGS-reldepmod5.so): Likewise.
23978 (LDFLAGS-reldep6mod1.so): Likewise.
23979 (LDFLAGS-reldep6mod4.so): Likewise.
23980 (LDFLAGS-reldep8mod3.so): Likewise.
23981 (LDFLAGS-unload4mod1.so): Likewise.
23982 (LDFLAGS-unload4mod2.so): Likewise.
23983 (LDFLAGS-tst-initorder): Likewise.
23984 (LDFLAGS-tst-initordera2.so): Likewise.
23985 (LDFLAGS-tst-initordera3.so): Likewise.
23986 (LDFLAGS-tst-initordera4.so): Likewise.
23987 (LDFLAGS-tst-initorderb2.so): Likewise.
23988 (LDFLAGS-noload): Likewise.
23989 (LDFLAGS-next): Likewise.
23990 (LDFLAGS-order2mod1.so): Likewise.
23991 (LDFLAGS-order2mod2.so): Likewise.
23992 (LDFLAGS-tst-initorder2): Likewise.
23993 (LDFLAGS-tst-initorder2a.so): Likewise.
23994 (LDFLAGS-tst-initorder2b.so): Likewise.
23995 (LDFLAGS-tst-initorder2c.so): Likewise.
23996 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23998 2012-05-02 David S. Miller <davem@davemloft.net>
24000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24002 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24005 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24007 2012-05-02 Andreas Jaeger <aj@suse.de>
24009 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24010 since we manipulate rounding mode.
24011 (CPPFLAGS-test-idouble.c): Likewise.
24012 (CPPFLAGS-test-ifloat.c): Likewise.
24013 (CFLAGS-test-ldouble.c): Likewise.
24014 (CFLAGS-test-double.c): Likewise.
24015 (CFLAGS-test-float.c): Likewise.
24016 (CFLAGS-test-misc.c): Likewise.
24017 (CFLAGS-test-test-fenv.c): Likewise.
24019 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24023 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24024 comparisons to determine direction to adjust input.
24026 2012-05-01 Roland McGrath <roland@hack.frob.com>
24028 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24029 output to the target.
24031 * scripts/localplt.awk: New file.
24032 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24033 (check-localplt-CFLAGS): Variable removed.
24034 ($(all-built-dso:=.jmprel)): New static pattern rule.
24035 (generated): Add those targets.
24036 (localplt-built-dso): New variable.
24037 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24039 * elf/check-localplt.c: File removed.
24041 * scripts/check-execstack.awk: New file.
24042 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24043 (check-execstack-CFLAGS): Variable removed.
24044 ($(objpfx)check-execstack.h): Target removed.
24045 ($(objpfx)execstack-default): New target.
24046 (generated): Add that instead of check-execstack.h.
24047 ($(all-built-dso:=.phdr)): New static pattern rule.
24048 (generated): Add those targets.
24049 * elf/check-execstack.c: File removed.
24051 * scripts/check-textrel.awk: New file.
24052 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24053 (check-textrel-CFLAGS): Variable removed.
24054 (all-built-dso): Use := to define.o
24055 ($(all-built-dso:=.dyn)): New static pattern rule.
24056 (generated): Add those targets.
24057 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24058 * config.make.in (READELF): New substituted variable.
24059 * elf/check-textrel.c: File removed.
24061 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24063 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24065 * conform/data/ctype.h-data [C99-based standards] (isblank):
24067 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24068 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24069 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24070 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24071 Specify type. Require positive value.
24072 (EILSEQ): Likewise.
24073 (ERANGE): Likewise.
24074 [ISO || POSIX] (EILSEQ): Do not expect.
24075 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24076 Specify type. Require positive value.
24077 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24078 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24079 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24080 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24081 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24082 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24083 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24084 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24085 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24086 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24087 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24088 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24089 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24090 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24091 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24092 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24093 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24094 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24095 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24096 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24097 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24098 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24099 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24100 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24101 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24102 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24103 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24104 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24105 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24106 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24107 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24108 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24109 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24110 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24111 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24112 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24113 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24117 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24118 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24119 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24120 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24122 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24123 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24124 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24125 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24126 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24127 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24128 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24131 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24132 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24135 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24137 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24138 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24140 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24141 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24147 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24151 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24152 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24153 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24155 (FLT_ROUNDS): Expect as macro, not constant.
24156 (FLT_MANT_DIG): Use macro-int-constant.
24157 (DBL_MANT_DIG): Likewise.
24158 (LDBL_MANT_DIG): Likewise.
24159 (FLT_DIG): Likewise.
24160 (DBL_DIG): Likewise.
24161 (LDBL_DIG): Likewise.
24162 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24163 (DBL_MIN_EXP): Likewise.
24164 (LDBL_MIN_EXP): Likewise.
24165 (FLT_MAX_EXP): Use macro-int-constant.
24166 (DBL_MAX_EXP): Likewise.
24167 (LDBL_MAX_EXP): Likewise.
24168 (FLT_MAX_10_EXP): Likewise.
24169 (DBL_MAX_10_EXP): Likewise.
24170 (LDBL_MAX_10_EXP): Likewise.
24171 (FLT_MAX): Use macro-constant.
24172 (DBL_MAX): Likewise.
24173 (LDBL_MAX): Likewise.
24174 (FLT_EPSILON): Use macro-constant. Give upper bound.
24175 (DBL_EPSILON): Likewise.
24176 (LDBL_EPSILON): Likewise.
24177 (FLT_MIN): Likewise.
24178 (DBL_MIN): Likewise.
24179 (LDBL_MIN): Likewise.
24180 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24181 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24182 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24183 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24184 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24185 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24186 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24187 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24188 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24189 [ISO11] (FLT_TRUE_MIN): Likewise.
24190 [ISO11] (LDBL_TRUE_MIN): Likewise.
24191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24192 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24193 (SCHAR_MIN): Use macro-int-constant. Specify type.
24194 (SCHAR_MAX): Likewise.
24195 (UCHAR_MAX): Likewise.
24196 (CHAR_MIN): Likewise.
24197 (CHAR_MAX): Likewise.
24198 (MB_LEN_MAX): Use macro-int-constant.
24199 (SHRT_MIN): Use macro-int-constant. Specify type.
24200 (SHRT_MAX): Likewise.
24201 (USHRT_MAX): Likewise.
24202 (INT_MAX): Likewise.
24203 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24205 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24207 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24209 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24210 bound negative. Suffix upper bound with "L".
24211 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24213 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24215 [C99-based standards] (LLONG_MAX): Likewise.
24216 [C99-based standards] (ULLONG_MAX): Likewise.
24217 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24219 [ISO11] (max_align_t): Require type.
24220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24222 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24223 from $CFLAGS, without defining away __attribute__ calls.
24224 (checknamespace): Use $CFLAGS_namespace.
24226 * conform/conformtest.pl (@keywords): Only include C99 keywords
24227 for standards based on C99 or C11.
24229 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24231 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24234 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24235 usability of symbols in #if.
24237 * conform/conformtest.pl: If macro or constant types start
24238 "promoted:", expect the symbol to be of the following type
24239 promoted by the integer promotions.
24241 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24242 in one place. Also handle "macro-constant".
24244 * conform/conformtest.pl: Only accept expected macro values with
24245 "==". Parse all "macro" lines in one place.
24246 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24248 * conform/conformtest.pl: Handle braced types on "constant" lines
24249 instead of handling "typed-constant".
24250 * conform/data/signal.h-data: Use "constant" instead of
24253 * conform/conformtest.pl: Handle "optional-" at start of lines in
24254 one place rather than duplicating several cases. Handle each
24255 format of "macro" line with initial "optional-".
24257 * conform/conformtest.pl: Only accept expected constant or
24258 optional-constant values with "==". Parse all "constant" lines in
24259 one place. Parse all "optional-constant" lines in one place.
24260 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24261 * conform/data/fmtmsg.h-data: Likewise.
24262 * conform/data/netinet/in.h-data: Likewise.
24263 * conform/data/tar.h-data: Likewise.
24264 * conform/data/limits.h-data: Use "==" form on "constant" and
24265 "optional-constant" lines.
24267 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24268 Use -std=c99 for XOPEN2K.
24269 (@knownproblems): Remove.
24270 (newtoken): Don't check %isknown.
24272 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24273 Do not expect macro.
24274 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24275 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24276 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24277 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24278 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24279 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24280 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24281 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24282 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24283 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24284 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24285 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24286 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24287 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24288 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24289 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24290 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24291 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24292 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24293 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24294 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24295 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24296 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24297 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24298 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24299 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24300 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24301 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24302 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24303 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24304 [XPG3] (acosh): Likewise.
24305 [XPG3] (asinh): Likewise.
24306 [XPG3] (atanh): Likewise.
24307 [XPG3] (cbrt): Likewise.
24308 [XPG3] (expm1): Likewise.
24309 [XPG3] (ilogb): Likewise.
24310 [XPG3] (log1p): Likewise.
24311 [XPG3] (logb): Likewise.
24312 [XPG3] (nextafter): Likewise.
24313 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24314 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24315 [XPG3] (remainder): Likewise.
24316 [XPG3] (rint): Likewise.
24317 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24318 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24319 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24320 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24321 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24322 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24323 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24324 [UNIX98 || XOPEN2K] (scalb): Expect.
24325 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24326 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24327 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24328 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24329 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24330 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24331 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24332 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24333 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24334 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24335 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24336 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24337 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24338 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24339 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24340 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24341 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24342 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24343 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24344 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24345 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24346 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24347 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24348 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24349 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24350 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24351 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24352 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24353 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24354 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24355 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24356 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24357 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24358 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24359 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24360 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24361 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24362 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24363 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24364 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24365 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24366 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24367 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24368 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24369 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24370 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24371 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24372 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24373 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24374 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24375 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24376 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24377 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24378 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24379 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24380 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24381 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24382 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24383 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24384 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24385 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24386 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24387 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24388 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24389 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24390 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24391 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24392 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24393 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24394 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24395 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24396 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24397 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24398 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24399 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24400 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24401 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24402 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24403 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24404 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24405 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24406 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24407 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24408 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24409 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24410 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24411 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24412 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24413 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24414 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24415 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24416 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24417 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24418 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24419 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24420 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24421 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24422 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24423 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24424 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24425 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24426 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24427 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24428 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24429 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24430 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24431 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24432 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24433 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24434 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24435 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24436 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24437 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24438 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24439 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24440 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24441 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24442 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24443 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24444 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24445 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24446 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24447 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24448 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24449 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24450 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24451 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24452 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24453 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24454 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24455 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24456 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24457 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24458 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24459 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24460 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24461 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24463 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24464 _XOPEN_SOURCE_EXTENDED for XPG4.
24466 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24468 * Makeconfig (localtime): Remove variable.
24469 (inst_localtime-file): Likewise.
24471 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24492 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24496 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24497 comparisons to determine direction to adjust input.
24498 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24499 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24500 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24502 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24504 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24506 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24507 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24509 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24511 * math/libm-test.inc (nexttoward_test): Add more tests.
24513 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24516 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24517 in version GLIBC_2.1, not GLIBC_2.0.
24518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24521 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24524 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24526 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24527 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24528 * math/libm-test.inc (acos_test): Add more tests.
24529 (asin_test): Likewise.
24530 * sysdeps/i386/fpu/libm-test-ulps: Update.
24531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24534 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24536 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24537 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24538 * math/libm-test.inc (acos_test_tonearest): New function.
24539 (acos_test_towardzero): Likewise.
24540 (acos_test_downward): Likewise.
24541 (acos_test_upward): Likewise.
24542 (asin_test_tonearest): Likewise.
24543 (asin_test_towardzero): Likewise.
24544 (asin_test_downward): Likewise.
24545 (asin_test_upward): Likewise.
24546 (main): Call the new functions.
24547 * sysdeps/i386/fpu/libm-test-ulps: Update.
24548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24552 * math/e_exp10.c: Include <float.h>.
24553 (__ieee754_exp10): Handle underflow here rather than multiplying
24554 large negative argument by M_LN10.
24555 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24557 * math/e_exp10l.c: Include <float.h>.
24558 (__ieee754_exp10l): Handle underflow here rather than multiplying
24559 large negative argument by M_LN10l.
24560 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24561 spurious overflow exception on underflow.
24563 2012-04-29 Marek Polacek <polacek@redhat.com>
24565 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24566 (__fortify_function): New macro.
24567 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24568 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24569 __extern_always_inline.
24570 * libio/bits/stdio2.h: Likewise.
24571 * libio/bits/stdio.h: Likewise.
24572 * string/string.h: Likewise.
24573 * string/bits/string3.h: Likewise.
24574 * include/stdio.h: Likewise.
24575 * stdlib/bits/stdlib.h: Likewise.
24576 * stdlib/stdlib.h: Likewise.
24577 * rt/bits/mqueue2.h: Likewise.
24578 * rt/mqueue.h: Likewise.
24579 * posix/bits/unistd.h: Likewise.
24580 * posix/unistd.h: Likewise.
24581 * io/bits/poll2.h: Likewise.
24582 * io/bits/fcntl2.h: Likewise.
24583 * io/fcntl.h: Likewise.
24584 * io/sys/poll.h: Likewise.
24585 * misc/bits/syslog.h: Likewise.
24586 * misc/bits/syslog-ldbl.h: Likewise.
24587 * misc/sys/syslog.h: Likewise.
24588 * socket/bits/socket2.h: Likewise.
24589 * socket/sys/socket.h: Likewise.
24590 * debug/tst-chk1.c: Likewise.
24591 * wcsmbs/bits/wchar2.h: Likewise.
24592 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24593 * wcsmbs/wchar.h: Likewise.
24595 2012-04-29 Andreas Jaeger <aj@suse.de>
24597 * Makerules (tests): Remove enable-check-abi protection.
24598 (check-abi-warn): Remove.
24599 (check-abi-%): Remove check-abi-warn usage.
24601 * configure.in: Remove check-abi configure option.
24602 * configure: Regenerated.
24603 * config.make.in (enable-check-abi): Remove.
24605 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24608 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24609 double functions to double *_finite functions.
24612 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24613 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24615 * stdio-common/Makefile (tests): Add tst-sprintf3.
24616 * stdio-common/tst-sprintf3.c: New file.
24618 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24619 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24621 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24623 * conform/conformtest.pl: Remove duplicate typed-constant
24626 2012-04-28 David S. Miller <davem@davemloft.net>
24628 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24629 (check-abi-%): Remove AWK script prerequisite and explicit
24631 (check-abi): Rewrite to just diff the symlist with the abilist.
24632 (config-tls, config-abi-config): Delete, no longer used.
24633 (update-abi-%): Remove AWK script and explicit abilist directory.
24634 (update-abi): Rewrite to simply compare and conditionally copy the
24635 symlist and the sysdep abilist file. Remove update-abi-config
24637 * abilist/ld.abilist: Remove.
24638 * abilist/libBrokenLocale.abilist: Remove.
24639 * abilist/libanl.abilist: Remove.
24640 * abilist/libcrypt.abilist: Remove.
24641 * abilist/libdl.abilist: Remove.
24642 * abilist/librt.abilist: Remove.
24643 * abilist/libthread_db.abilist: Remove.
24644 * abilist/libutil.abilist: Remove.
24645 * scripts/extract-abilist.awk: Remove.
24646 * scripts/merge-abilist.awk: Remove.
24647 * sysdeps/generic/libcidn.abilist: New file.
24648 * sysdeps/generic/libnss_compat.abilist: New file.
24649 * sysdeps/generic/libnss_db.abilist: New file.
24650 * sysdeps/generic/libnss_dns.abilist: New file.
24651 * sysdeps/generic/libnss_files.abilist: New file.
24652 * sysdeps/generic/libnss_hesiod.abilist: New file.
24653 * sysdeps/generic/libnss_nis.abilist: New file.
24654 * sysdeps/generic/libnss_nisplus.abilist: New file.
24655 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24656 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24657 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24659 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24660 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24661 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24662 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24663 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24664 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24665 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24666 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24667 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24669 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24670 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24671 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24672 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24674 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24675 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24676 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24677 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24678 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24679 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24681 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24682 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24685 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24789 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24790 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24792 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24793 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24794 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24795 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24796 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24797 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24798 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24799 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24800 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24801 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24853 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24855 * conform/conformtest.pl: Fix typo in handling typed-constant from
24858 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24860 * README: Cut down references to pre-2.6 Linux kernels and
24861 Linuxthreads. Update lists of configurations in libc and ports
24862 and sort alphabetically. Say "or newer" with Linux kernel version
24865 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24867 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24870 * math/libm-test.inc (logb_test_downward): New test to expose
24871 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24874 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24877 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24879 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24880 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24882 2012-04-26 Joseph Myers <joseph@codesourcery.com>
24884 * sysdeps/unix/i386/brk.S: Remove file.
24885 * sysdeps/unix/i386/dl-brk.S: Likewise.
24886 * sysdeps/unix/i386/pipe.S: Likewise.
24887 * sysdeps/unix/i386/sigreturn.S: Likewise.
24888 * sysdeps/unix/i386/syscall.S: Likewise.
24889 * sysdeps/unix/i386/vfork.S: Likewise.
24890 * sysdeps/unix/i386/wait.S: Likewise.
24892 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24893 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24895 * configure.in (arm*-none*): Do not allow without
24896 --enable-hacker-mode.
24897 (netbsd*): Remove case setting base_os.
24898 (386bsd*): Likewise.
24899 (freebsd*): Likewise.
24902 (sunos*): Likewise.
24903 (ultrix*): Likewise.
24904 (newsos*): Likewise.
24905 (dynix*): Likewise.
24911 (minix*): Likewise.
24912 (irix4*): Likewise.
24913 (irix6*): Likewise.
24914 (solaris[2-9]*): Likewise.
24916 * configure: Regenerated.
24918 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24921 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24922 overflow or cancellation in calculating denominator.
24923 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24924 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24925 down expression to avoid unexpected rounding in newer GCCs.
24926 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24928 2012-04-26 David S. Miller <davem@davemloft.net>
24930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24931 long-double compat symbols.
24932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24946 2012-04-25 David S. Miller <davem@davemloft.net>
24948 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24949 HWCAP_* values only after the memory barriers have been defined.
24950 (atomic_full_barrier): Define.
24951 (atomic_read_barrier): Define.
24952 (atomic_write_barrier): Define.
24954 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24956 * shlib-versions: Add libgcc_s version information.
24957 * sysdeps/generic/libgcc_s.h: Remove.
24958 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24960 * sysdeps/gnu/unwind-resume.c: Likewise.
24961 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24963 2012-04-25 David S. Miller <davem@davemloft.net>
24965 * sysdeps/unix/sparc/brk.S: Delete.
24966 * sysdeps/unix/sparc/dl-brk.S: Delete.
24967 * sysdeps/unix/sparc/pipe.S: Delete.
24968 * sysdeps/unix/sparc/sysdep.S: Delete.
24969 * sysdeps/unix/sparc/sysdep.h: Delete.
24970 * sysdeps/unix/sparc/vfork.S: Delete.
24971 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24972 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24974 ret_ERRVAL, r0, r1, MOVE): Define.
24975 (JUMPTARGET): Remove.
24976 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24977 sysdeps/unix/sparc/sysdep.h
24978 (ENTRY, END): Remove.
24979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24981 2012-04-25 Joseph Myers <joseph@codesourcery.com>
24983 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24984 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24987 * timezone/README: Update upstream location and email address for
24989 * timezone/zdump.c: Update from tzcode 2012b.
24990 * timezone/zic.c: Likewise.
24992 * configure.in (libc_cv_as_needed): Remove test.
24993 * configure: Regenerated.
24994 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24995 conditional definition.
24996 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24997 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24998 * config.make.in (have-as-needed): Remove variable.
25000 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25001 Paul Pluzhnikov <ppluzhnikov@google.com>
25003 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25006 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25008 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25009 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25010 * sysdeps/sh/strlen.S: Likewise.
25012 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25014 * sysdeps/unix/fork.S: Remove file.
25015 * sysdeps/unix/i386/fork.S: Likewise.
25016 * sysdeps/unix/sparc/fork.S: Likewise.
25018 * sysdeps/unix/system.c: Remove file.
25019 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25021 * sysdeps/unix/getegid.S: Remove file.
25022 * sysdeps/unix/geteuid.S: Likewise.
25024 2012-04-24 Roland McGrath <roland@hack.frob.com>
25026 * scripts/check-localplt.awk: New file.
25027 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25029 * scripts/data/localplt-generic.data: Add a comment.
25031 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25032 NODE when __dir_mkfile failed.
25033 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25034 Reported by Ludovic Courtès <ludo@gnu.org>.
25036 2012-04-24 Andreas Jaeger <aj@suse.de>
25038 * Makerules (common-clean): Also remove gen-as-const-headers
25041 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25043 * Makerules (native-compile): Do not change working directory for
25044 build. Use $(OUTPUT_OPTION) in command.
25045 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25047 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25050 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25051 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25052 * math/libm-test.inc (floor_test): Add more tests.
25053 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25055 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25057 * sysdeps/unix/getdents.c: Remove file.
25058 * sysdeps/unix/sysv/getdents.c: Likewise.
25059 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25061 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25062 sysdeps/unix/mman/syscalls.list.
25064 (mprotect): Likewise.
25066 (munmap): Likewise.
25067 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25068 * sysdeps/unix/mman/syscalls.list: Remove.
25069 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25071 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25072 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25073 * configure: Regenerated.
25074 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25075 $(libgcc_s_suffix).
25076 * config.make.in (libgcc_s_suffix): Remove variable.
25078 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25080 * sysdeps/unix/sysv/gethostname.c: Move to ...
25081 * sysdeps/posix/gethostname.c: ... here.
25083 * sysdeps/unix/execve.S: Remove file.
25085 * sysdeps/unix/_exit.S: Remove file.
25087 2012-04-23 Andreas Jaeger <aj@suse.de>
25090 * manual/Makefile: Remove make dist support, there's no
25091 need for a stand-alone documentation tar ball.
25092 (TEXI2DVI): Define always, it's not in Makeconfig.
25095 (edition): Removed.
25096 (glibc-doc-$(edition).tar): Removed
25100 (ETAGS): Remove, it's in Makeconfig.
25101 (move-if-change): Remove, it's in Makeconfig.
25103 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25106 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25107 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25108 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25109 (strtod_l, strtof_l, strtold_l): Remove __wur.
25110 It is not necessarily an error to ignore strtol's return value.
25111 One can reliably look at the stored endptr to decide whether
25112 the number had valid syntax.
25114 2012-04-21 Andreas Jaeger <aj@suse.de>
25117 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25119 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25121 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25122 * sysdeps/unix/sysv/Versions: Remove file.
25124 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25129 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25133 version from __vm86.
25135 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25137 * sysdeps/unix/common/lxstat.c: Remove file.
25138 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25140 * sysdeps/unix/sysv/Makefile: Remove file.
25142 * sysdeps/unix/sysv/direct.h: Remove file.
25144 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25145 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25146 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25147 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25148 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25149 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25150 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25152 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25154 * sysdeps/unix/xmknod.c: Remove file.
25155 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25157 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25159 * sysdeps/unix/sysv/i386/time.S: Remove file.
25161 * sysdeps/unix/fxstat.c: Remove file.
25162 * sysdeps/unix/xstat.c: Likewise.
25163 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25165 * sysdeps/unix/sysv/sigaction.c: Remove file.
25167 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25168 (sysdep_headers): Remove variable.
25169 [termio.h not in sysdep_headers] (generated): Likewise.
25170 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25171 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25172 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25173 * sysdeps/unix/sysv/tcflow.c: Likewise.
25174 * sysdeps/unix/sysv/tcflush.c: Likewise.
25175 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25176 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25177 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25178 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25179 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25181 * sysdeps/unix/siglist.c: Remove file.
25183 * sysdeps/unix/getppid.S: Remove file.
25185 * sysdeps/unix/mkdir.c: Remove file.
25186 * sysdeps/unix/rmdir.c: Likewise.
25188 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25190 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25192 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25193 errlist-compat value.
25195 2012-04-18 David S. Miller <davem@davemloft.net>
25197 * sysdeps/generic/memcopy.h (reg_char): Delete.
25198 * debug/strcat_chk.c: Use char, not reg_char.
25199 * debug/strcpy_chk.c: Likewise.
25200 * debug/strncat_chk.c: Likewise.
25201 * debug/strncpy_chk.c: Likewise.
25202 * string/memchr.c: Likewise.
25203 * string/memrchr.c: Likewise.
25204 * string/rawmemchr.c: Likewise.
25205 * string/strcat.c: Likewise.
25206 * string/strchr.c: Likewise.
25207 * string/strchrnul.c: Likewise.
25208 * string/strcmp.c: Likewise.
25209 * string/strcpy.c: Likewise.
25210 * string/strncat.c: Likewise.
25211 * string/strncmp.c: Likewise.
25212 * string/strncpy.c: Likewise.
25214 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25216 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25217 __builtin_memcopy is called when src and dest ranges are known to not
25220 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25222 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25223 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25224 fwd_align_merge macro call.
25225 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25226 bwd_align_merge macro call.
25227 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25229 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25231 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25232 bwd_align_merge macros.
25233 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25234 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25235 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25237 2012-04-18 David S. Miller <davem@davemloft.net>
25239 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25241 2012-04-18 Andreas Jaeger <aj@suse.de>
25244 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25245 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25246 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25248 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25249 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25250 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25252 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25253 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25254 Adjust for changed ldbl-128 files.
25256 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25257 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25258 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25260 2012-04-17 David S. Miller <davem@davemloft.net>
25262 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25264 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25266 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25267 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25268 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25269 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25270 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25271 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25273 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25276 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25277 * math/libm-test.inc: Add ilogb errno and exception tests.
25278 * math/w_ilogb.c: New file: ilogb wrapper.
25279 * math/w_ilogbf.c: New file: ilogbf wrapper.
25280 * math/w_ilogbl.c: New file: ilogbl wrapper.
25281 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25282 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25283 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25284 exception being thrown with 0.0 as argument.
25285 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25286 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25287 exception being thrown with 0.0 as argument.
25288 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25289 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25290 exception being thrown with 0.0 as argument.
25291 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25292 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25293 exception being thrown with 0.0 as argument.
25294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25295 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25296 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25297 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25298 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25299 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25300 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25301 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25302 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25304 2012-04-17 Petr Baudis <pasky@ucw.cz>
25306 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25309 2012-04-16 Marek Polacek <polacek@redhat.com>
25311 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25313 2012-04-16 Marek Polacek <polacek@redhat.com>
25315 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25316 operands of fdivp instruction.
25318 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25320 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25321 * elf/tst-auditmod3b.c: Likewise.
25322 * elf/tst-auditmod4b.c: Likewise.
25323 * elf/tst-auditmod5b.c: Likewise.
25324 * elf/tst-auditmod6b.c: Likewise.
25325 * elf/tst-auditmod6c.c: Likewise.
25326 * elf/tst-auditmod7b.c: Likewise.
25327 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25328 * sysdeps/x86_64/preconfigure.in: Likewise.
25329 * sysdeps/x86_64/preconfigure: Regenerated.
25331 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25333 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25336 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25339 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25341 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25344 * locale/iso-639.def: Fix gl language name. Spotted by
25347 2012-04-12 Roland McGrath <roland@hack.frob.com>
25350 * libio/libio.h (__io_write_fn): Update comment.
25352 2012-04-12 Petr Baudis <pasky@ucw.cz>
25355 * stdio.texi (Hook Functions): The user provided writer function
25356 is not allowed to return -1.
25358 2012-04-11 David S. Miller <davem@davemloft.net>
25360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25362 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25364 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25365 Add a leading slash to rtkaio.
25367 2012-04-11 Jim Meyering <meyering@redhat.com>
25370 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25371 It is not necessarily an error to ignore fwrite's return
25372 value. One can reliably use ferror to test for errors after
25375 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25377 * bits/types.h (__snseconds_t): New type.
25378 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25380 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25382 (__SNSECONDS_T_TYPE): Likewise.
25383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25384 (__SNSECONDS_T_TYPE): Likewise.
25385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25386 (__SNSECONDS_T_TYPE): Likewise.
25388 2012-04-10 Andreas Jaeger <aj@suse.de>
25391 * manual/time.texi (Processor Time): Return type of times is
25392 elapsed real time since an arbitrary point in the past.
25393 (CPU Time): Move CLK_TCK from here...
25394 (Processor Time): ...to here. Correct description.
25395 * manual/conf.texi (Constants for Sysconf): Correct description of
25398 2012-04-10 David S. Miller <davem@davemloft.net>
25401 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25402 where the is a gap between DT_REL(A) and DT_JMPREL.
25404 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25406 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25407 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25408 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25410 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25412 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25413 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25414 (dl_main): Handle --inhibit-cache.
25415 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25417 * elf/dl-load.c (_dl_map_object): Use it.
25418 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25420 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25423 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25424 (__ieee754_powl): Saturate large exponents rather than testing for
25425 overflow of y*log2(x).
25426 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25427 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25431 * math/s_ctan.c: Include <float.h>.
25432 (__ctan): Avoid internal overflow or cancellation in calculating
25434 * math/s_ctanf.c: Likewise.
25435 * math/s_ctanl.c: Likewise.
25436 * math/s_ctanh.c: Likewise.
25437 * math/s_ctanhf.c: Likewise.
25438 * math/s_ctanhl.c: Likewise.
25439 * math/libm-test.inc (ctan_test): Add more tests.
25440 (ctanh_test): Likewise.
25441 * sysdeps/i386/fpu/libm-test-ulps: Update.
25442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25444 2012-04-09 Andreas Jaeger <aj@suse.de>
25447 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25448 is an optional BSD extension.
25451 * manual/stdio.texi (Opening Streams): Document additional fopen
25454 2012-04-09 Roland McGrath <roland@hack.frob.com>
25456 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25457 %eax without telling the compiler.
25459 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25462 * manual/install.texi: Use sourceware.org.
25464 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25467 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25468 (__ieee754_pow): Generate overflow and underflow using huge*huge
25469 and tiny*tiny rather than just returning constant infinity or zero
25470 for large exponents.
25471 * math/libm-test.inc (pow_test): Require overflow exceptions for
25472 applicable cases of large exponents.
25475 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25476 (__ieee754_pow): Use iterative multiplication algorithm only for
25477 integer exponents with absolute value below 1024. Check for odd
25478 integer exponents when using algorithm for real exponents.
25479 * math/libm-test.inc (pow_test): Add more tests.
25480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25482 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25485 * math/libm-test.inc (exp_test): Do not allow overflow exception
25488 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25491 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25492 instead of __kernel_standard_f.
25494 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25496 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25497 * sysdeps/x86_64/memset_chk.S: Likewise.
25499 2012-04-08 Andreas Jaeger <aj@suse.de>
25502 * manual/startup.texi (Environment Access): Describe return value
25503 for putenv and setenv.
25506 * manual/filesys.texi (Directory Entries): Add description for
25510 * manual/filesys.texi (Directory Entries): Clarify that it's file
25511 system not operating system in the description of DT_UNKNOWN.
25514 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25516 2012-04-08 Stephen Compall <s11@member.fsf.org>
25519 * manual/llio.texi (Opening and Closing Files): Add cross
25520 reference to explain mode argument.
25522 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25524 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25525 * sysdeps/x86_64/memset_chk.S: Likewise.
25527 2012-04-07 David S. Miller <davem@davemloft.net>
25529 * elf/elf.h (R_SPARC_WDISP10): Define.
25530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25533 R_SPARC_SIZE64 and R_SPARC_H34.
25535 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25538 conditions and remove no longer applicable assertion.
25540 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25542 * bits/byteswap.h: Include <features.h>.
25543 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25544 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25546 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25548 * bits/byteswap.h (__bswap_16): Removed.
25549 Include <bits/byteswap-16.h> to get __bswap_16.
25550 * sysdeps/i386/bits/byteswap.h: Likewise.
25551 * sysdeps/s390/bits/byteswap.h: Likewise.
25552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25553 * bits/byteswap-16.h: New file.
25554 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25555 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25556 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25557 * string/Makefile (headers): Add bits/byteswap-16.h.
25559 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25562 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25564 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25565 * nss/tst-nss-static.c: New.
25567 2012-04-06 Robert Millan <rmh@gnu.org>
25570 * manual/llio.texi (File Position Primitive): lseek
25571 refers to WHENCE when it really means OFFSET.
25573 2012-04-06 Andreas Jaeger <aj@suse.de>
25575 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25576 strncmp declarations.
25578 * abilist/libc.abilist: Add __poll and __ppoll.
25580 2012-04-05 David S. Miller <davem@davemloft.net>
25582 * scripts/check-local-headers.sh: Accept a host triplet in the
25583 path matched by the exclude regexp.
25585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25587 * sysdeps/powerpc/powerpc32/dl-machine.h
25588 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25589 * sysdeps/s390/s390-32/dl-machine.h
25590 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25591 * sysdeps/sparc/sparc32/dl-machine.h
25592 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25593 * sysdeps/sparc/sparc64/dl-machine.h
25594 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25596 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25598 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25599 undefined symbol errors.
25601 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25604 2012-04-05 Michael Matz <matz@suse.de>
25607 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25609 2012-04-05 Andreas Jaeger <aj@suse.de>
25612 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25615 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25618 which ROUND is no valid rounding mode.
25620 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25622 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25624 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25626 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25628 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25629 an exception using FPU order intentionally.
25631 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25633 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25634 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25635 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25636 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25638 2012-04-05 Simon Josefsson <simon@josefsson.org>
25641 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25642 EINVAL when BUFLEN is too smal.
25644 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25647 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25648 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25650 2012-04-03 Andreas Jaeger <aj@suse.de>
25653 * manual/setjmp.texi (System V contexts): Fix sentence.
25656 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25657 New macro for this case.
25658 [!__GNUC__] (__bswap_64): New inline function for this case.
25659 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25660 * bits/byteswap.h: Likewise.
25661 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25662 ull, guard with __GLIBC_HAVE_LONG_LONG.
25664 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25665 __GLIBC_HAVE_LONG_LONG.
25667 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25668 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25670 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25673 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25674 inptr and inend, rather than using last_ch.
25676 2012-04-02 David S. Miller <davem@davemloft.net>
25678 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25679 * stdio-common/printf-parse.h (read_int): Change return type to
25680 'int', return -1 on INT_MAX overflow.
25681 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25682 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25683 overflows INT_MAX. Check for overflow of in-format-string precision
25684 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25685 SIZE_MAX not INT_MAX for integer overflow test.
25686 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25687 skip the construct in the format string but do not record anything.
25688 * stdio-common/bug22.c: Adjust to test both width/prevision
25689 INT_MAX overflow as well as total length INT_MAX overflow. Check
25690 explicitly for proper errno values.
25692 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25694 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25696 * string/test-strcmp.c [! WIDE]: Likewise.
25697 * time/tst-mktime2.c: Likewise for INT_MAX.
25698 * string/test-string.h: #include <sys/param.h> for MIN.
25700 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25701 * sysdeps/i386/init-first.c (init): Likewise.
25702 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25703 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25704 * sysdeps/sh/init-first.c (init): Likewise.
25706 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25708 * po/ru.po: Update from translation team.
25709 * po/vi.po: Likewise.
25711 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25713 * resolv/nss_dns/dns-host.c: Merge copyright years.
25715 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25717 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25718 Optimize memcpy with prefetch if
25719 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25720 src, dst pointers have unequal 16 byte alignments.
25722 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25725 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25726 from a CNAME entry and return the minimum ttl for the query.
25727 (gaih_getanswer_slice): Likewise.
25729 2012-03-30 Jeff Law <law@redhat.com>
25731 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25733 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25734 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25736 * resolv/nss_dns/dns-host.c: Update copyright year.
25738 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25740 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25741 requests to save a system call. Fix check that all bytes are sent.
25743 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25744 comments for sendmmsg.
25746 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25749 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25750 with only 1 character between 0x0041 and 0x01b0.
25751 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25752 * wcsmbs/tst-mbsnrtowcs.c: New file.
25754 2012-03-29 David S. Miller <davem@davemloft.net>
25756 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25757 small copies by hand.
25759 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25762 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25763 _nss_compat_initgroups_dyn): Fall back to malloc/free
25764 for large group memberships.
25766 2012-03-28 David S. Miller <davem@davemloft.net>
25768 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25769 that branches into memcpy.
25770 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25773 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25776 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25777 implementation too.
25778 * sysdeps/sparc/mempcpy.S: New file.
25780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25781 the IFUNC routine in the libc case.
25782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25784 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25785 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25786 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25787 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25788 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25789 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25790 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25791 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25793 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25794 loop to 256 bytes instead of 64 bytes and fix test signedness.
25796 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25797 * sysdeps/sparc/sparc32/Makefile: rather than here...
25798 * sysdeps/sparc/sparc64/Makefile: and here.
25800 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25802 * malloc/mallocbug.c: Avoid warnings about unused variables.
25804 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25807 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25808 in the right place. Discard and retry query if response is
25809 larger than input buffer size.
25811 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25816 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25817 x for large integer exponent.
25818 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25819 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25820 sign of result as needed afterwards.
25821 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25822 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25823 result for underflowing pow the same as for overflow.
25824 (__kernel_standard_l): Handle powl overflow and underflow here
25825 rather than calling __kernel_standard.
25826 * math/libm-test.inc (pow_test): Add more tests.
25841 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25842 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25843 (__kernel_standard_l): New function.
25844 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25846 * math/w_acosl.c (__acosl): Likewise.
25847 * math/w_asinl.c (__asinl): Likewise.
25848 * math/w_atan2l.c (__atan2l): Likewise.
25849 * math/w_atanhl.c (__atanhl): Likewise.
25850 * math/w_coshl.c (__coshl): Likewise.
25851 * math/w_exp10l.c (__exp10l): Likewise.
25852 * math/w_exp2l.c (__exp2l): Likewise.
25853 * math/w_fmodl.c (__fmodl): Likewise.
25854 * math/w_hypotl.c (__hypotl): Likewise.
25855 * math/w_j0l.c (__j0l, __y0l): Likewise.
25856 * math/w_j1l.c (__j1l, __y1l): Likewise.
25857 * math/w_jnl.c (__jnl, __ynl): Likewise.
25858 * math/w_lgammal.c (__lgammal): Likewise.
25859 * math/w_log10l.c (__log10l): Likewise.
25860 * math/w_log2l.c (__log2l): Likewise.
25861 * math/w_logl.c (__logl): Likewise.
25862 * math/w_powl.c (__powl): Likewise.
25863 * math/w_remainderl.c (__remainderl): Likewise.
25864 * math/w_scalbl.c (sysv_scalbl): Likewise.
25865 * math/w_sinhl.c (__sinhl): Likewise.
25866 * math/w_sqrtl.c (__sqrtl): Likewise.
25867 * math/w_tgammal.c (__tgammal): Likewise.
25868 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25869 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25870 * math/libm-test.inc (acos_test): Add more tests.
25871 (acosh_test): Likewise.
25872 (asin_test): Likewise.
25873 (atanh_test): Likewise.
25874 (exp_test): Likewise.
25875 (exp10_test): Likewise.
25876 (exp2_test): Likewise.
25877 (expm1_test): Likewise.
25878 (lgamma_test): Likewise.
25879 (log_test): Likewise.
25880 (log10_test): Likewise.
25881 (log1p_test): Likewise.
25882 (log2_test): Likewise.
25883 (pow_test): Do not allow some spurious overflow exceptions.
25884 (sqrt_test): Add more tests.
25885 (tgamma_test): Likewise.
25886 (y0_test): Likewise.
25887 (y1_test): Likewise.
25888 (yn_test): Likewise.
25890 2012-03-27 Anton Blanchard <anton@samba.org>
25892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25894 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25895 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25896 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25898 2012-03-27 David S. Miller <davem@davemloft.net>
25900 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25902 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25903 have-as-vis3 check.
25905 2012-03-27 Andreas Jaeger <aj@suse.de>
25907 * sysdeps/x86_64/elf/configure.in: Moved to ...
25908 * sysdeps/x86_64/configure.in: ... here.
25909 * sysdeps/x86_64/elf/start.S: Moved to ...
25910 * sysdeps/x86_64/start.S: ... here.
25911 * sysdeps/x86_64/elf/configure: Delete.
25913 * sysdeps/x86_64/configure.in: Merge contents from
25914 sysdeps/i386/configure.in (without i686 check).
25916 * sysdeps/i386/elf/Versions: Merge into ...
25917 * sysdeps/i386/Versions: ... this.
25918 * sysdeps/i386/elf/Versions: Delete file.
25919 * sysdeps/i386/elf/start.S: Moved to ...
25920 * sysdeps/i386/start.S: ...here.
25921 * sysdeps/i386/elf/configure.in: Merge into...
25922 * sysdeps/i386/configure.in: ...here.
25923 * sysdeps/i386/elf/configure.in: Delete file.
25924 * sysdeps/i386/elf/configure: Delete file.
25926 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25927 * debug/backtracesyms.c: ... here.
25928 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25929 * debug/backtracesymsfd.c: ... here.
25930 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25931 * sysdeps/generic/ifunc-sel.h: ... here.
25933 * sysdeps/unix/i386/start.c: Delete file.
25934 * sysdeps/unix/sparc/start.c: Delete file.
25935 * sysdeps/unix/start.c: Delete file.
25937 * sysdeps/sh/elf/configure.in: Moved to ...
25938 * sysdeps/sh/configure.in: ... here.
25939 * sysdeps/sh/elf/start.S: Moved to ...
25940 * sysdeps/sh/start.S: ... here.
25941 * sysdeps/sh/elf/configure: Delete file.
25943 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25944 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25945 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25946 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25947 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25948 * sysdeps/powerpc/powerpc64/start.S: here.
25949 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25950 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25951 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25952 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25953 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25955 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25956 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25957 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25958 * sysdeps/powerpc/powerpc32/start.S: ... here.
25959 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25960 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25961 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25963 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25964 * sysdeps/powerpc/ifunc-sel.h: ... here.
25965 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25966 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25968 * sysdeps/sparc/elf/configure.in: Moved to ...
25969 * sysdeps/sparc/configure.in: ... here.
25970 * sysdeps/sparc/elf/configure: Delete file.
25971 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25972 * sysdeps/sparc/sparc32/start.S: ... here.
25973 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25974 * sysdeps/sparc/sparc64/start.S: ... here.
25975 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25976 * sysdeps/sparc/sparc32/Makefile: ... this.
25977 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25978 * sysdeps/sparc/sparc64/Makefile: ... this.
25980 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25981 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25982 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25983 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25984 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25985 * sysdeps/s390/s390-32/setjmp.S: ... here.
25986 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25987 * sysdeps/s390/s390-32/configure.in: ... here.
25988 * sysdeps/s390/s390-32/elf/configure: Delete file.
25989 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25990 * sysdeps/s390/s390-32/start.S: ... here.
25992 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25993 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25994 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25995 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25996 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25997 * sysdeps/s390/s390-64/setjmp.S: ... here.
25998 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25999 * sysdeps/s390/s390-64/configure.in: ... here
26000 * sysdeps/s390/s390-64/elf/configure: Delete file.
26001 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26002 * sysdeps/s390/s390-64/start.S: ... here.
26003 * sysdeps/s390/s390-64/elf/configure: Delete.
26005 * configure.in: Remove support for elf directories in sysdeps.
26007 * configure: Regenerated.
26008 * sysdeps/i386/configure: Regenerated.
26009 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26010 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26011 * sysdeps/s390/s390-32/configure: Regenerated.
26012 * sysdeps/s390/s390-64/configure: Regenerated.
26013 * sysdeps/sh/configure: Regenerated.
26014 * sysdeps/sparc/configure: Regenerated.
26015 * sysdeps/x86_64/configure: Regenerated.
26017 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26022 denormal result into account.
26024 2012-03-25 Roland McGrath <roland@hack.frob.com>
26026 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26027 Reported by Allan McRae <allan@archlinux.org>.
26029 2012-03-23 Jeff Law <law@redhat.com>
26031 * nss/getnssent.c (__nss_getent): Fix typo.
26033 2012-03-23 David S. Miller <davem@davemloft.net>
26035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26037 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26039 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26040 to pad to uint64_t for each field.
26041 (dl_tls_index): Replace unsigned long with uint64_t.
26043 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26044 Paul Pluzhnikov <ppluzhnikov@google.com>
26047 * grp/Makefile (otherlibs): Don't set it.
26048 * inet/Makefile (otherlibs): Likewise.
26049 * login/Makefile (otherlibs): Likewise.
26050 * nscd/Makefile (otherlibs): Likewise.
26051 * posix/Makefile (otherlibs): Likewise.
26052 * pwd/Makefile (otherlibs): Likewise.
26053 * rt/Makefile (otherlibs): Likewise.
26054 * sunrpc/Makefile (otherlibs): Likewise.
26055 * nss/Makefile (otherlibs): Likewise.
26056 Add libnss_files to routines and static-only-routines.
26057 ($(objpfx)getent): Remove rule.
26058 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26059 static-only-routines.
26061 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26064 * math/s_cexp.c: Include <float.h>.
26065 (__cexp): Handle exp result overflowing not necessarily
26066 overflowing both real and imaginary parts of result.
26067 * math/s_cexpf.c: Likewise.
26068 * math/s_cexpl.c: Likewise.
26069 * math/libm-test.inc (cexp_test): Add more tests.
26070 * sysdeps/i386/fpu/libm-test-ulps: Update.
26071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26073 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26075 * include/link.h (ELFW): New macro.
26076 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26077 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26079 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26081 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26084 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26086 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26088 (struct La_x32_retval): Likewise.
26090 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26092 * sysdeps/x86_64/preconfigure.in: New file.
26093 * sysdeps/x86_64/preconfigure: New generated file.
26095 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26098 * math/e_exp2l.c: Include <float.h>.
26099 (__ieee754_exp2l): Handle overflow and underflow cases
26100 separately. Only pass fractional part of argument to
26102 * math/libm-test.inc (exp2_test): Add more tests.
26104 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26105 negating x to take absolute value.
26106 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26108 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26109 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26111 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26112 computing low part if x was negated.
26113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26115 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26117 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26118 la_x32_gnu_pltexit.
26119 (pltexit): Cast int_retval to ptrdiff_t.
26120 * elf/tst-auditmod3b.c: Likewise.
26121 * elf/tst-auditmod4b.c: Likewise.
26122 * elf/tst-auditmod5b.c: Likewise.
26123 * elf/tst-auditmod6b.c: Likewise.
26124 * elf/tst-auditmod6c.c: Likewise.
26125 * elf/tst-auditmod7b.c: Likewise.
26127 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26128 and x32_gnu_pltexit.
26130 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26131 __ELF_NATIVE_CLASS.
26132 (La_x32_regs): New macro.
26133 (La_x32_retval): Likewise.
26134 (la_x32_gnu_pltenter): New function prototype.
26135 (la_x32_gnu_pltexit): Likewise.
26137 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26139 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26144 * configure.in (libc_cv_cc_nofma): Check for option to disable
26145 generation of FMA instructions.
26146 * configure: Regenerate.
26147 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26148 * sysdeps/ieee754/dbl-64/Makefile: New file.
26149 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26150 Remove brandred-fma4.
26151 (CFLAGS-brandred-fma4.c): Remove.
26152 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26153 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26155 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26158 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26160 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26161 LLONG_MAX != LONG_MAX.
26162 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26163 (_fitoa_word): Likewise.
26164 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26165 LLONG_MAX != LONG_MAX.
26166 * stdio-common/_itowa.h: Include <_itoa.h>.
26167 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26168 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26169 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26170 only if not defined.
26171 (_ITOA_WORD_TYPE): Likewise.
26172 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26173 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26175 2012-03-21 David S. Miller <davem@davemloft.net>
26177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26179 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26181 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26182 of x86_64 when setting libc_cv_slibdir, libdir and
26184 * sysdeps/unix/sysv/linux/configure: Regenerated.
26186 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26188 * manual/lang.texi (Old Varargs): Remove section.
26189 (How Variadic): Update menu.
26190 (va_start): Do not mention varargs.h.
26192 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26193 Joseph Myers <joseph@codesourcery.com>
26195 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26197 * configure: Regenerated.
26199 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26201 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26202 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26205 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26208 * Makefile (files-for-dist): Remove NOTES.
26209 (NOTES): Remove rule.
26210 * README: Don't refer to NOTES.
26211 * manual/creature.texi: Don't include macros.texi.
26212 * manual/intro.texi (creature.texi): Remove comment referring to
26215 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26216 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26217 * configure: Regenerated.
26218 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26219 LIBC_TRY_CC_OPTION.
26220 (libc_cv_as_i686): Likewise.
26221 (libc_cv_cc_avx): Likewise.
26222 (libc_cv_cc_sse2avx): Likewise.
26223 (libc_cv_cc_fma4): Likewise.
26224 (libc_cv_cc_novzeroupper): Likewise.
26225 * sysdeps/i386/configure: Regenerated.
26228 * sysdeps/i386/fpu/s_cexp.S: Remove.
26229 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26230 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26231 * math/libm-test.inc (cexp_test): Add more tests.
26232 * sysdeps/i386/fpu/libm-test-ulps: Update.
26233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26235 2012-03-21 Allan McRae <allan@archlinux.org>
26237 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26239 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26242 * math/w_exp2.c: Do not include <float.h>.
26243 (o_threshold, u_threshold): Remove.
26244 (__exp2): Calculate result before checking finiteness and calling
26246 * math/w_exp2f.c: Likewise.
26247 * math/w_exp2l.c: Likewise.
26248 * math/libm-test.inc (exp2_test): Require overflow exception for
26252 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26253 range of signed 64-bit integers before using fistpll. Remove
26254 checks for whether integers fit in mantissa bits.
26255 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26256 the range of signed 32-bit integers before using fistpl. Remove
26257 checks for whether integers fit in mantissa bits.
26258 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26259 (__ieee754_powl): Test for y outside the range of signed 64-bit
26260 integers before using fistpll. Reduce 64-bit values to 63-bit
26262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26263 divide-by-zero is raised for zero to large negative powers.
26264 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26265 (__ieee754_powl): Test for y outside the range of signed 64-bit
26266 integers before using fistpll. Reduce 64-bit values to 63-bit
26268 * math/libm-test.inc (pow_test): Add more tests.
26270 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26272 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26273 <stdio-common/_itoa.h>.
26274 * debug/segfault.c: Likewise.
26275 * elf/dl-cache.c: Likewise.
26276 * elf/dl-minimal.c: Likewise.
26277 * elf/dl-misc.c: Likewise.
26278 * elf/dl-sysdep.c: Likewise.
26279 * elf/dl-version.c: Likewise.
26280 * elf/rtld.c: Likewise.
26281 * hurd/hurdsock.c: Likewise.
26282 * hurd/lookup-retry.c: Likewise.
26283 * malloc/malloc.c: Likewise.
26284 * malloc/mtrace.c: Likewise.
26285 * nscd/nscd_getgr_r.c: Likewise.
26286 * nscd/nscd_getpw_r.c: Likewise.
26287 * nscd/nscd_getserv_r.c: Likewise.
26288 * posix/getopt_init.c: Likewise.
26289 * posix/wordexp.c: Likewise.
26290 * stdio-common/_itoa.c: Likewise.
26291 * stdio-common/printf_fphex.c: Likewise.
26292 * stdio-common/vfprintf.c: Likewise.
26293 * string/_strerror.c: Likewise.
26294 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26295 * sysdeps/i386/i686/hp-timing.h: Likewise.
26296 * sysdeps/mach/_strerror.c: Likewise.
26297 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26298 * sysdeps/mach/hurd/sethostid.c: Likewise.
26299 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26300 * sysdeps/mach/xpg-strerror.c: Likewise.
26301 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26303 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26304 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26305 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26306 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26307 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26308 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26309 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26310 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26311 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26312 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26313 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26314 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26315 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26316 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26317 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26318 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26319 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26320 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26321 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26323 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26325 * stdio-common/_itoa.h: Moved to ...
26326 * sysdeps/generic/_itoa.h: Here.
26328 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26330 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26331 instead of "_itoa.h" and "_itowa.h".
26332 * stdio-common/vfprintf.: Likewise.
26334 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26336 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26338 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26339 (__signbit): Likwise.
26340 (llrintf): Likwise.
26343 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26345 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26348 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26350 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26351 OVERFLOW_EXCEPTION_OK.
26352 * math/libm-test.inc ("Philosophy"): Update comment about
26354 (OVERFLOW_EXCEPTION): Define.
26355 (OVERFLOW_EXCEPTION_OK): Likewise.
26356 (INVALID_EXCEPTION_OK): Renumber.
26357 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26358 (IGNORE_ZERO_INF_SIGN): Likewise.
26359 (test_exceptions): Handle FE_OVERFLOW.
26360 (exp10_test): Expect overflow exceptions.
26361 (exp2_test): Likewise.
26362 (expm1_test): Likewise.
26363 (nextafter_test): Likewise.
26364 (pow_test): Likewise.
26365 (scalbn_test): Likewise.
26366 (scalbln_test): Likewise.
26368 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26370 * sysdeps/x86_64/bits/atomic.h
26371 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26373 (atomic_exchange_acq): Likewise.
26374 (__arch_exchange_and_add_body): Likewise.
26375 (__arch_add_body): Likewise.
26376 (atomic_add_negative): Likewise.
26377 (atomic_add_zero): Likewise.
26379 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26381 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26382 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26384 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26386 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26387 Check __x86_64__ instead of __WORDSIZE.
26389 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26391 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26393 2012-03-19 David S. Miller <davem@davemloft.net>
26395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26397 * sysdeps/sparc/fpu/fenv_private.h: New file.
26398 * sysdeps/sparc/fpu/math_private.h: Use it.
26399 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26401 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26402 (libc_feholdexcept_setroundl): Remove.
26403 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26405 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26406 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26408 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26410 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26411 int64_t instead of long int.
26412 (INSERT_WORDS64): Likwise.
26414 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26416 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26417 _Unwind_GetCFA return to _Unwind_Ptr first.
26419 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26422 * math/s_clog.c: Include <float.h>.
26423 (__clog): Scale large or subnormal inputs.
26424 * math/s_clogf.c: Likewise.
26425 * math/s_clogl.c: Likewise.
26426 * math/s_clog10.c: Include <float.h>.
26427 (M_LOG10_2): Define.
26428 (__clog10): Scale large or subnormal inputs.
26429 * math/s_clog10f.c: Likewise.
26430 * math/s_clog10l.c: Likewise.
26431 * math/libm-test.inc (clog_test): Add more tests.
26432 (clog10_test): Likewise.
26433 * sysdeps/i386/fpu/libm-test-ulps: Update.
26434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26437 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26439 * math/libm-test.inc (atan2_test): Add another test.
26441 * Makerules (common-objdir-compile): Remove.
26442 * sysdeps/unix/Makefile (config-generated): Do not add
26443 $(unix-generated) to variable.
26444 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26445 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26447 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26449 [generic bits/local_lim.h] (before-compile): Do not append to
26451 [generic bits/local_lim.h] (common-generated): Likewise.
26452 [generic sys/param.h] (before-compile): Do not append to variable.
26453 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26454 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26455 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26456 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26458 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26459 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26460 [generic sys/param.h] ($(addprefix
26461 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26462 [generic sys/param.h] (common-generated): Do not append to
26464 [generic sys/param.h] (sysdep_headers): Likewise.
26465 [generic bits/errno.h] (before-compile): Do not append to
26467 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26469 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26470 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26471 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26472 [generic bits/errno.h] (common-generated): Do not append to
26474 [generic bits/ioctls.h] (before-compile): Do not append to
26476 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26478 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26479 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26480 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26482 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26483 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26484 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26485 [generic bits/ioctls.h] (common-generated): Do not append to
26487 [generic sys/syscall.h] (syscall.h): Remove variable.
26488 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26490 [generic sys/syscall.h] (before-compile): Do not append to
26492 [generic sys/syscall.h] (common-generated): Likewise.
26493 * sysdeps/unix/errnos-tmpl.c: Remove file.
26494 * sysdeps/unix/errnos.awk: Likewise.
26495 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26496 * sysdeps/unix/ioctls.awk: Likewise.
26497 * sysdeps/unix/mk-local_lim.c: Likewise.
26498 * sysdeps/unix/snarf-ioctls: Likewise.
26500 2012-03-19 Richard Henderson <rth@twiddle.net>
26502 * sysdeps/i386/fpu/fenv_private.h: New file.
26503 * sysdeps/i386/fpu/math_private.h: Use it.
26504 (math_opt_barrier, math_force_eval): Remove.
26505 (libc_feholdexcept_setround_53bit): Remove.
26506 (libc_feupdateenv_53bit): Remove.
26507 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26508 (math_opt_barrier, math_force_eval): Remove.
26509 (libc_feholdexcept): Remove.
26510 (libc_feholdexcept_setround): Remove.
26511 (libc_fetestexcept, libc_fesetenv): Remove.
26512 (libc_feupdateenv_test): Remove.
26513 (libc_feupdateenv, libc_feholdsetround): Remove.
26514 (libc_feresetround): Remove.
26516 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26517 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26519 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26520 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26521 (libc_feupdateenv_testl): New.
26522 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26523 (libc_feupdateenv_testf): New.
26524 (libc_feupdateenv): Use libc_feupdateenv_test.
26525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26528 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26529 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26530 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26531 (libc_feresetround_noex): New.
26532 (libc_feresetround_noexf): New.
26533 (libc_feresetround_noexl): New.
26534 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26535 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26536 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26537 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26540 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26542 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26543 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26544 SET_RESTORE_ROUND_NOEX.
26545 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26546 SET_RESTORE_ROUND_NOEXF.
26547 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26548 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26549 (libc_feholdsetroundf): New.
26550 (libc_feresetround, libc_feresetroundf): New.
26552 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26553 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26554 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26556 * sysdeps/generic/math_private.h: Include <fenv.h>.
26557 (default_libc_feholdexcept): New.
26558 (default_libc_feholdexcept_setround): New.
26559 (default_libc_fesetenv, default_libc_feupdateenv): New.
26560 (libc_feholdexcept): Only define if undefined.
26561 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26562 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26563 (libc_feholdexcept_setroundl): Likewise.
26564 (libc_feholdexcept_setround_53bit): Likewise.
26565 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26566 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26567 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26568 (libc_feupdateenv_53bit): Likewise.
26569 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26570 (libc_feholdexcept): Convert from macro to inline function.
26571 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26572 (libc_fesetenv, libc_feupdateenv): Likewise.
26574 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26575 not previously defined.
26576 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26577 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26578 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26579 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26580 * sysdeps/ieee754/flt-32/math_private.h: New file.
26581 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26582 math_private.h below SET_FLOAT_WORD.
26583 (__isnan, __isinf_ns, __finite): Remove.
26584 (__isnanf, __isinf_nsf, __finitef): Remove.
26586 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26590 2012-03-17 David S. Miller <davem@davemloft.net>
26593 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26596 2012-03-16 David S. Miller <davem@davemloft.net>
26598 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26604 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26605 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26606 sysdep_routines when subdir is sysvipc.
26607 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26608 __getshmlba helper.
26610 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26612 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26614 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26617 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26619 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26620 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26621 (__lround): Renamed to ...
26622 (__llround): This. Replace long int with long long int.
26623 Define lround functions as aliases of llround functions.
26624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26626 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26628 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26629 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26630 adresses to uintptr_t. Replace "long int" and "unsigned long
26631 int" with "greg_t" on va_arg.
26633 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26635 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26636 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26638 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26639 Move e_machine check before EI_CLASS check. Handle x32
26640 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26641 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26642 SKIP_EM_IA_64 and include
26643 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26645 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26646 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26647 (add_system_dir): New macro.
26649 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26650 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26652 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26663 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26665 * math/w_j0f.c (j0f): Likewise.
26667 * math/w_j0l.c (__j0l): Likewise.
26669 * math/w_j1.c (j1): Likewise.
26671 * math/w_j1f.c (j1f): Likewise.
26673 * math/w_j1l.c (__j1l): Likewise.
26675 * math/w_jn.c (jn): Likewise.
26677 * math/w_jnf.c (jnf): Likewise.
26679 * math/w_jnl.c (__jnl): Likewise.
26681 * math/libm-test.inc (j0_test): Add more tests.
26682 (j1_test): Likewise.
26683 (jn_test): Likewise. Add trailing semicolon to existing test.
26684 (y0_test): Likewise.
26685 (y1_test): Likewise.
26686 * sysdeps/i386/fpu/libm-test-ulps: Update.
26687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26691 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26692 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26693 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26694 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26695 (__tanl): Set errno for infinite argument.
26696 * sysdeps/i386/fpu/mptan.c: Remove.
26697 * sysdeps/i386/fpu/s_tan.S: Likewise.
26698 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26699 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26700 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26701 * math/libm-test.inc (tan_test): Add more tests and enable more
26702 tests for double and long double.
26703 * sysdeps/i386/fpu/libm-test-ulps: Update.
26704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26706 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26708 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26709 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26711 2012-03-16 Roland McGrath <roland@hack.frob.com>
26713 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26714 * configure.in: Use it for both main tree and add-ons.
26715 * configure: Regenerated.
26717 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26719 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26721 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26723 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26727 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26728 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26733 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26735 != 0 for prec == 2.
26736 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26737 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26738 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26739 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26740 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26741 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26742 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26743 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26744 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26745 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26746 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26747 * math/libm-test.inc (cos_test): Add more tests and enable more
26748 tests for long double.
26749 (sin_test): Likewise.
26750 (sincos_test): Likewise.
26751 * sysdeps/i386/fpu/libm-test-ulps: Update.
26752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26754 2012-03-16 David S. Miller <davem@davemloft.net>
26756 * sysdeps/sparc/fpu/math_private.h: New file.
26758 2012-03-15 David S. Miller <davem@davemloft.net>
26760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26774 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26775 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26777 * sysdeps/sparc/sparc-ifunc.h: New file.
26778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26823 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26825 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26829 2012-03-15 Andreas Jaeger <aj@suse.de>
26832 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26833 ieee754/flt-32 implementation for sin, cos and sincos.
26834 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26835 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26836 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26837 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26838 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26839 ieee754/flt-32 implementation for tan.
26841 * math/libm-test.inc (cos_test): Enable some large input tests for
26843 (sin_test): Likewise.
26844 (sincos_test): Likewise.
26845 (tan_test): Add tests for large input.
26847 * sysdeps/i386/fpu/libm-test-ulps: Update.
26849 2012-03-15 Andreas Jaeger <aj@suse.de>
26852 * math/libm-test.inc (cos_test): Add more test cases.
26853 (sin_test): Likewise.
26854 (sincos_test): Likewise.
26856 2012-03-15 Andreas Jaeger <aj@suse.de>
26859 * math/libm-test.inc (cos_test): Add a test case for large input
26861 (sin_test): Likewise.
26862 (sincos_test): Likewise.
26864 2012-03-15 Andreas Jaeger <aj@suse.de>,
26865 Joseph Myers <joseph@codesourcery.com>
26868 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26869 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26870 * sysdeps/i386/fpu/branred.c: Likewise.
26871 * sysdeps/i386/fpu/dosincos.c: Likewise.
26872 * sysdeps/i386/fpu/mpa.c: Likewise.
26873 * sysdeps/i386/fpu/s_cos.S: Likewise.
26874 * sysdeps/i386/fpu/s_sin.S: Likewise.
26875 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26876 * sysdeps/i386/fpu/sincos32.c: Likewise.
26878 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26880 (libc_feupdateenv_53bit): Define.
26881 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26883 (libc_feupdateenv_53bit): Define.
26885 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26886 53 bit (without extend i386 double precision).
26888 * math/libm-test.inc (sincos_test): Add tests for large input.
26892 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26894 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26898 2012-03-15 David S. Miller <davem@davemloft.net>
26900 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26901 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26902 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26903 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26928 fmin/fmax sysdep routines.
26929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26931 2012-03-14 David S. Miller <davem@davemloft.net>
26933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27005 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27010 * sysdeps/sparc/configure.in: New file.
27011 * sysdeps/sparc/configure: Generate.
27012 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27013 * configure: Regenerate.
27014 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27015 * config.make.in (have-as-vis3): New.
27016 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27017 available use -Av9d instead of -Av9a.
27018 * sysdeps/sparc/sparc64/Makefile: Likewise.
27019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27034 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27035 fzeros/fnegs to load 0x80000000 into a float register instead of
27037 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27039 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27043 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27044 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27045 ($(inst_includedir)/bits/syscall.h): Remove rule.
27046 ($(objpfx)bits/syscall.d): Include instead of
27047 $(objpfx)syscall-list.d.
27048 (generated): Change syscall-list.h and syscall-list.d to
27049 bits/syscall.h and bits/syscall.d.
27051 2012-03-14 Roland McGrath <roland@hack.frob.com>
27054 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27056 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27059 * math/s_csqrt.c: Include <float.h>.
27060 (__csqrt): Scale large or subnormal inputs.
27061 * math/s_csqrtf.c: Likewise.
27062 * math/s_csqrtl.c: Likewise.
27063 * math/libm-test.inc (csqrt_test): Add more tests.
27064 * sysdeps/i386/fpu/libm-test-ulps: Update.
27065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27068 * math/libm-test.inc (hypot_test): Add more tests.
27070 2012-03-13 David S. Miller <davem@davemloft.net>
27073 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27074 double-precision for the calculation instead of scaling.
27076 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27079 manipulate bits before adding and subtracting TWO52[sx].
27080 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27083 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27085 2012-03-13 David S. Miller <davem@davemloft.net>
27087 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27088 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27090 rtld-global-offsets.h
27091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27093 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27096 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27098 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27099 'err' in the ifdef scope in which it is actually used.
27101 * nss/nss_db/db-init.c: Include string.h
27103 2012-03-12 David S. Miller <davem@davemloft.net>
27105 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27106 masking out of the most significant byte of random value used.
27107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27108 Fix coding style in previous change.
27110 * sysdeps/unix/sysv/linux/kernel-features.h
27111 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27112 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27114 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27117 2012-03-11 David S. Miller <davem@davemloft.net>
27119 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27120 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27122 for 'resultvar' otherwise things get truncated on 64-bit.
27124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27125 Fix masking out of the most significant byte of random value used.
27127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27129 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27133 2012-03-09 David S. Miller <davem@davemloft.net>
27135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27136 variables with appropriate CPP guards.
27137 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27138 frame pointer, not the stack pointer. Correct layout comments. Fix test
27139 on resulting framesize and the management of the outregs buffer for pltexit.
27140 Preserve floating point return values across _dl_call_pltexit call.
27141 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27142 framesize and the management of the outregs buffer for pltexit.
27143 Preserve floating point return values across _dl_call_pltexit
27145 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27146 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27147 (print_exit): Fix format string for return register value.
27149 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27151 * sunrpc/Makefile (others): Add rpcgen.
27152 ($(objpfx)rpcgen): Remove special build rule and dependency on
27154 * sunrpc/rpcgen.c: New file.
27156 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27159 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27160 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27161 * sysdeps/i386/crti.S: Likewise.
27162 * sysdeps/i386/crtn.S: Likewise.
27163 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27164 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27165 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27166 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27167 * sysdeps/sh/crti.S: Likewise.
27168 * sysdeps/sh/crtn.S: Likewise.
27169 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27172 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27174 * locale/programs/locfile-kw.gperf: Likewise.
27175 * locale/programs/charmap-kw.h: Regenerated.
27176 * locale/programs/locfile-kw.h: Likewise.
27179 * intl/plural.y: Replace FSF snail mail address with URL.
27180 * intl/plural.c: Regenerated.
27182 2012-03-09 Richard Henderson <rth@twiddle.net>
27184 * include/math_private.h: Remove file.
27185 * math/math_private.h: Move file ...
27186 * sysdeps/generic/math_private.h: ... here.
27188 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27189 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27190 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27192 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27193 and <math_private.h>.
27194 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27195 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27196 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27197 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27198 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27202 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27208 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27209 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27210 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27211 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27212 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27213 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27215 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27216 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27232 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27252 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27254 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27255 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27260 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27265 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27267 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27276 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27278 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27282 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27283 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27284 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27285 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27286 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27287 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27288 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27289 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27290 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27291 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27292 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27293 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27294 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27295 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27296 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27297 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27298 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27299 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27300 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27301 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27302 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27304 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27305 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27306 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27307 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27308 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27309 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27310 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27311 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27312 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27313 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27314 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27315 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27316 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27317 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27318 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27319 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27320 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27321 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27322 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27323 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27324 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27325 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27326 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27327 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27328 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27329 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27330 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27331 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27332 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27333 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27334 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27335 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27336 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27337 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27338 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27339 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27340 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27341 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27342 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27343 * sysdeps/ieee754/k_standard.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27350 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27351 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27352 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27353 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27354 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27355 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27356 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27357 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27367 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27369 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27371 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27373 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27374 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27375 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27376 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27377 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27379 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27384 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27385 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27390 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27394 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27395 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27396 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27397 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27400 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27411 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27412 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27413 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27414 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27416 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27417 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27418 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27419 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27450 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27456 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27459 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27463 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27464 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27466 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27467 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27471 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27476 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27479 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27492 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27493 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27494 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27504 * sysdeps/ieee754/s_lib_version.c: Likewise.
27505 * sysdeps/ieee754/s_matherr.c: Likewise.
27506 * sysdeps/ieee754/s_signgam.c: Likewise.
27507 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27508 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27509 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27510 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27511 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27512 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27513 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27514 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27515 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27516 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27517 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27518 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27519 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27520 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27521 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27522 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27523 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27524 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27525 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27529 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27531 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27532 * sunrpc/rpc_main.c: Likewise.
27533 * sunrpc/rpc_svcout.c: Likewise.
27535 2012-03-09 David S. Miller <davem@davemloft.net>
27537 * include/math_private.h: New file.
27539 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27541 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27542 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27543 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27544 from <bits/socket_type.h>.
27545 (enum __socket_type): Don't define here.
27546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27548 bits/socket_type.h.
27551 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27552 checking __USE_GNU.
27554 * Makerules ($(inst_includedir)/%.h): New rule.
27555 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27556 (install-others): Remove variable setting.
27557 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27559 2012-03-08 Richard Henderson <rth@twiddle.net>
27561 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27562 from macro to inline function; merge with the
27563 !__LIBC_INTERNAL_MATH_INLINES version.
27564 (__ieee754_sqrtf): Likewise.
27566 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27567 to inline function.
27568 (__rintf, __floor, __floorf): Likewise.
27570 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27571 macro to inline function.
27572 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27575 not <math/math_private.h>.
27577 2012-03-08 David S. Miller <davem@davemloft.net>
27579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27581 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27583 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27585 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27587 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27588 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27590 2012-03-08 Ulrich Drepper <drepper@gmail.com>
27592 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27593 be defined individually, they must be defined as a block. Define
27594 S for printing a string instead of hidint the different by using a
27595 macro for adding the 'l'.
27596 * stdio-common/tst-fphex-wide.c: Adjust.
27598 2012-03-07 Marek Polacek <polacek@redhat.com>
27600 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27602 2012-03-08 Marek Polacek <polacek@redhat.com>
27605 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27606 * stdio-common/tst-fphex.c: Define a few macros to make the
27607 test reusable. Use them.
27608 * stdio-common/tst-fphex-wide.c: New file.
27610 2012-03-08 Joseph Myers <joseph@codesourcery.com>
27613 * manual/macros.texi (gnusystems): New macro.
27614 (nongnusystems): Likewise.
27615 (gnulinuxhurdsystems): Likewise.
27616 (gnuhurdsystems): Likewise..
27617 (gnulinuxsystems): Likewise.
27618 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27619 variants of the GNU system, not "GNU system".
27620 * manual/conf.texi: Likewise.
27621 * manual/errno.texi: Likewise. Update example of errno macro
27623 * manual/filesys.texi: Likewise.
27624 (getumask): Document as specific to GNU/Hurd.
27625 * manual/install.texi: Likewise. Reword some references to
27627 * manual/intro.texi: Likewise.
27628 * manual/io.texi: Likewise.
27629 (File Name Portability): Detail which constraints are inapplicable
27630 to all GNU systems and which are only inapplicable to GNU/Hurd.
27631 * manual/job.texi: Likewise.
27632 * manual/llio.texi: Likewise.
27633 (O_NOCTTY): Document as present on GNU/Linux.
27634 * manual/maint.texi: Likewise.
27635 * manual/memory.texi: Likewise.
27636 * manual/pattern.texi: Likewise.
27637 * manual/pipe.texi: Likewise.
27638 * manual/process.texi: Likewise.
27639 * manual/resource.texi: Likewise.
27640 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27642 * manual/setjmp.texi: Likewise.
27643 * manual/signal.texi: Likewise.
27644 * manual/startup.texi: Likewise.
27645 * manual/stdio.texi: Likewise.
27646 * manual/terminal.texi: Likewise.
27647 (ONLCR): Document as POSIX.
27648 (OXTABS): Document availability on GNU/Linux as XTABS.
27649 (ONOEOT): Document availability separately from other bits.
27650 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27651 * manual/time.texi: Likewise.
27652 * manual/users.texi: Likewise.
27653 * INSTALL: Regenerated.
27654 * sysdeps/gnu/errlist.c: Regenerated.
27656 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27657 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27658 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27660 * configure: Regenerated.
27662 2012-03-07 Joseph Myers <joseph@codesourcery.com>
27664 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27665 default includes instead of AC_HEADER_CHECK.
27666 * sysdeps/i386/configure: Regenerated.
27669 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27670 * math/s_cacoshf.c (__cacoshf): Likewise.
27671 * math/s_cacoshl.c (__cacoshl): Likewise.
27672 * math/s_casinh.c (__casinh): Set signs of result from argument.
27673 * math/s_casinhf.c (__casinhf): Likewise.
27674 * math/s_casinhl.c (__casinhl): Likewise.
27675 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27676 (casinh_test): Add more tests.
27677 * sysdeps/i386/fpu/libm-test-ulps: Update.
27678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27680 2012-03-07 Ulrich Drepper <drepper@gmail.com>
27682 * po/zh_TW.po: Update from translation team.
27684 * login/Makefile (distribute): Remove variable.
27685 * catgets/Makefile: Likewise.
27686 * mach/Makefile: Likewise.
27687 * malloc/Makefile: Likewise.
27688 * misc/Makefile: Likewise.
27689 * iconv/Makefile: Likewise.
27690 * nscd/Makefile: Likewise.
27691 * hurd/Makefile: Likewise.
27692 * manual/Makefile: Likewise.
27693 * locale/Makefile: Likewise.
27694 * intl/Makefile: Likewise.
27695 * conform/Makefile: Likewise.
27696 * nss/Makefile: Likewise.
27697 * time/Makefile: Likewise.
27698 * soft-fp/Makefile: Likewise.
27699 * dirent/Makefile: Likewise.
27700 * gmon/Makefile: Likewise.
27701 * po/Makefile: Likewise.
27702 * rt/Makefile: Likewise.
27703 * socket/Makefile: Likewise.
27704 * math/Makefile: Likewise.
27705 * signal/Makefile: Likewise.
27706 * debug/Makefile: Likewise.
27707 * elf/Makefile: Likewise.
27708 * timezone/Makefile: Likewise.
27709 * stdlib/Makefile: Likewise.
27710 * iconvdata/Makefile: Likewise.
27711 * sunrpc/Makefile: Likewise.
27712 * io/Makefile: Likewise.
27713 * argp/Makefile: Likewise.
27714 * inet/Makefile: Likewise.
27715 * hesiod/Makefile: Likewise.
27716 * grp/Makefile: Likewise.
27717 * csu/Makefile: Likewise.
27718 * wctype/Makefile: Likewise.
27719 * crypt/Makefile: Likewise.
27720 * libio/Makefile: Likewise.
27721 * string/Makefile: Likewise.
27722 * nis/Makefile: Likewise.
27723 * resolv/Makefile: Likewise.
27724 * stdio-common/Makefile: Likewise.
27725 * wcsmbs/Makefile: Likewise.
27726 * dlfcn/Makefile: Likewise.
27727 * posix/Makefile: Likewise.
27730 * timezone/Makefile: Don't install timezone files, just the programs
27733 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27735 * nss/databases.def: Add missing gshadow entry.
27737 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27739 2012-03-06 Marek Polacek <polacek@redhat.com>
27742 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27743 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27744 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27745 * stdio-common/tst-long-dbl-fphex.c: New file.
27747 2012-03-06 David S. Miller <davem@davemloft.net>
27749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27750 (set_obp_int): New function.
27751 (get_obp_int): New function.
27752 (__get_clockfreq_via_dev_openprom): Likewise.
27753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27754 Avoid unused variable warnings on 'val' and use builtin_expect.
27755 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27757 (INLINE_CLONE_SYSCALL): Likewise.
27759 2012-03-05 David S. Miller <davem@davemloft.net>
27761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27763 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27767 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27768 only for |x| >= 40.
27769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27771 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27774 Replace gettimeofday with __vdso_gettimeofday.
27776 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27777 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27778 __vdso_clock_gettime and __vdso_getcpu.
27780 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27781 time with __vdso_time.
27783 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27785 * manual/lang.texi (size_t): Note types to which size_t may be
27786 equivalent with the GNU C Library, but do not describe when
27787 differences between them are significant.
27789 2012-03-05 Andreas Jaeger <aj@suse.de>
27791 * sysdeps/i386/fpu/libm-test-ulps: Update.
27793 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27796 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27797 (__ieee754_pow): Save and restore rounding mode and use
27798 round-to-nearest for main computations.
27799 * math/libm-test.inc (pow_test_tonearest): New function.
27800 (pow_test_towardzero): Likewise.
27801 (pow_test_downward): Likewise.
27802 (pow_test_upward): Likewise.
27803 (main): Call the new functions.
27804 * sysdeps/i386/fpu/libm-test-ulps: Update.
27805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27808 * math/libm-test.inc (cosh_test_tonearest): New function.
27809 (cosh_test_towardzero): Likewise.
27810 (cosh_test_downward): Likewise.
27811 (cosh_test_upward): Likewise.
27812 (sinh_test_tonearest): Likewise.
27813 (sinh_test_towardzero): Likewise.
27814 (sinh_test_downward): Likewise.
27815 (sinh_test_upward): Likewise.
27816 (main): Call the new functions.
27817 * sysdeps/i386/fpu/libm-test-ulps: Update.
27818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27820 2012-03-05 Tom de Vries <tom@codesourcery.com>
27822 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27823 default stack guard is set in last bytes.
27824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27826 2012-03-05 Kees Cook <keescook@chromium.org>
27828 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27831 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27832 possibly allocate from heap instead of stack.
27833 * stdio-common/bug-vfprintf-nargs.c: New file.
27834 * stdio-common/Makefile (tests): Add nargs overflow test.
27836 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27840 2012-03-03 Marek Polacek <polacek@redhat.com>
27842 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27843 * math/math_private.h: Likewise.
27844 * stdlib/tst-strtod.c: Likewise.
27845 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27846 * sysdeps/x86_64/bits/atomic.h: Likewise.
27848 2012-03-02 David S. Miller <davem@davemloft.net>
27850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27854 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27855 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27856 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27857 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27859 2012-03-02 Roland McGrath <roland@hack.frob.com>
27862 * manual/examples/README: New file, says the example source files
27863 can be used under GPL>=2.
27864 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27865 line containing just "*/".
27866 * manual/examples/add.c: Add copyright header (GPL>=2).
27867 * manual/examples/argp-ex1.c: Likewise.
27868 * manual/examples/argp-ex2.c: Likewise.
27869 * manual/examples/argp-ex3.c: Likewise.
27870 * manual/examples/argp-ex4.c: Likewise.
27871 * manual/examples/atexit.c: Likewise.
27872 * manual/examples/db.c: Likewise.
27873 * manual/examples/dir.c: Likewise.
27874 * manual/examples/dir2.c: Likewise.
27875 * manual/examples/execinfo.c: Likewise.
27876 * manual/examples/filecli.c: Likewise.
27877 * manual/examples/filesrv.c: Likewise.
27878 * manual/examples/fmtmsgexpl.c: Likewise.
27879 * manual/examples/genpass.c: Likewise.
27880 * manual/examples/inetcli.c: Likewise.
27881 * manual/examples/inetsrv.c: Likewise.
27882 * manual/examples/isockad.c: Likewise.
27883 * manual/examples/longopt.c: Likewise.
27884 * manual/examples/memopen.c: Likewise.
27885 * manual/examples/memstrm.c: Likewise.
27886 * manual/examples/mkfsock.c: Likewise.
27887 * manual/examples/mkisock.c: Likewise.
27888 * manual/examples/mygetpass.c: Likewise.
27889 * manual/examples/pipe.c: Likewise.
27890 * manual/examples/popen.c: Likewise.
27891 * manual/examples/rprintf.c: Likewise.
27892 * manual/examples/search.c: Likewise.
27893 * manual/examples/select.c: Likewise.
27894 * manual/examples/setjmp.c: Likewise.
27895 * manual/examples/sigh1.c: Likewise.
27896 * manual/examples/sigusr.c: Likewise.
27897 * manual/examples/stpcpy.c: Likewise.
27898 * manual/examples/strdupa.c: Likewise.
27899 * manual/examples/strftim.c: Likewise.
27900 * manual/examples/strncat.c: Likewise.
27901 * manual/examples/subopt.c: Likewise.
27902 * manual/examples/swapcontext.c: Likewise.
27903 * manual/examples/termios.c: Likewise.
27904 * manual/examples/testopt.c: Likewise.
27905 * manual/examples/testpass.c: Likewise.
27906 * manual/examples/timeval_subtract.c: Likewise.
27909 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27911 * manual/timeval_subtract.c.texi: ... here, new file.
27913 2012-03-02 David S. Miller <davem@davemloft.net>
27915 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27917 2012-03-02 Joseph Myers <joseph@codesourcery.com>
27920 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27921 (__sin): Save and restore rounding mode and use round-to-nearest
27922 for all computations.
27923 (__cos): Save and restore rounding mode and use round-to-nearest
27924 for all computations.
27925 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27927 (tan): Save and restore rounding mode and use round-to-nearest for
27929 * math/libm-test.inc (cos_test_tonearest): New function.
27930 (cos_test_towardzero): Likewise.
27931 (cos_test_downward): Likewise.
27932 (cos_test_upward): Likewise.
27933 (sin_test_tonearest): Likewise.
27934 (sin_test_towardzero): Likewise.
27935 (sin_test_downward): Likewise.
27936 (sin_test_upward): Likewise.
27937 (tan_test_tonearest): Likewise.
27938 (tan_test_towardzero): Likewise.
27939 (tan_test_downward): Likewise.
27940 (tan_test_upward): Likewise.
27941 (main): Call the new functions.
27942 * sysdeps/i386/fpu/libm-test-ulps: Update.
27943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27946 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27947 small n, then large n, before computing and testing k+n.
27948 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27953 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27954 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27955 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27956 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27959 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27960 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27961 * math/libm-test.inc (scalbn_test): Add more tests.
27962 (scalbln_test): Likewise.
27964 * manual/filesys.texi (mode_t): Describe constraints on size and
27965 signedness, not exact equivalence to a particular type.
27967 (ino64_t): Likewise.
27969 (nlink_t): Likewise.
27970 (blkcnt_t): Likewise.
27971 (blkcnt64_t): Likewise.
27972 * manual/llio.texi (off_t): Likewise.
27975 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27976 (__ieee754_exp): Save and restore rounding mode and use
27977 round-to-nearest for all computations.
27978 * math/libm-test.inc (exp_test_tonearest): New function.
27979 (exp_test_towardzero): Likewise.
27980 (exp_test_downward): Likewise.
27981 (exp_test_upward): Likewise.
27982 (main): Call the new functions.
27983 * sysdeps/i386/fpu/libm-test-ulps: Update.
27984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27986 2012-03-01 Chris Demetriou <cgd@google.com>
27988 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27989 have predictable order.
27991 2012-03-01 David S. Miller <davem@davemloft.net>
27993 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27995 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27996 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27997 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27998 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28000 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28001 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28002 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28004 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28005 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28006 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28007 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28008 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28013 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28014 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28016 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28017 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28018 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28023 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28024 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28025 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28026 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28027 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28029 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28030 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28032 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28033 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28034 * sysdeps/sparc/elf/configure: Regenerated.
28036 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28038 * configure.in (AS, LD): Require binutils 2.20 or later.
28039 * configure: Regenerated.
28040 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28041 as required minimum version.
28042 * INSTALL: Regenerated.
28046 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28047 before squaring exponent.
28048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28049 bottom long double and 27 bits of top long double before squaring
28051 * math/libm-test.inc (erfc_test): Add more tests.
28052 * sysdeps/i386/fpu/libm-test-ulps: Update.
28053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28056 2012-03-01 Kai Tietz <ktietz@redhat.com>
28058 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28059 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28060 containing bit-fields.
28061 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28062 * soft-fp/single.h (_FP_UNION_S): Likewise.
28063 * soft-fp/double.h (_FP_UNION_D): Likewise.
28065 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28068 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28069 not include ../strcmp.S.
28070 [USE_AS_STRNCASECMP_L]: Likewise.
28071 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28072 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28073 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28074 (__strncasecmp_l_ia32): Define as alias to
28075 __strncasecmp_l_nonascii.
28078 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28079 * sysdeps/i386/fpu/libm-test-ulps: Update.
28080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28082 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28085 2012-02-29 Jeff Law <law@redhat.com>
28087 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28088 out of bounds read.
28090 2012-02-29 Marek Polacek <polacek@redhat.com>
28093 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28094 * elf/Makefile: Add rules to run tst-unused-dep.out.
28096 2012-02-28 David S. Miller <davem@davemloft.net>
28098 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28099 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28100 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28102 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28103 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28105 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28107 * math/libm-test.inc (llround_test): Move one test from
28108 lround_test. Use TEST_f_L in moved test.
28109 (lround_test): Move misplaced test to llround_test. Add testcase
28112 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28114 * sysdeps/x86_64/fpu/e_expf.S: New file.
28115 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28117 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28120 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28121 of remain_len that may cause incomplete multi-byte character and
28123 * posix/bug-regex33.c: New file.
28124 * posix/Makefile (tests): Add bug-regex33.
28126 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28128 * manual/macros.texi: New file.
28129 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28130 * manual/libc.texinfo: Include macros.texi.
28131 * manual/creatute.texi: Likewise.
28132 * manual/install.texi: Likewise.
28133 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28134 @glibcadj{} in references to the GNU C Library.
28135 * manual/charset.texi: Likewise.
28136 * manual/conf.texi: Likewise.
28137 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28138 when not using those macros.
28139 * manual/creature.texi: Likewise.
28140 * manual/crypt.texi: Likewise.
28141 * manual/errno.texi: Likewise.
28142 * manual/filesys.texi: Likewise.
28143 * manual/header.texi: Likewise.
28144 * manual/install.texi: Likewise.
28145 * manual/intro.texi: Likewise.
28146 * manual/io.texi: Likewise.
28147 * manual/job.texi: Likewise.
28148 * manual/lang.texi: Likewise.
28149 * manual/libc.texiinfo: Likewise.
28150 * manual/llio.texi: Likewise.
28151 * manual/locale.texi: Likewise.
28152 * manual/maint.texi: Likewise.
28153 * manual/math.texi: Likewise.
28154 * manual/memory.texi: Likewise.
28155 * manual/message.texi: Likewise.
28156 * manual/nss.texi: Likewise.
28157 * manual/pattern.texi: Likewise.
28158 * manual/process.texi: Likewise.
28159 * manual/resource.texi: Likewise.
28160 * manual/search.texi: Likewise.
28161 * manual/setjmp.texi: Likewise.
28162 * manual/signal.texi: Likewise.
28163 * manual/socket.texi: Likewise.
28164 * manual/startup.texi: Likewise.
28165 * manual/stdio.texi: Likewise.
28166 * manual/string.texi: Likewise.
28167 * manual/sysinfo.texi: Likewise.
28168 * manual/syslog.texi: Likewise.
28169 * manual/terminal.texi: Likewise.
28170 * manual/time.texi: Likewise.
28171 * manual/users.texi: Likewise.
28172 * INSTALL: Regenerated.
28173 * NOTES: Regenerated.
28174 * sysdeps/gnu/errlist.c: Regenerated.
28176 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28178 * include/dirent.h: Include <dirstream.h> before
28181 2012-02-28 David S. Miller <davem@davemloft.net>
28183 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28184 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28185 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28186 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28188 2012-02-27 David S. Miller <davem@davemloft.net>
28190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28192 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28193 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28196 frame pointer instead of stack pointer relative arg slot.
28197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28198 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28199 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28201 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28204 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28206 2012-02-27 David S. Miller <davem@davemloft.net>
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28212 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28213 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28214 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28215 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28217 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28219 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28220 later. Allow versions 5-9.
28221 * configure: Regenerated.
28222 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28223 required minimum version and 4.6 as recommended version. Do not
28224 mention bugs in GCC 2.7 and 2.8.
28225 * INSTALL: Regenerated.
28227 2012-02-27 David S. Miller <davem@davemloft.net>
28229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28233 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28234 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28235 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28236 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28239 manipulate bits before adding and subtracting TWO112[sx].
28240 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28242 2012-02-27 Roland McGrath <roland@hack.frob.com>
28245 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28246 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28247 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28248 being in POSIX, because they are in 1003.1-2008.
28250 * rt/tst-aio.c: Include <fcntl.h>.
28251 * rt/tst-aio7.c: Likewise.
28252 * rt/tst-aio64.c: Likewise.
28254 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28256 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28258 * manual/install.texi (--with-headers): Describe headers as
28259 interface headers, not private headers.
28260 (Specific advice for GNU/Linux systems): Describe use of headers
28261 from "make headers_install", not private headers from older
28263 * INSTALL: Regenerated.
28264 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28266 * sysdeps/unix/sysv/linux/configure: Regenerated.
28268 * manual/llio.texi (fclean): Remove documentation.
28270 * manual/Makefile (libc-texi-generated): New variable. Include
28272 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28273 $(libc-texi-generated), not duplicated list of files.
28274 (version.texi, stamp-version): New rules.
28275 (realclean): Remove $(libc-texi-generated), not individual files
28276 from that list. Do not remove dir-add.texinfo.
28277 * manual/libc.texinfo: Comment out uses of edition numbers and
28278 references to printed manual. Remove last-updated dates.
28279 (EDITION): Comment out.
28281 (VERSION, UPDATED): Remove.
28282 (version.texi): Include.
28284 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28286 * sysdeps/posix/spawni.c: Include <signal.h>.
28287 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28288 * sysdeps/pthread/aio_fsync.c: Likewise.
28290 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28292 * conform/Makefile (tests): Run only when not cross-compiling and
28293 when fast-check is not defined.
28295 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28296 * conform/data/limits.h-data: Fixes for POSIX2008.
28297 * conform/run-conformtest.sh: Run all tests.
28298 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28300 * include/bits/dlfcn.h: Likewise.
28301 * include/langinfo.h: Likewise.
28302 * include/monetary.h: Likewise.
28303 * include/sys/poll.h: Likewise.
28305 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28307 * posix/spawn.h: Define __need_sigset_t.
28308 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28309 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28310 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28311 to get sigevent_t only.
28312 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28313 only for __USE_GNU.
28314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28315 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28316 process_vm_writev only for __USE_GNU.
28317 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28319 * conform/Makefile: For now ignore errors from run-conformtest.
28320 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28321 POSIX to avoid namespace pollution. Don't prepend headers.
28322 * conform/data/aio.h-data: Fixes for POSIX testing.
28323 * conform/data/fcntl.h-data: Likewise.
28324 * conform/data/glob.h-data: Likewise.
28325 * conform/data/grp.h-data: Likewise.
28326 * conform/data/pthread.h-data: Likewise.
28327 * conform/data/pwd.h-data: Likewise.
28328 * conform/data/signal.h-data: Likewise.
28329 * conform/data/spawn.h-data: Likewise.
28330 * conform/data/stdio.h-data: Likewise.
28331 * conform/data/stdlib.h-data: Likewise.
28332 * conform/data/stropts.h-data: Likewise.
28333 * conform/data/sys/mman.h-data: Likewise.
28334 * conform/data/sys/stat.h-data: Likewise.
28335 * conform/data/sys/types.h-data: Likewise.
28336 * conform/data/sys/wait.h-data: Likewise.
28337 * conform/data/time.h-data: Likewise.
28338 * conform/data/unistd.h-data: Likewise.
28339 * conform/data/utime.h-data: Likewise.
28341 * io/sys/stat.h: fchmod was always in POSIX.
28342 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28343 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28344 * rt/aio.h: Define __need_timespec before including <time.h>.
28345 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28346 struct. Add forward declaration of pthread_attr_t and use it in
28348 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28350 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28351 always remove CLK_TCK definition.
28353 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28355 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28357 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28359 * conform/run-conformtest.sh: New file.
28360 * conform/Makefile: Run run-conformtest for tests.
28361 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28364 * conform/data/uchar.h-data: New file.
28365 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28366 * conform/data/arpa/inet.h-data: Likewise.
28367 * conform/data/assert.h-data: Likewise.
28368 * conform/data/complex.h-data: Likewise.
28369 * conform/data/cpio.h-data: Likewise.
28370 * conform/data/ctype.h-data: Likewise.
28371 * conform/data/dirent.h-data: Likewise.
28372 * conform/data/dlfcn.h-data: Likewise.
28373 * conform/data/errno.h-data: Likewise.
28374 * conform/data/fcntl.h-data: Likewise.
28375 * conform/data/float.h-data: Likewise.
28376 * conform/data/fmtmsg.h-data: Likewise.
28377 * conform/data/fnmatch.h-data: Likewise.
28378 * conform/data/ftw.h-data: Likewise.
28379 * conform/data/glob.h-data: Likewise.
28380 * conform/data/grp.h-data: Likewise.
28381 * conform/data/iconv.h-data: Likewise.
28382 * conform/data/inttypes.h-data: Likewise.
28383 * conform/data/langinfo.h-data: Likewise.
28384 * conform/data/libgen.h-data: Likewise.
28385 * conform/data/limits.h-data: Likewise.
28386 * conform/data/locale.h-data: Likewise.
28387 * conform/data/math.h-data: Likewise.
28388 * conform/data/monetary.h-data: Likewise.
28389 * conform/data/mqueue.h-data: Likewise.
28390 * conform/data/ndbm.h-data: Likewise.
28391 * conform/data/net/if.h-data: Likewise.
28392 * conform/data/netdb.h-data: Likewise.
28393 * conform/data/netinet/in.h-data: Likewise.
28394 * conform/data/nl_types.h-data: Likewise.
28395 * conform/data/poll.h-data: Likewise.
28396 * conform/data/pthread.h-data: Likewise.
28397 * conform/data/pwd.h-data: Likewise.
28398 * conform/data/regex.h-data: Likewise.
28399 * conform/data/sched.h-data: Likewise.
28400 * conform/data/search.h-data: Likewise.
28401 * conform/data/semaphore.h-data: Likewise.
28402 * conform/data/setjmp.h-data: Likewise.
28403 * conform/data/signal.h-data: Likewise.
28404 * conform/data/spawn.h-data: Likewise.
28405 * conform/data/stdarg.h-data: Likewise.
28406 * conform/data/stdio.h-data: Likewise.
28407 * conform/data/stdlib.h-data: Likewise.
28408 * conform/data/string.h-data: Likewise.
28409 * conform/data/strings.h-data: Likewise.
28410 * conform/data/stropts.h-data: Likewise.
28411 * conform/data/sys/ipc.h-data: Likewise.
28412 * conform/data/sys/mman.h-data: Likewise.
28413 * conform/data/sys/msg.h-data: Likewise.
28414 * conform/data/sys/resource.h-data: Likewise.
28415 * conform/data/sys/select.h-data: Likewise.
28416 * conform/data/sys/sem.h-data: Likewise.
28417 * conform/data/sys/shm.h-data: Likewise.
28418 * conform/data/sys/socket.h-data: Likewise.
28419 * conform/data/sys/stat.h-data: Likewise.
28420 * conform/data/sys/statvfs.h-data: Likewise.
28421 * conform/data/sys/time.h-data: Likewise.
28422 * conform/data/sys/timeb.h-data: Likewise.
28423 * conform/data/sys/times.h-data: Likewise.
28424 * conform/data/sys/types.h-data: Likewise.
28425 * conform/data/sys/uio.h-data: Likewise.
28426 * conform/data/sys/un.h-data: Likewise.
28427 * conform/data/sys/utsname.h-data: Likewise.
28428 * conform/data/sys/wait.h-data: Likewise.
28429 * conform/data/syslog.h-data: Likewise.
28430 * conform/data/tar.h-data: Likewise.
28431 * conform/data/termios.h-data: Likewise.
28432 * conform/data/utime.h-data: Likewise.
28433 * conform/data/utmpx.h-data: Likewise.
28434 * conform/data/varargs.h-data: Likewise.
28435 * conform/data/wchar.h-data: Likewise.
28436 * conform/data/wctype.h-data: Likewise.
28437 * conform/data/wordexp.h-data: Likewise.
28439 * include/stropts.h: New file.
28440 * include/uchar.h: New file.
28441 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28442 * include/assert.h: Likewise.
28443 * include/ctype.h: Likewise.
28444 * include/dirent.h: Likewise.
28445 * include/dlfcn.h: Likewise.
28446 * include/fcntl.h: Likewise.
28447 * include/fnmatch.h: Likewise.
28448 * include/glob.h: Likewise.
28449 * include/grp.h: Likewise.
28450 * include/libio.h: Likewise.
28451 * include/locale.h: Likewise.
28452 * include/math.h: Likewise.
28453 * include/net/if.h: Likewise.
28454 * include/netdb.h: Likewise.
28455 * include/netinet/in.h: Likewise.
28456 * include/pthread.h: Likewise.
28457 * include/pwd.h: Likewise.
28458 * include/regex.h: Likewise.
28459 * include/sched.h: Likewise.
28460 * include/search.h: Likewise.
28461 * include/setjmp.h: Likewise.
28462 * include/signal.h: Likewise.
28463 * include/stdio.h: Likewise.
28464 * include/stdlib.h: Likewise.
28465 * include/string.h: Likewise.
28466 * include/sys/cdefs.h: Likewise.
28467 * include/sys/mman.h: Likewise.
28468 * include/sys/msg.h: Likewise.
28469 * include/sys/resource.h: Likewise.
28470 * include/sys/select.h: Likewise.
28471 * include/sys/socket.h: Likewise.
28472 * include/sys/stat.h: Likewise.
28473 * include/sys/statvfs.h: Likewise.
28474 * include/sys/time.h: Likewise.
28475 * include/sys/times.h: Likewise.
28476 * include/sys/uio.h: Likewise.
28477 * include/sys/utsname.h: Likewise.
28478 * include/sys/wait.h: Likewise.
28479 * include/termios.h: Likewise.
28480 * include/time.h: Likewise.
28481 * include/ulimit.h: Likewise.
28482 * include/unistd.h: Likewise.
28483 * include/utime.h: Likewise.
28484 * include/wchar.h: Likewise.
28485 * include/wctype.h: Likewise.
28486 * include/wordexp.h: Likewise.
28488 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28490 * time/time.h: TIME_UTC must be a macro.
28491 Make timespec_get available for ISO C11 only as well.
28493 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28495 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28496 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28498 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28500 * configure.in: Use -o not -a in test for unsupported multi-arch.
28502 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28504 * manual/texinfo.tex: Update to version 2012-01-19.16.
28506 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28508 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28510 2012-02-24 Roland McGrath <roland@hack.frob.com>
28513 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28514 * manual/fdl-1.3.texi: New file.
28515 * manual/fdl-1.1.texi: File removed.
28518 * manual/libc.texinfo (FDL_VERSION): New @set.
28519 Use it for mention of FDL in cover text.
28520 (Documentation License): Use it in @include file name.
28522 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28523 Roland McGrath <roland@hack.frob.com>
28526 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28527 not LONG_LONG_MAX and LONG_LONG_MIN.
28528 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28529 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28531 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28533 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28537 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28538 manipulate bits before adding and subtracting TWO23[sx].
28539 * math/libm-test.inc (nearbyint_test): Add more tests.
28541 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28544 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28545 bits before adding and subtracting TWO23[sx].
28546 * math/libm-test.inc (rint_test): Add more tests.
28547 (rint_test_tonearest): Likewise.
28548 (rint_test_towardzero): Likewise.
28549 (rint_test_downward): Likewise.
28550 (rint_test_upward: Likewise.
28552 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28555 * include/stdc-predef.h: New file. Extracted from features.h.
28556 * include/features.h: Include stdc-predef.h.
28557 * Makefile (headers): Add stdc-predef.h.
28558 * CONFORMANCE (Compiler limitations): Update.
28560 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28562 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28564 2012-02-21 David S. Miller <davem@davemloft.net>
28566 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28567 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28569 2012-02-20 David S. Miller <davem@davemloft.net>
28571 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28572 using a normal save/restore sequence, rather than allocating a
28573 dummy stack frame just to store a frame pointer and restore.
28574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28576 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28578 * manual/install.texi: Fix stray word in line-wrapped comment.
28580 2012-02-20 David S. Miller <davem@davemloft.net>
28582 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28583 both binutils and gcc support GOTDATA.
28585 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28586 "rd %pc" in the PIC register setup sequences.
28588 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28589 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28590 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28591 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28592 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28594 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28597 (SYSCALL_ERROR_HANDLER): Likewise.
28598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28599 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28601 (SYSCALL_ERROR_HANDLER): Likewise.
28603 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28604 (HAVE_GCC_GOTDATA): New.
28605 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28606 relocation support in both binutils and gcc.
28607 * sysdeps/sparc/elf/configure: Regenerate.
28609 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28610 * sysdeps/sparc/sparc32/elf/configure: Delete.
28611 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28612 * sysdeps/sparc/sparc64/elf/configure: Delete.
28613 * sysdeps/sparc/elf/configure.in: New file.
28614 * sysdeps/sparc/elf/configure: Generate.
28616 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28617 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28618 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28619 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28620 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28622 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28624 * manual/install.texi: Do not mention specific glibc version
28626 * manual/libc.texinfo (VERSION, UPDATED): Update.
28627 (@copying): Use @copyright{} and range of years.
28629 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28632 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28633 [crti.S not in sysdirs] (generated): Do not append.
28634 [crti.S not in sysdirs] (omit-deps): Likewise.
28635 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28636 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28637 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28638 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28639 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28641 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28642 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28643 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28644 * csu/defs.awk: Remove file.
28645 * sysdeps/generic/initfini.c: Likewise.
28646 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28648 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28651 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28653 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28654 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28655 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28656 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28657 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28658 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28660 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28661 (__EPOLL_PACKED): Define to empty if not defined by
28663 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28667 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28669 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28670 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28671 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28672 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28674 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28678 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28680 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28682 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28683 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28687 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28690 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28692 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28694 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28695 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28697 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28699 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28702 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28704 * math/w_acos.c: Use non-signaling floating-point comparisons.
28705 * math/w_acosf.c: Likewise.
28706 * math/w_acosh.c: Likewise.
28707 * math/w_acoshf.c: Likewise.
28708 * math/w_acoshl.c: Likewise.
28709 * math/w_acosl.c: Likewise.
28710 * math/w_asin.c: Likewise.
28711 * math/w_asinf.c: Likewise.
28712 * math/w_asinl.c: Likewise.
28713 * math/w_atanh.c: Likewise.
28714 * math/w_atanhf.c: Likewise.
28715 * math/w_atanhl.c: Likewise.
28716 * math/w_exp2.c: Likewise.
28717 * math/w_exp2f.c: Likewise.
28718 * math/w_exp2l.c: Likewise.
28719 * math/w_j0.c: Likewise.
28720 * math/w_j0f.c: Likewise.
28721 * math/w_j0l.c: Likewise.
28722 * math/w_j1.c: Likewise.
28723 * math/w_j1f.c: Likewise.
28724 * math/w_j1l.c: Likewise.
28725 * math/w_jn.c: Likewise.
28726 * math/w_jnf.c: Likewise.
28727 * math/w_log.c: Likewise.
28728 * math/w_log10.c: Likewise.
28729 * math/w_log10f.c: Likewise.
28730 * math/w_log10l.c: Likewise.
28731 * math/w_log2.c: Likewise.
28732 * math/w_log2f.c: Likewise.
28733 * math/w_log2l.c: Likewise.
28734 * math/w_logf.c: Likewise.
28735 * math/w_logl.c: Likewise.
28736 * math/w_sqrt.c: Likewise.
28737 * math/w_sqrtf.c: Likewise.
28738 * math/w_sqrtl.c: Likewise.
28739 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28741 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28742 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28743 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28745 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28748 * manual/string.texi (strnlen): Use correct parameter name in
28749 equivalent expression.
28751 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28754 * manual/users.texi (seteuid): Consistently use neweuid for
28757 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28760 * manual/nss.texi (Services in the NSS configuration): Correct
28761 list of services in example configuration file.
28763 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28766 * manual/arith.texi: Remove statements about negative zero
28767 behaving identically to zero.
28769 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28772 * manual/install.texi: Do not document upgrading from libc5.
28774 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28777 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28779 2012-02-18 David S. Miller <davem@davemloft.net>
28781 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28782 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28783 %o7 across the call.
28784 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28787 SETUP_PIC_REG_LEAF.
28788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28789 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28790 * sysdeps/sparc/crtn.S: Likewise.
28792 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28794 * aout/Makefile: Remove.
28796 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28799 * manual/examples/argp-ex1.c (main): Format definition in GNU
28801 * manual/examples/argp-ex2.c (main): Likewise.
28802 * manual/examples/argp-ex3.c (main): Likewise.
28803 * manual/examples/argp-ex4.c (main): Likewise.
28804 * manual/examples/longopt.c (main): Use new-style prototype
28806 * manual/examples/strncat.c (main): Specify return type and use
28807 (void) for arguments.
28808 * manual/examples/subopt.c (main): Use char **argv argument.
28810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28813 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28816 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28819 * manual/string.texi (strchr): Change when strchrnul is
28822 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28825 * manual/locale.texi (setlocale): Document LOCPATH.
28827 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28830 * manual/process.texi (execle): Move @dots{} before last argument.
28832 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28835 * manual/charset.texi (Generic Charset Conversion): Fix typo
28836 (LC_TYPE -> LC_CTYPE).
28838 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28841 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28842 (scalbnf): Likewise.
28843 (scalbnl): Likewise.
28844 (scalbln): Likewise.
28845 (scalblnf): Likewise.
28846 (scalblnl): Likewise.
28847 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28848 (vwarnx): Likewise.
28851 * manual/filesys.texi (telldir): Use braces around return type.
28852 * manual/llio.texi (mmap): Add space after comma.
28853 (mmap64): Likewise.
28854 * manual/math.texi (jn): Use @var{} on parameter names.
28860 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28862 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28864 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28865 (sched_get_priority_max): Likewise.
28866 * manual/signal.texi (sigvec): Add space after comma.
28867 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28869 (if_indextoname): Likewise.
28870 (if_freenameindex): Likewise.
28871 (sendto): Use ',' instead of '.' in prototype.
28872 * manual/startup.texi (syscall): Use @dots{} instead of literal
28874 * manual/stdio.texi (__fpending): Separate initial words of
28875 paragraph from @deftypefun line.
28876 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28878 (vsyslog): Use @var{} on parameter names.
28879 * manual/terminal.texi (stty): Use @var{} on parameter names.
28880 * manual/users.texi (getutmp): Use @var{} on parameter names.
28881 (getutmpx): Likewise.
28883 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28886 * manual/stdio.texi (fopen): Fix typos in description of
28889 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28892 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28893 get clock_id definition.
28895 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
28898 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28899 (madvise): Cast every argument to void on its own.
28901 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28904 * manual/startup.texi (Exit Status): Fix typo.
28906 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28909 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28910 * manual/examples/argp-ex2.c: Likewise.
28911 * manual/examples/argp-ex3.c: Likewise.
28913 2012-02-16 Richard Henderson <rth@redhat.com>
28915 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28916 * sysdeps/s390/s390-32/initfini.c: Remove.
28917 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28918 * sysdeps/s390/s390-64/initfini.c: Remove.
28920 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28922 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28923 compiler output for sysdeps/generic/initfini.c.
28924 * sysdeps/sh/elf/initfini.c: Remove file.
28926 2012-02-16 David S. Miller <davem@davemloft.net>
28929 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28931 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28932 * sysdeps/sparc/crti.S: New file.
28933 * sysdeps/sparc/crtn.S: New file.
28934 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28935 * sysdeps/sparc/sparc64/Makefile: Likewise.
28937 2012-02-15 Mike Frysinger <vapier@gentoo.org>
28940 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28942 2012-02-15 Roland McGrath <roland@hack.frob.com>
28945 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28947 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28948 (write, read, close): Likewise.
28949 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28951 2012-02-15 Joseph Myers <joseph@codesourcery.com>
28953 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28954 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28955 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28956 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28958 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28962 2012-02-14 Marek Polacek <polacek@redhat.com>
28964 * sysdeps/x86_64/crti.S: New file.
28965 * sysdeps/x86_64/crtn.S: New file.
28966 * sysdeps/x86_64/elf/initfini.c: Remove file.
28968 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28970 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28971 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28972 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28973 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28975 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28979 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28981 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28982 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28983 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28984 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28986 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28990 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28992 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28993 __feraiseexcept instead of feraiseexcept.
28995 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28996 nanosleep invocations.
28997 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28998 strings, and add error checking for a nanosleep invocations.
29000 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29002 Replace FSF snail mail address with URLs, as per GNU coding standards.
29003 Most of the snail mail addresses were wrong anyway, and omitting
29004 them makes the source code easier to maintain. Almost all of the
29005 changes are to license notices and to locale LC_IDENTIFICATION
29006 addresses, except for this one:
29007 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29008 not its snail mail address.
29010 2012-02-09 Richard Henderson <rth@twiddle.net>
29012 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29013 of kernel-features.h.
29015 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29017 2012-02-08 Marek Polacek <polacek@redhat.com>
29019 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29020 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29021 * sysdeps/gnu/_G_config.h: Likewise.
29022 * sysdeps/generic/_G_config.h: Likewise.
29024 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29026 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29030 * sysdeps/powerpc/powerpc32/crti.S: New file.
29031 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29032 * sysdeps/powerpc/powerpc64/crti.S: New file.
29033 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29035 * Makeconfig (have-initfini): Don't set.
29036 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29037 * configure.in (nopic_initfini): Don't substitute.
29038 * config.h.in (HAVE_INITFINI): Don't #undef.
29039 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29040 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29042 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29044 Support crti.S and crtn.S provided directly by architectures.
29045 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29046 [crti.S in sysdirs] (omit-deps): Likewise.
29047 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29048 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29049 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29050 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29051 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29052 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29053 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29054 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29055 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29056 compiler output for sysdeps/generic/initfini.c.
29057 * sysdeps/i386/elf/Makefile: Remove file.
29058 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29060 2012-02-07 Marek Polacek <polacek@redhat.com>
29062 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29063 * sysdeps/gnu/_G_config.h: Likewise.
29064 * sysdeps/mach/hurd/_G_config.h: Likewise.
29066 2012-02-07 Marek Polacek <polacek@redhat.com>
29068 * math/Makefile (tests): Add tst-CMPLX2.
29069 * math/tst-CMPLX2.c: New file.
29071 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29073 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29075 * math/libm-test.inc (jn_test): Add missing L suffix.
29077 2012-02-06 Marek Polacek <polacek@redhat.com>
29079 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29080 * sysdeps/i386/fpu/e_powf.S: Likewise.
29081 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29082 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29083 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29084 * sysdeps/i386/fpu/e_pow.S: Likewise.
29085 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29086 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29087 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29088 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29089 * sysdeps/i386/fpu/e_log2.S: Likewise.
29090 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29091 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29092 * sysdeps/i386/fpu/e_powl.S: Likewise.
29093 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29094 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29095 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29096 * sysdeps/i386/fpu/e_logl.S: Likewise.
29097 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29098 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29099 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29100 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29101 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29102 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29103 * sysdeps/i386/fpu/e_log.S: Likewise.
29104 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29105 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29106 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29107 * sysdeps/i386/fpu/e_logf.S: Likewise.
29108 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29109 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29110 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29111 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29112 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29113 * sysdeps/i386/fpu/e_log10.S: Likewise.
29114 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29115 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29116 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29117 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29118 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29119 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29120 * sysdeps/i386/asm-syntax.h: Likewise.
29121 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29122 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29123 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29124 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29125 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29126 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29127 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29128 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29129 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29130 * sysdeps/powerpc/sysdep.h: Likewise.
29131 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29132 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29134 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29137 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29139 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29141 * sysdeps/i386/sysdep.h: Include <features.h>.
29142 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29145 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29147 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29149 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29152 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29154 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29155 (SETUP_PIC_REG): Use GET_PC_THUNK.
29156 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29159 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29161 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29162 for non-PIC compilation.
29163 (SETUP_PIC_REG): Add .p2align directive.
29164 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29165 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29166 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29167 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29168 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29169 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29170 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29171 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29172 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29173 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29174 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29175 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29176 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29177 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29178 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29179 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29180 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29181 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29182 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29183 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29184 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29185 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29186 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29187 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29190 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29192 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29193 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29194 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29195 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29196 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29197 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29198 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29199 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29200 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29201 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29202 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29203 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29204 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29206 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29208 * math/tst-CMPLX.c: Include <stdio.h>.
29210 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29212 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29214 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29215 * sysdeps/sparc/bits/mathdef.h: Likewise.
29217 2012-01-31 Marek Polacek <polacek@redhat.com>
29219 * libio/libio.h: Don't define _PARAMS.
29220 * locale/programs/config.h: Don't define PARAMS.
29221 * stdlib/strtol_l.c: Likewise.
29222 (__strtol_l): Remove PARAMS from the prototype.
29224 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29226 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29227 names. Just use the correct names. Remove unnecessary wrapper
29229 * malloc/arena.c: Likewise.
29230 * malloc/hooks.c: Likewise.
29232 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29233 ARENA_TEST says not to. Simplify test for creation of a new arena.
29234 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29236 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29238 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29240 (update_get_addr): New function.
29241 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29242 GET_ADDR_MODULE parameter.
29244 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29246 * crypt/cert.c: Remove __STDC__ conditionals.
29247 * crypt/crypt-entry.c: Likewise.
29248 * crypt/crypt_util.c: Likewise.
29249 * libio/filedoalloc.c: Likewise.
29250 * libio/fileops.c: Likewise.
29251 * libio/genops.c: Likewise.
29252 * libio/iofclose.c: Likewise.
29253 * libio/iofdopen.c: Likewise.
29254 * libio/iofopen.c: Likewise.
29255 * libio/iofopen64.c: Likewise.
29256 * libio/iogetdelim.c: Likewise.
29257 * libio/iopopen.c: Likewise.
29258 * libio/obprintf.c: Likewise.
29259 * libio/oldfileops.c: Likewise.
29260 * libio/oldiofclose.c: Likewise.
29261 * libio/oldiofdopen.c: Likewise.
29262 * libio/oldiofopen.c: Likewise.
29263 * libio/oldiopopen.c: Likewise.
29264 * libio/wfiledoalloc.c: Likewise.
29265 * libio/wgenops.c: Likewise.
29266 * locale/programs/xmalloc.c: Likewise.
29267 * misc/syslog.c: Likewise.
29268 * stdio-common/xbug.c: Likewise.
29269 * string/memchr.c: Likewise.
29270 * string/memcmp.c: Likewise.
29271 * string/memrchr.c: Likewise.
29272 * string/rawmemchr.c: Likewise.
29273 * sysdeps/posix/getcwd.c: Likewise.
29274 * time/strftime_l.c: Likewise.
29276 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29278 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29279 * config.make.in (config-cflags-sse2avx): Define.
29280 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29283 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29285 * scripts/config.guess: Update from upstream config git repository.
29286 * scripts/config.sub: Likewise.
29288 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29290 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29292 (R_TILEPRO_*, R_TILEGX_*): New macros.
29294 * scripts/firstversions.awk: Fix bug in version range handling.
29296 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29298 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29300 * include/sys/epoll.h: New file.
29301 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29304 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29306 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29307 Avoid unnecessary __WORDSIZE == 64 test.
29308 (fmaxf): Use VEX format if possible.
29313 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29314 * math/math_private.h: Remove libc_fegetround* and
29316 * sysdeps/i386/configure.in: Check for -msse2avx.
29317 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29318 also if SSE2AVX is defined.
29319 Remove libc_fegetround* and libc_fesetround*.
29320 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29321 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29324 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29325 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29326 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29327 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29328 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29330 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29332 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29334 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29336 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29338 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29341 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29343 * Makeconfig (libm): Define.
29344 * elf/Makefile: Add rules to build and run tst-relsort1.
29345 * elf/tst-relsort1.c: New file.
29346 * elf/tst-relsort1mod1.c: New file.
29347 * elf/tst-relsort1mod2.c: New file.
29349 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29351 * math/s_ldexp.c: Remove __STDC__ conditionals.
29352 * math/s_ldexpf.c: Likewise.
29353 * math/s_ldexpl.c: Likewise.
29354 * math/s_nextafter.c: Likewise.
29355 * math/s_nexttowardf.c: Likewise.
29356 * math/s_significand.c: Likewise.
29357 * math/s_significandf.c: Likewise.
29358 * math/s_significandl.c: Likewise.
29359 * math/w_jnl.c: Likewise.
29360 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29361 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29362 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29363 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29364 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29366 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29367 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29368 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29369 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29370 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29371 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29372 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29374 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29375 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29376 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29377 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29379 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29380 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29381 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29382 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29383 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29384 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29385 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29386 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29387 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29388 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29389 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29390 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29391 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29392 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29393 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29394 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29395 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29396 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29397 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29398 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29399 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29400 * sysdeps/ieee754/k_standard.c: Likewise.
29401 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29402 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29403 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29405 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29410 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29431 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29452 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29462 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29464 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29467 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29468 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29469 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29470 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29475 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29476 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29480 * sysdeps/ieee754/s_matherr.c: Likewise.
29481 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29482 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29486 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29488 * crypt/md5.h: Remove __STDC__ conditionals.
29489 * libio/libioP.h: Likewise.
29490 * locale/programs/config.h: Likewise.
29491 * sysdeps/generic/sysdep.h: Likewise.
29492 * sysdeps/i386/asm-syntax.h: Likewise.
29493 * sysdeps/s390/asm-syntax.h: Likewise.
29494 * sysdeps/unix/sysdep.h: Likewise.
29495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29498 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29500 * libio/libio.h: Remove __STDC__ conditionals.
29501 * malloc/obstack.h: Likewise.
29502 * math/complex.h: Likewise.
29503 * math/math.h: Likewise.
29504 * sysdeps/generic/_G_config.h: Likewise.
29505 * sysdeps/gnu/_G_config.h: Likewise.
29506 * sysdeps/mach/hurd/_G_config.h: Likewise.
29507 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29508 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29509 * sysdeps/sparc/bits/mathdef.h: Likewise.
29511 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29514 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29515 Clean up HAS_* macros.
29516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29517 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29519 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29521 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29522 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29523 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29524 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29525 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29527 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29529 * elf/tst-unique3.cc (gets): Remove declaration.
29530 * elf/tst-unique3lib.cc (gets): Likewise.
29531 * elf/tst-unique3lib2.cc (gets): Likewise.
29532 * elf/tst-unique4.cc (gets): Likewise.
29534 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29536 * include/stdio.h: Add C++ protection. Add gets declarations and
29538 * debug/tst-chk1.c: Don't declare gets here.
29539 * stdio-common/tst-gets.c: Likewise.
29541 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29543 * posix/glob: Remove directory.
29545 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29547 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29549 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29551 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29552 of the non-standard EPFNOSUPPORT.
29554 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29556 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29557 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29558 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29560 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29562 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29564 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29566 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29568 * nscd/grpcache.c (cache_addgr): Likewise.
29569 * nscd/hstcache.c (cache_addhst): Likewise.
29570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29571 * nscd/pwdcache.c (cache_addpw): Likewise.
29572 * nscd/servicescache.c (cache_addserv): Likewise.
29574 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29576 * malloc/malloc.c: Various cleanups.
29577 * malloc/hooks.c: Likewise.
29579 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29580 * stdlib/bug-fmtmsg1.c: New file.
29582 * stdlib/fmtmsg.c (init): Add missing unlock.
29583 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29585 2012-01-12 Marek Polacek <polacek@redhat.com>
29587 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29590 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29592 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29593 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29594 macro to ensure uniqueness of label name.
29595 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29596 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29598 2012-01-11 Ulrich Drepper <drepper@gmail.com>
29600 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29602 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29603 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29607 2012-01-10 Ulrich Drepper <drepper@gmail.com>
29609 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29611 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29612 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29613 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29615 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29617 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29618 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29619 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29620 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29622 * math/bits/math-finite.h: Add ldexp support.
29624 2012-01-10 Marek Polacek <polacek@redhat.com>
29626 * locale/programs/localedef.h (show_archive_content): Add noreturn
29629 2012-01-09 Ulrich Drepper <drepper@gmail.com>
29631 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29633 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29635 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29637 * io/Makefile (headers): Add bits/poll2.h.
29639 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29642 typo #include statement.
29644 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29646 * include/sys/cdefs.h: Define __attribute_alloc_size.
29647 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29648 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29649 * elf/pldd.c: Likewise.
29650 * iconv/iconv_charmap.c: Likewise.
29651 * iconv/iconvconfig.c: Likewise.
29652 * iconv/strtab.c: Likewise.
29653 * locale/programs/locale.c: Likewise.
29654 * locale/programs/localedef.h: Likewise.
29655 * locale/programs/simple-hash.c: Likewise.
29656 * nscd/nscd.h: Likewise.
29657 * nss/makedb.c: Likewise.
29658 * sysdeps/generic/ldconfig.h: Likewise.
29659 * locale/programs/localedef.c: Remove xmalloc prototype.
29660 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29662 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29667 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29669 * math/Makefile (tests): Add tst-CMPLX.
29670 * math/tst-CMPLX.c: New file.
29672 * math/complex.h (CMPLXL): Fix typo.
29674 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29675 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29677 * debug/tst-chk1.c: Add poll and ppoll tests.
29678 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29679 * include/sys/poll.h: Add hidden proto for ppoll.
29680 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29681 * sysdeps/mach/hurd/ppoll.c: Likewise.
29682 * io/ppoll.c: Likewise.
29683 * debug/poll_chk.c: New file.
29684 * debug/ppoll_chk.c: New file.
29685 * include/bits/poll2.h: New file.
29686 * io/bits/poll2.h: New file.
29689 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29691 * configure.in: static is always set to yes. Remove.
29692 * config.make.in: Don't set build-static.
29693 * Makeconfig: Remove use of build-static.
29694 * dlfcn/Makefile: Likewise.
29695 * elf/Makefile: Likewise.
29696 * math/Makefile: Likewise.
29697 * misc/Makefile: Likewise.
29698 * nptl/Makefile: Likewise.
29699 * sysdeps/mach/hurd/Makefile: Likewise.
29701 * configure.in: PWD_P is not used anymore.
29702 * config.make.in: Remove PWD_P entry.
29704 * configure.in: Remove last remnants of RANLIB.
29705 No need to check for signed size_t anymore.
29706 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29708 Remove __builtin_expect test because we require at least gcc 3.4.
29709 * aclocal.m4: Likewise.
29711 * wcsmbs/mbrtoc16.c: Implement using towc function.
29712 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29713 * wcsmbs/wcsmbsload.c: Likewise.
29714 * iconv/gconv_simple.c: Likewise.
29715 * iconv/gconv_int.h: Likewise.
29716 * iconv/gconv_builtin.h: Likewise.
29717 * iconv/iconv_prog.c: Remove CHAR16 handling.
29719 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29721 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29723 * configure.in: Remove --with-elf and --enable-bounded options.
29724 Dont set base_machine for ia64. More non-ELF conditions removed.
29725 Remove testing and setting of leading underscore information.
29726 * config.make.in (build-bounded): Set to no.
29727 * config.h.in: Remove NO_UNDERSCORES entry.
29728 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29730 * csu/start.c: Remove !NO_UNDERSCORE code.
29731 * locale/localeinfo.h: Likewise.
29732 * sysdeps/generic/machine-gmon.h: Likewise.
29733 * sysdeps/generic/sysdep.h: Likewise.
29734 * sysdeps/i386/sysdep.h: Likewise.
29735 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29736 * sysdeps/mach/sysdep.h: Likewise.
29737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29739 * sysdeps/sh/sysdep.h: Likewise.
29740 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29741 * sysdeps/unix/i386/sysdep.S: Likewise.
29742 * sysdeps/unix/sparc/start.c: Likewise.
29743 * sysdeps/unix/sparc/sysdep.S: Likewise.
29744 * sysdeps/unix/sparc/sysdep.h: Likewise.
29745 * sysdeps/unix/start.c: Likewise.
29746 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29747 * sysdeps/x86_64/sysdep.h: Likewise.
29749 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29752 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29754 * argp/argp-fmtstream.h: Use const instead __const.
29755 * argp/argp.h: Likewise.
29756 * assert/assert.h: Likewise.
29757 * bits/fenv.h: Likewise.
29758 * bits/sched.h: Likewise.
29759 * bits/sigset.h: Likewise.
29760 * bits/sigthread.h: Likewise.
29761 * catgets/nl_types.h: Likewise.
29762 * conform/data/pthread.h-data: Likewise.
29763 * crypt/crypt-private.h: Likewise.
29764 * crypt/crypt.h: Likewise.
29765 * crypt/crypt_util.c: Likewise.
29766 * ctype/ctype.h: Likewise.
29767 * debug/execinfo.h: Likewise.
29768 * debug/mbsnrtowcs_chk.c: Likewise.
29769 * debug/mbsrtowcs_chk.c: Likewise.
29770 * debug/wcsnrtombs_chk.c: Likewise.
29771 * debug/wcsrtombs_chk.c: Likewise.
29772 * debug/wcstombs_chk.c: Likewise.
29773 * dirent/dirent.h: Likewise.
29774 * dlfcn/dlfcn.h: Likewise.
29775 * elf/neededtest4.c: Likewise.
29776 * grp/grp.h: Likewise.
29777 * gshadow/gshadow.h: Likewise.
29778 * iconv/gconv.h: Likewise.
29779 * iconv/gconv_int.h: Likewise.
29780 * iconv/gconv_simple.c: Likewise.
29781 * iconv/iconv.h: Likewise.
29782 * iconv/loop.c: Likewise.
29783 * iconv/skeleton.c: Likewise.
29784 * include/aio.h: Likewise.
29785 * include/aliases.h: Likewise.
29786 * include/argz.h: Likewise.
29787 * include/arpa/inet.h: Likewise.
29788 * include/assert.h: Likewise.
29789 * include/dirent.h: Likewise.
29790 * include/dlfcn.h: Likewise.
29791 * include/execinfo.h: Likewise.
29792 * include/fcntl.h: Likewise.
29793 * include/fenv.h: Likewise.
29794 * include/glob.h: Likewise.
29795 * include/grp.h: Likewise.
29796 * include/libintl.h: Likewise.
29797 * include/mntent.h: Likewise.
29798 * include/netdb.h: Likewise.
29799 * include/pwd.h: Likewise.
29800 * include/rpc/netdb.h: Likewise.
29801 * include/sched.h: Likewise.
29802 * include/search.h: Likewise.
29803 * include/shadow.h: Likewise.
29804 * include/signal.h: Likewise.
29805 * include/stdio.h: Likewise.
29806 * include/stdlib.h: Likewise.
29807 * include/string.h: Likewise.
29808 * include/sys/socket.h: Likewise.
29809 * include/sys/stat.h: Likewise.
29810 * include/sys/statfs.h: Likewise.
29811 * include/sys/statvfs.h: Likewise.
29812 * include/sys/syslog.h: Likewise.
29813 * include/sys/time.h: Likewise.
29814 * include/sys/uio.h: Likewise.
29815 * include/time.h: Likewise.
29816 * include/unistd.h: Likewise.
29817 * include/utmp.h: Likewise.
29818 * include/wchar.h: Likewise.
29819 * include/wctype.h: Likewise.
29820 * inet/aliases.h: Likewise.
29821 * inet/arpa/inet.h: Likewise.
29822 * inet/netinet/ether.h: Likewise.
29823 * inet/netinet/in.h: Likewise.
29824 * intl/libintl.h: Likewise.
29825 * io/bits/fcntl2.h: Likewise.
29826 * io/fcntl.h: Likewise.
29827 * io/ftw.h: Likewise.
29828 * io/sys/poll.h: Likewise.
29829 * io/sys/stat.h: Likewise.
29830 * io/sys/statfs.h: Likewise.
29831 * io/sys/statvfs.h: Likewise.
29832 * io/utime.h: Likewise.
29833 * libio/bits/stdio.h: Likewise.
29834 * libio/bits/stdio2.h: Likewise.
29835 * libio/libio.h: Likewise.
29836 * libio/libioP.h: Likewise.
29837 * libio/stdio.h: Likewise.
29838 * locale/lc-ctype.c: Likewise.
29839 * locale/locale.h: Likewise.
29840 * login/utmp.h: Likewise.
29841 * malloc/arena.c: Likewise.
29842 * malloc/malloc.c: Likewise.
29843 * malloc/malloc.h: Likewise.
29844 * malloc/mcheck.c: Likewise.
29845 * malloc/mtrace.c: Likewise.
29846 * math/bits/mathcalls.h: Likewise.
29847 * math/fenv.h: Likewise.
29848 * math/math_private.h: Likewise.
29849 * misc/bits/error.h: Likewise.
29850 * misc/bits/syslog.h: Likewise.
29851 * misc/err.h: Likewise.
29852 * misc/error.h: Likewise.
29853 * misc/fstab.h: Likewise.
29854 * misc/mntent.h: Likewise.
29855 * misc/regexp.h: Likewise.
29856 * misc/search.h: Likewise.
29857 * misc/sgtty.h: Likewise.
29858 * misc/sys/mman.h: Likewise.
29859 * misc/sys/syslog.h: Likewise.
29860 * misc/sys/uio.h: Likewise.
29861 * misc/sys/xattr.h: Likewise.
29862 * misc/ttyent.h: Likewise.
29863 * nis/rpcsvc/ypclnt.h: Likewise.
29864 * nss/nss.h: Likewise.
29865 * posix/bits/unistd.h: Likewise.
29866 * posix/fnmatch.h: Likewise.
29867 * posix/glob.h: Likewise.
29868 * posix/sched.h: Likewise.
29869 * posix/spawn.h: Likewise.
29870 * posix/sys/wait.h: Likewise.
29871 * posix/unistd.h: Likewise.
29872 * posix/wordexp.h: Likewise.
29873 * pwd/pwd.h: Likewise.
29874 * resolv/netdb.h: Likewise.
29875 * resource/sys/resource.h: Likewise.
29876 * rt/aio.h: Likewise.
29877 * rt/bits/mqueue2.h: Likewise.
29878 * rt/mqueue.h: Likewise.
29879 * shadow/shadow.h: Likewise.
29880 * signal/signal.h: Likewise.
29881 * socket/send.c: Likewise.
29882 * socket/sendto.c: Likewise.
29883 * socket/sys/socket.h: Likewise.
29884 * stdio-common/printf.h: Likewise.
29885 * stdlib/bits/stdlib.h: Likewise.
29886 * stdlib/fmtmsg.h: Likewise.
29887 * stdlib/monetary.h: Likewise.
29888 * stdlib/stdlib.h: Likewise.
29889 * stdlib/ucontext.h: Likewise.
29890 * streams/stropts.h: Likewise.
29891 * string/argz.h: Likewise.
29892 * string/bits/string2.h: Likewise.
29893 * string/string.h: Likewise.
29894 * string/strings.h: Likewise.
29895 * sunrpc/rpc/auth.h: Likewise.
29896 * sunrpc/rpc/auth_des.h: Likewise.
29897 * sunrpc/rpc/clnt.h: Likewise.
29898 * sunrpc/rpc/netdb.h: Likewise.
29899 * sunrpc/rpc/pmap_clnt.h: Likewise.
29900 * sunrpc/rpc/xdr.h: Likewise.
29901 * sysdeps/generic/inttypes.h: Likewise.
29902 * sysdeps/generic/net/if.h: Likewise.
29903 * sysdeps/generic/sys/swap.h: Likewise.
29904 * sysdeps/gnu/net/if.h: Likewise.
29905 * sysdeps/gnu/utmpx.h: Likewise.
29906 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29907 * sysdeps/i386/i486/bits/string.h: Likewise.
29908 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29909 * sysdeps/s390/bits/string.h: Likewise.
29910 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29911 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29912 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29913 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29914 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29915 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29916 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29917 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29918 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29919 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29920 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29921 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29922 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29923 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29924 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29925 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29926 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29928 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29929 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29931 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29932 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29933 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29934 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29935 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29936 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29937 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29938 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29939 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29940 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29941 * sysvipc/sys/ipc.h: Likewise.
29942 * sysvipc/sys/msg.h: Likewise.
29943 * sysvipc/sys/sem.h: Likewise.
29944 * sysvipc/sys/shm.h: Likewise.
29945 * termios/termios.h: Likewise.
29946 * time/sys/time.h: Likewise.
29947 * time/time.h: Likewise.
29948 * wcsmbs/bits/wchar2.h: Likewise.
29949 * wcsmbs/uchar.h: Likewise.
29950 * wcsmbs/wchar.h: Likewise.
29951 * wctype/wctype.h: Likewise.
29954 * Makeconfig: Remove all but ELF support including AIX support.
29955 * Makerules: Likewise.
29956 * config.h.in: Likewise.
29957 * config.make.in: Likewise.
29958 * configure: Likewise.
29959 * configure.in: Likewise.
29960 * csu/Makefile: Likewise.
29961 * csu/version.c: Likewise.
29962 * debug/Makefile: Likewise.
29963 * dlfcn/Makefile: Likewise.
29964 * elf/Makefile: Likewise.
29965 * extra-lib.mk: Likewise.
29966 * iconv/Makefile: Likewise.
29967 * include/libc-symbols.h: Likewise.
29968 * include/shlib-compat.h: Likewise.
29969 * resolv/Makefile: Likewise.
29970 * resolv/res_libc.c: Likewise.
29971 * rt/Makefile: Likewise.
29972 * sysdeps/i386/asm-syntax.h: Likewise.
29973 * sysdeps/i386/sysdep.h: Likewise.
29974 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29975 * sysdeps/mach/sysdep.h: Likewise.
29976 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29977 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29978 * sysdeps/s390/asm-syntax.h: Likewise.
29979 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29980 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29981 * sysdeps/sh/sysdep.h: Likewise.
29982 * sysdeps/unix/sparc/sysdep.h: Likewise.
29983 * sysdeps/wordsize-32/divdi3.c: Likewise.
29984 * sysdeps/x86_64/sysdep.h: Likewise.
29986 * argp/Versions: Remove _argp_unlock_xxx.
29989 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29990 * abilist/libBrokenLocale.abilist: Likewise.
29991 * abilist/libanl.abilist: Likewise.
29992 * abilist/libc.abilist: Likewise.
29993 * abilist/libcrypt.abilist: Likewise.
29994 * abilist/libdl.abilist: Likewise.
29995 * abilist/libm.abilist: Likewise.
29996 * abilist/libnsl.abilist: Likewise.
29997 * abilist/libpthread.abilist: Likewise.
29998 * abilist/libresolv.abilist: Likewise.
29999 * abilist/librt.abilist: Likewise.
30000 * abilist/libthread_db.abilist: Likewise.
30001 * abilist/libutil.abilist: Likewise.
30002 * abilist/libnss_db.abilist: New file.
30004 * scripts/abilist.awk: Add support for indirect functions.
30006 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30008 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30010 * shlib-versions: Remove entries for ports architectures.
30012 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30014 * elf/stackguard-macros.h: Remove support for IA-64.
30015 * elf/tst-auditmod1.c: Likewise.
30016 * sysdeps/generic/ldsodefs.h: Likewise.
30018 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30019 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30023 * configure.in: Remove --enable-omitfp support.
30025 * config.make.in: Likewise.
30026 * Makeconfig: Likewise.
30027 * manual/install.texi: Likewise.
30029 In case anyone cares, the IA-64 architecture could move to ports.
30030 * sysdeps/ia64/*: Removed.
30031 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30032 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30035 * configure.in: Remove entries for unsupported architectures.
30038 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30039 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30041 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30042 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30043 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30044 fall back to using wcrtomb.
30045 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30046 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30048 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30049 * wcsmbs/tst-c16c32-1.c: New file.
30051 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30054 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30056 * elf/tst-unique3.cc: Add explicit declaration of gets.
30057 * elf/tst-unique3lib.cc: Likewise.
30058 * elf/tst-unique3lib2.cc: Likewise.
30059 * elf/tst-unique4.cc: Likewise.
30061 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30063 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30066 * assert/assert.h (static_assert): Don't define for C++.
30067 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30068 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30070 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30072 * iconv/loop.c (single loop): Fix assertion in storing of
30075 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30077 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30079 * posix/getconf.c: Update copyright year.
30080 * nss/getent.c: Likewise.
30081 * nss/makedb.c: Likewise.
30082 * iconv/iconvconfig.c: Likewise.
30083 * iconv/iconv_prog.c: Likewise.
30084 * elf/ldconfig.c: Likewise.
30085 * elf/pldd.c: Likewise.
30086 * elf/sotruss.ksh: Likewise.
30087 * catgets/gencat.c: Likewise.
30088 * csu/version.c: Likewise.
30089 * elf/ldd.bash.in: Likewise.
30090 * elf/sprof.c (print_version): Likewise.
30091 * locale/programs/locale.c: Likewise.
30092 * locale/programs/localedef.c: Likewise.
30093 * login/programs/pt_chown.c: Likewise.
30094 * nscd/nscd.c (print_version): Likewise.
30095 * debug/xtrace.sh: Likewise.
30096 * malloc/memusage.sh: Likewise.
30097 * malloc/mtrace.pl: Likewise.
30098 * debug/catchsegv.sh: Likewise.
30100 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30102 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30105 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30108 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30109 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30111 * iconv/gconv_int.h: Likewise.
30112 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30113 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30114 from libc for GLIBC_2.16.
30115 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30116 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30117 * wcsmbs/uchar.h: Really define mbstate_t.
30118 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30119 * wcsmbs/c16rtomb.c: New file.
30120 * wcsmbs/mbrtoc16.c: New file.
30121 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30122 for C/POSIX locale.
30123 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30124 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30126 * wcsmbs/wchar.h: Add missing __restrict.
30128 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30131 * time/Makefile (routines): Add timespec_get.
30132 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30133 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30134 timespec for ISO C11.
30135 * time/timespec_get.c: New file.
30136 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30137 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30140 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30141 * stdlib/stdlib.h: Declare aligned_alloc.
30142 * Versions.def: Add GLIBC_2.16 for libc.
30143 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30146 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30149 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30153 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30156 * assert/assert.h (static_assert): Define.
30158 * version.h: Update for 2.16 development version.
30161 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30164 * version.h (RELEASE): Bump for 2.15 release.
30165 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30167 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30168 Patch by Marek Polacek <mpolacek@redhat.com>.
30170 * bits/byteswap.h: Protect long long constants with __extension__.
30171 * sysdeps/i386/bits/byteswap.h: Likewise.
30172 * sysdeps/ia64/bits/byteswap.h: Likewise.
30173 * sysdeps/s390/bits/byteswap.h: Likewise.
30174 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30176 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30180 destination buffer.
30181 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30183 2011-12-23 Marek Polacek <polacek@redhat.com>
30185 * elf/dl-addr.c (determine_info): Add inline keyword.
30186 * elf/tst-auditmod4b.c (check_avx): Likewise.
30187 * elf/tst-auditmod6b.c (check_avx): Likewise.
30188 * elf/tst-auditmod6c.c (check_avx): Likewise.
30189 * elf/tst-auditmod7b.c (check_avx): Likewise.
30191 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30193 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30196 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30199 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30200 processing for last bytes.
30202 2011-08-06 Bruno Haible <bruno@clisp.org>
30205 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30206 U+0385, not to U+1FEE.
30209 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30210 entry for U+00A5 U+0301.
30212 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30215 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30216 buffer for the output is too small.
30218 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30222 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30223 SSE flags if possible.
30225 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30228 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30229 processing for last bytes.
30231 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30233 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30234 (syscall-list-default-options, syscall-list-default-condition)
30235 (syscall-list-includes): Define.
30236 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30237 list of ABIs and options and #if conditions for each ABI. Do not
30238 handle common syscalls between ABIs specially.
30239 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30241 (syscall-list-variants, syscall-list-32bit-options)
30242 (syscall-list-32bit-condition, syscall-list-64bit-options)
30243 (syscall-list-64bit-condition): Define.
30244 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30245 (syscall-list-variants, syscall-list-32bit-options)
30246 (syscall-list-32bit-condition, syscall-list-64bit-options)
30247 (syscall-list-64bit-condition): Define.
30248 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30250 (syscall-list-variants, syscall-list-32bit-options)
30251 (syscall-list-32bit-condition, syscall-list-64bit-options)
30252 (syscall-list-64bit-condition): Define.
30253 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30255 (syscall-list-variants, syscall-list-32bit-options)
30256 (syscall-list-32bit-condition, syscall-list-64bit-options)
30257 (syscall-list-64bit-condition): Define.
30259 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30261 * locale/iso-639.def: Add brx entry.
30264 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30265 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30267 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30268 __feraiseexcept_renamed.
30270 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30273 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30274 EPOLLET with unsigned values.
30275 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30276 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30278 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30279 to large cancellation.
30280 * math/s_cacoshf.c: Likewise.
30281 * math/s_cacoshl.c: Likewise.
30283 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30287 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30288 * math/s_cacoshf.c: Likewise.
30289 * math/s_cacoshl.c: Likewise.
30291 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30294 * iconv/gconv.h: Define __GCONV_SWAP.
30295 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30296 * iconvdata/utf-16.c: Likewise.
30297 * iconvdata/utf-32.c: Likewise.
30299 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30302 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30303 numerator after shifting it by one limb.
30305 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30307 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30308 under [__USE_EXTERN_INLINES].
30310 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30313 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30315 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30317 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30318 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30320 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30321 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30322 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30323 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30324 for strncasecmp/strncasecmp_l compilation.
30325 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30326 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30328 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30331 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30334 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30337 * time/tzfile.c (__tzfile_read): Check values from file header.
30339 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30341 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30342 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30343 * powerpc/powerpc32/dl-start.S: Likewise.
30344 * powerpc/powerpc32/elf/start.S: Likewise.
30345 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30346 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30347 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30348 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30349 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30350 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30351 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30352 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30353 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30354 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30355 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30356 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30357 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30358 * powerpc/powerpc32/memset.S: Likewise.
30359 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30360 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30361 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30362 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30363 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30364 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30365 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30366 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30367 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30368 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30369 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30370 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30371 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30373 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30375 * math/libm-test.inc: Added more nearbyint tests.
30376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30377 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30379 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30381 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30383 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30386 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30388 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30389 Add wcscpy-ssse3 wcscpy-c.
30390 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30391 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30392 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30393 * sysdeps/x86_64/wcschr.S: New file.
30394 * sysdeps/x86_64/wcsrchr.S: New file.
30395 * string/test-strcmp.c: Remove checking of wcscmp function for
30397 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30398 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30399 wcsrchr-sse2 wcsrchr-c.
30400 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30401 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30402 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30403 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30404 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30405 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30406 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30407 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30408 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30409 * wcsmbc/wcschr.c (WCSCHR): New macro.
30411 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30413 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30414 * wcsmbs/test-wcsrchr.c: New file.
30415 * string/test-strrchr.c: Add wcsrchr support.
30417 * wcsmbs/test-wcscpy.c: New file.
30418 * string/test-strcpy.c: Add wcscpy support.
30421 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30423 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30426 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30429 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30431 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30433 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30434 Minor optimizations.
30436 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30437 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30438 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30440 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30442 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30443 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30444 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30445 for gcc to avoid warnings.
30446 * inet/Makefile (tests): Add tst-checks.
30447 * inet/tst-checks.c: New file.
30449 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30452 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30455 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30456 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30458 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30460 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30462 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30465 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30467 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30469 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30470 conditional on GCC version.
30471 (__arch_compare_and_exchange_val_8_acq)
30472 (__arch_compare_and_exchange_val_16_acq)
30473 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30474 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30475 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30477 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30479 * sysdeps/sh/backtrace.c: New file.
30481 2011-12-02 Andreas Schwab <schwab@redhat.com>
30483 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30486 2011-12-01 Andreas Schwab <schwab@redhat.com>
30488 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30489 falling back to utime.
30491 2011-11-30 Andreas Schwab <schwab@redhat.com>
30493 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30494 expectations for float.
30496 2011-11-29 Andreas Schwab <schwab@redhat.com>
30498 * locale/weight.h (findidx): Add parameter len.
30499 * locale/weightwc.h (findidx): Likewise.
30500 * posix/fnmatch_loop.c (FCT): Adjust caller.
30501 * posix/regcomp.c (build_equiv_class): Likewise.
30502 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30503 * posix/regexec.c (check_node_accept_bytes): Likewise.
30504 * string/strcoll_l.c (STRCOLL): Likewise.
30505 * string/strxfrm_l.c (STRXFRM): Likewise.
30507 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30509 * Makefile.in: Remove CVSOPT handling.
30510 * configure.in: Remove use of AC_REVISION.
30511 * iconvdata/Makefile (distribute): No need to filter out CVS.
30512 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30515 2011-11-16 Andreas Schwab <schwab@redhat.com>
30517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30518 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30519 [USE_AS_STRNCASECMP_L]: Likewise.
30520 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30521 NO_TLS_DIRECT_SEG_REFS.
30522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30523 Fix argument offsets for non-PIC.
30524 [USE_AS_STRNCASECMP_L]: Likewise.
30525 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30526 NO_TLS_DIRECT_SEG_REFS.
30528 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30530 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30532 * locale/loadlocale.c (_nl_load_locale): Likewise.
30534 2011-11-15 Andreas Schwab <schwab@redhat.com>
30536 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30537 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30538 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30539 (SYSCALL_GETTIME): Set errno on error.
30541 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30542 count references to noai6ai_cached.
30544 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30546 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30548 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30549 FD_CLOEXEC for /proc/self/maps.
30551 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30552 FD_CLOEXEC for /proc/meminfo.
30554 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30557 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30558 FD_CLOEXEC for given file.
30560 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30562 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30563 FD_CLOEXEC for /etc/hosts.
30564 (_gethtent): Likewise.
30566 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30568 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30569 cancellation and set FD_CLOEXEC for /etc/netgroup.
30571 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30572 reading /etc/publickey.
30574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30575 allow cancellation when reading /etc/group.
30577 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30579 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30581 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30582 when using data file.
30584 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30586 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30587 (write_nis_obj): Use "c" and "e" in fopen.
30589 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30591 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30593 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30595 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30597 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30600 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30602 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30604 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30606 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30607 file parsing and set FD_CLOEXEC.
30609 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30611 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30613 2011-11-14 Andreas Schwab <schwab@redhat.com>
30615 * malloc/arena.c (arena_get2): Don't call reused_arena when
30616 _int_new_arena failed.
30618 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30620 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30621 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30622 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30623 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30624 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30625 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30626 to compile strcasecmp and strncasecmp.
30627 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30628 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30630 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30632 2011-11-13 Ulrich Drepper <drepper@gmail.com>
30634 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30635 locale-defines.sym to gen-as-const-headers.
30636 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30637 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30639 to compile strcasecmp and strncasecmp.
30640 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30641 strcasecmp_l and strncasecmp_l.
30642 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30643 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30644 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30645 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30646 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30647 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30648 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30649 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30650 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30651 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30652 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30654 2011-11-12 Ulrich Drepper <drepper@gmail.com>
30656 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30657 result of SYSDEP_GETTIME_CPU to retval.
30658 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30659 parameter list to macro. Remove trailing semicolon. Adjust users.
30661 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30664 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30666 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30668 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30669 from unused variable.
30671 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30673 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30676 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30679 * sunrpc/rpc_prot.c (rejected): Fix case value.
30681 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30682 unsigned long long int to avoid warnings in shift.
30684 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30686 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30689 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30690 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30691 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30693 * nis/nis_table.c (nis_list): Use variable of correct type for
30694 result of __follow_path call.
30696 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30698 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30699 of math functions ceil, trunc, floor, round, and sqrt, when
30700 avaliable on the platform.
30701 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30703 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30704 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30705 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30707 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30709 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30712 2011-11-11 Roland McGrath <roland@hack.frob.com>
30714 * include/unistd.h: Fix __readlink return type.
30715 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30717 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30719 * stdlib/ucontext.h: Undo last change for makecontext.
30721 2011-11-11 Andreas Schwab <schwab@redhat.com>
30723 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30725 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30726 * setjmp/setjmp.h: Mark functions as non-leaf.
30727 * setjmp/bits/setjmp2.h: Likewise.
30728 * stdlib/ucontext.h: Likewise.
30730 2011-11-10 Andreas Schwab <schwab@redhat.com>
30732 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30733 (reused_arena): Don't check arena limit.
30734 (arena_get2): Atomically check arena limit.
30736 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30738 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30739 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30744 2011-11-07 Andreas Schwab <schwab@redhat.com>
30746 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30747 handler when locking.
30749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30750 Fix size of allocated buffer.
30752 2011-11-04 Andreas Schwab <schwab@redhat.com>
30755 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30756 declarations for long double functions.
30757 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30759 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30761 2011-11-03 Andreas Schwab <schwab@redhat.com>
30763 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30766 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30769 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30771 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30773 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30775 * include/alloca.h (stackinfo_alloca_round): Define.
30776 (extend_alloca): Use it.
30777 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30778 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30781 * scripts/check-local-headers.sh: Ignore libaudit.h.
30783 * nscd/Makefile (extra-objs): Make recursively expanded.
30785 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30787 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30790 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30791 * posix/tst-rfc3484-2.c: Likewise.
30792 * posix/tst-rfc3484-3.c: Likewise.
30794 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30796 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30798 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30799 process_vm_writev from libc using GLIBC_2.15 version.
30801 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30803 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30805 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30808 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30811 * nss/getent.c (initgroups_keys): Show error message in case no group
30814 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30815 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30816 __bump_nl_timestamp.
30817 * nscd/connections (nscd_init): When host database is served open
30818 netlink socket and request notification about configuration changes.
30819 (main_loop_poll): Track netlink file descriptor and bump timestamp
30820 in case data becomes available.
30821 (main_loop_epoll): Likewise.
30822 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30823 (database_pers_head): Add extra_data fileds.
30824 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30825 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30826 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30828 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30829 in6ai data, call __free_in6ai.
30830 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30831 Add -DHAVE_NETLINK.
30832 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30833 interface information. Reuse previous data if netlink timestamp
30835 (__bump_nl_timestamp): New function.
30836 (__free_in6ai): New function.
30838 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30840 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30841 close_not_cancel_no_status here.
30842 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30844 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30847 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30850 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30851 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30852 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30854 2011-07-03 Andreas Jaeger <aj@suse.de>
30857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30858 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30859 * math/libm-test.inc (sin_test): Add test case.
30861 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30864 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30865 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30867 * elf/chroot_canon.c (chroot_canon): Cleanups.
30869 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30872 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30873 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30875 * string/test-strchr.c: Make usable for strchrnul testing.
30876 * string/test-strchrnul.c: New file.
30877 * string/Makefile (strop-tests): Add strchrnul.
30879 * po/it.po: Update from translation team.
30880 * po/es.po: Likewise.
30882 2011-10-28 Ulrich Drepper <drepper@gmail.com>
30884 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30885 the three constants needed as parameters. Drop the others.
30886 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30887 __m128i_strloadu_tolower.
30888 Create and initialize variable zero and use it in all the places
30889 where _mm_setzero_si128 was used.
30891 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30892 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30893 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30894 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30896 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30897 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30898 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30899 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30900 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30901 __mpranred, __mptan.
30902 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30903 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30904 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30905 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30906 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30907 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30909 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30910 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30912 2011-10-28 Andreas Schwab <schwab@redhat.com>
30914 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30915 redefine if SHARED.
30916 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30919 wide char related routines to wcsmbs subdir.
30921 2011-10-27 Andreas Schwab <schwab@redhat.com>
30924 * misc/sys/cdefs.h (__THROWNL): Define.
30925 * posix/unistd.h: Use __THREADNL instead of __THREAD
30926 for memory synchronization functions.
30928 2011-10-26 Roland McGrath <roland@hack.frob.com>
30931 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30933 * manual/stdio.texi (Obstack Streams): Node removed.
30935 2011-10-26 Andreas Schwab <schwab@redhat.com>
30937 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30938 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30941 * math/math_private.h (math_force_eval): Allow non-addressable
30943 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30945 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30947 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30948 file is not needed.
30950 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30951 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30957 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30959 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30960 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30961 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30962 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30963 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30964 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30965 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30967 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30968 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30969 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30970 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30972 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30973 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30974 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30975 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30976 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30977 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30979 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30980 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30982 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30983 place. Use VEX encoding when compiling for AVX.
30985 2011-10-25 Andreas Schwab <schwab@redhat.com>
30987 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30988 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30990 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30992 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30994 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30995 useless if() expression.
30996 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31005 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31006 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31007 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31008 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31009 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31010 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31011 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31012 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31014 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31016 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31018 2011-10-25 Andreas Schwab <schwab@redhat.com>
31020 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31022 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31024 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31026 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31027 .text section. Avoid duplicate constants.
31028 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31032 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31038 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31039 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31040 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31041 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31042 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31043 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31044 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31045 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31046 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31048 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31049 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31050 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31051 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31052 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31053 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31054 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31055 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31056 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31057 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31058 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31059 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31060 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31061 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31062 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31063 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31064 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31065 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31066 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31067 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31068 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31069 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31070 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31071 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31072 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31074 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31076 * sysdeps/x86_64/dla.h: Move to ...
31077 * sysdeps/x86_64/fpu/dla.h: ...here.
31078 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31079 situations. Use __builtin_fma only for gcc 4.6 and up.
31081 * config.make.in: Add have-mfma4 entry.
31082 * configure.in: Substitute libc_cv_cc_fma4.
31083 * math/Makefile (dbl-only-routines): Add sincostab.
31084 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31085 Use __sincostab not sincos.
31086 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31088 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31093 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31094 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31095 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31096 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31099 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31101 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31102 define aliases when function name is a macro.
31103 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31104 sysdeps/ieee754/dbl-64/sincos.tbl.
31105 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31106 fma4-enabled routines.
31107 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31108 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31109 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31110 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31111 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31112 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31114 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31116 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31117 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31118 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31119 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31120 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31121 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31122 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31123 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31124 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31125 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31127 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31128 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31129 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31130 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31131 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31132 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31134 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31135 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31136 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31138 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31149 2011-10-24 Andreas Schwab <schwab@redhat.com>
31151 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31153 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31157 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31161 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31162 Remove unused variable magic_bits.
31163 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31165 * string/strnlen.c: Define and use STRNLEN macro.
31166 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31167 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31169 * wcsmbs/wcslen.c: Define and use WCSLEN.
31170 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31171 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31172 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31173 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31174 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31175 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31176 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31178 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31181 strnlen-sse2-no-bsf.
31182 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31183 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31184 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31185 Add strnlen support.
31186 (USE_AS_STRNLEN): New macro.
31187 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31188 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31189 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31190 * sysdeps/x86_64/wcslen.S: New file.
31192 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31194 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31195 XMM-moves are used for copying on small sizes.
31197 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31199 * wcsmbs/Makefile (strop-tests): Add wcschr.
31200 * wcsmbs/test-wcschr.c: New file.
31201 * string/test-strchr.c: Update.
31202 Add wcschr support.
31205 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31207 * wcsmbs/Makefile (strop-tests): Add wcslen.
31208 * wcsmbs/test-wcslen.c: New file.
31209 * string/test-strlen.c: Update.
31210 Add wcslen support.
31213 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31215 * po/it.po: Update from translation team.
31217 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31219 * sysdeps/x86_64/wcscmp.S: Update.
31220 Fix wrong comparison semantics.
31221 wcscmp shall use signed comparison not unsigned.
31222 Don't use substraction to avoid overflow bug.
31223 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31224 * wcsmbc/wcscmp.c: Likewise.
31225 * string/test-strcmp.c: Likewise.
31226 Add new tests to check cases with negative values.
31228 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31230 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31231 * sysdeps/x86_64/dla.h: ...here. New file.
31232 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31239 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31240 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31242 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31245 __ynl_finite aliases.
31247 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31251 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31253 [DLA_FMA] (EMULV): Use DLA_FMA.
31254 [DLA_FMA] (MUL12): Use EMULV.
31255 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31256 that are not needed.
31257 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31260 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31265 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31267 * math/s_nan.c: Undef __nan.
31268 * math/s_nanf.c: Undef __nanf.
31269 * math/s_nanl.c: Undef __nanl.
31270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31273 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31275 * math/s_catan.c: Add branch predictions.
31276 * math/s_catanf.c: Likewise.
31277 * math/s_catanh.c: Likewise.
31278 * math/s_catanhf.c: Likewise.
31279 * math/s_catanhl.c: Likewise.
31280 * math/s_catanl.c: Likewise.
31281 * math/s_cexp.c: Likewise.
31282 * math/s_cexpf.c: Likewise.
31283 * math/s_cexpl.c: Likewise.
31284 * math/s_clog.c: Likewise.
31285 * math/s_clog10.c: Likewise.
31286 * math/s_clog10f.c: Likewise.
31287 * math/s_clog10l.c: Likewise.
31288 * math/s_clogf.c: Likewise.
31289 * math/s_clogl.c: Likewise.
31290 * math/s_csqrt.c: Likewise.
31291 * math/s_csqrtf.c: Likewise.
31292 * math/s_csqrtl.c: Likewise.
31293 * math/s_ctanf.c: Likewise.
31294 * math/s_ctanh.c: Likewise.
31295 * math/s_ctanhf.c: Likewise.
31296 * math/s_ctanhl.c: Likewise.
31297 * math/s_ctanl.c: Likewise.
31299 * math/math_private.h: Define __nan, __nanf, __nanl.
31300 * math/s_cacosh.c: Include <math_private.h>.
31301 * math/s_cacoshl.c: Likewise.
31302 * math/s_casinh.c: Likewise.
31303 * math/s_casinhf.c: Likewise.
31304 * math/s_casinhl.c: Likewise.
31305 * math/s_ccos.c: Rely entire on ccosh.
31306 * math/s_ccosf.c: Rely entire on ccoshf.
31307 * math/s_ccosl.c: Rely entirely on ccoshl.
31308 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31309 Remove tests for FE_INVALID.
31310 * math/s_ccoshf.c: Likewise.
31311 * math/s_ccoshl.c: Likewise.
31312 * math/s_csin.c: Likewise.
31313 * math/s_csinf.c: Likewise.
31314 * math/s_csinh.c Likewise.
31315 * math/s_csinhf.c: Likewise.
31316 * math/s_csinhl.c: Likewise.
31317 * math/s_csinl.c: Likewise.
31318 * math/s_ctan.c: Likewise.
31319 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31320 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31321 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31323 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31326 compilation problems.
31328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31331 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31333 * sysdeps/i386/configure.in: Test for -mfma4 option.
31334 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31335 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31336 COMMON_CPUID_INDEX_80000001.
31337 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31338 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31339 use it if FMA3 is not supported.
31340 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31342 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31343 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31345 2011-10-20 Andreas Schwab <schwab@redhat.com>
31348 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31349 it would create a cycle with a link time dependency.
31351 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31353 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31355 * string/Makefile (strop-tests): Add rawmemchr.
31356 * string/test-rawmemchr.c: New file.
31358 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31359 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31360 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31361 when compiling str{,n}casecmp and when AVX is available. Hook up
31362 new optimized code in initializers.
31364 2011-10-19 Andreas Schwab <schwab@redhat.com>
31366 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31367 __feraiseexcept instead of feraiseexcept.
31369 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31371 * math/math_private.h: Define defaults for libc_fetestexcept and
31373 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31374 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31375 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31376 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31377 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31378 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31379 libc_fetestexcept and libc_feupdateenv.
31381 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31382 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31383 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31384 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31385 libc_feholdexcept_setround.
31387 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31388 Add s_nearbyint-c and s_nearbyintf-c.
31389 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31390 nearbyintf inlines.
31391 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31393 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31394 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31396 * math/math_private.h: Define defaults for libc_fegetround,
31397 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31398 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31399 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31401 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31402 standard functions.
31403 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31404 Remove comments and hacks for old compiler versions.
31405 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31406 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31407 libc_feholdexceptl.
31409 2011-10-18 Andreas Schwab <schwab@redhat.com>
31411 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31412 (__feraiseexcept_renamed): Add __NTH.
31413 (feraiseexcept): Add __NTH. Rename local variables to fix
31414 namespace violations.
31416 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31420 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31422 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31423 recently added interfaces.
31424 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31426 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31427 about macro parameter expansion.
31429 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31430 __NO_MATH_INLINES is defined. Cleanups.
31432 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31433 and __floorf is target has SSE4.1.
31434 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31435 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31436 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31437 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31439 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31441 (floorf): Likewise.
31443 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31445 2011-10-17 Andreas Schwab <schwab@redhat.com>
31447 * misc/sys/cdefs.h: Fix last change.
31449 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31452 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31454 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31456 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31457 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31458 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31461 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31462 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31464 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31465 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31466 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31467 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31468 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31469 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31470 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31471 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31472 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31473 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31474 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31475 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31476 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31477 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31479 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31480 ceil, ceilf, floor, floorf.
31482 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31483 Perform IRELATIVE relocations last.
31485 * elf/do-rel.h: Add another parameter nrelative, replacing the
31486 local variable with the same name. Change name of the function
31487 to end in Rel or Rela (uppercase).
31488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31489 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31490 elf_dynamic_do_##reloc function.
31492 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31494 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31495 is sufficient, at least on modern CPUs.
31497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31499 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31500 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31502 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31504 * math/bits/math-finite.h: Add entries for exp.
31505 * math/e_expl.c: Add __*_finite alias.
31506 * sysdeps/i386/fpu/e_exp.S: Likewise.
31507 * sysdeps/i386/fpu/e_expf.S: Likewise.
31508 * sysdeps/i386/fpu/e_expl.c: Likewise.
31509 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31510 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31511 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31512 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31513 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31517 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31518 is sufficient, at least on modern CPUs.
31520 * ctype/ctype-info.c (__ctype_init): Define.
31521 * include/ctype.h (__ctype_init): Declare.
31522 (__ctype_b_loc): The variable is always initialized.
31523 (__ctype_toupper_loc): Likewise.
31524 (__ctype_tolower_loc): Likewise.
31525 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31526 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31528 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31530 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31532 * configure.in: Also look in $cxxmachine/include for C++ system
31535 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31537 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31538 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31539 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31540 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31541 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31542 (USE_AS_WMEMCMP): New macro.
31544 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31545 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31546 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31547 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31549 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31550 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31551 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31552 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31553 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31554 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31555 (USE_AS_WMEMCMP): New macro.
31556 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31557 * sysdeps/string/test-memcmp.c: Update.
31558 Fix simple_wmemcmp.
31560 * wcsmbs/wmemcmp.c: Update.
31561 (WMEMCMP): New macro.
31564 2011-10-12 Andreas Jaeger <aj@suse.de>
31567 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31569 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31571 * libio/iofwide.c (do_length): Avoid warning.
31573 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31575 2011-10-14 Ulrich Drepper <drepper@gmail.com>
31577 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31579 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31580 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31581 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31582 * sysdeps/i386/i686/fpu/e_log.S: New file.
31583 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31584 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31586 * ctype/ctype.h: Add support for inlined isXXX functions when
31587 compiling C++ code.
31589 2011-10-14 Andreas Schwab <schwab@redhat.com>
31591 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31593 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31595 2011-10-13 Roland McGrath <roland@hack.frob.com>
31598 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31600 2011-10-13 Andreas Schwab <schwab@redhat.com>
31602 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31603 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31606 * sysdeps/x86_64/memrchr.S: Check for zero size.
31608 * string/stratcliff.c: Add memrchr tests.
31610 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31613 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31614 rawmemchr-sse2 rawmemchr-sse2-bsf.
31615 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31616 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31617 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31618 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31619 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31620 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31621 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31622 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31623 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31624 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31625 * string/memrchr.c (MEMRCHR): New macro.
31627 2011-10-12 Ulrich Drepper <drepper@gmail.com>
31629 Add integration with gcc's -ffinite-math-only and optimize wrapper
31631 * Versions.def: Define GLIBC_2.15 version for libm.
31632 * math/Makefile (headers): Add bits/math-finite.h.
31633 * math/bits/math-finite.h: New file.
31634 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31635 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31636 * math/e_acoshl.c: Add __*_finite alias.
31637 * math/e_acosl.c: Likewise.
31638 * math/e_asinl.c: Likewise.
31639 * math/e_atan2l.c: Likewise.
31640 * math/e_atanhl.c: Likewise.
31641 * math/e_coshl.c: Likewise.
31642 * math/e_exp10.c: Likewise.
31643 * math/e_exp10f.c: Likewise.
31644 * math/e_exp10l.c: Likewise.
31645 * math/e_exp2l.c: Likewise.
31646 * math/e_fmodl.c: Likewise.
31647 * math/e_gammal_r.c: Likewise.
31648 * math/e_hypotl.c: Likewise.
31649 * math/e_j0l.c: Likewise.
31650 * math/e_j1l.c: Likewise.
31651 * math/e_jnl.c: Likewise.
31652 * math/e_lgammal_r.c: Likewise.
31653 * math/e_log10l.c: Likewise.
31654 * math/e_log2l.c: Likewise.
31655 * math/e_logl.c: Likewise.
31656 * math/e_powl.c: Likewise.
31657 * math/e_sinhl.c: Likewise.
31658 * math/e_sqrtl.c: Likewise.
31659 * math/e_scalb.c: Completely rewritten and optimized.
31660 * math/e_scalbf.c: Likewise.
31661 * math/e_scalbl.c: Likewise.
31662 * math/w_acos.c: Likewise.
31663 * math/w_acosf.c: Likewise.
31664 * math/w_acosl.c: Likewise.
31665 * math/w_acosh.c: Likewise.
31666 * math/w_acoshf.c: Likewise.
31667 * math/w_acoshl.c: Likewise.
31668 * math/w_asin.c: Likewise.
31669 * math/w_asinf.c: Likewise.
31670 * math/w_asinl.c: Likewise.
31671 * math/w_atan2.c: Likewise.
31672 * math/w_atan2f.c: Likewise.
31673 * math/w_atan2l.c: Likewise.
31674 * math/w_atanh.c: Likewise.
31675 * math/w_atanhf.c: Likewise.
31676 * math/w_atanhl.c: Likewise.
31677 * math/w_exp10.c: Likewise.
31678 * math/w_exp10f.c: Likewise.
31679 * math/w_exp10l.c: Likewise.
31680 * math/w_fmod.c: Likewise.
31681 * math/w_fmodf.c: Likewise.
31682 * math/w_fmodl.c: Likewise.
31683 * math/w_j0.c: Likewise.
31684 * math/w_j0f.c: Likewise.
31685 * math/w_j0l.c: Likewise.
31686 * math/w_j1.c: Likewise.
31687 * math/w_j1f.c: Likewise.
31688 * math/w_j1l.c: Likewise.
31689 * math/w_jn.c: Likewise.
31690 * math/w_jnf.c: Likewise.
31691 * math/w_log.c: Likewise.
31692 * math/w_logf.c: Likewise.
31693 * math/w_logl.c: Likewise.
31694 * math/w_log10.c: Likewise.
31695 * math/w_log10f.c: Likewise.
31696 * math/w_log10l.c: Likewise.
31697 * math/w_log2.c: Likewise.
31698 * math/w_log2f.c: Likewise.
31699 * math/w_log2l.c: Likewise.
31700 * math/w_pow.c: Likewise.
31701 * math/w_powf.c: Likewise.
31702 * math/w_powl.c: Likewise.
31703 * math/w_remainder.c: Likewise.
31704 * math/w_remainderf.c: Likewise.
31705 * math/w_remainderl.c: Likewise.
31706 * math/w_scalb.c: Likewise.
31707 * math/w_scalbf.c: Likewise.
31708 * math/w_scalbl.c: Likewise.
31709 * math/w_sqrt.c: Likewise.
31710 * math/w_sqrtf.c: Likewise.
31711 * math/w_sqrtl.c: Likewise.
31712 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31713 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31715 * math/math_private.h: Declare __kernel_standard_f.
31716 * math/w_cosh.c: Remove cruft and optimize a bit.
31717 * math/w_coshf.c: Likewise.
31718 * math/w_coshl.c: Likewise.
31719 * math/w_exp2.c: Likewise.
31720 * math/w_exp2f.c: Likewise.
31721 * math/w_exp2l.c: Likewise.
31722 * math/w_hypot.c: Likewise.
31723 * math/w_hypotf.c: Likewise.
31724 * math/w_hypotl.c: Likewise.
31725 * math/w_lgamma.c: Likewise.
31726 * math/w_lgamma_r.c: Likewise.
31727 * math/w_lgammaf.c: Likewise.
31728 * math/w_lgammaf_r.c: Likewise.
31729 * math/w_lgammal.c: Likewise.
31730 * math/w_lgammal_r.c: Likewise.
31731 * math/w_sinh.c: Likewise.
31732 * math/w_sinhf.c: Likewise.
31733 * math/w_sinhl.c: Likewise.
31734 * math/w_tgamma.c: Likewise.
31735 * math/w_tgammaf.c: Likewise.
31736 * math/w_tgammal.c: Likewise.
31737 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31738 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31739 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31740 Minor optimizations. Pretty printing. Remove cruft.
31741 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31742 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31743 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31744 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31745 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31746 * sysdeps/i386/fpu/e_asin.S: Likewise.
31747 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31748 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31749 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31750 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31751 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31752 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31753 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31754 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31755 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31756 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31757 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31758 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31759 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31760 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31761 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31762 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31763 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31764 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31765 * sysdeps/i386/fpu/e_log.S: Likewise.
31766 * sysdeps/i386/fpu/e_log10.S: Likewise.
31767 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31768 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31769 * sysdeps/i386/fpu/e_log2.S: Likewise.
31770 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31771 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31772 * sysdeps/i386/fpu/e_logf.S: Likewise.
31773 * sysdeps/i386/fpu/e_logl.S: Likewise.
31774 * sysdeps/i386/fpu/e_pow.S: Likewise.
31775 * sysdeps/i386/fpu/e_powf.S: Likewise.
31776 * sysdeps/i386/fpu/e_powl.S: Likewise.
31777 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31778 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31779 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31780 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31781 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31782 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31783 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31784 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31785 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31786 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31787 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31789 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31790 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31791 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31792 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31793 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31794 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31795 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31796 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31797 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31799 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31800 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31802 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31803 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31804 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31805 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31806 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31807 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31808 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31809 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31810 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31811 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31812 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31813 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31814 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31815 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31816 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31817 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31818 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31819 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31820 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31821 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31822 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31823 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31824 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31825 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31826 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31827 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31828 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31829 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31831 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31832 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31833 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31834 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31835 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31836 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31837 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31838 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31839 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31840 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31841 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31842 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31843 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31844 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31845 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31846 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31848 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31850 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31851 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31854 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31855 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31856 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31857 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31858 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31860 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31861 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31862 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31863 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31864 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31865 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31866 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31867 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31868 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31869 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31870 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31871 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31872 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31873 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31874 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31875 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31876 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31877 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31879 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31880 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31881 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31882 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31883 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31884 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31885 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31886 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31887 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31888 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31889 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31890 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31891 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31892 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31894 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31895 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31896 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31897 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31898 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31899 (__isnanf): Likewise.
31900 (__isinf_ns): Likewise.
31901 (__isinf_nsf): Likewise.
31902 (__finite): Likewise.
31903 (__finitef): Likewise.
31904 (__ieee754_sqrt): Define as macro.
31905 (__ieee754_sqrtf): Define as macro.
31906 (__ieee754_sqrtl): Define as macro.
31907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31909 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31910 __FINITE_MATH_ONLY__ consistent.
31911 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31913 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31915 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31918 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31920 2011-10-09 Ulrich Drepper <drepper@gmail.com>
31922 * po/ja.po: Update from translation team.
31924 2011-10-08 Roland McGrath <roland@hack.frob.com>
31926 * locale/programs/locarchive.c (prepare_address_space): New function.
31927 (create_archive, enlarge_archive, open_archive): Use it.
31929 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31930 inside [SHARED], where it is used.
31932 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31934 * nss/getent.c (netgroup_keys): Remove unused variable.
31935 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31937 2011-10-08 Ulrich Drepper <drepper@gmail.com>
31939 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31940 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31942 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31943 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31944 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31945 * math/Makefile (libm-calls): Add s_isinf_ns.
31946 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31947 * math/multc3.c: Likewise.
31948 * math/s_casin.c: Likewise.
31949 * math/s_casinf.c: Likewise.
31950 * math/s_casinl.c: Likewise.
31951 * math/s_ccos.c: Likewise.
31952 * math/s_ccosf.c: Likewise.
31953 * math/s_ccosl.c: Likewise.
31954 * math/s_ctan.c: Likewise.
31955 * math/s_ctanf.c: Likewise.
31956 * math/s_ctanh.c: Likewise.
31957 * math/s_ctanhf.c: Likewise.
31958 * math/s_ctanhl.c: Likewise.
31959 * math/s_ctanl.c: Likewise.
31960 * math/w_fmod.c: Likewise.
31961 * math/w_fmodf.c: Likewise.
31962 * math/w_fmodl.c: Likewise.
31963 * math/w_remainder.c: Likewise.
31964 * math/w_remainderf.c: Likewise.
31965 * math/w_remainderl.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31967 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31968 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31970 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31971 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31972 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31973 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31975 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31977 * stdio-common/printf_fphex.c: Likewise.
31978 * stdio-common/printf_size.c: Likewise.
31980 * math/e_exp10.c: Include math_private.h using <...> not "...".
31981 * math/e_exp10f.c: Likewise.
31982 * math/e_exp10l.c: Likewise.
31983 * math/e_exp2l.c: Likewise.
31984 * math/e_j0l.c: Likewise.
31985 * math/e_j1l.c: Likewise.
31986 * math/e_jnl.c: Likewise.
31987 * math/e_lgammal_r.c: Likewise.
31988 * math/e_rem_pio2l.c: Likewise.
31989 * math/e_scalb.c: Likewise.
31990 * math/e_scalbf.c: Likewise.
31991 * math/e_scalbl.c: Likewise.
31992 * math/k_cosl.c: Likewise.
31993 * math/k_sinl.c: Likewise.
31994 * math/k_tanl.c: Likewise.
31995 * math/s_cacoshf.c: Likewise.
31996 * math/s_catan.c: Likewise.
31997 * math/s_catanf.c: Likewise.
31998 * math/s_catanh.c: Likewise.
31999 * math/s_catanhf.c: Likewise.
32000 * math/s_catanhl.c: Likewise.
32001 * math/s_catanl.c: Likewise.
32002 * math/s_ccosh.c: Likewise.
32003 * math/s_ccoshf.c: Likewise.
32004 * math/s_ccoshl.c: Likewise.
32005 * math/s_cexp.c: Likewise.
32006 * math/s_cexpf.c: Likewise.
32007 * math/s_cexpl.c: Likewise.
32008 * math/s_clog.c: Likewise.
32009 * math/s_clog10.c: Likewise.
32010 * math/s_clog10f.c: Likewise.
32011 * math/s_clog10l.c: Likewise.
32012 * math/s_clogf.c: Likewise.
32013 * math/s_clogl.c: Likewise.
32014 * math/s_csin.c: Likewise.
32015 * math/s_csinf.c: Likewise.
32016 * math/s_csinh.c: Likewise.
32017 * math/s_csinhf.c: Likewise.
32018 * math/s_csinhl.c: Likewise.
32019 * math/s_csinl.c: Likewise.
32020 * math/s_csqrt.c: Likewise.
32021 * math/s_csqrtf.c: Likewise.
32022 * math/s_csqrtl.c: Likewise.
32023 * math/s_ctan.c: Likewise.
32024 * math/s_ctanf.c: Likewise.
32025 * math/s_ctanh.c: Likewise.
32026 * math/s_ctanhf.c: Likewise.
32027 * math/s_ctanhl.c: Likewise.
32028 * math/s_ctanl.c: Likewise.
32029 * math/s_ldexp.c: Likewise.
32030 * math/s_ldexpf.c: Likewise.
32031 * math/s_ldexpl.c: Likewise.
32032 * math/s_significand.c: Likewise.
32033 * math/s_significandf.c: Likewise.
32034 * math/s_significandl.c: Likewise.
32035 * math/w_acos.c: Likewise.
32036 * math/w_acosf.c: Likewise.
32037 * math/w_acosh.c: Likewise.
32038 * math/w_acoshf.c: Likewise.
32039 * math/w_acoshl.c: Likewise.
32040 * math/w_acosl.c: Likewise.
32041 * math/w_asin.c: Likewise.
32042 * math/w_asinf.c: Likewise.
32043 * math/w_asinl.c: Likewise.
32044 * math/w_atan2.c: Likewise.
32045 * math/w_atan2f.c: Likewise.
32046 * math/w_atan2l.c: Likewise.
32047 * math/w_atanh.c: Likewise.
32048 * math/w_atanhf.c: Likewise.
32049 * math/w_atanhl.c: Likewise.
32050 * math/w_cosh.c: Likewise.
32051 * math/w_coshf.c: Likewise.
32052 * math/w_coshl.c: Likewise.
32053 * math/w_dremf.c: Likewise.
32054 * math/w_exp10.c: Likewise.
32055 * math/w_exp10f.c: Likewise.
32056 * math/w_exp10l.c: Likewise.
32057 * math/w_exp2.c: Likewise.
32058 * math/w_exp2f.c: Likewise.
32059 * math/w_fmod.c: Likewise.
32060 * math/w_fmodf.c: Likewise.
32061 * math/w_fmodl.c: Likewise.
32062 * math/w_hypot.c: Likewise.
32063 * math/w_hypotf.c: Likewise.
32064 * math/w_hypotl.c: Likewise.
32065 * math/w_j0.c: Likewise.
32066 * math/w_j0f.c: Likewise.
32067 * math/w_j0l.c: Likewise.
32068 * math/w_j1.c: Likewise.
32069 * math/w_j1f.c: Likewise.
32070 * math/w_j1l.c: Likewise.
32071 * math/w_jn.c: Likewise.
32072 * math/w_jnf.c: Likewise.
32073 * math/w_jnl.c: Likewise.
32074 * math/w_lgamma.c: Likewise.
32075 * math/w_lgamma_r.c: Likewise.
32076 * math/w_lgammaf.c: Likewise.
32077 * math/w_lgammaf_r.c: Likewise.
32078 * math/w_lgammal.c: Likewise.
32079 * math/w_lgammal_r.c: Likewise.
32080 * math/w_log.c: Likewise.
32081 * math/w_log10.c: Likewise.
32082 * math/w_log10f.c: Likewise.
32083 * math/w_log10l.c: Likewise.
32084 * math/w_log2.c: Likewise.
32085 * math/w_log2f.c: Likewise.
32086 * math/w_log2l.c: Likewise.
32087 * math/w_logf.c: Likewise.
32088 * math/w_logl.c: Likewise.
32089 * math/w_pow.c: Likewise.
32090 * math/w_powf.c: Likewise.
32091 * math/w_powl.c: Likewise.
32092 * math/w_remainder.c: Likewise.
32093 * math/w_remainderf.c: Likewise.
32094 * math/w_remainderl.c: Likewise.
32095 * math/w_scalb.c: Likewise.
32096 * math/w_scalbf.c: Likewise.
32097 * math/w_scalbl.c: Likewise.
32098 * math/w_sinh.c: Likewise.
32099 * math/w_sinhf.c: Likewise.
32100 * math/w_sinhl.c: Likewise.
32101 * math/w_sqrt.c: Likewise.
32102 * math/w_sqrtf.c: Likewise.
32103 * math/w_sqrtl.c: Likewise.
32104 * math/w_tgamma.c: Likewise.
32105 * math/w_tgammaf.c: Likewise.
32106 * math/w_tgammal.c: Likewise.
32108 * po/ja.po: Update from translation team.
32110 2011-09-29 Andreas Jaeger <aj@suse.de>
32113 * sunrpc/netname.c (netname2host): Fix logic.
32117 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32119 * math/w_remainder.c (__remainder): Likewise.
32120 * math/w_remainderf.c (__remainderf): Likewise.
32121 * math/libm-test.inc (remainder_test): Add test cases.
32123 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32125 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32128 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32130 * string/test-memcmp.c: Avoid unncessary #defines.
32131 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32133 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32135 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32136 Use new sse2 version for core i3 - i7 as it's faster
32137 than sse42 version.
32138 (bit_Prefer_PMINUB_for_stringop): New.
32139 * sysdeps/x86_64/rawmemchr.S: Update.
32140 Replace with faster SSE2 version.
32141 * sysdeps/x86_64/memrchr.S: New file.
32142 * sysdeps/x86_64/memchr.S: Update.
32143 Replace with faster SSE2 version.
32145 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32147 * elf/dl-load.c (lose): Add cast to avoid warning.
32149 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32151 * po/ca.po: Update from translation team.
32153 * inet/getnetgrent_r.c: Hook up nscd.
32154 * nscd/Makefile (routines): Add nscd_netgroup.
32155 (nscd-modules): Add netgroupcache.
32156 (CFLAGS-netgroupcache.c): Define.
32157 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32158 (cache_search): Add const to second parameter.
32159 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32161 (dbs): Add netgrdb entry.
32162 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32163 (verify_persistent_db): Handle netgrdb.
32164 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32165 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32167 (netgroup_response_header): Define.
32168 (innetgroup_response_header): Define.
32169 (datahead): Add netgroup_response_header and innetgroup_response_header
32171 * nscd/nscd.conf: Add entries for netgroup cache.
32172 * nscd/nscd.h (dbtype): Add netgrdb.
32173 (_PATH_NSCD_NETGROUP_DB): Define.
32174 (netgroup_iov_disabled): Declare.
32175 (xmalloc, xcalloc, xrealloc): Move declarations here.
32176 (cache_search): Adjust prototype.
32177 Add netgroup-related prototypes.
32178 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32179 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32180 (__nscd_innetgr): Declare.
32181 * nscd/selinux.c (perms): Use access_vector_t as element type and
32182 add netgroup-related initializers.
32183 * nscd/netgroupcache.c: New file.
32184 * nscd/nscd_netgroup.c: New file.
32185 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32186 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32187 For four parameters use innetgr.
32188 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32189 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32190 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32191 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32193 * nscd/connections.c (register_traced_file): Don't register file
32194 for disabled databases.
32196 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32198 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32200 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32201 from tree and freeing node.
32203 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32205 * nss/nsswitch.c (__nss_database_lookup): Handle
32206 nss_parse_service_list out of memory case.
32208 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32210 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32211 out of memory case.
32213 2011-10-04 Andreas Schwab <schwab@redhat.com>
32215 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32216 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32218 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32219 elf_machine_rela, elf_machine_lazy_rel.
32220 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32221 (ELF_DYNAMIC_DO_REL): Likewise.
32222 (ELF_DYNAMIC_DO_RELA): Likewise.
32223 (ELF_DYNAMIC_RELOCATE): Likewise.
32224 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32225 to ELF_DYNAMIC_DO_REL.
32226 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32227 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32228 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32230 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32231 skip_ifunc, don't call ifunc function if non-zero.
32232 (elf_machine_rela): Likewise.
32233 (elf_machine_lazy_rel): Likewise.
32234 (elf_machine_lazy_rela): Likewise.
32235 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32236 (elf_machine_lazy_rel): Likewise.
32237 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32239 (elf_machine_lazy_rel): Likewise.
32240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32242 (elf_machine_lazy_rel): Likewise.
32243 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32244 (elf_machine_lazy_rel): Likewise.
32245 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32246 (elf_machine_lazy_rel): Likewise.
32247 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32248 (elf_machine_lazy_rel): Likewise.
32249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32250 (elf_machine_lazy_rel): Likewise.
32251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32252 (elf_machine_lazy_rel): Likewise.
32253 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32254 (elf_machine_lazy_rel): Likewise.
32256 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32258 * nss/nss_files/files-init.c (_nss_files_init): Use static
32259 initialization for all the *_traced_file variables.
32261 2011-09-28 Andreas Schwab <schwab@redhat.com>
32263 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32265 2011-09-27 Roland McGrath <roland@hack.frob.com>
32268 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32270 2011-09-27 Andreas Schwab <schwab@redhat.com>
32272 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32273 Reread the line before reparsing it.
32275 2011-09-26 Andreas Schwab <schwab@redhat.com>
32277 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32279 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32280 Maxim Kuvyrkov <maxim@codesourcery.com>
32281 Joseph Myers <joseph@codesourcery.com>
32283 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32284 if needed for __stack_chk_guard.
32286 2011-09-19 Roland McGrath <roland@hack.frob.com>
32288 * sysdeps/posix/spawni.c (script_execute): Always define it.
32289 It will be optimized away if unused.
32290 (maybe_script_execute): New function.
32291 (__spawni): Call it.
32293 * Makerules: Don't include tls.make.
32294 (config-tls): Always set to thread.
32295 * tls.make.c: File removed.
32297 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32299 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32300 * config.make.in (CPPFLAGS-config): New substituted variable.
32302 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32304 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32307 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32308 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32310 2011-09-15 Roland McGrath <roland@hack.frob.com>
32312 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32313 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32315 (CALL_FAIL): Likewise.
32316 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32317 (CALL_FAIL): Macro removed.
32318 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32320 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32322 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32323 for __FINITE_MATH_ONLY__ == 1.
32325 2011-09-15 Andreas Schwab <schwab@redhat.com>
32327 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32328 __ieee754_sqrt instead of sqrt.
32329 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32330 __ieee754_sqrtf instead of sqrtf.
32331 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32332 __floorf instead of floorf.
32333 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32334 __floorf, __truncf instead of floorf, truncf.
32336 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32338 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32340 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32341 __extern_always_inline.
32342 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32345 2011-09-14 Andreas Schwab <schwab@redhat.com>
32347 * elf/rtld.c (dl_main): Also relocate in dependency order when
32348 doing symbol dependency testing.
32350 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32353 Always define `refsym'.
32355 2011-09-13 Andreas Schwab <schwab@redhat.com>
32357 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32358 (__FD_ELT): Renamed from __FDELT.
32359 * misc/bits/select2.h (__FD_ELT): Likewise.
32360 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32361 __FD_MASK instead of __FDELT, __FDMASK.
32362 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32364 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32367 * elf/Makefile (gen-ldd): Fix pattern.
32369 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32370 (init_tls): Likewise.
32372 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32374 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32376 2011-09-12 Andreas Schwab <schwab@redhat.com>
32378 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32379 `struct cmsghdr *' instead of `void *'.
32380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32383 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32385 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32387 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32388 ldd_rewrite_script.
32390 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32392 * configure.in: Remove --with-tls option.
32393 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32394 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32395 out in case it is missing.
32396 * sysdeps/ia64/elf/configure.in: Likewise.
32397 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32398 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32399 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32400 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32401 * sysdeps/sh/elf/configure.in: Likewise.
32402 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32403 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32404 * sysdeps/x86_64/elf/configure.in: Likewise.
32405 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32406 * sysdeps/mach/hurd/tls.h: Likewise.
32409 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32412 * configure.in: Fix use of AC_INIT.
32414 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32416 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32418 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32420 * malloc/hooks.c: Likewise.
32423 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32424 variables statically.
32425 (narenas): Initialize.
32426 (list_lock): Initialize.
32427 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32428 initializtion of main_arena and list_lock. Small cleanups.
32429 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32430 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32431 Add initializers to main_arena and mp_.
32432 (malloc_state): Remove pagesize member. Change all users to use
32435 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32436 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32437 is always initialized.
32439 * malloc/malloc.c: Removed unused configurations and dead code.
32440 * malloc/arena.c: Likewise.
32441 * malloc/hooks.c: Likewise.
32442 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32444 * include/tls.h: Removed. USE___THREAD must always be defined.
32445 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32446 * elf/dl-libc.c: Likewise.
32447 * elf/dl-tsd.c: Likewise.
32448 * include/errno.h: Likewise.
32449 * include/netdb.h: Likewise.
32450 * include/resolv.h: Likewise.
32451 * inet/herrno-loc.c: Likewise.
32452 * inet/herrno.c: Likewise.
32453 * malloc/arena.c: Likewise.
32454 * malloc/hooks.c: Likewise.
32455 * malloc/malloc.c: Likewise.
32456 * resolv/res-state.c: Likewise.
32457 * resolv/res_libc.c: Likewise.
32458 * sysdeps/i386/dl-machine.h: Likewise.
32459 * sysdeps/ia64/dl-machine.h: Likewise.
32460 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32461 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32462 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32463 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32464 * sysdeps/sh/dl-machine.h: Likewise.
32465 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32466 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32467 * sysdeps/unix/i386/sysdep.S: Likewise.
32468 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32469 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32473 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32474 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32479 * sysdeps/x86_64/dl-machine.h: Likewise.
32480 * tls.make.c: Likewise.
32482 * configure.in: Remove --with-__thread option. Make tests for
32483 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32484 tls_model attribute fail if no support is available. Remove
32486 * Makeconfig: Adjust for dropped configure option. All features are
32488 * Makerules: Likewise.
32489 * Versions.def: Likewise.
32490 * argp/argp-fmtstream.c: Likewise.
32491 * argp/argp-fmtstream.h: Likewise.
32492 * argp/argp-help.c: Likewise.
32493 * assert/assert.c: Likewise.
32494 * config.h.in: Likewise.
32495 * config.make.in: Likewise.
32496 * configure: Likewise.
32497 * configure.in: Likewise.
32498 * csu/Versions: Likewise.
32499 * csu/init.c: Likewise.
32500 * elf/tst-audit2.c: Likewise.
32501 * elf/tst-tls10.c: Likewise.
32502 * elf/tst-tls10.h: Likewise.
32503 * elf/tst-tls11.c: Likewise.
32504 * elf/tst-tls12.c: Likewise.
32505 * elf/tst-tls14.c: Likewise.
32506 * elf/tst-tlsmod11.c: Likewise.
32507 * elf/tst-tlsmod12.c: Likewise.
32508 * elf/tst-tlsmod13.c: Likewise.
32509 * elf/tst-tlsmod13a.c: Likewise.
32510 * elf/tst-tlsmod14a.c: Likewise.
32511 * elf/tst-tlsmod15b.c: Likewise.
32512 * elf/tst-tlsmod16a.c: Likewise.
32513 * elf/tst-tlsmod16b.c: Likewise.
32514 * elf/tst-tlsmod7.c: Likewise.
32515 * elf/tst-tlsmod8.c: Likewise.
32516 * elf/tst-tlsmod9.c: Likewise.
32517 * gmon/gmon.c: Likewise.
32518 * grp/fgetgrent_r.c: Likewise.
32519 * grp/putgrent.c: Likewise.
32520 * hurd/fopenport.c: Likewise.
32521 * include/libc-symbols.h: Likewise.
32522 * include/tls.h: Likewise.
32523 * intl/gettextP.h: Likewise.
32524 * intl/loadinfo.h: Likewise.
32525 * locale/global-locale.c: Likewise.
32526 * locale/localeinfo.h: Likewise.
32527 * mach/devstream.c: Likewise.
32528 * malloc/arena.c: Likewise.
32529 * malloc/set-freeres.c: Likewise.
32530 * misc/err.c: Likewise.
32531 * misc/getttyent.c: Likewise.
32532 * misc/mntent_r.c: Likewise.
32533 * posix/getopt.c: Likewise.
32534 * posix/wordexp.c: Likewise.
32535 * pwd/fgetpwent_r.c: Likewise.
32536 * resolv/Versions: Likewise.
32537 * resolv/res_hconf.c: Likewise.
32538 * shadow/fgetspent_r.c: Likewise.
32539 * shadow/putspent.c: Likewise.
32540 * stdio-common/printf_fphex.c: Likewise.
32541 * stdio-common/tmpfile.c: Likewise.
32542 * stdlib/abort.c: Likewise.
32543 * stdlib/fmtmsg.c: Likewise.
32544 * sunrpc/auth_unix.c: Likewise.
32545 * sunrpc/clnt_perr.c: Likewise.
32546 * sunrpc/clnt_tcp.c: Likewise.
32547 * sunrpc/clnt_udp.c: Likewise.
32548 * sunrpc/clnt_unix.c: Likewise.
32549 * sunrpc/openchild.c: Likewise.
32550 * sunrpc/svc_simple.c: Likewise.
32551 * sunrpc/svc_tcp.c: Likewise.
32552 * sunrpc/svc_udp.c: Likewise.
32553 * sunrpc/svc_unix.c: Likewise.
32554 * sunrpc/xdr.c: Likewise.
32555 * sunrpc/xdr_array.c: Likewise.
32556 * sunrpc/xdr_rec.c: Likewise.
32557 * sunrpc/xdr_ref.c: Likewise.
32558 * sunrpc/xdr_stdio.c: Likewise.
32560 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32562 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32564 2011-07-03 Andreas Jaeger <aj@suse.de>
32566 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32567 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32568 regenerate with gen-libm-tests.pl.
32570 2010-05-12 Petr Baudis <pasky@suse.cz>
32573 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32574 around j0() zero points by switching to j1().
32575 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32580 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32582 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32584 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32587 Patch in part by Pavel Roskin <proski@gnu.org>.
32590 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32592 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32593 Free memory block if necessary.
32596 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32597 be NULL. Don't lock in this case.
32599 2011-09-09 Roland McGrath <roland@hack.frob.com>
32601 * elf/elf.h (ELFOSABI_GNU): New macro.
32602 (ELFOSABI_LINUX): Define to that.
32604 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32606 * string/strncat.c (strncat): Undef the symbol in case it has been
32607 defined in bits/string.h.
32609 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32611 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32613 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32616 2011-08-17 Andreas Jaeger <aj@suse.de>
32618 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32620 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32621 Ian Lance Taylor <iant@google.com>
32623 * math/libm-test.inc (lround_test): New testcase.
32624 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32626 2011-09-08 Ulrich Drepper <drepper@gmail.com>
32628 * Makefile: Remove support for automatic cvs check-ins.
32629 * Makerules: Likewise.
32630 * config.make.in: Likewise.
32631 * configure.in: Likewise.
32632 * intl/Makefile: Likewise.
32633 * locale/Makefile: Likewise.
32634 * po/Makefile: Likewise.
32635 * posix/Makefile: Likewise.
32636 * sysdeps/gnu/Makefile: Likewise.
32637 * sysdeps/mach/hurd/Makefile: Likewise.
32638 * sysdeps/sparc/sparc32/Makefile: Likewise.
32641 * posix/Makefile (bug-regex32-ENV): Define.
32642 Patch by John Stanley <jpsinthemix@verizon.net>.
32644 * misc/Makefile (headers): Add bits/select2.h.
32645 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32646 * misc/bits/select2.h: New file.
32647 * include/bits/select2.h: New file.
32648 * debug/Makefile (routines): Add fdelt_chk.
32649 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32650 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32652 * debug/fdelt_chk.c: New file.
32654 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32655 * wcsmbs/test-wmemcmp.c: Likewise.
32656 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32657 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32659 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32661 * string/Makefile (strop-tests): Add memcmp.
32662 * string/test-wmemcmp.c: New file.
32663 * string/test-memcmp.c: Add wmemcmp support.
32665 2011-09-08 Roland McGrath <roland@hack.frob.com>
32668 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32671 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32672 garbage value in a __mach_port_mod_refs call in the cases of the
32673 task-self and thread-self ports.
32675 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32677 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32679 2011-09-08 Andreas Schwab <schwab@redhat.com>
32681 * elf/dl-load.c (lose): Check for non-null L.
32683 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32685 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32687 * elf/dl-libc.c (dlerror_run): Pass back error code from
32691 * elf/dl-load.c (lose): Free l_origin if it is valid.
32693 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32695 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32696 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32697 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32698 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32699 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32700 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32702 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32704 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32705 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32706 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32707 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32708 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32709 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32710 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32711 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32712 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32713 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32715 2011-08-15 Alan Modra <amodra@gmail.com>
32718 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32719 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32720 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32721 ppc_mcount to static-only-routines.
32722 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32724 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32725 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32727 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32729 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32730 for finite and infinity parameters.
32732 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32734 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32735 and add nop instructions for throughput optimization.
32736 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32738 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32740 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32741 aligned copy for power7 with vector-scalar instructions.
32742 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32744 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32749 2011-09-07 Andreas Schwab <schwab@redhat.com>
32752 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32755 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32757 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32758 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32759 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32760 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32763 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32765 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32766 Forgot to demangle the pointer.
32768 * sysdeps/i386/sysdep.h: Define atom_text_section.
32769 * sysdeps/x86_64/sysdep.h: Likewise.
32770 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32771 section with atom_text_section.
32772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32774 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32775 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32776 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32778 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32780 already be defined. Change to take two parameters and don't assign
32781 result to variable. Adjust all users.
32782 Define INTERNAL_GETTIME if not already defined.
32783 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32786 HAVE_CLOCK_GETTIME_VSYSCALL.
32787 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32790 gettimeofday vsyscall, just use time.
32792 2011-09-06 Andreas Schwab <schwab@redhat.com>
32794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32797 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32799 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32803 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32805 syscall if possible.
32807 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32809 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32810 e_ident. Don't pass to find_mapsXX.
32811 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32813 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32816 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32817 * sysdeps/x86_64/multiarch/strchr.S: Update.
32818 Check bit_slow_BSF bit.
32819 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32820 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32821 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32823 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32826 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32828 (tryshell): Define.
32829 (__spawni): Change last parameter to be flag. Test
32830 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32831 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32832 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32833 * posix/spawni.c: Likewise.
32834 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32835 * posix/spawnp.c: Likewise. Change normal version to use
32836 SPAWN_XFLAGS_USE_PATH.
32837 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32838 SPAWN_XFLAGS_TRY_SHELL.
32841 * posix/glob.h: Remove gcc 1.x support.
32844 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32846 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32849 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32851 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32852 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32853 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32855 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32856 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32858 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32860 * sysdeps/x86_64/wcscmp.S: New file.
32862 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32863 wcscmp-c wcscmp-sse2
32864 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32865 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32866 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32867 * wcsmbs/wcscmp.c: Allow renaming.
32869 2011-09-05 David S. Miller <davem@davemloft.net>
32871 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32872 stack slot, rather than the struct return pointer slot.
32873 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32874 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32876 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32878 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32880 * po/ja.po: Update from translation team.
32883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32884 kernel in 64-bit binaries.
32886 2011-09-01 David S. Miller <davem@davemloft.net>
32888 * elf/elf.h (HWCAP_SPARC_*): Move to..
32889 * sysdeps/sparc/sysdep.h: this new file and add new values.
32890 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32891 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32892 _DL_HWCAP_COUNT to 24.
32893 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32895 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32896 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32897 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32899 instead of magic constants.
32900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32902 2011-08-31 David S. Miller <davem@davemloft.net>
32904 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32906 Reimplement to do errno handling inline.
32907 (SYSCALL_ERROR_HANDLER): New macro.
32908 (__SYSCALL_STRING): Do not do errno handling in asm.
32909 (__CLONE_SYSCALL_STRING): Delete.
32910 (__INTERNAL_SYSCALL_STRING): Delete.
32911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32912 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32913 (PSEUDO): Reimplement to do errno handling inline.
32914 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32915 (SYSCALL_ERROR_HANDLER): New macro.
32916 (__SYSCALL_STRING): Do not do errno handling in asm.
32917 (__CLONE_SYSCALL_STRING): Delete.
32918 (__INTERNAL_SYSCALL_STRING): Delete.
32919 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32920 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32922 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32923 (inline_syscall*): Add 'err' argument.
32924 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32925 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32926 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32927 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32929 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32930 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32932 2011-08-30 Andreas Schwab <schwab@redhat.com>
32934 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32936 2011-08-29 Jiri Olsa <jolsa@redhat.com>
32938 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32941 2011-08-24 David S. Miller <davem@davemloft.net>
32943 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32945 2011-08-24 Andreas Schwab <schwab@redhat.com>
32947 * elf/Makefile: Add rules to build and run unload8 test.
32948 * elf/unload8.c: New file.
32949 * elf/unload8mod1.c: New file.
32950 * elf/unload8mod1x.c: New file.
32951 * elf/unload8mod2.c: New file.
32952 * elf/unload8mod3.c: New file.
32954 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32957 2011-08-23 David S. Miller <davem@davemloft.net>
32959 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32960 subtract stack bias.
32961 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32962 %sp not %fp in calculations.
32963 (_JMPBUF_UNWINDS_ADJ): Likewise.
32965 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32966 (aio_suspend): Call it to force an exception region around the
32967 AIO_MISC_WAIT() invocation.
32969 2011-08-23 Andreas Schwab <schwab@redhat.com>
32971 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32974 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32976 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32978 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32979 and <dl-machine.h>.
32980 (Elf64_FuncDesc): Remove.
32982 2011-08-22 David S. Miller <davem@davemloft.net>
32984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32985 sigaltstack check, add missing cfi directives.
32986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32987 missing cfi directives, and sigaltstack handling.
32989 2011-08-16 Andreas Schwab <schwab@redhat.com>
32992 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32993 object is seen twice.
32994 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32996 * elf/Makefile (distribute): Add tst-initorder2.c.
32997 (tests): Add tst-initorder2.
32998 (modules-names): Add tst-initorder2a tst-initorder2b
32999 tst-initorder2c tst-initorder2d. Add rules to build them.
33000 ($(objpfx)tst-initorder2.out): New rule.
33001 * elf/tst-initorder2.c: New file.
33002 * elf/tst-initorder2.exp: New file.
33004 2011-08-22 Andreas Schwab <schwab@redhat.com>
33006 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33008 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33009 dependencies back to end of function.
33011 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33012 $(elfobjdir)/ld.so.
33014 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33017 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33019 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33020 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33021 of __vdso_gettimeofday.
33022 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33023 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33025 (_libc_vdso_platform_setup): Remove initialization of
33026 __vdso_gettimeofday and __vdso_time.
33028 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33030 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33031 and fgetc_unlocked.
33032 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33035 * elf/dl-open.c (add_to_global): Report additions to the global scope
33036 for LD_DEBUG=scopes.
33037 (dl_open_worker): Also print scope of newly loaded dependencies.
33038 (_dl_show_scope): Indicate if there is no scope.
33041 * stdio-common/Makefile (tests): Add bug24.
33042 * stdio-common/bug24.c: New file.
33044 2011-08-19 Andreas Jaeger <aj@suse.de>
33047 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33048 non-existant file when using close-on-exec mode.
33050 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33053 the very first instruction.
33055 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33056 the CFI state in the end.
33057 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33058 inclusion of dl-trampoline.h.
33059 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33061 2011-08-19 Andreas Schwab <schwab@redhat.com>
33063 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33064 expectations for long double.
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33067 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33069 2011-08-14 David S. Miller <davem@davemloft.net>
33071 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33072 artificual limit depends upon the system page size.
33074 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33076 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33077 * resolv/Makefile: Define CFLAGS-libresolv.
33079 2011-08-17 Andreas Schwab <schwab@redhat.com>
33081 * nss/makedb.c (compute_tables): Make variables used in nested
33084 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33086 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33087 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33088 if buffer was too small.
33090 * elf/pldd.c (main): Attach to all threads in the process.
33091 Rewrite /proc handling to use *at functions.
33093 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33095 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33096 specifies first scope to show.
33097 (dl_open_worker): Update callers. Move printing scope of new
33098 object to before the relocation.
33099 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33100 * sysdeps/generic/ldsodefs.h: Update declaration.
33102 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33103 string for the scope number.
33105 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33107 * nscd/servicescache.c (cache_addserv): Make sure written is always
33110 2011-08-14 Roland McGrath <roland@hack.frob.com>
33112 * sysdeps/i386/i486/bits/atomic.h
33113 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33114 statement expression, so as to suppress "set but not used" warning.
33115 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33117 * string/strncat.c (STRNCAT): Use prototype definition.
33119 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33120 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33122 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33123 (localedef-modules): Add localedef.
33124 (locale-modules): Add locale.
33126 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33127 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33128 to avoid a warning.
33130 2011-08-14 David S. Miller <davem@davemloft.net>
33132 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33133 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33135 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33137 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33138 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33139 * elf/rtld.c (dl_main): Set l_name of vDSO.
33140 Call _dl_show_scope when DL_DEBUG_SCOPES.
33141 (process_dl_debug): Recognize scopes flag and also set it for all.
33142 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33143 Declare _dl_show_scope.
33145 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33146 (do_dlopen): Pass caller_dlopen to dl_open.
33147 (__libc_dlopen_mode): Initialize caller_dlopen.
33149 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33150 of libc. Make tolower call locale-independent. Optimize a bit by
33151 using isdigit instead of isalnum.
33152 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33154 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33156 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33157 was a dependency or dynamically loaded.
33159 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33161 * intl/l10nflist.c: Allow architecture-specific pop function.
33162 * sysdeps/x86_64/l10nflist.c: New file.
33164 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33167 2011-08-10 Andreas Schwab <schwab@redhat.com>
33169 * include/dirent.h: Add libc_hidden_proto for scandirat and
33170 scandirat64. Don't declare __scandirat64.
33171 * dirent/scandirat.c: Add libc_hidden_def.
33172 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33173 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33175 2011-08-10 David S. Miller <davem@davemloft.net>
33177 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33179 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33181 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33183 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33185 * Versions.def [libc]: Add GLIBC_2.15.
33186 * dirent/Makefile (routines): Add scandirat and scandirat64.
33187 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33189 * dirent/dirent.h: Declare scandirat and scandirat64.
33190 * dirent/scandirat.c: New file.
33191 * dirent/scandirat64.c: New file.
33192 * sysdeps/wordsize-64/scandirat.c: New file.
33193 * sysdeps/wordsize-64/scandirat64.c: New file.
33194 * dirent/opendir.c: Define opendirat.
33195 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33197 * dirent/scandir64.c: Adjust for scandir.c change.
33198 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33199 __scandirat64, and __scandir_cancel_handler.
33200 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33201 additional parameter and use openat instead of open (outside of ld.so).
33202 Add new __opendir as wrapper around __opendirat.
33203 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33204 here without requiring old scandirat implementation.
33206 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33208 * dirent/scandir.c (cancel_handler): Renamed to
33209 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33210 defined. Adjust users.
33211 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33212 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33214 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33216 * string/test-string.h (IMPL): Use __STRING to expand name and then
33219 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33222 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33224 * string/Makefile: Update.
33225 (strop-tests): Append strncat.
33226 * string/test-wcscmp.c: New file.
33227 New comprehensive test for wcscmp.
33228 * string/test-strcmp.c: Update.
33229 (WIDE): New define.
33231 2011-07-22 Andreas Schwab <schwab@redhat.com>
33233 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33236 2011-07-26 Andreas Schwab <schwab@redhat.com>
33238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33239 encoding to ACE if AI_IDN.
33241 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33243 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33244 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33246 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33249 Fix overflow bug in strncat.
33250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33252 * string/test-strncat.c: Update.
33253 Add new tests for checking overflow bugs.
33255 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33258 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33259 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33260 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33261 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33262 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33263 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33264 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33265 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33268 (USE_AS_STRCAT): Define.
33269 Add strcat and strncat support.
33270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33272 2011-07-25 Andreas Schwab <schwab@redhat.com>
33274 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33275 __n bigger than INT_MAX+1.
33276 (__strncmp_g): Likewise.
33278 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33280 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33281 * libio/stido.h: Likewise.
33283 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33288 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33289 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33290 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33291 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33292 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33295 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33300 (_dl_x86_64_save_sse): Likewise.
33302 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33306 (_dl_x86_64_save_sse): Likewise.
33308 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33310 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33312 2011-07-21 Andreas Schwab <schwab@redhat.com>
33314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33316 (_dl_x86_64_save_sse): Use correct AVX check.
33318 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33321 bug in strncpy/strncat.
33322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33324 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33326 * string/tester.c (test_strcat): Add tests for different alignments
33327 of source and destination.
33328 (test_strncat): Likewise.
33330 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33333 * posix/glob.c (glob): Check passed in values before using them in
33334 expressions to avoid some overflows.
33335 (glob_in_dir): Likewise.
33338 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33339 check for AVX enablement so that we don't crash with old kernels and
33341 * elf/tst-audit4.c: Add same checks here.
33342 * elf/tst-audit6.c: Likewise.
33344 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33346 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33348 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33350 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33352 * po/cs.po: Update from translation team.
33353 * po/bg.po: Likewise.
33355 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33357 * misc/sys/cdefs.h: Add support for const attribute.
33358 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33359 to gnu_dev_{major,minor,makedev} functions.
33361 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33363 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33365 2011-07-20 Andreas Schwab <schwab@redhat.com>
33367 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33370 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33373 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33374 register in order to avoid conflicts with the soft frame pointer
33375 being held in r11 when necessary.
33376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33377 (INTERNAL_VSYSCALL_NCS): Likewise.
33379 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33381 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33382 * elf/dl-fini.c (_dl_fini): Adjust caller.
33383 * elf/dl-close.c (_dl_close_worker): Likewise.
33384 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33386 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33388 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33389 "aux_cache->nlibs < 0".
33391 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33392 in the reload-count case.
33394 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33397 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33398 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33399 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33400 * sysdeps/x86_64/multiarch/strcat.S: New file.
33401 * sysdeps/x86_64/multiarch/strncat.S: New file.
33402 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33403 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33404 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33405 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33407 (USE_AS_STRCAT): Define.
33408 Add strcat and strncat support.
33409 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33410 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33411 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33412 * string/strncat.c: Update.
33413 (USE_AS_STRNCAT): Define.
33414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33415 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33417 * sysdeps/x86_64/multiarch/init-arch.h
33418 (bit_Prefer_PMINUB_for_stringop): New.
33419 (index_Prefer_PMINUB_for_stringop): Likewise.
33420 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33421 bit_Prefer_PMINUB_for_stringop.
33423 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33425 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33427 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33428 of casting of buffer.
33429 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33430 buffer32 and buffer64.
33431 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33432 writes instead of casting of buffer.
33433 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33435 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33438 2011-07-19 Andreas Schwab <schwab@redhat.com>
33440 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33442 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33444 * nscd/nscd.c (termination_handler): Don't do anything for a database
33445 if it has not yet been initialized.
33447 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33449 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33451 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33453 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33455 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33457 * po/nl.po: Update from translation team.
33458 * po/sv.po: Likewise.
33460 2011-07-16 Roland McGrath <roland@hack.frob.com>
33462 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33463 now disallowed by GCC.
33465 * configure.in (use-default-link): Default to yes if a test -shared
33466 link meets our qualifications.
33467 * configure: Regenerated.
33469 * config.make.in (output-format): New variable.
33470 * configure.in: Check for ld --print-output-format support.
33471 * configure: Regenerated.
33472 * Makerules ($(common-objpfx)format.lds)
33473 [$(output-format) != unknown]: Just use $(output-format),
33474 instead of the linker-script munging.
33476 2011-07-14 Roland McGrath <roland@hack.frob.com>
33478 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33479 of $(common-objpfx)shlib.lds.
33480 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33482 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33483 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33485 * configure.in (-z relro check): Adjust test code to add a large
33486 writable data section after it.
33487 * configure: Regenerated.
33489 2011-07-11 Roland McGrath <roland@hack.frob.com>
33491 * configure.in (-z relro check): Fix test code to make the variable
33493 * configure: Regenerated.
33495 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33497 * nscd/nscd.h (struct traced_file): Define.
33498 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33499 elements. Add traced_files.
33500 (inotify_fd): Declare.
33501 (register_traced_file): Declare.
33502 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33503 (inotify_fd): Export.
33504 (resolv_conf_descr): Remove.
33505 (nscd_init): Move inotify descriptor creation to main.
33506 Don't register files for notification here.
33507 (register_traced_file): New function.
33508 (invalidate_cache): Don't use reset_res to determine whether to call
33509 res_init, go through the list of registered files.
33510 (main_loop_poll): The inotify descriptors are now stored in the
33511 structures for the traced files.
33512 (main_loop_epoll): Likewise
33513 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33514 to __nss_disable_nscd.
33515 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33516 for a database anymore. Check the records for all the registered
33518 * nss/Makefile (libnss_files-routines): Add files-init.
33519 (libnss_db-routines): Add db-init.
33520 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33521 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33522 * nss/nss_db/db-init.c: New file.
33523 * nss/nss_files/files-init.c: New file.
33524 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33525 __nss_lookup_function.
33526 (__nss_lookup_function): Call nss_load_library.
33527 (nss_load_all_libraries): New function.
33528 (__nss_disable_nscd): Take parameter with callback function for files
33529 to register. Set is_nscd. Load all the DSOs for the NSS modules
33530 used for the cached services.
33531 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33532 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33533 options for features to all the files in nscd.
33535 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33537 2011-07-10 Roland McGrath <roland@hack.frob.com>
33539 * csu/elf-init.c (__libc_csu_init): Comment typo.
33541 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33543 * po/pl.po: Update from translation team.
33544 * po/ja.po: Likewise.
33545 * po/ru.po: Likewise.
33546 * po/ko.po: Likewise.
33547 * po/fr.po: Likewise.
33549 2011-07-09 Roland McGrath <roland@hack.frob.com>
33551 * configure.in (.ctors/.dtors header and trailer check):
33552 Use an empirical test on a built program.
33553 * configure: Regenerated.
33555 * configure.in (-z relro check): Use an empirical test on a built DSO.
33556 Detect, but do not require, on ia64.
33557 * configure: Regenerated.
33559 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33560 Update tests that use readelf to use $READELF instead.
33561 * configure: Regenerated.
33563 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33565 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33566 if the result is not used.
33568 2011-07-05 Andreas Jaeger <aj@suse.de>
33571 * stdlib/tst-strtod.c: Add testcase.
33573 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33575 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33576 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33577 The latter has a higher limit. Take additional parameter to pass to
33579 (__pathconf): Pass file to __statfs_link_max.
33580 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33582 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33586 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33587 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33589 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33590 (__statfs_filesize_max): Likewise.
33591 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33593 2011-07-05 Andreas Jaeger <aj@suse.de>
33595 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33597 2011-07-06 Marek Polacek <mpolacek@redhat.com>
33599 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33601 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33604 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33606 * Makefile (strop-tests): Add strncat.
33607 * string/test-strncat.c: New file.
33609 2011-06-30 Marek Polacek <mpolacek@redhat.com>
33611 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33613 2011-06-21 Andreas Jaeger <aj@suse.de>
33615 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33616 Copy rule from iconvdata/Makefile.
33618 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33621 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33622 but no long options are defined, just return 'W'.
33624 2011-06-22 Marek Polacek <mpolacek@redhat.com>
33627 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33629 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33631 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33633 (innetgr): Likewise.
33635 2011-07-05 Roland McGrath <roland@hack.frob.com>
33637 * config.make.in (install_root): Default to $(DESTDIR).
33639 2011-07-05 Ulrich Drepper <drepper@gmail.com>
33641 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33643 2011-07-02 Roland McGrath <roland@hack.frob.com>
33645 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33647 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33648 containing directory rather than embedding absolute directory names.
33650 * scripts/check-local-headers.sh: Rewritten using awk.
33651 Match by word, not by line. Print error messages for matches.
33652 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33654 * Makerules [shlib-lds-flags empty]:
33655 ($(common-objpfx)libc_pic.opts): New target.
33656 ($(common-objpfx)libc_pic.os.clean): New target.
33657 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33659 * config.make.in (OBJCOPY): New variable.
33660 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33661 * configure: Regenerated.
33663 * config.make.in (use-default-link): New variable.
33664 * configure.in (use_default_link): Grok --with-default-link to set it.
33665 * configure: Regenerated.
33666 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33667 (shlib-lds, shlib-lds-flags): Define to empty.
33669 * Makerules (shlib-lds): New variable.
33670 (shlib-lds-flags): New variable.
33671 (build-shlib, build-moduile, build-module-asneeded): Use it.
33672 ($(common-objpfx)libc.so): Use $(shlib-lds).
33673 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33674 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33676 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33677 DT_FLAGS/DT_FLAGS_1 with zero flags.
33679 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33680 linker script munging.
33682 2011-07-02 Ulrich Drepper <drepper@gmail.com>
33684 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33686 * crypt/sha512.c (sha512_process_block): Perform total addition using
33687 128-bit if possible.
33688 (__sha512_finish_ctx): Likewise.
33689 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33691 * crypt/sha256.c (SWAP64): Define.
33692 (sha256_process_block): Perform total addition using 64-bit if
33694 (__sha256_finish_ctx): Likewise.
33696 2011-07-01 Ulrich Drepper <drepper@gmail.com>
33698 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33700 * nscd/hstcache.c (cache_addhst): Likewise.
33701 * nscd/grpcache.c (cache_addgr): Likewise.
33702 * nscd/aicache.c (addhstaiX): Likewise
33703 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33705 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33707 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33708 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33709 * nscd/hstcache.c (cache_addhst): Likewise.
33710 * nscd/grpcache.c (cache_addgr): Likewise.
33711 * nscd/aicache.c (addhstaiX): Likewise
33713 2011-07-01 Andreas Schwab <schwab@redhat.com>
33715 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33716 domain only when needed.
33718 2011-06-30 Andreas Schwab <schwab@redhat.com>
33720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33721 is always restored.
33723 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33725 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33726 are re-adding the entry.
33727 * nscd/servicescache.c (cache_addserv): Likewise.
33729 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33731 * sysdeps/generic/dl-irel.h: fix protection against multiple
33733 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33735 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33738 * malloc/memusage.sh: Fix quoting in message.
33739 * debug/xtrace.sh: Likewise.
33741 * configure.in: Remove support for --experimental-malloc option, make
33743 * config.make.in: Likewise.
33744 * malloc/Makefile: Likewise.
33746 2011-06-27 Andreas Schwab <schwab@redhat.com>
33748 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33749 two-byte characters.
33751 2011-06-27 Roland McGrath <roland@hack.frob.com>
33753 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33754 AC_CACHE_CHECK invocation.
33755 * configure: Regenerated.
33757 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33759 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33762 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33763 bit from old_res_options.
33765 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33767 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33768 value type for setfct.
33770 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33773 __gettimeofday instead of gettimeofday.
33775 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33777 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33779 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33786 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33789 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33790 strcpy-sse2-unaligned strncpy-sse2-unaligned
33791 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33792 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33793 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33794 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33795 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33796 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33798 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33799 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33800 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33801 (STRCPY): Support SSE2 and SSSE3 versions.
33803 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33806 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33807 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33808 kernels which artificially limit size of requests.
33810 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33813 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33814 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33815 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33816 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33817 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33818 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33819 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33821 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33822 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33823 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33824 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33825 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33826 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33828 Enable unaligned load optimization for Intel Core i3, i5 and i7
33830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33832 (index_Fast_Unaligned_Load): Define.
33833 (HAS_FAST_UNALIGNED_LOAD): Define.
33835 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33837 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33839 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33843 until it is clear that the information is realy needed.
33844 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33846 2011-06-22 Andreas Schwab <schwab@redhat.com>
33848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33850 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33853 /sys/devices/system/cpu/online if it is usable.
33855 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33856 reading the information from the /proc filesystem to once a second.
33858 2011-06-21 Andreas Jaeger <aj@suse.de>
33860 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33861 NULL after inclusion of kernel headers.
33863 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33865 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33866 calls to internal_setent.
33869 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33870 addresses using gethostbyname4_r ignore IPv4 addresses.
33872 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33873 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33875 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33877 2011-06-20 David S. Miller <davem@davemloft.net>
33879 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33881 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33883 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33884 (elf_irel): Use it.
33885 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33886 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33887 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33888 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33889 * sysdeps/x86_64/dl-irel.h: Likewise.
33891 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33892 * elf/dl-sym.c: Likewise.
33894 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33896 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33897 need to dereference resplen2.
33899 2011-06-14 Andreas Schwab <schwab@redhat.com>
33901 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33903 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33905 * Makeconfig: Define vardbdir and inst_vardbdir.
33906 * nss/Makefile: Add rules to install db-Makefile.
33908 * nss/nss_db/db-XXX.c: Cleanup.
33910 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33911 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33913 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33914 * nss/makedb.c: Implement -g option to specify that value strings
33915 are generated and should not be added to table iterated over for
33917 * nss/nss_db/db-initgroups.c: New file.
33919 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33922 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33923 (internal_getgrouplist): Adjust to name change.
33924 Update use_initgroups_entry if this is not the first call.
33925 * nss/databases.def: Add initgroups entry.
33927 * nss/makedb.c (compute_tables): Check result of multiple hash table
33928 sizes to minimize maximum chain length.
33930 2011-06-14 Ulrich Drepper <drepper@gmail.com>
33932 * Versions.def: Add entry for libnss_db.
33933 * shlib-versions: Likewise.
33934 * nss/Makefile: Add rules to build libnss_db.
33935 * nss/Versions: Add libnss_db information. Organize libnss_files
33937 * nss/db-Makefile: Add gshadow support. Change rules for the new
33938 makedb progra. Some minor improvements to generate smaller files.
33939 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33941 * nss/makedb.c: ...here.
33942 Improve database format to be smaller and require less memory at
33944 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33946 * nss/nss_db/db-netgrp.c: Likewise.
33947 * nss/nss_db/db-open.c: Likewise.
33948 * nss/nss_files/flies-XXX.x: Adjust comments.
33949 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33950 * nss/nss_files/files-grp.c: Likewise.
33951 * nss/nss_files/files-hosts.c: Likewise.
33952 * nss/nss_files/files-network.c: Likewise.
33953 * nss/nss_files/files-proto.c: Likewise.
33954 * nss/nss_files/files-pwd.c: Likewise.
33955 * nss/nss_files/files-rpc.c: Likewise.
33956 * nss/nss_files/files-service.c: Likewise.
33957 * nss/nss_files/files-sgrp.c: Likewise.
33958 * nss/nss_files/files-spwd.c: Likewise.
33959 * nss/nss_db/db-alias.c: Removed.
33960 * nss/nss_db/dummy-db.h: Removed.
33962 2011-06-02 Ulrich Drepper <drepper@gmail.com>
33964 * nss/makedb.c: Rewritten to not use database library.
33965 * nss/Makefile: Update to build new makedb program.
33967 2011-06-14 Andreas Jaeger <aj@suse.de>
33969 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33970 memset declaration.
33972 2011-06-10 Andreas Schwab <schwab@redhat.com>
33974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33977 2011-06-10 Roland McGrath <roland@hack.frob.com>
33979 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33980 * elf/Makefile ($(objpfx)ld.so): Likewise.
33982 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33983 Don't list ld.so twice in dependencies.
33985 * posix/bug-regex31.c: Include <stdlib.h>.
33987 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33989 * nis/nss_compat/compat-spwd.c
33990 (getspent_next_nss_netgr): Remove unused variable.
33991 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33993 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33994 nonmembers" output to use the right array.
33996 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33998 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34000 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34001 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34002 * catgets/gencat.c (read_input_file): Likewise.
34003 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34005 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34006 variable definition inside #if's controlling its use.
34008 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34010 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34012 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34014 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34017 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34019 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34020 * configure: Regenerated.
34022 * Makerules: Revert last change.
34023 * elf/Makefile: Likewise.
34025 2011-06-09 Roland McGrath <roland@hack.frob.com>
34027 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34028 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34029 (reloc-link): Likewise.
34031 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34033 * elf/Makefile: Add rules to build pldd.
34034 * elf/pldd.c: New file.
34035 * elf/pldd-xx.c: New file.
34037 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34039 * version.h: Update for 2.15 development version.
34041 2011-06-07 David S. Miller <davem@davemloft.net>
34043 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34046 elf_machine_lazy_rel): Likewise.
34047 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34049 elf_machine_lazy_rel): Likewise.
34050 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34051 dl_hwcap via passed in argument.
34052 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34055 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34057 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34059 2011-06-06 Roland McGrath <roland@hack.frob.com>
34062 * manual/fdl-1.1.texi: New file, verbatim from:
34063 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34064 * manual/lgpl-2.1.texi: New file, verbatim from:
34065 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34066 * manual/Makefile (licenses): New variable, list those new file names.
34068 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34070 * manual/fdl.texi: File removed.
34071 * manual/lesser.texi: File removed.
34072 * manual/libc.texinfo (Copying, Documentation License):
34073 Use new @include file names, put @appendix directive before @include.
34075 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34078 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34079 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34080 (mq_open): Add __NTH.
34082 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34085 Assume Intel Core i3/i5/i7 processor if AVX is available.
34087 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34092 2011-05-31 Andreas Schwab <schwab@redhat.com>
34094 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34095 memory. Use alloca_account. Fix memory leak when retrying.
34097 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34099 * version.h (RELEASE): Bump for 2.14 release.
34100 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34102 * config.make.in (RANLIB): Remove entry.
34104 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34106 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34107 (libc.pot): Work around missing support for .ksh extension in xgettext.
34110 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34111 if both request failed.
34112 (send_dg): In case of server errors clear resplen or *resplen2.
34115 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34116 when there are multiple maps.
34117 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34118 (_dl_fini): Remove test here.
34120 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34122 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34125 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34126 bit from old_res_options.
34127 (gaih_inet): Likewise.
34130 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34133 * resolv/res_init.c (res_setoptions): Make the code more compact.
34136 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34140 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34142 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34145 * malloc/malloc.h: Declare malloc hook variables as volatile.
34147 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34151 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34152 raise in the comment.
34153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34155 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34157 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34160 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34161 grow the buffers more if it already has to be sufficient.
34162 (build_wcs_upper_buffer): Likewise.
34163 * posix/regexec.c (check_matching): Likewise.
34164 (clean_state_log_if_needed): Likewise.
34165 (extend_buffers): Don't enlarge buffers beyond size of the input
34167 Patches mostly by Emil Wojak <emil@wojak.eu>.
34168 * posix/bug-regex32.c: New file.
34169 * posix/Makefile (tests): Add bug-regex32.
34171 * locale/findlocale.c (_nl_find_locale): Return right away if
34172 _nl_explode_name failed.
34173 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34175 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34177 * debug/xtrace.sh: Unify messages.
34178 * malloc/memusage.sh: Likewise.
34181 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34182 time symbol from vDSO. Substitute with vsyscall if not available.
34183 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34186 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34187 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34188 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34189 Add sendmmsg and internal_sendmmsg.
34190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34191 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34192 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34194 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34195 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34196 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34198 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34201 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34202 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34208 * iconvdata/Makefile (tests): Add bug-iconv9.
34209 * iconvdata/bug-iconv9.c: New file.
34211 2011-05-27 Andreas Schwab <schwab@redhat.com>
34214 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34216 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34218 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34219 (struct user_regs_struct): Change intcs field back to cs.
34221 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34223 * po/ja.po: Update from translation team.
34225 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34228 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34229 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34231 2011-05-20 Andreas Schwab <schwab@redhat.com>
34233 * stdlib/longlong.h: Update from GCC.
34235 2011-05-23 Andreas Schwab <schwab@redhat.com>
34237 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34239 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34240 Add parameter name.
34241 (__sysconf): Pass it down.
34243 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34246 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34249 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34250 add in in __libc_use_alloca calls. Adjust callers.
34251 (glob): Use malloc in some situations.
34253 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34254 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34257 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34259 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34260 and CLOCK_BOOTTIME_ALARM.
34263 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34266 * string/_strerror.c (__strerror_r): Print negative errors as signed
34270 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34271 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34272 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34274 * configure.in: Fix typo in redirection and correct removal of test
34275 files in two cases.
34278 * locale/setlocale.c (new_composite_name): Fix test to check for
34279 identical name of all categories.
34282 * libio/filedoalloc.c (local_isatty): New function.
34283 (_IO_file_doallocate): Use local_isatty.
34284 * stdio-common/perror.c (perror): In case a new stream is used
34285 forward the stream error.
34286 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34289 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34294 * include/alloca.h (extend_alloca_account): Define.
34297 * posix/regex.h: Fix comments with documentation of user-accessible
34298 fields after compilation and describe correct free'ing of pattern
34299 after re_compile_pattern.
34300 Patch by Reuben Thomas <rrt@sc3d.org>.
34302 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34304 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34305 and -mno-altivec to prevent the compiler from using Altivec and/or
34306 VSX instructions when the corresponding registers are not available.
34308 2011-05-19 Andreas Schwab <schwab@redhat.com>
34310 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34312 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34314 * libio/freopen.c (freopen): Use __dup2, not dup2.
34315 * libio/freopen64.c (freopen64): Likewise.
34317 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34320 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34321 * math/Makefile (tests): Add test-powl.
34322 (CFLAGS-test-powl.c): Define.
34323 * math/test-powl.c: New file.
34325 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34327 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34329 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34332 * iconvdata/gb18030.c: Update to GB18020-2005.
34334 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34336 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34337 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34338 Patch by Aharon Robbins <arnold@skeeve.com>.
34341 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34345 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34346 through underflows.
34349 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34350 point to strings before performing equality test for error_one_per_line
34354 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34358 (struct user_fpregs_struct): Avoid __uint*_t types.
34361 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34362 symbol info. Use it instead of calling _dl_addr locally.
34363 (lock_and_info): New function.
34364 (tr_freehook): Call lock_and_info and pass symbol info as additional
34365 parameter to tr_where.
34366 (tr_mallochook): Likewise.
34367 (tr_reallochook): Likewise.
34368 (tr_memalignhook): Likewise.
34370 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34371 used and couldn't be at all thread-safe.
34373 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34375 * libio/freopen.c (freopen): Don't close old file descriptor
34376 before the new one is opened. Instead dup the new file descriptor
34377 to the old one after the new stream is created.
34378 * libio/freopen64.c (freopen64): Likewise.
34379 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34380 * libio/fileops.c (_IO_new_file_close_it): Handle new
34381 _IO_FLAGS2_NOCLOSE flag.
34382 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34383 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34384 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34385 _IO_FLAGS2_NOCLOSE flag.
34386 * include/unistd.h: Add hidden_proto for dup3.
34387 Define __have_dup3.
34388 * io/dup3.c: Define hidden symbol.
34389 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34392 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34393 when an incomplete long option is used.
34394 * posix/tst-getopt_long1.c: New file.
34395 * posix/Makefile (tests): Add tst-getopt_long1.
34398 * scripts/config.guess: Update from autoconf-2.68.
34399 * scripts/config.sub: Likewise.
34402 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34404 (has_cpuclock): ...this. New function.
34405 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34406 macro here based on has_cpuclock code.
34409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34410 First byte (not low byte) is now always NUL.
34411 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34414 Use non-cancelable interfaces.
34417 * locale/iso-639.def: Add entry for Sorani.
34420 * include/stdlib.h: Move include protection to the right place.
34421 Define abort_msg_s. Declare __abort_msg with it.
34422 * stdlib/abort.c (__abort_msg): Adjust type.
34423 * assert/assert.c (__assert_fail_base): New function. Majority
34424 of code from __assert_fail. Allocate memory for __abort_msg with
34426 (__assert_fail): Now call __assert_fail_base.
34427 * assert/assert-perr.c: Remove bulk of implementation. Use
34428 __assert_fail_base.
34429 * include/assert.hL Declare __assert_fail_base.
34430 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34432 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34434 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34438 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34439 until all modules are registered in the DTV.
34440 * elf/Makefile: Add rules to build and run tst-tls19.
34441 * elf/tst-tls19.c: New file.
34442 * elf/tst-tls19mod1.c: New file.
34443 * elf/tst-tls19mod2.c: New file.
34444 * elf/tst-tls19mod3.c: New file.
34445 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34448 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34452 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34453 two-byte sequence errors.
34454 * iconvdata/Makefile (tests): Add bug-iconv8.
34455 * iconvdata/bug-iconv8.c: New file.
34458 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34461 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34464 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34465 (dummy_getcfa): New function.
34466 (init): Get _Unwind_GetCFA address, use dummy if not found.
34467 (backtrace_helper): In recursion check, also check whether CFA changes.
34468 (__backtrace): Completely initialize arg.
34470 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34471 storing incomplete byte sequence in state object. Avoid testing for
34472 guaranteed too small input if we know there is enough data available.
34474 2011-05-11 Andreas Schwab <schwab@redhat.com>
34476 * Makeconfig (+link-pie): Indent.
34477 * Rules (binaries-pie): Define if $(have-fpie) and
34479 (binaries-shared): Also filter out $(binaries-pie).
34480 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34481 * nscd/Makefile (others-pie): Add nscd.
34482 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34483 ($(objpfx)nscd): Remove command override.
34484 * login/Makefile (others-pie): Add pt_chown.
34485 ($(objpfx)pt_chown): Remove command override.
34486 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34487 remove command overrides.
34489 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34491 * libio/tst_putwc.c: Fix error messages.
34494 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34495 currently writing and seek to current position when not.
34496 * libio/Makefile (tests): Add bug-fclose1.
34497 * libio/bug-fclose1.c: New file.
34499 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34502 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34503 don't set DF_1_NODELETE here.
34504 (do_lookup_x): When entering new entry test for copy relocation
34505 and if necessary set DF_1_NODELETE flag.
34506 * elf/tst-unique4.cc: New file.
34507 * elf/tst-unique4.h: New file.
34508 * elf/tst-unique4lib.cc: New file.
34509 * elf/Makefile: Add rules to build and run tst-unique4.
34510 Patch by Piotr Bury <pbury@goahead.com>.
34512 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34515 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34518 * misc/mntent_r.c (addmntent): Flush the stream after the output
34521 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34522 (is_trusted_path_normalize): Skip initial colon. Append slash
34523 to empty buffer. Duplicate is_trusted_path code but allow
34524 constructed patch to be prefix.
34525 (is_dst): Allow $ORIGIN followed by /.
34526 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34527 Correct testing of result of is_trusted_path_normalize
34528 (decompose_rpath): Fix warning.
34530 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34533 * grp/initgroups.c (internal_getgrouplist): When we found the service
34534 list through the initgroups entry in nsswitch.conf do not always
34535 continue on a successful lookup. Don't always use the
34536 __nss_group_database value if it is set.
34537 * nss/nsswitch.conf (initgroups): Change action for successful db
34538 lookup to continue for compatibility.
34540 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34543 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34545 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34547 * iconvdata/tst-tables.sh: Likewise.
34548 * iconvdata/cp770.c: New file.
34549 * iconvdata/cp771.c: New file.
34550 * iconvdata/cp772.c: New file.
34551 * iconvdata/cp773.c: New file.
34552 * iconvdata/cp774.c: New file.
34553 * iconvdata/testdata/CP770: New file.
34554 * iconvdata/testdata/CP770..UTF8: New file.
34555 * iconvdata/testdata/CP771: New file.
34556 * iconvdata/testdata/CP771..UTF8: New file.
34557 * iconvdata/testdata/CP772: New file.
34558 * iconvdata/testdata/CP772..UTF8: New file.
34559 * iconvdata/testdata/CP773: New file.
34560 * iconvdata/testdata/CP773..UTF8: New file.
34561 * iconvdata/testdata/CP774: New file.
34562 * iconvdata/testdata/CP774..UTF8: New file.
34564 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34566 * iconvdata/gen-8bit-gap.sh: Likewise.
34567 * iconvdata/gen-8bit.sh: Likewise.
34569 * locale/iso-639.def: Add ary entry.
34572 * locale/C-translit.h.in: Add U20A1 transliteration.
34575 * locale/iso-639.def: Add wae entry.
34576 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34579 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34583 * locale/C-translit.h.in: Add entry for U20B9.
34584 Patch by pravin.d.s@gmail.com.
34586 2011-05-08 Ulrich Drepper <drepper@gmail.com>
34589 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34590 ENAMETOOLONG use generic getcwd.
34591 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34592 in rtld. Use *stat64.
34593 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34594 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34595 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34596 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34597 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34598 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34599 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34600 __fstatat64 macros.
34601 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34602 * dirent/rewinddir.c: Add libc_hidden_def.
34603 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34604 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34606 * include/dirent.h (__alloc_dir): Add flags parameter.
34607 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34608 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34610 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34611 from fdopendir if O_CLOEXEC is already set.
34613 2011-03-15 Alan Modra <amodra@gmail.com>
34615 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34616 l_tls_firstbyte_offset non-zero. Save padding offset in
34617 l_tls_firstbyte_offset for later use.
34618 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34619 freeing static tls block.
34621 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34623 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34624 where #ifdef was intended. The intent is to prevent ARG_MAX from
34625 being defined by the kernel headers.
34627 2011-05-07 Ulrich Drepper <drepper@gmail.com>
34630 * resolv/resolv.h: Define RES_NOTLDQUERY.
34631 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34632 no-tld-query and set RES_NOTLDQUERY.
34633 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34634 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34635 modern BIND to search name as TLD unless forbidden.
34637 2011-05-07 Petr Baudis <pasky@suse.cz>
34638 Ulrich Drepper <drepper@gmail.com>
34641 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34642 (is_trusted_path): ...to here.
34643 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34644 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34645 using is_trusted_path_normalize() in setuid scripts.
34647 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34649 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34650 __BEGIN/__END_DECLS.
34652 2011-05-06 Ulrich Drepper <drepper@gmail.com>
34654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34655 NSS_STATUS_NOTFOUND if no record was found.
34657 2011-05-05 Andreas Schwab <schwab@redhat.com>
34659 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34660 (headers-not-in-tirpc): Remove rpc/netdb.h
34661 * resolv/netdb.h: Revert last change.
34663 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34665 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34666 circular dependency between libgcc.a and libc.a.
34668 2011-05-05 Andreas Schwab <schwab@redhat.com>
34670 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34671 * nis/Makefile: Don't install rpcsvc/*.
34672 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34673 instead of <rpc/types.h>.
34674 (MAXHOSTNAMELEN): Define.
34676 2011-05-03 Andreas Schwab <schwab@redhat.com>
34678 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34680 2011-04-28 Maciej Babinski <mbabinski@google.com>
34683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34684 gethostbyname4_r when IPv6 results are possible.
34686 2011-05-02 Ulrich Drepper <drepper@gmail.com>
34689 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34690 _PC_PIPE_BUF handling.
34692 2011-04-30 Bruno Haible <bruno@clisp.org>
34695 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34696 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34698 * inet/getnameinfo.c (getnameinfo): Likewise.
34700 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34702 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34703 to groups setting in database lookup.
34704 * nss/nsswitch.conf: Add initgroups entry.
34706 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34709 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34711 Patch by Eric Blake <eblake@redhat.com>.
34713 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34715 * sunrpc/Makefile (need-export-routines): Add svc_run.
34716 (routines): Remove svc_run.
34717 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34718 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34719 * sunrpc/svc_run.c (svc_run): Likewise.
34720 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34722 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34724 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34725 problem in reallocation in last patch.
34727 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34729 * sunrpc/Makefile: Move inclusion of Rules.
34731 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34733 * nss/nss_files/files-initgroups.c: New file.
34734 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34735 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34736 _nss_files_initgroups_dyn.
34738 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34740 * elf/elf.h (R_ARM_IRELATIVE): Define.
34742 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34744 * po/ru.po: Update from translation team.
34746 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34748 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34751 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34754 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34755 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34758 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34760 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34762 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34764 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34768 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34771 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34773 * stdlib/bug-getcontext.c: New file.
34774 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34776 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34778 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34779 instructions into .machine "z9-109".
34780 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34781 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34783 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34785 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34786 between environment variables and auxiliary vector.
34788 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34790 * Makefile: Add rules to build linkobj/libc.so.
34791 * include/libc-symbols.h: Define libc_hidden_nolink.
34792 * include/rpc/auth.h: Mark functions which are to be hidden.
34793 * include/rpc/auth_des.h: Likewise.
34794 * include/rpc/auth_unix.h: Likewise.
34795 * include/rpc/clnt.h: Likewise.
34796 * include/rpc/des_crypt.h: Likewise.
34797 * include/rpc/key_prot.h: Likewise.
34798 * include/rpc/pmap_clnt.h: Likewise.
34799 * include/rpc/pmap_prot.h: Likewise.
34800 * include/rpc/pmap_rmt.h: Likewise.
34801 * include/rpc/rpc_msg.h: Likewise.
34802 * include/rpc/svc.h: Likewise.
34803 * include/rpc/svc_auth.h: Likewise.
34804 * include/rpc/xdr.h: Likewise.
34805 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34806 * nss/Makefile: Likewise.
34807 * sunrpc/Makefile: Don't install headers. Build library with normal
34808 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34809 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34810 for the compat linking library. Remove use of INTDEF/INTUSE.
34811 * sunrpc/auth_none.c: Likewise.
34812 * sunrpc/auth_unix.c: Likewise.
34813 * sunrpc/authdes_prot.c: Likewise.
34814 * sunrpc/authuxprot.c: Likewise.
34815 * sunrpc/clnt_gen.c: Likewise.
34816 * sunrpc/clnt_perr.c: Likewise.
34817 * sunrpc/clnt_raw.c: Likewise.
34818 * sunrpc/clnt_simp.c: Likewise.
34819 * sunrpc/clnt_tcp.c: Likewise.
34820 * sunrpc/clnt_udp.c: Likewise.
34821 * sunrpc/clnt_unix.c: Likewise.
34822 * sunrpc/des_crypt.c: Likewise.
34823 * sunrpc/des_soft.c: Likewise.
34824 * sunrpc/get_myaddr.c: Likewise.
34825 * sunrpc/key_call.c: Likewise.
34826 * sunrpc/key_prot.c: Likewise.
34827 * sunrpc/netname.c: Likewise.
34828 * sunrpc/pm_getmaps.c: Likewise.
34829 * sunrpc/pm_getport.c: Likewise.
34830 * sunrpc/pmap_clnt.c: Likewise.
34831 * sunrpc/pmap_prot.c: Likewise.
34832 * sunrpc/pmap_prot2.c: Likewise.
34833 * sunrpc/pmap_rmt.c: Likewise.
34834 * sunrpc/publickey.c: Likewise.
34835 * sunrpc/rpc_cmsg.c: Likewise.
34836 * sunrpc/rpc_common.c: Likewise.
34837 * sunrpc/rpc_dtable.c: Likewise.
34838 * sunrpc/rpc_prot.c: Likewise.
34839 * sunrpc/rpc_thread.c: Likewise.
34840 * sunrpc/rtime.c: Likewise.
34841 * sunrpc/svc.c: Likewise.
34842 * sunrpc/svc_auth.c: Likewise.
34843 * sunrpc/svc_authux.c: Likewise.
34844 * sunrpc/svc_raw.c: Likewise.
34845 * sunrpc/svc_run.c: Likewise.
34846 * sunrpc/svc_simple.c: Likewise.
34847 * sunrpc/svc_tcp.c: Likewise.
34848 * sunrpc/svc_udp.c: Likewise.
34849 * sunrpc/svc_unix.c: Likewise.
34850 * sunrpc/svcauth_des.c: Likewise.
34851 * sunrpc/xcrypt.c: Likewise.
34852 * sunrpc/xdr.c: Likewise.
34853 * sunrpc/xdr_array.c: Likewise.
34854 * sunrpc/xdr_float.c: Likewise.
34855 * sunrpc/xdr_intXX_t.c: Likewise.
34856 * sunrpc/xdr_mem.c: Likewise.
34857 * sunrpc/xdr_rec.c: Likewise.
34858 * sunrpc/xdr_ref.c: Likewise.
34859 * sunrpc/xdr_sizeof.c: Likewise.
34860 * sunrpc/xdr_stdio.c: Likewise.
34862 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34865 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34866 * sysdeps/ia64/dl-tls.h: Likewise.
34867 * sysdeps/powerpc/dl-tls.h: Likewise.
34868 * sysdeps/s390/dl-tls.h: Likewise.
34869 * sysdeps/sh/dl-tls.h: Likewise.
34870 * sysdeps/sparc/dl-tls.h: Likewise.
34871 * sysdeps/x86_64/dl-tls.h: Likewise.
34872 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34874 2011-03-14 Andreas Schwab <schwab@redhat.com>
34876 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34877 rpath element also skip the following colon.
34878 (expand_dynamic_string_token): Add is_path parameter and pass
34879 down to DL_DST_REQUIRED and _dl_dst_substitute.
34880 (decompose_rpath): Call expand_dynamic_string_token with
34881 non-zero is_path. Ignore empty rpaths.
34882 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34885 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34890 2011-04-09 Ulrich Drepper <drepper@gmail.com>
34893 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34894 Patch by Filipe David Manana <fdmanana@apache.org>.
34896 2011-04-07 Andreas Schwab <schwab@redhat.com>
34898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34899 Maintain aligned stack.
34900 (CHECK_RSP): Remove unused macro.
34902 2011-04-03 Ulrich Drepper <drepper@gmail.com>
34904 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34905 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34907 2011-04-02 Ulrich Drepper <drepper@gmail.com>
34909 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34911 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34913 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34916 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34917 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34918 * sysdeps/x86_64/memmove.c: New file.
34919 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34920 (memcpy): Renamed to ...
34921 (__new_memcpy): This.
34922 (memcpy): Provide GLIBC_2_14 memcpy.
34923 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34924 (memcpy): Provide GLIBC_2_2_5 memcpy.
34926 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34929 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34931 2011-03-30 Andreas Schwab <schwab@redhat.com>
34933 * misc/syncfs.c: New file.
34934 * misc/Makefile (routines): Add syncfs.
34935 * posix/unistd.h: Declare syncfs.
34936 * sysdeps/unix/syscalls.list: Add syncfs.
34938 2011-04-01 Andreas Schwab <schwab@redhat.com>
34940 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34943 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34947 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34950 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34953 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34954 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34956 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34960 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34961 sync_file_range.c with -fexceptions.
34962 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34963 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34964 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34965 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34966 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34967 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34969 sync_file_range as cancellation point
34970 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34971 now a wrapper around __call_sync_file_range with cancellation handling.
34972 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34973 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34974 function name to __call_sync_file_range.
34975 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34976 Add call_sync_file_range.
34978 2011-04-01 Andreas Schwab <schwab@redhat.com>
34980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34983 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34985 * iconv/iconv.h: Fix typo in comment.
34986 * io/fcntl.h: Likewise.
34987 * libio/stdio.h: Likewise.
34988 * posix/spawn.h: Likewise.
34989 * posix/unistd.h: Likewise.
34990 * stdlib/stdlib.h: Likewise.
34991 * time/time.h: Likewise.
34992 * wcsmbs/wchar.h: Likewise.
34994 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34995 open_by_handle): Add.
34996 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34997 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34998 Augment a few comments.
34999 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35004 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35007 * io/fcntl.h (AT_EMPTY_PATH): Define.
35009 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35011 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35012 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35013 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35015 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35016 * Versions.def: Add GLIBC_2.14.
35017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35020 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35022 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35024 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35026 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35029 * string/test-strncmp.c (do_page_test): New function.
35030 (check2): Likewise.
35031 (test_main): Call check2.
35032 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35034 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35037 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35038 Handle cache information in CPU leaf 4.
35039 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35041 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35044 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35045 character representation.
35046 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35048 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35050 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35051 END(__isnan) to END(__isnanf) to match function entry point/label
35052 EALIGN(__isnanf,...).
35054 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35056 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35058 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35061 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35062 copy from the symbol referenced in the relocation to initialize the
35064 Patch by Piotr Bury <pbury@goahead.com>.
35065 * elf/Makefile: Add rules to build and tst-unique3.
35066 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35067 * elf/tst-unique3.cc: New file.
35068 * elf/tst-unique3.h: New file.
35069 * elf/tst-unique3lib.cc: New file.
35070 * elf/tst-unique3lib2.cc: New file.
35072 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35074 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35076 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35077 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35080 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35082 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35083 to-be-loaded object along a path to loader is ld.so.
35085 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35086 Ulrich Drepper <drepper@gmail.com>
35088 * sysdeps/x86_64/memset.S: After aligning destination, code
35089 branches to different locations depending on the value of
35090 misalignment, when multiarch is enabled. Fix this.
35092 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35094 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35095 Set _x86_64_preferred_memory_instruction for AMD processsors.
35096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35097 Set bit_Prefer_SSE_for_memop for AMD processors.
35099 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35101 * libio/fmemopen.c (fmemopen): Optimize a bit.
35103 2011-03-03 Andreas Schwab <schwab@redhat.com>
35105 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35107 2011-03-03 Roland McGrath <roland@redhat.com>
35109 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35111 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35113 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35114 __bzero_ultra1 instead of __memset_ultra1.
35116 2011-02-23 Andreas Schwab <schwab@redhat.com>
35117 Ulrich Drepper <drepper@gmail.com>
35120 * include/link.h (struct link_map): Add l_orig_initfini.
35121 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35122 returning unsuccessfully.
35123 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35124 close of a file loaded at startup, restore the original l_initfini
35126 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35127 list, store the pointer.
35128 * elf/Makefile ($(objpfx)noload-mem): New rule.
35129 (noload-ENV): Define.
35130 (tests): Add $(objpfx)noload-mem.
35131 * elf/noload.c: Include <memcheck.h>.
35132 (main): Call mtrace. Close all opened handles.
35134 2011-02-17 Andreas Schwab <schwab@redhat.com>
35137 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35138 dependencies are missing.
35140 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35142 Fix __if_freereq crash: Unlike the generic version which uses free,
35144 * sysdeps/mach/hurd/ifreq.h: New file.
35146 2011-01-27 Petr Baudis <pasky@suse.cz>
35147 Ulrich Drepper <drepper@gmail.com>
35150 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35151 to extend_alloca().
35152 * stdio-common/bug23.c: New file.
35153 * stdio-common/Makefile (tests): Add bug23.
35155 2010-09-28 Andreas Schwab <schwab@redhat.com>
35156 Ulrich Drepper <drepper@gmail.com>
35159 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35160 before performing relro protection. At old place add assertion
35161 to make sure nothing changed.
35163 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35164 Glauber de Oliveira Costa <glommer@gmail.com>
35166 * elf/elf.h: Add new ARM TLS relocs.
35168 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35171 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35173 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35175 * sysdeps/wordsize-64/tst-writev.c: New file.
35177 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35179 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35180 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35181 insns in _dl_start to prevent a TOC reference before relocs are
35184 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35187 * Makeconfig: Remove RANLIB definition.
35188 * Makerules: Don't use RANLIB.
35189 * aclocal.m4: Remove ranlib test.
35190 * configure.in: No need to check for ranlib.
35191 * elf/rtld-Rules: Don't use RANLIB.
35193 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35195 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35197 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35198 inclusion protection macro.
35200 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35201 SIGRTMIN and SIGRTMAX and print information in that case only when
35202 SIGRTMIN is defined.
35204 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35206 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35207 arginfo fn returning -1.
35209 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35210 and thousands string is zero terminated.
35212 2011-02-03 Andreas Schwab <schwab@redhat.com>
35214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35215 sysdeps/unix/sysv/linux/bits/socket.h.
35217 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35219 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35220 (__CPU_COUNT): Remove old macros.
35221 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35222 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35223 (__CPU_ALLOC, __CPU_FREE): Add macros.
35224 (__sched_cpualloc, __sched_cpufree): Add declarations.
35226 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35228 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35229 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35230 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35231 (readdhstai): Return value of addhstaiX call.
35232 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35233 (addgrbyX): Return value returned by cache_addgr.
35234 (readdgrbyname): Return value returned by addgrbyX.
35235 (readdgrbygid): Likewise.
35236 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35237 (addpwbyX): Return value returned by cache_addpw.
35238 (readdpwbyname): Return value returned by addhstbyX.
35239 (readdpwbyuid): Likewise.
35240 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35241 (addservbyX): Return value returned by cache_addserv.
35242 (readdservbyname): Return value returned by addservbyX:
35243 (readdservbyport): Likewise.
35244 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35245 (addhstbyX): Return value returned by cache_addhst.
35246 (readdhstbyname): Return value returned by addhstbyX.
35247 (readdhstbyaddr): Likewise.
35248 (readdhstbynamev6): Likewise.
35249 (readdhstbyaddrv6): Likewise.
35250 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35251 (readdinitgroups): Return value returned by addinitgroupsX.
35252 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35253 (prune_cache): Keep track of timeout value of re-added entries.
35254 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35255 * nscd/nscd.h: Adjust prototypes of readd* functions.
35257 2011-02-04 Roland McGrath <roland@redhat.com>
35259 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35260 (nis_stats): Likewise.
35261 * nis/nis_modify.c (nis_modify): Likewise.
35262 * nis/nis_remove.c (nis_remove): Likewise.
35263 * nis/nis_add.c (nis_add): Likewise.
35265 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35267 * posix/fnmatch_loop.c: Add some consts.
35269 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35271 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35274 * config.make.in (config-cflags-novzeroupper): Define.
35275 * configure.in: Substitute libc_cv_cc_novzeroupper.
35276 * elf/Makefile (AVX-CFLAGS): Define.
35277 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35278 (CFLAGS-tst-auditmod4a.c): Likewise.
35279 (CFLAGS-tst-auditmod4b.c): Likewise.
35280 (CFLAGS-tst-auditmod6b.c): Likewise.
35281 (CFLAGS-tst-auditmod6c.c): Likewise.
35282 (CFLAGS-tst-auditmod7b.c): Likewise.
35283 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35285 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35287 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35288 function to the callback.
35289 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35291 2011-02-02 Andreas Schwab <schwab@redhat.com>
35293 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35296 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35299 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35301 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35303 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35306 * elf/Makefile: Add rules to build and run new test.
35307 * elf/tst-initorder.c: New file.
35308 * elf/tst-initorder.exp: New file.
35309 * elf/tst-initordera1.c: New file.
35310 * elf/tst-initordera2.c: New file.
35311 * elf/tst-initordera3.c: New file.
35312 * elf/tst-initordera4.c: New file.
35313 * elf/tst-initorderb1.c: New file.
35314 * elf/tst-initorderb2.c: New file.
35315 * elf/tst-order-a1.c: New file.
35316 * elf/tst-order-a2.c: New file.
35317 * elf/tst-order-a3.c: New file.
35318 * elf/tst-order-a4.c: New file.
35319 * elf/tst-order-b1.c: New file.
35320 * elf/tst-order-b2.c: New file.
35321 * elf/tst-order-main.c: New file.
35322 New test case by George Gensure <werkt0@gmail.com>.
35324 2010-10-01 Andreas Schwab <schwab@redhat.com>
35326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35327 decoding ACE if AI_CANONIDN.
35329 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35331 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35333 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35335 * version.h (RELEASE): Bump for 2.13 release.
35336 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35338 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35342 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35343 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35344 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35345 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35346 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35347 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35349 * posix/getconf.c: Update copyright year.
35350 * catgets/gencat.c: Likewise.
35351 * csu/version.c: Likewise.
35352 * debug/catchsegv.sh: Likewise.
35353 * debug/xtrace.sh: Likewise.
35354 * elf/ldconfig.c: Likewise.
35355 * elf/ldd.bash.in: Likewise.
35356 * elf/sprof.c (print_version): Likewise.
35357 * iconv/iconv_prog.c: Likewise.
35358 * iconv/iconvconfig.c: Likewise.
35359 * locale/programs/locale.c: Likewise.
35360 * locale/programs/localedef.c: Likewise.
35361 * malloc/memusage.sh: Likewise.
35362 * malloc/mtrace.pl: Likewise.
35363 * nscd/nscd.c (print_version): Likewise.
35364 * nss/getent.c: Likewise.
35366 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35367 PF_CAIF, and PF_ALG.
35368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35370 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35372 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35373 (modules-names): Use them.
35374 (ifunc-test-modules, ifunc-pie-tests): Define.
35375 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35376 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35377 (test-extras): Likewise.
35378 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35379 $(compile-command.c).
35380 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35381 (all-built-dso): Define.
35382 (check-textrel.out, check-execstack.out): Depend on it.
35384 * configure.in: Don't override --enable-multi-arch.
35386 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35389 * nscd/hstcache.c (tryagain): Define.
35390 (cache_addhst): Return tryagain not notfound for temporary errors.
35391 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35394 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35397 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35398 to make the syscall.
35399 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35402 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35403 and fall back to matching as normal character if the string ends before
35404 the matching ']' is found. This is what POSIX requires.
35405 * posix/testfnm.c: Adjust test result.
35406 * posix/globtest.sh: Adjust test result. Add new test.
35407 * posix/tst-fnmatch.input: Likewise.
35408 * posix/tst-fnmatch2.c: Add new test.
35410 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35412 * elf/Makefile (check-execstack): Revert last change. Depend on
35414 (check-execstack.h): New target.
35415 (generated): Add check-execstack.h.
35416 * elf/check-execstack.c: Include "check-execstack.h".
35417 (main): Revert last change.
35418 (handle_file): Return zero if GNU_STACK is absent and
35419 DEFAULT_STACK_PERMS doesn't include PF_X.
35421 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35423 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35424 in child fails because the descriptor is already closed.
35425 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35426 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35427 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35430 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35434 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35435 temporary buffer used to handle multi lookups locally.
35436 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35438 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35440 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35443 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35445 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35446 alignment for SSE2.
35448 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35451 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35452 characters. When rounding increased number of integer digits recompute
35454 * stdio-common/tst-grouping.c: New file.
35455 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35457 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35459 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35460 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35462 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35464 * bits/select.h: Likewise.
35466 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35468 * po/ja.po: Update from translation team.
35470 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35473 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35474 implementation just like for lxstat, fxstatat, et al.
35476 2010-12-27 Jim Meyering <meyering@redhat.com>
35479 * posix/regexec.c (build_trtable): Return failure indication upon
35480 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35482 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35485 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35486 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35487 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35488 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35491 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35494 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35495 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35497 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35499 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35500 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35501 script has SORT_BY_INIT_PRIORITY.
35502 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35503 NO_CTORS_DTORS_SECTIONS is defined.
35504 * elf/soinit.c: Likewise.
35505 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35506 NO_CTORS_DTORS_SECTIONS is defined.
35507 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35508 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35509 * sysdeps/sh/init-first.c: Likewise.
35510 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35512 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35514 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35515 always use the slow path.
35517 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35519 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35520 similar rule which adds the sysdep directories to the header search in
35521 order to pick up the correct platform stackinfo.h.
35522 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35523 perform test if it is, otherwise return successfully without testing.
35524 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35525 DEFAULT_STACK_PERMS define in stackinfo.h.
35526 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35527 defined in stackinfo.h.
35528 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35529 DEFAULT_STACK_PERMS defined in stackinfo.h.
35530 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35531 * sysdeps/ia64/stackinfo.h: Likewise.
35532 * sysdeps/s390/stackinfo.h: Likewise.
35533 * sysdeps/sh/stackinfo.h: Likewise.
35534 * sysdeps/sparc/stackinfo.h: Likewise.
35535 * sysdeps/x86_64/stackinfo.h: Likewise.
35536 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35537 PF_X for powerpc64. Retain PF_X for powerpc32.
35539 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35541 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35543 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35544 GETDENTS_64BIT_ALIGNED.
35546 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35548 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35550 2010-12-10 Andreas Schwab <schwab@redhat.com>
35552 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35555 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35556 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35558 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35559 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35561 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35564 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35567 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35569 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35571 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35573 * po/it.po: Update from translation team.
35575 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35580 2010-11-30 Ulrich Drepper <drepper@gmail.com>
35582 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35584 2010-11-24 Andreas Schwab <schwab@redhat.com>
35586 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35588 (gaih_getanswer_slice): Likewise.
35590 2010-10-20 Jakub Jelinek <jakub@redhat.com>
35592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35594 2010-05-31 Petr Baudis <pasky@suse.cz>
35597 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35598 silently even in the chroot mode.
35600 2010-11-22 Ulrich Drepper <drepper@gmail.com>
35602 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35603 last patch a bit. Pretty printing
35605 2010-05-31 Petr Baudis <pasky@suse.cz>
35608 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35609 initialization of skip_initgroups_dyn.
35611 2010-11-19 Ulrich Drepper <drepper@gmail.com>
35613 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35614 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35616 2010-11-16 Ulrich Drepper <drepper@gmail.com>
35618 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35620 2010-11-11 Andreas Schwab <schwab@redhat.com>
35622 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35623 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35624 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35625 ($(objpfx)tst-fnmatch-mem): New rule.
35626 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35627 * posix/tst-fnmatch.c (main): Call mtrace.
35629 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35632 Support Intel processor model 6 and model 0x2c.
35634 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
35636 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35639 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35642 * string/test-strncasecmp.c (check_result): New function.
35643 (do_one_test): Use it.
35644 (check1): New function.
35645 (test_main): Use it.
35646 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35647 Support strcasecmp and strncasecmp.
35649 2010-11-08 Ulrich Drepper <drepper@gmail.com>
35652 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35655 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35657 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35661 * sysdeps/x86_64/multiarch/bzero.S: New file.
35662 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35663 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35664 * sysdeps/x86_64/multiarch/memset.S: New file.
35665 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35667 Set bit_Prefer_SSE_for_memop for Intel processors.
35668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35670 (index_Prefer_SSE_for_memop): Define.
35671 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35673 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35675 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35676 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35678 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35681 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35682 (__x86_64_raw_data_cache_size_half): Likewise.
35683 (__x86_64_raw_shared_cache_size): Likewise.
35684 (__x86_64_raw_shared_cache_size_half): Likewise.
35686 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35687 (__x86_64_raw_data_cache_size_half): Likewise.
35688 (__x86_64_raw_shared_cache_size): Likewise.
35689 (__x86_64_raw_shared_cache_size_half): Likewise.
35690 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35691 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35692 and __x86_64_raw_shared_cache_size_half. Round
35693 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35694 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35695 to multiple of 256 bytes.
35697 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35701 of inacessible symlinks. Verify result of symlink before returning it.
35702 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35703 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35705 2010-10-28 Erich Ritz <erichritz@gmail.com>
35707 * math/math.h (isinf): Fix typo in comment.
35709 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35711 * po/da.po: Update from translation team.
35713 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35715 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35716 is added to the list.
35718 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35719 Ulrich Drepper <drepper@gmail.com>
35721 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35722 the global list here. Move code to...
35723 (_dl_add_to_namespace_list): ...here. New function.
35724 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35725 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35726 * elf/dl-load.c (lose): Don't remove the element from the list.
35727 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35728 (_dl_map_object): Likewise.
35730 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35733 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35734 into all bytes of SSE register.
35735 Patch by Richard Li <richardpku@gmail.com>.
35737 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35740 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35743 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35745 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35746 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35747 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35748 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35753 2010-10-22 Andreas Schwab <schwab@redhat.com>
35755 * include/dlfcn.h (__RTLD_SECURE): Define.
35756 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35757 mode & __RTLD_SECURE instead.
35758 (open_path): Rename preloaded parameter to secure.
35759 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35760 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35761 * elf/dl-deps.c (openaux): Likewise.
35762 * elf/rtld.c (struct map_args): Remove is_preloaded.
35763 (map_doit): Don't use it.
35764 (dl_main): Likewise.
35765 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35766 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35768 2010-09-09 Andreas Schwab <schwab@redhat.com>
35770 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35771 (sysd-rules-targets): Remove duplicates.
35772 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35773 rtld-%.$o dependency.
35775 2010-10-18 Andreas Schwab <schwab@redhat.com>
35777 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35778 _dl_map_object do it.
35780 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35782 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35783 fast fma builtins, define the macros in the C99 standard.
35784 (FP_FAST_FMAF): Likewise.
35785 (FP_FAST_FMAL): Likewise.
35786 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35788 * bits/mathdef.h: Update copyright year.
35789 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35791 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35793 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35794 builtins, define the macros in the C99 standard.
35795 (FP_FAST_FMAF): Likewise.
35796 (FP_FAST_FMAL): Likewise.
35797 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35799 (FP_FAST_FMAF): Likewise.
35801 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35804 * math/libm-test.inc (fma_test): Some new testcases.
35805 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35806 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35807 y and infinite z. Do multiplication by C already in long double.
35808 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35810 y and infinite z. Do bitwise or of inexact bit into u.d.
35811 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35812 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35813 * sysdeps/i386/fpu/s_fma.S: Removed.
35814 * sysdeps/i386/fpu/s_fmal.S: Removed.
35816 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35819 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35821 computation is not scheduled after fetestexcept. Fix value
35822 of minimum denormal long double.
35824 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35827 * math/libm-test.inc (fma_test): Add some more tests.
35828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35831 2010-10-15 Andreas Schwab <schwab@redhat.com>
35833 * scripts/data/localplt-s390-linux-gnu.data: New file.
35834 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35836 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35839 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35840 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35842 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35844 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35846 if one of x and y is very large and the other is subnormal.
35847 * sysdeps/s390/fpu/s_fmaf.c: New file.
35848 * sysdeps/s390/fpu/s_fma.c: New file.
35849 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35850 * sysdeps/powerpc/fpu/s_fma.S: New file.
35851 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35852 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35853 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35855 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35858 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35861 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35862 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35863 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35864 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35865 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35868 2010-10-12 Ulrich Drepper <drepper@redhat.com>
35871 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35872 * posix/bug-regex31.input: Add test case.
35874 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35876 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35877 * posix/bug-regex31.input: New file.
35880 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35881 (parse_sub_exp): Fix last change, use postorder.
35883 * posix/bug-regex31.c: New file.
35884 * posix/Makefile: Add rules to build and run bug-regex31.
35886 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35889 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35892 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35893 to have entries in sys_siglist.
35896 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35899 2010-10-07 Jakub Jelinek <jakub@redhat.com>
35902 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35903 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35904 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35905 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35906 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35907 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35908 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35909 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35910 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35911 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35912 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35913 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35914 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35915 * math/ftestexcept.c (fetestexcept): Likewise.
35916 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35917 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35918 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35919 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35920 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35921 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35922 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35924 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35927 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35930 2010-10-06 Ulrich Drepper <drepper@gmail.com>
35932 * string/bug-strstr1.c: New file.
35933 * string/Makefile: Add rules to build and run bug-strstr1.
35935 2010-10-05 Eric Blake <eblake@redhat.com>
35938 * string/str-two-way.h (two_way_long_needle): Always clear memory
35939 when skipping input due to the shift table.
35941 2010-10-03 Ulrich Drepper <drepper@gmail.com>
35944 * malloc/mcheck.c: Handle large requests.
35947 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35948 for strncmp and strncasecmp.
35949 * string/stratcliff.c: Add tests for strcmp and strncmp.
35950 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35952 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35954 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35957 2010-09-30 Andreas Jaeger <aj@suse.de>
35959 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35960 (CGROUP_SUPER_MAGIC): Define.
35961 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35962 Handle btrfs and cgroup file systems.
35963 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35966 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
35968 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35969 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35971 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35974 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35975 trying to locate the ELF header.
35977 2010-09-27 Andreas Schwab <schwab@redhat.com>
35980 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35981 Mask out sign-bit copies when constructing f_fsid.
35983 2010-09-24 Petr Baudis <pasky@suse.cz>
35985 * debug/stack_chk_fail_local.c: Add missing licence exception.
35986 * debug/warning-nop.c: Likewise.
35988 2010-09-15 Joseph Myers <joseph@codesourcery.com>
35990 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35991 implementing getdents64 using getdents syscall, set d_type if
35992 __ASSUME_GETDENTS32_D_TYPE.
35994 2010-09-16 Andreas Schwab <schwab@redhat.com>
35996 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35997 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35999 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36002 * posix/unistd.h: Undo change of feature selection for ftruncate from
36005 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36007 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36010 2010-09-20 Andreas Schwab <schwab@redhat.com>
36012 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36014 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36016 2010-09-14 Andreas Schwab <schwab@redhat.com>
36018 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36019 variables after CHECK_SP call.
36020 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36022 2010-09-13 Andreas Schwab <schwab@redhat.com>
36023 Ulrich Drepper <drepper@redhat.com>
36025 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36026 re-relocationg ld.so.
36027 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36028 _dl_init_paths call.
36029 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36032 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36034 * resolv/res_init.c (__res_vinit): Count the default server we added.
36036 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36037 Ulrich Drepper <drepper@redhat.com>
36040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36041 (____longjmp_chk): Use %ebx for saving value across system call.
36044 2010-09-06 Andreas Schwab <schwab@redhat.com>
36046 * manual/Makefile: Don't mix pattern rules with normal rules.
36048 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36050 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36052 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36053 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36054 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36055 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36059 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36062 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36063 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36065 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36067 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36068 * sysdeps/x86_64/addmul_1.S: Likewise.
36069 * sysdeps/x86_64/lshift.S: Likewise.
36070 * sysdeps/x86_64/mul_1.S: Likewise.
36071 * sysdeps/x86_64/rshift.S: Likewise.
36072 * sysdeps/x86_64/sub_n.S: Likewise.
36073 * sysdeps/x86_64/submul_1.S: Likewise.
36075 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36077 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36078 Define __sched_param instead of SCHED_* and sched_param when
36079 <bits/sched.h> is included with __need_schedparam defined.
36080 * bits/sched.h [__need_schedparam]
36081 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36082 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36083 (__defined_schedparam): Define to 1.
36084 (__sched_param): New structure, identical to sched_param.
36085 (__need_schedparam): Undefine.
36087 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36090 (epoll_create1): Declare.
36092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36094 2010-08-31 Andreas Schwab <schwab@redhat.com>
36097 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36098 shifting retval into place.
36100 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36102 * nis/rpcsvc/nis.h: Update copyright notice.
36103 * nis/rpcsvc/nis.x: Likewise.
36104 * nis/rpcsvc/nis_callback.h: Likewise.
36105 * nis/rpcsvc/nis_callback.x: Likewise.
36106 * nis/rpcsvc/nis_object.x: Likewise.
36107 * nis/rpcsvc/nis_tags.h: Likewise.
36108 * nis/rpcsvc/yp.h: Likewise.
36109 * nis/rpcsvc/yp.x: Likewise.
36110 * nis/rpcsvc/ypupd.h: Likewise.
36111 * nis/yp_xdr.c: Likewise.
36112 * nis/ypupdate_xdr.c: Likewise.
36114 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36115 mainly the body of pmap_getport. Add parameters to specify timeouts.
36116 (pmap_getport): Use __libc_rpc_getport.
36117 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36118 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36119 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36121 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36126 2010-08-27 Roland McGrath <roland@redhat.com>
36128 * sysdeps/i386/i686/multiarch/Makefile
36129 (CFLAGS-varshift.c): New variable.
36131 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36133 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36134 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36138 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36140 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36142 * sysdeps/x86_64/strlen.S: Unroll the loop.
36143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36144 strlen-sse2 strlen-sse2-bsf.
36145 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36146 __strlen_no_bsf if bit_Slow_BSF is set.
36147 (__strlen_sse42): Removed.
36148 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36149 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36151 2010-08-25 Roland McGrath <roland@redhat.com>
36153 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36154 * sysdeps/x86_64/multiarch/varshift.c: New file.
36155 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36156 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36157 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36158 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36160 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36163 strlen-sse2 strlen-sse2-bsf.
36164 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36165 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36166 (__strlen_sse2): Removed.
36167 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36170 bit_Slow_BSF for Atom.
36171 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36172 (index_Slow_BSF): Define.
36173 (HAS_SLOW_BSF): Define.
36175 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36178 * resolv/res_init.c (__res_vinit): When no server address at all
36179 is given default to loopback.
36181 2010-08-24 Roland McGrath <roland@redhat.com>
36183 * configure.in: Remove config-name.h generation.
36184 * configure: Regenerated.
36185 * config-name.in: File removed.
36186 * scripts/config-uname.sh: New file.
36187 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36188 ($(objdir)config-name.h): New target.
36190 * sunrpc/rpc_parse.h: Avoid nested comment.
36192 2010-08-24 Richard Henderson <rth@redhat.com>
36193 Ulrich Drepper <drepper@redhat.com>
36194 H.J. Lu <hongjiu.lu@intel.com>
36196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36198 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36199 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36200 _mm_alignr_epi8 with _mm_loadu_si128.
36201 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36202 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36203 (__m128i_shift_right): Removed.
36204 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36205 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36206 * sysdeps/x86_64/multiarch/varshift.h: New file.
36207 * sysdeps/x86_64/multiarch/varshift.S: New file.
36209 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36211 * configure.in: Move assembler checks to before sysdep dir checking.
36213 2010-08-20 Petr Baudis <pasky@suse.cz>
36215 * LICENSES: Sync the sunrpc license.
36217 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36219 * sunrpc/auth_des.c: Update copyright notice once again.
36220 * sunrpc/auth_none.c: Likewise.
36221 * sunrpc/auth_unix.c: Likewise.
36222 * sunrpc/authdes_prot.c: Likewise.
36223 * sunrpc/authuxprot.c: Likewise.
36224 * sunrpc/bindrsvprt.c: Likewise.
36225 * sunrpc/clnt_gen.c: Likewise.
36226 * sunrpc/clnt_perr.c: Likewise.
36227 * sunrpc/clnt_raw.c: Likewise.
36228 * sunrpc/clnt_simp.c: Likewise.
36229 * sunrpc/clnt_tcp.c: Likewise.
36230 * sunrpc/clnt_udp.c: Likewise.
36231 * sunrpc/clnt_unix.c: Likewise.
36232 * sunrpc/des_crypt.c: Likewise.
36233 * sunrpc/des_soft.c: Likewise.
36234 * sunrpc/get_myaddr.c: Likewise.
36235 * sunrpc/getrpcport.c: Likewise.
36236 * sunrpc/key_call.c: Likewise.
36237 * sunrpc/key_prot.c: Likewise.
36238 * sunrpc/openchild.c: Likewise.
36239 * sunrpc/pm_getmaps.c: Likewise.
36240 * sunrpc/pm_getport.c: Likewise.
36241 * sunrpc/pmap_clnt.c: Likewise.
36242 * sunrpc/pmap_prot.c: Likewise.
36243 * sunrpc/pmap_prot2.c: Likewise.
36244 * sunrpc/pmap_rmt.c: Likewise.
36245 * sunrpc/rpc/auth.h: Likewise.
36246 * sunrpc/rpc/auth_unix.h: Likewise.
36247 * sunrpc/rpc/clnt.h: Likewise.
36248 * sunrpc/rpc/des_crypt.h: Likewise.
36249 * sunrpc/rpc/key_prot.h: Likewise.
36250 * sunrpc/rpc/netdb.h: Likewise.
36251 * sunrpc/rpc/pmap_clnt.h: Likewise.
36252 * sunrpc/rpc/pmap_prot.h: Likewise.
36253 * sunrpc/rpc/pmap_rmt.h: Likewise.
36254 * sunrpc/rpc/rpc.h: Likewise.
36255 * sunrpc/rpc/rpc_des.h: Likewise.
36256 * sunrpc/rpc/rpc_msg.h: Likewise.
36257 * sunrpc/rpc/svc.h: Likewise.
36258 * sunrpc/rpc/svc_auth.h: Likewise.
36259 * sunrpc/rpc/types.h: Likewise.
36260 * sunrpc/rpc/xdr.h: Likewise.
36261 * sunrpc/rpc_clntout.c: Likewise.
36262 * sunrpc/rpc_cmsg.c: Likewise.
36263 * sunrpc/rpc_common.c: Likewise.
36264 * sunrpc/rpc_cout.c: Likewise.
36265 * sunrpc/rpc_dtable.c: Likewise.
36266 * sunrpc/rpc_hout.c: Likewise.
36267 * sunrpc/rpc_main.c: Likewise.
36268 * sunrpc/rpc_parse.c: Likewise.
36269 * sunrpc/rpc_parse.h: Likewise.
36270 * sunrpc/rpc_prot.c: Likewise.
36271 * sunrpc/rpc_sample.c: Likewise.
36272 * sunrpc/rpc_scan.c: Likewise.
36273 * sunrpc/rpc_scan.h: Likewise.
36274 * sunrpc/rpc_svcout.c: Likewise.
36275 * sunrpc/rpc_tblout.c: Likewise.
36276 * sunrpc/rpc_util.c: Likewise.
36277 * sunrpc/rpc_util.h: Likewise.
36278 * sunrpc/rpcinfo.c: Likewise.
36279 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36280 * sunrpc/rpcsvc/key_prot.x: Likewise.
36281 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36282 * sunrpc/rpcsvc/mount.x: Likewise.
36283 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36284 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36285 * sunrpc/rpcsvc/rex.x: Likewise.
36286 * sunrpc/rpcsvc/rstat.x: Likewise.
36287 * sunrpc/rpcsvc/rusers.x: Likewise.
36288 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36289 * sunrpc/rpcsvc/spray.x: Likewise.
36290 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36291 * sunrpc/rtime.c: Likewise.
36292 * sunrpc/svc.c: Likewise.
36293 * sunrpc/svc_auth.c: Likewise.
36294 * sunrpc/svc_authux.c: Likewise.
36295 * sunrpc/svc_raw.c: Likewise.
36296 * sunrpc/svc_run.c: Likewise.
36297 * sunrpc/svc_simple.c: Likewise.
36298 * sunrpc/svc_tcp.c: Likewise.
36299 * sunrpc/svc_udp.c: Likewise.
36300 * sunrpc/svc_unix.c: Likewise.
36301 * sunrpc/svcauth_des.c: Likewise.
36302 * sunrpc/xcrypt.c: Likewise.
36303 * sunrpc/xdr.c: Likewise.
36304 * sunrpc/xdr_array.c: Likewise.
36305 * sunrpc/xdr_float.c: Likewise.
36306 * sunrpc/xdr_mem.c: Likewise.
36307 * sunrpc/xdr_rec.c: Likewise.
36308 * sunrpc/xdr_ref.c: Likewise.
36309 * sunrpc/xdr_sizeof.c: Likewise.
36310 * sunrpc/xdr_stdio.c: Likewise.
36312 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36315 2010-08-19 Andreas Schwab <schwab@redhat.com>
36317 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36319 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36321 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36322 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36323 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36324 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36325 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36326 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36327 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36328 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36329 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36330 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36331 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36332 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36333 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36334 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36336 2010-07-26 Anton Blanchard <anton@samba.org>
36338 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36339 * malloc/arena.c (heap_trim): Likewise.
36341 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36343 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36346 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36348 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36350 * sysdeps/i386/elf/Makefile: New file.
36352 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36354 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36355 from fanotify_init.
36356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36357 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36359 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36361 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36363 * sysdeps/multiarch/strcmp.S: Likewise.
36365 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36367 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36368 strncase_l-nonascii.
36369 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36370 Add strncase_l-ssse3.
36371 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36372 * sysdeps/x86_64/strcmp.S: Likewise.
36373 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36374 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36375 * sysdeps/x86_64/strncase.S: New file.
36376 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36377 * sysdeps/x86_64/strncase_l.S: New file.
36378 * string/Makefile (strop-tests): Add strncasecmp.
36379 * string/test-strncasecmp.c: New file.
36381 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36384 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36385 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36387 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36389 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36391 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36393 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36394 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36395 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36397 2010-05-01 Alan Modra <amodra@gmail.com>
36399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36400 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36401 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36402 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36403 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36404 tidying. Don't tail-call __sigjmp_save for static lib.
36405 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36407 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36408 (CALL_MCOUNT): Add eh info, and nop after bl.
36409 (TAIL_CALL_SYSCALL_ERROR): New macro.
36410 (PSEUDO_RET): Use it.
36411 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36412 Correct save location of integer regs and cr.
36413 (_dl_profile_resolve): Correct cr save location. Delete nops
36414 after bl when SHARED. Reduce cfi size a little by better
36415 placement of cfi directives.
36416 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36417 make a stack frame. Instead use parm save area as a temp.
36418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36419 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36421 Don't make a stack frame for parent, use parm save area.
36422 Increase child stack frame to 112 bytes. Don't save unused reg,
36423 and adjust reg usage. Set up cfi on error recovery and
36424 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36426 (__makecontext): Add dummy nop after jump to exit.
36427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36428 Use correct parm save area and cr save, reduce stack frame.
36429 Correct cfi for possible PSEUDO_RET frame setup.
36430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36431 Branch to local label emitted by PSEUDO_RET rather than
36434 2010-08-12 Andreas Schwab <schwab@redhat.com>
36437 * locale/programs/locale.c (print_assignment): New function.
36438 (show_locale_vars): Use it.
36440 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36442 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36444 (struct statfs64): Likewise.
36445 (_STATFS_F_FLAGS): Define.
36446 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36448 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36449 (ST_VALID): Define locally.
36450 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36451 __statvfs_getflags, use the provided value.
36452 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36453 __ASSUME_STATFS_F_FLAGS.
36455 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36457 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36458 Add sys/fanotify.h.
36459 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36460 fanotify_mask for GLIBC_2.13.
36461 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36462 fanotify_init and fanotify_mark.
36463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36464 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36466 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36468 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36469 prlimit64 for GLIBC_2.13.
36470 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36472 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36475 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36476 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36477 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36480 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36483 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36484 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36486 * nss/Makefile: Add rules to build and run tst-nss-test1.
36487 * shlib-versions: Add entry for libnss_test1.
36488 * nss/nss_test1.c: New file.
36489 * nss/tst-nss-test1.c: New file.
36491 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36492 (__nss_configure_lookup): Set appropriate entry in
36493 __nss_configure_lookup to true.
36494 * nss/nsswitch.h: Define enum with indeces of databases in
36495 databases and __nss_database_custom arrays. Declare
36496 __nss_database_custom.
36497 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36498 to avoid using nscd when custom rules are installed.
36499 * nss/getXXbyYY_r.c: Likewise.
36500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36502 * nss/nss_files/files-parse.c: Whitespace fixes.
36504 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36507 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36508 * posix/fnmatch_loop.c: Likewise.
36510 2010-07-17 Andi Kleen <ak@linux.intel.com>
36512 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36513 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36514 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36515 * Versions.def [GLIBC_2.13]: Add.
36517 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36519 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36520 Also fail if tpwd after pwuid call is NULL.
36522 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36524 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36525 when converting to ms.
36527 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36529 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36530 EOPNOTSUPP errors with ENOTTY.
36531 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36532 EOPNOTSUPP errors with ENOTTY.
36534 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36536 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36537 Add strcasecmp_l-ssse3.
36538 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36540 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36541 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36542 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36544 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36546 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36548 * string/Makefile (strop-tests): Add strcasecmp.
36549 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36550 strcasecmp_l-nonascii.
36551 (gen-as-const-headers): Add locale-defines.sym.
36552 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36553 * sysdeps/x86_64/strcasecmp.S: New file.
36554 * sysdeps/x86_64/strcasecmp_l.S: New file.
36555 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36556 * sysdeps/x86_64/locale-defines.sym: New file.
36557 * string/test-strcasecmp.c: New file.
36559 * string/test-strcasestr.c: Test both ends of the range of characters.
36560 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36562 2010-07-29 Roland McGrath <roland@redhat.com>
36565 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36567 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36569 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36572 2010-07-27 Andreas Schwab <schwab@redhat.com>
36574 * manual/memory.texi (Malloc Tunable Parameters): Document
36577 2010-07-26 Roland McGrath <roland@redhat.com>
36580 * configure.in (-fgnu89-inline check): Set and substitute
36581 gnu89_inline, not libc_cv_gnu89_inline.
36582 * configure: Regenerated.
36583 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36585 2010-07-26 Ulrich Drepper <drepper@redhat.com>
36587 * string/test-strnlen.c: New file.
36588 * string/Makefile (strop-tests): Add strnlen.
36589 * string/tester.c (test_strnlen): Add a few more test cases.
36590 * string/tst-strlen.c: Better error reporting.
36592 * sysdeps/x86_64/strnlen.S: New file.
36594 2010-07-24 Ulrich Drepper <drepper@redhat.com>
36596 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36597 lower-latency instructions.
36599 2010-07-23 Ulrich Drepper <drepper@redhat.com>
36601 * string/test-strcasestr.c: New file.
36602 * string/test-strstr.c: New file.
36603 * string/Makefile (strop-tests): Add strstr and strcasestr.
36604 * string/str-two-way.h: Don't undefine MAX.
36605 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36607 2010-07-21 Andreas Schwab <schwab@redhat.com>
36609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36610 strcasestr-nonascii.
36611 (CFLAGS-strcasestr-nonascii.c): Define.
36612 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36613 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36614 Remove unused attribute.
36616 2010-07-20 Roland McGrath <roland@redhat.com>
36618 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36619 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36620 ld.so.cache was broken. With it, there is no way to disable dsocaps
36621 like LD_HWCAP_MASK can disable hwcaps.
36623 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36625 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36627 2010-07-16 Ulrich Drepper <drepper@redhat.com>
36629 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36630 call in strcasestr.
36631 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36632 __strcasestr_sse42_nonascii.
36633 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36634 strcasestr-nonascii.c.
36635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36637 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
36639 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36640 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36644 2010-07-09 Ulrich Drepper <drepper@redhat.com>
36646 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36649 2010-07-06 Andreas Schwab <schwab@redhat.com>
36652 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36655 2010-07-06 Ulrich Drepper <drepper@redhat.com>
36657 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36658 _PC_PIPE_BUF using F_GETPIPE_SZ.
36660 2010-07-05 Roland McGrath <roland@redhat.com>
36662 * manual/arith.texi (Rounding Functions): Fix rint description
36663 implicit in round description.
36665 2010-07-02 Ulrich Drepper <drepper@redhat.com>
36667 * elf/Makefile: Fix linking for a few tests to make recent linker
36670 2010-06-30 Andreas Schwab <schwab@redhat.com>
36672 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36673 $(common-objpfx)libc_nonshared.a.
36675 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
36677 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36678 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36679 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36680 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36681 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36682 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36683 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36684 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36699 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36700 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36701 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36702 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36703 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36704 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36705 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36706 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36707 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36708 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36709 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36710 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36726 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36728 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36729 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36730 * string/memmove.c (memmove): Renamed to ...
36731 (MEMMOVE): ...this. Default to memmove.
36732 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36733 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36736 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36737 mempcpy-ssse3-back memmove-ssse3-back.
36738 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36739 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36741 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36742 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36743 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36744 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36745 * sysdeps/x86_64/multiarch/memmove.c: New file.
36746 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36747 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36748 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36749 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36750 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36753 (index_Fast_Copy_Backward): Define.
36754 (HAS_ARCH_FEATURE): Define.
36755 (HAS_FAST_REP_STRING): Define.
36756 (HAS_FAST_COPY_BACKWARD): Define.
36758 2010-06-21 Andreas Schwab <schwab@redhat.com>
36760 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36761 Restore proper fallback handling.
36763 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36766 * posix/group_member.c (__group_member): Correct checking loop.
36768 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36769 OOM in getpwuid_r correctly. Return error number when the caller
36770 should return, otherwise -1.
36771 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36772 call returning > 0 value.
36773 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36775 2010-06-07 Andreas Schwab <schwab@redhat.com>
36777 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36778 libc_nonshared.a from targets in modules-names.
36780 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36782 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36785 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36787 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36788 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36792 2010-06-02 Andreas Schwab <schwab@redhat.com>
36794 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36796 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36798 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36800 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36804 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36807 2010-06-14 Roland McGrath <roland@redhat.com>
36809 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36811 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36813 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36814 __REDIRECT followed by __THROW.
36815 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36816 * posix/getopt.h (getopt): Likewise.
36818 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36820 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36821 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36822 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36824 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36825 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36827 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36829 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36831 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36835 Properly check family and model.
36837 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36839 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36841 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36843 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36845 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36847 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36850 2010-05-19 Andreas Schwab <schwab@redhat.com>
36852 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36855 2010-05-21 Andreas Schwab <schwab@redhat.com>
36857 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36858 and internal_recvmmsg.
36859 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36860 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36861 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36862 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36864 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36865 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36866 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36868 2010-05-20 Andreas Schwab <schwab@redhat.com>
36870 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36872 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
36874 POWER7 optimizations.
36875 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36876 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36878 2010-05-19 Ulrich Drepper <drepper@redhat.com>
36880 * version.h: Update for 2.13 development version.
36882 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
36884 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36885 exceptions. Return 0.
36887 2010-05-07 Roland McGrath <roland@redhat.com>
36889 * elf/ldconfig.c (main): Add a const.
36891 2010-05-06 Ulrich Drepper <drepper@redhat.com>
36893 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36894 (args_options): Add no-idn option.
36895 (ahosts_keys_int): Add idn_flags to ai_flags.
36896 (parse_option): Handle 'i' option to clear idn_flags.
36898 * malloc/malloc.c (_int_free): Possible race in the most recently
36899 added check. Only act on the data if no current modification
36902 See ChangeLog.17 for earlier changes.