1 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (__libc_ifunc_impl_list): Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15 avoid cretion of __bzero symbol.
16 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23 multiarch implementations.
24 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25 (__libc_ifunc_impl_list): Likewise.
26 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
31 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
37 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45 (__libc_ifunc_impl_list): Likewise.
46 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
47 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55 multiarch for POWER/PPC64.
56 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
60 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
61 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
62 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
63 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
64 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
67 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
70 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
71 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
72 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
73 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
74 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
75 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
76 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
77 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
78 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
79 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
80 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
81 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
82 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
83 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
92 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
94 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
96 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
98 * benchtests/Makefile (bench): Add exp2 and log2.
99 (LDLIBS-bench-exp2): Add -lm.
100 (LDLIBS-bench-log2): Likewise.
101 * benchtests/exp2-inputs: New inputs file.
102 * benchtests/log2-inputs: New inputs file.
103 * benchtests/log-inputs: Add new inputs.
104 * benchtests/tan-inputs: Likewise.
106 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
108 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
110 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
111 csloww1, csloww2): ... from here.
113 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
114 instead of structures.
115 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
116 (POLYNOMIAL): Likewise.
117 (TAYLOR_SLOW): Likewise.
132 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
134 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
135 (__malloc_assert, __libc_realloc, __libc_calloc,
136 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
138 * malloc/hooks.c (realloc_check): Likewise.
140 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
142 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
143 * malloc/arena.c: Remove PER_THREAD conditional.
144 [!PER_THREAD]: Remove code.
145 (ptmalloc_unlock_all2): Likewise.
146 (ptmalloc_init): Likewise.
147 (_int_new_arena): Likewise.
148 (arena_get2): Likewise.
149 * malloc/hooks.c (__malloc_get_state): Likewise.
150 (__malloc_set_state): Likewise.
151 * malloc/malloc.c: Likewise.
152 (struct malloc_state): Likewise.
153 (struct malloc_par): Likewise.
154 (__libc_realloc): Likewise.
155 (__libc_mallopt): Likewise.
157 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
159 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
161 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
163 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
164 macro to a function. Check for zero perturb_byte.
165 (_int_malloc, _int_free): Remove zero perturb_byte checks.
167 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
169 * malloc/malloc.c: (force_reg): Remove.
170 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
171 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
172 force_reg by atomic_forced_read.
173 * malloc/arena.c (ptmalloc_init): Likewise.
174 * malloc/hooks.c (top_check): Likewise.
176 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
180 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
184 2013-12-08 Joseph Myers <joseph@codesourcery.com>
186 * math/auto-libm-test-in: Add tests of lgamma.
187 * math/auto-libm-test-out: Regenerated.
188 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
189 (M_LOG_2_SQRT_PIl): Likewise.
190 (lgamma_test_data): Use AUTO_TESTS_f_f1.
191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
193 (func_calc_desc): Add mpfr_f_f1 union field.
202 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
203 (test_functions): Add lgamma.
204 (calc_generic_results): Handle mpfr_f_f1.
205 * sysdeps/i386/fpu/libm-test-ulps: Update.
206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
208 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
211 __mpn_add_n for PowerPC64/POWER7.
212 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
213 __mpn_sub_n for PowerPC64/POWER7.
215 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
217 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
218 __mpn_addmul_1 for PowerPC64.
219 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
220 __mpn_submul_1 for PowerPC64.
221 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
223 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
226 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
229 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
231 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
233 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
235 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
238 add multiarch folders.
239 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
240 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
241 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
242 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
243 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
244 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
245 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
246 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
247 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
248 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
249 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
257 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
260 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
266 multiarch __ieee754_hypot for PowerPC32.
267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
272 multiarch __ieee754_hypotf for PowerPC32.
274 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
277 long_double_symbol only if __logbl is defined.
278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
279 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
281 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
282 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
283 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
284 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
285 path for implementation.
286 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
289 logb, and logbl multiarch implementations for PowerPC32.
290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
295 multiarch logb for PowerPC32.
296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
301 multiarch logbf for PowerPC32.
302 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
306 multiarch logbl implementation for PowerPC32.
308 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
311 and modff multiarch implementations.
312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
317 multiarch modf for PowerPC32.
318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
323 multiarch modff for PowerPC32.
325 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
328 and lrintf multiarch implementations.
329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
334 multiarch lrint for PowerPC32.
335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
336 file: multiarch lrintf for PowerPC32.
338 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
341 and lroundf multiarch implementations.
342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
349 multiarch lround for PowerPC32.
350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
351 file: multiarch lroundf for PowerPC32.
353 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
356 copysign and copysignf multiarch implementations.
357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
362 file: multiarch copysign for PowerPC32.
363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
364 file: multiarch copysignf for PowerPC32.
366 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
369 and truncf multiarch implementations.
370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
375 multiarch trunc for PowerPC32.
376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
381 multiarch truncf for PowerPC32.
383 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
386 and roundf multiarch implementations.
387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
392 multiarch round for PowerPC32.
393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
398 multiarch roundf for PowerPC32.
400 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
403 and floorf multiarch implementations.
404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
409 multiarch floor for PowerPC32.
410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
415 multiarch floorf for PowerPC32.
417 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
420 and ceilf multiarch implementations.
421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
426 multiarch ceil for PowerPC32.
427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
432 multiarch ceilf for PowerPC32.
434 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
438 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
441 and finitef multiarch implementations.
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
447 multiarch finite for PowerPC32.
448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
451 file: multiarch finitef for PowerPC32.
453 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
456 and isinff multiarch implementations.
457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
462 multiarch isinf for PowerPC32.
463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
466 multiarch isinff for PowerPC32.
468 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
470 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
471 alias when __isnan is defined.
472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
473 and isnanf multiarch implementations.
474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
483 multiarch isnan for PowerPC32.
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
489 multiarch isnanf for PowerPC32.
491 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
494 and sqrtf multiarch implementations.
495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
500 multiarch sqrt for PowerPC32.
501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
506 multiarch sqrtf for PowerPC32.
508 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
511 and llroundf multiarch implementations.
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
519 file: multiarch llround for PowerPC32.
520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
521 file: multiarch llroundf for PowerPC32.
523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
526 multiarch PowerPC32 fpu implementations.
527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
532 multiarch llrint for PowerPC32.
533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
540 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
544 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
546 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
548 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
550 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
553 multiarch wordcopy for PPC32.
554 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
556 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
557 (__libc_ifunc_impl_list): Likewise.
558 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
559 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
560 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
561 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
562 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
563 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
565 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
567 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
575 multiarch wcscpy for PPC32.
576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
579 (__libc_ifunc_impl_list): Likewise.
580 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
581 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
582 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
583 sysdeps/powerpc/power6/wcscpy.c.
585 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
595 multiarch wcsrchr for PPC32.
596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
599 (__libc_ifunc_impl_list): Likewise.
600 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
601 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
602 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
603 sysdeps/powerpc/power6/wcsrchr.c.
605 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
613 multiarch wcschr for PPc32.
614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
617 (__libc_ifunc_impl_list): Likewise.
618 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
619 * sysdeps/powerpc/power6/wcschr.c: ... to here.
620 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
621 sysdeps/powerpc/power6/wcschr.c.
623 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
625 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
628 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
629 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
630 file: multiarch strchr for PPC32.
631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
634 (__libc_ifunc_impl_list): Likewise.
636 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
638 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
640 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
642 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
644 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
645 multiarch strchrnul for PPC32.
646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
649 (__libc_ifunc_impl_list): Likewise.
651 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
656 multiarch strncasecmp for PPC32.
657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
659 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
660 multiarch strncasecmp_l for PPC32.
661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
662 strncasecmp multiarch objects.
663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
664 (__libc_ifunc_impl_list): Likewise.
666 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
670 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
671 multiarch strncasecmp for PPC32.
672 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
674 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
675 multiarch strcasecmp_l for PPC32.
676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
679 (__libc_ifunc_impl_list): Likewise.
681 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
685 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
687 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
688 multiarch strncmp for PPC32.
689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
692 (__libc_ifunc_impl_list): Likewise.
694 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
697 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
699 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
700 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
704 (__libc_ifunc_impl_list): Likewise.
706 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
710 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
712 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
716 (__libc_ifunc_impl_list): Likewise.
718 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
722 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
724 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
725 multiarch rawmemchr for PPC32.
726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
729 (__libc_ifunc_impl_list): Likewise.
731 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
735 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
737 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
738 file: memrchr multiarch for PPC32.
739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
742 (__libc_ifunc_impl_list): Likewise.
744 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746 * string/memchr.c (__memchr): Using macro to redefine symbol name.
747 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
749 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
750 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
751 multiarch memchr for PPC32.
752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
755 (__libc_ifunc_impl_list): Likewise.
757 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
759 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
760 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
762 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
764 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
765 file: multiarch mempcpy for PPC32.
766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
769 (__libc_ifunc_impl_list): Likewise.
771 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
773 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
774 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
775 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
776 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
777 multiarch bzero for PPC32.
778 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
780 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
782 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
783 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
784 file: multiarch memset for PPC32.
785 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
787 memset multiarch objects.
788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
789 (__libc_ifunc_impl_list): Likewise.
791 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
795 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
796 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
798 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
802 (__libc_ifunc_impl_list): Likewise.
804 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
812 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
815 multiarch memcpy for PPC32.
816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
819 (__libc_ifunc_impl_list): Likewise.
821 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
824 support multiarch for POWER/PPC32.
825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
827 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
829 Implies file to make multiarch folder appers before the fpu and
830 default folder for power4 configuration.
832 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
834 * scripts/bench.pl: Append volatile keyword to type.
836 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
838 * sysdeps/sh/sotruss-lib.c: New file.
839 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
841 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
845 2013-12-05 Joseph Myers <joseph@codesourcery.com>
848 * math/w_tgamma.c: Include <errno.h>.
849 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
850 * math/w_tgammaf.c: Include <errno.h>.
851 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
852 * math/w_tgammal.c: Include <errno.h>.
853 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
854 * math/auto-libm-test-in: Do not allow missing errno on tgamma
855 underflow. Add more tgamma tests.
856 * math/auto-libm-test-out: Regenerated.
857 * sysdeps/i386/fpu/libm-test-ulps: Update.
858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
860 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
861 sin, sinh, tan, tanh, tgamma, y0 and y1.
862 * math/auto-libm-test-out: Regenerated.
863 * math/libm-test.inc (TEST_COND_x86_64): New macro.
864 (TEST_COND_x86): Likewise.
865 (M_E2l): Remove macro.
867 (M_2_SQRT_PIl): Likewise.
868 (M_SQRT_PIl): Likewise.
869 (M_1_DIV_El): Likewise.
870 (log_test_data): Use AUTO_TESTS_f_f.
871 (log10_test_data): Likewise.
872 (log1p_test_data): Likewise.
873 (log2_test_data): Likewise.
874 (sin_test_data): Likewise.
875 (sin_tonearest_test_data): Likewise.
876 (sin_towardzero_test_data): Likewise.
877 (sin_downward_test_data): Likewise.
878 (sin_upward_test_data): Likewise.
879 (sinh_test_data): Likewise.
880 (sinh_tonearest_test_data): Likewise.
881 (sinh_towardzero_test_data): Likewise.
882 (sinh_downward_test_data): Likewise.
883 (sinh_upward_test_data): Likewise.
884 (tan_test_data): Likewise.
885 (tan_tonearest_test_data): Likewise.
886 (tan_towardzero_test_data): Likewise.
887 (tan_downward_test_data): Likewise.
888 (tan_upward_test_data): Likewise.
889 (tanh_test_data): Likewise.
890 (tgamma_test_data): Likewise.
891 (y0_test_data): Likewise.
892 (y1_test_data): Likewise.
893 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
894 (special_real_inputs): Add pi/4.
895 * sysdeps/i386/fpu/libm-test-ulps: Update.
896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
898 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
901 "longjmp_target" static probes.
902 (__longjmp): Rename to __longjmp_symbol.
903 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
904 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
905 on which longjmp to generate.
906 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
907 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
909 (__sigsetjmp): Rename to __sigsetjmp_symbol.
910 (__sigjmp_save): Rename to __sigjmp_save_symbol.
911 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
913 and __sigjmp_save_symbol based on which sigsetjmp to generated.
914 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
916 __longjmp_symbol based on which __longjmp to generate.
917 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
919 (setjmp): Rename to setjmp_symbol.
920 (__sigsetjmp): Rename to __sigsetjmp_symbol.
921 (_setjmp): Rename to _setjmp_symbol.
922 (__sigsetjmp): Rename to __sigsetjmp_symbol.
923 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
924 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
925 which setjmp to generate.
926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
927 "longjmp_target" static probes.
929 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
931 * benchtests/README: Add note about output arguments.
932 * benchtests/bench-sincos.c: Remove file.
933 * benchtests/sincos-inputs: New file.
934 * scripts/bench.pl: Identify output arguments and define
935 static variables for them.
937 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
940 * Makefile (INSTALL): Add install-plain.texi as the primary
942 * manual/install-plain.texi: New file.
943 * manual/install.texi: Include node directive only for
944 non-plaintext output.
946 2013-12-04 Joseph Myers <joseph@codesourcery.com>
948 * stdlib/longlong.h: Update from GCC.
952 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
953 * math/w_j0f.c (y0f): Likewise.
954 * math/w_j0l.c (__y0l): Likewise.
955 * math/w_j1.c (y1): Likewise.
956 * math/w_j1f.c (y1f): Likewise.
957 * math/w_j1l.c (__y1l): Likewise
958 * math/w_jn.c (yn): Likewise.
959 * math/w_jnf.c (ynf): Likewise.
960 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
961 Bessel function pole errors in _POSIX_ mode. Use NAN as return
962 value for Bessel function domain errors outside _SVID_ mode.
963 Adjust sign of return value for yn (negative integer, 0).
964 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
965 by zero in return for negative x and set sign appropriately for
967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
968 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
969 * math/libm-test.inc (y0_test_data): Add more tests and adjust
970 expectations in error cases.
971 (y1_test_data): Likewise.
972 (yn_test_data): Likewise.
973 * sysdeps/i386/fpu/libm-test-ulps: Update.
974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
978 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
979 "64" to "64-v1". Add "64-v2".
980 (abi-64-options): Rename to ...
981 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
982 (abi-64-condition): Rename to ...
983 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
984 (abi-64-ld-soname): Rename to ...
985 (abi-64-v1-ld-soname): ... this.
986 (abi-64-v2-options): Define.
987 (abi-64-v2-condition): Likewise.
988 (abi-64-v2-ld-soname): Likewise.
989 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
990 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
995 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
996 Alan Modra <amodra@gmail.com>
998 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
999 New versions for use with the ELFv2 ABI.
1000 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1001 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1003 (struct La_ppc64v2_retval): Likewise.
1004 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1005 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1006 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1007 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1008 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1009 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1010 Do not save or restore CR.
1011 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1012 (_dl_profile_resolve): Do no save or restore CR. Support extended
1013 return values for ELFv2 ABI. Fix location of FPR return registers.
1014 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1015 updated values for _CALL_ELF == 2.
1016 (La_regs, La_retval, int_retval): Likewise.
1018 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1020 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1021 (FRAME_MIN_SIZE_PARM): Likewise.
1022 (FRAME_BACKCHAIN): Likewise.
1023 (FRAME_CR_SAVE): Likewise.
1024 (FRAME_LR_SAVE): Likewise.
1025 (FRAME_TOC_SAVE): Likewise.
1026 (FRAME_PARM_SAVE): Likewise.
1027 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1028 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1029 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1030 (call_mcount_parm_offset): New macro.
1031 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1032 (PROF): Use symbolic stack frame offsets.
1033 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1034 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1035 Redefine in terms of FRAME_MIN_SIZE.
1036 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1037 (_dl_profile_resolve): Likewise. Update comment.
1038 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1039 symbols stack frame offsets.
1040 (__sigsetjmp): Likewise.
1041 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1042 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1043 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1044 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1047 (FRAME_BACKCHAIN): Remove.
1048 (FRAME_CR_SAVE): Likewise.
1049 (FRAME_LR_SAVE): Likewise.
1050 (FRAME_COMPILER_DW): Likewise.
1051 (FRAME_LINKER_DW): Likewise.
1052 (FRAME_TOC_SAVE): Likewise.
1053 (FRAME_PARM_SAVE): Likewise.
1054 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1055 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1056 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1058 (CHECK_SP): Use symbolic stack frame offsets.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1060 zone" instead of caller's parameter save area for temp storage.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1062 Likewise. Also, use symbolic stack frame offsets.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1064 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1065 our own stack frame instead of the caller's.
1066 (__socket): Use symbolic stack frame offsets.
1068 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1069 Alan Modra <amodra@gmail.com>
1071 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1073 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1074 PPC64_LOCAL_ENTRY_OFFSET): Define.
1075 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1077 (elf_machine_fixup_plt): Call it.
1078 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1080 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1081 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1082 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1083 r2 before calling target.
1085 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1086 Alan Modra <amodra@gmail.com>
1088 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1089 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1090 versions of macros to support ELFv2 ABI.
1091 (LOCALENTRY): New macro.
1092 (ENTRY, EALIGN): Use it.
1093 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1094 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1095 fall through into ENTRY entry point.
1096 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1097 Only define if _CALL_ELF != 2.
1099 (elf_machine_matches_host): Verify ABI version matches.
1100 (RTLD_START): Use LOCALENTRY.
1101 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1102 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1103 (PLT_ENTRY_WORDS): New macro.
1104 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1105 (elf_machine_runtime_setup): Support ELFv2 ABI.
1106 (elf_machine_fixup_plt): Likewise.
1107 (elf_machine_plt_conflict): Likewise.
1108 (resolve_ifunc): Likewise.
1109 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1113 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1115 (makecontext): Support ELFv2 ABI.
1116 * elf/elf.h (EF_PPC64_ABI): Define.
1118 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1120 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1121 New assembler macro.
1122 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1123 [ASSEMBLER] (ENTRY): ... but instead here ...
1124 [ASSEMBLER] (EALIGN): ... and here.
1125 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1126 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1127 [!ASSEMBLER] (ENTRY_2): Use it.
1128 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1129 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1130 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1131 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1132 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1134 Use PPC64_LOAD_FUNCPTR.
1136 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1138 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1140 2013-12-04 Alan Modra <amodra@gmail.com>
1142 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1143 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1144 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1145 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1148 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1149 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1150 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1151 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1152 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1154 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1157 (__makecontext): Fix incorrect CFI when backtracing out of
1158 context created via makecontext.
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1160 (__setcontext): Fix incorrect CFI during switch to new context.
1161 (__novec_setcontext): Likewise.
1163 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1166 * time/strptime_l.c (__strptime_internal): Allow modifiers
1168 * time/tst-strptime.c (day_tests): Add testcase.
1171 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1173 * scripts/bench.pl: Skip over blank lines.
1175 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1178 * manual/time.texi (Calendar Time): Clarify what timezone functions
1181 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1185 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1187 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1189 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1190 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1191 * debug/memset_chk.c (__memset_chk): Likewise.
1192 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1193 * debug/strncpy_chk.c: Likewise.
1195 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1199 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1200 (__ieee754_exp): For possibly underflowing results, check size of
1201 result and force underflow exception if required.
1202 * math/auto-libm-test-in: Add more tests of exp.
1203 * math/auto-libm-test-out: Regenerated.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1208 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1209 * math/w_exp2f.c (__exp2f): Likewise.
1210 * math/w_exp2l.c (__exp2l): Likewise.
1211 * math/auto-libm-test-in: Do not allow missing errno on exp2
1213 * math/auto-libm-test-out: Regenerated.
1215 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1218 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1219 handle filename validation.
1220 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1223 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1226 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1227 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1228 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1230 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1231 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1232 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1234 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1236 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1237 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1238 Add more erfc tests.
1239 * math/auto-libm-test-out: Regenerated.
1240 * sysdeps/i386/fpu/libm-test-ulps: Update.
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1243 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1244 exp2, expm1, j0 and j1.
1245 * math/auto-libm-test-out: Regenerated.
1246 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1247 (erfc_test_data): Likewise.
1248 (exp_test_data): Likewise.
1249 (exp_tonearest_test_data): Likewise.
1250 (exp_towardzero_test_data): Likewise.
1251 (exp_downward_test_data): Likewise.
1252 (exp_upward_test_data): Likewise.
1253 (exp10_test_data): Likewise.
1254 (exp2_test_data): Likewise.
1255 (expm1_test_data): Likewise.
1256 (j0_test_data): Likewise.
1257 (j1_test_data): Likewise.
1258 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1259 (input_flag_type): Add flag_xfail_rounding.
1260 (input_flags): Add xfail-rounding.
1261 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1262 (output_for_one_input_case): Handle flag_xfail_rounding.
1263 * sysdeps/i386/fpu/libm-test-ulps: Update.
1264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1266 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1269 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1272 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1275 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1276 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1277 (STAP_PROBE0): New macro.
1278 (STAP_PROBE1): Likewise.
1279 (STAP_PROBE2): Likewise.
1280 (STAP_PROBE3): Likewise.
1281 (STAP_PROBE4): Likewise.
1283 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1285 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1287 2013-12-02 Steve Ellcey <sellcey@mips.com>
1289 * benchtests/Makefile (bench): Add sqrt.
1290 (LDLIBS-bench-sqrt): New.
1291 * benchtests/sqrt-input: New.
1293 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1295 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1296 (GAIH_EAI): Likewise.
1297 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1298 (gaih_inet): Likewise.
1299 (getaddrinfo): Don't use GAIH_EAI.
1301 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1302 (struct gaih): Remove definition.
1304 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1306 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1307 Use HERRNOP directly.
1309 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1313 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1315 * math/gen-auto-libm-tests.c (test_functions): Add more
1316 single-argument functions.
1317 (special_fill_pi_2): New function.
1318 (special_fill_minus_pi_2): Likewise.
1319 (special_fill_pi_6): Likewise.
1320 (special_fill_minus_pi_6): Likewise.
1321 (special_fill_pi_3): Likewise.
1322 (special_fill_2pi_3): Likewise.
1323 (special_fill_e): Likewise.
1324 (special_fill_1_e): Likewise.
1325 (special_fill_e_minus_1): Likewise.
1326 (special_real_inputs): Add more special inputs.
1327 (output_for_one_input_case): Do not require ERANGE on underflow to
1328 zero if round-to-nearest result does not underflow to zero, unless
1329 exact results required.
1330 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1331 atan, atanh, cbrt, cos and cosh.
1332 * math/auto-libm-test-out: Regenerated.
1333 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1334 (acos_tonearest_test_data): Likewise.
1335 (acos_towardzero_test_data): Likewise.
1336 (acos_downward_test_data): Likewise.
1337 (acos_upward_test_data): Likewise.
1338 (acosh_test_data): Likewise.
1339 (asin_test_data): Likewise.
1340 (asin_tonearest_test_data): Likewise.
1341 (asin_towardzero_test_data): Likewise.
1342 (asin_upward_test_data): Likewise.
1343 (asinh_test_data): Likewise.
1344 (atan_test_data): Likewise.
1345 (atanh_test_data): Likewise.
1346 (cbrt_test_data): Likewise.
1347 (cos_test_data): Likewise.
1348 (cos_tonearest_test_data): Likewise.
1349 (cos_towardzero_test_data): Likewise.
1350 (cos_downward_test_data): Likewise.
1351 (cos_upward_test_data): Likewise.
1352 (cosh_test_data): Likewise.
1353 (cosh_tonearest_test_data): Likewise.
1354 (cosh_towardzero_test_data): Likewise.
1355 (cosh_downward_test_data): Likewise.
1356 (cosh_upward_test_data): Likewise.
1357 * sysdeps/i386/fpu/libm-test-ulps: Update.
1358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1360 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1363 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1364 * math/w_exp10f.c (__exp10f): Likewise.
1365 * math/w_exp10l.c (__exp10l): Likewise.
1366 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1367 errno settings in existing tests.
1370 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1371 precision control set to double precision.
1372 * sysdeps/i386/fpu/w_sqrt.c: New file.
1373 * math/auto-libm-test-in: Add more tests.
1374 * math/auto-libm-test-out: Update.
1376 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1377 (sqrt_test_tonearest): New function.
1378 (sqrt_towardzero_test_data): New variable.
1379 (sqrt_test_towardzero): New function.
1380 (sqrt_downward_test_data): New variable.
1381 (sqrt_test_downward): New function.
1382 (sqrt_upward_test_data): New variable.
1383 (sqrt_test_upward): New function.
1384 (main): Call the new functions.
1386 * math/gen-auto-libm-tests.c: New file.
1387 * math/auto-libm-test-in: Likewise.
1388 * math/auto-libm-test-out: New generated file.
1389 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1391 (%beautify): Add generated representations of zero.
1392 (top level): Set $auto_input and call parse_auto_input.
1393 (beautify): Remove trailing "f" from hex float constants.
1394 (parse_args): Handle XFAIL_TEST.
1395 (convert_condition): New function.
1396 (or_value): Likewise.
1397 (or_cond_value): Likewise.
1398 (generate_testfile): Handle AUTO_TESTS_* lines.
1399 (parse_auto_input): New function.
1400 * math/libm-test.inc (XFAIL_TEST): New macro.
1401 (ERRNO_UNCHANGED): Update value.
1402 (ERRNO_EDOM): Likewise.
1403 (ERRNO_ERANGE): Likewise.
1404 (IGNORE_RESULT): Likewise.
1405 (TEST_COND_flt_32): New macro.
1406 (TEST_COND_dbl_64): Likewise.
1407 (TEST_COND_ldbl_96_intel): Likewise.
1408 (TEST_COND_ldbl_96_m68k): Likewise.
1409 (TEST_COND_ldbl_128): Likewise.
1410 (TEST_COND_ldbl_128ibm): Likewise.
1411 (TEST_COND_long32): Likewise.
1412 (TEST_COND_long64): Likewise.
1413 (TEST_COND_before_rounding): Likewise.
1414 (TEST_COND_after_rounding): Likewise.
1415 (enable_test): Handle XFAIL_TEST flag.
1416 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1417 with finite results.
1418 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1421 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1422 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1425 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1426 __tls_get_addr_internal instead of __tls_get_offset in order to
1427 avoid GOT pointer dependency. Make rtld export
1428 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1429 __tls_get_addr since we are a __tls_get_offset platform.
1430 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1431 GOT pointer being set up before.
1432 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1434 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1436 * manual/math.texi (Errors in Math Functions): Document accuracy
1440 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1441 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1442 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1444 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1446 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1448 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1450 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1455 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1457 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1458 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1459 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1460 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1461 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1463 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1465 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1467 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1468 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1469 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1470 atomic-feupdateenv and flt-rounds.
1471 * sysdeps/powerpc/nofpu/Versions (libc): Add
1472 __atomic_feholdexcept, __atomic_feclearexcept,
1473 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1474 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1475 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1476 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1477 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1482 * manual/arith.texi (FP Exceptions): Document that exceptions may
1483 not be raised when matherr is used.
1484 (Math Error Reporting): Document overflow in directed rounding
1485 modes. Document that errno may not be set when finite values are
1486 returned on overflow. Document intent to set errno on underflow
1487 only for underflow to zero.
1490 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1491 round-to-nearest then adjust result for other rounding modes.
1492 * include/fenv.h (fegetround): Use libm_hidden_proto.
1493 * math/fegetround.c (fegetround): Use libm_hidden_def.
1494 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1495 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1496 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1499 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1500 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1501 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1502 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1504 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 * nss/Versions (libnss_files): Add
1508 _nss_files_gethostbyname3_r.
1509 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1511 (HOST_DB_LOOKUP): Remove macro.
1512 (_nss_files_gethostbyname_r): Implement function without the
1513 HOST_DB_LOOKUP macro.
1514 (_nss_files_gethostbyname2_r): Likewise.
1516 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1518 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1520 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1522 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1523 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1526 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1528 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1529 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1530 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1531 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1532 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1533 __fe_nomask_env_priv and attribute_hidden.
1534 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1535 (libc_feupdateenv_test_ppc): Likewise.
1536 (libc_feresetround_ppc): Likewise.
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1538 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1539 compat_symbol macro.
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1541 (__fe_nomask_env): Likewise.
1542 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1544 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1546 * string/Makefile: Remove ifunc tests.
1547 * string/test-string.h: Define TEST_IFUNC.
1548 * string/test-bcopy-ifunc.c: Remove.
1549 * string/test-bzero-ifunc.c: Likewise.
1550 * string/test-memccpy-ifunc.c: Likewise.
1551 * string/test-memchr-ifunc.c: Likewise.
1552 * string/test-memcmp-ifunc.c: Likewise.
1553 * string/test-memcpy-ifunc.c: Likewise.
1554 * string/test-memmem-ifunc.c: Likewise.
1555 * string/test-memmove-ifunc.c: Likewise.
1556 * string/test-mempcpy-ifunc.c: Likewise.
1557 * string/test-memrchr-ifunc.c: Likewise.
1558 * string/test-memset-ifunc.c: Likewise.
1559 * string/test-rawmemchr-ifunc.c: Likewise.
1560 * string/test-stpcpy-ifunc.c: Likewise.
1561 * string/test-stpncpy-ifunc.c: Likewise.
1562 * string/test-strcasecmp-ifunc.c: Likewise.
1563 * string/test-strcasestr-ifunc.c: Likewise.
1564 * string/test-strcat-ifunc.c: Likewise.
1565 * string/test-strchr-ifunc.c: Likewise.
1566 * string/test-strchrnul-ifunc.c: Likewise.
1567 * string/test-strcmp-ifunc.c: Likewise.
1568 * string/test-strcpy-ifunc.c: Likewise.
1569 * string/test-strcspn-ifunc.c: Likewise.
1570 * string/test-strlen-ifunc.c: Likewise.
1571 * string/test-strncasecmp-ifunc.c: Likewise.
1572 * string/test-strncat-ifunc.c: Likewise.
1573 * string/test-strncmp-ifunc.c: Likewise.
1574 * string/test-strncpy-ifunc.c: Likewise.
1575 * string/test-strnlen-ifunc.c: Likewise.
1576 * string/test-strpbrk-ifunc.c: Likewise.
1577 * string/test-strrchr-ifunc.c: Likewise.
1578 * string/test-strspn-ifunc.c: Likewise.
1579 * string/test-strstr-ifunc.c: Likewise.
1581 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1583 * benchtests/Makefile: Remove ifunc tests.
1584 * benchtests/bench-string.h: Define TEST_IFUNC.
1585 * benchtests/bench-bcopy-ifunc.c: Remove.
1586 * benchtests/bench-bzero-ifunc.c: Likewise.
1587 * benchtests/bench-memccpy-ifunc.c: Likewise.
1588 * benchtests/bench-memchr-ifunc.c: Likewise.
1589 * benchtests/bench-memcmp-ifunc.c: Likewise.
1590 * benchtests/bench-memcpy-ifunc.c: Likewise.
1591 * benchtests/bench-memmem-ifunc.c: Likewise.
1592 * benchtests/bench-memmove-ifunc.c: Likewise.
1593 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1594 * benchtests/bench-memrchr-ifunc.c: Likewise.
1595 * benchtests/bench-memset-ifunc.c: Likewise.
1596 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1597 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1598 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1599 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1600 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1601 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1602 * benchtests/bench-strcat-ifunc.c: Likewise.
1603 * benchtests/bench-strchr-ifunc.c: Likewise.
1604 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1605 * benchtests/bench-strcmp-ifunc.c: Likewise.
1606 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1607 * benchtests/bench-strcpy-ifunc.c: Likewise.
1608 * benchtests/bench-strcspn-ifunc.c: Likewise.
1609 * benchtests/bench-strlen-ifunc.c: Likewise.
1610 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1611 * benchtests/bench-strncat-ifunc.c: Likewise.
1612 * benchtests/bench-strncmp-ifunc.c: Likewise.
1613 * benchtests/bench-strncpy-ifunc.c: Likewise.
1614 * benchtests/bench-strnlen-ifunc.c: Likewise.
1615 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1616 * benchtests/bench-strrchr-ifunc.c: Likewise.
1617 * benchtests/bench-strsep-ifunc.c: Likewise.
1618 * benchtests/bench-strspn-ifunc.c: Likewise.
1619 * benchtests/bench-strstr-ifunc.c: Likewise.
1621 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1623 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1625 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1627 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1628 * rt/aio.h: Likewise.
1629 * sysdeps/gnu/bits/utmp.h: Likewise.
1630 * sysdeps/gnu/bits/utmpx.h: Likewise.
1631 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1632 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1633 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1634 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1635 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1636 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1637 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1638 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1639 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1640 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1641 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1642 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1643 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1645 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1646 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1647 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1648 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1649 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1650 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1651 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1652 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1655 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1657 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1658 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1659 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1660 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1665 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1666 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1667 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1668 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1669 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1670 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1671 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1672 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1674 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1677 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1678 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1680 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1682 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1683 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1686 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1689 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1690 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1691 (__fesetround): Remove define.
1692 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1693 rounding and exceptions handling.
1694 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1695 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1696 (__fe_nomask_env): Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1698 __fegetround instead of fegetround.
1699 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1702 2013-11-21 Roland McGrath <roland@hack.frob.com>
1704 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1707 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1709 2013-11-21 Meador Inge <meadori@codesourcery.com>
1712 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1713 (encrypt_r): Likewise.
1714 * malloc/obstack.h (obstack_free): Likewise.
1715 * posix/unistd.h (encrypt): Likewise.
1717 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1719 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1720 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1721 DL_CALL_DT_FINI() that call the functions directly.
1722 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1723 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1724 * elf/dl-fini.c: Likewise.
1726 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
1728 * malloc/hooks.c (memalign_check): Add alignment rounding.
1729 * malloc/malloc.c (_mid_memalign): New function.
1730 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1731 Implement by calling _mid_memalign.
1732 * manual/probes.texi (Memory Allocation Probes): Remove
1733 memory_valloc_retry and memory_pvalloc_retry.
1735 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1737 * locale/programs/locarchive.c (open_archive): Add const
1738 qualifier to ARCHIVEFNAME and copy default fname to
1742 * libio/tst-widetext.input: Rename Oriya to Odia.
1743 * locale/iso-639.def: Likewise.
1745 * manual/probes.texi (Mathematical Function Probes): Add
1746 documentation for sin, cos, asin and acos probes.
1747 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1748 (__sin32): Add slowasin probe.
1749 (__cos32): Add slowacos probe.
1750 (__mpsin): Add slowsin probe.
1751 (__mpcos): Add slowcos probe.
1753 2013-11-19 Joseph Myers <joseph@codesourcery.com>
1756 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1757 thread-local __sim_exceptions_thread and global
1758 __sim_exceptions_global.
1759 (__sim_disabled_exceptions): Change to thread-local
1760 __sim_disabled_exceptions_thread and global
1761 __sim_disabled_exceptions_global.
1762 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1763 and global __sim_round_mode_global.
1764 (__simulate_exceptions): Use thread-local floating-point state and
1765 set global state from it as needed.
1766 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1767 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1768 __sim_round_mode_thread.
1769 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1770 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1771 and global __sim_exceptions_global.
1772 (__sim_disabled_exceptions): Change to thread-local
1773 __sim_disabled_exceptions_thread and global
1774 __sim_disabled_exceptions_global.
1775 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1776 and global __sim_round_mode_global.
1777 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1778 (SIM_SET_GLOBAL): Likewise.
1779 * sysdeps/powerpc/soft-fp/sfp-machine.h
1780 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1781 __sim_round_mode_thread.
1782 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1783 __sim_disabled_exceptions_thread.
1784 (__sim_exceptions): Change to __sim_exceptions_thread.
1785 (__sim_disabled_exceptions): Change to
1786 __sim_disabled_exceptions_thread.
1787 (__sim_round_mode): Change to __sim_round_mode_thread.
1788 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1789 thread-local floating-point state and set global state from it as
1791 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1792 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1793 (__sim_disabled_exceptions): Remove extern declaration.
1794 (feenableexcept): Use thread-local floating-point state and set
1795 global state from it as needed.
1796 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1798 (__sim_disabled_exceptions): Likewise.
1799 (__sim_round_mode): Likewise.
1800 (__fegetenv): Use thread-local floating-point state.
1801 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1802 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1803 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1804 floating-point state and set global state from it as needed.
1805 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1806 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1807 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1809 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1810 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1812 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1813 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1814 Use __sim_round_mode_thread.
1815 * math/test-fenv-tls.c: New file.
1816 * math/Makefile (tests): Add test-fenv-tls.
1817 ($(objpfx)test-fenv-tls): Depend on
1818 $(common-objpfx)nptl/libpthread.so.
1820 2013-11-19 Andreas Schwab <schwab@suse.de>
1822 * locale/programs/locale.c (show_info): Decode wordarray elements.
1823 * locale/categories.def (LC_MONETARY): Add element for
1824 _NL_MONETARY_CRNCYSTR.
1825 * locale/C-monetary.c (conversion_rate): New variable.
1826 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1829 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1831 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1832 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1834 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1836 * elf/Makefile (tst-auxv): New test.
1837 * elf/tst-auxv.c: New
1838 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1840 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1842 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1843 (hidden_proto): Caller changed.
1844 (hidden_tls_proto): New macro.
1845 (libc_hidden_tls_proto): Likewise.
1846 (rtld_hidden_tls_proto): Likewise.
1847 (libm_hidden_tls_proto): Likewise.
1848 (libresolv_hidden_tls_proto): Likewise.
1849 (librt_hidden_tls_proto): Likewise.
1850 (libdl_hidden_tls_proto): Likewise.
1851 (libnss_files_hidden_tls_proto): Likewise.
1852 (libnsl_hidden_tls_proto): Likewise.
1853 (libnss_nisplus_hidden_tls_proto): Likewise.
1854 (libutil_hidden_tls_proto): Likewise.
1856 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1859 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1860 (decompose_rpath): Defer expansion to fillin_rpath.
1861 (_dl_init_paths): Pass linkmap to fillin_rpath.
1863 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1865 * benchtests/Makefile: Add strsep.
1866 * benchtests/bench-strsep.c: New file: strsep benchtest.
1867 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1869 2013-11-18 Andreas Schwab <schwab@suse.de>
1871 * locale/programs/locale.c (show_info) [case byte]: Check for
1872 '\377' instead of '\177'.
1873 * locale/C-monetary.c (not_available): Always use "\377".
1874 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1875 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1876 detect unavailable sign_posn locale elements.
1877 * locale/localeconv.c (__localeconv): For grouping and
1878 mon_grouping handle "\177" and "\377" like no grouping.
1879 (INT_ELEM): New macro. Use it to set all numeric members.
1880 * locale/programs/ld-monetary.c (monetary_read)
1881 <tok_mon_grouping>: Normalize single -1 to the empty string.
1882 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1885 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1888 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1889 when we match (nil).
1890 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1892 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1894 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1895 (NO_TEST_INLINE): Update value.
1896 (ERRNO_UNCHANGED): Likewise.
1897 (ERRNO_EDOM): Likewise.
1898 (ERRNO_ERANGE): Likewise.
1899 (IGNORE_RESULT): Likewise.
1900 (check_float_internal): Check signs of NaN results if
1902 (check_complex): Pass TEST_NAN_SIGN flag through to second
1903 check_float_internal call.
1904 (copysign_test_data): Add tests with quiet NaNs as second
1905 argument. Use TEST_NAN_SIGN.
1906 (fabs_test_data): Add test of negative quiet NaN argument. Use
1908 (signbit_test_data): Add tests of quiet NaN argument.
1909 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1911 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1913 (parse_args): Handle function results specified as IGNORE.
1914 * math/libm-test.inc (IGNORE_RESULT): New macro.
1915 (check_float_internal): Do not check numerical result if flag
1917 (check_complex): Pass through IGNORE_RESULT to second
1918 check_float_internal call.
1919 (check_int): Do not check numerical result if flag IGNORE_RESULT
1921 (check_long): Likewise.
1922 (check_bool): Likewise.
1923 (check_longlong): Likewise.
1924 (lrint_test_data): Add tests of infinite and NaN arguments.
1925 (lrint_tonearest_test_data): Likewise.
1926 (lrint_towardzero_test_data): Likewise.
1927 (lrint_downward_test_data): Likewise.
1928 (lrint_upward_test_data): Likewise.
1929 (llrint_test_data): Likewise.
1930 (llrint_tonearest_test_data): Likewise.
1931 (llrint_towardzero_test_data): Likewise.
1932 (llrint_downward_test_data): Likewise.
1933 (llrint_upward_test_data): Likewise.
1934 (lround_test_data): Likewise.
1935 (llround_test_data): Likewise.
1937 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1938 (ERRNO_UNCHANGED): Update value.
1939 (ERRNO_EDOM): Likewise.
1940 (ERRNO_ERANGE): Likewise.
1941 (NO_TEST_INLINE_FLOAT): New macro.
1942 (NO_TEST_INLINE_DOUBLE): Likewise.
1943 (enable_test): New function.
1944 (RUN_TEST_f_f): Check enable_test before running test.
1945 (RUN_TEST_2_f): Likewise.
1946 (RUN_TEST_fff_f): Likewise.
1947 (RUN_TEST_c_f): Likewise.
1948 (RUN_TEST_f_f1): Likewise.
1949 (RUN_TEST_fF_f1): Likewise.
1950 (RUN_TEST_fI_f1): Likewise.
1951 (RUN_TEST_ffI_f1): Likewise.
1952 (RUN_TEST_c_c): Likewise.
1953 (RUN_TEST_cc_c): Likewise.
1954 (RUN_TEST_f_i): Likewise.
1955 (RUN_TEST_f_i_tg): Likewise.
1956 (RUN_TEST_ff_i_tg): Likewise.
1957 (RUN_TEST_f_b): Likewise.
1958 (RUN_TEST_f_b_tg): Likewise.
1959 (RUN_TEST_f_l): Likewise.
1960 (RUN_TEST_f_L): Likewise.
1961 (RUN_TEST_fFF_11): Likewise.
1962 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1964 (cosh_test_data): Likewise.
1965 (exp_test_data): Likewise.
1966 (expm1_test_data): Likewise.
1967 (hypot_test_data): Likewise.
1968 (pow_test_data): Likewise.
1969 (sinh_test_data): Likewise.
1970 (tanh_test_data): Likewise.
1971 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1974 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1975 tests with quiet NaN input and output.
1976 (acosh_test_data): Likewise.
1977 (asin_test_data): Likewise.
1978 (asinh_test_data): Likewise.
1979 (atan_test_data): Likewise.
1980 (atanh_test_data): Likewise.
1981 (atan2_test_data): Likewise.
1982 (cbrt_test_data): Likewise.
1983 (cos_test_data): Likewise.
1984 (cosh_test_data): Likewise.
1985 (erf_test_data): Likewise.
1986 (erfc_test_data): Likewise.
1987 (exp_test_data): Likewise.
1988 (exp10_test_data): Likewise.
1989 (exp2_test_data): Likewise.
1990 (expm1_test_data): Likewise.
1991 (hypot_test_data): Likewise.
1992 (j0_test_data): Likewise.
1993 (j1_test_data): Likewise.
1994 (jn_test_data): Likewise.
1995 (lgamma_test_data): Likewise.
1996 (log_test_data): Likewise.
1997 (log10_test_data): Likewise.
1998 (log1p_test_data): Likewise.
1999 (log2_test_data): Likewise.
2000 (pow_test_data): Likewise.
2001 (scalb_test_data): Likewise.
2002 (sin_test_data): Likewise.
2003 (sincos_test_data): Likewise.
2004 (sinh_test_data): Likewise.
2005 (tan_test_data): Likewise.
2006 (tanh_test_data): Likewise.
2007 (tgamma_test_data): Likewise.
2008 (y0_test_data): Likewise.
2009 (y1_test_data): Likewise.
2010 (yn_test_data): Likewise.
2013 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2014 argument being NaN and avoid computations with second argument in
2016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2017 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2018 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2020 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2022 * locale/iso-639.def: Add Chitwani Tharu (the).
2024 2013-11-14 Andreas Schwab <schwab@suse.de>
2026 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2027 word instead of empty string.
2029 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2032 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2034 (__fe_nomask_env): Likewise.
2036 2013-11-13 Steve Ellcey <sellcey@mips.com>
2038 * benchtests/bench-timing.h: Include time.h.
2040 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2043 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2045 * sysdeps/unix/sysv/linux/configure: Regenerated.
2047 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2050 * stdlib/strtod_l.c (round_and_return): Do not consider
2051 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2052 exponent one less than half the least subnormal exponent.
2053 * stdlib/test-strtod-round-data: Add more tests.
2054 * stdlib/tst-strtod-round.c (tests): Regenerated.
2056 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2060 (__fe_mask_env): Likewise.
2061 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2062 libm_hidden_proto and add function prototype.
2063 (__fe_mask_env): Add function prototype.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2065 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2067 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2069 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2071 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2073 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2074 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2076 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2078 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2079 of htab_find_slot().
2081 2013-11-11 David S. Miller <davem@davemloft.net>
2084 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2085 symbol in the non-vis3 case in static builds.
2086 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2087 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2088 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2089 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2091 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2097 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2099 * benchtests/Makefile: Add bench-strtod.
2100 * benchtests/bench-strtod.c: New file: strtod benchtest
2102 2013-11-11 Andreas Schwab <schwab@suse.de>
2105 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2106 terminating NUL in key length.
2108 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2111 Add artificial ODP entry for vDSO symbol for PPC64.
2112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2113 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2115 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2118 * nss/getent.c (services_keys): Recognize services starting with digit.
2120 2013-11-06 David S. Miller <davem@davemloft.net>
2123 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2124 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2126 2013-11-06 Will Newton <will.newton@linaro.org>
2128 * manual/memory.texi (Malloc Examples): Remove register
2129 keyword from examples.
2131 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2133 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2135 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2137 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2138 depending on [__GCC_IEC_559 > 0].
2139 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2140 depending on [__GCC_IEC_559_COMPLEX > 0].
2142 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2144 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2147 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2149 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2151 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2154 * malloc/malloc (malloc_info): Do not handle first bin as
2157 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2159 * locale/iso-639.def: Add Central Nahuatl (nhn).
2161 2013-11-01 Bruno Haible <bruno@clisp.org>
2164 * manual/math.texi (BSD Random): Specify range upper bound as
2167 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2169 * locale/iso-639.def: Add Meadow Mari (mhr).
2171 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2173 [BZ #14752], [BZ #15763]
2174 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2176 * rt/tst_shm.c: Add test for escaping directory.
2178 2013-10-31 Andreas Schwab <schwab@suse.de>
2181 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2182 followed by 'x' as part of digit sequence.
2183 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2185 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2188 * configure.ac: allow GNU Make 4.0 and greater.
2189 * configure: Regenerated.
2191 2013-10-30 Will Newton <will.newton@linaro.org>
2194 * malloc/hooks.c (memalign_check): Limit alignment to the
2195 maximum representable power of two.
2196 * malloc/malloc.c (__libc_memalign): Likewise.
2197 * malloc/tst-memalign.c (do_test): Add test for very
2198 large alignment values.
2199 * malloc/tst-posix_memalign.c (do_test): Likewise.
2201 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2204 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2205 (munmap_chunk): Likewise.
2206 (mremap_chunk): Likewise.
2208 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2211 * stdlib/div.c (div): Remove obsolete code.
2212 * stdlib/ldiv.c (ldiv): Likewise.
2213 * stdlib/lldiv.c (lldiv): Likewise.
2215 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2218 * nss/nss_files/files-XXX.c (get_contents_ret): New
2220 (get_contents): New function.
2221 (internal_getent): Use it. Expand size of LINEBUFLEN.
2223 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2225 * configure.in: Moved to ...
2226 * configure.ac: ... here. Change reference to configure.in
2228 * sysdeps/arm/preconfigure.ac: ... here.
2229 configure.in to configure.ac.
2230 * sysdeps/gnu/configure.in: Moved to ...
2231 * sysdeps/gnu/configure.ac: ... here.
2232 * sysdeps/i386/configure.in: Moved to ...
2233 * sysdeps/i386/configure.ac: ... here.
2234 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2235 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2236 * sysdeps/mach/configure.in: Moved to ...
2237 * sysdeps/mach/configure.ac: ... here.
2238 * sysdeps/mach/hurd/configure.in: Moved to ...
2239 * sysdeps/mach/hurd/configure.ac: ... here.
2240 * sysdeps/powerpc/configure.in: Moved to ...
2241 * sysdeps/powerpc/configure.ac: ... here.
2242 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2243 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2244 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2245 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2246 * sysdeps/s390/s390-32/configure.in: Moved to ...
2247 * sysdeps/s390/s390-32/configure.ac: ... here.
2248 * sysdeps/s390/s390-64/configure.in: Moved to ...
2249 * sysdeps/s390/s390-64/configure.ac: ... here.
2250 * sysdeps/sh/configure.in: Moved to ...
2251 * sysdeps/sh/configure.ac: ... here.
2252 * sysdeps/sparc/configure.in: Moved to ...
2253 * sysdeps/sparc/configure.ac: ... here.
2254 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2255 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2256 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2257 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2258 * sysdeps/x86_64/configure.in: Moved to ...
2259 * sysdeps/x86_64/configure.ac: ... here.
2260 * sysdeps/x86_64/preconfigure.in: Moved to ...
2261 * sysdeps/x86_64/preconfigure.ac: ... here.
2262 * aclocal.m4: Change reference to configure.in to configure.ac.
2263 * config.h.in: Likewise.
2264 * manual/install.texi: Likewise.
2265 * manual/maint.texi: Likewise.
2266 * Makefile: Likewise.
2267 * malloc/Makefile: Likewise.
2268 * nscd/Makefile: Likewise.
2269 * Makeconfig: Change reference to configure.in and
2270 preconfigure.in to configure.ac and preconfigure.ac
2272 * INSTALL: Regenerated.
2273 * configure: Likewise.
2274 * sysdeps/gnu/configure: Likewise.
2275 * sysdeps/i386/configure: Likewise.
2276 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2277 * sysdeps/mach/configure: Likewise.
2278 * sysdeps/mach/hurd/configure: Likewise.
2279 * sysdeps/powerpc/configure: Likewise.
2280 * sysdeps/powerpc/powerpc32/configure: Likewise.
2281 * sysdeps/powerpc/powerpc64/configure: Likewise.
2282 * sysdeps/s390/s390-32/configure: Likewise.
2283 * sysdeps/s390/s390-64/configure: Likewise.
2284 * sysdeps/sh/configure: Likewise.
2285 * sysdeps/sparc/configure: Likewise.
2286 * sysdeps/unix/sysv/linux/configure: Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2288 * sysdeps/x86_64/configure: Likewise.
2289 * sysdeps/x86_64/preconfigure: Likewise.
2291 2013-10-29 Andreas Schwab <schwab@suse.de>
2293 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2295 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2297 * benchtests/pow-inputs: Add new inputs.
2299 * benchtests/exp-inputs: Add new inputs.
2301 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2302 conditional check for return value.
2303 (__cos32): Likewise.
2305 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2307 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2308 to provide a boost for large inputs with word alignment.
2309 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2310 implementation based on optimized PPC64 strcpy.
2311 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2312 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2313 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2314 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2316 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2319 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2321 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2324 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2325 * time/tst-strptime.c (day_tests): Add testcase.
2327 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2330 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2332 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2335 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2336 MAP_FAILED on error.
2338 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2341 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2342 heap for large requests.
2344 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2347 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2348 result if the result has no associated interface.
2349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2350 interface for all 127.X.Y.Z addresses.
2352 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2354 * locale/iso-639.def: Add Ligurian (lij)
2356 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2359 * sunrpc/rpc_main.c: Document rpcgen -5.
2361 2013-10-19 Michael Stahl <mstahl@redhat.com>
2363 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2365 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2368 * posix/glob.c: Match only directories when trailing slash is present.
2369 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2370 (main): Add testcase.
2372 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2375 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2377 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2379 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2380 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2381 AUTH_DES and cindex for FIPS 140-2.
2382 (DES Encryption): Add cindex FIPS 46-3.
2384 * locale/locarchive.h (struct locarhandle): Add fname.
2385 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2386 if an optional argument was specified to --list-archive,
2388 * locale/programs/locarchive.c (show_archive_content): Take new
2389 argument fname and pass it via ah.fname to open_archive.
2390 * locale/programs/localedef.h: Update decl.
2391 (open_archive): If AH->fname is non-null, open that file
2392 rather than the default file name, and don't ignore ENOENT.
2393 (create_archive): Set AH.fname to NULL.
2394 (delete_locales_from_archive): Likewise.
2395 (add_locales_to_archive): Likewise.
2396 * locale/programs/locfile.c (write_all_categories): Likewise.
2398 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2399 Aldy Hernandez <aldyh@redhat.com>
2401 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2402 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2403 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2404 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2405 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2406 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2408 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2409 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2410 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2411 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2412 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2413 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2414 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2415 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2417 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2419 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2421 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2423 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2424 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2426 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2427 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2428 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2429 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2431 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2432 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2433 * sysdeps/powerpc/preconfigure: Likewise.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2436 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2437 Replace contents of file by #include of <fenv_libc.h>.
2438 * sysdeps/powerpc/soft-fp/sfp-machine.h
2439 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2441 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2448 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2454 Allow copysignl PLT reference to be missing.
2456 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2457 Joseph Myers <joseph@codesourcery.com
2460 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2462 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2464 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2466 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2467 * elf/tst-tls1.c: Likewise.
2468 * elf/tst-tls10.h: Likewise.
2469 * elf/tst-tls14.c: Likewise.
2470 * elf/tst-tls2.c: Likewise.
2471 * elf/tst-tls3.c: Likewise.
2472 * elf/tst-tls4.c: Likewise.
2473 * elf/tst-tls5.c: Likewise.
2474 * elf/tst-tls6.c: Likewise.
2475 * elf/tst-tls7.c: Likewise.
2476 * elf/tst-tls8.c: Likewise.
2477 * elf/tst-tls9.c: Likewise.
2478 * elf/tst-tlsmod1.c: Likewise.
2479 * elf/tst-tlsmod13.c: Likewise.
2480 * elf/tst-tlsmod13a.c: Likewise.
2481 * elf/tst-tlsmod14a.c: Likewise.
2482 * elf/tst-tlsmod16a.c: Likewise.
2483 * elf/tst-tlsmod16b.c: Likewise.
2484 * elf/tst-tlsmod2.c: Likewise.
2485 * elf/tst-tlsmod3.c: Likewise.
2486 * elf/tst-tlsmod4.c: Likewise.
2487 * elf/tst-tlsmod5.c: Likewise.
2488 * elf/tst-tlsmod6.c: Likewise.
2490 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2493 * malloc/malloc.c: remove checks for statistics.
2495 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2498 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2499 * inet/tst-network.c: Add testcase.
2501 2013-10-17 Andreas Schwab <schwab@suse.de>
2504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2505 to determine canonical name.
2507 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2509 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2510 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2512 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2514 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2515 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2516 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2517 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2518 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2519 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2521 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2523 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2524 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2526 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2527 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2528 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2532 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2533 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2534 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2535 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2536 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2537 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2538 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2539 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2541 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2542 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2543 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2544 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2545 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2546 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2547 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2548 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2549 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2550 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2551 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2552 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2553 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2554 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2555 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2556 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2557 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2559 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2561 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2563 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2564 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2566 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2568 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2571 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2572 make result into a quiet NaN.
2574 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2576 * soft-fp/adddf3.c: Fix horizontal whitespace.
2577 * soft-fp/addsf3.c: Likewise.
2578 * soft-fp/addtf3.c: Likewise.
2579 * soft-fp/divdf3.c: Likewise.
2580 * soft-fp/divsf3.c: Likewise.
2581 * soft-fp/divtf3.c: Likewise.
2582 * soft-fp/double.h: Likewise.
2583 * soft-fp/eqdf2.c: Likewise.
2584 * soft-fp/eqsf2.c: Likewise.
2585 * soft-fp/eqtf2.c: Likewise.
2586 * soft-fp/extenddftf2.c: Likewise.
2587 * soft-fp/extended.h: Likewise.
2588 * soft-fp/extendsfdf2.c: Likewise.
2589 * soft-fp/extendsftf2.c: Likewise.
2590 * soft-fp/extendxftf2.c: Likewise.
2591 * soft-fp/fixdfdi.c: Likewise.
2592 * soft-fp/fixdfsi.c: Likewise.
2593 * soft-fp/fixdfti.c: Likewise.
2594 * soft-fp/fixsfdi.c: Likewise.
2595 * soft-fp/fixsfsi.c: Likewise.
2596 * soft-fp/fixsfti.c: Likewise.
2597 * soft-fp/fixtfdi.c: Likewise.
2598 * soft-fp/fixtfsi.c: Likewise.
2599 * soft-fp/fixtfti.c: Likewise.
2600 * soft-fp/fixunsdfdi.c: Likewise.
2601 * soft-fp/fixunsdfsi.c: Likewise.
2602 * soft-fp/fixunsdfti.c: Likewise.
2603 * soft-fp/fixunssfdi.c: Likewise.
2604 * soft-fp/fixunssfsi.c: Likewise.
2605 * soft-fp/fixunssfti.c: Likewise.
2606 * soft-fp/fixunstfdi.c: Likewise.
2607 * soft-fp/fixunstfsi.c: Likewise.
2608 * soft-fp/fixunstfti.c: Likewise.
2609 * soft-fp/floatdidf.c: Likewise.
2610 * soft-fp/floatdisf.c: Likewise.
2611 * soft-fp/floatditf.c: Likewise.
2612 * soft-fp/floatsidf.c: Likewise.
2613 * soft-fp/floatsisf.c: Likewise.
2614 * soft-fp/floatsitf.c: Likewise.
2615 * soft-fp/floattidf.c: Likewise.
2616 * soft-fp/floattisf.c: Likewise.
2617 * soft-fp/floattitf.c: Likewise.
2618 * soft-fp/floatundidf.c: Likewise.
2619 * soft-fp/floatundisf.c: Likewise.
2620 * soft-fp/floatunditf.c: Likewise.
2621 * soft-fp/floatunsidf.c: Likewise.
2622 * soft-fp/floatunsisf.c: Likewise.
2623 * soft-fp/floatunsitf.c: Likewise.
2624 * soft-fp/floatuntidf.c: Likewise.
2625 * soft-fp/floatuntisf.c: Likewise.
2626 * soft-fp/floatuntitf.c: Likewise.
2627 * soft-fp/fmadf4.c: Likewise.
2628 * soft-fp/fmasf4.c: Likewise.
2629 * soft-fp/fmatf4.c: Likewise.
2630 * soft-fp/gedf2.c: Likewise.
2631 * soft-fp/gesf2.c: Likewise.
2632 * soft-fp/getf2.c: Likewise.
2633 * soft-fp/ledf2.c: Likewise.
2634 * soft-fp/lesf2.c: Likewise.
2635 * soft-fp/letf2.c: Likewise.
2636 * soft-fp/muldf3.c: Likewise.
2637 * soft-fp/mulsf3.c: Likewise.
2638 * soft-fp/multf3.c: Likewise.
2639 * soft-fp/negdf2.c: Likewise.
2640 * soft-fp/negsf2.c: Likewise.
2641 * soft-fp/negtf2.c: Likewise.
2642 * soft-fp/op-1.h: Likewise.
2643 * soft-fp/op-2.h: Likewise.
2644 * soft-fp/op-4.h: Likewise.
2645 * soft-fp/op-8.h: Likewise.
2646 * soft-fp/op-common.h: Likewise.
2647 * soft-fp/quad.h: Likewise.
2648 * soft-fp/single.h: Likewise.
2649 * soft-fp/soft-fp.h: Likewise.
2650 * soft-fp/sqrtdf2.c: Likewise.
2651 * soft-fp/sqrtsf2.c: Likewise.
2652 * soft-fp/sqrttf2.c: Likewise.
2653 * soft-fp/subdf3.c: Likewise.
2654 * soft-fp/subsf3.c: Likewise.
2655 * soft-fp/subtf3.c: Likewise.
2656 * soft-fp/truncdfsf2.c: Likewise.
2657 * soft-fp/trunctfdf2.c: Likewise.
2658 * soft-fp/trunctfsf2.c: Likewise.
2659 * soft-fp/trunctfxf2.c: Likewise.
2660 * soft-fp/unorddf2.c: Likewise.
2661 * soft-fp/unordsf2.c: Likewise.
2662 * soft-fp/unordtf2.c: Likewise.
2664 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2666 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2667 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2669 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2671 * elf/dl-libc.c: Clear initfini list after freeing.
2673 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2675 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2676 * soft-fp/addsf3.c: Likewise.
2677 * soft-fp/addtf3.c: Likewise.
2678 * soft-fp/divdf3.c: Likewise.
2679 * soft-fp/divsf3.c: Likewise.
2680 * soft-fp/divtf3.c: Likewise.
2681 * soft-fp/double.h: Likewise.
2682 * soft-fp/eqdf2.c: Likewise.
2683 * soft-fp/eqsf2.c: Likewise.
2684 * soft-fp/eqtf2.c: Likewise.
2685 * soft-fp/extenddftf2.c: Likewise.
2686 * soft-fp/extended.h: Likewise.
2687 * soft-fp/extendsfdf2.c: Likewise.
2688 * soft-fp/extendsftf2.c: Likewise.
2689 * soft-fp/extendxftf2.c: Likewise.
2690 * soft-fp/fixdfdi.c: Likewise.
2691 * soft-fp/fixdfsi.c: Likewise.
2692 * soft-fp/fixdfti.c: Likewise.
2693 * soft-fp/fixsfdi.c: Likewise.
2694 * soft-fp/fixsfsi.c: Likewise.
2695 * soft-fp/fixsfti.c: Likewise.
2696 * soft-fp/fixtfdi.c: Likewise.
2697 * soft-fp/fixtfsi.c: Likewise.
2698 * soft-fp/fixtfti.c: Likewise.
2699 * soft-fp/fixunsdfdi.c: Likewise.
2700 * soft-fp/fixunsdfsi.c: Likewise.
2701 * soft-fp/fixunsdfti.c: Likewise.
2702 * soft-fp/fixunssfdi.c: Likewise.
2703 * soft-fp/fixunssfsi.c: Likewise.
2704 * soft-fp/fixunssfti.c: Likewise.
2705 * soft-fp/fixunstfdi.c: Likewise.
2706 * soft-fp/fixunstfsi.c: Likewise.
2707 * soft-fp/fixunstfti.c: Likewise.
2708 * soft-fp/floatdidf.c: Likewise.
2709 * soft-fp/floatdisf.c: Likewise.
2710 * soft-fp/floatditf.c: Likewise.
2711 * soft-fp/floatsidf.c: Likewise.
2712 * soft-fp/floatsisf.c: Likewise.
2713 * soft-fp/floatsitf.c: Likewise.
2714 * soft-fp/floattidf.c: Likewise.
2715 * soft-fp/floattisf.c: Likewise.
2716 * soft-fp/floattitf.c: Likewise.
2717 * soft-fp/floatundidf.c: Likewise.
2718 * soft-fp/floatundisf.c: Likewise.
2719 * soft-fp/floatunsidf.c: Likewise.
2720 * soft-fp/floatunsisf.c: Likewise.
2721 * soft-fp/floatuntidf.c: Likewise.
2722 * soft-fp/floatuntisf.c: Likewise.
2723 * soft-fp/floatuntitf.c: Likewise.
2724 * soft-fp/fmadf4.c: Likewise.
2725 * soft-fp/fmasf4.c: Likewise.
2726 * soft-fp/fmatf4.c: Likewise.
2727 * soft-fp/gedf2.c: Likewise.
2728 * soft-fp/gesf2.c: Likewise.
2729 * soft-fp/getf2.c: Likewise.
2730 * soft-fp/ledf2.c: Likewise.
2731 * soft-fp/lesf2.c: Likewise.
2732 * soft-fp/letf2.c: Likewise.
2733 * soft-fp/muldf3.c: Likewise.
2734 * soft-fp/mulsf3.c: Likewise.
2735 * soft-fp/multf3.c: Likewise.
2736 * soft-fp/negdf2.c: Likewise.
2737 * soft-fp/negsf2.c: Likewise.
2738 * soft-fp/negtf2.c: Likewise.
2739 * soft-fp/op-1.h: Likewise.
2740 * soft-fp/op-2.h: Likewise.
2741 * soft-fp/op-4.h: Likewise.
2742 * soft-fp/op-8.h: Likewise.
2743 * soft-fp/op-common.h: Likewise.
2744 * soft-fp/quad.h: Likewise.
2745 * soft-fp/single.h: Likewise.
2746 * soft-fp/soft-fp.h: Likewise.
2747 * soft-fp/sqrtdf2.c: Likewise.
2748 * soft-fp/sqrtsf2.c: Likewise.
2749 * soft-fp/sqrttf2.c: Likewise.
2750 * soft-fp/subdf3.c: Likewise.
2751 * soft-fp/subsf3.c: Likewise.
2752 * soft-fp/subtf3.c: Likewise.
2753 * soft-fp/truncdfsf2.c: Likewise.
2754 * soft-fp/trunctfdf2.c: Likewise.
2755 * soft-fp/trunctfsf2.c: Likewise.
2756 * soft-fp/trunctfxf2.c: Likewise.
2757 * soft-fp/unorddf2.c: Likewise.
2758 * soft-fp/unordsf2.c: Likewise.
2759 * soft-fp/unordtf2.c: Likewise.
2761 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
2764 * misc/error.c (error_tail): Fix possible buffer overflow.
2766 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2769 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2772 2013-10-14 P. J. McDermott <pj@pehjota.net>
2775 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2776 testing pipefail option.
2778 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2780 * soft-fp/double.h: Indent preprocessor directives inside #if.
2781 * soft-fp/extended.h: Likewise.
2782 * soft-fp/op-2.h: Likewise.
2783 * soft-fp/op-4.h: Likewise.
2784 * soft-fp/op-common.h: Likewise.
2785 * soft-fp/quad.h: Likewise.
2786 * soft-fp/single.h: Likewise.
2787 * soft-fp/soft-fp.h: Likewise.
2789 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2791 * iconv/iconv_prog.c: Fix typos.
2792 * stdio-common/psiginfo-data.h: Likewise.
2794 2013-10-12 Reuben Thomas <rrt@sc3d.org>
2797 * locale/setlocale.c: Fix typo.
2799 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2802 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2803 signaling NaN arguments.
2804 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2805 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2808 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2810 * soft-fp/gesf2.c (__gesf2): Likewise.
2811 * soft-fp/getf2.c (__getf2): Likewise.
2812 * soft-fp/ledf2.c (__ledf2): Likewise.
2813 * soft-fp/lesf2.c (__lesf2): Likewise.
2814 * soft-fp/letf2.c (__letf2): Likewise.
2816 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2817 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2818 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2819 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2820 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2821 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2822 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2823 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2824 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2825 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2826 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2827 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2828 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2829 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2830 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2831 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2832 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2833 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2834 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2835 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2836 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2837 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2838 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2839 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2840 * soft-fp/floattidf.c (__floattidf): Likewise.
2841 * soft-fp/floattisf.c (__floattisf): Likewise.
2842 * soft-fp/floattitf.c (__floattitf): Likewise.
2843 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2844 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2845 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2846 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2847 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2848 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2849 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2850 * soft-fp/gesf2.c (__gesf2): Likewise.
2851 * soft-fp/getf2.c (__getf2): Likewise.
2852 * soft-fp/ledf2.c (__ledf2): Likewise.
2853 * soft-fp/lesf2.c (__lesf2): Likewise.
2854 * soft-fp/letf2.c (__letf2): Likewise.
2856 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2857 Undefine and redefine.
2858 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2859 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2860 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2861 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2862 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2863 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2864 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2865 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2866 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2867 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2868 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2869 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2870 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2871 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2872 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2875 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2876 without decrementing exponent if mantissa >= that for the
2878 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2879 denominator, not >. Decrement exponent in < case instead of
2880 incrementing in >= case.
2881 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2882 without decrementing exponent if mantissa >= that for the
2885 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2886 computing saturated result for unsigned overflow.
2888 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2889 Jeff Law <law@redhat.com>
2891 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2892 (atan2Mp): Add systemtap probe marker.
2893 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2894 (__ieee754_log): Add systemtap probe marker.
2895 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2896 (atanMp): Add systemtap probe marker.
2897 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2898 (tanMp): Add systemtap probe marker.
2899 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2900 (__slowexp): Add systemtap probe marker.
2901 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2902 (__slowpow): Add systemtap probe marker.
2903 * manual/probes.texi: Document probes.
2905 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2908 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2910 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2912 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2913 written to buffer but not flushed.
2914 * libio/iofwrite_u.c: Likewise.
2915 * libio/iopadn.c: Return bytes returned even if EOF was
2917 * libio/iowpadn.c: Likewise.
2918 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2919 if _IO_padn does not write the whole buffer.
2920 [!COMPILE_WPRINTF] (PAD): Likewise.
2922 2013-10-10 David S. Miller <davem@davemloft.net>
2924 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2927 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2929 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2930 instead of FSF address.
2931 * soft-fp/fixdfti.c: Likewise.
2932 * soft-fp/fixsfti.c: Likewise.
2933 * soft-fp/fixtfti.c: Likewise.
2934 * soft-fp/fixunsdfti.c: Likewise.
2935 * soft-fp/fixunssfti.c: Likewise.
2936 * soft-fp/fixunstfti.c: Likewise.
2937 * soft-fp/floattidf.c: Likewise.
2938 * soft-fp/floattisf.c: Likewise.
2939 * soft-fp/floattitf.c: Likewise.
2940 * soft-fp/floatuntidf.c: Likewise.
2941 * soft-fp/floatuntisf.c: Likewise.
2942 * soft-fp/floatuntitf.c: Likewise.
2943 * soft-fp/trunctfxf2.c: Likewise.
2945 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2946 * soft-fp/fixdfti.c: Likewise.
2947 * soft-fp/fixsfti.c: Likewise.
2948 * soft-fp/fixtfti.c: Likewise.
2949 * soft-fp/fixunsdfti.c: Likewise.
2950 * soft-fp/fixunssfti.c: Likewise.
2951 * soft-fp/fixunstfti.c: Likewise.
2952 * soft-fp/floattidf.c: Likewise.
2953 * soft-fp/floattisf.c: Likewise.
2954 * soft-fp/floattitf.c: Likewise.
2955 * soft-fp/floatuntidf.c: Likewise.
2956 * soft-fp/floatuntisf.c: Likewise.
2957 * soft-fp/floatuntitf.c: Likewise.
2958 * soft-fp/trunctfxf2.c: Likewise.
2960 2013-10-10 David S. Miller <davem@davemloft.net>
2962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2964 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2966 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2967 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2968 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2969 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2970 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2971 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2972 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2974 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2975 for NaNs before doing comparisons on argument.
2976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2979 2013-10-10 Will Newton <will.newton@linaro.org>
2981 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2982 passed to _int_memalign does not overflow.
2984 2013-10-10 Torvald Riegel <triegel@redhat.com>
2986 * scripts/bench.pl: Add include-sources directive.
2987 * benchtests/README: Update documentation.
2989 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2991 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2992 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2993 instead of FP_INIT_ROUNDMODE.
2994 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2995 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2998 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2999 copy class of input value.
3000 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3001 not handle exceptions.
3002 * soft-fp/negsf2.c (__negsf2): Likewise.
3003 * soft-fp/negtf2.c (__negtf2): Likewise.
3004 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3006 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3008 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3009 semicolon. From Linux kernel.
3011 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3013 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3015 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3018 * manual/socket.texi: Added statement about buffer
3019 for gethostbyname2_r.
3021 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3023 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3024 Use .p2align directive instead, throughout.
3025 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3026 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3027 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3030 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3031 * sysdeps/x86_64/strchr.S: Likewise.
3032 * sysdeps/x86_64/strrchr.S: Likewise.
3034 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3036 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3038 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3040 * sysdeps/generic/math_private.h (__mpsin1): Remove
3042 (__mpcos1): Likewise.
3043 (__mpsin): New argument __range_reduce.
3044 (__mpcos): Likewise.
3045 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3046 (slow): Use __mpsin and __mpcos.
3053 (bsloww1): Likewise.
3054 (bsloww2): Likewise.
3057 (csloww1): Likewise.
3058 (csloww2): Likewise.
3059 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3060 range_reduce. Merge in __mpsin1.
3061 (__mpcos): Likewise.
3063 (__mpcos1): Likewise.
3065 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3067 * locale/loadlocale.c (_nl_intern_locale_data): Use
3069 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3070 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3071 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3072 obstack data is appropriately aligned.
3073 (obstack_int32_grow_fast): Likewise.
3074 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3075 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3076 (add_locale_uint32_array): Likewise.
3078 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3080 * benchtests/Makefile: Remove ARGLIST and RET variables.
3081 ($(objpfx)bench-%.c): Pass only function name to the script.
3082 * benchtests/README: Update documentation.
3083 * benchtests/acos-inputs: Add new directives.
3084 * benchtests/acosh-inputs: Likewise.
3085 * benchtests/asin-inputs: Likewise.
3086 * benchtests/asinh-inputs: Likewise.
3087 * benchtests/atan-inputs: Likewise.
3088 * benchtests/atanh-inputs: Likewise.
3089 * benchtests/cos-inputs: Likewise.
3090 * benchtests/cosh-inputs: Likewise.
3091 * benchtests/exp-inputs: Likewise.
3092 * benchtests/log-inputs: Likewise.
3093 * benchtests/pow-inputs: Likewise.
3094 * benchtests/rint-inputs: Likewise.
3095 * benchtests/sin-inputs: Likewise.
3096 * benchtests/sinh-inputs: Likewise.
3097 * benchtests/tan-inputs: Likewise.
3098 * benchtests/tanh-inputs: Likewise.
3099 * scripts/bench.pl: Add support for new directives.
3101 2013-10-07 Alan Modra <amodra@gmail.com>
3103 * README: Fix careless merge.
3105 2013-10-05 Alan Modra <amodra@gmail.com>
3107 * NEWS: Mention powerpc64le support and bugs fixed.
3108 * README: Both big-endian and little-endian powerpc64 supported.
3110 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3112 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3113 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3114 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3115 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3117 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3119 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3122 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3124 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3125 Move -mhard-float appending from
3126 ports/sysdeps/powerpc/powerpc32/Makefile.
3127 [$(with-fp) = yes] (ASFLAGS): Likewise.
3128 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3129 * sysdeps/powerpc/nofpu: Move directory from
3130 ports/sysdeps/powerpc/nofpu.
3131 * sysdeps/powerpc/soft-fp: Move directory from
3132 ports/sysdeps/powerpc/soft-fp.
3133 * sysdeps/powerpc/powerpc32/405: Move directory from
3134 ports/sysdeps/powerpc/powerpc32/405.
3135 * sysdeps/powerpc/powerpc32/440: Move directory from
3136 ports/sysdeps/powerpc/powerpc32/440.
3137 * sysdeps/powerpc/powerpc32/464: Move directory from
3138 ports/sysdeps/powerpc/powerpc32/464.
3139 * sysdeps/powerpc/powerpc32/476: Move directory from
3140 ports/sysdeps/powerpc/powerpc32/476.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3142 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3144 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3146 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3148 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3150 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3151 * README: Update for powerpc-*-linux-gnu software floating point
3154 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3155 case to powerpc/powerpc32*.
3156 * sysdeps/unix/sysv/linux/configure: Regenerated.
3158 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3159 (_FPU_MASK_OM): Define as 0x04.
3160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3168 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3171 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3174 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3175 and setcontext_e500.
3177 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3179 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3181 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3183 * manual/threads.texi (Default Thread Attributes): Fix typo.
3185 2013-10-04 Will Newton <will.newton@linaro.org>
3187 * malloc/Makefile: Add tst-memalign.
3188 * malloc/tst-memalign.c: New file.
3190 * malloc/tst-posix_memalign.c: Add comments.
3191 (do_test): Add comments and call free on all potentially
3192 allocated pointers. Add space after cast.
3194 * malloc/tst-pvalloc.c: Add comments.
3195 (do_test): Add comments and call free on all potentially
3196 allocated pointers. Remove duplicate check for NULL pointer.
3197 Add space after cast.
3199 * malloc/tst-valloc.c: Add comments.
3200 (do_test): Add comments and call free on all potentially
3201 allocated pointers. Remove duplicate check for NULL pointer.
3202 Add space after cast.
3204 2013-10-04 Alan Modra <amodra@gmail.com>
3206 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3207 Use stdint types in rather than __attribute__((mode())).
3208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3210 2013-10-04 Alan Modra <amodra@gmail.com>
3212 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3213 Correct handling of unaligned relocs for little-endian.
3214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3216 2013-10-04 Alan Modra <amodra@gmail.com>
3218 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3219 * configure: Regenerate.
3220 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3221 * shlib-versions: Likewise.
3223 2013-10-04 Alan Modra <amodra@gmail.com>
3225 * string/tester.c (test_memrchr): Increment reported test cycle.
3227 2013-10-04 Alan Modra <amodra@gmail.com>
3229 * string/test-memcpy.c (do_one_test): When reporting errors, print
3230 string address and don't overrun end of string.
3232 2013-10-04 Alan Modra <amodra@gmail.com>
3234 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3235 insrdi. Make better use of reg selection to speed exit slightly.
3236 Schedule entry path a little better. Remove useless "are we done"
3237 checks on entry to main loop. Handle wrapping around zero address.
3238 Correct main loop count. Handle single left-over word from main
3239 loop inline rather than by using loop_small. Remove extra word
3240 case in loop_small caused by wrong loop count. Add little-endian
3242 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3243 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3245 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3246 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3247 support. Avoid rlwimi.
3248 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3250 2013-10-04 Alan Modra <amodra@gmail.com>
3252 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3254 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3255 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3256 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3257 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3258 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3259 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3261 2013-10-04 Alan Modra <amodra@gmail.com>
3263 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3265 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3266 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3267 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3269 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3270 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3271 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3272 use of regs. Use power7 mtocrf. Tidy function tails.
3274 2013-10-04 Alan Modra <amodra@gmail.com>
3276 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3277 Formatting. Consistently use rXXX register defines or rN defines.
3278 Use early exit labels that avoid restoring unused non-volatile regs.
3279 Make cr field use more consistent with rWORDn compares. Rename
3280 regs used as shift registers for unaligned loop, using rN defines
3281 for short lifetime/multiple use regs.
3282 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3283 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3284 addi 1,1,64 to pop stack frame. Simplify return value code.
3285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3287 2013-10-04 Alan Modra <amodra@gmail.com>
3289 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3290 support. Correct typos, formatting. Optimize tail. Use insrdi
3292 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3294 little-endian support. Correct typos.
3295 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3297 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3298 in loop and entry code to keep "and." results.
3299 (strchr): Add little-endian support. Comment. Move cntlzd
3301 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3303 2013-10-04 Alan Modra <amodra@gmail.com>
3305 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3306 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3307 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3308 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3310 2013-10-04 Alan Modra <amodra@gmail.com>
3312 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3313 (rTMP): Define as r11.
3314 (strcmp): Add little-endian support. Optimise tail.
3315 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3316 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3317 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3319 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3320 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3323 2013-10-04 Alan Modra <amodra@gmail.com>
3325 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3326 little-endian support. Remove unnecessary "are we done" tests.
3327 Handle "s" wrapping around zero and extremely large "size".
3328 Correct main loop count. Handle single left-over word from main
3329 loop inline rather than by using small_loop. Correct comments.
3330 Delete "zero" tail, use "end_max" instead.
3331 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3333 2013-10-04 Alan Modra <amodra@gmail.com>
3335 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3336 support. Don't branch over align.
3337 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3338 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3339 support. Rearrange tmp reg use to suit. Comment.
3340 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3342 2013-10-04 Alan Modra <amodra@gmail.com>
3344 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3346 2013-10-04 Alan Modra <amodra@gmail.com>
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3349 conditional form of branch and link when obtaining pc.
3350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3352 2013-10-04 Alan Modra <amodra@gmail.com>
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3359 2013-10-04 Alan Modra <amodra@gmail.com>
3361 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3362 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3363 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3364 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3365 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3366 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3367 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3368 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3369 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3370 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3372 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3373 Alistair Popple <alistair@ozlabs.au.ibm.com>
3374 Alan Modra <amodra@gmail.com>
3377 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3378 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3379 _dl_hwcap access for little-endian.
3380 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3381 destroy vmx regs when saving unaligned.
3382 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3383 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3384 destroy vmx regs when saving unaligned.
3386 2013-10-04 Alan Modra <amodra@gmail.com>
3388 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3389 Don't use a union to pack hi/low value.
3391 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3393 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3395 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3397 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3398 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3399 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3401 2013-10-04 Alan Modra <amodra@gmail.com>
3403 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3404 constants to usual value for .cst8 section, and remove redundant
3406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3407 constant for 0x1p52. Load little-endian words of double from
3408 correct stack offsets.
3410 2013-10-04 Alan Modra <amodra@gmail.com>
3412 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3413 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3414 words of double from correct stack offsets.
3415 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3416 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3417 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3418 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3421 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3422 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3423 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3424 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3426 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3427 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3428 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3429 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3430 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3431 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3433 2013-10-04 Alan Modra <amodra@gmail.com>
3435 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3436 64-bit int/double union.
3437 (_FPU_SETCW): Likewise.
3438 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3439 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3441 2013-10-04 Alan Modra <amodra@gmail.com>
3443 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3444 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3446 2013-10-04 Alan Modra <amodra@gmail.com>
3448 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3449 use vector int constants.
3450 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3452 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3454 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3455 array with long long.
3456 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3457 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3458 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3459 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3460 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3461 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3462 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3463 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3464 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3465 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3466 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3467 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3468 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3470 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3472 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3473 (__signbit): Likewise. Correct for little-endian.
3474 (__signbitl): Call __signbit.
3475 (lrint): Correct for little-endian.
3476 (lrintf): Call lrint.
3478 2013-10-04 Alan Modra <amodra@gmail.com>
3480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3481 union 32-bit int array member with 64-bit int array.
3482 (t515, tm256): Double rather than long double.
3483 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3485 2013-10-04 Alan Modra <amodra@gmail.com>
3487 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3489 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3490 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3491 version of math_ldbl.h.
3493 2013-10-04 Alan Modra <amodra@gmail.com>
3495 [BZ #15734], [BZ #15735]
3496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3497 all uses of ieee875 long double macros and unions. Simplify test
3498 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3499 ldbl_extract_mantissa value for ix,iy exponents. Properly
3500 normalize after ldbl_extract_mantissa, and don't add hidden bit
3501 already handled. Don't treat low word of ieee854 mantissa like
3502 low word of IBM long double and mask off bit when testing for
3504 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3505 all uses of ieee875 long double macros and unions. Simplify tests
3506 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3507 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3508 two1022, instead use their values. Recognise that tests for large
3509 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3510 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3511 Rewrite all uses of ieee875 long double macros and unions. Simplify
3512 test for 0.0L and nan. Correct negation.
3513 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3514 ieee875 long double macros and unions. Correct output for large
3515 magnitude x. Correct absolute value calculation.
3516 (__erfcl): Likewise.
3517 * math/libm-test.inc: Add tests for errors discovered in IBM long
3518 double versions of fmodl, remainderl, erfl and erfcl.
3520 2013-10-04 Alan Modra <amodra@gmail.com>
3522 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3523 all uses of ieee854 long double macros and unions. Simplify tests
3524 for long doubles that are fully specified by the high double.
3525 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3527 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3528 Remove dead code too.
3529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3530 (__ieee754_ynl): Likewise.
3531 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3534 Remove dead code too.
3535 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3537 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3538 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3540 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3542 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3545 Comment on variable precision.
3546 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3549 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3552 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3553 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3555 2013-10-04 Alan Modra <amodra@gmail.com>
3557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3559 all uses of ieee854 long double macros and unions.
3560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3564 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3565 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3567 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3568 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3570 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3571 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3573 Simplify sign and nan test too.
3574 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3575 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3576 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3580 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3583 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3584 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3589 2013-10-04 Alan Modra <amodra@gmail.com>
3591 * stdio-common/printf_size.c (__printf_size): Don't use
3592 union ieee854_long_double in fpnum union.
3593 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3594 signbit macro to retrieve sign from long double.
3595 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3596 retrieve sign from long double.
3597 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3598 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3599 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3600 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3601 * math/test-misc.c (main): Don't use union ieee854_long_double.
3603 2013-10-04 Alan Modra <amodra@gmail.com>
3606 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3607 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3608 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3609 calculation. Remove unnecessary test for denormal exponent.
3610 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3611 Correct handling of denormals. Avoid undefined shift behaviour.
3612 Correct normalisation of low mantissa when low double is denormal.
3613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3614 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3615 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3616 Correct normalisation of low mantissa. Test for overflow of high
3617 mantissa and normalise.
3618 (ldbl_nearbyint): Use more readable constant for two52.
3619 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3620 (__mpn_construct_long_double): Fix test for overflow of high
3621 mantissa and correct normalisation. Avoid undefined shift.
3623 2013-10-04 Alan Modra <amodra@gmail.com>
3625 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3626 (union ibm_extended_long_double): Define as an array of ieee754_double.
3627 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3628 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3629 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3634 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3637 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3639 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3641 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3642 page size instead of calling getpagesize.
3644 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3645 (LOCFILE_ALIGN_MASK): Likewise.
3646 (LOCFILE_ALIGN_UP): Likewise.
3647 (LOCFILE_ALIGNED_P): Likewise.
3648 * locale/programs/ld-collate.c (collate_output): Use the new
3649 macros instead of __alignof__ (int32_t).
3650 * locale/weight.h (findidx): Likewise.
3652 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3655 * manual/string.texi: Fix strncat and wcsncat.
3657 2013-10-03 Brooks Moses <bmoses@google.com>
3660 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3661 * Makerules: ...here, and adjust associated comments.
3663 2013-10-02 Will Newton <will.newton@linaro.org>
3665 * malloc/Makefile: Add tst-pvalloc.
3666 * malloc/tst-pvalloc.c: New file.
3668 2013-10-02 Will Newton <will.newton@linaro.org>
3670 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3671 improve test coverage.
3673 2013-10-02 Will Newton <will.newton@linaro.org>
3675 * malloc/Makefile: Add tst-posix_memalign.
3676 * malloc/tst-posix_memalign.c: New file.
3678 2013-10-01 Eric Blake <eblake@redhat.com>
3680 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3681 Use __THROWNL rather than __THROW on static functions.
3683 2013-09-30 Petr Machata <pmachata@redhat.com>
3685 * elf/elf.h (R_AARCH64_ABS16): New macro.
3686 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3687 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3688 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3689 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3690 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3691 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3692 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3693 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3694 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3695 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3696 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3697 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3698 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3699 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3700 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3701 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3702 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3703 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3704 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3705 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3706 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3707 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3708 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3709 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3710 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3711 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3712 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3713 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3714 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3715 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3716 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3717 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3718 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3719 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3720 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3721 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3722 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3723 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3724 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3725 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3726 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3727 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3728 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3729 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3730 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3731 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3732 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3733 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3734 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3735 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3736 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3737 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3738 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3739 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3740 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3741 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3742 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3743 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3744 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3745 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3746 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3747 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3748 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3749 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3750 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3751 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3752 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3753 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3754 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3755 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3756 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3757 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3758 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3759 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3760 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3761 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3762 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3763 (R_AARCH64_TLSDESC_LDR): Likewise.
3764 (R_AARCH64_TLSDESC_ADD): Likewise.
3765 (R_AARCH64_TLSDESC_CALL): Likewise.
3767 2013-09-30 Andreas Schwab <schwab@suse.de>
3770 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3771 the nss database lookup.
3772 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3775 2013-09-28 Mike Frysinger <vapier@gentoo.org>
3777 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3779 2013-09-28 P. J. McDermott <pj@pehjota.net>
3781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3782 ${Bash-specific parameter/pattern/string} parameter expansion.
3783 * sysdeps/unix/make-syscalls.sh: Likewise.
3785 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3787 * sysdeps/sh/stackguard-macros.h: New file.
3789 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
3791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3793 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3794 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3795 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3796 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3798 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3801 Fix thread ID register.
3803 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3805 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3806 [POSIX || UNIX98]: Require rather than permitting all symbols from
3808 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3809 element of struct sched_param.
3810 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3811 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3812 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3813 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3816 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3818 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3819 argument calculation.
3821 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3823 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3825 [POSIX] (pthread_attr_t): Do not require type.
3826 [POSIX] (pthread_cond_t): Likewise.
3827 [POSIX] (pthread_condattr_t): Likewise.
3828 [POSIX] (pthread_key_t): Likewise.
3829 [POSIX] (pthread_mutex_t): Likewise.
3830 [POSIX] (pthread_mutexattr_t): Likewise.
3831 [POSIX] (pthread_once_t): Likewise.
3832 [POSIX] (pthread_t): Likewise.
3833 [POSIX-based standards] (pthread_atfork): Expect function.
3835 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3836 Richard Sandiford <richard@codesourcery.com>
3838 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3839 (swap_endianness_p): New extern variable.
3840 (set_big_endian): New inline function.
3841 (maybe_swap_uint32): Likewise.
3842 (maybe_swap_uint32_array): Likewise.
3843 (maybe_swap_uint32_obstack): Likewise.
3844 * locale/programs/locfile.c: Include <stdbool.h>.
3845 (swap_endianness_p): New variable.
3846 (add_locale_uint32): Call maybe_swap_uint32.
3847 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3848 (write_locale_data): Call maybe_swap_uint32_array.
3849 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3851 (obstack_int32_grow_fast): Likewise.
3852 (output_weightwc): Call maybe_swap_uint32_obstack.
3853 (collate_output): Likewise.
3854 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3855 (OPT_LITTLE_ENDIAN): Likewise.
3856 (options): Add --little-endian and --big-endian options.
3857 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3858 * locale/programs/locarchive.c: Include "locfile.h".
3862 (create_archive): Use the new macros to access fields of
3863 structures directly mapped from or written to locale archives.
3864 (oldlocrecentcmp): Likewise.
3865 (enlarge_archive): Likewise.
3866 (insert_name): Likewise.
3867 (add_alias): Likewise.
3868 (add_locale): Likewise.
3869 (delete_locales_from_archive): Likewise.
3870 (show_archive_content): Likewise.
3871 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3874 2013-09-24 Roland McGrath <roland@hack.frob.com>
3876 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3877 http://www.gnu.org/doc/freemanuals.texi.
3878 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3880 2013-09-24 Will Newton <will.newton@linaro.org>
3882 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3885 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3887 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3890 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3892 * manual/threads.texi (POSIX Threads): Fix a typo.
3894 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3897 * string/tst-strcoll-overflow.c: New test case.
3898 * string/Makefile (xtests): Add tst-strcoll-overflow.
3899 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3900 cache if string sizes may cause integer overflow.
3903 * string/strcoll_l.c (coll_seq): New members rule, idx,
3904 save_idx and back_us.
3905 (get_next_seq_nocache): New function.
3906 (do_compare_nocache): New function.
3907 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3910 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3913 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3914 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3915 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3918 * elf/Makefile (tests): Add tst-ptrguard1.
3919 (tests-static): Add tst-ptrguard1-static.
3920 (tst-ptrguard1-ARGS): Define.
3921 (tst-ptrguard1-static-ARGS): Define.
3922 * elf/tst-ptrguard1.c: New file.
3923 * elf/tst-ptrguard1-static.c: New file.
3924 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3925 * sysdeps/i386/stackguard-macros.h: Likewise.
3926 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3927 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3928 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3929 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3930 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3931 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3933 2013-09-23 Hector Marco <hecmargi@upv.es>
3934 Ismael Ripoll <iripoll@disca.upv.es>
3935 Carlos O'Donell <carlos@redhat.com>
3938 * sysdeps/generic/stackguard-macros.h: Define
3939 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3940 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3941 Define __pointer_chk_guard_local.
3942 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3943 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3945 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3948 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3950 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3952 * include/string.h (__ffs): Declare as hidden.
3953 * string/ffs.c (__ffs): Define as hidden.
3954 * sysdeps/i386/ffs.c (__ffs): Likewise.
3955 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3956 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3957 * sysdeps/s390/ffs.c (__ffs): Likewise.
3958 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3960 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3962 * NEWS: Mention malloc probes.
3964 * malloc/arena.c (new_heap): New memory_heap_new probe.
3965 (grow_heap): New memory_heap_more probe.
3966 (shrink_heap): New memory_heap_less probe.
3967 (heap_trim): New memory_heap_free probe.
3968 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3969 (systrim): New memory_sbrk_less probe.
3970 * manual/probes.texi: Document them.
3972 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3973 * manual/probes.texi: Document it.
3975 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3976 (__libc_realloc): Add memory_realloc_retry probe.
3977 (__libc_memalign): Add memory_memalign_retry probe.
3978 (__libc_valloc): Add memory_valloc_retry probe.
3979 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3980 (__libc_calloc): Add memory_calloc_retry probe.
3981 * manual/probes.texi: Document them.
3983 * malloc/arena.c (get_free_list): Add probe
3984 memory_arena_reuse_free_list.
3985 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3986 and memory_arena_reuse.
3987 (arena_get2) [!PER_THREAD]: Likewise.
3988 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3989 memory_arena_reuse_realloc.
3990 * manual/probes.texi: Document them.
3992 * malloc/malloc.c (__libc_free): Add
3993 memory_mallopt_free_dyn_thresholds probe.
3994 (__libc_mallopt): Add multiple memory_mallopt probes.
3995 * manual/probes.texi: Document them.
3997 * malloc/malloc.c: Include stap-probe.h.
3998 (__libc_mallopt): Add memory_mallopt probe.
3999 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4000 * manual/probes.texi: New.
4001 * manual/Makefile (chapters): Add probes.
4002 * manual/threads.texi: Set next node.
4004 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4007 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4008 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4009 Add `Chinese' to `nan' entry name.
4011 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4013 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4014 (POLYNOMIAL): Likewise.
4015 (TAYLOR_SINCOS): Likewise.
4016 (TAYLOR_SLOW): Likewise.
4017 (__sin): Use TAYLOR_SINCOS.
4019 (slow): Use TAYLOR_SLOW.
4024 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4026 * stdlib/strtod_l.c: Fix buffer overrun.
4028 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4030 * benchtests/Makefile (bench): Add sincos.
4031 * benchtests/bench-sincos.c: New file.
4033 * math/libm-test.inc (cos_test_data): New test inputs.
4034 (sin_test_data): Likewise.
4036 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4044 (bsloww1): Likewise.
4045 (bsloww2): Likewise.
4047 (csloww1): Likewise.
4048 (csloww2): Likewise.
4050 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4055 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4059 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4061 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4062 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4063 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4064 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4065 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4066 * elf/cache.c (print_entry): Handle the new cache flags.
4068 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4069 Aldy Hernandez <aldyh@redhat.com>
4071 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4072 Change condition to [_SOFT_FLOAT].
4073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4085 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4088 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4091 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4093 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4094 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4095 (__longjmp): Use LOAD_GP to load saved GPRs.
4096 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4097 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4098 (__sigsetjmp): Use SAVE_GP to save GPRs.
4100 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4101 Do not append -msoft-float.
4102 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4104 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4106 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4108 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4111 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4112 (_FPU_GETCW): Use initial "__" on variable and field names but not
4113 on macro parameter name.
4114 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4115 parentheses around reference to macro parameter.
4117 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4119 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4121 (ctype_startup): Use uint32_t in cast and sizeof for
4124 2013-09-11 Jia Liu <proljc@gmail.com>
4126 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4128 [__FreeBSD__]: Likewise.
4130 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4133 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4134 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4135 (strchr): Remove __strchr_sse42 ifunc selection.
4136 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4137 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4139 2013-09-11 Will Newton <will.newton@linaro.org>
4141 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4142 parameter to RES. Remove hardcoded 1000 value.
4143 * benchtests/bench-skeleton.c (main): Pass RES parameter
4144 to TIMING_INIT and multiply result by 1000.
4146 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4150 2013-09-11 Andreas Schwab <schwab@suse.de>
4152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4154 (O_TMPFILE) [__USE_GNU]: Define.
4155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4158 2013-09-11 Will Newton <will.newton@linaro.org>
4161 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4164 2013-09-11 Will Newton <will.newton@linaro.org>
4167 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4170 2013-09-11 Will Newton <will.newton@linaro.org>
4173 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4176 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4178 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4179 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4184 2013-09-10 Allan McRae <allan@archlinux.org>
4187 * manual/arith.texi (Parsing of Floats): Clarify
4191 * manual/install.texi (Running make install): Mention
4193 * INSTALL: Regenerated.
4195 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4197 * csu/init-first.c (_init): Remove the !SHARED condition around
4198 FPU control word initialization.
4199 * elf/dl-support.c (_dl_fpu_control): New variable.
4200 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4201 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4202 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4203 * math/test-fpucw-static.c: New file.
4204 * math/test-fpucw-ieee.c: New file.
4205 * math/test-fpucw-ieee-static.c: New file.
4206 * math/Makefile (tests): Add `test-fpucw-ieee' and
4208 (tests-static): New variable.
4209 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4211 [($(build-shared),yes)]
4212 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4214 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4217 2013-09-09 Allan McRae <allan@archlinux.org>
4220 * manual/string.texi (Collation Functions): Fix typo in
4222 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4225 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4228 * libio/memstream.c (open_memstream): Fix memory leak.
4229 * libio/wmemstream.c (open_wmemstream): Likewise.
4232 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4234 2013-09-09 Will Newton <will.newton@linaro.org>
4236 * malloc/Makefile: Add tst-realloc to tests.
4237 * malloc/tst-realloc.c: New file.
4239 2013-09-09 Allan McRae <allan@archlinux.org>
4242 * COPYING: Update from GNU website to fix FSF address.
4243 * COPYING.LIB: Likewise.
4245 2013-09-06 David S. Miller <davem@davemloft.net>
4247 * po/zh_TW.po: Update Chinese (traditional) translation from
4248 translation project.
4250 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4251 Joseph Myers <joseph@codesourcery.com>
4253 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4255 (obstack_chunk_alloc): New macro.
4256 (obstack_chunk_free): Likewise.
4257 (record_offset): New function.
4258 (init_locale_data): Likewise.
4259 (align_locale_data): Likewise.
4260 (add_locale_empty): Likewise.
4261 (add_locale_raw_data): Likewise.
4262 (add_locale_raw_obstack): Likewise.
4263 (add_locale_string): Likewise.
4264 (add_locale_wstring): Likewise.
4265 (add_locale_uint32): Likewise.
4266 (add_locale_uint32_array): Likewise.
4267 (add_locale_char): Likewise.
4268 (start_locale_structure): Likewise.
4269 (end_locale_structure): Likewise.
4270 (start_locale_prelude): Likewise.
4271 (end_locale_prelude): Likewise.
4272 (write_locale_data): Take locale_file structure rather than an
4274 * locale/programs/locfile.h: Include "obstack.h".
4275 (struct locale_file): Change to store locale file contents instead
4277 (init_locale_data): New prototype.
4278 (align_locale_data): Likewise.
4279 (add_locale_empty): Likewise.
4280 (add_locale_raw_data): Likewise.
4281 (add_locale_raw_obstack): Likewise.
4282 (add_locale_string): Likewise.
4283 (add_locale_wstring): Likewise.
4284 (add_locale_uint32): Likewise.
4285 (add_locale_uint32_array): Likewise.
4286 (add_locale_char): Likewise.
4287 (start_locale_structure): Likewise.
4288 (end_locale_structure): Likewise.
4289 (start_locale_prelude): Likewise.
4290 (end_locale_prelude): Likewise.
4291 (write_locale_data): Update prototype.
4292 * locale/programs/3level.h (struct TABLE): Remove result field.
4293 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4294 Use new locale_file interface.
4295 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4296 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4297 * locale/programs/ld-address.c (address_output): Use new
4298 locale_file interface.
4299 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4301 (collate_finish): Don't call collseq_table_finalize.
4302 (collate_output): Use new locale_file interface.
4303 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4305 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4306 (TABLE): Move defines earlier in file.
4307 (ELEMENT): Likewise.
4308 (DEFAULT): Likewise.
4309 (wctrans_table_add): Move macro and inline function earlier in
4311 (struct wctype_table): Move type earlier in file.
4312 (add_locale_wctype_table): New static prototype.
4313 (struct locale_ctype_t): Use logical types instead of struct iovec
4314 pointers for members.
4315 (ctype_output): Use new locale_file interface.
4316 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4317 new locale_file interface.
4318 (allocate_arrays): Update for use of new locale_file interface.
4319 * locale/programs/ld-identification.c (identification_output): Use
4320 new locale_file interface.
4321 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4322 * locale/programs/ld-messages.c (messages_output): Likewise.
4323 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4324 * locale/programs/ld-name.c (name_output): Likewise.
4325 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4326 * locale/programs/ld-paper.c (paper_output): Likewise.
4327 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4328 * locale/programs/ld-time.c (time_output): Likewise.
4330 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4332 * benchtests/Makefile: Add memrchr benchmark.
4333 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4334 benchmark as memrchr.
4335 * benchtests/bench-memrchr-ifunc.c: New file.
4336 * benchtests/bench-memrchr.c: New file.
4338 2013-09-06 Will Newton <will.newton@linaro.org>
4340 * benchtests/Makefile (string-bench): Add memcpy.
4342 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4343 Cong Wang <amwang@redhat.com>
4345 * sysdeps/unix/sysv/linux/bits/in.h
4346 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4347 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4348 before __USE_KERNEL_IPV6_DEFS uses.
4349 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4351 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4352 sockaddr_in6, or ipv6_mreq.
4354 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4356 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4357 memory access for final bytes in some large inputs.
4358 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4360 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362 * string/test-memrchr.c: New file.
4363 * string/test-memrchr-ifunc.c: New file.
4364 * string/Makefile: Add new memrchr testcase.
4366 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4368 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4369 fanotify_init returns EPERM.
4371 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4373 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4375 (top level): Treat second token from macro or constant entries for
4376 allowed headers as allowed.
4377 * include/complex.h: Condition internal declarations on
4379 * include/fenv.h: Condition include of <stdbool.h> and internal
4380 declarations on [!_ISOMAC].
4382 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4385 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4387 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4389 * configure.in (--enable-versioning): Remove configure option.
4390 (libc_cv_asm_symver_directive): Remove configure test.
4391 (libc_cv_ld_version_script_option): Likewise.
4392 (VERSIONING): Remove variable and AC_SUBST.
4393 (DO_VERSIONING): Remove AC_DEFINE.
4394 * configure: Regenerated.
4395 * config.h.in (DO_VERSIONING): Remove macro.
4396 * Makerules [$(versioning) = yes]: Change conditionals to
4397 [$(build-shared) = yes].
4398 * config.make.in (versioning): Remove variable.
4399 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4400 [$(build-shared) = yes].
4401 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4402 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4403 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4404 [$(build-shared) = yes].
4405 * extra-lib.mk [$(versioning) = yes]: Likewise.
4406 * hurd/Makefile [$(versioning) = yes]: Likewise.
4407 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4409 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4411 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4412 [SHARED && !NO_HIDDEN].
4413 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4415 [SHARED && DO_VERSIONING]: Likewise..
4416 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4417 [$(build-shared) = yes].
4418 * manual/install.texi (--disable-versioning): Remove
4420 * INSTALL: Regenerated.
4421 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4423 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4424 [$(build-shared) = yes].
4425 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4426 * sysdeps/i386/i686/multiarch/strstr-c.c
4427 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4428 [SHARED && !NO_HIDDEN].
4429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4430 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4431 * sysdeps/powerpc/powerpc32/dl-machine.c
4432 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4433 * sysdeps/powerpc/powerpc32/sysdep.h
4434 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4435 to [SHARED && PIC && !NO_HIDDEN].
4436 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4437 conditional to [SHARED].
4439 2013-09-04 Will Newton <will.newton@linaro.org>
4441 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4442 * benchtests/bench-string.h: Include bench-timing.h instead
4443 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4444 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4445 call to HP_TIMING_DIFF_INIT.
4446 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4447 instead of hp-timing.h macros.
4448 * benchtests/bench-memchr.c: Likewise.
4449 * benchtests/bench-memcmp.c: Likewise.
4450 * benchtests/bench-memcpy.c: Likewise.
4451 * benchtests/bench-memmem.c: Likewise.
4452 * benchtests/bench-memmove.c: Likewise.
4453 * benchtests/bench-memset.c: Likewise.
4454 * benchtests/bench-rawmemchr.c: Likewise.
4455 * benchtests/bench-strcasecmp.c: Likewise.
4456 * benchtests/bench-strcasestr.c: Likewise.
4457 * benchtests/bench-strcat.c: Likewise.
4458 * benchtests/bench-strchr.c: Likewise.
4459 * benchtests/bench-strcmp.c: Likewise.
4460 * benchtests/bench-strcpy.c: Likewise.
4461 * benchtests/bench-strcpy_chk.c: Likewise.
4462 * benchtests/bench-strlen.c: Likewise.
4463 * benchtests/bench-strncasecmp.c: Likewise.
4464 * benchtests/bench-strncat.c: Likewise.
4465 * benchtests/bench-strncmp.c: Likewise.
4466 * benchtests/bench-strncpy.c: Likewise.
4467 * benchtests/bench-strnlen.c: Likewise.
4468 * benchtests/bench-strpbrk.c: Likewise.
4469 * benchtests/bench-strrchr.c: Likewise.
4470 * benchtests/bench-strspn.c: Likewise.
4471 * benchtests/bench-strstr.c: Likewise.
4473 2013-09-04 Will Newton <will.newton@linaro.org>
4475 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4477 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4481 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4482 * math/libm-test.inc (lgamma_test_data): Add more tests.
4483 * sysdeps/i386/fpu/libm-test-ulps: Update.
4484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4486 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4488 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4492 Add strcmp-sse2-unaligned
4493 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4495 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4497 * Versions.def (libc): Add GLIBC_2.19.
4499 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4501 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4502 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4504 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4507 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4508 intermediate calculations in recurrence.
4509 (__ieee754_ynf): Likewise.
4510 * math/libm-test.inc (jn_test_data): Do not allow spurious
4511 underflow exception. Add more tests.
4512 (yn_test_data): Add more tests.
4513 * sysdeps/i386/fpu/libm-test-ulps: Update.
4514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4516 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4518 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4520 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4522 * csu/init-first.c: Fix then/than typos.
4523 * locale/programs/ld-collate.c: Likewise.
4524 * locale/programs/linereader.h: Likewise.
4525 * manual/charset.texi: Likewise.
4526 * manual/filesys.texi: Likewise.
4527 * manual/stdio.texi: Likewise.
4528 * manual/string.texi: Likewise.
4529 * stdlib/fmtmsg.c: Likewise.
4530 * sysdeps/i386/stpncpy.S: Likewise.
4531 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4532 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4534 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4536 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4538 * elf/dl-open.c: Fix typos.
4539 * iconvdata/gbbig5.c: Likewise.
4540 * iconvdata/iso-2022-jp.c: Likewise.
4541 * iconv/gconv_int.h: Likewise.
4542 * iconv/loop.c: Likewise.
4543 * nis/rpcsvc/nis.h: Likewise.
4544 * resolv/ns_name.c: Likewise.
4545 * stdio-common/vfscanf.c: Likewise.
4546 * streams/stropts.h: Likewise.
4547 * sunrpc/rpc_thread.c: Likewise.
4548 * sysdeps/i386/strpbrk.S: Likewise.
4549 * sysdeps/ieee754/k_standard.c: Likewise.
4550 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4552 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4553 * sysdeps/mach/hurd/profil.c: Likewise.
4554 * sysdeps/s390/dl-procinfo.h: Likewise.
4555 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4556 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4557 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4558 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4561 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4563 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4566 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4568 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4570 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4571 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4572 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4573 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4574 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4575 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4576 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4579 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4580 Roland McGrath <roland@hack.frob.com>
4582 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4583 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4585 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4587 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4588 __executable_start symbol instead of _start.
4590 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4592 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4593 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4595 * sysdeps/gnu/ldsodefs.h: ... this new file.
4597 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4598 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4599 instead of ELFOSABI_LINUX.
4601 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4602 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4603 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4604 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4606 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4607 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4608 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4610 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4611 (ibm_extended_long_double): Add ieee_nan member.
4612 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4613 (do_test): New function.
4615 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4617 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4618 functions, renamed from truncdfsf_test, trunctfsf_test,
4620 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4622 (do_test): Run all these.
4624 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4626 * argp/argp-help.c: Fix typos.
4627 * argp/argp-parse.c: Likewise.
4628 * debug/backtracesyms.c: Likewise.
4629 * elf/elf.h: Likewise.
4630 * malloc/malloc.c: Likewise.
4631 * nis/nis_print.c: Likewise.
4632 * resolv/res_comp.c: Likewise.
4633 * stdlib/stdlib.h: Likewise.
4634 * sunrpc/clnt_tcp.c: Likewise.
4635 * sunrpc/clnt_udp.c: Likewise.
4636 * sunrpc/clnt_unix.c: Likewise.
4637 * sysdeps/unix/bsd/ptsname.c: Likewise.
4638 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4639 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4646 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4648 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4650 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4653 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4656 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4657 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4658 ($(objpfx)bug-dl-leaf): New rule.
4659 ($(objpfx)bug-dl-leaf.so): Likewise.
4660 ($(objpfx)bug-dl-leaf.out): Likewise.
4661 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4662 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4663 * dlfcn/bug-dl-leaf.c: New test.
4664 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4665 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4666 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4667 (dlclose): Likewise.
4668 (dlmopen): Likewise.
4670 2013-08-27 Roland McGrath <roland@hack.frob.com>
4672 * include/netdb.h [!_ISOMAC]:
4673 Don't include <tls.h>.
4674 (h_errno, __libc_h_errno): Move declaration and macros out of
4677 * include/resolv.h [_RESOLV_H_]:
4678 Don't include <tls.h>.
4679 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4680 * resolv/res_libc.c: Don't include <tls.h>.
4681 (_res): Use __attribute__ ((nocommon)) in place of
4682 __attribute__ ((section (".bss"))).
4684 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4685 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4687 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4689 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4690 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4692 * resolv/res_mkquery.c: Include <sys/time.h>.
4694 * inet/ifreq.c: Moved to ...
4695 * sysdeps/unix/ifreq.c: ... here.
4696 * inet/ifreq.c: New file, true stub version.
4698 * socket/sa_len.c: New file.
4699 * socket/Makefile (aux): Add it.
4700 * sysdeps/unix/sysv/linux/Makefile
4701 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4702 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4703 and #include <socket/sa_len.c>.
4704 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4705 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4707 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4708 * bits/socket.h: ... here.
4710 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4711 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4712 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4714 2013-08-27 Andreas Schwab <schwab@suse.de>
4717 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4718 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4719 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4720 * string/test-strcasecmp.c (test_main): Run tests in several
4722 * string/test-strncasecmp.c (test_main): Likewise.
4724 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4725 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4726 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4728 (__strncasecmp_ssse3) [PIC]: Likewise.
4730 2013-08-26 Roland McGrath <roland@hack.frob.com>
4732 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4734 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4735 instead of explicitly declaring xdecrypt.
4736 * nis/nss_nis/nis-publickey.c: Likewise.
4738 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4741 * nscd/aicache.c: Include res_hconf.h.
4742 (addhstaiX): Initialize res_hconf.
4744 2013-08-26 Andreas Schwab <schwab@suse.de>
4746 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4747 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4749 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4751 * nscd/aicache.c (addhstaiX): Fix indentation.
4753 2013-08-25 Mike Frysinger <vapier@gentoo.org>
4755 * configure.ac: Quote $build_pt_chown test.
4756 * configure: Regenerated.
4758 2013-08-23 Joseph Myers <joseph@codesourcery.com>
4761 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4762 * math/s_cexpf.c (__cexpf): Likewise.
4763 * math/s_cexpl.c (__cexpl): Likewise.
4764 * math/libm-test.inc (cexp_test_data): Correct expected return
4765 value for NaN + i0. Add another test.
4767 2013-08-22 David S. Miller <davem@davemloft.net>
4769 * po/ca.po: Update Catalan translation from translation project.
4770 * po/uk.po: Add Ukrainian translations from translation project.
4772 2013-08-21 Joseph Myers <joseph@codesourcery.com>
4775 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4776 is infinite, not alongside NaN test.
4777 * math/s_fdimf.c (__fdimf): Likewise.
4778 * math/s_fdiml.c (__fdiml): Likewise.
4779 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4782 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
4784 * argp/argp-help.c: Fix typos.
4785 * crypt/speeds.c: Likewise.
4786 * csu/check_fds.c: Likewise.
4787 * elf/dl-load.c: Likewise.
4788 * elf/dl-open.c: Likewise.
4789 * elf/reldep3.c: Likewise.
4790 * elf/reldep.c: Likewise.
4791 * elf/sprof.c: Likewise.
4792 * iconv/iconv_charmap.c: Likewise.
4793 * iconv/skeleton.c: Likewise.
4794 * iconv/strtab.c: Likewise.
4795 * io/lockf64.c: Likewise.
4796 * libio/libioP.h: Likewise.
4797 * resolv/gai_notify.c: Likewise.
4798 * resolv/ns_name.c: Likewise.
4799 * resolv/ns_samedomain.c: Likewise.
4800 * resolv/res_send.c: Likewise.
4801 * stdlib/random.c: Likewise.
4802 * sunrpc/rpc/xdr.h: Likewise.
4803 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4804 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4805 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4806 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4807 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4808 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4810 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4811 * sysdeps/mach/hurd/check_fds.c: Likewise.
4812 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4813 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4816 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4817 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4818 * sysdeps/pthread/aio_notify.c: Likewise.
4819 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4820 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4821 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4823 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4825 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4827 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4828 version if bit_Slow_SSE4_2 is set.
4829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4830 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4832 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4835 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4836 trampoline stack frame information.
4837 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4839 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4840 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4841 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4842 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4843 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4844 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4846 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4847 interrupting a syscall and set with option SA_SIGINFO.
4849 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4852 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4853 argument is infinite.
4854 * math/s_cprojf.c (__cprojf): Likewise.
4855 * math/s_cprojl.c (__cprojl): Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4857 * math/libm-test.inc (cproj_test_data): Add more tests.
4859 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4861 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4862 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4863 size. Use __ffs to determine corresponding shift.
4865 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4866 Roland McGrath <roland@hack.frob.com>
4868 * Makefile (INSTALL): Remove trailing blank lines from output of
4871 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4873 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4874 Align 32 bit compat elf_greg to 8 bytes.
4876 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4878 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4880 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4882 * string/strcoll_l.c (coll_seq): New structure.
4883 (get_next_seq_cached): New function.
4884 (get_next_seq): New function.
4885 (do_compare): New function.
4886 (STRCOLL): Use GNU style definition. Simplify implementation
4887 by using get_next_seq, get_next_seq_cached and do_compare.
4889 2013-08-16 Florian Weimer <fweimer@redhat.com>
4893 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4895 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4897 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4898 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4899 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4901 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4902 GETDENTS_64BIT_ALIGNED.
4903 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4904 * manual/filesys.texi (Reading/Closing Directory): Document
4905 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4907 * manual/conf.texi (Limits for Files): Add portability note to
4909 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4911 2013-08-13 Andreas Schwab <schwab@suse.de>
4914 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4916 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4917 LDBL_MAX_EXP >= 16384]: Add tests for it.
4919 2013-08-12 David S. Miller <davem@davemloft.net>
4921 * version.h (RELEASE): Set to "development".
4922 (VERSION): Set to "2.18.90".
4923 * NEWS: Add 2.19 section.
4925 2013-08-03 David S. Miller <davem@davemloft.net>
4927 * po/ko.po: Update Korean translation from translation project.
4929 2013-08-01 David S. Miller <davem@davemloft.net>
4931 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4932 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4935 2013-07-30 David S. Miller <davem@davemloft.net>
4937 * po/fr.po: Update French translation from translation project.
4939 2013-07-28 David S. Miller <davem@davemloft.net>
4941 * po/cs.po: Update Czech translation from translation project.
4943 * po/sv.po: Update Swedish translation from translation project.
4945 2013-07-27 David S. Miller <davem@davemloft.net>
4947 * po/eo.po: Update Esperanto translation from translation project.
4949 * po/vi.po: Update Vietnamese translation from translation project.
4951 * po/de.po: Update German translation from translation project.
4953 2013-07-26 David S. Miller <davem@davemloft.net>
4955 * po/bg.po: Update Bulgarian translation from translation project.
4957 * po/nl.po: Update Dutch translation from translation project.
4958 * po/pl.po: Update Polish translation from translation project.
4959 * po/ru.po: Update Russian translation from translation project.
4961 2013-07-24 David S. Miller <davem@davemloft.net>
4963 * po/libc.pot: Update.
4965 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4969 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4970 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4971 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4973 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4975 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4977 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4978 Andreas Schwab <schwab@suse.de>
4979 Roland McGrath <roland@hack.frob.com>
4980 Joseph Myers <joseph@codesourcery.com>
4981 Carlos O'Donell <carlos@redhat.com>
4984 * config.h.in: Define HAVE_PT_CHOWN.
4985 * config.make.in (build-pt-chown): New variable.
4986 * configure.in (--enable-pt_chown): New configure option.
4987 * configure: Regenerate.
4988 * login/Makefile: Include Makeconfig. Build pt_chown only if
4989 build-pt-chown is enabled.
4990 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4991 pt_chown to fix pty ownership.
4992 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4994 * manual/install.texi (Configuring and compiling): Mention
4995 --enable-pt_chown. Add @findex for grantpt.
4996 * INSTALL: Regenerate.
4998 2013-07-20 David S. Miller <davem@davemloft.net>
5000 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5001 difference between 32-bit and 64-bit.
5003 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5006 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5007 Avoid system header dependency with -ffreestanding.
5008 ($(objpfx)bits/syscall%d): Likewise.
5010 2013-07-13 David S. Miller <davem@davemloft.net>
5012 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5013 underflows from atanl/atan2l due to bug 15319.
5014 (casinh_test_data): Likewise.
5016 2013-07-07 David S. Miller <davem@davemloft.net>
5018 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5020 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5022 * sysdeps/i386/fpu/libm-test-ulps: Update.
5023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5025 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5027 * configure.in (--enable-lock-elision): Fix message text.
5028 * INSTALL: Regenerate.
5029 * configure: Regenerate.
5031 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5035 2013-07-03 Andreas Jaeger <aj@suse.de>
5037 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5039 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5040 (ptrace_peeksiginfo_args): Add.
5041 (__ptrace_peeksiginfo_flags): Add.
5042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5043 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5044 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5046 2013-07-03 Allan McRae <allan@archlinux.org>
5048 * sysdeps/i386/fpu/libm-test-ulps: Update.
5050 2013-07-02 David S. Miller <davem@davemloft.net>
5052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5054 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5058 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5060 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5063 2013-07-02 Andi Kleen <ak@linux.intel.com>
5065 * config.h.in (ENABLE_LOCK_ELISION): Add.
5066 * configure.in (--enable-lock-elision): Add option.
5067 * manual/install.texi: Document --enable lock elision.
5068 * configure: Regenerate
5069 * INSTALL: Regenerate.
5071 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5073 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5074 SSE4.2 strcasecmp for libc.a.
5075 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5077 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5080 * soft-fp/op-common.h (_FP_FMA): New macro.
5081 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5082 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5083 (_FP_MUL_MEAT_1_imm): ... here.
5084 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5085 (_FP_MUL_MEAT_1_wide): ... here.
5086 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5087 (_FP_MUL_MEAT_1_hard): ... here.
5088 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5089 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5090 (_FP_MUL_MEAT_2_wide): ... here.
5091 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5092 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5093 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5094 (_FP_MUL_MEAT_2_gmp): ... here.
5095 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5096 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5097 (_FP_MUL_MEAT_4_wide): ... here.
5098 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5099 (_FP_MUL_MEAT_4_gmp): ... here.
5100 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5101 (_FP_WFRACBITS_DW_S): Likewise.
5102 (_FP_WFRACXBITS_DW_S): Likewise.
5103 (_FP_HIGHBIT_DW_S): Likewise.
5104 (FP_FMA_S): Likewise.
5105 (_FP_FRAC_HIGH_DW_S): Likewise.
5106 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5107 (_FP_WFRACBITS_DW_D): Likewise.
5108 (_FP_WFRACXBITS_DW_D): Likewise.
5109 (_FP_HIGHBIT_DW_D): Likewise.
5110 (FP_FMA_D): Likewise.
5111 (_FP_FRAC_HIGH_DW_D): Likewise.
5112 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5113 (_FP_WFRACBITS_DW_E): Likewise.
5114 (_FP_WFRACXBITS_DW_E): Likewise.
5115 (_FP_HIGHBIT_DW_E): Likewise.
5116 (FP_FMA_E): Likewise.
5117 (_FP_FRAC_HIGH_DW_E): Likewise.
5118 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5119 (_FP_WFRACBITS_DW_Q): Likewise.
5120 (_FP_WFRACXBITS_DW_Q): Likewise.
5121 (_FP_HIGHBIT_DW_Q): Likewise.
5122 (FP_FMA_Q): Likewise.
5123 (_FP_FRAC_HIGH_DW_Q): Likewise.
5124 * soft-fp/fmasf4.c: New file.
5125 * soft-fp/fmadf4.c: Likewise.
5126 * soft-fp/fmatf4.c: Likewise.
5128 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5131 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5135 (index_Slow_SSE4_2): Likewise.
5136 (index_Prefer_PMINUB_for_stringop): Likewise.
5137 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5138 bit_Slow_SSE4_2 is set.
5139 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5140 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5142 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5144 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5145 rtld_global._dl_hwcap2.
5146 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5148 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5149 POWER8 feature descriptions defined in _dl_hwcap2.
5150 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5151 string handling for POWER8 feature bits.
5152 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5153 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5154 _dl_powerpc_cap_flags.
5155 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5156 * sysdeps/powerpc/rtld-global-offsets.sym
5157 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5158 _dl_hwcap2 in the rtld_global_ro structure.
5160 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5162 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5163 hardware capabilities in support of AT_HWCAP2.
5164 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5165 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5167 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5168 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5169 explicitly the unknown a_type display mechanism is used.
5170 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5171 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5173 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5174 to macro prototype for AT_HWCAP2 support.
5175 * sysdeps/i386/dl-procinfo.h: Likewise.
5176 * sysdeps/s390/dl-procinfo.h: Likewise.
5177 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5178 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5179 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5180 return -1 for unknown a_type display fallback.
5181 * sysdeps/sparc/dl-procinfo.h: Likewise.
5182 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5183 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5185 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5187 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5188 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5190 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5193 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5194 mprotect making __stack_prot writable.
5196 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5197 Joseph Myers <joseph@codesourcery.com>
5199 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5200 as being properly aligned.
5202 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5204 * dlfcn/modstatic5.c: New file.
5205 * dlfcn/tststatic5.c: New file.
5206 * dlfcn/Makefile (tests): Add tststatic5.
5207 (tests-static): Likewise.
5208 (modules-names): Add modstatic5.
5209 (tststatic5-ENV): New variable.
5210 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5213 * elf/dl-support.c (_dl_main_map): New variable.
5214 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5215 (_dl_nns, _dl_load_adds): Set to 1.
5216 (_dl_initial_searchlist): Refer to _dl_main_map.
5217 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5218 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5219 call to _dl_get_origin.
5220 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5222 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5223 * dlfcn/modstatic3.c: New file.
5224 * dlfcn/tststatic3.c: New file.
5225 * dlfcn/tststatic4.c: New file.
5226 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5227 (tests-static): Likewise.
5228 (modules-names): Add modstatic3.
5229 (tststatic3-ENV, tststatic4-ENV): New variables.
5230 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5231 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5233 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5235 * configure.in (CC): Require GCC version 4.4 or later.
5236 * configure: Regenerated.
5237 * manual/install.texi (Tools for Compilation): Update GCC version
5239 * INSTALL: Regenerated.
5241 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5244 * string/test-memcmp.c (check2): New.
5245 (main): Call check2.
5247 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5249 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5252 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5254 (dl_open_worker) [!SHARED]: ... here.
5256 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5258 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5260 2013-06-25 Richard Henderson <rth@redhat.com>
5262 * locale/programs/locarchive.c: Include <libc-internal.h>
5264 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5266 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5267 trailing whitespace removed.
5269 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5272 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5273 * locale/programs/locarchive.c: Include libc-mmap.h.
5274 (prepare_address_space): Take two new outputs (the mmap base and len).
5275 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5277 (create_archive): Declare new mmap base and len values for
5278 prepare_address_space, and store the result in ah.
5279 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5280 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5281 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5282 Declare new mmap base and len values for
5283 prepare_address_space, and store the result in new_ah.
5284 (open_archive): Declare new mmap base and len values for
5285 prepare_address_space, and store the result in ah.
5286 (close_archive): If ah->mmap_base is not NULL, use that and
5287 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5288 * sysdeps/generic/libc-mmap.h: New file.
5290 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5292 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5293 (ALIGN_UP): Likewise.
5294 (PTR_ALIGN_DOWN): Likewise.
5295 (PTR_ALIGN_UP): Likewise.
5297 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5299 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5300 entry mapped to PPC_PLATFORM_POWER8.
5301 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5303 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5304 (_dl_string_platform): Add case for exporting platform position for
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5307 search path to sysdeps/powerpc/powerpc32/power8 directory.
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5309 search path to sysdeps/powerpc/powerpc64/power8 directory.
5310 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5312 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5315 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5317 * INSTALL: Regenerate.
5319 * nscd/connections.c (nscd_init): Fix comment.
5321 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5323 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5326 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5327 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5329 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5331 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5333 (DL_DST_REQ_STATIC): Remove macro.
5335 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5338 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5339 with a shift of 0 bits.
5341 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5343 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5346 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5349 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5351 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5354 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5355 accepts -fno-tree-loop-distribute-patterns.
5356 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5357 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5359 * string/memset.c (memset): Likewise.
5360 * string/test-memmove.c (simple_memmove): Disable loop transformation
5362 * string/test-memset.c (simple_memset): Likewise.
5363 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5364 * benchtests/bench-memset.c (simple_memset): Likewise.
5365 * configure: Regenerated.
5367 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5369 * math/test-misc.c (main): Ignore fesetround failure when failures
5370 of subsequent rounding tests would be ignored.
5373 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5374 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5375 * math/fegetenv.c (__fegetenv): Return 0.
5376 * math/fegetexcept.c (fegetexcept): Return 0.
5377 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5379 * math/feholdexcpt.c (feholdexcept): Return 0.
5380 * math/fesetenv.c (__fesetenv): Return 0.
5381 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5382 argument FE_TONEAREST.
5383 * math/feupdateenv.c (__feupdateenv): Return 0.
5384 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5386 2013-06-18 Roland McGrath <roland@hack.frob.com>
5388 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5389 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5390 ($(objpfx)rtld-%.os rules): Use them.
5392 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5394 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5397 2013-06-17 Roland McGrath <roland@hack.frob.com>
5399 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5400 length of target pattern, then descending length of dependency pattern.
5401 * configure.in (AWK): Require gawk 3.1.2 or newer.
5402 * manual/install.texi (Tools for Compilation): Say that we do.
5403 * configure: Regenerated.
5405 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5406 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5407 * scripts/sysd-rules.awk: ... this new script.
5408 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5409 than a glob-style pattern.
5411 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5413 * math/test-misc.c (main): Do not treat incorrectly rounded
5414 conversions as failure unless ROUNDING_TESTS passes.
5416 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5419 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5420 restore exception state around main square root computation, then
5421 check for inexactness explicitly.
5423 * math/libm-test.inc (fma_test_data): Add another test.
5425 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5427 * manual/threads.texi (Non-POSIX Extensions): New document
5428 node. Document pthread_getattr_default_np and
5429 pthread_setattr_default_np.
5431 * Versions.def (libpthread): Add GLIBC_2.18.
5432 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5441 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5452 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5455 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5457 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5458 H.J. Lu <hjl.tools@gmail.com>
5461 * sysdeps/x86_64/rtld-memset.c: Remove file.
5462 * sysdeps/x86_64/rtld-memset.S: New file.
5464 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5466 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5467 (test_in_one_mode): Take arguments for whether the rounding mode
5468 is supported for each floating-point type.
5469 (do_test): Pass new arguments to test_in_one_mode using
5472 2013-06-13 Roland McGrath <roland@hack.frob.com>
5474 * posix/tst-waitid.c (do_test): Distinguish different instances of
5475 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5476 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5477 before entering the kernel for waitpid.
5479 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5481 * NEWS: Fix note on clock function precision. Text by Roland
5484 2013-06-13 Roland McGrath <roland@hack.frob.com>
5486 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5487 it into place only when and if the sanity check passes.
5489 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5491 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5492 output for whether conversion result is exact. Take argument
5493 indicating whether type is IBM long double.
5494 (round_for_all): Change need_exact field to ibm_ld.
5495 * stdlib/tst-strtod-round.c (struct exactness): New type.
5496 (struct test): Change bool ld_ok field to struct exactness exact.
5497 (TEST): Update all definitions for change to field.
5498 (tests): Regenerate array contents.
5499 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5500 field value. Check for IBM long double here.
5501 (do_test): Update calls to test_in_one_mode.
5503 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5506 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5507 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5509 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5512 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5513 generated by the compiler on loop optimizations.
5514 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5515 general definitions.
5517 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5519 * math/bug-nextafter.c: Include <math-tests.h>.
5520 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5522 * math/bug-nexttoward.c: Include <math-tests.h>.
5523 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5525 * math/test-misc.c: Include <math-tests.h>.
5526 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5529 2013-06-12 Andreas Jaeger <aj@suse.de>
5531 * po/ia.po: Update Interlingua translation from translation
5534 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5536 * include/fenv.h: Include stdbool.h.
5537 (struct rm_ctx): New structure.
5538 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5540 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5541 (SET_RESTORE_ROUNDF): Likewise.
5542 (SET_RESTORE_ROUNDL): Likewise.
5543 (SET_RESTORE_ROUND_NOEX): Likewise.
5544 (SET_RESTORE_ROUND_NOEXF): Likewise.
5545 (SET_RESTORE_ROUND_NOEXL): Likewise.
5546 (SET_RESTORE_ROUND_53BIT): Likewise.
5547 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5548 (libc_feresetround_noexf_ctx): Likewise.
5549 (libc_feresetround_noexl_ctx): Likewise.
5550 (libc_feholdsetround_53bit_ctx): Likewise.
5551 (libc_feresetround_53bit_ctx): Likewise.
5552 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5553 (libc_feholdexcept_setround_sse_ctx): New function.
5554 (libc_fesetenv_sse_ctx): Likewise.
5555 (libc_feupdateenv_sse_ctx): Likewise.
5556 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5557 (libc_feholdexcept_setround_387_ctx): Likewise.
5558 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5559 (libc_feholdsetround_387_prec_ctx): Likewise.
5560 (libc_feholdsetround_387_ctx): Likewise.
5561 (libc_feholdsetround_387_53bit_ctx): Likewise.
5562 (libc_feholdsetround_sse_ctx): Likewise.
5563 (libc_feresetround_sse_ctx): Likewise.
5564 (libc_feresetround_387_ctx): Likewise.
5565 (libc_feupdateenv_387_ctx): Likewise.
5566 (libc_feholdexcept_setroundf_ctx): Define macro.
5567 (libc_fesetenvf_ctx): Likewise.
5568 (libc_feupdateenvf_ctx): Likewise.
5569 (libc_feholdsetroundf_ctx): Likewise.
5570 (libc_feresetroundf_ctx): Likewise.
5571 (libc_feholdexcept_setround_ctx): Likewise.
5572 (libc_fesetenv_ctx): Likewise.
5573 (libc_feupdateenv_ctx): Likewise.
5574 (libc_feholdsetround_ctx): Likewise.
5575 (libc_feresetround_ctx): Likewise.
5576 (libc_feholdexcept_setroundl_ctx): Likewise.
5577 (libc_feupdateenvl_ctx): Likewise.
5578 (libc_feholdsetroundl_ctx): Likewise.
5579 (libc_feresetroundl_ctx): Likewise.
5580 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5581 (libc_feresetround_53bit_ctx): Likewise.
5583 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5585 * locale/iso-639.def: Convert to UTF-8.
5587 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5589 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5590 (EXCEPTION_TESTS_double): Likewise.
5591 (EXCEPTION_TESTS_long_double): Likewise.
5592 (EXCEPTION_TESTS): Likewise.
5593 * math/libm-test.inc (test_exceptions): Only test exceptions if
5594 EXCEPTION_TESTS (FLOAT).
5596 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5598 * benchtests/Makefile (string-bench): Add strcpy_chk and
5600 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5601 * benchtests/bench-stpcpy_chk.c: New file.
5602 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5603 * benchtests/bench-strcpy_chk.c: New file.
5604 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5606 (do_test): Likewise.
5608 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5610 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5611 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5612 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5613 with tabs where appropriate.
5614 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5616 [PPC_PLATFORM_PPC440]: Likewise.
5617 [PPC_PLATFORM_PPC464]: Likewise.
5618 [PPC_PLATFORM_PPC476]: Likewise.
5619 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5620 ppc464, and ppc476 platform strings merging from ports/
5623 2013-06-11 Andreas Schwab <schwab@suse.de>
5626 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5627 (from_ucs4_idx): Regenerate.
5628 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5629 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5630 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5631 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5632 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5633 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5634 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5635 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5636 from FROM_LOOP and TO_LOOP specific macros.
5637 (BODY): Handle combining characters.
5638 * iconvdata/BIG5HKSCS.irreversible: Update.
5639 * iconvdata/BIG5HKSCS.precomposed: New file.
5640 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5642 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5644 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5646 * include/sys/time.h: Fix indentation and add copyright header.
5648 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5649 (do_test): Likewise.
5650 * string/test-memchr.c (do_one_test): Likewise.
5651 (do_test): Likewise.
5652 * string/test-memcmp.c (do_one_test): Likewise.
5653 (do_test): Likewise.
5654 * string/test-memcpy.c (do_one_test): Likewise.
5655 (do_test): Likewise.
5656 * string/test-memmem.c (do_one_test): Likewise.
5657 (do_test): Likewise.
5658 (do_random_tests): Likewise.
5659 * string/test-memmove.c (do_one_test): Likewise.
5660 (do_test): Likewise.
5661 * string/test-memset.c (do_one_test): Likewise.
5662 (do_test): Likewise.
5663 * string/test-rawmemchr.c (do_one_test): Likewise.
5664 (do_test): Likewise.
5665 * string/test-strcasecmp.c (do_one_test): Likewise.
5666 (do_test): Likewise.
5667 * string/test-strcasestr.c (do_one_test): Likewise.
5668 (do_test): Likewise.
5669 * string/test-strcat.c (do_one_test): Likewise.
5670 (do_test): Likewise.
5671 * string/test-strchr.c (do_one_test): Likewise.
5672 (do_test): Likewise.
5673 * string/test-strcmp.c (do_one_test): Likewise.
5674 (do_test): Likewise.
5675 * string/test-strcpy.c (do_one_test): Likewise.
5676 (do_test): Likewise.
5677 * string/test-string.h: Likewise.
5678 (test_init): Likewise.
5679 * string/test-strlen.c (do_one_test): Likewise.
5680 (do_test): Likewise.
5681 * string/test-strncasecmp.c (do_one_test): Likewise.
5682 (do_test): Likewise.
5683 * string/test-strncat.c (do_one_test): Likewise.
5684 (do_test): Likewise.
5685 * string/test-strncmp.c (do_one_test): Likewise.
5686 (do_test_limit): Likewise.
5687 (do_test): Likewise.
5688 * string/test-strncpy.c (do_one_test): Likewise.
5689 (do_test): Likewise.
5690 * string/test-strnlen.c (do_one_test): Likewise.
5691 (do_test): Likewise.
5692 * string/test-strpbrk.c (do_one_test): Likewise.
5693 (do_test): Likewise.
5694 * string/test-strrchr.c (do_one_test): Likewise.
5695 (do_test): Likewise.
5696 * string/test-strspn.c (do_one_test): Likewise.
5697 (do_test): Likewise.
5698 * string/test-strstr.c (do_one_test): Likewise.
5699 (do_test): Likewise.
5701 * benchtests/Makefile (string-bench): Add string benchmarks.
5702 * benchtests/bench-bcopy-ifunc.c: New file.
5703 * benchtests/bench-bcopy.c: New file.
5704 * benchtests/bench-bzero-ifunc.c: New file.
5705 * benchtests/bench-bzero.c: New file.
5706 * benchtests/bench-memccpy-ifunc.c: New file.
5707 * benchtests/bench-memccpy.c: New file.
5708 * benchtests/bench-memchr-ifunc.c: New file.
5709 * benchtests/bench-memchr.c: New file.
5710 * benchtests/bench-memcmp-ifunc.c: New file.
5711 * benchtests/bench-memcmp.c: New file.
5712 * benchtests/bench-memmem-ifunc.c: New file.
5713 * benchtests/bench-memmem.c: New file.
5714 * benchtests/bench-memmove-ifunc.c: New file.
5715 * benchtests/bench-memmove.c: New file.
5716 * benchtests/bench-mempcpy-ifunc.c: New file.
5717 * benchtests/bench-mempcpy.c: New file.
5718 * benchtests/bench-memset-ifunc.c: New file.
5719 * benchtests/bench-memset.c: New file.
5720 * benchtests/bench-rawmemchr-ifunc.c: New file.
5721 * benchtests/bench-rawmemchr.c: New file.
5722 * benchtests/bench-stpcpy-ifunc.c: New file.
5723 * benchtests/bench-stpcpy.c: New file.
5724 * benchtests/bench-stpncpy-ifunc.c: New file.
5725 * benchtests/bench-stpncpy.c: New file.
5726 * benchtests/bench-strcasecmp-ifunc.c: New file.
5727 * benchtests/bench-strcasecmp.c: New file.
5728 * benchtests/bench-strcasestr-ifunc.c: New file.
5729 * benchtests/bench-strcasestr.c: New file.
5730 * benchtests/bench-strcat-ifunc.c: New file.
5731 * benchtests/bench-strcat.c: New file.
5732 * benchtests/bench-strchr-ifunc.c: New file.
5733 * benchtests/bench-strchr.c: New file.
5734 * benchtests/bench-strchrnul-ifunc.c: New file.
5735 * benchtests/bench-strchrnul.c: New file.
5736 * benchtests/bench-strcmp-ifunc.c: New file.
5737 * benchtests/bench-strcmp.c: New file.
5738 * benchtests/bench-strcpy-ifunc.c: New file.
5739 * benchtests/bench-strcpy.c: New file.
5740 * benchtests/bench-strcspn-ifunc.c: New file.
5741 * benchtests/bench-strcspn.c: New file.
5742 * benchtests/bench-strlen-ifunc.c: New file.
5743 * benchtests/bench-strlen.c: New file.
5744 * benchtests/bench-strncasecmp-ifunc.c: New file.
5745 * benchtests/bench-strncasecmp.c: New file.
5746 * benchtests/bench-strncat-ifunc.c: New file.
5747 * benchtests/bench-strncat.c: New file.
5748 * benchtests/bench-strncmp-ifunc.c: New file.
5749 * benchtests/bench-strncmp.c: New file.
5750 * benchtests/bench-strncpy-ifunc.c: New file.
5751 * benchtests/bench-strncpy.c: New file.
5752 * benchtests/bench-strnlen-ifunc.c: New file.
5753 * benchtests/bench-strnlen.c: New file.
5754 * benchtests/bench-strpbrk-ifunc.c: New file.
5755 * benchtests/bench-strpbrk.c: New file.
5756 * benchtests/bench-strrchr-ifunc.c: New file.
5757 * benchtests/bench-strrchr.c: New file.
5758 * benchtests/bench-strspn-ifunc.c: New file.
5759 * benchtests/bench-strspn.c: New file.
5760 * benchtests/bench-strstr-ifunc.c: New file.
5761 * benchtests/bench-strstr.c: New file.
5763 * benchtests/Makefile: Disable parallel execution of targets.
5764 (string-bench): Add memcpy.
5765 (benchset): New variable to store a list of benchmark sets.
5766 (bench-func): Renamed from bench.
5767 (bench-set): New target.
5768 (bench): Depend on bench-func and bench-set.
5769 * benchtests/README: Add section on benchmark sets.
5770 * benchtests/bench-memcpy-ifunc.c: New file.
5771 * benchtests/bench-memcpy.c: New file.
5772 * benchtests/bench-string.h: New file.
5774 2013-06-11 Andreas Schwab <schwab@suse.de>
5777 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5778 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5779 values in the triple.
5780 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5781 terminator in the group key.
5783 2013-06-11 Andreas Jaeger <aj@suse.de>
5785 * po/zh_TW.po: Update Chinese (traditional) translation from
5786 translation project.
5788 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5790 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5791 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5792 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5794 (clock_getcpuclockid): Likewise.
5795 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5796 Add weak_alias and libc_hidden_def.
5797 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5798 * rt/clock_gettime.c (clock_gettime): Rename to
5799 __clock_gettime. Add weak_alias and libc_hidden_def.
5800 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5801 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5802 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5803 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5804 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5806 * rt/clock_settime.c (clock_settime): Rename to
5807 __clock_settime. Add weak_alias and libc_hidden_def.
5808 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5810 2013-06-10 Joseph Myers <joseph@codesourcery.com>
5812 * mach/err_boot.sub: Remove trailing whitespace.
5813 * mach/err_ipc.sub: Likewise.
5814 * mach/err_mach.sub: Likewise.
5816 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5817 (ROUNDING_TESTS_double): Likewise.
5818 (ROUNDING_TESTS_long_double): Likewise.
5819 (ROUNDING_TESTS): Likewise.
5820 * math/libm-test.inc: Include <math-tests.h>.
5821 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5822 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5823 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5824 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5826 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5828 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5831 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5833 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5834 otherwise empty TRANS lines.
5835 * sysdeps/gnu/errlist.c: Regenerated.
5837 * catgets/gencat.c (error_print): Use (void) in function
5839 * crypt/crypt_util.c (__init_des): Likewise.
5840 * crypt/speeds.c (Stop): Likewise.
5842 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5843 * inet/ruserpass.c (token): Likewise.
5844 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5845 * intl/localealias.c (extend_alias_table): Likewise.
5846 * intl/plural-exp.c (init_germanic_plural): Likewise.
5847 * libio/fcloseall.c (__fcloseall): Likewise.
5848 * libio/genops.c (_IO_flush_all): Likewise.
5849 (_IO_flush_all_linebuffered): Likewise.
5850 (_IO_cleanup): Likewise.
5851 (_IO_iter_begin): Likewise.
5852 (_IO_iter_end): Likewise.
5853 (_IO_list_lock): Likewise.
5854 (_IO_list_unlock): Likewise.
5855 (_IO_list_resetlock): Likewise.
5856 * libio/getchar.c (getchar): Likewise.
5857 * libio/getchar_u.c (getchar_unlocked): Likewise.
5858 * libio/getwchar.c (getwchar): Likewise.
5859 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5860 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5861 * login/getpt.c (__getpt): Likewise.
5862 * login/tst-utmp.c (main): Likewise.
5863 * malloc/hooks.c (__malloc_check_init): Likewise.
5864 * malloc/malloc.c (__malloc_stats): Likewise.
5865 * malloc/mtrace.c (tr_break): Likewise.
5867 (muntrace): Likewise.
5868 * misc/fstab.c (endfsent): Likewise.
5869 * misc/getclktck.c (__getclktck): Likewise.
5870 * misc/getdtsz.c (__getdtablesize): Likewise.
5871 * misc/gethostid.c (gethostid): Likewise.
5872 * misc/getpagesize.c (__getpagesize): Likewise.
5873 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5874 (__get_nprocs): Likewise.
5875 (__get_phys_pages): Likewise.
5876 (__get_avphys_pages): Likewise.
5877 * misc/getttyent.c (getttyent): Likewise.
5878 (setttyent): Likewise.
5879 (endttyent): Likewise.
5880 * misc/getusershell.c (getusershell): Likewise.
5881 (endusershell): Likewise.
5882 (setusershell): Likewise.
5883 (initshells): Likewise.
5884 * misc/hsearch.c (__hdestroy): Likewise.
5885 * misc/sync.c (sync): Likewise.
5886 * misc/syslog.c (closelog_internal): Likewise.
5887 (closelog): Likewise.
5888 * misc/ttyslot.c (ttyslot): Likewise.
5889 * misc/vhangup.c (vhangup): Likewise.
5890 * posix/fork.c (__fork): Likewise.
5891 * posix/getegid.c (__getegid): Likewise.
5892 * posix/geteuid.c (__geteuid): Likewise.
5893 * posix/getgid.c (__getgid): Likewise.
5894 * posix/getpid.c (__getpid): Likewise.
5895 * posix/getppid.c (__getppid): Likewise.
5896 * posix/getuid.c (__getuid): Likewise.
5897 * posix/pause.c (pause): Likewise.
5898 * posix/setpgrp.c (setpgrp): Likewise.
5899 * posix/setsid.c (__setsid): Likewise.
5900 * posix/test-vfork.c (noop): Likewise.
5901 * resolv/gethnamaddr.c (_endhtent): Likewise.
5902 (_gethtent): Likewise.
5903 (ht_endhostent): Likewise.
5904 (gethostent): Likewise.
5905 (dns_service): Likewise.
5906 * stdlib/drand48.c (drand48): Likewise.
5907 * stdlib/lrand48.c (lrand48): Likewise.
5908 * stdlib/mrand48.c (mrand48): Likewise.
5909 * stdlib/rand.c (rand): Likewise.
5910 * stdlib/random.c (__random): Likewise.
5911 * stdlib/setenv.c (clearenv): Likewise.
5912 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5913 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5914 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5915 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5916 (__get_nprocs): Likewise.
5917 (__get_phys_pages): Likewise.
5918 (__get_avphys_pages): Likewise.
5919 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5920 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5921 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5922 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5923 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5924 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5925 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5926 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5927 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5928 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5929 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5930 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5931 * sysdeps/posix/clock.c (clock): Likewise.
5932 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5933 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5934 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5935 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5936 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5938 (__get_nprocs_conf): Likewise.
5939 (__get_phys_pages): Likewise.
5940 (__get_avphys_pages): Likewise.
5941 * time/clock.c (clock): Likewise.
5942 * time/tzset.c (__tzname_max): Likewise.
5944 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5946 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5947 (__bswap_32): Do not use "register".
5948 * crypt/crypt.c (_ufc_doit_r): Likewise.
5949 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5950 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5951 * gmon/gmon.c (__monstartup): Likewise.
5952 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5953 * hurd/hurdmalloc.c (more_memory): Likewise.
5956 (realloc): Likewise.
5957 (malloc_fork_prepare): Likewise.
5958 (malloc_fork_parent): Likewise.
5959 (malloc_fork_child): Likewise.
5960 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5961 (_svcauth_des): Likewise.
5962 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5963 * inet/inet_net.c (inet_network): Likewise.
5964 * inet/inet_netof.c (inet_netof): Likewise.
5965 * inet/rcmd.c (__validuser2_sa): Likewise.
5966 * io/fts.c (fts_open): Likewise.
5967 (fts_load): Likewise.
5968 (fts_close): Likewise.
5969 (fts_read): Likewise.
5970 (fts_children): Likewise.
5971 (fts_build): Likewise.
5972 (fts_stat): Likewise.
5973 (fts_sort): Likewise.
5974 (fts_alloc): Likewise.
5975 (fts_lfree): Likewise.
5976 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5977 (_IO_file_xsgetn): Likewise.
5978 (_IO_file_xsgetn_mmap): Likewise.
5979 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5980 (_IO_cookie_write): Likewise.
5981 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5982 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5983 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5984 * malloc/obstack.c (_obstack_begin): Likewise.
5985 (_obstack_begin_1): Likewise.
5986 (_obstack_newchunk): Likewise.
5987 (_obstack_allocated_p): Likewise.
5988 (obstack_free): Likewise.
5989 (_obstack_memory_used): Likewise.
5990 * misc/getttyent.c (getttynam): Likewise.
5991 (getttyent): Likewise.
5994 * misc/getusershell.c (initshells): Likewise.
5995 * misc/syslog.c (__vsyslog_chk): Likewise.
5996 * misc/ttyslot.c (ttyslot): Likewise.
5997 * nis/nis_hash.c (__nis_hash): Likewise.
5998 * posix/fnmatch_loop.c (FCT): Likewise.
5999 * posix/getconf.c (print_all): Likewise.
6001 * posix/getopt.c (exchange): Likewise.
6002 * posix/glob.c (globfree): Likewise.
6003 (prefix_array): Likewise.
6004 (__glob_pattern_type): Likewise.
6005 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6006 (NS_GET32): Likewise.
6007 (NS_PUT16): Likewise.
6008 (NS_PUT32): Likewise.
6009 * resolv/gethnamaddr.c (getanswer): Likewise.
6010 (gethostbyname2): Likewise.
6011 (gethostbyaddr): Likewise.
6012 (_gethtent): Likewise.
6013 (_gethtbyname2): Likewise.
6014 (_gethtbyaddr): Likewise.
6015 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6016 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6017 * resolv/res_init.c (__res_vinit): Likewise.
6018 (net_mask): Likewise.
6019 * resolv/res_mkquery.c (outchar): Likewise.
6021 * stdio-common/printf_fp.c (outchar): Likewise.
6023 * stdio-common/printf_fphex.c (outchar): Likewise.
6025 * stdio-common/printf_size.c (outchar): Likewise.
6027 * stdio-common/test_rdwr.c (main): Likewise.
6028 * stdio-common/tfformat.c (matches): Likewise.
6029 * stdio-common/vfprintf.c (outchar): Likewise.
6030 (printf_unknown): Likewise.
6031 (buffered_vfprintf): Likewise.
6032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6033 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6034 (ReadFile): Likewise.
6035 * stdlib/qsort.c (SWAP): Likewise.
6036 (_quicksort): Likewise.
6037 * stdlib/setenv.c (__add_to_environ): Likewise.
6038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6039 * stdlib/strtol_l.c (__strtol_l): Likewise.
6040 * stdlib/tst-strtod.c (main): Likewise.
6041 * stdlib/tst-strtol.c (main): Likewise.
6042 * stdlib/tst-strtoll.c (main): Likewise.
6043 * string/bits/string2.h (__strcmp_cc): Likewise.
6044 (__strcmp_cg): Likewise.
6045 (__strcspn_c1): Likewise.
6046 (__strcspn_c2): Likewise.
6047 (__strcspn_c3): Likewise.
6048 (__strspn_c1): Likewise.
6049 (__strspn_c2): Likewise.
6050 (__strspn_c3): Likewise.
6051 (__strsep_1c): Likewise.
6052 (__strsep_2c): Likewise.
6053 (__strsep_3c): Likewise.
6054 * string/memccpy.c (__memccpy): Likewise.
6055 * string/stpcpy.c (__stpcpy): Likewise.
6056 * string/strcmp.c (strcmp): Likewise.
6057 * string/strrchr.c (strrchr): Likewise.
6058 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6060 * sysdeps/mach/hurd/getcwd.c
6061 (_hurd_canonicalize_directory_name_internal): Likewise.
6062 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6063 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6065 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6066 Likewise, in both definitions.
6067 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6069 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6070 64] (__bswap_64): Likewise.
6071 * time/test_time.c (main): Likewise.
6072 * time/tzfile.c (__tzfile_read): Likewise.
6073 (__tzfile_compute): Likewise.
6074 * time/tzset.c (__tzset_parse_tz): Likewise.
6075 (tzset_internal): Likewise.
6076 (compute_change): Likewise.
6077 * wcsmbs/wcscat.c (__wcscat): Likewise.
6078 * wcsmbs/wcschr.c (wcschr): Likewise.
6079 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6080 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6081 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6082 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6083 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6084 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6085 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6086 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6087 * wcsmbs/wmemset.c (wmemset): Likewise.
6089 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6091 * scripts/config.guess: Update to version 2013-05-16.
6092 * scripts/config.sub: Update to version 2013-04-24.
6093 * scripts/install-sh: Update to version 2011-11-20.07.
6094 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6095 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6097 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6099 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6100 * elf/sln.c: Likewise.
6101 * hurd/hurd/ioctl.h: Likewise.
6102 * hurd/hurdmalloc.c: Likewise.
6103 * hurd/xattr.c: Likewise.
6104 * include/shlib-compat.h: Likewise.
6105 * inet/ruserpass.c: Likewise.
6106 * libio/iofgets_u.c: Likewise.
6107 * libio/iofgetws_u.c: Likewise.
6108 * locale/programs/ld-identification.c: Likewise.
6109 * locale/programs/ld-time.c: Likewise.
6110 * mach/msg-destroy.c: Likewise.
6111 * nss/nss_files/files-netgrp.c: Likewise.
6112 * resolv/res_data.c: Likewise.
6113 * soft-fp/op-1.h: Likewise.
6114 * soft-fp/op-2.h: Likewise.
6115 * soft-fp/op-4.h: Likewise.
6116 * soft-fp/op-common.h: Likewise.
6117 * stdio-common/printf_fphex.c: Likewise.
6118 * stdlib/strtod_l.c: Likewise.
6119 * sunrpc/rpc/clnt.h: Likewise.
6120 * sysdeps/generic/framestate.c: Likewise.
6121 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6122 * sysdeps/i386/bsd-setjmp.S: Likewise.
6123 * sysdeps/i386/__longjmp.S: Likewise.
6124 * sysdeps/i386/setjmp.S: Likewise.
6125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6126 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6127 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6143 * sysdeps/ieee754/support.c: Likewise.
6144 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6145 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6146 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6147 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6148 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6149 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6150 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6151 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6152 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6153 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6154 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6155 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6156 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6157 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6158 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6159 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6160 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6163 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6165 * posix/transbug.c: Remove executable mode.
6167 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6169 * crypt/speeds.c: Remove trailing whitespace.
6170 * dlfcn/default.c: Likewise.
6171 * elf/ifuncdep2.c: Likewise.
6172 * elf/ifuncmain1.c: Likewise.
6173 * elf/ifuncmain1vis.c: Likewise.
6174 * elf/testobj.h: Likewise.
6175 * elf/tst-stackguard1.c: Likewise.
6176 * gmon/sys/gmon.h: Likewise.
6177 * hurd/hurdmsg.c: Likewise.
6178 * hurd/new-fd.c: Likewise.
6179 * hurd/ports-get.c: Likewise.
6180 * iconvdata/ibm1008_420.c: Likewise.
6181 * inet/tst-getni1.c: Likewise.
6182 * inet/tst-getni2.c: Likewise.
6183 * libio/ioungetc.c: Likewise.
6184 * libio/wfiledoalloc.c: Likewise.
6185 * manual/libm-err-tab.pl: Likewise.
6186 * math/w_dremf.c: Likewise.
6187 * misc/ftruncate.c: Likewise.
6188 * posix/bug-glob2.c: Likewise.
6189 * posix/tst-pcre.c: Likewise.
6190 * posix/wait4.c: Likewise.
6191 * resolv/README: Likewise.
6192 * resolv/res_debug.h: Likewise.
6193 * resolv/tst-inet_ntop.c: Likewise.
6194 * setjmp/bug269-setjmp.c: Likewise.
6195 * soft-fp/extended.h: Likewise.
6196 * soft-fp/op-1.h: Likewise.
6197 * soft-fp/op-2.h: Likewise.
6198 * soft-fp/op-4.h: Likewise.
6199 * soft-fp/op-8.h: Likewise.
6200 * soft-fp/testit.c: Likewise.
6201 * stdio-common/bug16.c: Likewise.
6202 * stdlib/random.c: Likewise.
6203 * sunrpc/rpcsvc/rquota.x: Likewise.
6204 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6205 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6207 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6212 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6231 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6233 * sysdeps/ieee754/s_lib_version.c: Likewise.
6234 * sysdeps/mach/hurd/check_fds.c: Likewise.
6235 * sysdeps/mach/hurd/getsockname.c: Likewise.
6236 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6237 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6238 * sysdeps/powerpc/bits/link.h: Likewise.
6239 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6240 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6241 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6242 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6243 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6244 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6245 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6246 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6247 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6248 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6249 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6250 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6251 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6252 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6253 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6254 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6255 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6256 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6257 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6258 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6260 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6261 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6262 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6263 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6264 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6266 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6267 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6268 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6272 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6273 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6274 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6275 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6276 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6277 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6278 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6279 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6280 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6281 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6282 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6283 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6284 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6285 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6286 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6287 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6288 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6291 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6292 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6293 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6294 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6295 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6296 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6297 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6298 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6299 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6300 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6301 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6302 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6303 * sysdeps/powerpc/sysdep.h: Likewise.
6304 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6305 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6306 * sysdeps/sh/dl-trampoline.S: Likewise.
6307 * sysdeps/sh/memset.S: Likewise.
6308 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6309 * sysdeps/sh/strlen.S: Likewise.
6310 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6311 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6312 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6313 * sysdeps/sparc/sparc32/rem.S: Likewise.
6314 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6315 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6316 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6317 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6318 * sysdeps/sparc/sparc32/urem.S: Likewise.
6319 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6320 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6321 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6322 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6323 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6324 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6325 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6326 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6327 * sysdeps/unix/bsd/times.c: Likewise.
6328 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6329 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6334 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6335 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6336 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6337 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6338 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6340 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6341 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6342 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6344 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6345 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6346 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6347 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6348 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6349 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6350 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6351 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6352 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6353 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6354 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6356 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6357 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6358 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6359 * sysdeps/x86_64/strcspn.S: Likewise.
6361 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6363 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6364 generated file. Regenerate properly from gen-translit.pl.
6365 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6366 locale/C-translit.h.
6368 2013-06-05 Andreas Schwab <schwab@suse.de>
6371 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6372 week as 6 instead of -1.
6373 * time/tst-strptime.c (day_tests): Add test case.
6375 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6377 * sysdeps/generic/math_private.h
6378 (libc_feholdexcept_setround_53bit): Replace with
6379 libc_feholdsetround_53bit.
6380 (libc_feupdateenv_53bit): Replace with
6381 libc_feresetround_53bit.
6382 (SET_RESTORE_ROUND_53BIT): Adjust.
6384 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6386 * string/test-strchrnul.c: Add copyright header.
6388 * posix/tst-getaddrinfo4.c: Increase test timeout.
6390 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6393 * math/libm-test.inc (MAX_EXP): Remove
6395 (ulp): Use MIN_EXP - MANT_DIG.
6396 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6398 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6400 * po/be.po: Revert last change.
6401 * po/zh_CN.po: Likewise.
6402 * po/header.pot: Likewise.
6404 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6406 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6407 link-libc-deps to empty as target-specific variable.
6408 * Makerules (link-libc-args): New variable.
6409 (libc-for-link): Likewise.
6410 (link-libc-deps): Likewise.
6411 (lib%.so): Depend on $(link-libc-deps). Link with
6413 (build-module): Link with $(link-libc-args).
6414 (build-module-asneeded): Likewise.
6415 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6417 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6418 target-specific variable.
6419 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6420 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6421 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6423 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6425 ($(objpfx)libpcprofile.so): Likewise.
6426 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6428 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6429 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6430 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6432 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6433 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6434 * login/Makefile ($(objpfx)libutil.so): Likewise.
6435 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6436 * math/Makefile ($(objpfx)libm.so): Likewise.
6437 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6438 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6439 variable instead of depending directly on libc.
6440 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6441 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6443 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6445 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6446 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6447 ($(objpfx)libanl.so): Likewise.
6448 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6450 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6452 * sysdeps/i386/fpu/Makefile: Remove file.
6453 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6454 ($(objpfx)libm.so): Remove dependency on ld.so.
6456 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6459 * nis/yp_xdr.c (XDRMAXNAME): Define.
6460 (XDRMAXRECORD): Define.
6461 (xdr_domainname): Use XDRMAXNAME.
6462 (xdr_mapname): Likewise.
6463 (xdr_peername): Likewise.
6464 (xdr_keydat): Use XDRMAXRECORD.
6465 (xdr_valdat): Likewise.
6467 2013-05-30 Jeff Law <law@redhat.com>
6470 * manual/errno.texi (ESTALE): Update to account for more than
6471 just NFS file systems.
6472 * sysdeps/gnu/errlist.c: Regenerated.
6474 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6477 * elf/Makefile (tests): Add tst-null-argv.
6478 (modules-names): Add tst-null-argv-lib.
6479 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6480 (tst-null-argv-ENV): Set environment for tst-null-argv.
6481 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6482 (RTLD_PROGNAME): New macro.
6483 * elf/tst-null-argv.c: New test case.
6484 * elf/tst-null-argv-lib.c: Library for test case.
6485 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6486 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6487 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6488 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6489 * elf/dl-init.c (call_init): Likewise.
6490 (_dl_init): Likewise.
6491 * elf/dl-load.c (print_search_path): Likewise.
6492 (_dl_map_object): Likewise.
6493 * elf/dl-lookup.c (do_lookup_x): Likewise.
6494 (add_dependency): Likewise.
6495 (_dl_lookup_symbol_x): Likewise.
6496 (_dl_debug_bindings): Likewise.
6497 * elf/dl-open.c (_dl_show_scope): Likewise.
6498 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6499 * elf/dl-version.c (match_symbol): Likewise.
6500 (_dl_check_map_versions): Likewise.
6501 * elf/rtld.c (dl_main): Likewise.
6502 (print_unresolved): Use RTLD_PROGNAME.
6503 (print_missing_version): Likewise.
6504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6505 (elf_machine_rela): Likewise.
6506 * sysdeps/powerpc/powerpc32/dl-machine.c
6507 (__process_machine_rela): Likewise.
6508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6510 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6512 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6514 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6521 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6523 * po/be.po: Add descriptive title.
6524 * po/zh_CN.po: Likewise.
6525 * po/header.pot: Likewise.
6527 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6529 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6531 (enlarge_archive): Likewise.
6533 2013-05-28 Ben North <ben@redfrontdoor.org>
6535 * manual/arith.texi (frexp): It is the magnitude of the return
6536 value which lies in [0.5, 1), not the return value itself.
6538 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6542 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6544 * stdio-common/bug26.c (main): Correct fscanf template.
6546 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6547 declare _dl_skip_args.
6549 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6552 * manual/platform.texi: Add missing @end deftypefun.
6554 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6557 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6558 bit of mantissa of 2^16382.
6559 * math/libm-test.inc (hypot_test_data): Add more tests.
6561 * math/libm-test.inc: Add drem and pow10 to list of tested
6563 (pow10_test): New function.
6564 (drem_test): Likewise.
6565 (drem_test_tonearest): Likewise.
6566 (drem_test_towardzero): Likewise.
6567 (drem_test_downward): Likewise.
6568 (drem_test_upward): Likewise.
6569 (main): Call the new functions.
6571 * math/libm-test.inc (finite_test_data): Remove.
6572 (finite_test): Run tests from isfinite_test_data.
6573 (gamma_test_data): Remove.
6574 (gamma_test): Run tests from lgamma_test_data.
6575 * sysdeps/i386/fpu/libm-test-ulps: Update.
6576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6578 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580 * manual/platform.texi: Add PowerPC PPR function set documentation.
6581 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6584 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6586 * math/libm-test.inc (MAX_EXP): Define.
6588 (ulp): New function.
6589 (check_float_internal): Use ULPDIFF.
6590 (cpow_test): Disable failing test.
6591 (check_ulp): Test ulp() implemetnation.
6592 (main): Call check_ulp before starting tests.
6594 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6596 * math/gen-libm-test.pl (generate_testfile): Do not handle
6597 START_DATA and END_DATA.
6598 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6600 (acos_tonearest_test_data): Likewise.
6601 (acos_towardzero_test_data): Likewise.
6602 (acos_downward_test_data): Likewise.
6603 (acos_upward_test_data): Likewise.
6604 (acosh_test_data): Likewise.
6605 (asin_test_data): Likewise.
6606 (asin_tonearest_test_data): Likewise.
6607 (asin_towardzero_test_data): Likewise.
6608 (asin_downward_test_data): Likewise.
6609 (asin_upward_test_data): Likewise.
6610 (asinh_test_data): Likewise.
6611 (atan_test_data): Likewise.
6612 (atanh_test_data): Likewise.
6613 (atan2_test_data): Likewise.
6614 (cabs_test_data): Likewise.
6615 (cacos_test_data): Likewise.
6616 (cacosh_test_data): Likewise.
6617 (carg_test_data): Likewise.
6618 (casin_test_data): Likewise.
6619 (casinh_test_data): Likewise.
6620 (catan_test_data): Likewise.
6621 (catanh_test_data): Likewise.
6622 (cbrt_test_data): Likewise.
6623 (ccos_test_data): Likewise.
6624 (ccosh_test_data): Likewise.
6625 (ceil_test_data): Likewise.
6626 (cexp_test_data): Likewise.
6627 (cimag_test_data): Likewise.
6628 (clog_test_data): Likewise.
6629 (clog10_test_data): Likewise.
6630 (conj_test_data): Likewise.
6631 (copysign_test_data): Likewise.
6632 (cos_test_data): Likewise.
6633 (cos_tonearest_test_data): Likewise.
6634 (cos_towardzero_test_data): Likewise.
6635 (cos_downward_test_data): Likewise.
6636 (cos_upward_test_data): Likewise.
6637 (cosh_test_data): Likewise.
6638 (cosh_tonearest_test_data): Likewise.
6639 (cosh_towardzero_test_data): Likewise.
6640 (cosh_downward_test_data): Likewise.
6641 (cosh_upward_test_data): Likewise.
6642 (cpow_test_data): Likewise.
6643 (cproj_test_data): Likewise.
6644 (creal_test_data): Likewise.
6645 (csin_test_data): Likewise.
6646 (csinh_test_data): Likewise.
6647 (csqrt_test_data): Likewise.
6648 (ctan_test_data): Likewise.
6649 (ctan_tonearest_test_data): Likewise.
6650 (ctan_towardzero_test_data): Likewise.
6651 (ctan_downward_test_data): Likewise.
6652 (ctan_upward_test_data): Likewise.
6653 (ctanh_test_data): Likewise.
6654 (ctanh_tonearest_test_data): Likewise.
6655 (ctanh_towardzero_test_data): Likewise.
6656 (ctanh_downward_test_data): Likewise.
6657 (ctanh_upward_test_data): Likewise.
6658 (erf_test_data): Likewise.
6659 (erfc_test_data): Likewise.
6660 (exp_test_data): Likewise.
6661 (exp_tonearest_test_data): Likewise.
6662 (exp_towardzero_test_data): Likewise.
6663 (exp_downward_test_data): Likewise.
6664 (exp_upward_test_data): Likewise.
6665 (exp10_test_data): Likewise.
6666 (exp2_test_data): Likewise.
6667 (expm1_test_data): Likewise.
6668 (fabs_test_data): Likewise.
6669 (fdim_test_data): Likewise.
6670 (finite_test_data): Likewise.
6671 (floor_test_data): Likewise.
6672 (fma_test_data): Likewise.
6673 (fma_towardzero_test_data): Likewise.
6674 (fma_downward_test_data): Likewise.
6675 (fma_upward_test_data): Likewise.
6676 (fmax_test_data): Likewise.
6677 (fmin_test_data): Likewise.
6678 (fmod_test_data): Likewise.
6679 (fpclassify_test_data): Likewise.
6680 (frexp_test_data): Likewise.
6681 (gamma_test_data): Likewise.
6682 (hypot_test_data): Likewise.
6683 (ilogb_test_data): Likewise.
6684 (isfinite_test_data): Likewise.
6685 (isgreater_test_data): Likewise.
6686 (isgreaterequal_test_data): Likewise.
6687 (isinf_test_data): Likewise.
6688 (isless_test_data): Likewise.
6689 (islessequal_test_data): Likewise.
6690 (islessgreater_test_data): Likewise.
6691 (isnan_test_data): Likewise.
6692 (isnormal_test_data): Likewise.
6693 (issignaling_test_data): Likewise.
6694 (isunordered_test_data): Likewise.
6695 (j0_test_data): Likewise.
6696 (j1_test_data): Likewise.
6697 (jn_test_data): Likewise.
6698 (ldexp_test_data): Likewise.
6699 (lgamma_test_data): Likewise.
6700 (lrint_test_data): Likewise.
6701 (lrint_tonearest_test_data): Likewise.
6702 (lrint_towardzero_test_data): Likewise.
6703 (lrint_downward_test_data): Likewise.
6704 (lrint_upward_test_data): Likewise.
6705 (llrint_test_data): Likewise.
6706 (llrint_tonearest_test_data): Likewise.
6707 (llrint_towardzero_test_data): Likewise.
6708 (llrint_downward_test_data): Likewise.
6709 (llrint_upward_test_data): Likewise.
6710 (log_test_data): Likewise.
6711 (log10_test_data): Likewise.
6712 (log1p_test_data): Likewise.
6713 (log2_test_data): Likewise.
6714 (logb_test_data): Likewise.
6715 (logb_downward_test_data): Likewise.
6716 (lround_test_data): Likewise.
6717 (llround_test_data): Likewise.
6718 (modf_test_data): Likewise.
6719 (nearbyint_test_data): Likewise.
6720 (nextafter_test_data): Likewise.
6721 (nexttoward_test_data): Likewise.
6722 (pow_test_data): Likewise.
6723 (pow_tonearest_test_data): Likewise.
6724 (pow_towardzero_test_data): Likewise.
6725 (pow_downward_test_data): Likewise.
6726 (pow_upward_test_data): Likewise.
6727 (remainder_test_data): Likewise.
6728 (remainder_tonearest_test_data): Likewise.
6729 (remainder_towardzero_test_data): Likewise.
6730 (remainder_downward_test_data): Likewise.
6731 (remainder_upward_test_data): Likewise.
6732 (remquo_test_data): Likewise.
6733 (rint_test_data): Likewise.
6734 (rint_tonearest_test_data): Likewise.
6735 (rint_towardzero_test_data): Likewise.
6736 (rint_downward_test_data): Likewise.
6737 (rint_upward_test_data): Likewise.
6738 (round_test_data): Likewise.
6739 (scalb_test_data): Likewise.
6740 (scalbn_test_data): Likewise.
6741 (scalbln_test_data): Likewise.
6742 (signbit_test_data): Likewise.
6743 (sin_test_data): Likewise.
6744 (sin_tonearest_test_data): Likewise.
6745 (sin_towardzero_test_data): Likewise.
6746 (sin_downward_test_data): Likewise.
6747 (sin_upward_test_data): Likewise.
6748 (sincos_test_data): Likewise.
6749 (sinh_test_data): Likewise.
6750 (sinh_tonearest_test_data): Likewise.
6751 (sinh_towardzero_test_data): Likewise.
6752 (sinh_downward_test_data): Likewise.
6753 (sinh_upward_test_data): Likewise.
6754 (sqrt_test_data): Likewise.
6755 (tan_test_data): Likewise.
6756 (tan_tonearest_test_data): Likewise.
6757 (tan_towardzero_test_data): Likewise.
6758 (tan_downward_test_data): Likewise.
6759 (tan_upward_test_data): Likewise.
6760 (tanh_test_data): Likewise.
6761 (tgamma_test_data): Likewise.
6762 (trunc_test_data): Likewise.
6763 (y0_test_data): Likewise.
6764 (y1_test_data): Likewise.
6765 (yn_test_data): Likewise.
6766 (significand_test_data): Likewise.
6768 * math/gen-libm-test.pl (@functions): Remove variable.
6769 (generate_testfile): Don't handle START and END lines.
6770 * math/libm-test.inc (START): New macro.
6772 (END_COMPLEX): Likewise.
6773 (acos_test): Use END macro without arguments.
6774 (acos_test_tonearest): Likewise.
6775 (acos_test_towardzero): Likewise.
6776 (acos_test_downward): Likewise.
6777 (acos_test_upward): Likewise.
6778 (acosh_test): Likewise.
6779 (asin_test): Likewise.
6780 (asin_test_tonearest): Likewise.
6781 (asin_test_towardzero): Likewise.
6782 (asin_test_downward): Likewise.
6783 (asin_test_upward): Likewise.
6784 (asinh_test): Likewise.
6785 (atan_test): Likewise.
6786 (atanh_test): Likewise.
6787 (atan2_test): Likewise.
6788 (cabs_test): Likewise.
6789 (cacos_test): Use END_COMPLEX macro without arguments.
6790 (cacosh_test): Likewise.
6791 (carg_test): Use END macro without arguments.
6792 (casin_test): Use END_COMPLEX macro without arguments.
6793 (casinh_test): Likewise.
6794 (catan_test): Likewise.
6795 (catanh_test): Likewise.
6796 (cbrt_test): Use END macro without arguments.
6797 (ccos_test): Use END_COMPLEX macro without arguments.
6798 (ccosh_test): Likewise.
6799 (ceil_test): Use END macro without arguments.
6800 (cexp_test): Use END_COMPLEX macro without arguments.
6801 (cimag_test): Use END macro without arguments.
6802 (clog_test): Use END_COMPLEX macro without arguments.
6803 (clog10_test): Likewise.
6804 (conj_test): Likewise.
6805 (copysign_test): Use END macro without arguments.
6806 (cos_test): Likewise.
6807 (cos_test_tonearest): Likewise.
6808 (cos_test_towardzero): Likewise.
6809 (cos_test_downward): Likewise.
6810 (cos_test_upward): Likewise.
6811 (cosh_test): Likewise.
6812 (cosh_test_tonearest): Likewise.
6813 (cosh_test_towardzero): Likewise.
6814 (cosh_test_downward): Likewise.
6815 (cosh_test_upward): Likewise.
6816 (cpow_test): Use END_COMPLEX macro without arguments.
6817 (cproj_test): Likewise.
6818 (creal_test): Use END macro without arguments.
6819 (csin_test): Use END_COMPLEX macro without arguments.
6820 (csinh_test): Likewise.
6821 (csqrt_test): Likewise.
6822 (ctan_test): Likewise.
6823 (ctan_test_tonearest): Likewise.
6824 (ctan_test_towardzero): Likewise.
6825 (ctan_test_downward): Likewise.
6826 (ctan_test_upward): Likewise.
6827 (ctanh_test): Likewise.
6828 (ctanh_test_tonearest): Likewise.
6829 (ctanh_test_towardzero): Likewise.
6830 (ctanh_test_downward): Likewise.
6831 (ctanh_test_upward): Likewise.
6832 (erf_test): Use END macro without arguments.
6833 (erfc_test): Likewise.
6834 (exp_test): Likewise.
6835 (exp_test_tonearest): Likewise.
6836 (exp_test_towardzero): Likewise.
6837 (exp_test_downward): Likewise.
6838 (exp_test_upward): Likewise.
6839 (exp10_test): Likewise.
6840 (exp2_test): Likewise.
6841 (expm1_test): Likewise.
6842 (fabs_test): Likewise.
6843 (fdim_test): Likewise.
6844 (finite_test): Likewise.
6845 (floor_test): Likewise.
6846 (fma_test): Likewise.
6847 (fma_test_towardzero): Likewise.
6848 (fma_test_downward): Likewise.
6849 (fma_test_upward): Likewise.
6850 (fmax_test): Likewise.
6851 (fmin_test): Likewise.
6852 (fmod_test): Likewise.
6853 (fpclassify_test): Likewise.
6854 (frexp_test): Likewise.
6855 (gamma_test): Likewise.
6856 (hypot_test): Likewise.
6857 (ilogb_test): Likewise.
6858 (isfinite_test): Likewise.
6859 (isgreater_test): Likewise.
6860 (isgreaterequal_test): Likewise.
6861 (isinf_test): Likewise.
6862 (isless_test): Likewise.
6863 (islessequal_test): Likewise.
6864 (islessgreater_test): Likewise.
6865 (isnan_test): Likewise.
6866 (isnormal_test): Likewise.
6867 (issignaling_test): Likewise.
6868 (isunordered_test): Likewise.
6869 (j0_test): Likewise.
6870 (j1_test): Likewise.
6871 (jn_test): Likewise.
6872 (ldexp_test): Likewise.
6873 (lgamma_test): Likewise.
6874 (lrint_test): Likewise.
6875 (lrint_test_tonearest): Likewise.
6876 (lrint_test_towardzero): Likewise.
6877 (lrint_test_downward): Likewise.
6878 (lrint_test_upward): Likewise.
6879 (llrint_test): Likewise.
6880 (llrint_test_tonearest): Likewise.
6881 (llrint_test_towardzero): Likewise.
6882 (llrint_test_downward): Likewise.
6883 (llrint_test_upward): Likewise.
6884 (log_test): Likewise.
6885 (log10_test): Likewise.
6886 (log1p_test): Likewise.
6887 (log2_test): Likewise.
6888 (logb_test): Likewise.
6889 (logb_test_downward): Likewise.
6890 (lround_test): Likewise.
6891 (llround_test): Likewise.
6892 (modf_test): Likewise.
6893 (nearbyint_test): Likewise.
6894 (nextafter_test): Likewise.
6895 (nexttoward_test): Likewise.
6896 (pow_test): Likewise.
6897 (pow_test_tonearest): Likewise.
6898 (pow_test_towardzero): Likewise.
6899 (pow_test_downward): Likewise.
6900 (pow_test_upward): Likewise.
6901 (remainder_test): Likewise.
6902 (remainder_test_tonearest): Likewise.
6903 (remainder_test_towardzero): Likewise.
6904 (remainder_test_downward): Likewise.
6905 (remainder_test_upward): Likewise.
6906 (remquo_test): Likewise.
6907 (rint_test): Likewise.
6908 (rint_test_tonearest): Likewise.
6909 (rint_test_towardzero): Likewise.
6910 (rint_test_downward): Likewise.
6911 (rint_test_upward): Likewise.
6912 (round_test): Likewise.
6913 (scalb_test): Likewise.
6914 (scalbn_test): Likewise.
6915 (scalbln_test): Likewise.
6916 (signbit_test): Likewise.
6917 (sin_test): Likewise.
6918 (sin_test_tonearest): Likewise.
6919 (sin_test_towardzero): Likewise.
6920 (sin_test_downward): Likewise.
6921 (sin_test_upward): Likewise.
6922 (sincos_test): Likewise.
6923 (sinh_test): Likewise.
6924 (sinh_test_tonearest): Likewise.
6925 (sinh_test_towardzero): Likewise.
6926 (sinh_test_downward): Likewise.
6927 (sinh_test_upward): Likewise.
6928 (sqrt_test): Likewise.
6929 (tan_test): Likewise.
6930 (tan_test_tonearest): Likewise.
6931 (tan_test_towardzero): Likewise.
6932 (tan_test_downward): Likewise.
6933 (tan_test_upward): Likewise.
6934 (tanh_test): Likewise.
6935 (tgamma_test): Likewise.
6936 (trunc_test): Likewise.
6937 (y0_test): Likewise.
6938 (y1_test): Likewise.
6939 (yn_test): Likewise.
6940 (significand_test): Likewise.
6942 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6945 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6947 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6950 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6951 __ppc_mdoio and __ppc_mdoom.
6952 * manual/platform.texi: Document new functions __ppc_yield,
6953 __ppc_mdoio and __ppc_mdoom.
6955 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6957 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6958 (main): Mention "tls" pseudo-hwcap is legacy.
6959 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6961 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6963 * math/gen-libm-test.pl (parse_args): Output only string of
6964 arguments as text for test name, not full call or descriptions of
6965 tests for extra outputs.
6966 (generate_testfile): Do not pass function name to parse_args.
6967 Generate this_func variable from START.
6968 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6970 (struct test_ff_f_data): Likewise.
6971 (test_ff_f_data_nexttoward): Likewise.
6972 (struct test_fi_f_data): Likewise.
6973 (struct test_fl_f_data): Likewise.
6974 (struct test_if_f_data): Likewise.
6975 (struct test_fff_f_data): Likewise.
6976 (struct test_c_f_data): Likewise.
6977 (struct test_f_f1_data): Likewise. Remove field extra_name.
6978 (struct test_fF_f1_data): Likewise.
6979 (struct test_ffI_f1_data): Likewise.
6980 (struct test_c_c_data): Rename test_name field to arg_str.
6981 (struct test_cc_c_data): Likewise.
6982 (struct test_f_i_data): Likewise.
6983 (struct test_ff_i_data): Likewise.
6984 (struct test_f_l_data): Likewise.
6985 (struct test_f_L_data): Likewise.
6986 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6988 (COMMON_TEST_SETUP): New macro.
6989 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6990 (COMMON_TEST_CLEANUP): Likewise.
6991 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6992 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6994 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6995 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6997 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6998 (RUN_TEST_fff_f): Take argument string. Call new setup and
7000 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7001 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7003 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7004 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7006 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7007 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7009 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7010 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7012 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7013 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7015 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7016 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7018 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7019 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7021 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7022 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7024 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7025 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7027 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7028 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7030 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7031 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7033 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7034 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7036 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7037 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7039 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7040 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7042 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7043 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7045 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7047 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7049 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7050 to _sifields.sigfault.
7051 (si_addr_lsb): Define new macro.
7052 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7054 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7056 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7059 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7061 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7063 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7066 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7068 * math/gen-libm-test.pl (parse_args): Do not include expected
7069 result in test name.
7070 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7071 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7072 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7073 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7074 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7077 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7079 * benchtests/Makefile: Sort function entries.
7081 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7082 tanh, asinh, acosh, atanh.
7083 * benchtests/acos-inputs: New file.
7084 * benchtests/acosh-inputs: New file.
7085 * benchtests/asin-inputs: New file.
7086 * benchtests/asinh-inputs: New file.
7087 * benchtests/atanh-inputs: New file.
7088 * benchtests/cosh-inputs: New file.
7089 * benchtests/log-inputs: New file.
7090 * benchtests/sinh-inputs: New file.
7091 * benchtests/tanh-inputs: New file.
7093 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7096 * posix/tst-getaddrinfo4.c: New test.
7097 * posix/Makefile (tests): Add it.
7099 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7102 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7103 when no services were used.
7104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7105 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7107 2013-05-21 Andreas Schwab <schwab@suse.de>
7110 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7111 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7113 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7114 redundant variable declarations and reallocation of buffer when
7115 parsing as IPv6 address. Always set NSS status when called from
7116 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7117 buffer too small. Correct computation of needed size.
7118 * nss/Makefile (tests): Add test-digits-dots.
7119 * nss/test-digits-dots.c: New test.
7121 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7123 * benchtests/Makefile: Remove instructions for adding
7125 * benchtests/README: New file to explain how to execute and
7126 enhance the benchmark tests.
7128 2013-05-21 Andreas Schwab <schwab@suse.de>
7131 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7132 * setjmp/tst-sigsetjmp.c: New test.
7134 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7136 * sysdeps/x86_64/memset.S (memset): New implementation.
7137 (__bzero): Likewise.
7138 (__memset_tail): New function.
7140 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7142 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7143 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7144 __memcpy_sse2_unaligned ifunc selection.
7145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7146 Add memcpy-sse2-unaligned.S.
7147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7148 Add: __memcpy_sse2_unaligned.
7150 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7153 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7154 math_force_eval before restoring floating-point envrionment.
7155 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7158 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7160 (__nearbyintl): Use math_force_eval before restoring
7161 floating-point environment.
7162 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7164 * math/gen-libm-test.pl (special_functions): Remove.
7165 (parse_args): Don't handle TEST_extra. Handle functions with no
7167 * math/libm-test.inc (struct test_sincos_data): Replace with
7168 struct test_fFF_11_data.
7169 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7170 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7171 (sincos_test_data): Change element type to struct
7172 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7173 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7174 RUN_TEST_LOOP_sincos.
7175 * math/README.libm-test: Don't mention special handling of
7176 individual functions.
7177 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7179 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7180 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7181 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184 * math/gen-libm-test.pl (get_variable): Remove function.
7185 (parse_args): Don't show pointer parameters to call in test
7186 names. Use "extra output N" in test names for extra outputs
7187 rather than naming variables.
7189 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7192 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7193 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7194 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7196 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7198 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7201 * math/gen-libm-test.pl (@tests): Remove variable.
7203 (new_test): Remove function.
7204 (show_exceptions): New function.
7205 (special_functions): Use show_exceptions instead of new_test.
7206 (parse_args): Likewise.
7207 (generate_testfile): Pass only function name in generated call to
7208 print_max_error or print_complex_max_error.
7209 (get_ulps): Do not handle complex tests specially.
7210 (output_test): Rename to ...
7211 (get_all_ulps_for_test): ... this. Return a string rather than
7212 printing to a file. Require ulps to be present.
7213 (output_ulps): Generate arrays rather than #defines.
7214 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7215 (struct ulp_data): New type.
7216 (BUILD_COMPLEX_ULP): Remove macro.
7217 (compare_ulp_data): New function.
7218 (find_ulps): Likewise.
7219 (find_test_ulps): Likewise.
7220 (find_function_ulps): Likewise.
7221 (find_complex_function_ulps): Likewise.
7222 (print_max_error): Determine allowed ulps using
7224 (print_complex_max_error): Determine allowed ulps using
7225 find_complex_function_ulps.
7226 (check_float_internal): Determine max ulps using find_test_ulps.
7227 (check_float): Do not take max_ulp parameter. Update call to
7228 check_float_internal.
7229 (check_complex): Likewise.
7230 (check_int): Do not take max_ulp parameter.
7231 (check_long): Likewise.
7232 (check_bool): Likewise.
7233 (check_longlong): Likewise.
7234 (struct test_f_f_data): Remove max_ulp field.
7235 (struct test_ff_f_data): Likewise.
7236 (struct test_ff_f_data_nexttoward): Likewise.
7237 (struct test_fi_f_data): Likewise.
7238 (struct test_fl_f_data): Likewise.
7239 (struct test_if_f_data): Likewise.
7240 (struct test_fff_f_data): Likewise.
7241 (struct test_c_f_data): Likewise.
7242 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7243 (struct test_fF_f1_data): Likewise.
7244 (struct test_ffI_f1_data): Likewise.
7245 (struct test_c_c_data): Remove max_ulp field.
7246 (struct test_cc_c_data): Likewise.
7247 (struct test_f_i_data): Likewise.
7248 (struct test_ff_i_data): Likewise.
7249 (struct test_f_l_data): Likewise.
7250 (struct test_f_L_data): Likewise.
7251 (struct test_sincos_data): Likewise.
7252 (RUN_TEST_f_f): Do not handle ulps.
7253 (RUN_TEST_LOOP_f_f): Likewise.
7254 (RUN_TEST_2_f): Likewise.
7255 (RUN_TEST_LOOP_2_f): Likewise.
7256 (RUN_TEST_fff_f): Likewise.
7257 (RUN_TEST_LOOP_fff_f): Likewise.
7258 (RUN_TEST_c_f): Likewise.
7259 (RUN_TEST_LOOP_c_f): Likewise.
7260 (RUN_TEST_f_f1): Likewise.
7261 (RUN_TEST_LOOP_f_f1): Likewise.
7262 (RUN_TEST_fF_f1): Likewise.
7263 (RUN_TEST_LOOP_fF_f1): Likewise.
7264 (RUN_TEST_fI_f1): Likewise.
7265 (RUN_TEST_LOOP_fI_f1): Likewise.
7266 (RUN_TEST_ffI_f1): Likewise.
7267 (RUN_TEST_LOOP_ffI_f1): Likewise.
7268 (RUN_TEST_c_c): Likewise.
7269 (RUN_TEST_LOOP_c_c): Likewise.
7270 (RUN_TEST_cc_c): Likewise.
7271 (RUN_TEST_LOOP_cc_c): Likewise.
7272 (RUN_TEST_f_i): Likewise.
7273 (RUN_TEST_LOOP_f_i): Likewise.
7274 (RUN_TEST_f_i_tg): Likewise.
7275 (RUN_TEST_LOOP_f_i_tg): Likewise.
7276 (RUN_TEST_ff_i_tg): Likewise.
7277 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7278 (RUN_TEST_f_b): Likewise.
7279 (RUN_TEST_LOOP_f_b): Likewise.
7280 (RUN_TEST_f_b_tg): Likewise.
7281 (RUN_TEST_LOOP_f_b_tg): Likewise.
7282 (RUN_TEST_f_l): Likewise.
7283 (RUN_TEST_LOOP_f_l): Likewise.
7284 (RUN_TEST_f_L): Likewise.
7285 (RUN_TEST_LOOP_f_L): Likewise.
7286 (RUN_TEST_sincos): Likewise.
7287 (RUN_TEST_LOOP_sincos): Likewise.
7289 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7293 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7294 main case of finite arguments, set rounding mode to FE_TONEAREST
7295 and discard exceptions.
7296 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7298 (remainder_tonearest_test_data): New variable.
7299 (remainder_test_tonearest): New function.
7300 (remainder_towardzero_test_data): New variable.
7301 (remainder_test_towardzero): New function.
7302 (remainder_downward_test_data): New variable.
7303 (remainder_test_downward): New function.
7304 (remainder_upward_test_data): New variable.
7305 (remainder_test_upward): New function.
7306 (main): Call the new test functions.
7308 * math/libm-test.inc (struct test_f_f1_data): Remove field
7310 (struct test_fF_f1_data): Likewise.
7311 (struct test_ffI_f1_data): Likewise.
7312 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7313 based on value of EXTRA_EXPECTED.
7314 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7315 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7316 EXTRA_VAR based on value of EXTRA_EXPECTED.
7317 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7318 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7319 EXTRA_VAR based on value of EXTRA_EXPECTED.
7320 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7321 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7322 EXTRA_VAR based on value of EXTRA_EXPECTED.
7323 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7324 * math/gen-libm-test.pl (parse_args): Don't output initializers
7325 for extra output values.
7327 * math/libm-test.inc (check_int): Expect result to be exactly
7328 equal to expected value and do not handle ulps.
7329 (check_long): Likewise.
7330 (check_longlong): Likewise.
7332 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7334 (cimag_test_data): Likewise.
7335 (conj_test_data): Likewise.
7336 (copysign_test_data): Likewise.
7337 (cproj_test_data): Likewise.
7338 (creal_test_data): Likewise.
7339 (fabs_test_data): Likewise.
7340 (fdim_test_data): Likewise.
7341 (finite_test_data): Likewise.
7342 (floor_test_data): Likewise.
7343 (fmax_test_data): Likewise.
7344 (fmin_test_data): Likewise.
7345 (fmod_test_data): Likewise.
7346 (fpclassify_test_data): Likewise.
7347 (frexp_test_data): Likewise.
7348 (ilogb_test_data): Likewise.
7349 (isfinite_test_data): Likewise.
7350 (isgreater_test_data): Likewise.
7351 (isgreaterequal_test_data): Likewise.
7352 (isinf_test_data): Likewise.
7353 (isless_test_data): Likewise.
7354 (islessequal_test_data): Likewise.
7355 (islessgreater_test_data): Likewise.
7356 (isnan_test_data): Likewise.
7357 (isnormal_test_data): Likewise.
7358 (issignaling_test_data): Likewise.
7359 (isunordered_test_data): Likewise.
7360 (ldexp_test_data): Likewise.
7361 (lrint_test_data): Likewise.
7362 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7363 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7364 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7365 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7366 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7367 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7369 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7370 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7371 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7372 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7374 (lrint_downward_test_data): Test for "inexact" exceptions.
7375 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7376 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7377 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7379 (lrint_upward_test_data): Test for "inexact" exceptions.
7380 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7382 (llrint_test_data): Test for "inexact" exceptions.
7383 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7384 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7385 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7386 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7387 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7388 (llrint_downward_test_data): Test for "inexact" exceptions.
7389 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7390 (llrint_upward_test_data): Test for "inexact" exceptions.
7391 (logb_test_data): Likewise.
7392 (logb_downward_test_data): Likewise.
7393 (nextafter_test_data): Likewise.
7394 (nexttoward_test_data): Likewise.
7395 (remainder_test_data): Likewise.
7396 (remquo_test_data): Likewise.
7397 (scalbn_test_data): Likewise.
7398 (scalbln_test_data): Likewise.
7399 (signbit_test_data): Likewise.
7400 (sqrt_test_data): Likewise.
7401 (significand_test_data): Likewise.
7403 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7406 * benchtests/bench-modf.c (struct args): Mark arg0 as
7408 * scripts/bench.pl: Mark members of struct args as volatile.
7410 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7413 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7414 negative infinity on POWER6 or lower.
7415 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7417 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7420 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7421 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7422 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7423 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7424 (_FP_SETQNAN): New macro.
7425 (_FP_SETQNAN_SEMIRAW): Likewise.
7426 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7427 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7428 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7429 (FP_EXTEND): Use _FP_FRAC_SNANP.
7430 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7431 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7433 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7438 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7440 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7441 with DIVIDE_BY_ZERO_EXCEPTION.
7442 (gamma_test_data): Likewise.
7443 (lgamma_test_data): Likewise.
7444 (log_test_data): Likewise.
7445 (log10_test_data): Likewise.
7446 (log2_test_data): Likewise.
7447 (tgamma_test_data): Likewise.
7449 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7450 (acos_test_tonearest): Likewise.
7451 (acos_test_towardzero): Likewise.
7452 (acos_test_downward): Likewise.
7453 (acos_test_upward): Likewise.
7454 (acosh_test): Likewise.
7455 (asin_test): Likewise.
7456 (asin_test_tonearest): Likewise.
7457 (asin_test_towardzero): Likewise.
7458 (asin_test_downward): Likewise.
7459 (asin_test_upward): Likewise.
7460 (asinh_test): Likewise.
7461 (atan_test): Likewise.
7462 (atanh_test): Likewise.
7463 (atan2_test): Likewise.
7464 (cabs_test): Likewise.
7465 (cacos_test): Likewise.
7466 (cacosh_test): Likewise.
7467 (casin_test): Likewise.
7468 (casinh_test): Likewise.
7469 (catan_test): Likewise.
7470 (catanh_test): Likewise.
7471 (cbrt_test): Likewise.
7472 (ccos_test): Likewise.
7473 (ccosh_test): Likewise.
7474 (cexp_test): Likewise.
7475 (clog_test): Likewise.
7476 (clog10_test): Likewise.
7477 (cos_test): Likewise.
7478 (cos_test_tonearest): Likewise.
7479 (cos_test_towardzero): Likewise.
7480 (cos_test_downward): Likewise.
7481 (cos_test_upward): Likewise.
7482 (cosh_test): Likewise.
7483 (cosh_test_tonearest): Likewise.
7484 (cosh_test_towardzero): Likewise.
7485 (cosh_test_downward): Likewise.
7486 (cosh_test_upward): Likewise.
7487 (cpow_test): Likewise.
7488 (csin_test): Likewise.
7489 (csinh_test): Likewise.
7490 (csqrt_test): Likewise.
7491 (ctan_test): Likewise.
7492 (ctan_test_tonearest): Likewise.
7493 (ctan_test_towardzero): Likewise.
7494 (ctan_test_downward): Likewise.
7495 (ctan_test_upward): Likewise.
7496 (ctanh_test): Likewise.
7497 (ctanh_test_tonearest): Likewise.
7498 (ctanh_test_towardzero): Likewise.
7499 (ctanh_test_downward): Likewise.
7500 (ctanh_test_upward): Likewise.
7501 (erf_test): Likewise.
7502 (erfc_test): Likewise.
7503 (exp_test): Likewise.
7504 (exp_test_tonearest): Likewise.
7505 (exp_test_towardzero): Likewise.
7506 (exp_test_downward): Likewise.
7507 (exp_test_upward): Likewise.
7508 (exp10_test): Likewise.
7509 (exp2_test): Likewise.
7510 (expm1_test): Likewise.
7511 (fmod_test): Likewise.
7512 (gamma_test): Likewise.
7513 (hypot_test): Likewise.
7514 (j0_test): Likewise.
7515 (j1_test): Likewise.
7516 (jn_test): Likewise.
7517 (lgamma_test): Likewise.
7518 (log_test): Likewise.
7519 (log10_test): Likewise.
7520 (log1p_test): Likewise.
7521 (log2_test): Likewise.
7522 (logb_test_downward): Likewise.
7523 (pow_test): Likewise.
7524 (pow_test_tonearest): Likewise.
7525 (pow_test_towardzero): Likewise.
7526 (pow_test_downward): Likewise.
7527 (pow_test_upward): Likewise.
7528 (remainder_test): Likewise.
7529 (remquo_test): Likewise.
7530 (sin_test): Likewise.
7531 (sin_test_tonearest): Likewise.
7532 (sin_test_towardzero): Likewise.
7533 (sin_test_downward): Likewise.
7534 (sin_test_upward): Likewise.
7535 (sincos_test): Likewise.
7536 (sinh_test): Likewise.
7537 (sinh_test_tonearest): Likewise.
7538 (sinh_test_towardzero): Likewise.
7539 (sinh_test_downward): Likewise.
7540 (sinh_test_upward): Likewise.
7541 (sqrt_test): Likewise.
7542 (tan_test): Likewise.
7543 (tan_test_tonearest): Likewise.
7544 (tan_test_towardzero): Likewise.
7545 (tan_test_downward): Likewise.
7546 (tan_test_upward): Likewise.
7547 (tanh_test): Likewise.
7548 (tgamma_test): Likewise.
7549 (y0_test): Likewise.
7550 (y1_test): Likewise.
7551 (yn_test): Likewise.
7553 * math/gen-libm-test.pl (adjust_arg): Remove function.
7554 (special_function): Remove argument $in_func. Only handle
7555 generating output for tables of tests, not inside functions.
7556 (parse_args): Likewise.
7557 (generate_testfile): Remove variable $in_func. Update call to
7559 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7560 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7561 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7562 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7563 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7564 (MAX_VALUE_INIT): Rename macro to max_value.
7565 (MIN_VALUE_INIT): Rename macro to min_value.
7566 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7567 (plus_zero): Remove variable.
7568 (minus_zero): Likewise.
7569 (plus_infty): Likewise.
7570 (minus_infty): Likewise.
7571 (qnan_value): Likewise.
7572 (max_value): Likewise.
7573 (min_value): Likewise.
7574 (min_subnorm_value): Likewise.
7576 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7578 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7579 uint64_t or uint32_t usage.
7580 * crypt/sha256-block.c: Likewise.
7581 * crypt/sha256-crypt.c: Likewise.
7582 * crypt/sha256.c: Likewise.
7583 * crypt/sha512-block.c: Likewise.
7584 * crypt/sha512-crypt.c: Likewise.
7585 * crypt/sha512.c: Likewise.
7586 * debug/backtrace-tst.c: Likewise.
7587 * debug/pcprofiledump.c: Likewise.
7588 * elf/cache.c: Likewise.
7589 * elf/dl-cache.c: Likewise.
7590 * elf/dl-misc.c: Likewise.
7591 * elf/dl-profile.c: Likewise.
7592 * elf/dl-support.c: Likewise.
7593 * elf/ldconfig.c: Likewise.
7594 * elf/sprof.c: Likewise.
7595 * iconv/dummy-repertoire.c: Likewise.
7596 * iconv/iconv_charmap.c: Likewise.
7597 * iconv/skeleton.c: Likewise.
7598 * iconvdata/8bit-generic.c: Likewise.
7599 * iconvdata/cp737.h: Likewise.
7600 * iconvdata/cp775.h: Likewise.
7601 * iconvdata/ibm1008.h: Likewise.
7602 * iconvdata/ibm1025.h: Likewise.
7603 * iconvdata/ibm1046.h: Likewise.
7604 * iconvdata/ibm1097.h: Likewise.
7605 * iconvdata/ibm1112.h: Likewise.
7606 * iconvdata/ibm1122.h: Likewise.
7607 * iconvdata/ibm1123.h: Likewise.
7608 * iconvdata/ibm1124.h: Likewise.
7609 * iconvdata/ibm1129.h: Likewise.
7610 * iconvdata/ibm1130.h: Likewise.
7611 * iconvdata/ibm1132.h: Likewise.
7612 * iconvdata/ibm1133.h: Likewise.
7613 * iconvdata/ibm1137.h: Likewise.
7614 * iconvdata/ibm1140.h: Likewise.
7615 * iconvdata/ibm1141.h: Likewise.
7616 * iconvdata/ibm1142.h: Likewise.
7617 * iconvdata/ibm1143.h: Likewise.
7618 * iconvdata/ibm1144.h: Likewise.
7619 * iconvdata/ibm1145.h: Likewise.
7620 * iconvdata/ibm1146.h: Likewise.
7621 * iconvdata/ibm1147.h: Likewise.
7622 * iconvdata/ibm1148.h: Likewise.
7623 * iconvdata/ibm1149.h: Likewise.
7624 * iconvdata/ibm1153.h: Likewise.
7625 * iconvdata/ibm1154.h: Likewise.
7626 * iconvdata/ibm1155.h: Likewise.
7627 * iconvdata/ibm1156.h: Likewise.
7628 * iconvdata/ibm1157.h: Likewise.
7629 * iconvdata/ibm1158.h: Likewise.
7630 * iconvdata/ibm1160.h: Likewise.
7631 * iconvdata/ibm1161.h: Likewise.
7632 * iconvdata/ibm1162.h: Likewise.
7633 * iconvdata/ibm1163.h: Likewise.
7634 * iconvdata/ibm1164.h: Likewise.
7635 * iconvdata/ibm1166.h: Likewise.
7636 * iconvdata/ibm1167.h: Likewise.
7637 * iconvdata/ibm12712.h: Likewise.
7638 * iconvdata/ibm1390.h: Likewise.
7639 * iconvdata/ibm1399.h: Likewise.
7640 * iconvdata/ibm16804.h: Likewise.
7641 * iconvdata/ibm4517.h: Likewise.
7642 * iconvdata/ibm4899.h: Likewise.
7643 * iconvdata/ibm4909.h: Likewise.
7644 * iconvdata/ibm4971.h: Likewise.
7645 * iconvdata/ibm5347.h: Likewise.
7646 * iconvdata/ibm803.h: Likewise.
7647 * iconvdata/ibm856.h: Likewise.
7648 * iconvdata/ibm901.h: Likewise.
7649 * iconvdata/ibm902.h: Likewise.
7650 * iconvdata/ibm9030.h: Likewise.
7651 * iconvdata/ibm9066.h: Likewise.
7652 * iconvdata/ibm921.h: Likewise.
7653 * iconvdata/ibm922.h: Likewise.
7654 * iconvdata/ibm9448.h: Likewise.
7655 * iconvdata/isiri-3342.h: Likewise.
7656 * iconvdata/jis0201.h: Likewise.
7657 * include/link.h: Likewise.
7658 * include/netdb.h: Likewise.
7659 * inet/check_native.c: Likewise.
7660 * inet/check_pf.c: Likewise.
7661 * inet/getipv4sourcefilter.c: Likewise.
7662 * inet/getnameinfo.c: Likewise.
7663 * inet/getsourcefilter.c: Likewise.
7664 * inet/htonl.c: Likewise.
7665 * inet/setipv4sourcefilter.c: Likewise.
7666 * inet/setsourcefilter.c: Likewise.
7667 * inet/test-inet6_opt.c: Likewise.
7668 * inet/tst-network.c: Likewise.
7669 * locale/C-collate.c: Likewise.
7670 * locale/C-ctype.c: Likewise.
7671 * locale/C-time.c: Likewise.
7672 * locale/C-translit.h: Likewise.
7673 * locale/loadarchive.c: Likewise.
7674 * locale/programs/3level.h: Likewise.
7675 * locale/programs/charmap.c: Likewise.
7676 * locale/programs/charmap.h: Likewise.
7677 * locale/programs/ld-address.c: Likewise.
7678 * locale/programs/ld-collate.c: Likewise.
7679 * locale/programs/ld-ctype.c: Likewise.
7680 * locale/programs/ld-identification.c: Likewise.
7681 * locale/programs/ld-measurement.c: Likewise.
7682 * locale/programs/ld-messages.c: Likewise.
7683 * locale/programs/ld-monetary.c: Likewise.
7684 * locale/programs/ld-name.c: Likewise.
7685 * locale/programs/ld-numeric.c: Likewise.
7686 * locale/programs/ld-paper.c: Likewise.
7687 * locale/programs/ld-telephone.c: Likewise.
7688 * locale/programs/ld-time.c: Likewise.
7689 * locale/programs/linereader.c: Likewise.
7690 * locale/programs/locale.c: Likewise.
7691 * locale/programs/locarchive.c: Likewise.
7692 * locale/programs/locfile.h: Likewise.
7693 * locale/programs/repertoire.c: Likewise.
7694 * locale/programs/simple-hash.c: Likewise.
7695 * locale/programs/simple-hash.h: Likewise.
7696 * malloc/memusage.c: Likewise.
7697 * malloc/memusagestat.c: Likewise.
7698 * nis/nis_defaults.c: Likewise.
7699 * nis/nis_hash.c: Likewise.
7700 * nis/nis_print.c: Likewise.
7701 * nis/nis_xdr.c: Likewise.
7702 * nscd/connections.c: Likewise.
7703 * nscd/hstcache.c: Likewise.
7704 * nscd/nscd_gethst_r.c: Likewise.
7705 * nscd/nscd_getserv_r.c: Likewise.
7706 * nscd/nscd_helper.c: Likewise.
7707 * nscd/servicescache.c: Likewise.
7708 * nss/makedb.c: Likewise.
7709 * nss/nss_db/db-XXX.c: Likewise.
7710 * nss/nss_db/db-initgroups.c: Likewise.
7711 * nss/nss_db/db-netgrp.c: Likewise.
7712 * nss/nss_files/files-network.c: Likewise.
7713 * nss/nss_files/files-parse.c: Likewise.
7714 * posix/bug-regex5.c: Likewise.
7715 * posix/fnmatch_loop.c: Likewise.
7716 * posix/regcomp.c: Likewise.
7717 * posix/regexec.c: Likewise.
7718 * posix/tst-rfc3484-2.c: Likewise.
7719 * posix/tst-rfc3484-3.c: Likewise.
7720 * posix/tst-rfc3484.c: Likewise.
7721 * resolv/nss_dns/dns-canon.c: Likewise.
7722 * resolv/nss_dns/dns-network.c: Likewise.
7723 * resolv/res_init.c: Likewise.
7724 * resolv/res_mkquery.c: Likewise.
7725 * resolv/tst-aton.c: Likewise.
7726 * stdlib/cxa_atexit.c: Likewise.
7727 * stdlib/cxa_finalize.c: Likewise.
7728 * stdlib/gen-fpioconst.c: Likewise.
7729 * stdlib/strtol_l.c: Likewise.
7730 * string/tst-endian.c: Likewise.
7731 * sunrpc/auth_des.c: Likewise.
7732 * sunrpc/clnt_udp.c: Likewise.
7733 * sunrpc/rtime.c: Likewise.
7734 * sunrpc/svcauth_des.c: Likewise.
7735 * sunrpc/xdr.c: Likewise.
7736 * sunrpc/xdr_intXX_t.c: Likewise.
7737 * sunrpc/xdr_rec.c: Likewise.
7738 * sysdeps/generic/ldconfig.h: Likewise.
7739 * sysdeps/generic/ldsodefs.h: Likewise.
7740 * sysdeps/generic/memusage.h: Likewise.
7741 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7751 * sysdeps/posix/getaddrinfo.c: Likewise.
7752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7754 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7755 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7756 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7757 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7758 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7759 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7760 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7761 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7762 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7763 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7764 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7765 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7766 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7767 * sysdeps/x86_64/dl-tls.h: Likewise.
7768 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7769 * time/alt_digit.c: Likewise.
7770 * time/era.c: Likewise.
7771 * wcsmbs/tst-c16c32-1.c: Likewise.
7773 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7775 * math/libm-test.inc (struct test_sincos_data): New type.
7776 (RUN_TEST_LOOP_sincos): New macro.
7777 (sincos_test_data): New variable.
7778 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7780 2013-05-16 Richard Henderson <rth@redhat.com>
7782 * math/atest-exp2.c (LIMB64): New macro.
7783 (CONSTSZ): New macro.
7784 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7786 (print_mpn_fp): ... to function scope.
7787 (read_mpn_hex): Remove.
7789 (exp2_mpn): Use mp_log2.
7790 (main): Use mp_exp1.
7792 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7794 * math/libm-test.inc: Remove comment about not testing "inexact"
7796 (INEXACT_EXCEPTION): New macro.
7797 (NO_INEXACT_EXCEPTION): Likewise.
7798 (INVALID_EXCEPTION_OK): Update value.
7799 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7800 (OVERFLOW_EXCEPTION_OK): Likewise.
7801 (UNDERFLOW_EXCEPTION_OK): Likewise.
7802 (IGNORE_ZERO_INF_SIGN): Likewise.
7803 (ERRNO_UNCHANGED): Likewise.
7804 (ERRNO_EDOM): Likewise.
7805 (ERRNO_ERANGE): Likewise.
7806 (test_exceptions): Handle testing "inexact" exceptions.
7807 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7808 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7809 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7810 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7812 (rint_towardzero_test_data): Likewise.
7813 (rint_downward_test_data): Likewise.
7814 (rint_upward_test_data): Likewise.
7816 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7817 with OVERFLOW_EXCEPTION.
7818 (exp10_test_data): Likewise.
7819 (exp2_test_data): Likewise.
7820 (expm1_test_data): Likewise.
7821 (lgamma_test_data): Likewise.
7822 (pow_test_data): Likewise.
7823 (tgamma_test_data): Likewise.
7824 (yn_test_data): Remove duplicate test of overflow.
7826 * math/libm-test.inc (struct test_cc_c_data): New type.
7827 (RUN_TEST_LOOP_cc_c): New macro.
7828 (cpow_test_data): New variable.
7829 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7831 * math/libm-test.inc (struct test_f_L_data): New type.
7832 (RUN_TEST_LOOP_f_L): New macro.
7833 (llrint_test_data): New variable.
7834 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7835 (llrint_tonearest_test_data): New variable.
7836 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7837 (llrint_towardzero_test_data): New variable.
7838 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7839 (llrint_downward_test_data): New variable.
7840 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7841 (llrint_upward_test_data): New variable.
7842 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7843 (llround_test_data): New variable.
7844 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7846 2013-05-13 Peter Collingbourne <pcc@google.com>
7848 * math/atest-exp2.c (get_log2): Remove const attribute.
7850 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7852 * math/libm-test.inc (struct test_f_l_data): New type.
7853 (RUN_TEST_LOOP_f_l): New macro.
7854 (lrint_test_data): New variable.
7855 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7856 (lrint_tonearest_test_data): New variable.
7857 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7858 (lrint_towardzero_test_data): New variable.
7859 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7860 (lrint_downward_test_data): New variable.
7861 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7862 (lrint_upward_test_data): New variable.
7863 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7864 (lround_test_data): New variable.
7865 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7867 2013-05-15 Peter Collingbourne <pcc@google.com>
7869 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7870 (EXTRACT_WORDS64) Use where appropriate.
7871 (INSERT_WORDS64) Likewise.
7873 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7874 constraints with x constraints.
7875 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7877 * malloc/obstack.c (_obstack_compat): Add initializer.
7879 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7882 si_trapno and add si_addr_lsb to _sifields.sigfault.
7883 (si_trapno): Remove macro.
7884 (si_addr_lsb): Define new macro.
7885 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7887 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7889 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7890 instead of TEST_f_l.
7891 (llrint_test_tonearest): Likewise.
7892 (llrint_test_towardzero): Likewise.
7893 (llrint_test_downward): Likewise.
7894 (llrint_test_upward): Likewise.
7895 (llround_test): Likewise.
7897 * math/libm-test.inc (struct test_f_i_data): Add comment.
7898 (RUN_TEST_LOOP_f_b): New macro.
7899 (RUN_TEST_LOOP_f_b_tg): Likewise.
7900 (finite_test_data): New variable.
7901 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7902 (isfinite_test_data): New variable.
7903 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7904 (isinf_test_data): New variable.
7905 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7906 (isnan_test_data): New variable.
7907 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7908 (isnormal_test_data): New variable.
7909 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7910 (issignaling_test_data): New variable.
7911 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7912 (signbit_test_data): New variable.
7913 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7915 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7916 with INVALID_EXCEPTION.
7917 (acosh_test_data): Likewise.
7918 (asin_test_data): Likewise.
7919 (atanh_test_data): Likewise.
7920 (fmod_test_data): Likewise.
7921 (log_test_data): Likewise.
7922 (log10_test_data): Likewise.
7923 (log2_test_data): Likewise.
7924 (pow_test_data): Likewise.
7925 (sqrt_test_data): Likewise.
7926 (y0_test_data): Likewise.
7927 (y1_test_data): Likewise.
7928 (yn_test_data): Likewise.
7930 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7933 * math/libm-test.inc (struct test_ff_i_data): New type.
7934 (RUN_TEST_LOOP_ff_i_tg): New macro.
7935 (isgreater_test_data): New variable.
7936 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7937 (isgreaterequal_test_data): New variable.
7938 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7939 (isless_test_data): New variable.
7940 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7941 (islessequal_test_data): New variable.
7942 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7943 (islessgreater_test_data): New variable.
7944 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7945 (isunordered_test_data): New variable.
7946 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7948 2013-05-14 David S. Miller <davem@davemloft.net>
7950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7952 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7954 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7956 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7958 (struct test_f_i_data): Change type of max_ulp to int.
7960 * math/libm-test.inc (test_ffI_f1_data): New type.
7961 (RUN_TEST_LOOP_ffI_f1): New macro.
7962 (remquo_test_data): New variable.
7963 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7965 * setjmp/tst-setjmp-fp.c: New file.
7966 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7967 (link-libm): New variable.
7968 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7970 * math/libm-test.inc (struct test_f_i_data): New type.
7971 (RUN_TEST_LOOP_f_i): New macro.
7972 (RUN_TEST_LOOP_f_i_tg): Likewise.
7973 (fpclassify_test_data): New variable.
7974 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7975 (ilogb_test_data): New variable.
7976 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7978 * math/libm-test.inc (scalbln_test): Correct function name in END
7981 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7982 (RUN_TEST_LOOP_fI_f1): New macro.
7983 (frexp_test_data): New variable.
7984 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7986 * math/libm-test.inc (struct test_fF_f1_data): New type.
7987 (RUN_TEST_LOOP_fF_f1): New macro.
7988 (modf_test_data): New variable.
7989 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7991 * math/libm-test.inc (struct test_f_f1_data): New type.
7992 (RUN_TEST_LOOP_f_f1): New macro.
7993 (gamma_test_data): New variable.
7994 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7995 (lgamma_test_data): New variable.
7996 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7998 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8000 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8001 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8002 (main): Comment "tls" pseudo-hwcap.
8004 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8006 * math/libm-test.inc (struct test_fl_f_data): New type.
8007 (RUN_TEST_LOOP_fl_f): New variable.
8008 (scalbln_test_data): New variable.
8009 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8011 * math/libm-test.inc (struct test_fi_f_data): New type.
8012 (RUN_TEST_LOOP_fi_f): New macro.
8013 (ldexp_test_data): New variable.
8014 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8015 (scalbn_test_data): New variable.
8016 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8018 * math/libm-test.inc (struct test_c_f_data): New type.
8019 (RUN_TEST_LOOP_c_f): New macro.
8020 (cabs_test_data): New variable.
8021 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8022 (carg_test_data): New variable.
8023 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8024 (cimag_test_data): New variable.
8025 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8026 (creal_test_data): New variable.
8027 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8029 * math/libm-test.inc (struct test_if_f_data): New type.
8030 (RUN_TEST_LOOP_if_f): New macro.
8031 (jn_test_data): New variable.
8032 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8033 (yn_test_data): New variable.
8034 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8036 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8038 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8040 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8041 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8043 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8045 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8046 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8047 (bench-deps): Add bench-timing.h.
8048 * benchtests-bench-skeleton.c: Include bench-timing.h.
8049 (main): Use TIMING_* macros instead of clock_gettime.
8050 * benchtests/bench-timing.h: New file.
8053 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8054 Renamed from _LIB_VERSION.
8055 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8057 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8059 * math/libm-test.inc (struct test_fff_f_data): New type.
8060 (RUN_TEST_LOOP_fff_f): New macro.
8061 (fma_test_data): New variable.
8062 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8063 (fma_towardzero_test_data): New variable.
8064 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8065 (fma_downward_test_data): New variable.
8066 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8067 (fma_upward_test_data): New variable.
8068 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8070 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8071 (struct test_c_c_data): New type.
8072 (RUN_TEST_LOOP_c_c): New macro.
8073 (cacos_test_data): New variable.
8074 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8075 (cacosh_test_data): New variable.
8076 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8077 (casin_test_data): New variable.
8078 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8079 (casinh_test_data): New variable.
8080 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8081 (catan_test_data): New variable.
8082 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8083 (catanh_test_data): New variable.
8084 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8085 (ccos_test_data): New variable.
8086 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8087 (ccosh_test_data): New variable.
8088 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8089 (cexp_test_data): New variable.
8090 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8091 (clog_test_data): New variable.
8092 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8093 (clog10_test_data): New variable.
8094 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8095 (conj_test_data): New variable.
8096 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8097 (cproj_test_data): New variable.
8098 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8099 (csin_test_data): New variable.
8100 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8101 (csinh_test_data): New variable.
8102 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8103 (csqrt_test_data): New variable.
8104 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8105 (ctan_test_data): New variable.
8106 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8107 (ctan_tonearest_test_data): New variable.
8108 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8109 (ctan_towardzero_test_data): New variable.
8110 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8111 (ctan_downward_test_data): New variable.
8112 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8113 (ctan_upward_test_data): New variable.
8114 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8115 (ctanh_test_data): New variable.
8116 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8117 (ctanh_tonearest_test_data): New variable.
8118 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8119 (ctanh_towardzero_test_data): New variable.
8120 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8121 (ctanh_downward_test_data): New variable.
8122 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8123 (ctanh_upward_test_data): New variable.
8124 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8125 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8128 * math/libm-test.inc (struct test_ff_f_data): New type.
8129 (struct test_ff_f_data_nexttoward): Likewise.
8130 (RUN_TEST_LOOP_2_f): New macro.
8131 (RUN_TEST_LOOP_ff_f): Likewise.
8132 (atan2_test_data): New variable.
8133 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8134 (copysign_test_data): New variable.
8135 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8136 (fdim_test_data): New variable.
8137 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8138 (fmax_test_data): New variable.
8139 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8140 (fmin_test_data): New variable.
8141 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8142 (fmod_test_data): New variable.
8143 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8144 (hypot_test_data): New variable.
8145 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8146 (nextafter_test_data): New variable.
8147 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8148 (nexttoward_test_data): New variable.
8149 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8150 (pow_test_data): New variable.
8151 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8152 (pow_tonearest_test_data): New variable.
8153 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8154 (pow_towardzero_test_data): New variable.
8155 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8156 (pow_downward_test_data): New variable.
8157 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8158 (pow_upward_test_data): New variable.
8159 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8160 (remainder_test_data): New variable.
8161 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8162 (scalb_test_data): New variable.
8163 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8164 * sysdeps/i386/fpu/libm-test-ulps: Update.
8166 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8168 * math/libm-test.inc (fma_test): Use max_value instead of local
8170 (nextafter_test): Likewise.
8172 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8173 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8174 (acos_downward_test_data): New variable.
8175 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8176 (acos_upward_test_data): New variable.
8177 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8178 (acosh_test_data): New variable.
8179 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8180 (asin_test_data): New variable.
8181 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8182 (asin_tonearest_test_data): New variable.
8183 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8184 (asin_towardzero_test_data): New variable.
8185 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8186 (asin_downward_test_data): New variable.
8187 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8188 (asin_upward_test_data): New variable.
8189 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8190 (asinh_test_data): New variable.
8191 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8192 (atan_test_data): New variable.
8193 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8194 (atanh_test_data): New variable.
8195 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8196 (cbrt_test_data): New variable.
8197 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8198 (ceil_test_data): New variable.
8199 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8200 (cos_test_data): New variable.
8201 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8202 (cos_tonearest_test_data): New variable.
8203 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8204 (cos_towardzero_test_data): New variable.
8205 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8206 (cos_downward_test_data): New variable.
8207 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8208 (cos_upward_test_data): New variable.
8209 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8210 (cosh_test_data): New variable.
8211 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8212 (cosh_tonearest_test_data): New variable.
8213 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8214 (cosh_towardzero_test_data): New variable.
8215 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8216 (cosh_downward_test_data): New variable.
8217 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8218 (cosh_upward_test_data): New variable.
8219 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8220 (erf_test_data): New variable.
8221 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8222 (erfc_test_data): New variable.
8223 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8224 (exp_test_data): New variable.
8225 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8226 (exp_tonearest_test_data): New variable.
8227 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8228 (exp_towardzero_test_data): New variable.
8229 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8230 (exp_downward_test_data): New variable.
8231 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8232 (exp_upward_test_data): New variable.
8233 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8234 (exp10_test_data): New variable.
8235 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8236 (exp2_test_data): New variable.
8237 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8238 (expm1_test_data): New variable.
8239 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8240 (fabs_test_data): New variable.
8241 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8242 (floor_test_data): New variable.
8243 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8244 (j0_test_data): New variable.
8245 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8246 (j1_test_data): New variable.
8247 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8248 (log_test_data): New variable.
8249 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8250 (log10_test_data): New variable.
8251 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8252 (log1p_test_data): New variable.
8253 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8254 (log2_test_data): New variable.
8255 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8256 (logb_test_data): New variable.
8257 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8258 (logb_downward_test_data): New variable.
8259 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8260 (nearbyint_test_data): New variable.
8261 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8262 (rint_test_data): New variable.
8263 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8264 (rint_tonearest_test_data): New variable.
8265 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8266 (rint_towardzero_test_data): New variable.
8267 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8268 (rint_downward_test_data): New variable.
8269 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8270 (rint_upward_test_data): New variable.
8271 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8272 (round_test_data): New variable.
8273 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8274 (sin_test_data): New variable.
8275 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8276 (sin_tonearest_test_data): New variable.
8277 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8278 (sin_towardzero_test_data): New variable.
8279 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8280 (sin_downward_test_data): New variable.
8281 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8282 (sin_upward_test_data): New variable.
8283 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8284 (sinh_test_data): New variable.
8285 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8286 (sinh_tonearest_test_data): New variable.
8287 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8288 (sinh_towardzero_test_data): New variable.
8289 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8290 (sinh_downward_test_data): New variable.
8291 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8292 (sinh_upward_test_data): New variable.
8293 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8294 (sqrt_test_data): New variable.
8295 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8296 (tan_test_data): New variable.
8297 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8298 (tan_tonearest_test_data): New variable.
8299 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8300 (tan_towardzero_test_data): New variable.
8301 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8302 (tan_downward_test_data): New variable.
8303 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8304 (tan_upward_test_data): New variable.
8305 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8306 (tanh_test_data): New variable.
8307 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8308 (tgamma_test_data): New variable.
8309 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8310 (trunc_test_data): New variable.
8311 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8312 (y0_test_data): New variable.
8313 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8314 (y1_test_data): New variable.
8315 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8316 (significand_test_data): New variable.
8317 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8319 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8322 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8324 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8326 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8328 2013-05-10 Andreas Jaeger <aj@suse.de>
8331 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8332 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8334 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8336 * math/gen-libm-test.pl (adjust_arg): New function.
8337 (special_functions): Handle generating output in both functions
8339 (parse_args): Likewise.
8340 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8341 $in_func argument to parse_args.
8342 * math/libm-test.inc (struct test_f_f_data): New type.
8343 (IF_ROUND_INIT_): New macro.
8344 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8345 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8346 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8347 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8348 (ROUND_RESTORE_): Likewise.
8349 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8350 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8351 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8352 (ROUND_RESTORE_FE_UPWARD): Likewise.
8353 (RUN_TEST_LOOP_f_f): New macro.
8354 (acos_test_data): New variable.
8355 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8356 (acos_tonearest_test_data): New variable.
8357 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8359 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8361 * benchtests/bench-skeleton.c (startup): Fix coding style.
8363 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8366 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8367 negative infinity argument.
8368 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8369 negative infinity argument.
8370 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8371 negative infinity argument.
8372 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8375 2013-05-10 Florian Weimer <fweimer@redhat.com>
8377 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8378 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8379 * iconv/iconv_prog.c (main): Likewise.
8380 * locale/programs/charmap-dir.c (charmap_readdir)
8381 (fopen_uncompressed): Likewise.
8382 * locale/programs/locfile.c (siblings_uncached)
8383 (write_locale_data): Use lstat64 instead of lstat.
8384 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8387 2013-05-10 Andreas Jaeger <aj@suse.de>
8390 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8394 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8396 * elf/dl-close.c (_dl_close_worker): Add comments.
8398 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8401 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8403 (__ieee754_rem_pio2l): Update comments.
8406 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8408 (__ieee754_rem_pio2l): Update comments.
8410 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8411 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8413 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8416 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8417 (M_PI_34_LOG10El): Likewise.
8418 (M_PI2_LOG10El): Likewise.
8419 (M_PI4_LOG10El): Likewise.
8420 (M_PI_LOG10El): Likewise.
8422 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8426 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8428 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8429 (MINUS_ZERO_INIT): Likewise.
8430 (PLUS_INFTY_INIT): Likewise.
8431 (MINUS_INFTY_INIT): Likewise.
8432 (QNAN_VALUE_INIT): Likewise.
8433 (MAX_VALUE_INIT): Likewise.
8434 (MIN_VALUE_INIT): Likewise.
8435 (MIN_SUBNORM_VALUE_INIT): Likewise.
8436 (plus_zero): Initialize with PLUS_ZERO_INIT.
8437 (minus_zero): Initialize with MINUS_ZERO_INIT.
8438 (plus_infty): Initialize with PLUS_INFTY_INIT.
8439 (minus_infty): Initialize with MINUS_INFTY_INIT.
8440 (qnan_value): Initialize with QNAN_VALUE_INIT.
8441 (max_value): Initialize with MAX_VALUE_INIT.
8442 (min_value): Initialize with MIN_VALUE_INIT.
8443 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8445 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8446 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8447 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8448 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8450 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8451 (RUN_TEST_2_f): Likewise.
8452 (RUN_TEST_ff_f): Likewise.
8453 (RUN_TEST_fi_f): Likewise.
8454 (RUN_TEST_fl_f): Likewise.
8455 (RUN_TEST_fff_f): Likewise.
8456 (RUN_TEST_c_f): Likewise.
8457 (RUN_TEST_f_f1): Likewise.
8458 (RUN_TEST_fF_f1): Likewise.
8459 (RUN_TEST_fI_f1): Likewise.
8460 (RUN_TEST_ffI_f1): Likewise.
8461 (RUN_TEST_c_c): Likewise.
8462 (RUN_TEST_cc_c): Likewise.
8463 (RUN_TEST_f_i): Likewise.
8464 (RUN_TEST_f_i_tg): Likewise.
8465 (RUN_TEST_ff_i_tg): Likewise.
8466 (RUN_TEST_f_b): Likewise.
8467 (RUN_TEST_f_b_tg): Likewise.
8468 (RUN_TEST_f_l): Likewise.
8469 (RUN_TEST_f_L): Likewise.
8470 (RUN_TEST_sincos): Likewise.
8471 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8472 whether to show exceptions. Do not include ");\n" in return
8474 (special_functions): Output call to RUN_TEST_sincos instead of
8475 check_float calls. Update calls to new_test.
8476 (parse_args): Output call to single RUN_TEST_* macro instead of
8477 check_* calls and other assignments. Update calls to new_test.
8483 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8484 input to result for tgamma overflow.
8485 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8486 (gamma_coeff): New variable.
8487 (NCOEFF): New macro.
8488 (gamma_positive): New function.
8489 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8490 underflow here. Use gamma_positive instead of exp (lgamma) for
8492 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8493 (gamma_coeff): New variable.
8494 (NCOEFF): New macro.
8495 (gammaf_positive): New function.
8496 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8497 underflow here. Use gamma_positive instead of exp (lgamma) for
8499 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8500 (gamma_coeff): New variable.
8501 (NCOEFF): New macro.
8502 (gammal_positive): New function.
8503 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8504 underflow here. Use gamma_positive instead of exp (lgamma) for
8506 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8507 (gamma_coeff): New variable.
8508 (NCOEFF): New macro.
8509 (gammal_positive): New function.
8510 (__ieee754_gammal_r): Handle positive infinity, overflow and
8511 underflow here. Handle NaN the same as positive infinity. Remove
8512 check x < 0xffffffff for negative integers. Use gamma_positive
8513 instead of exp (lgamma) for other arguments.
8514 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8515 (gamma_coeff): New variable.
8516 (NCOEFF): New macro.
8517 (gammal_positive): New function.
8518 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8519 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8524 * sysdeps/generic/math_private.h (__gamma_productf): New
8526 (__gamma_product): Likewise.
8527 (__gamma_productl): Likewise.
8528 * math/Makefile (libm-calls): Add gamma_product.
8529 * math/libm-test.inc (tgamma_test): Add more tests.
8530 * sysdeps/i386/fpu/libm-test-ulps: Update.
8531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8533 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8535 * benchtests/bench-skeleton.c (main): Preheat CPU.
8537 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8539 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8541 2013-05-07 Roland McGrath <roland@hack.frob.com>
8543 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8544 and _dl_skip_args_internal.
8546 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8548 * manual/message.texi (Message Translation): Talk about users.
8549 Message to key mapping impacts design.
8551 2013-05-06 Roland McGrath <roland@hack.frob.com>
8553 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8555 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8557 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8558 * sysdeps/wordsize-64/glob64.c: ... here.
8560 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8561 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8564 * debug/getlogin_r_chk.c: Moved to ...
8565 * login/getlogin_r_chk.c: ... here.
8566 * debug/Makefile (routines): Move getlogin_r_chk to ...
8567 * login/Makefile (routines): ... here.
8568 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8569 * login/Versions (libc: GLIBC_2.4): ... here.
8571 * io/poll.c (__poll): Renamed from poll.
8572 Add libc_hidden_def.
8573 (poll): Define as weak alias.
8575 * debug/ptsname_r_chk.c: Moved to ...
8576 * login/ptsname_r_chk.c: ... here.
8577 * debug/Makefile (routines): Move ptsname_r_chk to ...
8578 * login/Makefile (routines): ... here.
8579 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8580 * login/Versions (libc: GLIBC_2.4): ... here.
8582 * posix/getlogin.c: Moved to ...
8583 * login/getlogin.c: ... here.
8584 * posix/getlogin_r.c: Moved to ...
8585 * login/getlogin_r.c: ... here.
8586 * posix/getlogin_r.c: Moved to ...
8587 * login/getlogin_r.c: ... here.
8588 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8589 * login/Makefile (routines): ... here.
8590 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8591 * login/Versions (libc: GLIBC_2.0): ... here.
8593 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8594 (setrlimit): Define as weak alias.
8596 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8597 Call __ names for open, ftruncate, and close.
8598 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8599 (truncate): Define as weak alias.
8601 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8603 * math/gen-libm-test.pl (parse_args): Initialize x before each
8604 test of frexp, modf and remquo.
8606 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8609 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8613 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8615 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8617 2013-05-06 Roland McGrath <roland@hack.frob.com>
8619 * elf/dl-writev.h: New file.
8620 * elf/dl-misc.c: Include it.
8621 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8622 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8624 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8626 * math/libm-test.inc (noXFails): Remove variable.
8627 (noXPasses): Likewise.
8628 (BUILD_COMPLEX_INT): Remove macro.
8629 (print_screen): Remove xfail argument.
8630 (print_screen_max_error): Likewise.
8631 (update_stats): Likewise.
8632 (print_max_error): Likewise. Update calls to other affected
8634 (print_complex_max_error): Likewise.
8635 (test_single_exception): Update calls to print_screen.
8636 (test_single_errno): Likewise.
8637 (check_float_internal): Remove xfail argument. Update calls to
8638 other affected functions.
8639 (check_float): Likewise.
8640 (check_complex): Likewise.
8641 (check_int): Likewise.
8642 (check_long): Likewise.
8643 (check_bool): Likewise.
8644 (check_longlong): Likewise.
8645 (main): Don't print noXFails and noXPasses.
8646 * math/gen-libm-test.pl (top level): Don't mention expected
8647 failure handling in comment.
8648 (new_test): Don't handle expected failures.
8649 (parse_args): Don't mention expected failure handling in comment.
8650 (generate_testfile): Don't handle expected failures.
8651 (parse_ulps): Likewise.
8652 (print_ulps_file): Likewise.
8653 (get_failure): Remove function.
8654 (output_test): Don't handle expected failures.
8655 * make/README.libm-test: Don't mention expected failure handling.
8657 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8658 (minus_zero): Likewise.
8659 (plus_infty): Likewise.
8660 (minus_infty): Likewise.
8661 (qnan_value): Likewise.
8662 (max_value): Likewise.
8663 (min_value): Likewise.
8664 (min_subnorm_value): Likewise.
8665 (initialize): Do not initialize those variables dynamically.
8667 2013-05-03 Roland McGrath <roland@hack.frob.com>
8669 * io/open.c (__open_2): Moved to ...
8670 * io/open_2.c: ... this new file.
8671 * io/open64.c (__open64_2): Moved to ...
8672 * io/open64_2.c: ... this new file.
8673 * io/openat.c (__openat_2): Moved to ...
8674 * io/openat_2.c: ... this new file.
8675 * io/openat64.c (__openat64_2): Moved to ...
8676 * io/openat64_2.c: ... this new file.
8677 * io/Makefile (routines): Add them.
8678 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8679 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8680 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8681 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8682 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8683 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8684 (__openat64): Add hidden_ver.
8685 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8686 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8688 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8689 Separately conditionalize setting of GLRO(dl_sysinfo) so
8690 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8691 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8693 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8695 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8696 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8698 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8699 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8700 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8701 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8702 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8704 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8706 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8709 * math/libm-test.inc (hypot_test): Do not use
8710 IGNORE_ZERO_INF_SIGN.
8712 2013-05-03 Andreas Jaeger <aj@suse.de>
8714 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8716 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8717 (PF_MAX): Adjust for VSOCK change.
8719 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8723 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8726 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8727 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8728 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8730 2013-05-02 David S. Miller <davem@davemloft.net>
8732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8734 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
8736 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8738 2013-05-01 Roland McGrath <roland@hack.frob.com>
8740 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8742 2013-05-01 Richard Smith <richard@metafoo.co.uk>
8745 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8746 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8747 Use __attribute__ ((__gnu_inline__)).
8748 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8749 Don't use __attribute__ ((__gnu_inline__)).
8751 2013-05-01 Joseph Myers <joseph@codesourcery.com>
8754 * math/s_catan.c (__catan): Handle small real or imaginary part of
8755 input specially to avoid spurious underflow.
8756 * math/s_catanf.c (__catanf): Likewise.
8757 * math/s_catanh.c (__catanh): Likewise.
8758 * math/s_catanhf.c (__catanhf): Likewise.
8759 * math/s_catanhl.c (__catanhl): Likewise.
8760 * math/s_catanl.c (__catanl): Likewise.
8761 * math/libm-test.inc (catan_test): Add more tests.
8762 (catanh_test): Likewise.
8763 * sysdeps/i386/fpu/libm-test-ulps: Update.
8764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8770 2013-04-30 Joseph Myers <joseph@codesourcery.com>
8773 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8774 accurately for denominator in atan2.
8775 * math/s_catanf.c (__catanf): Likewise.
8776 * math/s_catanh.c (__catanh): Likewise.
8777 * math/s_catanhf.c (__catanhf): Likewise.
8778 * math/s_catanhl.c (__catanhl): Likewise.
8779 * math/s_catanl.c (__catanl): Likewise.
8780 * math/libm-test.inc (catan_test): Add more tests.
8781 (catanh_test): Likewise.
8782 * sysdeps/i386/fpu/libm-test-ulps: Update.
8783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8785 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8787 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8789 * benchtests/Makefile (bench): Remove slow benchmarks.
8790 * benchtests/atan-inputs: Add slow benchmark inputs.
8791 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8792 (BENCH_FUNC): Accept variant offset.
8794 * benchtests/bench-skeleton.c (main): Run benchmark for each
8796 * benchtests/cos-inputs: Add slow benchmark inputs.
8797 * benchtests/exp-inputs: Likewise.
8798 * benchtests/pow-inputs: Likewise.
8799 * benchtests/sin-inputs: Likewise.
8800 * benchtests/slowatan-inputs: Remove.
8801 * benchtests/slowatan.c: Remove.
8802 * benchtests/slowcos-inputs: Remove.
8803 * benchtests/slowcos.c: Remove.
8804 * benchtests/slowexp-inputs: Remove.
8805 * benchtests/slowexp.c: Remove.
8806 * benchtests/slowpow-inputs: Remove.
8807 * benchtests/slowpow.c: Remove.
8808 * benchtests/slowsin-inputs: Remove.
8809 * benchtests/slowsin.c: Remove.
8810 * benchtests/slowtan-inputs: Remove.
8811 * benchtests/slowtan.c: Remove.
8812 * benchtests/tan-inputs: Add slow benchmark inputs.
8813 * scripts/bench.pl: Parse comments and directives.
8815 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8817 ($(objpfx)bench-%.c): Remove *-ITER.
8818 * benchtests/bench-modf.c: Remove definition of ITER.
8819 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8820 (main): Loop for DURATION seconds instead of fixed number of
8822 * scripts/bench.pl: Don't expect iterations in parameters.
8824 2013-04-29 Roland McGrath <roland@hack.frob.com>
8826 * io/fchdir.c (__fchdir): Renamed from fchdir.
8827 (fchdir): Define as weak alias.
8829 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8831 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8832 (ERRNO_EDOM): Likewise.
8833 (ERRNO_ERANGE): Likewise.
8834 (noErrnoTests): New variable.
8835 (init_max_error): Set errno to 0.
8836 (test_single_errno): New function.
8837 (test_errno): Likewise.
8838 (check_float_internal): Call test_errno. Set errno to 0.
8839 (check_complex): Refer to errno tests in comment.
8840 (check_int): Call test_errno. Set errno to 0.
8841 (check_long): Likewise.
8842 (check_bool): Likewise.
8843 (check_longlong): Likewise.
8844 (cos_test): Use ERRNO_* flags for errno tests instead of
8846 (expm1_test): Likewise.
8847 (fmod_test): Likewise.
8848 (ilogb_test): Likewise.
8849 (lgamma_test): Likewise.
8850 (pow_test): Likewise.
8851 (remainder_test): Likewise.
8852 (sin_test): Likewise.
8853 (tan_test): Likewise.
8854 (yn_test): Likewise.
8855 (initialize): Set errno to 0.
8856 (main): Print number of errno tests.
8857 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8859 2013-04-29 Andreas Jaeger <aj@suse.de>
8862 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8866 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8867 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8871 * stdlib/random.c (__initstate): Return NULL if
8875 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8876 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8879 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8883 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8885 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8886 of individual tests.
8887 (casin_test): Likewise.
8888 (casinh_test): Likewise.
8890 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8893 * math/s_catan.c (__catan): Handle arguments with large real or
8894 imaginary part separately without squaring.
8895 * math/s_catanf.c (__catanf): Likewise.
8896 * math/s_catanh.c (__catanh): Likewise.
8897 * math/s_catanhf.c (__catanhf): Likewise.
8898 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8900 (__catanhl): Handle arguments with large real or imaginary part
8901 separately without squaring.
8902 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8904 (__catanl): Handle arguments with large real or imaginary part
8905 separately without squaring.
8906 * math/libm-test.inc (catan_test): Add more tests.
8907 (catanh_test): Likewise.
8908 * sysdeps/i386/fpu/libm-test-ulps: Update.
8909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8911 2013-04-27 Andreas Jaeger <aj@suse.de>
8914 * stdlib/stdlib.h: Update guards for qecvt.
8915 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8918 2013-04-27 Allan McRae <allan@archlinux.org>
8920 * sysdeps/i386/fpu/libm-test-ulps: Update.
8922 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8925 * math/s_catan.c: Include <float.h>.
8926 (__catan): Ensure underflow exception occurs for underflowed
8928 * math/s_catanf.c: Include <float.h>.
8929 (__catanf): Ensure underflow exception occurs for underflowed
8931 * math/s_catanh.c: Include <float.h>.
8932 (__catanh): Ensure underflow exception occurs for underflowed
8934 * math/s_catanhf.c: Include <float.h>.
8935 (__catanhf): Ensure underflow exception occurs for underflowed
8937 * math/s_catanhl.c: Include <float.h>.
8938 (__catanhl): Ensure underflow exception occurs for underflowed
8940 * math/s_catanl.c: Include <float.h>.
8941 (__catanl): Ensure underflow exception occurs for underflowed
8943 * math/libm-test.inc (catan_test): Add more tests.
8944 (catanh_test): Likewise.
8947 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8949 * math/s_ccoshf.c (__ccoshf): Likewise.
8950 * math/s_ccoshl.c (__ccoshl): Likewise.
8951 * math/s_csin.c (__csin): Likewise.
8952 * math/s_csinf.c (__csinf): Likewise.
8953 * math/s_csinh.c (__csinh): Likewise.
8954 * math/s_csinhf.c (__csinhf): Likewise.
8955 * math/s_csinhl.c (__csinhl): Likewise.
8956 * math/s_csinl.c (__csinl): Likewise.
8957 * math/libm-test.inc (ccos_test): Add more tests.
8958 (ccosh_test): Likewise.
8959 (csin_test): Likewise.
8960 (csinh_test): Likewise.
8962 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8964 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8965 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8966 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8967 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8968 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8969 powerpc/power5+/fpu folders.
8970 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8973 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8977 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8979 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8980 additions to variable.
8981 [$(config-machine) = x86_64] (modules-names): Likewise.
8982 ($(objpfx)tst-audit3): Remove dependency.
8983 ($(objpfx)tst-audit3.out): Likewise.
8984 ($(objpfx)tst-audit4): Likewise.
8985 ($(objpfx)tst-audit4.out): Likewise.
8986 ($(objpfx)tst-audit5): Likewise.
8987 ($(objpfx)tst-audit5.out): Likewise.
8988 ($(objpfx)tst-audit6): Likewise.
8989 ($(objpfx)tst-audit6.out): Likewise.
8990 ($(objpfx)tst-audit7): Likewise.
8991 ($(objpfx)tst-audit7.out): Likewise.
8992 (tst-audit3-ENV): Remove variable.
8993 (tst-audit4-ENV): Likewise.
8994 (tst-audit5-ENV): Likewise.
8995 (tst-audit6-ENV): Likewise.
8996 (tst-audit7-ENV): Likewise.
8997 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8998 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8999 addition to variable.
9000 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9001 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9002 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9003 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9004 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9005 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9006 tst-audit3, tst-audit4 and tst-audit5.
9007 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9008 tst-audit6 and tst-audit7.
9009 [$(subdir) = elf] (modules-names): Add audit modules for those
9011 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9012 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9013 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9014 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9015 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9016 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9017 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9018 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9019 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9020 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9021 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9022 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9023 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9024 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9025 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9026 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9028 [$(subdir) = elf && $(config-cflags-avx) = yes]
9029 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9030 [$(subdir) = elf && $(config-cflags-avx) = yes]
9031 (CFLAGS-tst-auditmod4a.c): Likewise.
9032 [$(subdir) = elf && $(config-cflags-avx) = yes]
9033 (CFLAGS-tst-auditmod4b.c): Likewise.
9034 [$(subdir) = elf && $(config-cflags-avx) = yes]
9035 (CFLAGS-tst-auditmod6b.c): Likewise.
9036 [$(subdir) = elf && $(config-cflags-avx) = yes]
9037 (CFLAGS-tst-auditmod6c.c): Likewise.
9038 [$(subdir) = elf && $(config-cflags-avx) = yes]
9039 (CFLAGS-tst-auditmod7b.c): Likewise.
9040 * elf/tst-audit3.c: Move to ...
9041 * sysdeps/x86_64/tst-audit3.c: ... here.
9042 * elf/tst-audit4.c: Move to ...
9043 * sysdeps/x86_64/tst-audit4.c: ... here.
9044 * elf/tst-audit5.c: Move to ...
9045 * sysdeps/x86_64/tst-audit5.c: ... here.
9046 * elf/tst-audit6.c: Move to ...
9047 * sysdeps/x86_64/tst-audit6.c: ... here.
9048 * elf/tst-audit7.c: Move to ...
9049 * sysdeps/x86_64/tst-audit7.c: ... here.
9050 * elf/tst-auditmod3a.c: Move to ...
9051 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9052 * elf/tst-auditmod3b.c: Move to ...
9053 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9054 * elf/tst-auditmod4a.c: Move to ...
9055 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9056 * elf/tst-auditmod4b.c: Move to ...
9057 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9058 * elf/tst-auditmod5a.c: Move to ...
9059 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9060 * elf/tst-auditmod5b.c: Move to ...
9061 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9062 * elf/tst-auditmod6a.c: Move to ...
9063 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9064 * elf/tst-auditmod6b.c: Move to ...
9065 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9066 * elf/tst-auditmod6c.c: Move to ...
9067 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9068 * elf/tst-auditmod7a.c: Move to ...
9069 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9070 * elf/tst-auditmod7b.c: Move to ...
9071 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9073 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9076 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9077 define unconditionally.
9078 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9079 define unconditionally.
9080 (INT8_C, INT16_C, etc.): Likewise.
9082 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9084 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9085 __ehdr_start with hidden visibility.
9087 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9089 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9091 * math/libm-test.inc (cos_test): Use accurate hex constants.
9092 (sincost_test): Likewise.
9094 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9096 * math/libm-test.inc (catan_test): Add more tests.
9097 (catanh_test): Likewise.
9099 * math/s_catanf.c (__catanf): Use suffixed floating-point
9101 * math/s_catanhf.c (__catanhf): Likewise.
9102 * math/s_catanhl.c (__catanhl): Likewise.
9103 * math/s_catanl.c (__catanl): Likewise.
9106 * math/s_catan.c (__catan): Calculate imaginary part of result
9107 with log1p not log unless computing log of number close to 0.
9108 * math/s_catanf.c (__catanf): Likewise.
9109 * math/s_catanl.c (__catanl): Likewise.
9110 * math/s_catanh.c (__catanh): Calculate real part of result with
9111 log1p not log unless computing log of number close to 0.
9112 * math/s_catanhf.c (__catanhf): Likewise.
9113 * math/s_catanhl.c (__catanhl): Likewise.
9114 * math/libm-test.inc (catan_test): Add more tests.
9115 (catanh_test): Likewise.
9116 * sysdeps/i386/fpu/libm-test-ulps: Update.
9117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9119 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9121 * benchtests/Makefile: Mention files in which fast and slow
9122 paths of math functions are implemented.
9124 2013-04-23 Roland McGrath <roland@hack.frob.com>
9126 * sysdeps/posix/timespec_get.c: New file.
9128 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9132 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9134 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9135 powerpc/power5/fpu folders.
9136 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9137 * benchtests/Makefile: Add modf testcase.
9138 * benchtests/bench-modf.c: New file: Benchmark test for mo
9140 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9143 * time/Makefile (tests): Add tst-strptime-whitespace.
9144 * time/strptime_l.c (get_number): Use ISSPACE.
9145 (__strptime_internal): Likewise.
9146 * time/tst-strptime-whitespace.c: New test case.
9148 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9150 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9152 (_nss_files_init): Set it here.
9154 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9156 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9157 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9160 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9162 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9164 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9169 2013-04-21 David S. Miller <davem@davemloft.net>
9171 * po/ru.po: Update Russion translation from translation project.
9173 2013-04-17 Adam Conrad <adconrad@0c3.net>
9175 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9178 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9180 * configure.in: Remove i386 configure warning. Remove i386 case.
9181 * configure: Regenerate.
9182 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9183 Add example to error message.
9184 * sysdeps/i386/configure: Regenerate.
9186 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9188 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9190 * benchtests/cos-inputs: New file.
9191 * benchtests/slowcos-inputs: New file.
9192 * benchtests/slowcos.c: New file.
9193 * benchtests/slowtan-inputs: New file.
9194 * benchtests/slowtan.c: New file.
9195 * benchtests/tan-inputs: New file.
9197 2013-04-16 Roland McGrath <roland@hack.frob.com>
9199 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9202 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9204 * benchtests/Makefile: Include cppflags-iterator.mk to add
9205 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9207 * Makefile.in (bench-clean): New target.
9208 * benchtests/Makefile (bench-clean): Likewise.
9210 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9212 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9214 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9216 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9218 2013-04-15 Andreas Schwab <schwab@suse.de>
9220 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9221 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9222 * nscd/pwdcache.c (cache_addpw): Likewise.
9223 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9226 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9228 * benchtests/Makefile (bench): Write all output to
9229 bench-out.tmp together.
9231 2013-04-15 Andreas Schwab <schwab@suse.de>
9233 * nscd/nscd.c (main): Don't fork again after closing files.
9235 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9237 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9239 * benchtests/Rules (bench-deps): Collect dependencies into a
9240 single variable. Add Makefile to dependencies.
9241 ($(objpfx)bench-%.c): Depend on bench-deps.
9243 2013-04-12 Roland McGrath <roland@hack.frob.com>
9244 Xavier Roche <roche+kml2@exalead.com>
9247 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9248 just that it's a file descriptor.
9249 * manual/llio.texi (Synchronizing AIO Operations): Update description
9250 for EBADF error from aio_fsync.
9252 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9254 * Rules (bench): Move target definition...
9255 * benchtests/Makefile: ... here.
9257 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9259 * math/libm-test.inc (cos_test): Fix PI/2 test.
9260 (sincos_test): Likewise.
9261 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9262 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9264 2013-04-11 Andreas Schwab <schwab@suse.de>
9267 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9268 accept exponent character only when digits were seen.
9269 * stdio-common/Makefile (tests): Add bug26.
9270 * stdio-common/bug26.c: New file.
9273 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9276 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9278 * Makeconfig (rtld-prefix): Define built linker prefix.
9279 * Rules (run-bench): Use it.
9280 * math/Makefile (run-regen-ulps): Likewise.
9282 * Rules (bench): Remove eval.
9284 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9285 Roland McGrath <roland@hack.frob.com>
9286 Ondrej Bilka <neleai@seznam.cz>
9289 * time/getdate.c: Include ctype.h and alloca.h.
9290 (__getdate_r): Trim leading and trailing spaces of input.
9291 * time/tst-getdate.c (tests): Add tests with leading and
9294 2013-04-08 Roland McGrath <roland@hack.frob.com>
9297 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9298 when computing value.
9300 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9302 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9303 Use testrun.sh to run libm tests.
9306 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9308 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9311 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9313 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9315 * Makefile.in (regen-ulps): New target.
9316 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9317 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9318 [ifneq (no,$(PERL)] (regen-ulps): New target.
9319 [ifeq (no,$(PERL)] (regen-ulps): New target.
9320 * math/libm-test.inc (ulps_file_name): Define.
9321 (output_dir): New variable.
9322 (options): Add "output-dir" option.
9323 (parse_opt): Handle 'o' case.
9324 (main): If output_dir is non-NULL use it as a prefix
9326 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9328 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9331 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9332 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9333 fail configure if __sync_val_compare_and_swap is not inlined.
9334 * sysdeps/i386/configure: Regenerate.
9335 * configure.in: Build for i686 when configured for i386.
9336 * configure: Regenerate.
9337 * README: Remove i386 reference.
9339 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9341 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9344 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9346 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9347 (lmsnanval): New variables.
9348 (F): Add conversion tests.
9349 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9350 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9352 * stdio-common/tstdiomisc.c (F): Properly collect individual
9356 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9357 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9358 Instead, use input NaN values or generate a qNaN by arithmetic
9359 operation. Also fix bugs to comply with the standard.
9360 * math/libm-test.inc (remainder_test): Add more tests.
9363 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9365 input NaN values or generate a qNaN by arithmetic operation.
9367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9370 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9373 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9376 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9378 * math/s_cexpf.c (__cexpf): Likewise.
9379 * math/s_cexpl.c (__cexpl): Likewise.
9380 * math/libm-test.inc (cexp_test): Add more tests.
9382 2013-04-03 Andreas Schwab <schwab@suse.de>
9385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9386 order arrays from heap if bigger than alloca cutoff.
9388 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9390 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9391 (SNAN_TESTS_double): Refer to GCC PR56831.
9392 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9395 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9397 * Rules (bench): Move bench.out after the run is complete.
9399 * Rules (bench): Echo currently running benchmark.
9401 * benchtests/Makefile (bench): Add atan and slowatan.
9402 * benchtests/atan-inputs: New file.
9403 * benchtests/slowatan-inputs: New file.
9404 * benchtests/slowatan.c: New file.
9406 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9407 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9411 * sysdeps/unix/sysv/linux/kernel-features.h
9412 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9413 __ASSUME_XFS_RESTRICTED_CHOWN.
9414 * sysdeps/unix/sysv/linux/pathconf.c
9415 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9416 Save and restore errno.
9418 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9421 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9422 arguments using __kernel_casinh.
9423 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9424 arguments using __kernel_casinhf.
9425 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9426 arguments using __kernel_casinhl.
9427 * math/libm-test.inc (cacosh_test): Add more tests.
9428 * sysdeps/i386/fpu/libm-test-ulps: Update.
9429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9431 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9433 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9436 * bench/Makefile (bench): Add sin and slowsin.
9437 * benchtests/sin-inputs: New file.
9438 * benchtests/slowsin-inputs: New file.
9439 * benchtests/slowsin.c: New file.
9441 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9442 (bench): Add slowexp and slowpow.
9443 (exp-ITER): Increase iterations.
9444 (pow-ITER): Likewise.
9445 * benchtests/exp-inputs: Change input.
9446 * benchtests/pow-inputs: Likewise.
9447 * benchtests/slowexp-inputs: New file.
9448 * benchtests/slowexp.c: New file.
9449 * benchtests/slowpow-inputs: New file.
9450 * benchtests/slowpow.c: New file.
9452 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9454 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9456 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9457 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9458 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9459 * benchtests/Makefile: Add rint benchtest.
9460 * benchtests/rint-inputs: Input for rint benchtest.
9462 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9464 * Versions.def (libm): Add GLIBC_2.18.
9465 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9466 hidden libm prototypes.
9467 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9468 * math/Makefile (libm-calls): Add s_issignaling.
9469 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9470 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9471 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9473 * math/math.h [__USE_GNU] (issignaling): New macro.
9474 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9475 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9477 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9480 * manual/arith.texi (issignaling): New section.
9481 * manual/libm-err-tab.pl (@all_functions): Update comment.
9482 * math/gen-libm-test.pl (parse_args): Apply special handling for
9484 * math/libm-test.inc (print_float, issignaling_test): New
9486 (check_float_internal): Add issignaling checks.
9487 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9489 * sysdeps/powerpc/math-tests.h: New file.
9490 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9492 * math/test-snan.c (TEST_FUNC): Likewise.
9494 2013-03-30 David S. Miller <davem@davemloft.net>
9496 * po/de.po: Update from translation team.
9498 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9501 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9502 imaginary part less than 1.0 and real part less than 0.5
9504 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9505 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9506 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9507 (cacos_test): Add more tests.
9508 (casin_test): Likewise.
9509 (casinh_test): Likewise.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9515 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9518 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9519 (__pow_mp): Replace ONE and MONE with their values.
9520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9521 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9522 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9523 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9524 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9525 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9527 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9529 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9530 (__pow_mp): Replace ZERO and MZERO with their values.
9531 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9532 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9533 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9535 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9536 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9539 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9541 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9543 2013-03-28 Roland McGrath <roland@hack.frob.com>
9545 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9546 Declare with __attribute__ ((weak)).
9547 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9548 Call __call_tls_dtors only if it's not NULL.
9550 2013-03-28 Roland McGrath <roland@hack.frob.com>
9552 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9553 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9554 magic __ehdr_start linker symbol if it's defined.
9555 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9556 them up here if it was already done.
9558 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9559 (_dl_aux_init): Use const in cast when setting it.
9560 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9561 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9562 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9564 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9566 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9567 * csu/libc-tls.c: Nor here.
9568 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9570 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9571 (__libc_message): Never call vsyslog.
9573 2013-03-28 Alan Modra <amodra@gmail.com>
9575 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9577 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9580 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9583 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9587 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9590 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9591 Don't add gid passed as argument.
9593 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9595 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9598 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9599 imaginary part between 1.0 and 1.5 and real part less than 0.5
9601 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9602 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9603 * math/libm-test.inc (cacos_test): Add more tests.
9604 (casin_test): Likewise.
9605 (casinh_test): Likewise.
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9609 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9611 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9615 (__dbl_mp): Likewise.
9616 (add_magnitudes): Likewise.
9617 (sub_magnitudes): Likewise.
9625 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9627 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9628 (__dubcos): Likewise.
9629 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9630 (__ieee754_acos): Likewise.
9631 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9632 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9634 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9637 (my_log2): Likewise.
9638 (checkint): Likewise.
9639 * sysdeps/ieee754/dbl-64/e_remainder.c
9640 (__ieee754_remainder): Likewise.
9641 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9642 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9644 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9646 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9647 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9648 MANTISSA_STORE_T to store computations on mantissa. Use
9649 macros for rounding and division.
9651 (__dbl_mp): Likewise.
9652 (add_magnitudes): Likewise.
9653 (sub_magnitudes): Likewise.
9656 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9657 powers of two in terms of TWOPOW macro.
9658 (mp_no): Make type of mantissa as MANTISSA_T.
9659 [!RADIXI]: Define RADIXI.
9660 [!TWO52]: Define TWO52.
9661 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9663 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9665 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9666 llroundl symbol when building for PPC32.
9668 2013-03-24 Mark H Weaver <mhw@netris.org>
9670 * manual/arith.texi (Normalization Functions): Fix prototypes for
9671 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9673 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9677 high value to check if expl overflow.
9678 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9679 to check for underflow and overflow.
9680 * math/libm-test.inc: Add exp test.
9682 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9685 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9688 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9690 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9693 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9695 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9696 wrap blocks consisting of several statements.
9698 * sysdeps/generic/math-tests.h: New file.
9699 * sysdeps/i386/fpu/math-tests.h: Likewise.
9700 * math/test-snan.c: Include it.
9701 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9703 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9706 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9707 (__ieee754_j0l): Do not improve calculations using cos of twice
9708 input for inputs above LDBL_MAX / 2.0L.
9709 (__ieee754_y0l): Likewise.
9710 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9711 (__ieee754_j1l): Do not improve calculations using cos of twice
9712 input for inputs above LDBL_MAX / 2.0L.
9713 (__ieee754_y1l): Likewise.
9714 * math/libm-test.inc (j0_test): Add another test.
9715 (j1_test): Likewise.
9716 (y0_test): Likewise.
9717 (y1_test): Likewise.
9718 * sysdeps/i386/fpu/libm-test-ulps: Update.
9720 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9722 * Rules ($(objpfx)bench-%.c): Include code from a C source
9725 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9728 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9729 imaginary part 1.0 and real part less than 0.5 specially.
9730 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9731 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9732 * math/libm-test.inc (cacos_test): Add more tests.
9733 (casin_test): Likewise.
9734 (casinh_test): Likewise.
9735 * sysdeps/i386/fpu/libm-test-ulps: Update.
9736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9738 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9740 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9741 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9743 2013-03-20 Joseph Myers <joseph@codesourcery.com>
9745 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9746 * config.make.in (config-cflags-sse4): Remove variable.
9747 (config-cflags-avx): Likewise.
9748 (config-cflags-sse2avx): Likewise.
9749 (config-cflags-novzeroupper): Likewise.
9750 (config-asflags-i686): Likewise.
9751 (have-mfma4): Likewise.
9752 (have-as-vis3): Likewise.
9754 * configure.in (MIG): Do not AC_SUBST.
9755 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9756 (libc_cv_cc_sse4): Do not AC_SUBST.
9757 (libc_cv_cc_avx): Likewise.
9758 (libc_cv_cc_sse2avx): Likewise.
9759 (libc_cv_cc_novzeroupper): Likewise.
9760 (libc_cv_cc_fma4): Likewise.
9761 (libc_cv_as_i686): Likewise.
9762 (libc_cv_sparc_as_vis3): Likewise.
9763 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9765 (config-asflags-i686): Likewise.
9766 (config-cflags-avx): Likewise.
9767 (config-cflags-sse2avx): Likewise.
9768 (have-mfma4): Likewise.
9769 (config-cflags-novzeroupper): Likewise.
9770 * sysdeps/mach/configure.in (MIG): Likewise.
9771 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9772 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9774 (config-cflags-avx): Likewise.
9775 (config-cflags-sse2avx): Likewise.
9776 (have-mfma4): Likewise.
9777 (config-cflags-novzeroupper): Likewise.
9778 * configure: Regenerated.
9779 * sysdeps/i386/configure: Likewise.
9780 * sysdeps/mach/configure: Likewise.
9781 * sysdeps/sparc/configure: Likewise.
9782 * sysdeps/x86_64/configure: Likewise.
9784 2013-03-20 Roland McGrath <roland@hack.frob.com>
9787 * locale/programs/localedef.c (options): Put N_ translation marker
9788 on argument names, not just descriptions.
9790 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9792 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9794 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
9797 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9799 2013-03-19 Roland McGrath <roland@hack.frob.com>
9801 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9802 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9803 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9804 [!BEFORE_ABORT] (before_abort): New function.
9805 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9806 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9807 (writev_for_fatal): New function.
9808 (WRITEV_FOR_FATAL): New macro; call that.
9809 (backtrace_and_maps): New function.
9810 (BEFORE_ABORT): New macro; call that.
9811 (struct str_list): Type removed.
9812 (__libc_message, __libc_fatal): Functions removed.
9813 Include <sysdeps/posix/libc_fatal.c> instead.
9815 2013-03-19 Joseph Myers <joseph@codesourcery.com>
9817 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9819 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9822 2013-03-19 Andreas Schwab <schwab@suse.de>
9824 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9825 * sysdeps/gnu/configure: Regenerate.
9827 * configure.in: Substitute libc_cv_rtlddir.
9828 * configure: Regenerate.
9829 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9830 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9831 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9832 * elf/Makefile (install-others, CFLAGS-interp.c)
9833 (ldso_install, common-ldd-rewrite): Likewise.
9834 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9835 $(inst_slibdir)/$(rtld-installed-name).
9836 * scripts/rellns-sh: Add -p option.
9837 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9840 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9842 * manual/nptl.texi: Renamed to ...
9843 * manual/threads.texi: ... this.
9844 * manual/Makefile (chapters): Update.
9846 2013-03-18 Roland McGrath <roland@hack.frob.com>
9849 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9850 on argument names, not just descriptions.
9851 * malloc/memusagestat.c (options): Likewise.
9852 * nss/getent.c (options): Likewise.
9854 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9857 * iconv/iconv_prog.c (options): Put N_ translation marker
9858 on argument names, not just descriptions.
9859 * iconv/iconvconfig.c (options): Likewise.
9861 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9863 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9864 implementation which is faster on all x86_64 architectures.
9865 Tested on AMD, Intel Nehalem, SNB, IVB.
9866 * sysdeps/x86_64/strnlen.S: Likewise.
9868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9869 Remove all multiarch strlen and strnlen versions.
9870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9871 Remove strlen and strnlen related parts.
9873 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9875 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9877 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9878 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9879 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9880 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9881 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9882 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9884 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9886 * manual/memory.texi (Malloc Tunable Parameters):
9887 Sort parameters alphabetically. Add comments for missing entries.
9889 2013-03-17 David S. Miller <davem@davemloft.net>
9891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9893 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9896 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9897 for arguments at most half maximum finite value.
9898 * math/libm-test.inc (j0_test): Add more tests.
9899 (j1_test): Likewise.
9900 (y0_test): Likewise.
9901 (y1_test): Likewise.
9902 * sysdeps/i386/fpu/libm-test-ulps: Update.
9903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9906 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9907 1 / x and functions P and Q for arguments above 0x1p256L.
9908 (__ieee754_y0l): Likewise.
9909 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9910 (__ieee754_y1l): Likewise.
9911 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9912 (j1_test): Likewise.
9913 (y0_test): Likewise.
9914 (y1_test): Likewise.
9916 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9918 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9921 2013-03-15 Roland McGrath <roland@hack.frob.com>
9923 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9924 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9925 zero since it's initialized to EXEC_PAGESIZE.
9927 * sysdeps/unix/sysv/linux/ldsodefs.h
9928 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9929 * sysdeps/generic/ldsodefs.h: ... here.
9931 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9933 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9935 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9937 * math/test-snan.c: Renamed from
9938 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9939 * math/Makefile (tests): Add test-snan.
9940 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9943 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9944 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9946 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9947 __builtin_nan family of functions.
9948 * math/libm-test.inc (initialize): Initialize qnan_value with
9949 __builtin_nan family of functions.
9950 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9952 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9954 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9955 storage class. Initialize qNaN_var and sNaN_var with
9956 __builtin_nan and __builtin_nans families of functions,
9959 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9960 (sqrt_test): Remove duplicate test with qNaN input.
9961 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9962 (round_test, signbit_test, significand_test): Note missing +/-Inf
9963 as well as qNaN tests.
9965 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9966 qNaN_var. Fix a few strings, too.
9967 * math/libm-test.inc (nan_value): Rename to qnan_value.
9968 * math/gen-libm-test.pl (%beautify): Adjust to that.
9969 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9970 * math/test-misc.c (main): Likewise.
9971 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9972 to __qnan_bytes, and __qnan_union, respectively.
9973 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9975 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9976 and lqnanval, respectively.
9977 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9978 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9979 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9980 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9982 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9983 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9986 * math/test-misc.c (main): Fix copy'n'pastos.
9987 * misc/tst-efgcvt.c (special): Likewise.
9989 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9990 Remove declarations.
9992 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9994 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9995 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9996 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9997 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9999 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10002 macro to return vdso values correctly in IFUNC implementations.
10003 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10004 Optimization by using IFUNC.
10006 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10007 Richard Henderson <rth@redhat.com>
10008 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10010 * Makefile.in (bench): New target.
10011 * NEWS: Mention the benchmark framework.
10012 * Rules (bench): Likewise.
10013 (binaries-bench): Generate binaries for functions to
10015 * benchtests/Makefile: New makefile for benchmark tests.
10016 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10018 * benchtests/exp-inputs: New input file for EXP function.
10019 * benchtests/pow-inputs: New input file for POW function.
10020 * scripts/bench.pl: New script to generate source files for
10021 benchmark programs.
10023 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10025 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10026 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10027 computations on mantissa. Use macros for rounding and
10029 (denorm): Likewise.
10030 (__dbl_mp): Likewise.
10031 (add_magnitudes): Likewise.
10032 (sub_magnitudes): Likewise.
10035 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10036 powers of two in terms of TWOPOW macro.
10037 (mp_no): Make type of mantissa as MANTISSA_T.
10038 [!RADIXI]: Define RADIXI.
10039 [!TWO52]: Define TWO52.
10040 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10042 * manual/nptl.texi (cindex): Modify threads to pthreads.
10044 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10046 * sysdeps/x86_64/preconfigure: Regenerated.
10048 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10051 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10053 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10054 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10056 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10057 * math/libm-test.inc (j0_test): Do not allow one spurious
10058 underflow exception.
10059 (y1_test): Likewise.
10061 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10063 * manual/Makefile (chapters): Add nptl.
10064 * manual/debug.texi (Debugging Support): Add link to Threads
10066 * manual/nptl.texi: New file.
10068 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10070 2013-03-14 Petr Baudis <pasky@ucw.cz>
10072 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10073 for non-NULL pointer before the memory validity test. Pointed
10074 out by Holger Brunck <holger.brunck@keymile.com>.
10076 2013-03-13 Andreas Schwab <schwab@suse.de>
10078 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10081 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10083 * timezone/zic.c: Update from tzcode 2013b.
10085 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10087 * manual/install.texi (Configuring and compiling):
10088 Mention i686 and i586.
10089 * INSTALL: Regenerate.
10091 2013-03-12 Roland McGrath <roland@hack.frob.com>
10093 * sysdeps/init_array/elf-init.c: New file.
10095 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10096 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10098 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10099 __gmon_start__ as global, but as static with a .preinit_array pointer.
10100 * sysdeps/init_array/gmon-start.c: New file. Use that.
10101 * sysdeps/init_array/crti.S: New file, empty except for comments.
10102 * sysdeps/init_array/crtn.S: Likewise.
10104 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10106 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10109 Remove Prefer_SSE_for_memop.
10110 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10111 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10112 HAS_PREFER_SSE_FOR_MEMOP.
10113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10116 Remove bzero, memset ifunc support.
10117 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10118 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10119 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10120 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10122 2013-03-11 Andreas Schwab <schwab@suse.de>
10125 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10128 (GLIBC_2.16): Remove pthread_atfork.
10130 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10132 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10133 (ptestcases.h): Likewise.
10135 2013-03-08 Roland McGrath <roland@hack.frob.com>
10137 * Makeconfig ($(common-objpfx)config.status): Depend on
10138 sysdeps/*/preconfigure{,.in} too.
10140 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10142 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10143 (__free_hook): Use void * instead of __malloc_ptr_t.
10144 (__malloc_hook): Likewise.
10145 (__realloc_hook): Likewise.
10146 (__memalign_hook): Likewise.
10147 (__after_morecore_hook): Likewise.
10148 * malloc/arena.c (save_malloc_hook): Likewise.
10149 (save_free_hook): Likewise.
10150 * malloc/hooks.c (malloc_hook_ini): Likewise.
10151 (realloc_hook_ini): Likewise.
10152 (memalign_hook_ini): Likewise.
10153 * malloc/malloc.c (malloc_hook_ini): Likewise.
10154 (realloc_hook_ini): Likewise.
10155 (memalign_hook_ini): Likewise.
10156 (__free_hook): Likewise.
10157 (__malloc_hook): Likewise.
10158 (__realloc_hook): Likewise.
10159 (__memalign_hook): Likewise.
10160 (__libc_malloc): Likewise.
10161 (__libc_free): Likewise.
10162 (__libc_realloc): Likewise.
10163 (__libc_memalign): Likewise.
10164 (__libc_valloc): Likewise.
10165 (__libc_pvalloc): Likewise.
10166 (__libc_calloc): Likewise.
10167 (__posix_memalign): Likewise.
10168 * malloc/morecore.c (__sbrk): Likewise.
10169 (__default_morecore): Likewise.
10171 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10173 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10174 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10175 __malloc_ptrdiff_t.
10177 * malloc/malloc.h (__malloc_size_t): Remove macro.
10178 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10180 (old_memalign_hook): Likewise.
10181 (old_realloc_hook): Likewise.
10182 (struct hdr): Likewise.
10184 (mallochook): Likewise.
10185 (memalignhook): Likewise.
10186 (reallochook): Likewise.
10187 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10188 (tr_old_realloc_hook): Likewise.
10189 (tr_old_memalign_hook): Likewise.
10190 (tr_mallochook): Likewise.
10191 (tr_reallochook): Likewise.
10192 (tr_memalignhook): Likewise.
10194 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10197 default_ldbl_pack and using as default implementation.
10198 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10200 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10201 redundant definition.
10202 (ldbl_insert_mantissa): Likewise.
10203 (ldbl_canonicalize): Likewise.
10204 (ldbl_nearbyint): Likewise.
10205 (ldbl_pack): Rename to ldbl_pack_ppc.
10206 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10207 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10208 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10210 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10213 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10214 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10215 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10217 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10218 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10219 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10221 2013-03-07 Andreas Jaeger <aj@suse.de>
10223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10226 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10228 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10229 Include mpa.h and declare __MPEXP.
10230 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10232 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10233 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10235 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10236 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10238 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10239 (__slowpow): Use long double EXPL and LOGL functions to
10241 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10242 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10244 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10245 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10246 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10249 intermediate variable to calculate exponent.
10251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10255 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10256 [!NO__SQR]: Define __sqr.
10257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10258 and NO__SQR. Remove all code except __mul and __sqr. Include
10259 sysdeps/ieee754/dbl-64/mpa.c.
10260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10263 * posix/Makefile (tests): Add tst-pathconf.
10264 * posix/tst-pathconf.c: New test case.
10265 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10267 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10269 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10271 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10273 2013-03-06 Andreas Jaeger <aj@suse.de>
10275 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10276 definition via __MAP_ANONYMOUS.
10278 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10279 it's not part of Linux headers.
10281 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10282 (MAP_HUGE_MASK): Define.
10284 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10286 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10289 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10290 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10292 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10295 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10297 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10298 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10299 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10300 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10301 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10302 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10304 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10307 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10308 Handle f2fs and efivarfs.
10310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10313 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10314 (EFIVARFS_MAGIC): Add.
10315 (F2FS_LINK_MAX): Add.
10317 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10319 * stdio-common/vfprintf.c: Replace __builtin_expect with
10322 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10325 * sysdeps/generic/bp-sym.h: Remove file.
10326 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10327 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10328 <bp-sym.h> and <bp-asm.h>.
10329 (__longjmp): Don't use BP_SYM.
10330 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10332 (memcpy): Don't use BP_SYM.
10333 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10334 <bp-sym.h> and <bp-asm.h>.
10335 (memcpy): Don't use BP_SYM.
10336 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10338 (memcpy): Don't use BP_SYM.
10339 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10341 (memset): Don't use BP_SYM.
10342 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10343 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10344 (__bzero): Don't use BP_SYM.
10345 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10346 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10347 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10348 <bp-sym.h> and <bp-asm.h>.
10349 (memcmp): Don't use BP_SYM. Remove comment about bounded
10351 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10352 <bp-sym.h> and <bp-asm.h>.
10353 (memcpy): Don't use BP_SYM.
10354 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10355 <bp-sym.h> and <bp-asm.h>.
10356 (memset): Don't use BP_SYM.
10357 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10358 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10359 (__bzero): Don't use BP_SYM.
10360 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10361 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10363 <bp-sym.h> and <bp-asm.h>.
10364 (strncmp): Don't use BP_SYM. Remove comment about bounded
10366 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10367 <bp-sym.h> and <bp-asm.h>.
10368 (memcpy): Don't use BP_SYM.
10369 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10370 <bp-sym.h> and <bp-asm.h>.
10371 (memset): Don't use BP_SYM.
10372 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10373 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10374 (__bzero): Don't use BP_SYM.
10375 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10376 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10377 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10378 <bp-sym.h> and <bp-asm.h>.
10379 (__memchr): Don't use BP_SYM.
10380 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10381 <bp-sym.h> and <bp-asm.h>.
10382 (memcmp): Don't use BP_SYM. Remove comment about bounded
10384 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10385 <bp-sym.h> and <bp-asm.h>.
10386 (memcpy): Don't use BP_SYM.
10387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10388 <bp-sym.h> and <bp-asm.h>.
10389 (__mempcpy): Don't use BP_SYM.
10390 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10391 <bp-sym.h> and <bp-asm.h>.
10392 (__memrchr): Don't use BP_SYM.
10393 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10394 <bp-sym.h> and <bp-asm.h>.
10395 (memset): Don't use BP_SYM.
10396 (__bzero): Likewise.
10397 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10398 <bp-sym.h> and <bp-asm.h>.
10399 (__rawmemchr): Don't use BP_SYM.
10400 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10401 <bp-sym.h> and <bp-asm.h>.
10402 (__STRCMP): Don't use BP_SYM.
10403 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10404 <bp-sym.h> and <bp-asm.h>.
10405 (strchr): Don't use BP_SYM.
10406 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10407 <bp-sym.h> and <bp-asm.h>.
10408 (__strchrnul): Don't use BP_SYM.
10409 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10410 <bp-sym.h> and <bp-asm.h>.
10411 (strlen): Don't use BP_SYM.
10412 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10413 <bp-sym.h> and <bp-asm.h>.
10414 (strncmp): Don't use BP_SYM. Remove comment about bounded
10416 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10417 <bp-sym.h> and <bp-asm.h>.
10418 (__strnlen): Don't use BP_SYM.
10419 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10420 <bp-sym.h> and <bp-asm.h>.
10421 (__GI__setjmp): Don't use BP_SYM.
10422 (_setjmp): Likewise.
10423 (__sigsetjmp): Likewise.
10424 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10425 (L(start_addresses)): Don't use BP_SYM.
10426 (_start): Likewise.
10427 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10429 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10430 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10431 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10432 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10433 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10435 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10436 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10437 about bounded pointers.
10438 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10439 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10440 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10442 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10443 about bounded pointers. Remove GKM FIXME comments.
10444 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10445 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10447 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10448 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10449 Remove GKM FIXME comments.
10450 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10451 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10452 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10454 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10455 about bounded pointers. Remove GKM FIXME comment.
10456 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10458 (strncmp): Don't use BP_SYM. Remove comment about bounded
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10461 <bp-sym.h> and <bp-asm.h>.
10462 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10464 <bp-sym.h> and <bp-asm.h>.
10465 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10468 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10470 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10473 2013-03-05 David S. Miller <davem@davemloft.net>
10475 * po/es.po: Update from translation team.
10477 2013-03-05 Andreas Jaeger <aj@suse.de>
10479 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10480 <bits/mman-linux.h>.
10481 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10484 <bits/mman-linux.h> to end of file.
10485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10487 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10488 <bits/mman-linux.h> to end of file.
10489 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10491 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10492 <bits/mman-linux.h> to end of file.
10494 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10495 (MCL_CURRENT, MCL_FUTURE): Define here.
10497 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10500 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10502 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10504 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10506 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10507 fourth parameter needed for rt_sigprocmask syscall.
10508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10509 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10510 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10511 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10512 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10513 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10515 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10518 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10519 comment about bounded pointers.
10520 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10521 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10523 2013-03-04 Andreas Jaeger <aj@suse.de>
10525 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10526 common definitions.
10528 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10529 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10530 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10531 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10533 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10535 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10539 __ieee754_sqrl instead of __sqrl.
10541 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10543 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10544 * sysdeps/powerpc/fpu_control.h: ... here.
10545 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10546 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10547 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10548 * sysdeps/powerpc/bits/mathinline.h: ... here.
10550 2013-03-01 Roland McGrath <roland@hack.frob.com>
10552 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10553 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10554 to just [NEED_DL_SYSINFO_DSO].
10555 * elf/dl-support.c: Likewise.
10556 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10557 * elf/rtld.c (dl_main): Likewise.
10558 * elf/setup-vdso.h (setup_vdso): Likewise.
10559 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10560 * sysdeps/unix/sysv/linux/dl-sysdep.c
10561 (_dl_discover_osversion): Likewise.
10563 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10565 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10566 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10568 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10570 * NEWS: Mention libm performance improvements and non-x86 PI
10573 * csu/libc-start.c (__pthread_initialize_minimal): Change
10574 function arguments.
10575 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10577 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10580 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10581 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10582 <bp-sym.h> and <bp-asm.h>.
10583 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10584 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10586 (memcpy): Don't use BP_SYM.
10587 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10589 (__mpn_add_n): Don't use BP_SYM.
10590 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10591 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10593 (__mpn_addmul_1): Don't use BP_SYM.
10594 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10595 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10597 (_setjmp): Don't use BP_SYM.
10598 (__novmx_setjmp): Likewise.
10599 (__GI__setjmp): Likewise.
10600 (__vmx_setjmp): Likewise.
10601 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10603 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10604 (__bzero): Don't use BP_SYM.
10605 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10606 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10607 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10608 <bp-sym.h> and <bp-asm.h>.
10609 (memcpy): Don't use BP_SYM.
10610 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10611 <bp-sym.h> and <bp-asm.h>.
10612 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10613 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10614 <bp-sym.h> and <bp-asm.h>.
10615 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10616 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10618 (__mpn_lshift): Don't use BP_SYM.
10619 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10620 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10622 (memset): Don't use BP_SYM.
10623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10625 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10627 (__mpn_mul_1): Don't use BP_SYM.
10628 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10630 <bp-sym.h> and <bp-asm.h>.
10631 (memcmp): Don't use BP_SYM.
10632 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10633 <bp-sym.h> and <bp-asm.h>.
10634 (memcpy): Don't use BP_SYM.
10635 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10636 <bp-sym.h> and <bp-asm.h>.
10637 (memset): Don't use BP_SYM.
10638 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10639 <bp-sym.h> and <bp-asm.h>.
10640 (strncmp): Don't use BP_SYM.
10641 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10642 <bp-sym.h> and <bp-asm.h>.
10643 (memcpy): Don't use BP_SYM.
10644 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10645 <bp-sym.h> and <bp-asm.h>.
10646 (memset): Don't use BP_SYM.
10647 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10648 <bp-sym.h> and <bp-asm.h>.
10649 (__memchr): Don't use BP_SYM.
10650 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10651 <bp-sym.h> and <bp-asm.h>.
10652 (memcmp): Don't use BP_SYM.
10653 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10654 <bp-sym.h> and <bp-asm.h>.
10655 (memcpy): Don't use BP_SYM.
10656 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10657 <bp-sym.h> and <bp-asm.h>.
10658 (__mempcpy): Don't use BP_SYM.
10659 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10660 <bp-sym.h> and <bp-asm.h>.
10661 (__memrchr): Don't use BP_SYM.
10662 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10663 <bp-sym.h> and <bp-asm.h>.
10664 (memset): Don't use BP_SYM.
10665 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10666 <bp-sym.h> and <bp-asm.h>.
10667 (__rawmemchr): Don't use BP_SYM.
10668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10669 <bp-sym.h> and <bp-asm.h>.
10670 (__STRCMP): Don't use BP_SYM.
10671 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10672 <bp-sym.h> and <bp-asm.h>.
10673 (strchr): Don't use BP_SYM.
10674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10675 <bp-sym.h> and <bp-asm.h>.
10676 (__strchrnul): Don't use BP_SYM.
10677 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10678 <bp-sym.h> and <bp-asm.h>.
10679 (strlen): Don't use BP_SYM.
10680 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10681 <bp-sym.h> and <bp-asm.h>.
10682 (strncmp): Don't use BP_SYM.
10683 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10684 <bp-sym.h> and <bp-asm.h>.
10685 (__strnlen): Don't use BP_SYM.
10686 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10688 (__mpn_rshift): Don't use BP_SYM.
10689 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10690 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10691 <bp-sym.h> and <bp-asm.h>.
10692 (__sigsetjmp): Don't use BP_SYM.
10693 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10694 (L(start_addresses)): Don't use BP_SYM.
10695 (_start): Likewise.
10696 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10698 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10699 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10700 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10701 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10703 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10704 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10705 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10706 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10708 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10710 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10711 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10713 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10715 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10716 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10717 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10719 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10721 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10723 (strncmp): Don't use BP_SYM,
10724 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10726 (__mpn_sub_n): Don't use BP_SYM.
10727 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10728 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10730 (__mpn_submul_1): Don't use BP_SYM.
10731 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10733 <bp-sym.h> and <bp-asm.h>.
10734 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10736 <bp-sym.h> and <bp-asm.h>.
10737 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10740 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10743 Use ZK to minimize writes to Z.
10744 (sub_magnitudes): Simplify code a bit.
10745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10746 Use ZK to minimize writes to Z.
10747 (sub_magnitudes): Simplify code a bit.
10749 2013-02-27 Roland McGrath <roland@hack.frob.com>
10751 * csu/gmon-start.c: Add special exception to license text.
10753 2013-02-27 Richard Henderson <rth@redhat.com>
10755 * scripts/config.guess: Update from config.git.
10756 * scripts/config.sub: Likewise.
10758 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10760 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10762 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10764 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10766 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10768 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10770 2013-02-26 Roland McGrath <roland@hack.frob.com>
10772 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10773 [$(build-shared = yes].
10775 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10777 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10778 (__mul): Reduce iterations for calculating mantissa.
10780 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10782 (__mpranred): Likewise.
10785 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10786 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10788 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10790 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10791 Define __attribute__.
10793 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10795 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10797 * posix/regex_internal.h (__attribute): Remove.
10798 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10799 (re_string_context_at): Likewise.
10800 (bitset_not): Use __attribute__ and mark function as possibly
10802 (bitset_merge): Likewise.
10803 (bitset_mask): Likewise.
10804 (re_string_char_size_at): Likewise.
10805 (re_string_wchar_at): Likewise.
10806 (re_string_elem_size_at): Likewise.
10808 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10810 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10814 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10818 (denorm): Likewise.
10819 (__dbl_mp): Likewise.
10820 (add_magnitudes): Likewise.
10821 (sub_magnitudes): Likewise.
10825 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10828 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10831 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10835 up changes with default code.
10836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10839 2013-02-24 Allan McRae <allan@archlinux.org>
10841 * manual/socket.texi (The Internet Namespace): Order menu items
10842 to match that in the file.
10844 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10845 node listing of the info page menu.
10847 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10850 * sysdeps/i386/bp-asm.h: Remove file.
10851 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10852 (PARMS): Do not use macros from bp-asm.h.
10856 (__mpn_add_n): Do not use BP_SYM
10857 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10859 (PARMS): Do not use macros from bp-asm.h.
10862 (__mpn_addmul_1): Do not use BP_SYM
10863 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10865 (PARMS): Do not use macros from bp-asm.h.
10866 (SIGMSK): Likewise.
10867 (_setjmp): Likewise. Do not use BP_SYM.
10868 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10870 (PARMS): Do not use macros from bp-asm.h.
10871 (SIGMSK): Likewise.
10872 (setjmp): Likewise. Do not use BP_SYM.
10873 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10875 (PARMS): Do not use macros from bp-asm.h.
10876 (__frexp): Do not use BP_SYM.
10878 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10880 (PARMS): Do not use macros from bp-asm.h.
10881 (__frexpf): Do not use BP_SYM.
10882 (frexpf): Likewise.
10883 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10885 (PARMS): Do not use macros from bp-asm.h.
10886 (__frexpl): Do not use BP_SYM.
10887 (frexpl): Likewise.
10888 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10890 (PARMS): Do not use macros from bp-asm.h.
10891 (__remquo): Do not use BP_SYM.
10892 (remquo): Likewise.
10893 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10895 (PARMS): Do not use macros from bp-asm.h.
10896 (__remquof): Do not use BP_SYM.
10897 (remquof): Likewise.
10898 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10900 (PARMS): Do not use macros from bp-asm.h.
10901 (__remquol): Do not use BP_SYM.
10902 (remquol): Likewise.
10903 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10905 (PARMS): Do not use macros from bp-asm.h.
10908 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10909 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10911 (PARMS): Do not use macros from bp-asm.h.
10912 (strlen): Do not use BP_SYM.
10913 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10915 (PARMS): Do not use macros from bp-asm.h.
10919 (__mpn_add_n): Do not use BP_SYM.
10920 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10922 (PARMS): Do not use macros from bp-asm.h.
10925 (__mpn_addmul_1): Do not use BP_SYM.
10926 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10929 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10931 (PARMS): Do not use macros from bp-asm.h.
10934 (__mpn_lshift): Do not use BP_SYM.
10935 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10937 (PARMS): Do not use macros from bp-asm.h.
10941 (memcpy): Likewise. Do not use BP_SYM.
10942 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10943 libc_hidden_def and weak_alias.
10944 (mempcpy): Do not use BP_SYM in weak_alias.
10945 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10947 (PARMS): Do not use macros from bp-asm.h.
10950 [!BZERO_P] (CHR): Likewise.
10951 (memset): Likewise. Do not use BP_SYM.
10952 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10954 (PARMS): Do not use macros from bp-asm.h.
10957 (__mpn_mul_1): Do not use BP_SYM.
10958 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10960 (PARMS): Do not use macros from bp-asm.h.
10963 (__mpn_rshift): Do not use BP_SYM.
10964 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10966 (PARMS): Do not use macros from bp-asm.h.
10969 (strchr): Likewise. Do not use BP_SYM.
10970 (index): Do not use BP_SYM in weak_alias.
10971 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10973 (PARMS): Do not use macros from bp-asm.h.
10976 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10977 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10979 (PARMS): Do not use macros from bp-asm.h.
10980 (strlen): Do not use BP_SYM.
10981 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10983 (PARMS): Do not use macros from bp-asm.h.
10987 (__mpn_sub_n): Do not use BP_SYM.
10988 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10990 (PARMS): Do not use macros from bp-asm.h.
10993 (__mpn_submul_1): Do not use BP_SYM.
10994 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10996 (PARMS): Do not use macros from bp-asm.h.
11000 (__mpn_add_n): Do not use BP_SYM.
11001 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11004 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11006 (PARMS): Do not use macros from bp-asm.h.
11009 (memcmp): Do not use BP_SYM.
11010 (bcmp): Do not use BP_SYM in weak_alias.
11011 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11013 (PARMS): Do not use macros from bp-asm.h.
11017 (memcpy): Likewise. Do not use BP_SYM.
11018 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11020 (PARMS): Do not use macros from bp-asm.h.
11024 (memmove): Likewise. Do not use BP_SYM.
11025 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11027 (PARMS): Do not use macros from bp-asm.h.
11031 (__mempcpy): Likewise. Do not use BP_SYM.
11032 (mempcpy): Do not use BP_SYM in weak_alias.
11033 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11035 (PARMS): Do not use macros from bp-asm.h.
11038 [!BZERO_P] (CHR): Likewise.
11039 (memset): Likewise. Do not use BP_SYM.
11040 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11042 (PARMS): Do not use macros from bp-asm.h.
11044 (strcmp): Do not use BP_SYM.
11045 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11047 (PARMS): Do not use macros from bp-asm.h.
11050 [USE_AS_STRTOK_R] (SAVE): Likewise.
11051 (FUNCTION): Likewise. Do not use BP_SYM.
11052 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11054 (strtok_r): Likewise.
11055 (__GI___strtok_r): Likewise.
11056 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11057 (PARMS): Do not use macros from bp-asm.h.
11060 (__mpn_lshift): Do not use BP_SYM.
11061 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11062 (PARMS): Do not use macros from bp-asm.h.
11065 (__memchr): Do not use BP_SYM.
11066 (memchr): Do not use BP_SYM in weak_alias.
11067 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11068 (PARMS): Do not use macros from bp-asm.h.
11071 (memcmp): Do not use BP_SYM.
11072 (bcmp): Do not use BP_SYM in weak_alias.
11073 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11074 (PARMS): Do not use macros from bp-asm.h.
11077 (__mpn_mul_1): Do not use BP_SYM.
11078 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11080 (PARMS): Do not use macros from bp-asm.h.
11083 (__rawmemchr): Do not use BP_SYM.
11084 (rawmemchr): Do not use BP_SYM in weak_alias.
11085 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11086 (PARMS): Do not use macros from bp-asm.h.
11089 (__mpn_rshift): Do not use BP_SYM.
11090 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11091 (PARMS): Do not use macros from bp-asm.h.
11092 (SIGMSK): Likewise.
11093 (__sigsetjmp): Likewise. Do not use BP_SYM.
11094 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11095 (_start): Do not use BP_SYM.
11096 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11097 (PARMS): Do not use macros from bp-asm.h.
11100 (__stpcpy): Likewise. Do not use BP_SYM.
11101 (stpcpy): Do not use BP_SYM in weak_alias.
11102 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11104 (PARMS): Do not use macros from bp-asm.h.
11108 (__stpncpy): Likewise. Do not use BP_SYM.
11109 (stpncpy): Do not use BP_SYM in weak_alias.
11110 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11111 (PARMS): Do not use macros from bp-asm.h.
11114 (strchr): Likewise. Do not use BP_SYM.
11115 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11117 (PARMS): Do not use macros from bp-asm.h.
11120 (__strchrnul): Likewise. Do not use BP_SYM.
11121 (strchrnul): Do not use BP_SYM in weak_alias.
11122 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11124 (PARMS): Do not use macros from bp-asm.h.
11126 (strcspn): Do not use BP_SYM.
11127 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11129 (PARMS): Do not use macros from bp-asm.h.
11132 (strpbrk): Likewise. Do not use BP_SYM.
11133 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11135 (PARMS): Do not use macros from bp-asm.h.
11138 (strrchr): Likewise. Do not use BP_SYM.
11139 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11140 (PARMS): Do not use macros from bp-asm.h.
11142 (strspn): Do not use BP_SYM.
11143 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11144 (PARMS): Do not use macros from bp-asm.h.
11148 (FUNCTION): Likewise. Do not use BP_SYM.
11149 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11151 (strtok_r): Likewise.
11152 (__GI___strtok_r): Likewise.
11153 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11154 (PARMS): Do not use macros from bp-asm.h.
11158 (__mpn_sub_n): Do not use BP_SYM.
11159 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11161 (PARMS): Do not use macros from bp-asm.h.
11164 (__mpn_submul_1): Do not use BP_SYM.
11165 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11167 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11169 (PARMS): Do not use macros from bp-asm.h.
11174 (__clone): Do not use BP_SYM.
11175 (clone): Do not use BP_SYM in weak_alias.
11176 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11178 (PARMS): Do not use macros from bp-asm.h.
11180 (__mmap64): Do not use BP_SYM.
11181 (mmap64): Do not use BP_SYM in weak_alias.
11182 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11183 <bp-sym.h> and <bp-asm.h>.
11184 (PARMS): Do not use macros from bp-asm.h.
11185 (__posix_fadvise64_l64): Do not use BP_SYM.
11186 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11187 (PARMS): Do not use macros from bp-asm.h.
11189 (semtimedop): Do not use BP_SYM.
11190 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11193 2013-02-21 Allan McRae <allan@archlinux.org>
11195 * manual/message.texi (Charset conversion in gettext):
11196 Move @end statement to beginning of line.
11198 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11205 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11206 (denorm): Likewise.
11207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11210 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11212 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11213 tail-call to the resolved function if pltexit isn't needed.
11215 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11218 or Y being zero as being unlikely.
11219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11222 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11224 * manual/nss.texi (System Databases and Name Service Switch):
11225 Remove frobnicate @pxref.
11227 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11229 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11230 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11232 2013-02-20 Petr Machata <pmachata@redhat.com>
11234 * elf/elf.h (R_ARM_TARGET1): New macro.
11235 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11236 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11237 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11238 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11239 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11240 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11241 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11242 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11243 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11244 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11245 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11246 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11247 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11248 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11249 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11250 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11251 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11252 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11253 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11254 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11255 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11256 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11257 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11258 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11259 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11260 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11261 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11262 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11263 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11264 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11265 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11266 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11267 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11268 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11269 (R_ARM_THM_GOT_BREL12): Likewise.
11270 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11271 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11272 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11273 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11274 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11275 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11276 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11277 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11278 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11280 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11282 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11283 __attribute_used__ to __attribute__ ((unused)).
11285 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11287 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11290 comment formatting.
11291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11293 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11296 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11298 (ENTER): Remove both macro definitions.
11300 (CHECK_BOUNDS_LOW): Likewise.
11301 (CHECK_BOUNDS_HIGH): Likewise.
11302 (CHECK_BOUNDS_BOTH): Likewise.
11303 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11304 (RETURN_BOUNDED_POINTER): Likewise.
11305 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11306 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11307 (POP_ERRNO_LOCATION_RETURN): Likewise.
11308 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11309 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11310 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11312 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11313 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11314 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11315 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11316 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11317 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11318 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11319 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11320 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11321 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11322 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11323 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11324 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11325 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11327 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11328 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11330 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11331 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11332 * sysdeps/i386/i586/memset.S (memset): Likewise.
11333 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11334 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11335 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11337 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11338 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11339 Change uses of L(2) to L(out).
11340 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11341 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11342 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11343 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11344 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11346 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11347 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11349 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11350 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11351 (RETURN): Do not use macro LEAVE.
11352 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11353 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11354 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11355 * sysdeps/i386/i686/memset.S (memset): Likewise.
11356 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11357 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11358 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11359 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11361 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11362 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11363 L(1_2) and L(1_3) into L(1).
11364 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11365 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11366 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11367 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11368 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11369 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11370 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11371 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11372 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11374 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11375 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11376 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11377 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11378 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11379 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11380 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11381 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11382 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11383 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11384 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11385 * sysdeps/i386/strspn.S (strspn): Likewise.
11386 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11388 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11389 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11390 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11391 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11392 L(1_3) into L(1_1).
11393 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11394 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11395 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11397 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11399 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11401 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11404 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11406 * math/atest-exp.c (exp_mpn): Remove ROUND.
11407 * math/atest-exp2.c (exp_mpn): Likewise.
11408 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11410 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11411 * stdlib/tst-tls-atexit-lib.c: Likewise.
11412 * stdlib/tst-tls-atexit.c: Likewise.
11414 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11416 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11417 and __attribute_alloc_size__.
11419 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11421 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11422 __attribute_alloc_size__.
11423 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11424 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11426 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11428 * include/programs/xmalloc.h: New file.
11429 * catgets/gencat.c: Include it.
11430 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11431 * elf/pldd.c: Likewise.
11432 * iconv/iconv_charmap.c: Likewise.
11433 * iconv/iconvconfig.c: Likewise.
11434 * iconv/strtab.c: Likewise.
11435 * locale/programs/locale.c: Likewise.
11436 * locale/programs/localedef.h: Likewise.
11437 * locale/programs/simple-hash.c: Likewise.
11438 * nscd/nscd.h: Likewise.
11439 * nss/makedb.c: Likewise.
11440 * sysdeps/generic/ldconfig.h: Likewise.
11442 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11444 * Versions.def: Add GLIBC_2.18.
11445 * include/link.h (struct link_map): New member l_tls_dtor_count.
11446 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11447 (__call_tls_dtors): Likewise.
11448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11449 __cxa_thread_atexit_impl.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11466 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11467 (tests): Add test case tst-tls-atexit.
11468 (modules-names): Add shared library for tst-tls-atexit.
11469 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11470 (GLIBC_PRIVATE): Add __call_tls_dtors.
11471 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11473 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11474 * stdlib/tst-tls-atexit.c: New test case.
11475 * stdlib/tst-tls-atexit-lib.c: New test case.
11477 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11479 * elf/Versions (ld): Add _dl_find_dso_for_object.
11480 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11481 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11482 (dl_open_worker): Use _dl_find_dso_for_object.
11483 * elf/dl-sym.c (do_sym): Likewise.
11484 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11486 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11488 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11489 Syntactic changes only.
11490 (_dl_runtime_profile): Do a tail-call to the resolved function.
11492 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11495 * sysdeps/x86_64/bp-asm.h: Remove file.
11496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11497 <bp-sym.h> and <bp-asm.h>.
11498 (__clone): Do not use BP_SYM.
11499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11500 <bp-sym.h> and <bp-asm.h>.
11501 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11502 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11504 (_setjmp): Do not use BP_SYM.
11505 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11507 (setjmp): Do not use BP_SYM.
11508 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11510 (mempcpy): Do not use BP_SYM in weak_alias.
11511 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11513 (strchr): Do not use BP_SYM.
11514 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11516 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11517 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11518 (_start): Do not use BP_SYM.
11519 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11521 (strcat): Do not use BP_SYM.
11522 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11524 (STRCMP): Do not use BP_SYM.
11525 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11527 (STRCPY): Do not use BP_SYM.
11528 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11530 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11532 (FUNCTION): Do not use BP_SYM.
11533 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11535 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11537 2013-02-17 Andreas Jaeger <aj@suse.de>
11539 * time/Versions: Sort entries.
11540 * string/Versions: Likewise.
11541 * resolv/Versions: Likewise.
11542 * posix/Versions: Likewise.
11543 * iconv/Versions: Likewise.
11544 * elf/Versions: Likewise.
11545 * wcsmbs/Versions: Likewise.
11547 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11549 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11550 loop termination condition.
11552 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11553 variable to calculate EZ.
11556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11557 the lower precision input.
11559 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11562 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11563 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11564 (run-via-rtld-prefix): Do not handle %-bp tests.
11565 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11566 (all-object-suffixes): Remove .ob.
11567 (bppfx): Remove variable.
11568 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11569 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11570 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11571 [$(build-bounded) = yes] (libtype.ob): Likewise.
11572 * Makerules (elide-routines.ob): Remove variable.
11573 (do-tests-clean): Do not handle *-bp.out.
11574 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11575 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11576 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11577 (tests): Do not include $(tests-bp.out).
11578 (xtests): Do not include $(xtests-bp.out).
11579 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11580 [$(build-bounded) = yes] ($(addprefix
11581 $(objpfx),$(binaries-bounded))): Remove rule.
11582 ($(objpfx)%-bp.out): Remove rule.
11583 * config.make.in (build-bounded): Remove variable.
11584 * crypt/Makefile [$(build-bounded) = yes]
11585 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11586 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11587 append to variable.
11588 [$(build-bounded) = yes] (install-lib): Likewise.
11589 [$(build-bounded) = yes] (generated): Likewise.
11590 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11592 * intl/Makefile [$(build-bounded) = yes]
11593 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11594 * math/Makefile [$(build-bounded) = yes]
11595 ($(tests:%=$(objpfx)%-bp): Likewise.
11596 * misc/Makefile [$(build-bounded) = yes]
11597 ($(objpfx)tst-tsearch-bp): Likewise.
11598 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11599 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11601 * string/Makefile (o-objects.ob): Remove variable.
11602 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11603 (CFLAGS-.ob): Remove variable.
11604 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11605 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11606 both definitions of variable.
11607 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11608 (ASFLAGS-.ob): Remove variable.
11610 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11613 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11614 Remove __BOUNDED_POINTERS__ from condition.
11615 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11616 * string/bits/string2.h [!__NO_STRING_INLINES &&
11617 !__BOUNDED_POINTERS__]: Likewise.
11618 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11620 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11621 Remove conditional code.
11622 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11623 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11624 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11628 * csu/libc-start.c: Do not include <bp-sym.h>.
11629 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11630 * elf/dl-open.c: Do not include <bp-sym.h>.
11631 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11632 * math/fegetenv.c: Do not include <bp-sym.h>.
11633 (fegetenv): Do not use BP_SYM in versioned symbols.
11634 * nptl/sysdeps/pthread/bits/libc-lockP.h
11635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11638 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11640 (__pthread_mutex_destroy): Likewise.
11641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11642 (__pthread_mutex_lock): Likewise.
11643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11644 (__pthread_mutex_trylock): Likewise.
11645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11646 (__pthread_mutex_unlock): Likewise.
11647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11648 (__pthread_mutexattr_init): Likewise.
11649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11650 (__pthread_mutexattr_destroy): Likewise.
11651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11652 (__pthread_mutexattr_settype): Likewise.
11653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11654 (__pthread_rwlock_init): Likewise.
11655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11656 (__pthread_rwlock_destroy): Likewise.
11657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11658 (__pthread_rwlock_rdlock): Likewise.
11659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11660 (__pthread_rwlock_tryrdlock): Likewise.
11661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11662 (__pthread_rwlock_wrlock): Likewise.
11663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11664 (__pthread_rwlock_trywrlock): Likewise.
11665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11666 (__pthread_rwlock_unlock): Likewise.
11667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11668 (__pthread_key_create): Likewise.
11669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11670 (__pthread_setspecific): Likewise.
11671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11672 (__pthread_getspecific): Likewise.
11673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11676 (_pthread_cleanup_push_defer): Likewise.
11677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11678 (_pthread_cleanup_pop_restore): Likewise.
11679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11680 (pthread_setcancelstate): Likewise.
11681 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11683 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11684 (memchr): Do not use BP_SYM in weak_alias.
11685 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11686 (fegetenv): Do not use BP_SYM in versioned symbols.
11687 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11688 (fesetenv): Do not use BP_SYM in versioned symbols.
11689 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11690 (feupdateenv): Do not use BP_SYM in versioned symbols.
11691 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11692 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11693 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11694 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11695 (open64): Do not use BP_SYM in weak_alias.
11696 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11697 (fegetenv): Do not use BP_SYM in versioned symbols.
11698 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11699 (fesetenv): Do not use BP_SYM in versioned symbols.
11700 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11701 (feupdateenv): Do not use BP_SYM in versioned symbols.
11702 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11703 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11704 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11705 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11706 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11707 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11708 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11710 (__libc_start_main): Do not use BP_SYM.
11712 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11715 redundant return line.
11717 (denorm): Likewise.
11718 (dbl_mp): Likewise.
11719 (sub_magnitudes): Likewise.
11725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11727 (denorm): Likewise.
11728 (dbl_mp): Likewise.
11729 (sub_magnitudes): Likewise.
11736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11738 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11739 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11742 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11743 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11745 of __mul for squares.
11746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11750 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11751 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11753 2013-02-13 Joseph Myers <joseph@codesourcery.com>
11756 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11758 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11759 prototype or function definition. Rename ubp_* variables and
11760 parameters. Remove argv definitions conditional on
11761 [__BOUNDED_POINTERS__].
11762 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11763 * elf/dl-runtime.c (_dl_fixup): Likewise.
11764 * include/set-hooks.h (RUN_HOOK): Likewise.
11765 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11767 * string/strcpy.c (strcpy): Do not use __unbounded.
11768 * sysdeps/generic/frame.h (struct layout): Likewise.
11769 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11770 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11771 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11772 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11773 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11774 (__backtrace): Likewise.
11775 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11777 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11778 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11779 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11781 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11782 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11783 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11784 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11785 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11786 Do not use __unbounded.
11787 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11788 Rename __unboundedrlimits parameter to rlimits in prototype.
11789 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11790 Do not use __unbounded.
11791 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11792 not use __ptrvalue.
11793 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11794 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11795 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11796 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11797 __ptrvalue or __unbounded.
11798 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11799 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11801 (__new_msgctl): Do not use __ptrvalue.
11802 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11804 (__libc_msgrcv): Do not use __ptrvalue.
11805 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11806 startup_info): Do not use __unbounded.
11807 (__libc_start_main): Likewise. Rename ubp_* variables and
11808 parameters. Remove argv definitions conditional on
11809 [__BOUNDED_POINTERS__].
11810 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11812 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11814 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11816 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11818 (__new_shmctl): Do not use __ptrvalue.
11819 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11820 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11822 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11824 (__libc_sigaction): Likewise.
11825 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11828 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11830 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11832 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11834 * string/mempcpy.c: Implement by calling memcpy.
11836 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11838 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11843 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11844 values in the mantissa.
11846 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11847 minimize writes to Z.
11848 (sub_magnitudes): Simplify code a bit.
11850 2013-02-12 Roland McGrath <roland@hack.frob.com>
11852 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11853 from the message. The linker prefixes all warnings with that already.
11855 2013-02-12 Andreas Schwab <schwab@suse.de>
11858 * posix/regexec.c (extend_buffers): Add parameter min_len.
11859 (check_matching): Pass minimum needed length.
11860 (clean_state_log_if_needed): Likewise.
11861 (get_subexp): Likewise.
11862 * posix/Makefile (tests): Add bug-regex34.
11863 (bug-regex34-ENV): Define.
11864 * posix/bug-regex34.c: New file.
11867 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11868 elements compare against the byte sequence of it, not its name.
11869 * posix/Makefile (tests): Add bug-regex35.
11870 (bug-regex35-ENV): Define.
11871 * posix/bug-regex35.c: New file.
11873 2013-02-11 Tom de Vries <tom@codesourcery.com>
11875 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11877 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11878 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11879 (CHECK_EOL): Add undef.
11881 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11883 * bits/stdlib-bsearch.h: New file.
11884 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11885 * stdlib/stdlib.h: Likewise.
11887 2013-02-11 Roland McGrath <roland@hack.frob.com>
11889 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11890 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11892 * manual/search.texi (Array Search Function): Add missing const in
11894 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11895 declaration to use rlim_t.
11896 (Basic Scheduling Functions): Remove erroneous const from
11897 sched_getparam prototype. Remove erroneous * from
11898 sched_get_priority_max and sched_get_priority_min prototypes.
11899 (Resource Usage): Fix summary @comment on vtimes to refer to
11900 sys/vtimes.h rather than vtimes.h.
11901 Add missing *s in vtimes prototype.
11902 (Limits on Resources): Fix ulimit prototype to return long int.
11903 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11904 prototypes to use long int rather than double.
11905 (BSD Random): Fix initstate and setstate to use char *, not void *.
11906 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11907 prototype to make second argument 'struct aiocb64 *const[]'.
11908 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11909 (Status of AIO Operations): Remove erroneous const in aio_return and
11910 aio_return64 prototypes.
11911 (Synchronizing I/O): Fix sync prototype to return void.
11912 * manual/startup.texi (Suboptions): Remove an erroneous const in
11913 getsubopt prototype.
11914 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11915 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11916 use size_t rather than int.
11917 (Scanning All Users): Likewise for getpwent_r.
11918 (Setting Groups): Add missing const to setgroups prototype.
11919 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11920 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11921 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11922 'const void *' rather than 'const char *'.
11923 (Host Address Functions): Likewise for inet_ntop.
11924 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11925 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11926 ssize_t for return value.
11927 (Sending Data): Likewise for send, sendto, sendmsg.
11928 (Socket Option Functions): Add a missing const in setsockopt prototype.
11929 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11930 use wchar_t for the argument.
11931 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11932 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11934 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11935 double/float/long double for second argument.
11936 Fix return types of significand, significandf, significandl.
11937 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11938 argument in fchmod prototype.
11939 (File Owner): Use uid_t and gid_t in fchown prototype.
11940 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11941 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11942 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11943 use 'const struct dirent **' as argument types to CMP function pointer
11945 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11946 (File Times): Fix summary magic @comment for struct utimbuf and utime
11947 to refer to utime.h, not time.h.
11948 * manual/string.texi (Argz Functions): Add missing const in
11949 argz_extract and argz_next prototypes.
11950 (Finding Tokens in a String): Likewise for basename.
11951 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11952 (Copying and Concatenation): Fix typo in wmemmove prototype.
11953 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11954 (Signal Stack): Remove erroneous const in sigstack prototype.
11955 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11957 (Simple Calendar Time): Likewise for stime.
11958 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11960 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11961 say sys/sysctl.h instead.
11962 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11963 and vsyslog prototypes.
11965 2013-02-11 Tom de Vries <tom@codesourcery.com>
11967 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11970 2013-02-11 Roland McGrath <roland@hack.frob.com>
11972 * misc/sys/mman.h: Fix typo in mremap comment.
11974 2013-02-08 Roland McGrath <roland@hack.frob.com>
11976 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11977 the '\0' terminator.
11979 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11982 * debug/segfault.c: Don't include <bp-checks.h>.
11983 * sysdeps/generic/bp-checks.h: Remove file.
11984 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11985 (__GETDENTS): Don't use CHECK_N.
11986 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11987 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11988 (__getgroups): Don't use CHECK_N.
11989 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11990 (setgroups): Don't use CHECK_N.
11991 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11992 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11993 (__libc_msgrcv): Don't use CHECK_N.
11994 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11995 (__libc_msgsnd): Don't use CHECK_N.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11998 (__libc_pread): Don't use CHECK_N.
11999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12000 include <bp-checks.h>.
12001 (__libc_pread64): Don't use CHECK_N.
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12003 include <bp-checks.h>.
12004 (__libc_pwrite): Don't use CHECK_N.
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12006 include <bp-checks.h>.
12007 (__libc_pwrite64): Don't use CHECK_N.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12010 (__libc_pread): Don't use CHECK_N.
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12012 include <bp-checks.h>.
12013 (__libc_pread64): Don't use CHECK_N.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12015 include <bp-checks.h>.
12016 (__libc_pwrite): Don't use CHECK_N.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12018 include <bp-checks.h>.
12019 (__libc_pwrite64): Don't use CHECK_N.
12020 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12021 (do_pread): Don't use CHECK_N.
12022 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12023 (do_pread64): Don't use CHECK_N.
12024 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12025 (do_pwrite): Don't use CHECK_N.
12026 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12027 (do_pwrite64): Don't use CHECK_N.
12028 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12029 (__libc_readv): Don't use CHECK_N.
12030 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12031 (semop): Don't use CHECK_N.
12032 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12034 (semtimedop): Don't use CHECK_N.
12035 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12036 (__libc_pread): Don't use CHECK_N.
12037 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12039 (__libc_pread64): Don't use CHECK_N.
12040 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12042 (__libc_pwrite): Don't use CHECK_N.
12043 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12045 (__libc_pwrite64): Don't use CHECK_N.
12046 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12048 (__libc_msgrcv): Don't use CHECK_N.
12049 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12050 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12051 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12052 (__libc_writev): Don't use CHECK_N.
12054 2013-02-08 Roland McGrath <roland@hack.frob.com>
12056 * string/strcpy.c: Removed unused variable.
12058 * Makeconfig (+sysdep-includes): Define with := rather than =.
12059 Use an existing include/ subdir of each sysdeps dir before it.
12061 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12063 * nscd/connection.c (register_traced_file): Comment function.
12064 [HAVE_INOTIFY] (union __inev): Define.
12065 [HAVE_INOTIFY] (inotify_check_files): New function.
12066 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12067 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12069 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12071 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12073 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12074 loaded if not already and that a failure is permanent.
12076 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12079 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12080 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12082 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12085 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12086 (CHECK_1_NULL_OK): Likewise.
12087 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12088 (__fxstat): Do not use CHECK_1.
12089 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12091 (___fxstat64): Do not use CHECK_1.
12092 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12094 (__fxstatat): Do not use CHECK_1.
12095 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12097 (__fxstatat64): Do not use CHECK_1.
12098 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12100 (__fxstat): Do not use CHECK_1.
12101 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12103 (__fxstatat): Do not use CHECK_1.
12104 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12106 (__getresgid): Do not use CHECK_1.
12107 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12109 (__getresuid): Do not use CHECK_1.
12110 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12112 (__lxstat): Do not use CHECK_1.
12113 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12115 (__old_msgctl): Do not use CHECK_1.
12116 (__new_msgctl): Likewise.
12117 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12119 (__new_setrlimit): Do not use CHECK_1.
12120 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12122 (__old_shmctl): Do not use CHECK_1.
12123 (__new_shmctl): Likewise.
12124 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12126 (__xstat): Do not use CHECK_1.
12127 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12128 (__lxstat): Do not use CHECK_1.
12129 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12131 (___lxstat64): Do not use CHECK_1.
12132 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12133 (__old_msgctl): Do not use CHECK_1.
12134 (__new_msgctl): Likewise.
12135 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12137 (__gettimeofday): Do not use CHECK_1.
12138 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12139 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12140 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12142 (__gettimeofday): Do not use CHECK_1.
12143 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12144 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12145 (__new_shmctl): Do not use CHECK_1.
12146 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12148 (do_sigtimedwait): Do not use CHECK_1.
12149 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12151 (do_sigwaitinfo): Do not use CHECK_1.
12152 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12154 (msgctl): Do not use CHECK_1.
12155 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12157 (shmctl): Do not use CHECK_1.
12158 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12159 (ustat): Do not use CHECK_1.
12160 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12162 (__fxstat): Do not use CHECK_1.
12163 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12165 (__fxstatat): Do not use CHECK_1.
12166 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12168 (__lxstat): Do not use CHECK_1.
12169 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12171 (__xstat): Do not use CHECK_1.
12172 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12173 (__xstat): Do not use CHECK_1.
12174 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12175 (___xstat64): Do not use CHECK_1.
12178 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12180 (CHECK_BOUNDS_HIGH): Likewise.
12181 * string/strcpy.c: Do not include <bp-checks.h>.
12182 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12184 2013-02-07 Roland McGrath <roland@hack.frob.com>
12186 * nscd/nscd-client.h (__nscd_drop_map_ref):
12187 Add __attribute__ ((unused)).
12188 * nis/nss-nisplus.h (niserr2nss): Likewise.
12190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12191 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12193 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12194 Remove inline keyword.
12195 * include/rounding-mode.h (round_away): Likewise.
12196 * libio/wfileops.c (adjust_wide_data): Likewise.
12197 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12198 (__m128i_strloadu_tolower): Likewise.
12199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12200 (__m128i_strloadu_tolower): Likewise.
12201 * time/mktime.c (ydhms_diff): Likewise.
12202 * locale/elem-hash.h (elem_hash): Likewise.
12203 * locale/setlocale.c (setdata): Likewise.
12204 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12205 (re_string_wchar_at): Likewise.
12206 (bitset_not, bitset_merge, bitset_mask): Likewise.
12207 [!(__GNUC__ > 3)] (inline): Remove macro.
12208 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12209 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12210 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12211 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12212 * string/memcmp.c (memcmp_bytes): Likewise.
12213 * locale/programs/locarchive.c (compute_hashval): Likewise.
12214 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12215 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12216 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12217 * nss/getent.c (print_rpc, print_protocols): Likewise.
12218 (print_passwd, print_group, print_aliases): Likewise.
12219 * nis/nss-nisplus.h (niserr2nss): Likewise.
12220 * nscd/connections.c (restart_p): Likewise.
12221 Change return type to bool.
12223 2013-02-05 Roland McGrath <roland@hack.frob.com>
12225 * Makeconfig (all-Depend-files): Add existing
12226 $(sorted-subdirs:=/Depend) files.
12227 (all-subdirs): Remove nss.
12228 * sysdeps/unix/inet/Subdirs: Add it here instead.
12229 * hesiod/Depend: New file.
12231 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12232 instead of calling alloca.
12234 * io/lseek.c (__lseek): Rename to __libc_lseek.
12235 Define __lseek as an alias.
12237 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12239 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12241 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12242 else clause and remove check for non-standard endianness.
12244 2013-02-04 David S. Miller <davem@davemloft.net>
12246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12248 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12251 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12252 (__ubp_memchr): Remove prototype.
12253 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12254 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12255 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12256 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12257 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12259 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12260 (__ubp_memchr): Likewise.
12261 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12262 (__ubp_memchr): Likewise.
12263 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12264 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12265 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12268 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12269 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12270 (__getcwd): Do not use CHECK_STRING.
12271 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12273 (__real_chown): Do not use CHECK_STRING.
12274 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12276 (fchownat): Do not use CHECK_STRING.
12277 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12279 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12281 (__lchown): Do not use CHECK_STRING.
12282 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12283 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12284 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12285 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12287 include <bp-checks.h>.
12288 (truncate64): Do not use CHECK_STRING.
12289 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12291 (__real_chown): Do not use CHECK_STRING.
12292 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12294 (__lchown): Do not use CHECK_STRING.
12295 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12297 (__chown): Do not use CHECK_STRING.
12298 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12300 (truncate64): Do not use CHECK_STRING.
12301 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12303 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12304 (__xmknod): Do not use CHECK_STRING.
12305 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12307 (__xmknodat): Do not use CHECK_STRING.
12308 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12309 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12311 2013-02-04 Andreas Schwab <schwab@suse.de>
12314 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12315 * include/netdb.h: Likewise for h_errno.
12316 * elf/tst-stackguard1.c: Include <tls.h>.
12318 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12320 * elf/link.h (struct link_map): Extend the l_addr comment.
12321 * include/link.h (struct link_map): Likewise.
12323 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12326 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12327 (BOUNDED_1): Remove macro.
12328 * debug/backtrace.c: Don't include <bp-checks.h>.
12329 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12330 (__backtrace): Likewise.
12331 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12333 (__backtrace): Don't use BOUNDED_1.
12334 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12336 (__backtrace): Don't use BOUNDED_1.
12337 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12338 (__backtrace): Don't use BOUNDED_1.
12339 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12340 (shmat): Don't use BOUNDED_N.
12342 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12345 * sysdeps/generic/bp-start.h: Remove file.
12346 * csu/libc-start.c: Don't include <bp-start.h>.
12347 (LIBC_START_MAIN): Set up __environ directly instead of using
12348 INIT_ARGV_and_ENVIRON.
12349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12353 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12355 (CHECK_FCNTL): Likewise.
12356 (CHECK_N_PAGES): Likewise.
12359 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12361 (CHECK_SIGSET_NULL_OK): Likewise.
12362 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12364 (sigpending): Don't use CHECK_SIGSET.
12365 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12367 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12368 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12370 (do_sigsuspend): Don't use CHECK_SIGSET.
12371 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12373 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12374 (do_sigwait): Don't use CHECK_SIGSET.
12375 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12378 include <bp-checks.h>.
12379 (sigpending): Don't use CHECK_SIGSET.
12380 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12381 include <bp-checks.h>.
12382 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12383 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12385 (sigpending): Don't use CHECK_SIGSET.
12386 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12388 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12391 * sysdeps/generic/bp-semctl.h: Remove file.
12392 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12393 <bp-checks.h> and <bp-semctl.h>.
12394 (__old_semctl): Don't use CHECK_SEMCTL.
12395 (__new_semctl): Likewise.
12396 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12398 (__old_semctl): Don't use CHECK_SEMCTL.
12399 (__new_semctl): Likewise.
12400 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12401 <bp-checks.h> and <bp-semctl.h>.
12402 (__old_semctl): Don't use CHECK_SEMCTL.
12403 (__new_semctl): Likewise.
12404 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12405 <bp-checks.h> and <bp-semctl.h>.
12406 (semctl): Don't use CHECK_SEMCTL.
12409 * Makerules (elide-bp-thunks): Remove variable.
12410 (elide-routines.oS): Don't use $(elide-bp-thunks).
12411 (elide-routines.os): Likewise.
12412 (elide-routines.o): Likewise.
12413 (elide-routines.op): Likewise.
12414 (elide-routines.og): Likewise.
12415 (objects): Don't use $(bp-thunks).
12416 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12418 (common-generated): Do not add s-proto-bp.d.
12419 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12422 Do not generate makefile rules for bounded-pointer thunks.
12423 * sysdeps/generic/bp-thunks.h: Remove file.
12424 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12425 * sysdeps/unix/s-proto-bp.S: Likewise.
12428 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12429 parts of result separately when argument is not close to line from
12430 -i to i and one part of argument is small.
12431 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12432 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12433 * math/libm-test.inc (cacos_test): Add more tests.
12434 (casin_test): Likewise.
12435 (casinh_test): Likewise.
12436 * sysdeps/i386/fpu/libm-test-ulps: Update.
12437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12439 2013-01-31 David S. Miller <davem@davemloft.net>
12441 * po/de.po: Update from translation team.
12443 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12445 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12447 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12449 * configure.in (_AC_PROG_CC_C89): New definition.
12450 * configure: Regenerate.
12452 * configure.in (AC_PROG_CPP): New definition.
12453 * configure: Regenerate.
12455 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12457 * debug/tst-backtrace.h: New file.
12458 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12459 (ret): Remove variable.
12461 (FAIL): Remove macro.
12462 (NO_INLINE): Likewise.
12463 (fn1): Use match function instead of strstr.
12464 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12465 (ret): Remove variable.
12467 (FAIL): Remove macro.
12468 (NO_INLINE): Likewise.
12469 (fn): Use match function instead of strstr.
12470 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12471 (ret): Remove variable.
12473 (FAIL): Remove macro.
12474 (NO_INLINE): Likewise.
12475 (handle_signal): Use match function instead of strstr.
12476 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12477 (ret): Remove variable.
12479 (FAIL): Remove macro.
12480 (NO_INLINE): Likewise.
12481 (handle_signal): Use match function instead of strstr.
12483 2013-01-23 Roland McGrath <roland@hack.frob.com>
12485 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12487 2013-01-23 David S. Miller <davem@davemloft.net>
12489 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12490 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12491 argument of CAS if possible.
12492 * sysdeps/sparc/sparc64/bits/atomic.h
12493 (__arch_compare_and_exchange_val_32_acq): Likewise.
12494 (__arch_compare_and_exchange_val_64_acq): Likewise.
12496 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12498 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12499 * sysdeps/posix/ulimit.c: ... this.
12500 Include <limits.h>.
12501 * sysdeps/unix/bsd/ulimit.c: Remove file.
12503 2013-01-23 Adam Conrad <adconrad@0c3.net>
12505 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12506 (LDFLAGS-tst-array5): Likewise.
12508 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12511 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12512 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12513 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12514 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12516 2013-01-21 David S. Miller <davem@davemloft.net>
12518 * sysdeps/sparc/backtrace.c: New file.
12519 * sysdeps/sparc/sparc32/backtrace.h: New file.
12520 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12521 * sysdeps/sparc/sparc64/backtrace.h: New file.
12522 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12523 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12526 2013-01-21 Andreas Schwab <schwab@suse.de>
12529 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12532 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12538 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12539 Mark Mitchell <mark@codesourcery.com>
12540 Tom de Vries <tom@codesourcery.com>
12541 Paul Pluzhnikov <ppluzhnikov@google.com>
12543 * debug/tst-backtrace2.c: New file.
12544 * debug/tst-backtrace3.c: Likewise.
12545 * debug/tst-backtrace4.c: Likewise.
12546 * debug/tst-backtrace5.c: Likewise.
12547 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12548 (CFLAGS-tst-backtrace3.c): Likewise.
12549 (CFLAGS-tst-backtrace4.c): Likewise.
12550 (CFLAGS-tst-backtrace5.c): Likewise.
12551 (LDFLAGS-tst-backtrace2): Likewise.
12552 (LDFLAGS-tst-backtrace3): Likewise.
12553 (LDFLAGS-tst-backtrace4): Likewise.
12554 (LDFLAGS-tst-backtrace5): Likewise.
12555 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12556 tst-backtrace4 and tst-backtrace5.
12558 2013-01-18 Anton Blanchard <anton@samba.org>
12559 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12561 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12562 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12563 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12564 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12566 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12567 "+r" and remove output regs list as redundant. Add explicit inline
12568 asm to specify register of return val to work around compiler codegen
12569 bug. Remove (int) cast on return value. Add return type parameter to
12570 use in macro so that this macro does not truncate return value for
12572 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12573 pass to INTERNAL_VSYSCALL_NCS.
12574 (INLINE_VSYSCALL): Add 'long int' as return type to
12575 INTERNAL_VSYSCALL_NCS macro invocation.
12576 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12577 INTERNAL_VSYSCALL_NCS macro invocation.
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12580 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12583 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12584 Fix application of SIMD FP exception mask.
12586 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12587 mp_no from a power of two.
12588 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12589 __mpexp_twomm1. Use __pow_mp.
12591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12594 2013-01-17 David S. Miller <davem@davemloft.net>
12596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12598 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12601 * include/complex.h: Condition contents on [!_COMPLEX_H].
12602 (__kernel_casinhf): New prototype.
12603 (__kernel_casinh): Likewise.
12604 (__kernel_casinhl): Likewise.
12605 * math/Makefile (libm_calls): Add k_casinh.
12606 * math/k_casinh.c: New file.
12607 * math/k_casinhf.c: Likewise.
12608 * math/k_casinhl.c: Likewise.
12609 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12610 finite nonzero arguments.
12611 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12612 finite nonzero arguments.
12613 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12614 finite nonzero arguments.
12615 * math/s_casinh.c: Do not include <float.h>.
12616 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12617 * math/s_casinhf.c: Do not include <float.h>.
12618 (__casinhf): Move code for finite nonzero arguments to
12620 * math/s_casinhl.c: Do not include <float.h>.
12621 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12623 (__casinhl): Move code for finite nonzero arguments to
12625 * math/libm-test.inc (cacos_test): Add more tests.
12626 * sysdeps/i386/fpu/libm-test-ulps: Update.
12627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12631 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12632 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12633 [!HAVE_MREMAP]: Remove [defined linux] case.
12634 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12636 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12638 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12640 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12642 * elf/elf.h (R_386_SIZE32): New relocation.
12643 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12645 (elf_machine_rela): Likewise.
12646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12647 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12649 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12651 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12652 (FP_FAST_FMA): Do not define.
12653 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12654 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12655 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12656 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12657 !_SOFT_FLOAT]: Likewise.
12658 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12659 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12661 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12662 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12663 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12664 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12665 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12666 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12669 2013-01-16 Andreas Schwab <schwab@suse.de>
12672 * include/stdlib.h (__mktemp): Add declaration.
12673 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12674 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12676 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12678 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12680 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12681 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12682 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12684 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12685 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12687 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12689 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12690 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12691 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12693 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12694 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12696 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12698 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12700 2013-01-15 David S. Miller <davem@davemloft.net>
12702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12703 trunc{,f} to libm-sysdep_routes.
12704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12714 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12715 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12716 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12717 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12718 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12719 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12722 nearbyint{,f} to libm-sysdep_routes.
12723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12734 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12736 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12737 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12739 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12740 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12741 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12743 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12744 libc_feholdexcept and libc_fesetenv.
12746 2013-01-15 Mike Frysinger <vapier@gentoo.org>
12748 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12750 2013-01-14 David S. Miller <davem@davemloft.net>
12752 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12753 (SPARC_ASM_VIS2_IFUNC): Likewise.
12754 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12756 use of 'siam' instruction.
12757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12790 routines to libm-sysdep_routines.
12791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12794 fdim/fdimf to libm-sysdep_routines.
12795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12803 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12804 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12805 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12806 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12808 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12811 to optimize copies.
12813 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12818 local variable MPTWO.
12819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12822 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12824 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12827 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12829 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12831 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12833 * manual/pattern.texi (glob_t): Document gl_flags.
12834 (glob64_t): Likewise.
12836 2013-01-11 David S. Miller <davem@davemloft.net>
12838 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12839 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12840 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12841 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12842 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12843 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12844 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12845 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12846 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12847 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12848 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12849 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12850 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12852 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12853 sparc V9 rather than using V8 code.
12854 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12855 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12857 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12859 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12862 2013-01-11 Roland McGrath <roland@hack.frob.com>
12864 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12865 not in the main loop.
12866 * configure: Regenerated.
12868 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12870 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12871 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12873 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12874 [!__GLIBC_HAVE_LONG_LONG] case.
12875 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12876 condition to just #else.
12877 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12878 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12879 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12880 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12882 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12883 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12884 #elif condition to just #else.
12885 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12886 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12887 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12888 #elif condition to just #else.
12890 2013-01-11 Steve Ellcey <sellcey@mips.com>
12892 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12893 (EF_MIPS_ARCH_64): Fix value.
12894 (EF_MIPS_ARCH_32R2): New.
12895 (EF_MIPS_ARCH_64R2): New.
12897 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12899 * Makeconfig (+link-pie-before-libc): New.
12900 (+link-pie-after-libc): Likewise.
12901 (+link-pie-tests): Likewise.
12902 (+link-pie): Rewritten.
12903 (link-before-libc): Remove $(config-LDFLAGS).
12904 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12905 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12906 (config-LDFLAGS): Renamed to ...
12907 (rtld-LDFLAGS): This.
12908 (rtld-tests-LDFLAGS): New macro.
12909 (link-libc-rpath-link): Likewise.
12910 (link-libc-tests-rpath-link): Likewise.
12911 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12912 (link-libc): Prepand $(link-libc-rpath-link).
12913 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12914 (test-program-prefix): New macro.
12915 (test-via-rtld-prefix): Likewise.
12916 (test-program-cmd): Likewise.
12917 (host-test-program-cmd): Likewise.
12918 * Makefile ($(common-objpfx)testrun.sh): Replace
12919 $(run-program-prefix) with $(test-program-prefix).
12920 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12922 ($(common-objpfx)shlib.lds): Likewise.
12923 (build-module-helper): Likewise.
12924 ($(common-objpfx)format.lds): Likewise.
12925 * Rules (binaries-pie-tests): New.
12926 (binaries-pie-notests): Likewise.
12927 (binaries-pie): Rewritten.
12928 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12929 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12930 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12931 (make-test-out): Replace $(host-built-program-cmd) with
12932 $(host-test-program-cmd).
12933 * config.make.in (build-hardcoded-path-in-tests): New variable.
12934 * configure.in (--enable-hardcoded-path-in-tests): New configure
12936 (hardcoded_path_in_tests): New AC_SUBST.
12937 * configure: Regenerated.
12938 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12939 $(built-program-cmd) with $(test-program-cmd).
12940 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12941 (test_program_cmd): This.
12942 * elf/Makefile ($(objpfx)order.out): Run test with
12943 $(test-program-prefix).
12944 ($(objpfx)order2.out): Likewise.
12945 ($(objpfx)tst-initorder.out): Likewise.
12946 ($(objpfx)tst-initorder2.out): Likewise.
12947 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12948 $(test-program-cmd).
12949 ($(objpfx)tst-array1-static.out): Likewise.
12950 ($(objpfx)tst-array2.out): Likewise.
12951 ($(objpfx)tst-array3.out): Likewise.
12952 ($(objpfx)tst-array4.out): Likewise.
12953 ($(objpfx)tst-array5.out): Likewise.
12954 ($(objpfx)tst-array5-static.out): Likewise.
12955 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12956 $(test-program-cmd).
12957 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12958 $(run-program-prefix) with $(test-program-prefix).
12959 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12960 (test_program_prefix): This.
12961 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12962 $(run-program-prefix) with $(test-program-prefix).
12963 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12964 (test_program_prefix): This.
12965 * iconvdata/tst-tables.sh: Likewise.
12966 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12967 $(run-program-prefix) with $(test-program-prefix).
12968 ($(objpfx)tst-translit.out): Likewise.
12969 ($(objpfx)tst-gettext2.out): Likewise.
12970 ($(objpfx)tst-gettext4.out): Likewise.
12971 ($(objpfx)tst-gettext6.out): Likewise.
12972 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12973 (test_program_prefix): This.
12974 * intl/tst-gettext2.sh: Likewise.
12975 * intl/tst-gettext4.sh Likewise.
12976 * intl/tst-gettext6.sh: Likewise.
12977 * intl/tst-translit.sh: Likewise.
12978 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12979 with $(test-program-cmd).
12980 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12981 $(run-program-prefix) with $(test-program-prefix).
12982 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12983 (test_program_prefix): This.
12984 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12985 $(run-program-prefix) with $(test-program-prefix).
12986 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12987 (test_program_prefix): This.
12988 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12989 * posix/Makefile ($(objpfx)globtest.out): Replace
12990 $(run-via-rtld-prefix) and $(test-wrapper) with
12991 $(test-program-prefix) and $(test-via-rtld-prefix).
12992 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12993 $(test-program-prefix).
12994 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12995 $(host-test-program-cmd).
12996 (tst-spawn-ARGS): Likewise.
12997 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12998 $(test-program-prefix).
12999 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13000 (test_via_rtld_prefix): This.
13001 (test_wrapper): Renamed to ...
13002 (test_program_prefix): This.
13003 (run_program_prefix): Replaced by test_program_prefix.
13004 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13005 (test_program_prefix): This.
13006 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13007 with $(host-test-program-cmd).
13008 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13009 $(run-program-prefix) with $(test-program-prefix).
13010 ($(objpfx)tst-printf.out): Likewise.
13011 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13012 $(test-program-cmd).
13013 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13014 (test_program_prefix): This.
13015 * stdio-common/tst-unbputc.sh: Likewise.
13016 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13017 $(run-program-prefix) with $(test-program-prefix).
13018 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13019 (test_program_prefix): This.
13020 * string/Makefile ($(objpfx)tst-svc.out): Replace
13021 $(built-program-cmd) with $(test-program-cmd).
13023 2013-01-11 Andreas Jaeger <aj@suse.de>
13026 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13027 value. Sync with Linux 3.7.
13029 2013-01-10 David S. Miller <davem@davemloft.net>
13031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13032 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13033 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13035 2013-01-10 Roland McGrath <roland@hack.frob.com>
13037 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13039 * configure: Regenerated.
13041 2013-01-10 David S. Miller <davem@davemloft.net>
13043 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13044 sparc V9 rather than using V8 code.
13045 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13046 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13048 2013-01-10 Roland McGrath <roland@hack.frob.com>
13050 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13051 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13052 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13053 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13054 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13055 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13056 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13057 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13058 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13059 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13060 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13061 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13062 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13063 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13064 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13065 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13066 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13067 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13068 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13069 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13070 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13071 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13072 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13073 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13074 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13075 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13076 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13078 2013-01-10 David S. Miller <davem@davemloft.net>
13080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13082 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13084 * posix/Makefile (tests-static): New variable.
13085 (tests): Add $(tests-static).
13086 (tst-exec-static-ARGS): New variable.
13087 (tst-spawn-static-ARGS): Likewise.
13088 * posix/tst-exec-static.c: New file.
13089 * posix/tst-spawn-static.c: Likewise.
13090 * posix/tst-exec.c: Support run directly.
13091 * posix/tst-spawn.c: Likewise.
13093 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13095 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13097 * math/bits/mathcalls.h (llrint): Likewise.
13098 (llround): Likewise.
13099 * stdlib/stdlib.h (struct drand48_data): Likewise.
13100 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13101 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13102 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13104 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13106 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13107 (elf_greg_t): Likewise.
13108 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13109 (__jmp_buf): Likewise.
13110 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13112 (llrint): Likewise, for all definitions.
13113 (llrintl): Likewise.
13115 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13116 Remove [__GNUC__] condition.
13117 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13118 condition to just [__USE_ISOC99].
13119 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13121 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13124 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13125 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13127 (_POSIX_V6_ILP32_OFF32): Likewise.
13128 (_XBS5_ILP32_OFF32): Likewise.
13129 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13130 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13132 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13134 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13137 doubles __mpexp_twomm1. Adjust usage.
13138 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13141 2013-01-10 Andreas Schwab <schwab@suse.de>
13144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13145 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13147 2013-01-09 David S. Miller <davem@davemloft.net>
13150 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13151 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13152 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13153 TCP_FASTOPEN): Define.
13154 (tcp_repair_opt): New structure.
13155 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13157 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13158 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13159 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13160 (tcp_cookie_transactions): New structure.
13162 2013-01-09 Anton Blanchard <anton@samba.org>
13164 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13165 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13169 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13171 * include/features.h (__USE_ANSI): Remove.
13173 2013-01-09 Roland McGrath <roland@hack.frob.com>
13175 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13177 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13179 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13181 * sysdeps/s390/fpu/libm-test-ulps: Update.
13183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13185 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13189 (denorm): Likewise.
13190 (__mp_dbl): Likewise.
13191 (__dbl_mp): Likewise.
13192 (add_magnitudes): Likewise.
13193 (sub_magnitudes): Likewise.
13199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13203 (denorm): Likewise.
13204 (__mp_dbl): Likewise.
13205 (__dbl_mp): Likewise.
13206 (add_magnitudes): Likewise.
13207 (sub_magnitudes): Likewise.
13213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13217 (denorm): Likewise.
13218 (__mp_dbl): Likewise.
13219 (__dbl_mp): Likewise.
13220 (add_magnitudes): Likewise.
13221 (sub_magnitudes): Likewise.
13228 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13230 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13231 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13232 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13233 2 && __USE_EXTERN_INLINES]: Likewise.
13235 2013-01-08 Andreas Jaeger <aj@suse.de>
13238 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13240 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13241 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13243 2013-01-07 Anton Blanchard <anton@samba.org>
13245 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13246 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13247 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13248 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13250 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13251 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13252 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13254 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13255 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13256 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13257 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13258 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13259 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13260 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13261 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13262 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13263 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13264 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13265 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13266 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13267 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13268 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13269 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13270 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13271 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13272 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13273 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13274 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13275 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13277 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13278 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13279 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13280 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13281 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13282 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13283 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13284 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13285 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13287 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13289 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13291 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13292 (__MALLOC_PMT): Likewise.
13293 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13294 [__GNUC__], only on [_LIBC].
13295 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13296 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13297 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13298 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13299 forward declaration.
13300 (realloc_hook_ini): Likewise.
13301 (memalign_hook_ini): Likewise.
13302 (__libc_memalign): Do not use __MALLOC_PMT in variable
13304 (__libc_valloc): Likewise.
13305 (__libc_pvalloc): Likewise.
13306 (__libc_calloc): Likewise.
13307 (__posix_memalign): Likewise.
13310 * math/s_casinh.c: Include <float.h>.
13311 (__casinh): Do not do computation with squaring and square root
13312 for large arguments.
13313 * math/s_casinhf.c: Include <float.h>.
13314 (__casinhf): Do not do computation with squaring and square root
13315 for large arguments.
13316 * math/s_casinhl.c: Include <float.h>.
13317 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13318 (__casinhl): Do not do computation with squaring and square root
13319 for large arguments.
13320 * math/libm-test.inc (casin_test): Add more tests.
13321 (casinh_test): Likewise.
13322 * sysdeps/i386/fpu/libm-test-ulps: Update.
13323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13325 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13327 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13328 (__x86_64_raw_data_cache_size): Likewise.
13329 (__x86_64_data_cache_size_half): Likewise.
13330 (__x86_64_raw_data_cache_size_half): Likewise.
13331 (__x86_64_shared_cache_size): Likewise.
13332 (__x86_64_raw_shared_cache_size): Likewise.
13333 (__x86_64_shared_cache_size_half): Likewise.
13334 (__x86_64_raw_shared_cache_size_half): Likewise.
13335 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13337 (__x86_data_cache_size): This.
13338 (__x86_64_raw_data_cache_size): Renamed to ...
13339 (__x86_raw_data_cache_size): This.
13340 (__x86_64_data_cache_size_half): Renamed to ...
13341 (__x86_data_cache_size_half): This.
13342 (__x86_64_raw_data_cache_size_half): Renamed to ...
13343 (__x86_raw_data_cache_size_half): This.
13344 (__x86_64_shared_cache_size): Renamed to ...
13345 (__x86_shared_cache_size): This.
13346 (__x86_64_raw_shared_cache_size): Renamed to ...
13347 (__x86_raw_shared_cache_size): This.
13348 (__x86_64_shared_cache_size_half): Renamed to ...
13349 (__x86_shared_cache_size_half): This.
13350 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13351 (__x86_raw_shared_cache_size_half): This.
13352 * sysdeps/x86_64/memcpy.S: Updated.
13353 * sysdeps/x86_64/memset.S: Likewise.
13354 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13355 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13358 2013-01-04 David S. Miller <davem@davemloft.net>
13360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13362 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13364 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13365 1 to avoid redefinition warning.
13366 (__USE_GNU): Don't define.
13367 (init_signaling_nan): Protoize.
13369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13371 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13373 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13375 (__cpymn): Likewise.
13376 (norm): Remove commented code.
13377 (denorm): Likewise.
13378 (__mp_dbl): Likewise.
13380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13381 (__cpymn): Likewise.
13382 (norm): Remove commented code.
13383 (denorm): Likewise.
13384 (__mp_dbl): Likewise.
13387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13388 mp_no value for 1.0 and 2.0.
13389 (norm): Use RADIXI instead of radixi.d.
13390 (denorm): Likewise.
13391 (__mul): Use 0.0 instead of zero.d.
13392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13393 mp_no value for 1.0 and 2.0.
13394 (norm): Use RADIXI instead of radixi.d.
13395 (denorm): Likewise.
13396 (__mul): Use 0.0 instead of zero.d.
13398 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13401 * math/s_casinh.c (__casinh): Reduce finite argument to first
13402 quadrant then set signs of results at the end.
13403 * math/s_casinhf.c (__casinhf): Likewise.
13404 * math/s_casinhl.c (__casinhl): Likewise.
13405 * math/libm-test.inc (casin_test): Add more tests.
13406 (casinh_test): Likewise.
13407 * sysdeps/i386/fpu/libm-test-ulps: Update.
13408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13410 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13412 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13414 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13416 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13418 (denorm): Likewise.
13419 (__mp_dbl): Likewise.
13422 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13423 and adjust the header comment.
13425 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13426 variable name from declaration.
13428 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13431 Initialize COMMON_CPUID_INDEX_7 element.
13432 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13433 (CPUID_RTM): Likewise.
13434 (HAS_RTM): Likewise.
13435 (COMMON_CPUID_INDEX_7): New enum.
13437 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13440 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13441 size is zero, record memory as freed.
13443 2013-01-03 Andreas Jaeger <aj@suse.de>
13445 * po/ia.po: Add new Interlingua translation.
13447 2012-01-03 Allan McRae <allan@archlinux.org>
13449 * locale/programs/localedef.c: Fix description of '--posix' flag.
13451 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13453 * NEWS: Update dates in second copyright notice.
13454 * README: Update copyright dates in example.
13455 * manual/libc.texinfo: Update copyright dates.
13456 * scripts/test-installation.pl: Update copyright date in --version
13459 * hurd/ctty-input.c: Fix copyright notice formatting.
13460 * hurd/ctty-output.c: Likewise.
13461 * hurd/dtable.c: Likewise.
13462 * hurd/hurd-raise.c: Likewise.
13463 * hurd/hurdprio.c: Likewise.
13464 * hurd/msgportdemux.c: Likewise.
13465 * misc/sys/file.h: Likewise.
13466 * misc/sys/ioctl.h: Likewise.
13467 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13468 * sysdeps/mach/hurd/chdir.c: Likewise.
13469 * sysdeps/mach/hurd/fchdir.c: Likewise.
13470 * sysdeps/mach/hurd/rename.c: Likewise.
13471 * sysdeps/mach/hurd/rmdir.c: Likewise.
13472 * sysdeps/mach/hurd/seekdir.c: Likewise.
13473 * sysdeps/mach/hurd/setsid.c: Likewise.
13474 * sysdeps/posix/wait3.c: Likewise.
13476 * All files with FSF copyright notices: Update copyright dates
13477 using scripts/update-copyrights.
13478 * intl/plural.c: Regenerated.
13479 * locale/programs/charmap-kw.h: Likewise.
13480 * locale/programs/locfile-kw.h: Likewise.
13482 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13484 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13487 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13488 calculation loop and add branch prediction.
13490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13491 check access beyond bounds of m1np.
13493 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13495 (__inv): Remove local variable MPTWO to use the global
13497 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13501 MP3HALFS static const.
13503 2013-01-01 David S. Miller <davem@davemloft.net>
13505 * po/ca.po: Update from translation team.
13507 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13509 * scripts/update-copyrights: New file.
13510 * Makeconfig: Reformat copyright notice.
13511 * ctype/ctype.h: Likewise.
13512 * debug/swprintf_chk.c: Likewise.
13513 * elf/dl-cache.c: Likewise.
13514 * elf/dl-debug.c: Likewise.
13515 * elf/dl-object.c: Likewise.
13516 * grp/initgroups.c: Likewise.
13517 * hurd/Makefile: Likewise.
13518 * hurd/hurd/signal.h: Likewise.
13519 * hurd/hurdfault.c: Likewise.
13520 * hurd/hurdioctl.c: Likewise.
13521 * hurd/hurdlookup.c: Likewise.
13522 * hurd/intr-msg.c: Likewise.
13523 * iconv/gconv_open.c: Likewise.
13524 * libio/swprintf.c: Likewise.
13525 * locale/lc-ctype.c: Likewise.
13526 * locale/nl_langinfo.c: Likewise.
13527 * mach/Machrules: Likewise.
13528 * mach/Makefile: Likewise.
13529 * malloc/obstack.h: Likewise.
13530 * manual/Makefile: Likewise.
13531 * manual/tsort.awk: Likewise.
13532 * misc/bits/stab.def: Likewise.
13533 * nis/nis_print_group_entry.c: Likewise.
13534 * nis/nis_table.c: Likewise.
13535 * nis/nss_compat/compat-pwd.c: Likewise.
13536 * nis/nss_compat/compat-spwd.c: Likewise.
13537 * po/Makefile: Likewise.
13538 * posix/fnmatch.c: Likewise.
13539 * posix/regex.h: Likewise.
13540 * resolv/Makefile: Likewise.
13541 * resolv/nss_dns/dns-network.c: Likewise.
13542 * resolv/res_hconf.c: Likewise.
13543 * scripts/gen-sorted.awk: Likewise.
13544 * soft-fp/soft-fp.h: Likewise.
13545 * stdio-common/printf.h: Likewise.
13546 * stdlib/monetary.h: Likewise.
13547 * stdlib/random.c: Likewise.
13548 * stdlib/random_r.c: Likewise.
13549 * sysdeps/generic/Makefile: Likewise.
13550 * sysdeps/gnu/Makefile: Likewise.
13551 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13579 * sysdeps/mach/hurd/errnos.awk: Likewise.
13580 * sysdeps/mach/hurd/fork.c: Likewise.
13581 * sysdeps/mach/hurd/getcwd.c: Likewise.
13582 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13583 * sysdeps/mach/hurd/mmap.c: Likewise.
13584 * sysdeps/mach/hurd/utimes.c: Likewise.
13585 * sysdeps/mach/hurd/xmknod.c: Likewise.
13586 * sysdeps/posix/profil.c: Likewise.
13587 * sysdeps/posix/readdir_r.c: Likewise.
13588 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13589 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13590 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13591 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13593 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13594 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13595 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13597 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13598 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13599 * sysdeps/pthread/lio_listio.c: Likewise.
13600 * sysdeps/sparc/dl-procinfo.h: Likewise.
13601 * sysdeps/unix/i386/sysdep.S: Likewise.
13602 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13603 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13604 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13605 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13607 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13608 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13609 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13610 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13611 * sysdeps/wordsize-32/divdi3.c: Likewise.
13612 * time/sys/time.h: Likewise.
13613 * wcsmbs/Makefile: Likewise.
13615 2013-01-01 David S. Miller <davem@davemloft.net>
13617 * po/fr.po: Update from translation team.
13619 * catgets/gencat.c: Update copyright year.
13620 * csu/version.c: Likewise.
13621 * debug/catchsegv.sh: Likewise.
13622 * debug/pcprofiledump.c: Likewise.
13623 * debug/xtrace.sh: Likewise.
13624 * elf/ldconfig.c: Likewise.
13625 * elf/ldd.bash.in: Likewise.
13626 * elf/pldd.c: Likewise.
13627 * elf/sotruss.ksh: Likewise.
13628 * elf/sprof.c: Likewise.
13629 * iconv/iconv_prog.c: Likewise.
13630 * iconv/iconvconfig.c: Likewise.
13631 * locale/programs/locale.c: Likewise.
13632 * locale/programs/localedef.c: Likewise.
13633 * login/programs/pt_chown.c: Likewise.
13634 * malloc/memusage.sh: Likewise.
13635 * malloc/memusagestat.c: Likewise.
13636 * malloc/mtrace.pl: Likewise.
13637 * nscd/nscd.c: Likewise.
13638 * nss/getent.c: Likewise.
13639 * nss/makedb.c: Likewise.
13640 * posix/getconf.c: Likewise.
13642 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13644 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13647 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13649 * math/bits/mathcalls.h (modf): Use __nonnull.
13651 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13653 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13654 (split): Use macro CN instead of the bare value.
13655 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13658 instead of the bare value.
13659 (power1): Likewise.
13661 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13665 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13667 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13669 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13670 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13671 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13672 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13674 2012-12-28 Andreas Jaeger <aj@suse.de>
13676 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13677 values are from Linux 3.7.
13679 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13680 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13682 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13684 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13687 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13689 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13690 variables with preprocessor constants.
13691 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13692 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13693 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13695 2012-12-27 Bruno Haible <bruno@clisp.org>
13698 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13701 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13704 and use variable directly.
13705 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13707 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13709 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13712 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13714 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13715 include directive. Remove local variable MPONE.
13716 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13717 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13720 2012-12-25 David S. Miller <davem@davemloft.net>
13722 * version.h (RELEASE): Set to "development".
13723 (VERSION): Set to "2.17.90".
13724 * NEWS: Add 2.18 section.
13726 2012-12-21 David S. Miller <davem@davemloft.net>
13728 * po/hr.po: Update from translation team.
13730 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13732 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13734 2012-12-19 Steve Ellcey <sellcey@mips.com>
13736 * NEWS: Mention new memcpy for MIPS.
13738 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13740 * manual/contrib.texi (Contributors): Spelling correction.
13742 2012-12-15 David S. Miller <davem@davemloft.net>
13744 * po/ru.po: Update from translation team.
13746 2012-12-13 David S. Miller <davem@davemloft.net>
13748 * NEWS: Mention IFUNC testsuite enhancements.
13750 * po/pl.po: Update from translation team.
13751 * po/bg.po: Likewise.
13753 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13754 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13756 2012-12-11 David S. Miller <davem@davemloft.net>
13758 * po/sv.po: Update from translation team.
13760 * po/vi.po: Update from translation team.
13762 * po/cs.po: Update from translation team.
13764 * po/de.po: Update from translation team.
13765 * po/eo.po: Likewise.
13766 * po/nl.po: Likewise.
13768 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13771 * manual/argp.texi (Argp Helper Functions): Move node to follow
13772 Argp Parsing State.
13775 * manual/conf.texi (Limits on File System Capacity): Mention if
13776 terminating null is included in the max size.
13778 2012-12-10 Andreas Jaeger <aj@suse.de>
13780 * po/cs.po: Update from translation team.
13782 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13784 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13785 void pointer and cast to uintptr_t.
13786 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13788 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13789 * sysdeps/s390/s390-64/memset.S: Likewise.
13791 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
13794 * menual/message.texi (Message Translation): Fix typos.
13795 (Helper programs for gettext): Likewise.
13797 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13800 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13803 2012-12-07 David S. Miller <davem@davemloft.net>
13805 * po/libc.pot: Update.
13807 2012-12-07 Richard Henderson <rth@redhat.com>
13810 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13811 normal/normal case to before the switch.
13812 (_FP_DIV): Likewise.
13814 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13815 Mike Frysinger <vapier@gentoo.org>
13817 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13818 check for __NR_fadvise64_64.
13820 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13822 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13823 0, not just to plain "0" as a statement.
13824 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13827 2012-12-06 Joseph Myers <joseph@codesourcery.com>
13829 * NEWS: Use sourceware.org in Bugzilla URL.
13831 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13834 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13836 * stdio-common/tst-put-error.c (do_test): Add newline to the
13837 padded test to ensure flush.
13839 2012-12-05 Jeff Law <law@redhat.com>
13841 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13843 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13845 * README: Don't refer to ports add-on as distributed separately.
13846 Mention AArch64 in list of systems supported in the ports add-on.
13848 * LICENSES: Add more non-FSF copyright and license notices.
13850 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13853 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13855 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13856 10000 as width of padded output.
13858 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13860 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13863 variable LX with __attribute__ ((unused)).
13864 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13866 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13869 with __attribute__ ((unused)).
13871 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13873 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13875 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13877 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13878 (CFLAGS-nldbl-acos.c): New variable.
13879 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13880 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13881 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13882 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13883 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13884 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13885 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13886 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13887 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13888 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13889 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13890 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13891 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13892 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13893 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13894 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13895 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13896 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13897 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13898 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13899 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13900 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13901 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13902 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13903 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13904 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13905 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13906 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13907 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13908 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13909 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13910 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13911 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13912 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13913 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13914 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13915 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13916 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13917 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13918 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13919 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13920 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13921 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13922 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13923 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13924 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13925 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13926 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13927 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13928 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13929 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13930 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13931 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13932 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13933 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13934 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13935 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13936 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13937 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13938 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13939 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13940 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13941 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13942 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13943 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13944 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13945 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13946 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13947 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13948 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13949 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13950 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13951 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13952 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13953 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13954 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13955 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13956 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13957 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13958 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13959 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13960 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13961 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13962 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13963 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13964 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13965 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13966 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13967 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13968 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13969 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13970 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13971 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13972 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13973 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13974 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13975 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13978 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13982 whole low double instead of just low 47 bits when splitting values
13985 2012-12-03 Allan McRae <allan@archlinux.org>
13987 * manual/stdio.texi (Predefined Printf Handlers): Remove
13988 @hsep and @vsep usage.
13990 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13992 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13993 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13995 2012-12-03 Jeff Law <law@redhat.com>
13997 * time/sys/time.h (settimeofday): Do not mark TV argument
14000 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14002 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14003 when currently writing and seek to current position when not.
14004 * libio/Makefile (tests): Remove bug-fclose1.
14005 * libio/bug-fclose1.c: Delete.
14007 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14009 * manual/arith.texi (feenableexcept): Fix typo.
14010 (fedisableexcept): Likewise.
14012 2012-11-30 Roland McGrath <roland@hack.frob.com>
14014 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14015 second, differently-typed declaration, rather than a cast.
14017 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14019 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14020 * include/rpc/svc.h: ... here.
14022 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14025 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14026 depending n and resplen2 to catch cases where answer
14029 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14031 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14032 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14034 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14036 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14038 2012-11-29 Roland McGrath <roland@hack.frob.com>
14040 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14042 2012-11-28 Jeff Law <law@redhat.com>
14045 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14046 dataset_temporary. Track alloca usage into alloca_used.
14047 If dataset is large allocate and release it via malloc/free.
14049 2012-06-04 Florian Weimer <fweimer@redhat.com>
14052 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14054 2012-11-28 David S. Miller <davem@davemloft.net>
14056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14058 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14061 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14062 of pi/2 rounded to nearest to 64 bits.
14063 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14064 nearest to 64 bits.
14065 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14068 2012-11-28 Jeff Law <law@redhat.com>
14069 Martin Osvald <mosvald@redhat.com>
14072 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14073 * sunrpc/svc.c: Include time.h.
14074 (__svc_accept_failed): New function.
14075 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14076 any reason other than EINTR, call __svc_accept_failed.
14077 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14078 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14080 2012-11-28 Andreas Schwab <schwab@suse.de>
14082 * scripts/abilist.awk: Also handle indirect functions in .opd
14085 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14088 * sysdeps/x86/fpu/powl_helper.c: New file.
14089 * sysdeps/x86/fpu/Makefile: Likewise.
14090 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14092 (__ieee754_powl): Use __powl_helper for finite arguments except
14093 integer exponents below 8.
14094 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14096 (__ieee754_powl): Use __powl_helper for finite arguments except
14097 integer exponents below 8.
14098 * math/libm-test.inc (pow_test): Add more tests and enable some
14099 previously disabled tests.
14100 * sysdeps/i386/fpu/libm-test-ulps: Update.
14101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14103 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14104 Carlos O'Donell <carlos_odonell@mentor.com>
14106 * nss/makedb.c (is_prime): Assert that input is odd and greater
14107 than 4. Note that fact in a comment too.
14108 (next_prime): Add 4 to input.
14110 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14113 * libio/Makefile (tests): Add test case tst-fwrite-error.
14114 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14115 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14116 * libio/tst-fwrite-error.c: New test case.
14118 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14120 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14121 before casting to void *.
14122 * include/libc-internal.h (__pointer_type): New macro.
14123 (__integer_if_pointer_type_sub): Likewise.
14124 (__integer_if_pointer_type): Likewise.
14125 (cast_to_integer): Likewise.
14126 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14127 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14128 before casting to atomic64_t.
14129 (atomic_exchange_acq): Likewise.
14130 (__arch_exchange_and_add_body): Likewise.
14131 (__arch_add_body): Likewise.
14132 (atomic_add_negative): Likewise.
14133 (atomic_add_zero): Likewise.
14135 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14137 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14138 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14139 (add_fdes): Likewise.
14140 (linear_search_fdes): Likewise.
14141 (binary_search_unencoded_fdes): Likewise.
14143 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14145 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14147 2012-11-24 Adam Conrad <adconrad@0c3.net>
14149 * configure.in: Autodetect C++ header directories.
14150 * configure: Regenerated.
14152 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14154 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14156 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14160 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14162 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14163 LDBL_MANT_DIG == 106]: Disable some tests.
14164 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14166 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14171 input for small inputs. Return +/- pi/2 for large inputs.
14172 * math/libm-test.inc (atan_test): Add more tests.
14174 * sysdeps/generic/unwind-dw2-fde-glibc.c
14175 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14176 __attribute__ ((unused)).
14179 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14180 x * y if x and y are nonzero and z is zero.
14183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14184 nonzero exponents with absolute value below 0x1p-117 to +/-
14188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14189 up arguments below 2**-450, not just those below 2**-500.
14190 * math/libm-test.inc (hypot_test): Add another test.
14193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14194 Return a+b for ratio over 2**120, not 2**60.
14195 * math/libm-test.inc (hypot_test): Add another test.
14197 * math/libm-test.inc (clog_test): Use
14198 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14199 (clog10_test): Likewise.
14202 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14204 2012-11-22 Andreas Schwab <schwab@suse.de>
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14208 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14210 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14211 printf output with newline.
14213 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14216 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14217 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14218 -z nodlopen, -z initfirst and -z execstack support.
14219 * configure: Regenerated.
14221 * elf/elf.h (DF_1_NODIRECT): New macro.
14222 (DF_1_IGNMULDEF): Likewise.
14223 (DF_1_NOKSYMS): Likewise.
14224 (DF_1_NOHDR): Likewise.
14225 (DF_1_EDITED): Likewise.
14226 (DF_1_NORELOC): Likewise.
14227 (DF_1_SYMINTPOSE): Likewise.
14228 (DF_1_GLOBAUDIT): Likewise.
14229 (DF_1_SINGLETON): Likewise.
14230 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14231 DT_1_SUPPORTED_MASK bits.
14232 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14234 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14236 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14238 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14240 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14243 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14244 (sendmmsg): Move declarations...
14245 * socket/sys/socket.h: ... here.
14246 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14247 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14249 * socket/recvmmsg.c: ... this new file.
14250 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14251 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14252 definition of __sendmmsg hidden.
14253 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14254 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14255 Move ENOSYS stub into and include it from...
14256 * socket/sendmmsg.c: ... this new file.
14257 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14258 (sysdep_routines): Move recvmmsg and sendmmsg...
14259 * socket/Makefile (routines): ... here.
14260 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14261 (GLIBC_PRIVATE): Add __sendmmsg.
14262 * include/sys/socket.h (__sendmmsg): Add declarations.
14263 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14266 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14269 variable I1 with __attribute__ ((unused)).
14270 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14272 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14274 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14275 DUMMY variables with __attribute__ ((unused)).
14277 * bits/byteswap.h: Include <bits/types.h>.
14278 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14280 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14282 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14283 string_t. Do not manually set errno.
14284 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14285 length with __strnlen. Make sure to both set errno and return it on
14288 2012-11-19 David S. Miller <davem@davemloft.net>
14290 With help from Joseph Myers.
14291 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14292 very large arguments properly.
14293 * math/libm-test.inc (atan_test): New tests.
14294 (atan2_test): New tests.
14295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14298 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14301 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14304 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14305 [POSIX] (EADDRNOTAVAIL): Likewise.
14306 [POSIX] (EAFNOSUPPORT): Likewise.
14307 [POSIX] (EALREADY): Likewise.
14308 [POSIX] (ECONNABORTED): Likewise.
14309 [POSIX] (ECONNREFUSED): Likewise.
14310 [POSIX] (ECONNRESET): Likewise.
14311 [POSIX] (EDESTADDRREQ): Likewise.
14312 [POSIX] (EDQUOT): Likewise.
14313 [POSIX] (EHOSTUNREACH): Likewise.
14314 [POSIX] (EIDRM): Likewise.
14315 [POSIX] (EISCONN): Likewise.
14316 [POSIX] (ELOOP): Likewise.
14317 [POSIX] (EMULTIHOP): Likewise.
14318 [POSIX] (ENETDOWN): Likewise.
14319 [POSIX] (ENETUNREACH): Likewise.
14320 [POSIX] (ENOBUFS): Likewise.
14321 [POSIX] (ENODATA): Likewise.
14322 [POSIX] (ENOLINK): Likewise.
14323 [POSIX] (ENOMSG): Likewise.
14324 [POSIX] (ENOPROTOOPT): Likewise.
14325 [POSIX] (ENOSR): Likewise.
14326 [POSIX] (ENOSTR): Likewise.
14327 [POSIX] (ENOTCONN): Likewise.
14328 [POSIX] (ENOTSOCK): Likewise.
14329 [POSIX] (EOPNOTSUPP): Likewise.
14330 [POSIX] (EOVERFLOW): Likewise.
14331 [POSIX] (EPROTO): Likewise.
14332 [POSIX] (EPROTONOSUPPORT): Likewise.
14333 [POSIX] (EPROTOTYPE): Likewise.
14334 [POSIX] (ESTALE): Likewise.
14335 [POSIX] (ETIME): Likewise.
14336 [POSIX] (ETXTBSY): Likewise.
14337 [POSIX] (EWOULDBLOCK): Likewise.
14338 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14339 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14340 [POSIX] (SEEK_CUR): Likewise.
14341 [POSIX] (SEEK_END): Likewise.
14342 [POSIX || UNIX98] (mode_t): Do not require.
14343 [POSIX] (off_t): Likewise.
14344 [POSIX] (pid_t): Likewise.
14345 [POSIX] (sys/stat.h): Do not allow header.
14346 [POSIX] (unistd.h): Likewise.
14347 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14348 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14349 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14350 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14352 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14353 sigevent): Specify elements.
14354 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14356 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14357 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14359 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14360 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14361 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14362 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14363 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14364 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14365 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14366 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14367 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14368 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14369 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14370 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14371 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14372 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14374 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14376 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14378 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14380 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14381 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14382 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14383 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14384 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14385 Specify lower bound on value.
14386 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14387 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14388 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14389 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14390 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14391 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14392 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14393 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14395 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14397 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14398 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14399 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14400 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14401 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14402 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14403 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14404 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14405 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14406 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14407 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14408 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14409 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14412 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14414 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14416 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14417 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14418 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14419 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14420 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14421 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14423 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14424 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14425 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14426 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14427 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14428 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14429 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14431 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14432 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14433 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14434 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14435 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14436 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14437 specify as optional.
14438 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14439 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14440 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14441 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14442 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14443 [XPG3] (NL_LANGMAX): Likewise.
14444 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14445 [POSIX || XPG3] (NL_NMAX): Likewise.
14446 [POSIX || XPG3] (NL_SETMAX): Likewise.
14447 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14448 [XPG3] (NZERO): Likewise.
14449 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14450 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14451 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14452 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14453 (REG_ERANGE): Expect.
14454 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14456 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14457 Use (void) in prototype.
14458 [POSIX] (*_t): Allow.
14459 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14460 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14461 (WRDE_BADVAL): Expect.
14463 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14465 [XPG3 || XPG4] (O_RSYNC): Likewise.
14466 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14468 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14469 [XPG3 || XPG4] (sigqueue): Likewise.
14470 [XPG3 || XPG4] (sigtimedwait): Likewise.
14471 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14472 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14473 [XPG3 || XPG4] (vsnprintf): Likewise.
14474 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14476 [XPG3 || XPG4] (blksize_t): Likewise.
14477 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14479 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14480 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14481 [XPG3 || XPG4] (struct itimerspec): Likewise.
14482 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14483 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14484 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14485 [XPG3 || XPG4] (clockid_t): Likewise.
14486 [XPG3 || XPG4] (timer_t): Likewise.
14487 [XPG3 || XPG4] (clock_getres): Likewise.
14488 [XPG3 || XPG4] (clock_gettime): Likewise.
14489 [XPG3 || XPG4] (clock_settime): Likewise.
14490 [XPG3 || XPG4] (nanosleep): Likewise.
14491 [XPG3 || XPG4] (timer_create): Likewise.
14492 [XPG3 || XPG4] (timer_delete): Likewise.
14493 [XPG3 || XPG4] (timer_gettime): Likewise.
14494 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14495 [XPG3 || XPG4] (timer_settime): Likewise.
14496 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14497 [XPG3 || XPG4] (getlogin_r): Likewise.
14498 [XPG3 || XPG4] (pread): Likewise.
14499 [XPG3 || XPG4] (pthread_atfork): Likewise.
14500 [XPG3 || XPG4] (pwrite): Likewise.
14503 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14506 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14508 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14509 finalizing MALLSTREAM.
14511 * sysdeps/mach/hurd/syncfs.c: New file.
14513 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14516 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14517 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14518 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14519 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14520 (_nss_dns_gethostbyname4_r): Likewise.
14521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14522 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14524 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14527 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14529 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14531 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14532 * elf/cache.c (print_entry): Print ",AArch64" for
14535 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14536 * elf/cache.c (print_entry): Print ",hard-float" for
14539 2012-11-18 David S. Miller <davem@davemloft.net>
14541 With help from Joseph Myers.
14542 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14544 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14546 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14547 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14549 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14550 * math/libm-test.inc (y0_test): New tests.
14551 (y1_test): New tests.
14552 * sysdeps/i386/fpu/libm-test-ulps: Update.
14553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14556 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14558 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14560 * configure: Regenerated.
14562 2012-11-17 David S. Miller <davem@davemloft.net>
14565 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14566 nonzero exponents with absolute value below 0x1p-128 to +/-
14569 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14571 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14573 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14575 * posix/getconf-speclist.c: New file.
14576 * posix/posix-envs.def: Likewise.
14577 * posix/confstr.c (START_ENV_GROUP): New macro.
14578 (END_ENV_GROUP): Likewise.
14579 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14580 (KNOWN_PRESENT_ENV_STRING): Likewise.
14581 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14582 (UNKNOWN_ENVIRONMENT): Likewise.
14583 (confstr): Include posix-envs.def instead of handling
14584 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14585 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14586 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14587 (END_ENV_GROUP): Likewise.
14588 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14589 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14590 (UNKNOWN_ENVIRONMENT): Likewise.
14591 (__sysconf): Include posix-envs.def instead of handling associated
14592 cases directly here.
14593 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14594 preprocessing getconf-speclist.c rather than running getconf or
14595 generating empty file.
14597 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14599 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14601 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14604 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14606 2012-11-16 David S. Miller <davem@davemloft.net>
14608 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14609 smaller than LDBL_EPSILON/2.0L, just return xm1.
14611 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14613 * elf/tst-array1.c (init): Set constructor priority to 1000.
14614 (fini): Set destructor priority to 1000.
14615 * elf/tst-array2dep.c: Likewise.
14617 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14620 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14621 (_IO_new_file_xsputn): Also return EOF if none of the input
14622 data was written when overflow failed.
14623 * libio/iopadn.c (_IO_padn): Likewise.
14624 * libio/iowpadn.c (_IO_wpadn): Likewise.
14625 * stdio-common/tst-put-error.c: Add copyright notice.
14626 (do_test): Add case for printing padded string.
14627 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14628 _IO_padn returned error.
14629 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14630 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14633 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14635 * libio/libioP.h: Add comment note that the references to C++
14636 bits are now obsolete.
14638 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14640 * math/libm-test.inc (check_complex): Use asprintf.
14642 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14644 * debug/pcprofiledump.c (print_version): Update copyright year.
14645 * malloc/memusagestat.c (print_version): Likewise.
14647 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14650 * elf/Makefile (tests): Add tst-audit8.
14651 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14652 ($(objpfx)tst-audit8.out): New target.
14653 (tst-audit8-ENV): New variable.
14654 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14655 audit if l_reloc_result is NULL.
14656 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14657 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14658 * elf/tst-audit8.c: New file.
14660 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14662 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14663 * misc/Makefile (CFLAGS-select.c): Define.
14664 * posix/Makefile (CFLAGS-pause.c): Define.
14666 2012-11-13 David S. Miller <davem@davemloft.net>
14668 * crypt/Makefile: Move test targets after toplevel Rules
14669 inclusion. Grab any necessary sysdep routines when linking.
14670 * crypt/md5.c (md5_process_block): Remove define, we will always
14671 name it __md5_process_block.
14672 (md5_finish_ctx): Update md5_process_block call.
14673 (md5_stream): Likewise.
14674 (md5_process_bytes): Likewise.
14675 (md5_process_block): Rename to __md5_process_block and move to ...
14676 * crypt/md5-block.c: ... here.
14677 * crypt/sha256.c (sha256_process_block): Move to ...
14678 * crypt/sha256-block.c: ... here.
14679 * crypt/sha512.c (sha512_process_block): Move to ...
14680 * crypt/sha512-block.c: ... here.
14681 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14683 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14684 * sysdeps/sparc/sparc64/multiarch/Makefile
14685 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14687 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14688 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14690 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14691 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14692 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14693 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14694 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14695 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14696 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14697 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14698 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14700 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14701 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14703 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14705 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14707 * timezone/tzselect.ksh: Update from tzcode git revision
14708 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14709 * timezone/zdump.c: Likewise.
14710 * timezone/zic.c: Likewise.
14711 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14712 in TZVERSION setting, not $(PKGVERSION).
14713 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14714 REPORT_BUGS_TO settings.
14717 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14720 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14722 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14723 detection to immediately after _FP_ROUND().
14724 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14727 2012-11-11 David S. Miller <davem@davemloft.net>
14729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14731 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14732 __close rather than their public counterparts.
14734 2012-11-10 Joseph Myers <joseph@codesourcery.com>
14736 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14738 [UNIX98] (sem_timedwait): Do not expect.
14739 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14740 [XPG4 || UNIX98] (sockatmark): Do not expect.
14741 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14742 (clock_getcpuclockid): Do not expect.
14743 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14744 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14746 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14747 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14748 [UNIX98] (vwscanf): Likewise.
14749 [UNIX98] (vswscanf): Likewise.
14751 2012-11-09 Joseph Myers <joseph@codesourcery.com>
14753 * timezone/version.h: Remove file.
14754 * timezone/README: Do not refer to version.h.
14755 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14756 $(objpfx)version.h.
14757 ($(objpfx)zdump.o): Likewise.
14758 ($(objpfx)version.h): New target.
14760 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14762 * timezone/README: Don't mention modification to tzselect.ksh.
14763 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14764 work on unmodified tzselect.ksh. Substitute version numbers in
14767 * Makefile (format-me): Remove.
14768 (INSTALL): Adjust indentation. Use commands directly instead of
14769 using $(format-me).
14771 * aclocal.m4 (ACX_PKGVERSION): New macro.
14772 (ACX_BUGURL): Likewise.
14773 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14774 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14775 (REPORT_BUGS_TO): Likewise.
14776 * configure: Regenerated.
14777 * config.h.in (PKGVERSION): New macro.
14778 (REPORT_BUGS_TO): Likewise.
14779 * config.make.in (PKGVERSION): New variable.
14780 (PKGVERSION_TEXI): Likewise.
14781 (REPORT_BUGS_TO): Likewise.
14782 (REPORT_BUGS_TEXI): Likewise.
14783 * Makefile (format-me): Use -I$(common-objpfx)manual.
14784 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14785 ($(common-objpfx)manual/%): New target.
14786 (manual/%): Remove target.
14787 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14788 (print_version): Use PKGVERSION.
14789 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14790 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14791 and REPORT_BUGS_TO.
14792 ($(objpfx)xtrace): Likewise.
14793 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14794 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14795 (print_version): Use PKGVERSION.
14796 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14797 (do_version): Use PKGVERSION.
14798 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14800 (common-ldd-rewrite): Likewise.
14801 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14802 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14803 (print_version): Use PKGVERSION.
14804 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14805 * elf/pldd.c (argp_program_bug_address): Remove variable.
14806 (more_help): New function.
14807 (argp): Use more_help.
14808 (print_version): Use PKGVERSION.
14809 * elf/sln.c (main): Use PKGVERSION.
14810 (usage): Use REPORT_BUGS_TO.
14811 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14812 (top level): Use PKGVERSION.
14813 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14814 (print_version): Use PKGVERSION.
14815 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14816 (print_version): Use PKGVERSION.
14817 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14818 (print_version): Use PKGVERSION.
14819 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14820 (print_version): Use PKGVERSION.
14821 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14822 (print_version): Use PKGVERSION.
14823 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14824 (print_version): Use PKGVERSION.
14825 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14827 ($(objpfx)memusage): Likewise.
14828 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14829 (do_version): Use PKGVERSION.
14830 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14831 (print_version): Use PKGVERSION.
14832 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14833 ($PKGVERSION): New variable.
14834 ($REPORT_BUGS_TO): Likewise.
14835 (usage): Use $REPORT_BUGS_TO.
14836 (top level): Use $PKGVERSION.
14837 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14838 ($(objpfx)pkgvers.texi): New rule.
14839 ($(objpfx)stamp-pkgvers): Likewise.
14840 * manual/install.texi: Include pkgvers.texi.
14841 (--with-pkgversion): Document new configure option.
14842 (--with-bugurl): Likewise.
14843 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14844 than necessarily for this particular distribution. Use
14845 REPORT_BUGS_TO for where to report bugs.
14846 * INSTALL: Regenerated.
14847 * manual/libc.texinfo: Include pkgvers.texi.
14848 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14849 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14850 (print_version): Use PKGVERSION.
14851 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14852 (print_version): Use PKGVERSION.
14853 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14854 (print_version): Use PKGVERSION.
14855 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14856 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14858 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14859 (print_version): Use PKGVERSION.
14860 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14861 (print_version): Use PKGVERSION.
14862 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14865 * timezone/checktab.awk: Update from tzcode 2012i.
14866 * timezone/ialloc.c: Likewise.
14867 * timezone/private.h: Likewise.
14868 * timezone/scheck.c: Likewise.
14869 * timezone/tzfile.h: Likewise.
14870 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14871 (TZVERSION): Hardcode tzcode version number.
14872 * timezone/zdump.c: Update from tzcode 2012i.
14873 * timezone/zic.c: Likewise.
14874 * timezone/version.h: New file.
14875 * timezone/README: Describe version.h. Update upstream location.
14878 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14879 (mktemp): Enable declaration.
14880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14897 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14898 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14899 for copies of such integer values.
14900 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14901 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14903 2012-11-09 Andreas Jaeger <aj@suse.de>
14905 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14906 definitions and declarations that are provided by
14907 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14909 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14911 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14912 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14913 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14916 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14918 * elf/elf.h: Update comment before AArch64 relocations.
14920 2012-11-07 David S. Miller <davem@davemloft.net>
14922 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14923 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14924 (__start_context): Declare.
14925 (__makecontext_ret): Delete.
14926 (__makecontext): Hook up __start_context instead of
14928 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14929 (sysdep_routines): Add __start_context when in stdlib.
14931 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14933 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14934 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14935 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14937 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14938 (READELF): New variable. Use it instead of hardcoded "readelf".
14940 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14942 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14943 * sysdeps/x86/Makefile: Here.
14944 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14945 * sysdeps/x86/tst-xmmymm.sh: This.
14947 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14949 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14951 [UNIX98] (pthread_barrier_t): Do not expect.
14952 [UNIX98] (pthread_barrierattr_t): Likewise.
14953 [UNIX98] (pthread_spinlock_t): Likewise.
14954 [UNIX98] (pthread_barrier_destroy): Likewise.
14955 [UNIX98] (pthread_barrier_init): Likewise.
14956 [UNIX98] (pthread_barrier_wait): Likewise.
14957 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14958 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14959 [UNIX98] (pthread_barrierattr_init): Likewise.
14960 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14961 [UNIX98] (pthread_getcpuclockid): Likewise.
14962 [UNIX98] (pthread_mutex_timedlock): Likewise.
14963 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14964 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14965 [UNIX98] (pthread_sigmask): Likewise.
14966 [UNIX98] (pthread_spin_destroy): Likewise.
14967 [UNIX98] (pthread_spin_init): Likewise.
14968 [UNIX98] (pthread_spin_lock): Likewise.
14969 [UNIX98] (pthread_spin_trylock): Likewise.
14970 [UNIX98] (pthread_spin_unlock): Likewise.
14971 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14973 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14974 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14975 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14976 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14977 [XPG3 || XPG4] (pthread_key_t): Likewise.
14978 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14979 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14980 [XPG3 || XPG4] (pthread_once_t): Likewise.
14981 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14982 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14983 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14984 [XPG3 || XPG4] (pthread_t): Likewise.
14986 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14988 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14990 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14991 Change function return type to int.
14993 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14994 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14995 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14996 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14997 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14998 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14999 [!POSIX] (posix_madvise): Likewise.
15000 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15002 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15003 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15004 (mode_t): Likewise.
15005 (posix_mem_offset): Likewise.
15006 (posix_typed_mem_get_info): Likewise.
15007 (posix_typed_mem_open): Likewise.
15009 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15010 Change condition to [XOPEN2K8].
15012 * conform/conformtest.pl: Preprocess allow-header data with -x c
15013 instead of from stdin.
15014 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15015 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15016 [C99-based standards] (cerfc): Likewise.
15017 [C99-based standards] (cexp2): Likewise.
15018 [C99-based standards] (cexpm1): Likewise.
15019 [C99-based standards] (clog10): Likewise.
15020 [C99-based standards] (clog1p): Likewise.
15021 [C99-based standards] (clog2): Likewise.
15022 [C99-based standards] (clgamma): Likewise.
15023 [C99-based standards] (ctgamma): Likewise.
15024 [C99-based standards] (cerff): Likewise.
15025 [C99-based standards] (cerfcf): Likewise.
15026 [C99-based standards] (cexp2f): Likewise.
15027 [C99-based standards] (cexpm1f): Likewise.
15028 [C99-based standards] (clog10f): Likewise.
15029 [C99-based standards] (clog1pf): Likewise.
15030 [C99-based standards] (clog2f): Likewise.
15031 [C99-based standards] (clgammaf): Likewise.
15032 [C99-based standards] (ctgammaf): Likewise.
15033 [C99-based standards] (cerfl): Likewise.
15034 [C99-based standards] (cerfcl): Likewise.
15035 [C99-based standards] (cexp2l): Likewise.
15036 [C99-based standards] (cexpm1l): Likewise.
15037 [C99-based standards] (clog10l): Likewise.
15038 [C99-based standards] (clog1pl): Likewise.
15039 [C99-based standards] (clog2l): Likewise.
15040 [C99-based standards] (clgammal): Likewise.
15041 [C99-based standards] (ctgammal): Likewise.
15042 * conform/data/inttypes.h-data [C99-based standards]: Include
15043 stdint.h-data. Remove all expectations for stdint.h contents.
15044 [C99-based standards] (PRI*): Do not allow.
15045 [C99-based standards] (SCN*): Likewise.
15046 [C99-based standards] (*_t): Likewise.
15047 [C99-based-standards] (PRId8): Expect macro.
15048 [C99-based-standards] (PRIi8): Likewise.
15049 [C99-based-standards] (PRIo8): Likewise.
15050 [C99-based-standards] (PRIu8): Likewise.
15051 [C99-based-standards] (PRIx8): Likewise.
15052 [C99-based-standards] (PRIX8): Likewise.
15053 [C99-based-standards] (SCNd8): Likewise.
15054 [C99-based-standards] (SCNi8): Likewise.
15055 [C99-based-standards] (SCNo8): Likewise.
15056 [C99-based-standards] (SCNu8): Likewise.
15057 [C99-based-standards] (SCNx8): Likewise.
15058 [C99-based-standards] (PRIdLEAST8): Likewise.
15059 [C99-based-standards] (PRIiLEAST8): Likewise.
15060 [C99-based-standards] (PRIoLEAST8): Likewise.
15061 [C99-based-standards] (PRIuLEAST8): Likewise.
15062 [C99-based-standards] (PRIxLEAST8): Likewise.
15063 [C99-based-standards] (PRIXLEAST8): Likewise.
15064 [C99-based-standards] (SCNdLEAST8): Likewise.
15065 [C99-based-standards] (SCNiLEAST8): Likewise.
15066 [C99-based-standards] (SCNoLEAST8): Likewise.
15067 [C99-based-standards] (SCNuLEAST8): Likewise.
15068 [C99-based-standards] (SCNxLEAST8): Likewise.
15069 [C99-based-standards] (PRIdFAST8): Likewise.
15070 [C99-based-standards] (PRIiFAST8): Likewise.
15071 [C99-based-standards] (PRIoFAST8): Likewise.
15072 [C99-based-standards] (PRIuFAST8): Likewise.
15073 [C99-based-standards] (PRIxFAST8): Likewise.
15074 [C99-based-standards] (PRIXFAST8): Likewise.
15075 [C99-based-standards] (SCNdFAST8): Likewise.
15076 [C99-based-standards] (SCNiFAST8): Likewise.
15077 [C99-based-standards] (SCNoFAST8): Likewise.
15078 [C99-based-standards] (SCNuFAST8): Likewise.
15079 [C99-based-standards] (SCNxFAST8): Likewise.
15080 [C99-based-standards] (PRId16): Likewise.
15081 [C99-based-standards] (PRIi16): Likewise.
15082 [C99-based-standards] (PRIo16): Likewise.
15083 [C99-based-standards] (PRIu16): Likewise.
15084 [C99-based-standards] (PRIx16): Likewise.
15085 [C99-based-standards] (PRIX16): Likewise.
15086 [C99-based-standards] (SCNd16): Likewise.
15087 [C99-based-standards] (SCNi16): Likewise.
15088 [C99-based-standards] (SCNo16): Likewise.
15089 [C99-based-standards] (SCNu16): Likewise.
15090 [C99-based-standards] (SCNx16): Likewise.
15091 [C99-based-standards] (PRIdLEAST16): Likewise.
15092 [C99-based-standards] (PRIiLEAST16): Likewise.
15093 [C99-based-standards] (PRIoLEAST16): Likewise.
15094 [C99-based-standards] (PRIuLEAST16): Likewise.
15095 [C99-based-standards] (PRIxLEAST16): Likewise.
15096 [C99-based-standards] (PRIXLEAST16): Likewise.
15097 [C99-based-standards] (SCNdLEAST16): Likewise.
15098 [C99-based-standards] (SCNiLEAST16): Likewise.
15099 [C99-based-standards] (SCNoLEAST16): Likewise.
15100 [C99-based-standards] (SCNuLEAST16): Likewise.
15101 [C99-based-standards] (SCNxLEAST16): Likewise.
15102 [C99-based-standards] (PRIdFAST16): Likewise.
15103 [C99-based-standards] (PRIiFAST16): Likewise.
15104 [C99-based-standards] (PRIoFAST16): Likewise.
15105 [C99-based-standards] (PRIuFAST16): Likewise.
15106 [C99-based-standards] (PRIxFAST16): Likewise.
15107 [C99-based-standards] (PRIXFAST16): Likewise.
15108 [C99-based-standards] (SCNdFAST16): Likewise.
15109 [C99-based-standards] (SCNiFAST16): Likewise.
15110 [C99-based-standards] (SCNoFAST16): Likewise.
15111 [C99-based-standards] (SCNuFAST16): Likewise.
15112 [C99-based-standards] (SCNxFAST16): Likewise.
15113 [C99-based-standards] (PRId32): Likewise.
15114 [C99-based-standards] (PRIi32): Likewise.
15115 [C99-based-standards] (PRIo32): Likewise.
15116 [C99-based-standards] (PRIu32): Likewise.
15117 [C99-based-standards] (PRIx32): Likewise.
15118 [C99-based-standards] (PRIX32): Likewise.
15119 [C99-based-standards] (SCNd32): Likewise.
15120 [C99-based-standards] (SCNi32): Likewise.
15121 [C99-based-standards] (SCNo32): Likewise.
15122 [C99-based-standards] (SCNu32): Likewise.
15123 [C99-based-standards] (SCNx32): Likewise.
15124 [C99-based-standards] (PRIdLEAST32): Likewise.
15125 [C99-based-standards] (PRIiLEAST32): Likewise.
15126 [C99-based-standards] (PRIoLEAST32): Likewise.
15127 [C99-based-standards] (PRIuLEAST32): Likewise.
15128 [C99-based-standards] (PRIxLEAST32): Likewise.
15129 [C99-based-standards] (PRIXLEAST32): Likewise.
15130 [C99-based-standards] (SCNdLEAST32): Likewise.
15131 [C99-based-standards] (SCNiLEAST32): Likewise.
15132 [C99-based-standards] (SCNoLEAST32): Likewise.
15133 [C99-based-standards] (SCNuLEAST32): Likewise.
15134 [C99-based-standards] (SCNxLEAST32): Likewise.
15135 [C99-based-standards] (PRIdFAST32): Likewise.
15136 [C99-based-standards] (PRIiFAST32): Likewise.
15137 [C99-based-standards] (PRIoFAST32): Likewise.
15138 [C99-based-standards] (PRIuFAST32): Likewise.
15139 [C99-based-standards] (PRIxFAST32): Likewise.
15140 [C99-based-standards] (PRIXFAST32): Likewise.
15141 [C99-based-standards] (SCNdFAST32): Likewise.
15142 [C99-based-standards] (SCNiFAST32): Likewise.
15143 [C99-based-standards] (SCNoFAST32): Likewise.
15144 [C99-based-standards] (SCNuFAST32): Likewise.
15145 [C99-based-standards] (SCNxFAST32): Likewise.
15146 [C99-based-standards] (PRId64): Likewise.
15147 [C99-based-standards] (PRIi64): Likewise.
15148 [C99-based-standards] (PRIo64): Likewise.
15149 [C99-based-standards] (PRIu64): Likewise.
15150 [C99-based-standards] (PRIx64): Likewise.
15151 [C99-based-standards] (PRIX64): Likewise.
15152 [C99-based-standards] (SCNd64): Likewise.
15153 [C99-based-standards] (SCNi64): Likewise.
15154 [C99-based-standards] (SCNo64): Likewise.
15155 [C99-based-standards] (SCNu64): Likewise.
15156 [C99-based-standards] (SCNx64): Likewise.
15157 [C99-based-standards] (PRIdLEAST64): Likewise.
15158 [C99-based-standards] (PRIiLEAST64): Likewise.
15159 [C99-based-standards] (PRIoLEAST64): Likewise.
15160 [C99-based-standards] (PRIuLEAST64): Likewise.
15161 [C99-based-standards] (PRIxLEAST64): Likewise.
15162 [C99-based-standards] (PRIXLEAST64): Likewise.
15163 [C99-based-standards] (SCNdLEAST64): Likewise.
15164 [C99-based-standards] (SCNiLEAST64): Likewise.
15165 [C99-based-standards] (SCNoLEAST64): Likewise.
15166 [C99-based-standards] (SCNuLEAST64): Likewise.
15167 [C99-based-standards] (SCNxLEAST64): Likewise.
15168 [C99-based-standards] (PRIdFAST64): Likewise.
15169 [C99-based-standards] (PRIiFAST64): Likewise.
15170 [C99-based-standards] (PRIoFAST64): Likewise.
15171 [C99-based-standards] (PRIuFAST64): Likewise.
15172 [C99-based-standards] (PRIxFAST64): Likewise.
15173 [C99-based-standards] (PRIXFAST64): Likewise.
15174 [C99-based-standards] (SCNdFAST64): Likewise.
15175 [C99-based-standards] (SCNiFAST64): Likewise.
15176 [C99-based-standards] (SCNoFAST64): Likewise.
15177 [C99-based-standards] (SCNuFAST64): Likewise.
15178 [C99-based-standards] (SCNxFAST64): Likewise.
15179 [C99-based-standards] (PRIdMAX): Likewise.
15180 [C99-based-standards] (PRIiMAX): Likewise.
15181 [C99-based-standards] (PRIoMAX): Likewise.
15182 [C99-based-standards] (PRIuMAX): Likewise.
15183 [C99-based-standards] (PRIxMAX): Likewise.
15184 [C99-based-standards] (PRIXMAX): Likewise.
15185 [C99-based-standards] (SCNdMAX): Likewise.
15186 [C99-based-standards] (SCNiMAX): Likewise.
15187 [C99-based-standards] (SCNoMAX): Likewise.
15188 [C99-based-standards] (SCNuMAX): Likewise.
15189 [C99-based-standards] (SCNxMAX): Likewise.
15190 [C99-based-standards] (PRIdPTR): Likewise.
15191 [C99-based-standards] (PRIiPTR): Likewise.
15192 [C99-based-standards] (PRIoPTR): Likewise.
15193 [C99-based-standards] (PRIuPTR): Likewise.
15194 [C99-based-standards] (PRIxPTR): Likewise.
15195 [C99-based-standards] (PRIXPTR): Likewise.
15196 [C99-based-standards] (SCNdPTR): Likewise.
15197 [C99-based-standards] (SCNiPTR): Likewise.
15198 [C99-based-standards] (SCNoPTR): Likewise.
15199 [C99-based-standards] (SCNuPTR): Likewise.
15200 [C99-based-standards] (SCNxPTR): Likewise.
15201 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15203 * conform/data/stdint.h-data: Update comments to clarify
15205 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15207 [C99-based standards] (INT8_MAX): Likewise.
15208 [C99-based standards] (INT16_MIN): Likewise.
15209 [C99-based standards] (INT16_MAX): Likewise.
15210 [C99-based standards] (INT32_MIN): Likewise.
15211 [C99-based standards] (INT32_MAX): Likewise.
15212 [C99-based standards] (INT64_MIN): Likewise.
15213 [C99-based standards] (INT64_MAX): Likewise.
15214 [C99-based standards] (UINT8_MAX): Likewise.
15215 [C99-based standards] (UINT16_MAX): Likewise.
15216 [C99-based standards] (UINT32_MAX): Likewise.
15217 [C99-based standards] (UINT64_MAX): Likewise.
15218 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15219 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15220 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15221 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15222 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15223 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15224 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15225 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15226 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15227 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15228 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15229 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15230 [C99-based standards] (INT_FAST8_MIN): Likewise.
15231 [C99-based standards] (INT_FAST8_MAX): Likewise.
15232 [C99-based standards] (INT_FAST16_MIN): Likewise.
15233 [C99-based standards] (INT_FAST16_MAX): Likewise.
15234 [C99-based standards] (INT_FAST32_MIN): Likewise.
15235 [C99-based standards] (INT_FAST32_MAX): Likewise.
15236 [C99-based standards] (INT_FAST64_MIN): Likewise.
15237 [C99-based standards] (INT_FAST64_MAX): Likewise.
15238 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15239 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15240 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15241 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15242 [C99-based standards] (INTPTR_MIN): Likewise.
15243 [C99-based standards] (INTPTR_MAX): Likewise.
15244 [C99-based standards] (UINTPTR_MAX): Likewise.
15245 [C99-based standards] (INTMAX_MIN): Likewise.
15246 [C99-based standards] (INTMAX_MAX): Likewise.
15247 [C99-based standards] (UINTMAX_MAX): Likewise.
15248 [C99-based standards] (PTRDIFF_MIN): Likewise.
15249 [C99-based standards] (PTRDIFF_MAX): Likewise.
15250 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15251 [C99-based standards] (SIZE_MAX): Likewise.
15252 [C99-based standards] (WCHAR_MAX): Likewise.
15253 [C99-based standards] (WINT_MAX): Likewise.
15254 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15255 constraint on value.
15256 [C99-based standards] (WCHAR_MIN): Likewise.
15257 [C99-based standards] (WINT_MIN): Likewise.
15258 [C99-based standards] (*_t): Allow.
15259 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15260 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15261 Include math.h-data and complex.h-data. Remove all expectations
15262 of math.h and complex.h contents.
15263 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15265 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15266 (struct tm): Expect tag.
15267 [C99-based-standards] (wcstof): Expect function.
15268 [C99-based-standards] (wcstold): Likewise.
15269 [C99-based-standards] (wcstoll): Likewise.
15270 [C99-based-standards] (wcstoull): Likewise.
15271 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15272 macro-int-constant. Specify type.
15273 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15274 constraint on value.
15275 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15277 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15279 [ISO C standards]: Do not allow headers.
15280 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15281 wcs[abcdefghijklmnopqrstuvwxyz]*.
15282 [ISO C standards] (*_t): Do not allow.
15283 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15285 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15286 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15288 [ISO C standards]: Do not allow headers.
15289 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15290 is[abcdefghijklmnopqrstuvwxyz]*.
15291 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15292 to[abcdefghijklmnopqrstuvwxyz]*.
15293 [ISO C standards] (*_t): Do not allow.
15294 * conform/data/stdalign.h-data: New file.
15295 * conform/data/stdbool.h-data: Likewise.
15296 * conform/data/stdnoreturn.h-data: Likewise.
15298 2012-11-07 Roland McGrath <roland@hack.frob.com>
15301 * manual/filesys.texi (Directory Entries): Typo fix.
15302 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15304 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15306 * elf/elf.h (EM_AARCH64): New macro.
15307 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15308 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15309 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15310 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15311 (R_AARCH64_TLSDESC): Likewise.
15312 (NT_ARM_TLS): Likewise.
15313 (NT_ARM_HW_BREAK): Likewise.
15314 (NT_ARM_HW_WATCH): Likewise.
15316 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15319 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15320 (__ieee754_powl): Saturate nonzero exponents with absolute value
15321 below 0x1p-79 to +/- 0x1p-79.
15322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15323 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15324 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15325 nonzero exponents with absolute value below 0x1p-32 to +/-
15327 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15328 (__ieee754_powl): Saturate nonzero exponents with absolute value
15329 below 0x1p-79 to +/- 0x1p-79.
15330 * math/libm-test.inc (pow_test): Add more tests.
15332 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15334 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15335 _dl_s390_cap_flags with kernel. Increase string length.
15336 (_dl_s390_platforms): Add z196 and zEC12.
15338 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15340 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15341 Change XOPEN21K to XOPEN2K.
15343 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15345 * string/memmove.c: Use memcpy when possible.
15347 2012-11-06 Andreas Jaeger <aj@suse.de>
15349 * po/eo.po: Update from translation team.
15351 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15355 exponent and small x and y exponents, scale x or y up. Increase
15356 by 2 the exponent used in scaling up.
15357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15359 * math/libm-test.inc (fma_test): Add more tests.
15360 (fma_test_towardzero): Likewise.
15361 (fma_test_downward): Likewise.
15362 (fma_test_upward): Likewise.
15364 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15367 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15371 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15372 namespace for names of struct fields.
15373 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15375 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15376 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15378 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15381 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15383 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15385 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15389 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15392 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15396 definitely overflow as x * y not x * y + z.
15397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15399 * math/libm-test.inc (fma_test): Add more tests.
15400 (fma_test_towardzero): Likewise.
15401 (fma_test_downward): Likewise.
15402 (fma_test_upward): Likewise.
15404 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15408 * include/stub-tag.h: Remove file.
15409 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15411 * manual/maint.texi (Porting): Don't reference it.
15412 * Makerules ($(objpfx)stubs): Likewise.
15413 * dirent/closedir.c: Don't include <stub-tag.h>.
15414 * dirent/dirfd.c: Likewise.
15415 * dirent/fdopendir.c: Likewise.
15416 * dirent/getdents.c: Likewise.
15417 * dirent/getdents64.c: Likewise.
15418 * dirent/opendir.c: Likewise.
15419 * dirent/readdir.c: Likewise.
15420 * dirent/readdir64.c: Likewise.
15421 * dirent/readdir64_r.c: Likewise.
15422 * dirent/readdir_r.c: Likewise.
15423 * dirent/rewinddir.c: Likewise.
15424 * dirent/seekdir.c: Likewise.
15425 * dirent/telldir.c: Likewise.
15426 * gmon/profil.c: Likewise.
15427 * grp/setgroups.c: Likewise.
15428 * inet/if_index.c: Likewise.
15429 * io/access.c: Likewise.
15430 * io/chdir.c: Likewise.
15431 * io/chmod.c: Likewise.
15432 * io/chown.c: Likewise.
15433 * io/close.c: Likewise.
15434 * io/dup.c: Likewise.
15435 * io/dup2.c: Likewise.
15436 * io/dup3.c: Likewise.
15437 * io/euidaccess.c: Likewise.
15438 * io/faccessat.c: Likewise.
15439 * io/fchdir.c: Likewise.
15440 * io/fchmod.c: Likewise.
15441 * io/fchmodat.c: Likewise.
15442 * io/fchown.c: Likewise.
15443 * io/fchownat.c: Likewise.
15444 * io/fcntl.c: Likewise.
15445 * io/flock.c: Likewise.
15446 * io/fstatfs.c: Likewise.
15447 * io/fstatfs64.c: Likewise.
15448 * io/fstatvfs.c: Likewise.
15449 * io/fstatvfs64.c: Likewise.
15450 * io/futimens.c: Likewise.
15451 * io/fxstat.c: Likewise.
15452 * io/fxstat64.c: Likewise.
15453 * io/fxstatat.c: Likewise.
15454 * io/fxstatat64.c: Likewise.
15455 * io/getcwd.c: Likewise.
15456 * io/isatty.c: Likewise.
15457 * io/lchmod.c: Likewise.
15458 * io/lchown.c: Likewise.
15459 * io/link.c: Likewise.
15460 * io/linkat.c: Likewise.
15461 * io/lseek.c: Likewise.
15462 * io/lseek64.c: Likewise.
15463 * io/lxstat64.c: Likewise.
15464 * io/mkdir.c: Likewise.
15465 * io/mkdirat.c: Likewise.
15466 * io/mkfifo.c: Likewise.
15467 * io/mkfifoat.c: Likewise.
15468 * io/open.c: Likewise.
15469 * io/open64.c: Likewise.
15470 * io/openat.c: Likewise.
15471 * io/openat64.c: Likewise.
15472 * io/pipe.c: Likewise.
15473 * io/pipe2.c: Likewise.
15474 * io/poll.c: Likewise.
15475 * io/posix_fadvise.c: Likewise.
15476 * io/posix_fadvise64.c: Likewise.
15477 * io/posix_fallocate.c: Likewise.
15478 * io/posix_fallocate64.c: Likewise.
15479 * io/read.c: Likewise.
15480 * io/readlink.c: Likewise.
15481 * io/readlinkat.c: Likewise.
15482 * io/rmdir.c: Likewise.
15483 * io/sendfile.c: Likewise.
15484 * io/sendfile64.c: Likewise.
15485 * io/statfs.c: Likewise.
15486 * io/statfs64.c: Likewise.
15487 * io/statvfs.c: Likewise.
15488 * io/statvfs64.c: Likewise.
15489 * io/symlink.c: Likewise.
15490 * io/symlinkat.c: Likewise.
15491 * io/ttyname.c: Likewise.
15492 * io/ttyname_r.c: Likewise.
15493 * io/umask.c: Likewise.
15494 * io/unlink.c: Likewise.
15495 * io/unlinkat.c: Likewise.
15496 * io/utime.c: Likewise.
15497 * io/utimensat.c: Likewise.
15498 * io/write.c: Likewise.
15499 * io/xmknod.c: Likewise.
15500 * io/xmknodat.c: Likewise.
15501 * io/xstat.c: Likewise.
15502 * io/xstat64.c: Likewise.
15503 * login/getpt.c: Likewise.
15504 * login/grantpt.c: Likewise.
15505 * login/unlockpt.c: Likewise.
15506 * math/e_acoshl.c: Likewise.
15507 * math/e_acosl.c: Likewise.
15508 * math/e_asinl.c: Likewise.
15509 * math/e_atan2l.c: Likewise.
15510 * math/e_atanhl.c: Likewise.
15511 * math/e_coshl.c: Likewise.
15512 * math/e_expl.c: Likewise.
15513 * math/e_fmodl.c: Likewise.
15514 * math/e_gammal_r.c: Likewise.
15515 * math/e_hypotl.c: Likewise.
15516 * math/e_j0l.c: Likewise.
15517 * math/e_j1l.c: Likewise.
15518 * math/e_jnl.c: Likewise.
15519 * math/e_lgammal_r.c: Likewise.
15520 * math/e_log10l.c: Likewise.
15521 * math/e_log2l.c: Likewise.
15522 * math/e_logl.c: Likewise.
15523 * math/e_powl.c: Likewise.
15524 * math/e_rem_pio2l.c: Likewise.
15525 * math/e_sinhl.c: Likewise.
15526 * math/e_sqrtl.c: Likewise.
15527 * math/fclrexcpt.c: Likewise.
15528 * math/fedisblxcpt.c: Likewise.
15529 * math/feenablxcpt.c: Likewise.
15530 * math/fegetenv.c: Likewise.
15531 * math/fegetexcept.c: Likewise.
15532 * math/fegetround.c: Likewise.
15533 * math/feholdexcpt.c: Likewise.
15534 * math/fesetenv.c: Likewise.
15535 * math/fesetround.c: Likewise.
15536 * math/feupdateenv.c: Likewise.
15537 * math/fgetexcptflg.c: Likewise.
15538 * math/fraiseexcpt.c: Likewise.
15539 * math/fsetexcptflg.c: Likewise.
15540 * math/ftestexcept.c: Likewise.
15541 * math/k_cosl.c: Likewise.
15542 * math/k_rem_pio2l.c: Likewise.
15543 * math/k_sinl.c: Likewise.
15544 * math/k_tanl.c: Likewise.
15545 * math/s_asinhl.c: Likewise.
15546 * math/s_atanl.c: Likewise.
15547 * math/s_cbrtl.c: Likewise.
15548 * math/s_erfl.c: Likewise.
15549 * math/s_expm1l.c: Likewise.
15550 * math/s_log1pl.c: Likewise.
15551 * math/s_tanhl.c: Likewise.
15552 * misc/acct.c: Likewise.
15553 * misc/brk.c: Likewise.
15554 * misc/chflags.c: Likewise.
15555 * misc/chroot.c: Likewise.
15556 * misc/fchflags.c: Likewise.
15557 * misc/fgetxattr.c: Likewise.
15558 * misc/flistxattr.c: Likewise.
15559 * misc/fremovexattr.c: Likewise.
15560 * misc/fsetxattr.c: Likewise.
15561 * misc/fsync.c: Likewise.
15562 * misc/ftruncate.c: Likewise.
15563 * misc/futimes.c: Likewise.
15564 * misc/futimesat.c: Likewise.
15565 * misc/getdomain.c: Likewise.
15566 * misc/getdtsz.c: Likewise.
15567 * misc/gethostid.c: Likewise.
15568 * misc/gethostname.c: Likewise.
15569 * misc/getloadavg.c: Likewise.
15570 * misc/getpagesize.c: Likewise.
15571 * misc/getsysstats.c: Likewise.
15572 * misc/getxattr.c: Likewise.
15573 * misc/gtty.c: Likewise.
15574 * misc/ioctl.c: Likewise.
15575 * misc/lgetxattr.c: Likewise.
15576 * misc/listxattr.c: Likewise.
15577 * misc/llistxattr.c: Likewise.
15578 * misc/lremovexattr.c: Likewise.
15579 * misc/lsetxattr.c: Likewise.
15580 * misc/lutimes.c: Likewise.
15581 * misc/madvise.c: Likewise.
15582 * misc/mincore.c: Likewise.
15583 * misc/mlock.c: Likewise.
15584 * misc/mlockall.c: Likewise.
15585 * misc/mmap.c: Likewise.
15586 * misc/mprotect.c: Likewise.
15587 * misc/msync.c: Likewise.
15588 * misc/munlock.c: Likewise.
15589 * misc/munlockall.c: Likewise.
15590 * misc/munmap.c: Likewise.
15591 * misc/preadv.c: Likewise.
15592 * misc/preadv64.c: Likewise.
15593 * misc/ptrace.c: Likewise.
15594 * misc/pwritev.c: Likewise.
15595 * misc/pwritev64.c: Likewise.
15596 * misc/readv.c: Likewise.
15597 * misc/reboot.c: Likewise.
15598 * misc/remap_file_pages.c: Likewise.
15599 * misc/removexattr.c: Likewise.
15600 * misc/revoke.c: Likewise.
15601 * misc/select.c: Likewise.
15602 * misc/setdomain.c: Likewise.
15603 * misc/setegid.c: Likewise.
15604 * misc/seteuid.c: Likewise.
15605 * misc/sethostid.c: Likewise.
15606 * misc/sethostname.c: Likewise.
15607 * misc/setregid.c: Likewise.
15608 * misc/setreuid.c: Likewise.
15609 * misc/setxattr.c: Likewise.
15610 * misc/sstk.c: Likewise.
15611 * misc/stty.c: Likewise.
15612 * misc/swapoff.c: Likewise.
15613 * misc/swapon.c: Likewise.
15614 * misc/sync.c: Likewise.
15615 * misc/syncfs.c: Likewise.
15616 * misc/syscall.c: Likewise.
15617 * misc/truncate.c: Likewise.
15618 * misc/ualarm.c: Likewise.
15619 * misc/usleep.c: Likewise.
15620 * misc/ustat.c: Likewise.
15621 * misc/utimes.c: Likewise.
15622 * misc/vhangup.c: Likewise.
15623 * misc/writev.c: Likewise.
15624 * posix/_exit.c: Likewise.
15625 * posix/alarm.c: Likewise.
15626 * posix/execve.c: Likewise.
15627 * posix/fexecve.c: Likewise.
15628 * posix/fork.c: Likewise.
15629 * posix/fpathconf.c: Likewise.
15630 * posix/getaddrinfo.c: Likewise.
15631 * posix/getegid.c: Likewise.
15632 * posix/geteuid.c: Likewise.
15633 * posix/getgid.c: Likewise.
15634 * posix/getgroups.c: Likewise.
15635 * posix/getlogin.c: Likewise.
15636 * posix/getlogin_r.c: Likewise.
15637 * posix/getpgid.c: Likewise.
15638 * posix/getpid.c: Likewise.
15639 * posix/getppid.c: Likewise.
15640 * posix/getresgid.c: Likewise.
15641 * posix/getresuid.c: Likewise.
15642 * posix/getsid.c: Likewise.
15643 * posix/getuid.c: Likewise.
15644 * posix/glob64.c: Likewise.
15645 * posix/nanosleep.c: Likewise.
15646 * posix/pathconf.c: Likewise.
15647 * posix/pause.c: Likewise.
15648 * posix/posix_madvise.c: Likewise.
15649 * posix/pread.c: Likewise.
15650 * posix/pread64.c: Likewise.
15651 * posix/pwrite.c: Likewise.
15652 * posix/pwrite64.c: Likewise.
15653 * posix/sched_getaffinity.c: Likewise.
15654 * posix/sched_getp.c: Likewise.
15655 * posix/sched_gets.c: Likewise.
15656 * posix/sched_primax.c: Likewise.
15657 * posix/sched_primin.c: Likewise.
15658 * posix/sched_rr_gi.c: Likewise.
15659 * posix/sched_setaffinity.c: Likewise.
15660 * posix/sched_setp.c: Likewise.
15661 * posix/sched_sets.c: Likewise.
15662 * posix/sched_yield.c: Likewise.
15663 * posix/setgid.c: Likewise.
15664 * posix/setlogin.c: Likewise.
15665 * posix/setpgid.c: Likewise.
15666 * posix/setresgid.c: Likewise.
15667 * posix/setresuid.c: Likewise.
15668 * posix/setsid.c: Likewise.
15669 * posix/setuid.c: Likewise.
15670 * posix/sleep.c: Likewise.
15671 * posix/spawni.c: Likewise.
15672 * posix/sysconf.c: Likewise.
15673 * posix/times.c: Likewise.
15674 * posix/wait.c: Likewise.
15675 * posix/wait3.c: Likewise.
15676 * posix/wait4.c: Likewise.
15677 * posix/waitpid.c: Likewise.
15678 * resolv/gai_sigqueue.c: Likewise.
15679 * resource/getpriority.c: Likewise.
15680 * resource/getrlimit.c: Likewise.
15681 * resource/getrusage.c: Likewise.
15682 * resource/nice.c: Likewise.
15683 * resource/setpriority.c: Likewise.
15684 * resource/setrlimit.c: Likewise.
15685 * resource/ulimit.c: Likewise.
15686 * rt/aio_cancel.c: Likewise.
15687 * rt/aio_fsync.c: Likewise.
15688 * rt/aio_read.c: Likewise.
15689 * rt/aio_sigqueue.c: Likewise.
15690 * rt/aio_suspend.c: Likewise.
15691 * rt/aio_write.c: Likewise.
15692 * rt/clock_getres.c: Likewise.
15693 * rt/clock_gettime.c: Likewise.
15694 * rt/clock_nanosleep.c: Likewise.
15695 * rt/clock_settime.c: Likewise.
15696 * rt/lio_listio.c: Likewise.
15697 * rt/mq_close.c: Likewise.
15698 * rt/mq_getattr.c: Likewise.
15699 * rt/mq_notify.c: Likewise.
15700 * rt/mq_open.c: Likewise.
15701 * rt/mq_receive.c: Likewise.
15702 * rt/mq_send.c: Likewise.
15703 * rt/mq_setattr.c: Likewise.
15704 * rt/mq_timedreceive.c: Likewise.
15705 * rt/mq_timedsend.c: Likewise.
15706 * rt/mq_unlink.c: Likewise.
15707 * rt/shm_open.c: Likewise.
15708 * rt/shm_unlink.c: Likewise.
15709 * rt/timer_create.c: Likewise.
15710 * rt/timer_delete.c: Likewise.
15711 * rt/timer_getoverr.c: Likewise.
15712 * rt/timer_gettime.c: Likewise.
15713 * rt/timer_settime.c: Likewise.
15714 * setjmp/__longjmp.c: Likewise.
15715 * setjmp/setjmp.c: Likewise.
15716 * signal/kill.c: Likewise.
15717 * signal/killpg.c: Likewise.
15718 * signal/raise.c: Likewise.
15719 * signal/sigaction.c: Likewise.
15720 * signal/sigaltstack.c: Likewise.
15721 * signal/sigblock.c: Likewise.
15722 * signal/sigignore.c: Likewise.
15723 * signal/sigintr.c: Likewise.
15724 * signal/signal.c: Likewise.
15725 * signal/sigpause.c: Likewise.
15726 * signal/sigpending.c: Likewise.
15727 * signal/sigqueue.c: Likewise.
15728 * signal/sigreturn.c: Likewise.
15729 * signal/sigset.c: Likewise.
15730 * signal/sigsetmask.c: Likewise.
15731 * signal/sigstack.c: Likewise.
15732 * signal/sigsuspend.c: Likewise.
15733 * signal/sigtimedwait.c: Likewise.
15734 * signal/sigvec.c: Likewise.
15735 * signal/sigwait.c: Likewise.
15736 * signal/sigwaitinfo.c: Likewise.
15737 * signal/sysv_signal.c: Likewise.
15738 * socket/accept.c: Likewise.
15739 * socket/accept4.c: Likewise.
15740 * socket/bind.c: Likewise.
15741 * socket/connect.c: Likewise.
15742 * socket/getpeername.c: Likewise.
15743 * socket/getsockname.c: Likewise.
15744 * socket/getsockopt.c: Likewise.
15745 * socket/isfdtype.c: Likewise.
15746 * socket/listen.c: Likewise.
15747 * socket/recv.c: Likewise.
15748 * socket/recvfrom.c: Likewise.
15749 * socket/recvmsg.c: Likewise.
15750 * socket/send.c: Likewise.
15751 * socket/sendmsg.c: Likewise.
15752 * socket/sendto.c: Likewise.
15753 * socket/setsockopt.c: Likewise.
15754 * socket/shutdown.c: Likewise.
15755 * socket/sockatmark.c: Likewise.
15756 * socket/socket.c: Likewise.
15757 * socket/socketpair.c: Likewise.
15758 * stdio-common/ctermid.c: Likewise.
15759 * stdio-common/cuserid.c: Likewise.
15760 * stdio-common/remove.c: Likewise.
15761 * stdio-common/rename.c: Likewise.
15762 * stdio-common/renameat.c: Likewise.
15763 * stdio-common/tempname.c: Likewise.
15764 * stdlib/getcontext.c: Likewise.
15765 * stdlib/makecontext.c: Likewise.
15766 * stdlib/setcontext.c: Likewise.
15767 * stdlib/swapcontext.c: Likewise.
15768 * stdlib/system.c: Likewise.
15769 * streams/fattach.c: Likewise.
15770 * streams/fdetach.c: Likewise.
15771 * streams/getmsg.c: Likewise.
15772 * streams/getpmsg.c: Likewise.
15773 * streams/putmsg.c: Likewise.
15774 * streams/putpmsg.c: Likewise.
15775 * sysdeps/unix/bsd/getpt.c: Likewise.
15776 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15777 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15778 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15781 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15782 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15783 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15784 * sysvipc/msgctl.c: Likewise.
15785 * sysvipc/msgget.c: Likewise.
15786 * sysvipc/msgrcv.c: Likewise.
15787 * sysvipc/msgsnd.c: Likewise.
15788 * sysvipc/semctl.c: Likewise.
15789 * sysvipc/semget.c: Likewise.
15790 * sysvipc/semop.c: Likewise.
15791 * sysvipc/semtimedop.c: Likewise.
15792 * sysvipc/shmat.c: Likewise.
15793 * sysvipc/shmctl.c: Likewise.
15794 * sysvipc/shmdt.c: Likewise.
15795 * sysvipc/shmget.c: Likewise.
15796 * termios/tcdrain.c: Likewise.
15797 * termios/tcflow.c: Likewise.
15798 * termios/tcflush.c: Likewise.
15799 * termios/tcgetattr.c: Likewise.
15800 * termios/tcgetpgrp.c: Likewise.
15801 * termios/tcsendbrk.c: Likewise.
15802 * termios/tcsetattr.c: Likewise.
15803 * termios/tcsetpgrp.c: Likewise.
15804 * time/adjtime.c: Likewise.
15805 * time/clock.c: Likewise.
15806 * time/getitimer.c: Likewise.
15807 * time/gettimeofday.c: Likewise.
15808 * time/setitimer.c: Likewise.
15809 * time/settimeofday.c: Likewise.
15810 * time/stime.c: Likewise.
15811 * time/time.c: Likewise.
15813 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15815 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15818 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15820 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15822 2012-11-03 Joseph Myers <joseph@codesourcery.com>
15825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15826 FE_TONEAREST before applying Dekker multiplication and Knuth
15827 addition. Clear inexact exceptions and check for exact zero
15828 results afterwards.
15829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15830 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15832 * math/libm-test.inc (fma_test): Add more tests.
15833 (fma_test_towardzero): Likewise.
15834 (fma_test_downward): Likewise.
15835 (fma_test_upward): Likewise.
15836 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15838 (libc_fesetround): New macro.
15839 (libc_fesetroundf): Likewise.
15840 (libc_fesetroundl): Likewise.
15841 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15843 (libc_fesetround_387): Likewise.
15844 (libc_fesetroundf): New macro.
15845 (libc_fesetround): Likewise.
15846 (libc_fesetroundl): Likewise.
15847 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15849 (libc_fesetroundf): New macro.
15850 (libc_fesetround): Likewise.
15851 (libc_fesetroundl): Likewise.
15852 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15853 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15854 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15856 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15857 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15859 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15860 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15862 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15866 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15867 integer constant usable in #if and use that to give value to enum
15869 (FE_DIVBYZERO): Likewise.
15870 (FE_UNDERFLOW): Likewise.
15871 (FE_OVERFLOW): Likewise.
15872 (FE_INVALID): Likewise.
15873 (FE_INVALID_SNAN): Likewise.
15874 (FE_INVALID_ISI): Likewise.
15875 (FE_INVALID_IDI): Likewise.
15876 (FE_INVALID_ZDZ): Likewise.
15877 (FE_INVALID_IMZ): Likewise.
15878 (FE_INVALID_COMPARE): Likewise.
15879 (FE_INVALID_SOFTWARE): Likewise.
15880 (FE_INVALID_SQRT): Likewise.
15881 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15882 (FE_TONEAREST): Likewise.
15883 (FE_TOWARDZERO): Likewise.
15884 (FE_UPWARD): Likewise.
15885 (FE_DOWNWARD): Likewise.
15886 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15887 (FE_DIVBYZERO): Likewise.
15888 (FE_OVERFLOW): Likewise.
15889 (FE_UNDERFLOW): Likewise.
15890 (FE_INEXACT): Likewise.
15891 (FE_TONEAREST): Likewise.
15892 (FE_DOWNWARD): Likewise.
15893 (FE_UPWARD): Likewise.
15894 (FE_TOWARDZERO): Likewise.
15895 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15896 (FE_UNDERFLOW): Likewise.
15897 (FE_OVERFLOW): Likewise.
15898 (FE_DIVBYZERO): Likewise.
15899 (FE_INVALID): Likewise.
15900 (FE_TONEAREST): Likewise.
15901 (FE_TOWARDZERO): Likewise.
15902 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15903 (FE_OVERFLOW): Likewise.
15904 (FE_UNDERFLOW): Likewise.
15905 (FE_DIVBYZERO): Likewise.
15906 (FE_INEXACT): Likewise.
15907 (FE_TONEAREST): Likewise.
15908 (FE_TOWARDZERO): Likewise.
15909 (FE_UPWARD): Likewise.
15910 (FE_DOWNWARD): Likewise.
15911 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15912 (FE_DIVBYZERO): Likewise.
15913 (FE_OVERFLOW): Likewise.
15914 (FE_UNDERFLOW): Likewise.
15915 (FE_INEXACT): Likewise.
15916 (FE_TONEAREST): Likewise.
15917 (FE_DOWNWARD): Likewise.
15918 (FE_UPWARD): Likewise.
15919 (FE_TOWARDZERO): Likewise.
15921 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15923 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15925 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15927 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15928 commands. Quote $PWD.
15929 (blacklist_exports): Don't use remove_newlines. Replace "declare
15931 (remove_newlines): Remove.
15933 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15935 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15936 * stdlib/stdlib.h (atof): Moved to ...
15937 * include/bits/stdlib-float.h: Here. New file.
15938 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15939 * stdlib/bits/stdlib-float.h: New file.
15940 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15942 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15945 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15947 * conform/conformtest.pl (@headers): Add fenv.h.
15948 * conform/data/fenv.h-data: New file.
15949 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15950 include of <math/fenv.h>.
15952 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15953 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15954 && !UNIX98]. Enables tests for XOPEN2K8.
15955 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15956 POSIX2008]: Likewise.
15958 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15959 (struct rusage): Do not expect type or its members.
15962 * math/math.h (FP_NAN): Define macro to integer constant usable in
15963 #if and use that to give value to enum constant.
15964 (FP_INFINITE): Likewise.
15965 (FP_ZERO): Likewise.
15966 (FP_SUBNORMAL): Likewise.
15967 (FP_NORMAL): Likewise.
15969 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15971 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15972 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15975 2012-11-02 Roland McGrath <roland@hack.frob.com>
15977 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15978 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15979 autoconf-time if not.
15980 * configure.in: Remove AC_PREREQ.
15982 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15984 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15985 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15986 of the internal implementation.
15988 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15990 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15991 except include of <misc/sys/syslog.h>.
15993 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15996 function returns with a NULL context exit with zero.
15998 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16000 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16002 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16004 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16005 (run_program_cmd): This.
16006 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16007 (tst_langinfo): New variable. Use it.
16009 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16011 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16012 floating point opcodes.
16014 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16016 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16019 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16021 * sysdeps/mach/hurd/powerpc: Remove directory.
16022 * sysdeps/mach/powerpc: Likewise.
16024 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16026 * scripts/check-local-headers.sh: Ignore c++ headers.
16028 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16030 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16031 __libc_cleanup_region_start argument.
16033 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16038 x * y using scaling, not as x * y + z.
16039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16041 * math/libm-test.inc (fma_test): Add more tests.
16042 (fma_test_towardzero): Likewise.
16043 (fma_test_downward): Likewise.
16044 (fma_test_upward): Likewise.
16046 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16048 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16050 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16052 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16055 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16057 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16059 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16066 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16069 Fix the order of the list for glibc 2.17.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16073 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16077 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16081 for low part of x being zero before using __atanl (y).
16082 * math/libm-test.inc (atan2_test): Add another test.
16084 * manual/install.texi (Configuring and compiling): Document
16085 general use of test-wrapper and test-wrapper-env.
16086 * INSTALL: Regenerated.
16088 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16089 (__fma): Do not extract and scale down low bits on after-rounding
16090 systems when result rounded to normal precision would have normal
16092 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16093 (__fmal): Do not extract and scale down low bits on after-rounding
16094 systems when result rounded to normal precision would have normal
16096 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16097 (__fmal): Do not extract and scale down low bits on after-rounding
16098 systems when result rounded to normal precision would have normal
16100 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16102 (fma_test): Add more tests.
16103 (fma_test_towardzero): Likewise.
16104 (fma_test_downward): Likewise.
16105 (fma_test_upward): Likewise.
16107 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16109 * sysdeps/i386/tininess.h: Renamed to ...
16110 * sysdeps/x86/tininess.h: This.
16111 * sysdeps/x86_64/tininess.h: Removed.
16113 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16115 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16116 input. Use $(build-program-cmd).
16117 ($(objpfx)tst-array1-static.out): Likewise.
16118 ($(objpfx)tst-array2.out): Likewise.
16119 ($(objpfx)tst-array3.out): Likewise.
16120 ($(objpfx)tst-array4.out): Likewise.
16121 ($(objpfx)tst-array5.out): Likewise.
16122 ($(objpfx)tst-array5-static.out): Likewise.
16124 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16126 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16129 * nss/nsswitch.h (nss_interface_function): Provide new
16130 macro for use with NSS functions.
16131 * grp/initgroups.c: Use new macro.
16132 * nss/getXXbyYY.c: Likewise.
16133 * nss/getXXbyYY_r.c: Likewise.
16134 * nss/getXXent.c: Likewise.
16135 * nss/getXXent_r.c: Likewise.
16136 * sysdeps/posix/getaddrinfo.c: Likewise.
16138 2012-10-30 Andreas Jaeger <aj@suse.de>
16140 * po/ru.po: Update Russion translation from translation project.
16142 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16147 result and shift together with sticky bit instead of replicating
16148 round-to-nearest rounding.
16149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16151 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16152 missing underflow exceptions.
16153 (fma_test_towardzero): Add more tests.
16154 (fma_test_downward): Likewise.
16155 (fma_test_upward): Likewise.
16158 * sysdeps/generic/tininess.h: New file.
16159 * sysdeps/i386/tininess.h: Likewise.
16160 * sysdeps/sh/tininess.h: Likewise.
16161 * sysdeps/x86_64/tininess.h: Likewise.
16162 * stdlib/tst-strtod-underflow.c: Likewise.
16163 * stdlib/tst-tininess.c: Likewise.
16164 * stdlib/strtod_l.c: Include <tininess.h>.
16165 (round_and_return): Do not set errno for exact underflow cases.
16166 Force an underflow exception when setting errno for underflow.
16167 Determine underflow based on rounding to normal precision if
16168 TININESS_AFTER_ROUNDING.
16169 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16170 ERANGE for exact underflow cases.
16171 * stdlib/Makefile (tests): Add tst-tininess and
16172 tst-strtod-underflow.
16173 ($(objpfx)tst-tininess): Use $(link-libm).
16174 ($(objpfx)tst-strtod-underflow): Likewise.
16176 2012-10-30 Andreas Jaeger <aj@suse.de>
16179 * elf/Makefile (tests): Remove conditional for have-initfini-array
16180 since this is now always required and the variable does not exist
16182 (tests-static): Likewise.
16183 (modules-names): Likewise.
16185 * po/eo.po: Add Esperanto translation from translation project.
16187 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16188 merged with constructor/destructor.
16189 (init_array): Likewise.
16190 * elf/tst-array2dep.c (fini_array): Likewise.
16191 (init_array): Likewise.
16193 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16195 * manual/message.texi: Delete @cartouche tags.
16197 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16199 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16201 * sysdeps/mach/hurd/fsync.c: Likewise.
16203 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16204 [_POSIX_REALTIME_SIGNALS]: Change condition to
16205 [_POSIX_REALTIME_SIGNALS > 0].
16207 2012-10-27 Andreas Jaeger <aj@suse.de>
16209 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16210 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16212 [__WORDSIZE != 64]: Likewise.
16214 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16216 * iconvdata/tst-table.sh: Remove ${SHELL}.
16217 * iconvdata/tst-tables.sh: Likewise.
16219 2012-10-25 David S. Miller <davem@davemloft.net>
16221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16222 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16228 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16229 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16232 2012-10-25 Roland McGrath <roland@hack.frob.com>
16234 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16235 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16238 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16239 Jim Blandy <jimb@codesourcery.com>
16241 * scripts/cross-test-ssh.sh: New file.
16242 * manual/install.texi (Configuring and compiling): Document use of
16244 * INSTALL: Regenerated.
16246 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16248 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16251 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16253 * Makeconfig (run-program-prefix): Fix comment.
16255 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16256 Jim Blandy <jimb@codesourcery.com>
16258 * Makeconfig (test-wrapper): New variable,
16259 (test-wrapper-env): Likewise.
16260 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16261 (run-built-tests): Define to yes.
16262 (run-program-prefix): Use $(test-wrapper).
16263 (built-program-cmd): Likewise.
16264 * Rules (make-test-out): Use $(test-wrapper-env) and
16265 $(host-built-program-cmd).
16266 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16267 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16269 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16270 $(test-wrapper-env) to tst-rtld-load-self.sh.
16271 ($(objpfx)order2.out): Use $(test-wrapper).
16272 ($(objpfx)tst-initorder.out): Likewise.
16273 ($(objpfx)tst-initorder2.out): Likewise.
16274 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16275 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16276 (test_wrapper_env): New variable. Use it to run ld.so.
16277 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16278 Use it to run ld.so.
16279 (test_wrapper_env): Likewise.
16280 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16281 $(test-wrapper) to run-iconv-test.sh.
16282 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16283 (ICONV): Use $test_wrapper.
16284 * posix/Makefile ($(objpfx)globtest.out): Pass
16285 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16286 globtest.sh, not $(run-program-prefix).
16287 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16288 (test_wrapper): Likewise.
16289 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16290 set together with run_via_rtld_prefix.
16291 (run_program_prefix): Define in terms of test_wrapper and
16292 run_via_rtld_prefix.
16294 2012-10-24 Roland McGrath <roland@hack.frob.com>
16296 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16297 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16301 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16302 Declare __clock_getres, __clock_gettime, __clock_settime,
16303 __clock_nanosleep, and __clock_getcpuclockid.
16304 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16305 Remove librt_hidden_def (clock_gettime).
16306 * sysdeps/unix/clock_gettime.c: Likewise.
16307 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16309 * rt/clock_getres.c: Define __clock_getres as an alias.
16310 * sysdeps/posix/clock_getres.c: Likewise.
16311 * rt/clock_settime.c: Define __clock_settime as an alias.
16312 * sysdeps/unix/clock_settime.c: Likewise.
16313 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16314 * sysdeps/unix/clock_nanosleep.c: Likewise.
16315 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16316 * rt/clock-compat.c: New file.
16317 * rt/Makefile (librt-routines): Add clock-compat and move
16318 $(clock-routines) to ...
16319 (routines): ... here, new variable.
16320 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16321 Don't add get_clockfreq here.
16322 * rt/Versions (libc: GLIBC_2.17): New version set.
16323 Add clock_* symbols here.
16324 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16326 (GLIBC_2.17): Add clock_* symbols.
16327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16338 * NEWS: Mention the move.
16340 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16341 Use __open, __read, __close rather than their public counterparts.
16342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16343 (__get_clockfreq_via_cpuinfo): Likewise.
16344 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16345 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16347 * config.h.in (HAVE_IFUNC): New #undef.
16348 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16350 * configure: Regenerated.
16352 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16354 * configure.in: Move READELF check to start of file.
16355 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16356 libc_cv_asm_gnu_indirect_function in the process.
16357 * configure: Regenerated.
16359 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16361 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16362 send the output to /dev/null.
16363 (libc_cv_cc_with_libunwind): Likewise.
16364 (libc_cv_as_noexecstack): Likewise.
16365 * configure: Regenerate.
16367 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16369 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16371 * posix/globtest.sh (TMPDIR): Do not set.
16372 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16373 (testout): Likewise.
16375 2012-10-24 Andreas Jaeger <aj@suse.de>
16377 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16378 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16379 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16380 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16381 posix_fadvise64, posix_fallocate64.
16383 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16384 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16385 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16387 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16389 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16392 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16393 <bits/fcntl-linux.h>.
16394 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16397 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16398 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16399 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16400 [__WORDSIZE != 64]: Likewise.
16402 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16404 * Makeconfig (run-built-tests): New variable.
16405 * Rules [$(cross-compiling) = yes]: Change condition to
16406 [$(run-built-tests) = no].
16407 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16408 to [$(run-built-tests) = yes].
16409 * elf/Makefile [$(cross-compiling) = no]: Likewise
16410 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16411 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16412 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16413 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16414 * io/Makefile [$(cross-compiling) = no]: Likewise.
16415 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16416 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16417 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16418 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16419 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16420 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16421 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16422 * string/Makefile [$(cross-compiling) = no]: Likewise.
16424 * posix/Makefile ($(objpfx)globtest.out): Pass
16425 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16426 $(rtld-installed-name).
16427 * posix/globtest.sh (elf_objpfx): Remove variable.
16428 (rtld_installed_name): Likewise.
16429 (library_path): Likewise.
16430 (run_program_prefix): New variable. Use for running globtest
16433 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16434 Joseph Myers <joseph@codesourcery.com>
16436 * Makeconfig (host-built-program-cmd): New variable.
16437 * elf/Makefile (tst-stackguard1-ARGS): Use
16438 $(host-built-program-cmd).
16439 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16440 (tst-spawn-ARGS): Likewise.
16441 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16443 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16444 Jim Blandy <jimb@codesourcery.com>
16446 * Makeconfig (run-via-rtld-prefix): New variable.
16447 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16448 (built-program-cmd): Likewise.
16450 2012-10-22 Andreas Jaeger <aj@suse.de>
16452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16453 __O_RSYNC if it exists, otherwise to O_SYNC.
16455 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16456 Joseph Myers <joseph@codesourcery.com>
16458 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16460 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16462 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16465 2012-10-22 Andreas Jaeger <aj@suse.de>
16467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16472 bits/fcntl-linux.h.
16474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16475 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16482 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16483 Joseph Myers <joseph@codesourcery.com>
16485 * config.make.in (NM): New variable.
16487 2012-10-21 Andreas Jaeger <aj@suse.de>
16489 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16490 definitions and declarations that are provided by
16491 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16493 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16496 * elf/Makefile (tests-static): Add tst-leaks1-static.
16497 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16498 ($(objpfx)tst-leaks1-static): New rule.
16499 ($(objpfx)tst-leaks1-static-mem): Likewise.
16500 (tst-leaks1-static-ENV): New macro.
16501 * elf/dl-open.c (dl_open_worker): Check the main application
16502 only if SHARED is defined.
16503 * elf/tst-leaks1-static.c: New file.
16505 2012-10-20 Andreas Jaeger <aj@suse.de>
16507 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16508 generic values for Linux.
16509 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16510 and declarations that are provided by <bits/fcntl-linux.h> and
16511 include <bits/fcntl-linux.h>.
16512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16515 2012-10-20 Roland McGrath <roland@hack.frob.com>
16517 * io/fcntl.h: Move include of <bits/types.h> to the top and
16518 include it unconditionally.
16520 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16522 * wcsmbs/Makefile (tests-ifunc): New variable.
16523 (tests): Add $(tests-ifunc).
16524 * wcsmbs/test-wcschr-ifunc.c: New file.
16525 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16526 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16527 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16528 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16529 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16531 * string/Makefile (tests-ifunc): New variable.
16532 (tests): Add $(tests-ifunc).
16533 * string/test-memccpy.c (TEST_NAME): New macro.
16534 * string/test-memchr.c (TEST_NAME): Likewise.
16535 * string/test-memcmp.c (TEST_NAME): Likewise.
16536 * string/test-memcpy.c (TEST_NAME): Likewise.
16537 * string/test-memmem.c (TEST_NAME): Likewise.
16538 * string/test-memmove.c (TEST_NAME): Likewise.
16539 * string/test-memset.c (TEST_NAME): Likewise.
16540 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16541 * string/test-stpcpy.c (TEST_NAME): Likewise.
16542 * string/test-stpncpy.c (TEST_NAME): Likewise.
16543 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16544 * string/test-strcasestr.c (TEST_NAME): Likewise.
16545 * string/test-strcat.c (TEST_NAME): Likewise.
16546 * string/test-strchr.c (TEST_NAME): Likewise.
16547 * string/test-strcmp.c(TEST_NAME): Likewise.
16548 * string/test-strcpy.c (TEST_NAME): Likewise.
16549 * string/test-strcspn.c (TEST_NAME): Likewise.
16550 * string/test-strlen.c (TEST_NAME): Likewise.
16551 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16552 * string/test-strncmp.c (TEST_NAME): Likewise.
16553 * string/test-strncpy.c (TEST_NAME): Likewise.
16554 * string/test-strnlen.c (TEST_NAME): Likewise.
16555 * string/test-strpbrk.c (TEST_NAME): Likewise.
16556 * string/test-strrchr.c (TEST_NAME): Likewise.
16557 * string/test-strspn.c (TEST_NAME): Likewise.
16558 * string/test-strstr.c (TEST_NAME): Likewise.
16559 * string/test-bcopy-ifunc.c: New file.
16560 * string/test-bzero-ifunc.c: Likewise.
16561 * string/test-memccpy-ifunc.c: Likewise.
16562 * string/test-memchr-ifunc.c: Likewise.
16563 * string/test-memcmp-ifunc.c: Likewise.
16564 * string/test-memcpy-ifunc.c: Likewise.
16565 * string/test-memmem-ifunc.c: Likewise.
16566 * string/test-memmove-ifunc.c: Likewise.
16567 * string/test-mempcpy-ifunc.c: Likewise.
16568 * string/test-memset-ifunc.c: Likewise.
16569 * string/test-rawmemchr-ifunc.c: Likewise.
16570 * string/test-stpcpy-ifunc.c: Likewise.
16571 * string/test-stpncpy-ifunc.c: Likewise.
16572 * string/test-strcasecmp-ifunc.c: Likewise.
16573 * string/test-strcasestr-ifunc.c: Likewise.
16574 * string/test-strcat-ifunc.c: Likewise.
16575 * string/test-strchr-ifunc.c: Likewise.
16576 * string/test-strchrnul-ifunc.c: Likewise.
16577 * string/test-strcmp-ifunc.c: Likewise.
16578 * string/test-strcpy-ifunc.c: Likewise.
16579 * string/test-strcspn-ifunc.c: Likewise.
16580 * string/test-strlen-ifunc.c: Likewise.
16581 * string/test-strncasecmp-ifunc.c: Likewise.
16582 * string/test-strncat-ifunc.c: Likewise.
16583 * string/test-strncmp-ifunc.c: Likewise.
16584 * string/test-strncpy-ifunc.c: Likewise.
16585 * string/test-strnlen-ifunc.c: Likewise.
16586 * string/test-strpbrk-ifunc.c: Likewise.
16587 * string/test-strrchr-ifunc.c: Likewise.
16588 * string/test-strspn-ifunc.c: Likewise.
16589 * string/test-strstr-ifunc.c: Likewise.
16591 * debug/Makefile (tests-ifunc): New variable.
16592 (tests): Add $(tests-ifunc).
16593 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16594 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16595 * debug/test-stpcpy_chk-ifunc.c: New file.
16596 * debug/test-strcpy_chk-ifunc.c: Likewise.
16598 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16601 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16602 header is not read in.
16604 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16606 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16607 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16608 directly. Pass built executable to script as
16609 $(built-program-cmd).
16610 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16611 $testprogram without using LD_LIBRARY_PATH and $ldso.
16613 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16614 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16615 $(rtld-installed-name).
16616 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16617 (rtld_installed_name): Likewise.
16618 (library_path): Likewise.
16619 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16620 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16621 $(run-program-prefix) to tst-tables.sh.
16622 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16623 it to run tst-table-from and tst-table-to.
16624 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16625 Pass it to tst-table.sh.
16626 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16627 $(run-program-prefix) to tst-gettext.sh.
16628 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16630 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16632 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16633 to run tst-gettext.
16634 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16635 to run tst-gettext2.
16636 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16637 to run tst-translit.
16638 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16639 $(run-program-prefix) to tst-mtrace.sh.
16640 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16642 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16643 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16644 $(rtld-installed-name).
16645 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16646 (rtld_installed_name): Likewise.
16647 (run_program_prefix): New variable. Use it to run wordexp-test.
16649 * Makeconfig (ARCH): Remove all definitions.
16650 (machine): Likewise.
16651 [ARCH]: Remove conditional code.
16652 [!objdir]: Give error.
16653 [!objdir] (objpfx): Remove.
16654 [!objdir] (common-objpfx): Likewise.
16655 [!objdir] (common-objdir): Likewise.
16656 * configure.in (config_makefile): Remove. Hardcode Makefile in
16657 AC_CONFIG_FILES call.
16658 * configure: Regenerated.
16661 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16663 (testout): Likewise.
16665 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16666 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16667 $(rtld-installed-name).
16668 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16669 (rtld_installed_name): Likwise.
16670 (runit): Remove function.
16671 (run_getconf): New variable, Use it for running getconf binary.
16673 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16676 * string/test-memmem.c (check_result): New function.
16677 (do_one_test): Use it.
16678 (check1): New function.
16679 (test_main): Use it.
16681 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16683 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16685 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16687 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16688 (_G_LSEEK64): Likewise.
16689 (_G_MMAP64): Likewise.
16690 (_G_FSTAT64): Likewise.
16691 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16692 (_G_LSEEK64): Likewise.
16693 (_G_MMAP64): Likewise.
16694 (_G_FSTAT64): Likewise.
16695 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16696 unconditional. Call __mmap64 directly.
16697 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16698 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16699 __lseek64 directly.
16700 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16701 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16703 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16704 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16705 __lseek64 directly.
16706 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16707 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16708 __lseek64 directly.
16709 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16710 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16711 __lseek64 directly.
16712 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16713 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16714 __fxstat64 directly.
16715 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16716 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16718 (freopen64) [!_G_OPEN64]: Remove conditional code.
16719 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16721 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16722 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16724 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16725 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16727 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16728 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16730 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16731 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16733 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16734 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16736 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16737 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16739 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16741 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16744 * manual/memory.texi (Malloc Tunable Parameters): Add note
16745 about free list pointers overwriting some perturb bytes.
16746 Wording suggested by Roland McGrath.
16748 2012-10-17 Joseph Myers <joseph@codesourcery.com>
16750 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16751 (lgamma_test): Likewise.
16752 (tgamma_test): Likewise.
16754 2012-10-16 Florian Weimer <fweimer@redhat.com>
16757 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16758 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16760 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16762 * NEWS: Mention BZ #14716.
16763 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16764 when removing AVAILABLE1_USES_J macro.
16766 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16768 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16769 (__bswap_64): __uint64_t for unsigned 64-bit int.
16771 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16773 * include/string.h (memmem): Declare libc hidden alias.
16774 * string/memmem.c (memmem): Define libc hidden alias.
16775 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16776 __read, __close instead of open, read, close.
16778 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16781 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16783 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16784 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16785 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16787 (__rawmemchr_sse2): Likewise.
16788 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16789 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16790 (__strchr_sse2): Likewise.
16791 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16792 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16793 (__strcasecmp_sse2): Likewise.
16794 (__strncasecmp_sse2): Likewise.
16795 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16796 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16797 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16798 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16799 (__strrchr_sse2): Likewise.
16800 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16802 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16803 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16804 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16805 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16806 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16807 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16808 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16809 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16810 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16811 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16812 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16813 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16814 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16815 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16816 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16817 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16818 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16819 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16820 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16821 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16822 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16823 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16824 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16825 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16826 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16827 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16828 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16829 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16830 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16831 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16833 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16835 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16836 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16837 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16838 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16840 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16842 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16843 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16844 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16845 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16847 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16848 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16849 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16850 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16851 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16852 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16853 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16854 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16855 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16856 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16857 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16858 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16859 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16860 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16861 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16863 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16864 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16865 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16866 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16868 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16869 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16870 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16871 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16872 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16873 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16874 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16875 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16876 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16877 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16878 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16879 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16880 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16887 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16889 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16890 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16891 * include/ifunc-impl-list.h: New file.
16892 * misc/ifunc-impl-list.c: Likewise.
16893 * misc/Makefile (routines): Add ifunc-impl-list.
16894 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16895 * string/test-string.h: Include <ifunc-impl-list.h>.
16896 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16897 impl_array): New variables.
16898 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16900 (test_init): Call __libc_ifunc_impl_list to initialize
16901 func_list if TEST_IFUNC and TEST_NAME are defined.
16903 * string/Makefile (strop-tests): Add bcopy and bzero.
16904 * string/test-bcopy.c: New file.
16905 * string/test-bzero.c: Likewise.
16906 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16908 * string/test-memset.c: Support bzero test if TEST_BZERO is
16910 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16912 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16914 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16917 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16919 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16920 * configure: Regenerated.
16922 * Makeconfig (+link-static-before-libc): Don't include
16923 $(link-static-libc).
16925 * libio/libio.h (_IO_pos_t): Remove.
16927 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16929 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16932 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16934 * crypt/crypt-entry.c: Include fips-private.h.
16935 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16936 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16937 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16938 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16940 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16942 * crypt/crypt-private.h: Include stdbool.h.
16943 (_ufc_setup_salt_r): Return bool.
16944 * crypt/crypt-entry.c: Include errno.h.
16945 (__crypt_r): Return NULL with EINVAL for bad salt.
16946 * crypt/crypt_util.c (bad_for_salt): New.
16947 (_ufc_setup_salt_r): Check that salt is long enough and within
16948 the specified alphabet.
16949 * crypt/badsalttest.c: New file.
16950 * crypt/Makefile (tests): Add it.
16951 ($(objpfx)badsalttest): New.
16953 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16955 * NEWS: Add entry for BZ #14602.
16957 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16959 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16961 * math/libm-test.inc: Update comment listing what functions and
16963 (isgreater_test): New function.
16964 (isgreaterequal_test): Likewise.
16965 (isless_test): Likewise.
16966 (islessequal_test): Likewise.
16967 (islessgreater_test): Likewise.
16968 (isunordered_test): Likewise.
16969 (main): Call the new functions.
16971 2012-10-09 Roland McGrath <roland@hack.frob.com>
16973 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16974 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16975 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16976 * sysdeps/i386/configure: Regenerated.
16977 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16978 * sysdeps/mach/configure: Regenerated.
16979 * sysdeps/mach/hurd/configure: Regenerated.
16980 * sysdeps/powerpc/configure: Regenerated.
16981 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16982 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16983 * sysdeps/s390/s390-32/configure: Regenerated.
16984 * sysdeps/s390/s390-64/configure: Regenerated.
16985 * sysdeps/sh/configure: Regenerated.
16986 * sysdeps/sparc/configure: Regenerated.
16987 * sysdeps/unix/sysv/linux/configure: Regenerated.
16988 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16989 * sysdeps/x86_64/configure: Regenerated.
16991 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16992 defined. Don't check if MAP is NULL.
16994 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16996 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16997 (_G_stat64): Likewise.
16998 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16999 (_G_stat64): Likewise.
17000 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17001 instead of struct _G_stat64.
17002 * libio/fileops.c (mmap_remap_check): Likewise.
17003 (decide_maybe_mmap): Likewise.
17004 (_IO_new_file_seekoff): Likewise.
17005 (_IO_file_stat): Likewise.
17006 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17008 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17009 instead of struct _G_stat64.
17010 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17012 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17015 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17017 (CHECK_EOL): New macro.
17018 (two_way_short_needle): Check beginning of haystack for EOL. Use
17020 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17021 Replace with CHECK_EOL.
17022 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17023 Replace with CHECK_EOL.
17025 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17027 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17029 * math/libm-test.inc: Update comment listing what functions and
17031 (finite_test): New function.
17032 (isinf_test): Likewise.
17033 (isnan_test): Likewise.
17034 (fpclassify_test): Test subnormal input.
17035 (isfinite_test): Likewise.
17036 (isnormal_test): Likewise.
17037 (main): Call the new functions.
17039 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17042 * Makerules (%.dynsym): Force C locale when running
17043 $(OBJDUMP) --dynamic-syms.
17045 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17047 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17050 2012-10-06 David S. Miller <davem@davemloft.net>
17052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17053 upper 32-bits of the length value in %o2 since we use branch-on-register
17054 tests which consider the entire 64-bit register.
17056 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17058 * string/test-strstr.c (check2): Add a test for page boundary.
17060 2012-10-05 David S. Miller <davem@davemloft.net>
17062 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17063 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17065 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17067 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17068 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17069 and bzero when HWCAP_SPARC_CRYPTO is present.
17071 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17074 * string/test-strstr.c (check2): New function.
17075 (test_main): Call check2.
17077 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17079 * string/bug-strcasestr1.c (do_test): Moved to ...
17080 * string/test-strcasestr.c (check1): Here. New function.
17081 (do_one_test): Break out result checking code into ...
17082 (check_result): This. New function.
17083 (do_one_test): Call check_result.
17084 (test_main): Call check1.
17085 * string/bug-strchr1.c (do_test): Moved to ...
17086 * string/test-strchr.c (check1): Here. New function.
17087 (do_one_test): Break out result checking code into ...
17088 (check_result): This. New function.
17089 (do_one_test): Call check_result.
17090 (test_main): Call check1.
17091 * string/bug-strstr1.c (main): Moved to ...
17092 * string/test-strstr.c (check1): Here. New function.
17093 (do_one_test): Break out result checking code into ...
17094 (check_result): This. New function.
17095 (do_one_test): Call check_result.
17096 (test_main): Call check1.
17097 * string/bug-strcasestr1.c: Removed.
17098 * string/bug-strchr1.c: Likewise.
17099 * string/bug-strstr1.c: Likewise.
17101 * elf/Makefile (dl-routines): Add hwcaps.
17102 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17103 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17104 (_dl_important_hwcaps): Moved to ...
17105 * elf/dl-hwcaps.c: Here. New file.
17106 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17109 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17110 if IS_IN_rtld isn't defined.
17112 * elf/dl-support.c (_dl_sysinfo_map): New.
17113 Include "get-dynamic-info.h" and "setup-vdso.h".
17114 (_dl_non_dynamic_init): Call setup_vdso.
17115 * elf/dynamic-link.h: Don't include <assert.h>.
17116 (elf_get_dynamic_info): Moved to ...
17117 * elf/get-dynamic-info.h: Here. New file.
17118 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17119 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17120 * elf/setup-vdso.h: Here. New file.
17121 * elf/rtld.c: Include "setup-vdso.h".
17122 (dl_main): Call setup_vdso.
17124 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17126 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17127 creal in comment listing functions tested. List finite, isinf,
17128 isnan, isless, islessequal, isgreater, isgreaterequal,
17129 islessgreater, isunordered, lgamma_r and pow10 as functions and
17130 macros not tested. Mention which functions not tested are aliases
17131 for other functions. Fix typo. Note that signs of NaNs are not
17134 * scripts/config.guess: Update from config.git.
17135 * scripts/config.sub: Likewise.
17137 2012-10-04 Roland McGrath <roland@hack.frob.com>
17139 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17140 * misc/madvise.c (madvise): Renamed to __madvise.
17141 Make madvise a weak alias.
17142 * include/sys/mman.h: Declare __madvise.
17143 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17144 * sysdeps/unix/syscalls.list
17145 (madvise): Make __madvise the strong name, and madvise a weak alias.
17146 * sysdeps/unix/sysv/linux/syscalls.list
17147 (madvise, mmap): Remove redundant entries.
17148 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17149 * malloc/malloc.c (mtrim): Likewise.
17150 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17152 2012-10-03 Roland McGrath <roland@hack.frob.com>
17154 * sysdeps/mach/hurd/dl-cache.c: File removed.
17155 * config.h.in (USE_LDCONFIG): New #undef.
17156 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17157 * configure: Regenerated.
17158 * elf/Makefile (dl-routines): Add dl-cache only under
17159 [$(use-ldconfig) = yes].
17160 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17161 cache on [USE_LDCONFIG].
17162 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17164 * elf/rtld.c (dl_main): Likewise.
17166 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17168 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17169 _SC_LEVEL4_CACHE_LINESIZE.
17171 2012-10-03 Roland McGrath <roland@hack.frob.com>
17173 * sysdeps/unix/bsd/confstr.h: File removed.
17175 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17177 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17180 2012-10-02 Roland McGrath <roland@hack.frob.com>
17182 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17183 Make 'mapoff' field ElfW(Off) rather than off_t.
17185 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17187 * nscd/Makefile: Remove nscd-cflags and all its users.
17188 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17189 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17192 * malloc.c (malloc_printerr): Clarify error message.
17194 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17198 Set bit_FMA_Usable if FMA is supported.
17199 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17201 (bit_FMA4_Usable): Updated.
17202 (index_FMA_Usable): New macro.
17203 (CPUID_FMA): Likewise
17204 (HAS_FMA): Defined with bit_FMA_Usable.
17206 2012-10-01 Roland McGrath <roland@hack.frob.com>
17208 * bits/types.h (__swblk_t): Type removed.
17209 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17210 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17212 (__SWBLK_T_TYPE): Likewise.
17213 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17214 (__SWBLK_T_TYPE): Likewise.
17215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17216 (__SWBLK_T_TYPE): Likewise.
17217 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17218 (__SWBLK_T_TYPE): Likewise.
17220 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17221 Honza Horak <hhorak@redhat.com>
17223 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17224 (xdr_mapname): Use YPMAXMAP as maxsize.
17225 (xdr_peername): Use YPMAXPEER as maxsize.
17226 (xdr_keydat): Use YPAXRECORD as maxsize.
17227 (xdr_valdat): Use YPMAXRECORD as maxsize.
17229 2012-10-01 Roland McGrath <roland@hack.frob.com>
17231 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17233 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17234 * csu/init-first.c: ... here.
17235 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17236 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17237 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17238 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17239 * sysdeps/i386/init-first.c: File removed.
17240 * sysdeps/sh/init-first.c: File removed.
17242 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17246 if x * y might underflow to zero and z is zero.
17247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17249 * math/libm-test.inc (min_subnorm_value): New variable.
17250 (fma_test): Add more tests.
17251 (fma_test_towardzero): Likewise.
17252 (fma_test_downward): Likewise
17253 (fma_test_upward): Likewise.
17254 (initialize): Set min_subnorm_value.
17256 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17261 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17262 mode for addition resulting in exact zero.
17263 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17266 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17268 * math/libm-test.inc (fma_test): Add more tests.
17269 (fma_test_towardzero): New function.
17270 (fma_test_downward): Likewise.
17271 (fma_test_upward): Likewise.
17272 (main): Call the new functions.
17274 2012-09-28 David S. Miller <davem@davemloft.net>
17276 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17278 2012-09-28 Roland McGrath <roland@hack.frob.com>
17280 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17281 instead of SIGALRM.
17283 * sysdeps/gnu/_G_config.h: Moved to ...
17284 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17285 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17286 * sysdeps/generic/_G_config.h: ... here.
17288 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17290 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17292 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17293 Conditionalize target on [libnss_test1.so-version].
17295 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17297 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17298 (elfobjdir): Move out of conditionals.
17300 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17301 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17302 (__nss_lookup_function): Conditionalize label remove_from_tree on
17303 [!DO_STATIC_NSS || SHARED], matching its only use.
17305 2012-09-28 David S. Miller <davem@davemloft.net>
17307 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17308 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17310 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17312 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17314 when HWCAP_SPARC_CRYPTO is present.
17316 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17318 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17320 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17323 * stdio-common/vfprintf.c (process_string_arg): Revert
17326 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17328 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17330 * stdio-common/tst-sprintf.c: Include <locale.h>
17331 (main): Test sprintf's handling of incomplete multibyte
17334 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17336 * elf/dl-runtime.c (VERSYMIDX): Removed.
17337 * elf/dl-version.c (VERSYMIDX): Likewise.
17338 * elf/do-rel.h (VERSYMIDX): Likewise.
17339 (VALIDX): Likewise.
17340 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17341 * elf/rtld.c (VALIDX): Likewise.
17342 (ADDRIDX): Likewise.
17343 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17344 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17345 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17346 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17347 (VALIDX): Likewise.
17348 (ADDRIDX): Likewise.
17350 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17352 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17354 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17357 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17359 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17360 addresses are in the same scope as 192.0.2/24.
17361 * posix/gai.conf: Document new scope table defaults.
17363 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17366 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17367 for ftell. Compute offsets from write pointers instead.
17368 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17370 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17373 * libio/Makefile (tests): New test case tst-fseek.
17374 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17375 combination works in wide mode.
17376 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17377 state when the external buffer state changes.
17379 2012-09-27 David S. Miller <davem@davemloft.net>
17382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17383 pass reloc->r_addend in as the 'high' argument to
17384 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17388 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17390 * rt/tst-aio2.c: Include <pthread.h>.
17391 * rt/tst-aio3.c: Likewise.
17393 2012-09-27 Steve Ellcey <sellcey@mips.com>
17395 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17397 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17399 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17400 contents on [SHARED].
17402 2012-09-26 Marek Polacek <polacek@redhat.com>
17406 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17407 for C++ and GCC <4.3 as well as for non GCC compilers.
17409 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17413 2012-09-25 Roland McGrath <roland@hack.frob.com>
17415 * Makefile.in (all, install): Declare with .PHONY.
17416 Reported by Michael Hope <michael.hope@linaro.org>.
17418 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17420 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17421 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17423 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17425 (sydep_routines): Add the new and the internal functions.
17426 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17427 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17429 (GLIBC_2.17): Add the new function.
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17431 (GLIBC_2.17): Likewise.
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17433 (GLIBC_2.17): Likewise.
17434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17435 (GLIBC_2.17): Likewise.
17436 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17438 2012-09-25 Alan Modra <amodra@gmail.com>
17440 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17441 Add release barrier before setting once_control to say
17442 initialisation is done. Add hints on lwarx. Use macro in
17444 (clear_once_control): Add release barrier.
17446 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17449 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17451 * math/s_clog10.c (__clog10): Likewise.
17452 * math/s_clog10f.c (__clog10f): Likewise.
17453 * math/s_clog10l.c (__clog10l): Likewise.
17454 * math/s_clogf.c (__clogf): Likewise.
17455 * math/s_clogl.c (__clogl): Likewise.
17456 * math/Makefile (libm-calls): Add x2y2m1.
17457 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17458 (__x2y2m1): Likewise.
17459 (__x2y2m1l): Likewise.
17460 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17461 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17464 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17465 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17466 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17471 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17472 int as type of variable DEPTH.
17473 (glob): Use size_t instead of int as type of variables NEWCOUNT
17476 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17478 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17479 Add s_sincosf-sse2.
17480 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17481 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17482 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17483 macros for using routine as __sincosf_ia32.
17484 Use macro for function declaration and weak_alias.
17485 * sysdeps/i386/fpu/libm-test-ulps: Update.
17487 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17490 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17491 subnormal argument.
17492 * math/s_cexpf.c (__cexpf): Likewise.
17493 * math/s_csinf.c (__csinf): Likewise.
17494 * math/s_csinhf.c (__csinhf): Likewise.
17495 * math/s_ctanf.c (__ctanf): Likewise.
17496 * math/s_ctanhf.c (__ctanhf): Likewise.
17497 * math/s_ccosh.c (__ccoshf): Likewise.
17498 * math/s_cexp.c (__cexpl): Likewise.
17499 * math/s_csin.c (__csin): Likewise.
17500 * math/s_csinh.c (__csinh): Likewise.
17501 * math/s_ctan.c (__ctan): Likewise.
17502 * math/s_ctanh.c (ctanh): Likewise.
17503 * math/s_ccoshl.c (__ccoshl): Likewise.
17504 * math/s_cexpl.c (__cexpl): Likewise.
17505 * math/s_csinl.c (__csinl): Likewise.
17506 * math/s_csinhl.c (__csinhl): Likewise.
17507 * math/s_ctanl.c (__ctanl): Likewise.
17508 * math/s_ctanhl.c (__ctanhl): Likewise.
17510 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17512 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17513 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17514 (_IO_off_t): Define to __off_t, not _G_off_t.
17515 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17516 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17517 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17518 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17519 type of __dummy and __dummy2 fields.
17520 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17521 (_G_ssize_t): Likewise.
17522 (_G_off_t): Likewise.
17523 (_G_pid_t): Likewise.
17524 (_G_uid_t): Likewise.
17525 (_G_wchar_t): Likewise.
17526 (_G_wint_t): Likewise.
17527 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17528 (_G_ssize_t): Likewise.
17529 (_G_off_t): Likewise.
17530 (_G_pid_t): Likewise.
17531 (_G_uid_t): Likewise.
17532 (_G_wchar_t): Likewise.
17533 (_G_wint_t): Likewise.
17534 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17535 (_G_ssize_t): Likewise.
17536 (_G_off_t): Likewise.
17537 (_G_pid_t): Likewise.
17538 (_G_uid_t): Likewise.
17539 (_G_wchar_t): Likewise.
17540 (_G_wint_t): Likewise.
17542 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17544 * malloc/arena.c: Include malloc-sysdep.h.
17545 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17546 is sufficient to shrink the heap or an unmap is needed.
17547 * sysdeps/generic/malloc-sysdep.h: New file. Define
17548 new function check_may_shrink_heap.
17549 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17550 new function check_may_shrink_heap.
17552 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17554 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17557 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17559 * catgets/test-gencat.sh: Add "set -e".
17560 * elf/tst-pathopt.sh: Likewise.
17561 * grp/tst_fgetgrent.sh: Likewise.
17562 * iconvdata/run-iconv-test.sh: Likewise.
17563 * intl/tst-gettext.sh: Likewise.
17564 * intl/tst-gettext2.sh: Likewise.
17565 * intl/tst-gettext4.sh: Likewise.
17566 * intl/tst-gettext6.sh: Likewise.
17567 * intl/tst-translit.sh: Likewise.
17568 * io/ftwtest-sh: Likewise.
17569 * libio/test-freopen.sh: Likewise.
17570 * malloc/tst-mtrace.sh: Likewise.
17571 * posix/globtest.sh: Likewise.
17572 * posix/tst-getconf.sh: Likewise.
17573 * posix/wordexp-tst.sh: Likewise.
17574 * stdio-common/tst-printf.sh: Likewise.
17575 * stdio-common/tst-unbputc.sh: Likewise.
17576 * stdlib/tst-fmtmsg.sh: Likewise.
17577 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17578 * catgets/Makefile: Do not specify -e option when running
17579 testsuite shell scripts.
17580 * elf/Makefile: Likewise.
17581 * grp/Makefile: Likewise.
17582 * iconvdata/Makefile: Likewise.
17583 * intl/Makefile: Likewise.
17584 * io/Makefile: Likewise.
17585 * libio/Makefile: Likewise.
17586 * malloc/Makefile: Likewise.
17587 * posix/Makefile: Likewise.
17588 * stdio-common/Makefile: Likewise.
17589 * stdlib/Makefile: Likewise.
17590 * sysdeps/x86_64/Makefile: Likewise.
17592 * io/ftwtest-sh: Add copyright header.
17593 * posix/globtest.sh: Likewise.
17594 * posix/tst-getconf.sh: Likewise.
17595 * posix/wordexp-tst.sh: Likewise.
17596 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17598 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17601 * Makeconfig (+link): Defined as $(+link-static) if
17602 $(build-shared) isn't yes.
17603 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17605 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17607 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17610 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17611 new chunk size with MALLOC_ALIGN_MASK.
17613 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17616 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17618 (__printf_fphex): Determine rounding using get_rounding_mode and
17620 * stdio-common/tst-printf-round.c (struct hex_test): New
17622 (hex_tests): New variable.
17623 (test_hex_in_one_mode): New function.
17624 (do_test): Also run tests for hex float output.
17626 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17628 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17629 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17630 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17631 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17632 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17633 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17634 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17635 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17637 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17639 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17640 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17641 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17642 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17644 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17647 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17649 * elf/tst-rtld-load-self.sh: New test.
17650 * elf/Makefile: Run it.
17652 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17654 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17655 (tst-writev-ENV): Remove.
17656 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17658 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17660 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17662 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17664 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17666 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17668 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17669 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17670 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17673 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17676 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17677 * config.make.in (have-cpp-asm-debuginfo): Removed.
17678 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17679 * configure: Regenerated.
17681 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17684 * stdio-common/printf_fp.c: Include <stdbool.h> and
17686 (___printf_fp): Determine rounding using get_rounding_mode and
17688 * stdio-common/tst-printf-round.c: New file.
17689 * stdio-common/Makefile (tests): Add tst-printf-round.
17690 (link-libm): New variable.
17691 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17693 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17696 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17697 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17699 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17702 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17704 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17705 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17706 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17707 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17709 2012-09-12 Joseph Myers <joseph@codesourcery.com>
17712 * include/rounding-mode.h: New file.
17713 * sysdeps/generic/get-rounding-mode.h: Likewise.
17714 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17715 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17716 (MAX_VALUE): New macro.
17717 (MIN_VALUE): Likewise.
17718 (overflow_value): New function.
17719 (underflow_value): Likewise.
17720 (round_and_return): Use overflow_value and underflow_value to
17721 determine return values in overflow and underflow cases. Use
17722 round_away to determine rounding depending on rounding mode.
17723 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17724 determine return values in overflow and underflow cases.
17725 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17726 (struct test_results): New structure.
17727 (struct test): Use struct test_results to store expected results
17728 for all rounding modes.
17729 (TEST): Include expected results for all rounding modes.
17730 (test_in_one_mode): New function.
17731 (do_test): Use test_in_one_mode to compute and check results.
17732 Check results for all rounding modes.
17733 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17736 2012-12-09 Allan McRae <allan@archlinux.org>
17738 * sysdeps/i386/fpu/libm-test-ulps: Update
17740 2012-09-11 Joseph Myers <joseph@codesourcery.com>
17742 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17743 (_G_int32_t): Likewise.
17744 (_G_uint16_t): Likewise.
17745 (_G_uint32_t): Likewise.
17746 (_G_HAVE_BOOL): Likewise.
17747 (_G_HAVE_ATEXIT): Likewise.
17748 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17749 (_G_HAVE_IO_FILE_OPEN): Likewise.
17750 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17751 (_G_int32_t): Likewise.
17752 (_G_uint16_t): Likewise.
17753 (_G_uint32_t): Likewise.
17754 (_G_HAVE_BOOL): Likewise.
17755 (_G_HAVE_ATEXIT): Likewise.
17756 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17757 (_G_HAVE_IO_FILE_OPEN): Likewise.
17758 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17759 (_G_int32_t): Likewise.
17760 (_G_uint16_t): Likewise.
17761 (_G_uint32_t): Likewise.
17762 (_G_HAVE_BOOL): Likewise.
17763 (_G_HAVE_ATEXIT): Likewise.
17764 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17765 (_G_HAVE_IO_FILE_OPEN): Likewise.
17767 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17769 * csu/libc-tls.c: Update copyright years.
17771 2012-09-10 Joseph Myers <joseph@codesourcery.com>
17773 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17774 [!_G_USING_THUNKS]: Remove conditional code.
17775 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17776 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17778 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17779 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17780 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17781 (_G_VTABLE_LABEL_PREFIX): Likewise.
17782 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17783 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17784 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17785 (_G_VTABLE_LABEL_PREFIX): Likewise.
17786 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17787 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17788 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17789 (_G_VTABLE_LABEL_PREFIX): Likewise.
17790 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17792 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17794 * libio/Makefile: Include ../Makeconfig before tests.
17795 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17796 only if $(build-shared) is yes.
17798 * iconv/gconv_db.c: Update copyright years.
17800 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17802 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17803 unwind info if defined PIC. Fix special cases description.
17804 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17806 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17808 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17810 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17812 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17814 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17817 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17818 (LDLIBS-tst-chk4): This.
17819 (LDFLAGS-tst-chk5): Renamed to ...
17820 (LDLIBS-tst-chk5): This.
17821 (LDFLAGS-tst-chk6): Renamed to ...
17822 (LDLIBS-tst-chk6): This.
17823 (LDFLAGS-tst-lfschk4): Renamed to ...
17824 (LDLIBS-tst-lfschk4): This.
17825 (LDFLAGS-tst-lfschk5): Renamed to ...
17826 (LDLIBS-tst-lfschk5): This.
17827 (LDFLAGS-tst-lfschk6): Renamed to ...
17828 (LDLIBS-tst-lfschk6): This.
17830 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17831 on $(common-objpfx)soversions.mk.
17833 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17836 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17839 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17841 * malloc/arena.c (arena_get_retry): New function that gets
17842 another arena for the caller to try its request on.
17843 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17844 current arena cannot fulfill the request.
17845 (__libc_memalign): Likewise.
17846 (__libc_memalign): Likewise.
17847 (__libc_pvalloc): Likewise.
17848 (__libc_calloc): Likewise.
17850 2012-09-05 John Tobey <john.tobey@gmail.com>
17853 * manual/arith.texi (Operations on Complex): Fix description
17854 of carg branch cut.
17856 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17859 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17863 * manual/memory.texi (Memory): Make order of menu items match
17866 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17868 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17869 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17870 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17872 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17874 * csu/libc-tls.c (static_dtv): Renamed to ...
17875 (_dl_static_dtv): This. Make it global.
17876 (_dl_initial_dtv): Removed.
17877 (__libc_setup_tls): Updated.
17878 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17879 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17882 2012-09-06 Petr Machata <pmachata@redhat.com>
17884 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17885 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17886 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17887 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17889 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17892 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17893 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17896 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17899 * Makeconfig (link-static-before-libc): Replace $(+prector)
17901 (link-static-after-libc): Replace $(+postctor) with
17903 (link-bounded): Replace $(+prector)/$(+postctor) with
17904 $(+prectorT)/$(+postctorT).
17905 (+prectorT): New macro.
17906 (+postctorT): Likewise.
17908 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17910 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17911 (round_str): Handle values above the maximum for IBM long double
17913 * stdlib/tst-strtod-round.c (tests): Regenerated.
17915 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17917 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17919 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17920 zarch_nohighgprs around the zarch optimized routines.
17921 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17922 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17923 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17926 2012-09-05 David S. Miller <davem@davemloft.net>
17928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17930 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17931 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17932 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17933 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17936 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17938 * malloc/arena.c: Fold copyright years.
17939 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17941 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17943 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17945 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17947 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17949 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17951 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17952 change internal state upon failure.
17954 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17956 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17957 * malloc/memusage.c (mmap): Likewise.
17958 (mmap64, mremap): Likewise. Adjust name in comment.
17960 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17962 * libio/fileops.c: Fix typos in comments.
17963 * libio/oldfileops.c: Likewise.
17964 * libio/wfileops.c: Likewise.
17966 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17969 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17970 (tst-malloc-usable-ENV): Set environment for test case.
17971 * malloc/hooks.c (malloc_check_get_size): New function to get
17973 * malloc/malloc.c (musable): Use malloc_check_get_size.
17974 * malloc/tst-malloc-usable.c: New test case.
17976 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17978 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17980 2012-09-05 Allan McRae <allan@archlinux.org>
17983 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17984 determine header location.
17985 * configure: Regenerated.
17987 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17989 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17991 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17992 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17994 (test): Regenerate.
17996 2012-09-04 David S. Miller <davem@davemloft.net>
17998 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17999 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18000 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18002 2012-09-04 Florian Weimer <fweimer@redhat.com>
18004 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18007 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18009 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18012 * libio/iogetdelim.c: Include <limits.h>.
18013 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18014 + len + 1 would overflow.
18016 2012-09-03 Andreas Jaeger <aj@suse.de>
18018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18019 * sysdeps/i386/fpu/libm-test-ulps: Update.
18021 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18023 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18024 Add s_sinf-sse2, s_conf-sse2.
18026 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18027 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18028 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18029 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18031 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18032 for using routine as __sinf_ia32.
18033 Use macro for function declaration and weak_alias.
18034 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18035 for using routine as __cosf_ia32.
18036 Use macro for function declaration and weak_alias.
18038 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18039 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18041 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18042 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18045 * math/libm-test.inc (cos_test): Add more test cases.
18046 (sin_test): Likewise.
18047 (sincos_test): Likewise.
18049 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18051 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18052 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18054 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18056 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18059 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18060 first element of the GOT.
18061 (elf_machine_load_address): Return the difference between
18062 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18064 2012-09-01 Allan McRae <allan@archlinux.org>
18067 * configure.in (AWK): Require gawk version 3.0 or later.
18068 * configure: Regenerated.
18070 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18072 * sysdeps/unix/sysv/linux/kernel-features.h
18073 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18074 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18075 [__NR_clock_getres]: Make code unconditional.
18076 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18077 (clock_getcpuclockid): Remove code left unreachable by removal of
18079 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18080 code unconditional.
18081 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18082 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18083 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18084 Make code unconditional.
18085 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18086 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18087 * sysdeps/unix/sysv/linux/clock_settime.c
18088 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18090 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18091 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18093 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18096 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18097 scripts/test-installation.pl.
18099 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18100 and $ld_so_version if it is set.
18102 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18106 failure if reading from procfs failed.
18107 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18109 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18111 * sysdeps/unix/sysv/linux/kernel-features.h
18112 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18113 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18114 Remove conditional code.
18115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18116 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18117 Remove conditional code.
18118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18119 * sysdeps/unix/sysv/linux/i386/fxstat.c
18120 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18122 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18123 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18125 * sysdeps/unix/sysv/linux/i386/lxstat.c
18126 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18128 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18129 Remove conditional code.
18130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18131 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18132 Remove conditional code.
18133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18134 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18135 <kernel-features.h>.
18136 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18138 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18139 Remove conditional code.
18140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18141 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18142 Remove conditional.
18144 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18147 * NEWS: Add fixed bug number.
18149 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18152 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18153 underflowing exponent in case of negative sign.
18154 * stdlib/tst-strtod-round-data: Add more tests.
18155 * stdlib/tst-strtod-round.c (tests): Regenerated.
18158 * stdlib/strtod_l.c (NDIG): Remove.
18159 (HEXNDIG): Likewise.
18160 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18161 smallest representable value.
18162 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18163 lie within an exact representation of 1/2 ulp of the result.
18164 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18166 (TENS_P9_IDX): Define unconditionally.
18167 (TENS_P9_SIZE): Likewise.
18168 (TENS_P10_IDX): Likewise.
18169 (TENS_P10_SIZE): Likewise.
18170 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18171 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18172 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18173 entries for 10^2^13 and 10^2^14.
18174 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18175 (TENS_P13_IDX): Define.
18176 (TENS_P13_SIZE): Likewise.
18177 (TENS_P14_IDX): Likewise.
18178 (TENS_P14_SIZE): Likewise.
18179 (_fpioconst_pow10): Change array size to
18180 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18182 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18183 1024]: Add entries for 10^2^13 and 10^2^14.
18184 [LAST_POW10 > _LAST_POW10]: Remove #error.
18185 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18186 (_fpioconst_pow10): Change array size to
18187 FPIOCONST_POW10_ARRAY_SIZE.
18188 * stdlib/gen-fpioconst.c: New file.
18189 * stdlib/gen-tst-strtod-round.c: Likewise.
18190 * stdlib/tst-strtod-round-data: Likewise.
18191 * stdlib/tst-strtod-round.c: Likewise.
18192 * stdlib/Makefile (tests): Add tst-strtod-round.
18195 * stdlib/strtod_l.c: Include <stdint.h>.
18196 (NDEBUG): Do not define.
18197 (round_and_return): Change EXPONENT parameter to type intmax_t.
18198 Rearrange calculations to avoid internal overflow possibilities.
18199 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18200 Rearrange calculations to avoid internal overflow possibilities.
18201 Assert that number fits inside MPNSIZE limbs.
18202 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18203 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18204 calculations and add assertions to avoid internal overflow
18205 possibilities. Add casts to avoid signed/unsigned operations.
18206 * stdlib/tst-strtod-overflow.c: New file.
18207 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18209 2012-08-25 Marek Polacek <polacek@redhat.com>
18211 * time/time.h: Fix some typos in comments.
18213 2012-08-23 Roland McGrath <roland@hack.frob.com>
18215 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18216 * posix/tst-rfc3484-2.c: Likewise.
18217 * posix/tst-rfc3484-3.c: Likewise.
18219 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18221 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18222 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18224 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18226 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18227 #include of fxstatat64.c.
18229 2012-08-22 Roland McGrath <roland@hack.frob.com>
18231 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18232 * shadow/getspent_r.c: Likewise.
18233 * shadow/getspnam.c: Likewise.
18234 * shadow/getspnam_r.c: Likewise.
18235 * gshadow/getsgent.c: Likewise.
18236 * gshadow/getsgent_r.c: Likewise.
18237 * gshadow/getsgnam.c: Likewise.
18238 * gshadow/getsgnam_r.c: Likewise.
18239 * inet/getnetbyad.c: Likewise.
18240 * inet/getnetbyad_r.c: Likewise.
18241 * inet/getnetbynm.c: Likewise.
18242 * inet/getnetbynm_r.c: Likewise.
18243 * inet/getnetent.c: Likewise.
18244 * inet/getnetent_r.c: Likewise.
18245 * inet/getproto.c: Likewise.
18246 * inet/getproto_r.c: Likewise.
18247 * inet/getprtent.c: Likewise.
18248 * inet/getprtent_r.c: Likewise.
18249 * inet/getprtname.c: Likewise.
18250 * inet/getprtname_r.c: Likewise.
18251 * inet/getrpcbyname.c: Likewise.
18252 * inet/getrpcbyname_r.c: Likewise.
18253 * inet/getrpcbynumber.c: Likewise.
18254 * inet/getrpcbynumber_r.c: Likewise.
18255 * inet/getrpcent.c: Likewise.
18256 * inet/getrpcent_r.c: Likewise.
18257 * inet/getaliasent.c: Likewise.
18258 * inet/getaliasent_r.c: Likewise.
18259 * inet/getaliasname.c: Likewise.
18260 * inet/getaliasname_r.c: Likewise.
18261 * nscd/getgrgid_r.c: Likewise.
18262 * nscd/getgrnam_r.c: Likewise.
18263 * nscd/gethstbyad_r.c: Likewise.
18264 * nscd/gethstbynm3_r.c: Likewise.
18265 * nscd/getpwnam_r.c: Likewise.
18266 * nscd/getpwuid_r.c: Likewise.
18267 * nscd/getsrvbynm_r.c: Likewise.
18268 * nscd/getsrvbypt_r.c: Likewise.
18269 * nscd/gai.c: Likewise.
18271 * configure.in (build_nscd): New substituted variable, set
18272 by --disable-build-nscd and defaults to $use_nscd.
18273 * configure: Regenerated.
18274 * config.make.in (build-nscd): New substituted variable.
18275 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18276 Change conditional to require [$(build-nscd) = yes] as well.
18277 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18280 * configure.in (use_nscd): New substituted variable, set by
18281 --disable-nscd. If enabled, define USE_NSCD.
18282 * configure: Regenerated.
18283 * config.h.in: Add USE_NSCD.
18284 * config.make.in (use-nscd): New substituted variable.
18285 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18286 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18287 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18288 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18289 (CFLAGS-getgrnam_r.c): Likewise.
18290 (CFLAGS-initgroups.c): Likewise.
18291 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18292 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18294 * inet/getnetgrent_r.c
18295 (nscd_setnetgrent): New function, broken out of ...
18296 (setnetgrent): ... here. Call it.
18297 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18298 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18299 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18300 * nscd/Makefile (routines, aux): Move definitions after include of
18301 Makeconfig. Conditionalize on [$(use-nscd) != no].
18302 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18303 Conditionalize on [USE_NSCD].
18304 (is_nscd, nscd_init_cb): Likewise.
18305 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18306 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18307 * nss/nss_db/db-init.c: Likewise.
18308 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18310 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18311 (make_request): Use it.
18312 (cache_valid_p): New function.
18313 (__check_pf): Use it.
18314 * NEWS: Add item for --disable-nscd.
18316 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18318 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18319 to support sed >= 4.2.1-20-ga9bf076.
18320 * configure: Regenerated.
18322 2012-08-22 Roland McGrath <roland@hack.frob.com>
18324 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18325 Conditionalize whole body on [IREL].
18327 2012-08-22 Jeff Law <law@redhat.com>
18330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18331 if the family is PF_UNSPEC.
18333 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18335 * Makerules (lib-version): Rename from V.
18336 (install-lib-nosubdir): Change V to lib-version.
18338 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18341 * powerpc32/power6/wcschr.c: New file.
18342 * powerpc32/power6/wcscpy.c: New file.
18343 * powerpc32/power6/wcsrchr.c: New file.
18344 * powerpc64/power6/wcschr.c: New file.
18345 * powerpc64/power6/wcscpy.c: New file.
18346 * powerpc64/power6/wcsrchr.c: New file.
18348 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18350 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18351 (two_way_short_needle): Use it.
18352 * string/strstr.c (AVAILABLE1_USES_J): Define.
18353 * string/strcasestr.c: Likewise.
18355 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18357 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18360 * NEWS: Add an entry.
18361 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18362 define their defaults.
18363 (two_way_short_needle): Detect end-of-string on-the-fly.
18364 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18365 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18366 * string/bug-strcasestr1.c: New test.
18367 * string/Makefile: Run it.
18369 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18372 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18373 the first character.
18375 2012-08-21 Roland McGrath <roland@hack.frob.com>
18377 * csu/elf-init.c (__libc_csu_irel): Function removed.
18378 * csu/libc-start.c (apply_irel): New function.
18379 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18381 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18383 * sysdeps/unix/sysv/linux/kernel-features.h
18384 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18385 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18386 <kernel-features.h>.
18387 [__NR_fadvise64_64]: Make code unconditional.
18388 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18389 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18390 !__NR_fadvise64_64)]: Likewise.
18391 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18392 !__NR_fadvise64_64))]: Likewise.
18393 [__NR_fadvise64]: Make code unconditional.
18394 [!__NR_fadvise64]: Remove conditional code.
18395 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18396 <kernel-features.h>.
18397 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18399 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18402 not include <kernel-features.h>.
18403 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18405 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18407 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18408 include <kernel-features.h>.
18409 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18411 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18414 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18416 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18417 slight instruction rearrangements per scrollpipe analysis.
18418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18420 2012-08-20 Roland McGrath <roland@hack.frob.com>
18422 * manual/syslog.texi (syslog; vsyslog, closelog):
18423 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18424 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18426 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18427 DSOCAPS to match condition on defining it.
18429 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18431 * sysdeps/unix/sysv/linux/kernel-features.h
18432 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18434 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18435 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18437 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18438 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18440 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18441 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18443 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18444 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18446 * sysdeps/unix/sysv/linux/kernel-features.h
18447 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18448 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18450 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18451 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18452 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18453 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18454 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18455 Make code unconditional.
18456 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18457 (__mmap64) [!__NR_mmap2]: Likewise.
18458 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18459 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18460 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18461 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18462 [__NR_mmap2]: Make code unconditional.
18463 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18464 (__mmap64) [!__NR_mmap2]: Likewise.
18466 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18468 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18470 2012-08-18 Andreas Jaeger <aj@suse.de>
18472 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18474 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18476 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18477 * include/unistd.h (__have_sock_cloexec): Likewise.
18478 (__have_pipe2): Likewise.
18479 (__have_dup3): Likewise.
18481 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18484 * include/unistd.h (__have_pipe2): Change define into an extern int.
18485 (__have_dup3): Likewise.
18486 * socket/have_sock_cloexec.c: Include fcntl.h.
18487 (__have_pipe2): New variable.
18488 (__have_dup3): Likewise.
18490 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18492 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18494 2012-08-17 Marek Polacek <polacek@redhat.com>
18496 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18497 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18499 2012-08-17 Roland McGrath <roland@hack.frob.com>
18501 * configure.in: Add AC_SUBST for sysheaders.
18502 * configure: Regenerated.
18503 * config.make.in (sysheaders): New substituted variable.
18505 * sysdeps/unix/mkfifo.c: Moved ...
18506 * sysdeps/posix/mkfifo.c: ... here.
18507 * sysdeps/unix/mkfifoat.c: Moved ...
18508 * sysdeps/posix/mkfifoat.c: ... here.
18510 * sysdeps/unix/utime.c: Moved ...
18511 * sysdeps/posix/utime.c: ... here.
18513 * sysdeps/unix/time.c: Moved ...
18514 * sysdeps/posix/time.c: ... here.
18515 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18516 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18518 * sysdeps/unix/nice.c: Moved ...
18519 * sysdeps/posix/nice.c: ... here.
18521 * sysdeps/unix/alarm.c: Moved ...
18522 * sysdeps/posix/alarm.c: ... here.
18524 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18526 2012-08-17 Jeff Law <law@redhat.com>
18528 * intl/Makefile (codeset_mo): New variable.
18529 ($(codeset_mo)): New target.
18530 (tst-codeset.out): Depend on that. Remove explicit rule.
18531 (tst-gettext3.out, tst-gettext5.out): Likewise.
18532 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18533 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18534 * intl/tst-codeset.sh: Remove.
18535 * intl/tst-gettext3.sh: Likewise.
18536 * intl/tst-gettext5.sh: Likewise.
18538 2012-08-17 Roland McGrath <roland@hack.frob.com>
18540 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18541 * sysdeps/unix/syscalls.list: ... here.
18543 * sysdeps/posix/getaddrinfo.c
18544 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18545 (gaiconf_init, gaiconf_reload): Use them.
18546 [!_STATBUF_ST_NSEC]
18547 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18548 Define using time_t rather than struct timespec.
18550 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18551 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18553 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18555 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18556 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18559 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18560 __libc_cleanup_push argument.
18562 * bits/param.h: New file.
18563 * misc/sys/param.h: New file.
18564 * include/sys/param.h: New file.
18565 * misc/Makefile (headers): Add bits/param.h.
18566 * sysdeps/generic/sys/param.h: File removed.
18567 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18568 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18569 * sysdeps/mach/hurd/bits/param.h: New file.
18570 * sysdeps/mach/hurd/sys/param.h: File removed.
18572 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18575 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18577 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18578 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18581 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18582 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18583 rather than -D_IO_MTSAFE_IO conditionally.
18584 * stdio-common/Makefile (CPPFLAGS): Likewise.
18585 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18586 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18587 Use $(libio-mtsafe).
18588 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18589 of -D_IO_MTSAFE_IO.
18590 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18591 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18592 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18593 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18594 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18595 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18596 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18597 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18598 (CFLAGS-fread_u_chk.c): Likewise.
18599 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18600 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18601 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18602 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18603 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18604 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18605 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18606 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18607 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18609 * libio/Makefile: Test [$(libc-reentrant) = yes]
18610 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18613 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18614 * sysdeps/pthread/configure: File removed.
18615 * sysdeps/pthread/Makeconfig: New file.
18616 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18617 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18619 2012-08-16 Gary Benson <gbenson@redhat.com>
18621 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18622 unmapping the first object in a namespace.
18624 2012-08-16 Roland McGrath <roland@hack.frob.com>
18626 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18627 (__internal_setnetgrent): ... this. Add internal_function to
18628 definition. Add libc_hidden_def.
18629 (setnetgrent): Update caller.
18630 (internal_endnetgrent): Renamed to ...
18631 (__internal_endnetgrent): ... this. Add internal_function to
18632 definition. Add libc_hidden_def.
18633 (endnetgrent): Update caller.
18634 (internal_getnetgrent_r): Renamed to ...
18635 (__internal_getnetgrent_r): ... this. Add internal_function to
18636 definition. Add libc_hidden_def.
18637 (__getnetgrent_r): Update caller.
18638 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18640 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18642 * stdlib/longlong.h: Update from GCC.
18644 2012-08-16 Roland McGrath <roland@hack.frob.com>
18646 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18647 on _QL, which is set by umul_ppmm but never used.
18648 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18649 variables, which are set by GMP macros but never used.
18650 * stdio-common/_itowa.c (_itowa): Likewise.
18651 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18652 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18654 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18656 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18657 struct La_sh_regs is not constant.
18658 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18659 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18660 and struct La_sparc64_regs are not constant.
18662 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18664 * sysdeps/unix/sysv/linux/kernel-features.h
18665 (__ASSUME_POSIX_TIMERS): Remove.
18666 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18668 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18669 Make code unconditional.
18670 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18671 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18672 Make code unconditional.
18673 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18674 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18675 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18676 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18677 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18678 Make code unconditional.
18679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18680 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18681 (__libc_missing_posix_timers): Remove.
18683 2012-08-15 Roland McGrath <roland@hack.frob.com>
18685 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18686 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18688 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18690 * elf/dl-sym.c: Include <stdlib.h>.
18692 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18693 constants, which avoids warnings in 32-bit builds.
18695 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18696 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18698 * misc/lseek.c: File moved to ...
18699 * io/lseek.c: ... here.
18701 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18703 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18704 shifting LEN more than 31 bits at once.
18706 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18709 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18710 segmentation fault for a case of two empty input strings.
18711 * string/test-strncasecmp.c (check1): Renamed to...
18712 (bz12205): ...this.
18713 (bz14195): Add new testcase for two empty input strings and N > 0.
18714 (test_main): Call new testcase, adapt for renamed function.
18716 2012-08-15 Andreas Jaeger <aj@suse.de>
18719 * crypt/md5test2.c: New test, based on test supplied by Serge
18720 Belyshev <belyshev@depni.sinp.msu.ru>.
18721 * crypt/Makefile (xtests): Add md5test-giant..
18722 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18724 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18727 * crypt/md5.c (md5_process_block): Don't assume the buffer
18728 length is less than 2**32.
18729 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18730 length is less than 2**64.
18732 2012-08-15 Roland McGrath <roland@hack.frob.com>
18734 * string/str-two-way.h: Include <sys/param.h>.
18735 (MAX): Macro removed.
18737 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18738 Move #define and #undef of memmove to just before and after
18739 including <string.h>.
18741 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18742 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18743 and after including <string.h>. Move declarations of
18744 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18745 to before #include "string/memmove.c".
18747 * include/dirent.h: Declare __getdirentries.
18749 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18750 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18752 2012-08-14 Mike Frysinger <vapier@gentoo.org>
18754 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18755 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18756 * sysdeps/i386/configure: Regenerated.
18757 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18758 STABS_CURRENT_FILE, and STABS_FUN.
18759 (END): Remove call to STABS_FUN_END.
18760 (STABS_CURRENT_FILE1): Delete.
18761 (STABS_CURRENT_FILE): Likewise.
18762 (STABS_FUN): Likewise.
18763 (STABS_FUN_END): Likewise.
18764 (STABS_FUN2): Likewise.
18765 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18766 * sysdeps/x86_64/configure: Regenerated.
18768 2012-08-14 Roland McGrath <roland@hack.frob.com>
18770 * elf/dl-open.c: Include <atomic.h>.
18771 * elf/dl-lookup.c: Likewise.
18773 2012-08-14 Joseph Myers <joseph@codesourcery.com>
18775 * sysdeps/unix/sysv/linux/kernel-features.h
18776 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18777 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18779 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18781 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18782 condition on __ASSUME_CLONE_THREAD_FLAGS.
18784 2012-08-14 Andreas Jaeger <aj@suse.de>
18786 * sysdeps/i386/fpu/libm-test-ulps: Update.
18788 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18790 * include/atomic.h (atomic_exchange_and_add): Split into ...
18791 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18794 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18798 2012-08-13 Jeff Law <law@redhat.com>
18800 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18801 null byte in the output string.
18803 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18805 * sysdeps/unix/sysv/linux/kernel-features.h
18806 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18807 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18808 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18809 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18810 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18811 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18812 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18814 2012-08-09 Jeff Law <law@redhat.com>
18817 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18818 When avoid_arena is set, don't retry in the that arena. Pick the
18819 next one, whatever it might be.
18820 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18821 (arena_lock): Pass in new parameter to arena_get2.
18822 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18824 (__libc_malloc): Unify retrying after main arena failure with
18825 __libc_memalign version.
18826 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18828 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18831 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18832 to __redirect_strstr.
18833 (__strstr_sse42): Use typeof __redirect_strstr.
18834 (__strstr_ia32): Likewise.
18835 (__libc_strstr): New prototype.
18836 (strstr): Renamed to ...
18837 (__libc_strstr): This.
18838 (strstr): New strong alias of __libc_strstr.
18839 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18840 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18843 (__libc_time): New prototype.
18844 (time_ifunc): Replace time with __libc_time.
18845 (time): New strong alias and hidden definition of __libc_time.
18846 (__GI_time): Remove strong alias.
18847 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18848 Include <stddef.h>.
18849 (memmove): Redefined to __redirect_memmove.
18850 (__memmove_sse2): Use typeof __redirect_memmove.
18851 (__memmove_ssse3): Likewise.
18852 (__memmove_ssse3_back): Likewise.
18853 (__libc_memmove): New prototype.
18854 (memmove): Renamed to ...
18855 (__libc_memmove): This.
18856 (memmove): New strong alias of __libc_memmove.
18858 2012-08-08 Mark Salter <msalter@redhat.com>
18861 (R_MN10300_TLS_GD): Define.
18862 (R_MN10300_TLS_LD): Likewise.
18863 (R_MN10300_TLS_LDO): Likewise.
18864 (R_MN10300_TLS_GOTIE): Likewise.
18865 (R_MN10300_TLS_IE): Likewise.
18866 (R_MN10300_TLS_LE): Likewise.
18867 (R_MN10300_TLS_DTPMOD): Likewise.
18868 (R_MN10300_TLS_DTPOFF): Likewise.
18869 (R_MN10300_TLS_TPOFF): Likewise.
18870 (R_MN10300_SYM_DIFF): Likewise.
18871 (R_MN10300_ALIGN): Likewise.
18872 (R_MN10300_NUM): Update.
18874 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18876 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18879 2012-08-08 Roland McGrath <roland@hack.frob.com>
18881 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18883 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18884 sysdeps/unix -> sysdeps/posix move.
18885 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18887 2012-08-07 Allan McRae <allan@archlinux.org>
18890 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18891 (SUNOS_CPP): Likewise.
18892 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18894 (open_input): Call CPP using execvp.
18896 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18898 * sysdeps/unix/sysv/linux/kernel-features.h
18899 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18900 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18901 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18902 (__ASSUME_WAITID_SYSCALL): Likewise.
18903 * sysdeps/unix/sysv/linux/dl-execstack.c
18904 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18905 code unconditional.
18906 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18908 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18909 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18910 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18912 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18914 [__ASSUME_WAITID_SYSCALL]: Likewise.
18915 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18917 2012-08-07 Roland McGrath <roland@hack.frob.com>
18919 * sysdeps/unix/closedir.c: Renamed to ...
18920 * sysdeps/posix/closedir.c: ... here.
18921 * sysdeps/unix/dirfd.c: Renamed to ...
18922 * sysdeps/posix/dirfd.c: ... here.
18923 * sysdeps/unix/dirstream.h: Renamed to ...
18924 * sysdeps/posix/dirstream.h: ... here.
18925 * sysdeps/unix/fdopendir.c: Renamed to ...
18926 * sysdeps/posix/fdopendir.c: ... here.
18927 * sysdeps/unix/opendir.c: Renamed to ...
18928 * sysdeps/posix/opendir.c: ... here.
18929 * sysdeps/unix/readdir.c: Renamed to ...
18930 * sysdeps/posix/readdir.c: ... here.
18931 * sysdeps/unix/readdir_r.c: Renamed to ...
18932 * sysdeps/posix/readdir_r.c: ... here.
18933 * sysdeps/unix/rewinddir.c: Renamed to ...
18934 * sysdeps/posix/rewinddir.c: ... here.
18935 * sysdeps/unix/seekdir.c: Renamed to ...
18936 * sysdeps/posix/seekdir.c: ... here.
18937 * sysdeps/unix/telldir.c: Renamed to ...
18938 * sysdeps/posix/telldir.c: ... here.
18939 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18940 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18941 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18942 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18944 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18945 * bits/fcntl.h: ... here.
18947 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18949 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18950 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18951 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18952 (struct flock): Move l_start, l_len to the beginning.
18953 Use __pid_t for l_pid.
18954 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18955 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18956 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18957 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18958 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18959 [__USE_LARGEFILE64] (struct flock64): New type.
18960 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18962 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18963 * bits/dirent.h: ... here.
18965 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18966 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18968 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18970 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18971 Change from 2.6.0 to 2.6.16.
18972 * sysdeps/unix/sysv/linux/configure: Regenerated.
18973 * sysdeps/unix/sysv/linux/kernel-features.h
18974 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18975 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18977 (__ASSUME_UTIMES): Likewise.
18978 (__ASSUME_CLONE_STOPPED): Remove.
18979 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18980 architectures, not kernel version.
18981 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18982 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18983 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18984 (__ASSUME_WAITID_SYSCALL): Likewise.
18985 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18986 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18987 * README: State 2.6.16 as minimum Linux kernel version. Do not
18988 refer to older versions.
18990 2012-08-06 Roland McGrath <roland@hack.frob.com>
18992 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18993 Define alphasort64 as an alias.
18994 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18995 Define versionsort64 as an alias.
18996 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18997 Define scandir64 as an alias.
18998 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18999 Define scandirat64 as an alias.
19000 * dirent/alphasort64.c (alphasort64):
19001 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19002 * dirent/versionsort64.c: Likewise.
19003 * dirent/scandir64.c: Likewise.
19004 * dirent/scandirat64.c: Likewise.
19005 * sysdeps/wordsize-64/alphasort.c: File removed.
19006 * sysdeps/wordsize-64/alphasort64.c: File removed.
19007 * sysdeps/wordsize-64/scandir.c: File removed.
19008 * sysdeps/wordsize-64/scandir64.c: File removed.
19009 * sysdeps/wordsize-64/scandirat.c: File removed.
19010 * sysdeps/wordsize-64/scandirat64.c: File removed.
19011 * sysdeps/wordsize-64/versionsort.c: File removed.
19012 * sysdeps/wordsize-64/versionsort64.c: File removed.
19013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19014 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19015 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19016 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19017 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19018 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19020 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19022 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19023 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19024 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19026 [defined __arch64__ || defined __sparcv9]
19027 (__INO_T_MATCHES_INO64_T): New macro.
19028 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19029 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19030 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19031 * sysdeps/unix/sysv/linux/bits/dirent.h
19032 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19033 (_DIRENT_MATCHES_DIRENT64): New macro.
19035 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19036 Define lockf64 as an alias.
19037 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19038 Define fseeko64 as an alias.
19039 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19040 Define ftello64 as an alias.
19041 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19042 Define _IO_fgetpos64 and fgetpos64 as aliases.
19043 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19044 Define _IO_fsetpos64 and fsetpos64 as aliases.
19045 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19046 Conditionalize body on this.
19047 * libio/fseeko64.c: Likewise.
19048 * libio/ftello64.c: Likewise.
19049 * libio/iofgetpos64.c: Likewise.
19050 * libio/iofsetpos64.c: Likewise.
19051 * sysdeps/wordsize-64/lockf.c: File removed.
19052 * sysdeps/wordsize-64/lockf64.c: File removed.
19053 * sysdeps/wordsize-64/fseeko.c: File removed.
19054 * sysdeps/wordsize-64/fseeko64.c: File removed.
19055 * sysdeps/wordsize-64/ftello.c: File removed.
19056 * sysdeps/wordsize-64/ftello64.c: File removed.
19057 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19058 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19059 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19060 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19061 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19062 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19063 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19064 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19065 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19066 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19067 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19068 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19070 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19072 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19074 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19076 [defined __arch64__ || defined __sparcv9]
19077 (__OFF_T_MATCHES_OFF64_T): New macro.
19078 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19079 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19081 (__OFF_T_MATCHES_OFF64_T): New macro.
19083 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19085 * stdlib/secure-getenv.c (__secure_getenv): Replace
19086 GLIBC_2_16 with GLIBC_2_17.
19088 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19091 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19093 2012-08-03 David S. Miller <davem@davemloft.net>
19095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19097 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19101 (__ASSUME_CORRECT_SI_PID): Likewise.
19102 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19103 (__ASSUME_TMPFS_NAME): Likewise.
19104 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19105 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19106 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19107 (HAVE_AUX_SECURE): Make definition unconditional.
19108 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19109 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19111 2012-08-03 Roland McGrath <roland@hack.frob.com>
19113 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19114 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19115 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19116 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19117 __eloop_threshold instead of SYMLOOP_MAX.
19119 * sysdeps/generic/eloop-threshold.h: New file.
19120 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19122 * elf/chroot_canon.c (chroot_canon): Likewise.
19124 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19128 Change to 2.6.0 everywhere.
19129 * sysdeps/unix/sysv/linux/configure: Regenerated.
19130 * sysdeps/unix/sysv/linux/kernel-features.h
19131 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19132 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19134 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19135 (__ASSUME_FUTEX_REQUEUE): Remove.
19136 (__ASSUME_STATFS64): Define unconditionally.
19137 (__ASSUME_AT_SECURE): Likewise.
19138 (__ASSUME_CORRECT_SI_PID): Likewise.
19139 (__ASSUME_TGKILL): Define without depending on kernel version for
19141 (__ASSUME_UTIMES): Likewise.
19142 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19144 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19145 (__ASSUME_TMPFS_NAME): Likewise.
19146 * README: Update reference to Linux kernel versions.
19148 2012-08-02 Marek Polacek <polacek@redhat.com>
19151 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19152 libc_cv_asm_type_prefix with %.
19153 * configure: Regenerated.
19154 * include/libc-symbols.h: Remove comment about
19155 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19156 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19157 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19158 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19159 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19160 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19161 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19162 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19163 * elf/tst-unique2mod1.c: Likewise.
19164 * elf/tst-unique1mod2.c: Likewise.
19165 * elf/tst-unique1mod1.c: Likewise.
19166 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19167 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19168 Replace ASM_TYPE_DIRECTIVE with .type.
19169 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19170 * sysdeps/i386/sysdep.h: Likewise.
19171 * sysdeps/x86_64/sysdep.h: Likewise.
19172 * sysdeps/sh/sysdep.h: Likewise.
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19174 Do not define ASM_TYPE_DIRECTIVE.
19175 * sysdeps/powerpc/sysdep.h: Likewise.
19176 * sysdeps/powerpc/powerpc32/sysdep.h:
19177 Replace ASM_TYPE_DIRECTIVE with .type.
19178 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19179 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19180 * sysdeps/i386/fpu/e_powf.S: Likewise.
19181 * sysdeps/i386/fpu/e_expl.S: Likewise.
19182 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19183 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19184 * sysdeps/i386/fpu/e_pow.S: Likewise.
19185 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19186 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19187 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19188 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19189 * sysdeps/i386/fpu/e_log2.S: Likewise.
19190 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19191 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19192 * sysdeps/i386/fpu/e_powl.S: Likewise.
19193 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19194 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19195 * sysdeps/i386/fpu/e_logl.S: Likewise.
19196 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19197 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19198 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19199 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19201 * sysdeps/i386/fpu/e_log.S: Likewise.
19202 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19203 * sysdeps/i386/fpu/e_logf.S: Likewise.
19204 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19206 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19207 * sysdeps/i386/fpu/e_log10.S: Likewise.
19208 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19209 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19210 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19211 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19212 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19213 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19214 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19215 * sysdeps/i386/i686/strtok.S: Likewise.
19216 * sysdeps/i386/i386-mcount.S: Likewise.
19217 * sysdeps/i386/strtok.S: Likewise.
19218 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19220 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19221 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19222 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19223 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19224 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19225 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19226 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19227 * sysdeps/x86_64/_mcount.S: Likewise.
19228 * sysdeps/x86_64/strtok.S: Likewise.
19229 * sysdeps/sh/_mcount.S: Likewise.
19231 2012-08-01 Roland McGrath <roland@hack.frob.com>
19233 * libio/iofopen.c: Include <fcntl.h>.
19234 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19235 (_IO_fopen64, fopen64): Define as aliases.
19236 * libio/iofopen64.c: Include <fcntl.h>.
19237 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19238 Conditionalize body on this.
19239 * sysdeps/wordsize-64/iofopen.c: File removed.
19240 * sysdeps/wordsize-64/iofopen64.c: File removed.
19242 2012-08-01 Marek Polacek <polacek@redhat.com>
19244 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19245 Use dlfcn directly instead of a variable.
19246 (binfmt-subdir): Do not define.
19249 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19252 Remove all definitions.
19253 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19254 <kernel-features.h>.
19255 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19256 (miss_F_GETOWN_EX): Remove all definitions.
19257 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19259 [!__ASSUME_FCNTL64]: Remove conditional code.
19260 [__ASSUME_FCNTL64]: Make code unconditional.
19261 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19262 <kernel-features.h>.
19263 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19264 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19265 (lockf64) [__NR_fcntl64]: Make code unconditional.
19266 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19268 * sysdeps/unix/sysv/linux/kernel-features.h
19269 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19270 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19271 Make code unconditional.
19272 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19273 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19275 [__NR_vfork]: Make code unconditional.
19276 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19277 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19279 [__NR_vfork]: Make code unconditional.
19280 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19281 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19283 2012-08-01 Roland McGrath <roland@hack.frob.com>
19285 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19286 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19288 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19289 Define mkstemp64 as an alias.
19290 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19291 Define mkstemps64 as an alias.
19292 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19293 Define mkostemp64 as an alias.
19294 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19295 Define mkostemps64 as an alias.
19296 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19297 Conditionalize body on this.
19298 * misc/mkostemp64.c: Likewise.
19299 * misc/mkostemps64.c: Likewise.
19300 * misc/mkstemps64.c: Likewise.
19301 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19302 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19303 * sysdeps/wordsize-64/mkostemp.c: File removed.
19304 * sysdeps/wordsize-64/mkstemp.c: File removed.
19305 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19306 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19307 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19308 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19311 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19312 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19313 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19314 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19316 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19317 compat_symbol macros from <shlib-compat.h> rather than the underlying
19318 default_symbol_version and symbol_version macros, so that DEFAULT
19319 lines in shlib-versions are respected.
19320 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19322 2012-08-01 Florian Weimer <fweimer@redhat.com>
19324 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19325 Declare with warn_unused_result.
19326 (setgid, setregid, setegid, setresgid): Likewise.
19327 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19329 * WUR-REPORT: Remove set*id functions.
19331 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19333 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19335 2012-07-31 Roland McGrath <roland@hack.frob.com>
19338 * include/sys/socket.h (__libc_accept, __libc_accept4):
19339 Add attribute_hidden.
19340 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19344 * inet/getnetgrent_r.c (setup): Likewise.
19346 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19348 2012-07-31 David S. Miller <davem@davemloft.net>
19350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19352 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19355 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19356 value between 1.0 and 2.0 and smaller part has absolute value less
19358 * math/s_clog10.c (__clog10): Likewise.
19359 * math/s_clog10f.c (__clog10f): Likewise.
19360 * math/s_clog10l.c (__clog10l): Likewise.
19361 * math/s_clogf.c (__clogf): Likewise.
19362 * math/s_clogl.c (__clogl): Likewise.
19363 * math/libm-test.inc (clog_test): Add more tests.
19364 (clog10_test): Likewise.
19365 * sysdeps/i386/fpu/libm-test-ulps: Update.
19366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19368 2012-07-31 Florian Weimer <fweimer@redhat.com>
19370 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19371 Exit with zero in case no suitable GID is found, and write a
19372 message to standard error.
19374 2012-07-30 Roland McGrath <roland@hack.frob.com>
19376 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19378 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19379 (MAXPATHLEN): Removed.
19380 (NOGROUP, NODEV): New macros.
19381 (setbit, clrbit, isset, isclr): New macros.
19382 (howmany, roundup, powerof2): New macros.
19383 (DEV_BSIZE): New macro.
19385 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19386 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19388 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19389 definition on [!__NO_LONG_DOUBLE_MATH].
19391 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19392 PTR_MANGLE and PTR_DEMANGLE.
19394 * socket/accept4.c (accept4): Rename to __libc_accept4.
19395 Define accept4 as a weak alias.
19397 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19398 on [_DIRENT_HAVE_D_TYPE].
19399 * io/ftw.c (ftw_dir): Likewise.
19401 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19403 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19405 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19406 Use the BSD numbers rather than the arbitrary ones we had.
19407 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19408 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19409 (SIGXCPU, SIGXFSZ): New macros.
19412 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19413 initializer on [_LIBC_REENTRANT].
19415 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19416 definitions inside [_POSIX_MAPPED_FILES].
19418 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19420 * dirent/opendir.c: Include <fcntl.h>.
19422 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19423 (__libc_getspecific): Likewise.
19424 (__libc_key_create): Likewise.
19426 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19427 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19428 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19429 (tmpfile64): Define as alias.
19430 * sysdeps/wordsize-64/tmpfile.c: File removed.
19431 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19433 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19435 * stdio-common/vfscanf.c: Include <stdbool.h>.
19436 * nss/makedb.c: Likewise.
19437 * stdio-common/_i18n_number.h: Likewise.
19438 * argp/argp-help.c: Likewise.
19439 * posix/wordexp.c: Likewise.
19440 * sysdeps/posix/spawni.c: Likewise.
19441 * nss/nss_files/files-initgroups.c: Likewise.
19442 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19443 * nss/nss_files/files-initgroups.c: Likewise.
19444 * nss/nss_db/db-netgrp.c: Likewise.
19445 * nss/nss_db/db-initgroups.c: Likewise.
19446 * io/fchmodat.c: Include <sys/stat.h>.
19448 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19449 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19451 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19454 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19455 Add multiple inclusion protection.
19457 2012-07-27 David S. Miller <davem@davemloft.net>
19459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19461 2012-07-27 Gary Benson <gbenson@redhat.com>
19464 * elf/rtld.c: Include <stap-probe.h>.
19465 (dl_main): Added static probes "init_start" and "init_complete".
19466 * elf/dl-load.c: Include <stap-probe.h>.
19467 (lose): Take new parameter "nsid".
19468 Added static probe "map_failed".
19469 (_dl_map_object_from_fd): Pass namespace id to lose.
19470 Added static probe "map_start".
19471 (open_verify): Pass namespace id to lose.
19472 * elf/dl-open.c: Include <stap-probe.h>.
19473 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19474 and "reloc_complete".
19475 * elf/dl-close.c: Include <stap-probe.h>.
19476 (_dl_close_worker): Added static probes "unmap_start" and
19478 * elf/rtld-debugger-interface.txt: New file documenting the above.
19480 2012-07-26 Roland McGrath <roland@hack.frob.com>
19482 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19483 rather than a string variable.
19484 * sunrpc/rpc_main.c (h_output): Likewise.
19485 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19487 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19489 * inet/check_native.c: New file.
19491 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19494 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19495 if larger part has absolute value 1.0.
19496 * math/s_clog10.c (__clog10): Likewise.
19497 * math/s_clog10f.c (__clog10f): Likewise.
19498 * math/s_clog10l.c (__clog10l): Likewise.
19499 * math/s_clogf.c (__clogf): Likewise.
19500 * math/s_clogl.c (__clogl): Likewise.
19501 * math/libm-test.inc (clog_test): Add more tests.
19502 (clog10_test): Likewise.
19503 * sysdeps/i386/fpu/libm-test-ulps: Update.
19504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19506 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19507 (pltexit): Likewise.
19508 (La_regs): Likewise.
19509 (La_retval): Likewise.
19510 (int_retval): Likewise.
19511 Update #error for removed macros to refer only to definitions in
19513 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19515 (pltexit): Likewise.
19516 (La_regs): Likewise.
19517 (La_retval): Likewise.
19518 (int_retval): Likewise.
19519 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19521 (pltexit): Likewise.
19522 (La_regs): Likewise.
19523 (La_retval): Likewise.
19524 (int_retval): Likewise.
19525 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19527 (pltexit): Likewise.
19528 (La_regs): Likewise.
19529 (La_retval): Likewise.
19530 (int_retval): Likewise.
19531 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19533 (pltexit): Likewise.
19534 (La_regs): Likewise.
19535 (La_retval): Likewise.
19536 (int_retval): Likewise.
19537 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19539 (pltexit): Likewise.
19540 (La_regs): Likewise.
19541 (La_retval): Likewise.
19542 (int_retval): Likewise.
19543 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19545 (pltexit): Likewise.
19546 (La_regs): Likewise.
19547 (La_retval): Likewise.
19548 (int_retval): Likewise.
19549 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19550 macro definitions in tst-audit.h.
19551 * sysdeps/i386/tst-audit.h: New file.
19552 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19553 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19554 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19555 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19556 * sysdeps/sh/tst-audit.h: Likewise.
19557 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19558 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19559 * sysdeps/x86_64/tst-audit.h: Likewise.
19561 2012-07-26 Andreas Jaeger <aj@suse.de>
19563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19566 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19567 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19568 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19570 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19571 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19572 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19574 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19577 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19579 (si_call_addr, si_syscall, si_arch): Define new macro.
19580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19582 (si_call_addr, si_syscall, si_arch): Define new marcro.
19583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19585 (si_call_addr, si_syscall, si_arch): Define new macro.
19586 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19588 (si_call_addr, si_syscall, si_arch): Define new macro.
19590 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19594 Change to 2.4.21 where previously 2.4.1.
19595 * sysdeps/unix/sysv/linux/configure: Regenerated.
19596 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19597 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19598 Linux kernel version.
19599 (__ASSUME_STD_AUXV): Remove.
19600 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19602 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19603 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19604 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19605 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19606 (__ASSUME_NETLINK_SUPPORT): Likewise.
19607 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19608 (__no_netlink_support): Remove conditional definition.
19609 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19611 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19612 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19613 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19614 (if_nameindex_ioctl): Remove.
19615 (if_nameindex_netlink): Do not handle __no_netlink_support.
19616 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19618 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19619 Remove conditional code.
19620 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19622 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19624 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19625 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19626 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19628 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19629 [!__ASSUME_STD_AUXV]: Remove conditional code.
19630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19631 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19632 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19634 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19635 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19637 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19639 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19640 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19642 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19644 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19647 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19650 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19651 code unconditional.
19652 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19654 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19656 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19659 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19661 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19664 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19665 code unconditional.
19666 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19668 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19670 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19673 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19674 code unconditional.
19675 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19677 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19679 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19682 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19684 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19685 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19686 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19687 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19688 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19689 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19690 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19691 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19692 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19693 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19694 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19695 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19696 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19697 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19698 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19699 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19700 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19701 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19702 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19704 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19705 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19706 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19708 2012-07-25 Florian Weimer <fweimer@redhat.com>
19710 * Versions.def: Add GLIBC_2.17.
19711 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19712 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19713 Introduce __libc_secure_getenv.
19714 * stdlib/Versions (2.17): Add secure_getenv
19715 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19716 * stdlib/secure-getenv.c: Rename __secure_getenv to
19717 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19718 symbol __secure_getenv for GLIBC_2.0.
19719 * stdlib/tst-secure-getenv.c: New.
19720 * stdlib/Makefile (tests): Add testcase.
19721 * manual/startup.texi (Environment Access): Document
19723 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19724 __libc_secure_getenv.
19725 * inet/ruserpass.c (ruserpass): Likewise.
19726 * malloc/mtrace.c (mtrace): Likewise.
19727 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19728 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19729 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19730 * sysdeps/posix/tempname.c: Likewise. Evaluate
19731 HAVE_SECURE_GETENV.
19732 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19733 __secure_getenv to __libc_secure_getenv.
19734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19747 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19749 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19750 (struct La_i86_retval): Likewise.
19751 (struct La_x86_64_regs): Likewise.
19752 (struct La_x86_64_retval): Likewise.
19753 (struct La_x32_regs): Likewise.
19754 (struct La_x32_retval): Likewise.
19755 (struct La_ppc32_regs): Likewise.
19756 (struct La_ppc32_retval): Likewise.
19757 (struct La_ppc64_regs): Likewise.
19758 (struct La_ppc64_retval): Likewise.
19759 (struct La_sh_regs): Likewise.
19760 (struct La_sh_retval): Likewise.
19761 (struct La_s390_32_regs): Likewise.
19762 (struct La_s390_32_retval): Likewise.
19763 (struct La_s390_64_regs): Likewise.
19764 (struct La_s390_64_retval): Likewise.
19765 (struct La_sparc32_regs): Likewise.
19766 (struct La_sparc32_retval): Likewise.
19767 (struct La_sparc64_regs): Likewise.
19768 (struct La_sparc64_retval): Likewise.
19769 (struct audit_ifaces): Remove architecture-specific pltenter and
19771 * sysdeps/i386/ldsodefs.h: New file.
19772 * sysdeps/powerpc/ldsodefs.h: Likewise.
19773 * sysdeps/s390/ldsodefs.h: Likewise.
19774 * sysdeps/sh/ldsodefs.h: Likewise.
19775 * sysdeps/sparc/ldsodefs.h: Likewise.
19776 * sysdeps/x86_64/ldsodefs.h: Likewise.
19778 2012-07-25 Marek Polacek <polacek@redhat.com>
19781 * math/libm-test.inc (yn_test): Add another test.
19782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19783 to ERANGE when the result is +-Inf.
19784 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19785 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19786 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19787 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19789 2012-07-24 Joseph Myers <joseph@codesourcery.com>
19791 * conform/data/time.h-data (NULL): Use macro-constant. Require
19793 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19795 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19797 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19799 * configure.in <sysdeps resolving>: Correct printing
19801 * configure: Regenerate.
19803 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19805 * math/w_ilogb.c: Include <limits.h>.
19806 * math/w_ilogbl.c: Likewise.
19808 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19810 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19811 va_copy. Document allowing for unavailable va_copy only as
19812 pre-C99 compatibility.
19813 * manual/string.texi (Copying and Concatenation): Use va_copy
19814 instead of __va_copy in concat example.
19816 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19818 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19819 (__sendto): Use create_address_port. Initialize APORT and deallocate
19822 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19823 with O_NOLINK passed to __file_name_lookup.
19825 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19826 with O_NOLINK passed to __file_name_lookup.
19828 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19829 negative N or less than NGIDS.
19831 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19832 type to string_t. Set ERANGE as errno and return it if NAME is not big
19833 enough. Use memcpy instead of strncpy.
19835 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19837 * elf/Makefile (check-data): Remove.
19838 (localplt.data): New vpath directive.
19839 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19840 instead of $(check-data).
19841 * scripts/data/localplt-generic.data: Move to ...
19842 * sysdeps/generic/localplt.data: ... here.
19843 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19844 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19845 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19848 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19851 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19854 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19857 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19860 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19864 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19866 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19867 PPC32 and PPC64 files.
19868 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19869 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19871 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19873 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19874 __makecontext_ret to ...
19875 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19876 ... here and call exit if uc_link is NULL. New file.
19877 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19878 __makecontext_ret.S.
19879 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19880 __makecontext_ret to ...
19881 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19882 ... here and call exit if uc_link is NULL. New file.
19883 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19884 __makecontext_ret.S.
19886 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19888 * elf/elf.h (R_390_IRELATIVE): New definition.
19889 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19890 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19891 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19892 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19893 (elf_machine_lazy_rel): Likewise.
19894 * sysdeps/s390/dl-irel.h: New file.
19895 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19896 * sysdeps/s390/s390-64/memset.S: New asm code.
19897 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19898 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19899 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19900 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19901 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19902 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19903 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19904 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19905 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19906 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19907 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19908 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19909 * sysdeps/s390/s390-32/memset.S: New asm code.
19910 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19912 2012-07-17 Marek Polacek <polacek@redhat.com>
19915 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19916 * sysdeps/s390/s390-64/configure.in: Likewise.
19917 * sysdeps/sparc/configure.in: Likewise.
19918 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19919 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19920 * sysdeps/i386/configure.in: Likewise.
19921 * sysdeps/x86_64/configure.in: Likewise.
19922 * sysdeps/sh/configure.in: Likewise.
19923 * sysdeps/s390/s390-32/configure: Regenerated.
19924 * sysdeps/s390/s390-64/configure: Likewise.
19925 * sysdeps/x86_64/configure: Likewise.
19926 * sysdeps/sh/configure: Likewise.
19927 * sysdeps/powerpc/powerpc64/configure: Likewise.
19928 * sysdeps/powerpc/powerpc32/configure: Likewise.
19929 * sysdeps/sparc/configure: Likwise.
19930 * sysdeps/i386/configure: Likewise.
19932 * elf/dl-open.c: Comment fixes.
19934 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19936 * Makefile [CXX] (check-data): Remove.
19937 [CXX] (c++-types.data): New vpath directive.
19938 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19939 vpath. Do not allow for C++ type data being missing.
19940 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19941 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19942 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19943 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19944 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19945 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19946 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19949 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19952 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19955 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19958 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19961 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19964 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19967 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19970 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19971 definitions to architecture-specific files.
19972 (TLS_IE): Likewise.
19973 (TLS_LD): Likewise.
19974 (TLS_GD): Likewise.
19975 * sysdeps/i386/tls-macros.h: New file.
19976 * sysdeps/powerpc/tls-macros.h: Likewise.
19977 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19978 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19979 * sysdeps/sh/tls-macros.h: Likewise.
19980 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19981 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19982 * sysdeps/x86_64/tls-macros.h: Likewise.
19984 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19986 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19987 zero value for regular exit case.
19989 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19990 (__start_context): Preserve zero value for regular exit case.
19992 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19993 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19995 * manual/setjmp.texi (setcontext): Clarify normal process
19996 termination when uc_link is the null pointer.
19997 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20000 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20002 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20003 preprocessor. Test for each exception mask separately.
20005 2012-07-16 Andreas Jaeger <aj@suse.de>
20007 * po/ru.po: Update from translation team.
20009 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20011 * conform/data/string.h-data (NULL): Use macro-constant. Require
20013 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20014 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20015 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20016 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20017 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20019 2012-07-13 Andreas Jaeger <aj@suse.de>
20021 * po/fr.po: Update from translation team.
20023 2012-07-12 Marek Polacek <polacek@redhat.com>
20026 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20030 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20033 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20034 Change to 2.4.1 where previously 2.4.0.
20035 * sysdeps/unix/sysv/linux/configure: Regenerated.
20036 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20037 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20039 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20040 (__ASSUME_AT_CLKTCK): Remove.
20041 (__ASSUME_AT_PAGESIZE): Likewise.
20042 (__ASSUME_AT_XID): Likewise.
20043 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20044 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20045 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20047 (HAVE_AUX_PAGESIZE): Likewise.
20048 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20049 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20050 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20052 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20056 the temporary buffer used to invoke __gethostbyname2_r,
20057 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20058 host_data / struct gaih_addrtuple.
20059 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20060 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20061 header file nss/nsswitch.h.
20062 * nss/nsswitch.h (global scope): Add definition of implementation
20063 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20064 resolv/nss_dns/dns-host.c).
20066 2012-07-11 Andreas Jaeger <aj@suse.de>
20068 * po/fr.po: Update from translation team.
20070 * po/sv.po: Update from translation team
20071 * po/fr.po: Another update from translation team.
20073 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20075 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20076 for subnormals or multiply small sinh result by itself.
20077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20080 2012-07-11 David S. Miller <davem@davemloft.net>
20082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20084 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20087 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20088 (INTERNAL_MARK): Shift it here.
20090 2012-07-10 Marek Polacek <polacek@redhat.com>
20093 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20094 libc_cv_asm_global_directive with .globl.
20095 * configure: Regenerated.
20096 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20098 * sysdeps/i386/configure: Regenerated.
20099 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20101 * sysdeps/x86_64/configure: Regenerated.
20102 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20103 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20104 * elf/tst-unique2mod2.c: Likewise.
20105 * elf/tst-unique2mod1.c: Likewise.
20106 * elf/tst-unique1mod2.c: Likewise.
20107 * elf/tst-unique1mod1.c: Likewise.
20108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20109 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20110 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20111 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20112 * sysdeps/mach/sysdep.h: Likewise.
20113 * sysdeps/i386/sysdep.h: Likewise.
20114 * sysdeps/i386/i386-mcount.S: Likewise.
20115 * sysdeps/x86_64/_mcount.S: Likewise.
20116 * sysdeps/x86_64/sysdep.h: Likewise.
20117 * sysdeps/sh/_mcount.S: Likewise.
20118 * sysdeps/sh/sysdep.h: Likewise.
20119 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20120 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20121 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20122 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20123 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20124 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20125 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20126 * locale/localeinfo.h: Likewise.
20127 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20128 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20130 2012-07-09 Roland McGrath <roland@hack.frob.com>
20133 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20135 * manual/message.texi (The Uniforum approach): Likewise.
20136 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20137 (glibc iconv Implementation): Likewise.
20139 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20142 * math/s_clog.c (__clog): Avoid scaling a value down where that
20143 could result in underflow.
20144 * math/s_clog10.c (__clog10): Likewise.
20145 * math/s_clog10f.c (__clog10f): Likewise.
20146 * math/s_clog10l.c (__clog10l): Likewise.
20147 * math/s_clogf.c (__clogf): Likewise.
20148 * math/s_clogl.c (__clogl): Likewise.
20149 * math/libm-test.inc (clog_test): Add more tests.
20150 (clog10_test): Likewise.
20151 * sysdeps/i386/fpu/libm-test-ulps: Update.
20152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20154 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20157 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20158 by 7 not 8 to examine high bit of fractional part.
20161 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20162 for call to __mcount_internal.
20163 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20164 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20165 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20167 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20170 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20171 approximation for values within 0x1p-13f of an odd multiple of
20173 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20174 exception. Add more tests.
20175 * sysdeps/i386/fpu/libm-test-ulps: Update.
20178 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20179 inputs and return -1 for them. Do not check for +Inf in case not
20180 reachable for +Inf.
20181 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20182 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20183 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20184 and return -1 for them. Do not check for +Inf in case not
20185 reachable for +Inf.
20186 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20188 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20189 and return -1 for them. Do not check for +Inf in case not
20190 reachable for +Inf.
20191 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20192 spurious underflow.
20193 * sysdeps/i386/fpu/libm-test-ulps: Update.
20194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20196 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20198 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20200 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20204 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20205 could result in spurious underflow. Scale down values above
20206 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20207 * math/s_csqrtf.c (__csqrtf): Likewise.
20208 * math/s_csqrtl.c (__csqrtl): Likewise.
20209 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20210 spurious underflow.
20211 * sysdeps/i386/fpu/libm-test-ulps: Update.
20212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20214 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20216 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20218 * catgets/xopen-msg.awk: New file.
20219 * catgets/xopen-msg.sed: Removed.
20221 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20223 * intl/po2test.awk: New file.
20224 * intl/po2test.sed: Removed.
20226 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20229 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20230 or multiply small sinh result by itself.
20231 * math/s_ctanf.c (__ctanf): Likewise.
20232 * math/s_ctanh.c (__ctanh): Likewise.
20233 * math/s_ctanhf.c (__ctanhf): Likewise.
20234 * math/s_ctanhl.c (__ctanhl): Likewise.
20235 * math/s_ctanl.c (__ctanl): Likewise.
20236 * math/libm-test.inc (ctan_test_tonearest): New function.
20237 (ctan_test_towardzero): Likewise.
20238 (ctan_test_downward): Likewise.
20239 (ctan_test_upward): Likewise.
20240 (ctanh_test_tonearest): Likewise.
20241 (ctanh_test_towardzero): Likewise.
20242 (ctanh_test_downward): Likewise.
20243 (ctanh_test_upward): Likewise.
20244 (main): Call these new functions.
20245 * sysdeps/i386/fpu/libm-test-ulps: Update.
20246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20248 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20250 * .gitignore: Delete /ports entry.
20252 2012-07-03 Andreas Jaeger <aj@suse.de>
20254 * po/bg.po: Update from translation team.
20255 * po/cs.po: Likewise.
20256 * po/de.po: Likewise.
20257 * po/hr.po: Likewise.
20258 * po/nl.pl: Likewise.
20259 * po/pl.po: Likewise.
20260 * po/vi.po: Likewise.
20262 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20264 * Makeconfig [!+link] (+link-before-libc): New variable.
20265 [!+link] (+link-after-libc): Likewise.
20266 [!+link] (+link-tests): Likewise.
20267 [!+link] (+link): Define in terms of $(+link-before-libc) and
20268 $(+link-after-libc).
20269 [!+link-static] (+link-static-before-libc): New variable.
20270 [!+link-static] (+link-static-after-libc): Likewise.
20271 [!+link-static] (+link-static-tests): Likewise.
20272 [!+link-static] (+link-static): Define in terms of
20273 $(+link-static-before-libc) and $(+link-static-after-libc).
20274 [build-shared] (link-libc-before-gnulib): New variable.
20275 [build-shared] (link-libc-tests): Likewise.
20276 [build-shared] (link-libc): Define in terms of
20277 $(link-libc-before-gnulib).
20278 [!build-shared] (link-libc-tests): New variable.
20279 (link-libc-static-tests): New variable.
20280 [!gnulib] (gnulib-arch): New variable.
20281 [!gnulib] (gnulib-tests): Likewise.
20282 [!gnulib] (static-gnulib-arch): Likewise.
20283 [!gnulib] (static-gnulib-tests): Likewise.
20284 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20285 Define with "=" instead of ":=".
20286 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20287 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20288 * Rules (binaries-all-notests): New variable.
20289 (binaries-all-tests): Likewise.
20290 (binaries-static-notests): Likewise.
20291 (binaries-static-tests): Likewise.
20292 (binaries-all): Define using $(binaries-all-notests) and
20293 $(binaries-all-tests).
20294 (binaries-static): Define using $(binaries-static-notests) and
20295 $(binaries-static-tests).
20296 (binaries-shared-tests): New variable.
20297 (binaries-shared-notests): Likewise.
20298 (binaries-shared): Remove variable.
20299 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20300 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20301 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20302 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20303 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20304 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20305 * elf/Makefile (sln-modules): New variable.
20306 (extra-objs): Add $(sln-modules:=.o).
20307 (ldconfig-modules): Add static-stubs.
20308 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20309 * elf/static-stubs.c: New file.
20312 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20313 by 7 not 8 to examine high bit of fractional part. Use volatile
20314 variables when splitting into final array of floats if
20315 __FLT_EVAL_METHOD__ != 0.
20316 * math/libm-test.inc (cos_test): Add another test.
20317 (sin_test): Likewise.
20318 * sysdeps/i386/fpu/libm-test-ulps: Update.
20321 * math/libm-test.inc (cosh_test): Add more tests.
20323 * version.h (RELEASE): Set to "development".
20324 (VERSION): Set to "2.16.90".
20326 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20328 * NEWS: Update copyright. Remove last-updated date.
20329 Mention math library bug fixes and timezone data changes.
20330 * README: Mention GNU/Hurd, x32, and HPPA support status.
20332 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20334 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20336 2012-06-27 Andreas Jaeger <aj@suse.de>
20338 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20340 2012-06-25 Andreas Jaeger <aj@suse.de>
20342 * sysdeps/s390/fpu/libm-test-ulps: Update.
20344 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20345 Thomas Schwinge <thomas@codesourcery.com>
20347 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20348 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20349 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20352 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20354 * sysdeps/mach/start.c: Remove file.
20355 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20356 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20357 * sysdeps/sh/init-first.c: Likewise.
20359 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20360 registers for frame unwinding purposes, add CFI directives.
20361 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20362 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20363 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20366 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20367 __fortify_fail returning.
20368 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20370 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20371 sysdeps/sh/____longjmp_chk.S.
20372 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20373 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20374 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20375 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20377 * sysdeps/sh/abort-instr.h: New file.
20378 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20379 process in case exit returns.
20381 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20382 initialize the GOT register before use.
20384 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20385 calculation of ARGC > 4.
20387 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20388 meaningful names to some local labels.
20390 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20391 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20393 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20394 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20395 (__arch_compare_and_exchange_val_16_acq): Likewise.
20396 (__arch_compare_and_exchange_val_32_acq): Likewise.
20397 (atomic_exchange_and_add): Fix gUSA sequence.
20398 (atomic_add): Likewise.
20399 (atomic_add_negative): Likewise.
20400 (atomic_add_zero): Likewise.
20401 (atomic_bit_test_set): Likewise.
20403 2012-06-22 Andreas Schwab <schwab@redhat.com>
20406 * include/link.h (struct link_map): Add l_free_initfini.
20407 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20409 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20410 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20411 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20414 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20416 * configure.in: Use AC_LANG_SOURCE.
20417 * configure: Regenerate.
20419 2012-06-22 Roland McGrath <roland@hack.frob.com>
20421 * configure.in (libc_cv_localstatedir): New substituted variable.
20422 * configure: Regenerated.
20423 * config.make.in (localstatedir): New variable, substituted from
20424 libc_cv_localstatedir.
20425 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20426 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20427 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20428 * sysdeps/gnu/configure: Regenerated.
20430 2012-06-21 Jeff Law <law@redhat.com>
20433 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20434 free. Simplify list management for _LIBC case.
20436 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20439 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20440 Clear sign bit of 64-bit integer value before comparing against
20443 * sysdeps/mach/configure: Regenerated.
20445 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20448 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20450 2012-06-21 Jeff Law <law@redhat.com>
20453 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20454 uint16_t for elements in the "seen" array to avoid char overflows.
20455 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20456 * elf/dl-open.c (dl_open_worker): Likewise.
20458 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20460 * scripts/list-sources.sh: Scan PORTS for translations.
20461 * po/libc.pot: Regenerated.
20463 2012-06-21 Andreas Jaeger <aj@suse.de>
20466 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20468 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20469 * bits/byteswap-16.h (__bswap_16): Likewise.
20470 * bits/byteswap.h (__bswap_constant_16): Likewise.
20472 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20475 * sysdeps/i386/fpu_control.h: Removed.
20476 * sysdeps/x86_64/fpu_control.h: Moved to ...
20477 * sysdeps/x86/fpu_control.h: Here.
20479 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20480 (_FPU_SETCW): Likewise.
20482 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20485 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20486 * sysdeps/x86/fpu/bits/mathinline.h: This.
20487 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20491 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20492 functions if __x86_64__ is defined.
20494 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20496 * string/endian.h: Add !__ASSEMBLER__ condition for including
20497 conversion interfaces.
20499 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20503 of ABS(x) in calculating zero to negative powers other than odd
20505 * math/libm-test.inc (pow_test): Add more tests.
20507 2012-06-15 Andreas Jaeger <aj@suse.de>
20509 * manual/contrib.texi (Contributors): Update entry of Liubov
20510 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20513 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20515 * string/string.h: Add __wur to GNU version of strerror_r.
20517 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20520 * string/Makefile (tests): Add tst-strtok_r.
20521 * string/tst-strtok_r.c: New file.
20522 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20523 RAX_LP/RDX_LP on SAVE_PTR.
20525 2012-06-14 Roland McGrath <roland@hack.frob.com>
20527 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20529 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20531 * libm_test.inc (csqrt_test): Allow more spurious underflow
20533 (j0_test): Likewise.
20534 (j1_test): Likewise.
20535 (y0_test): Likewise.
20536 (y1_test): Likewise.
20538 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20540 * po/Makefile (libc.pot): Use UTF-8 charset.
20542 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20545 Suppress sign-conversion warning from FD_SET.
20546 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20547 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20548 not unsigned long int.
20549 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20551 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20555 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20556 __extern_always_inline instead of __extern_inline.
20557 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20558 (__signbit): Likewise.
20559 (__signbitl): Support C++ namespace.
20560 (lrintf): New inline function.
20562 (llrintf): Likewise.
20563 (llrint): Likewise.
20573 (floorf): Likewise.
20574 (nearbyint): Likewise.
20575 (nearbyintf): Likewise.
20577 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20580 non-default versions.
20582 2012-06-11 Roland McGrath <roland@hack.frob.com>
20585 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20587 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20589 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20590 (FE_UPWARD, FE_DOWNWARD): Don't define.
20591 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20592 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20594 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20596 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20597 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20599 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20601 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20603 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20604 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20606 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20609 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20610 * sysdeps/i386/fpu/Implies: New file.
20611 * sysdeps/x86_64/fpu/Implies: Likewise.
20612 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20613 * sysdeps/x86/fpu/bits/fenv.h: This.
20615 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20618 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20621 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20622 character 0xffff that matches the last element of the
20625 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20630 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20632 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20633 values higher than 25.6283.
20635 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20638 subnormal exponent extraction and add some __builtin_expect.
20639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20640 Fix for subnormal mantissa calculation.
20642 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20644 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20645 cpu2 is -1 and errno is not ENOSYS.
20647 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20650 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20651 * sysdeps/x86/bits/string.h: This.
20652 * sysdeps/x86_64/bits/string.h: Removed.
20654 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20655 if not compiling for x86-64, but compiling for >= i486.
20657 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20658 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20660 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20661 New macro from Linux kernel 3.4.0.
20662 (FP_XSTATE_MAGIC2): Likewise.
20663 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20664 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20665 (struct _fpx_sw_bytes): New struct.
20666 (struct _xsave_hdr): Likewise.
20667 (struct _ymmh_state): Likewise.
20668 (struct _xstate): Likewise.
20670 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20671 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20672 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20673 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20675 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20677 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20678 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20679 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20680 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20681 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20682 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20684 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20687 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20688 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20689 (sysdep_headers): Include sys/platform/ppc.h.
20690 * sysdeps/powerpc/test-gettimebase.c: Test for
20691 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20692 * manual/Makefile (appendices): Include platform.texi.
20693 * manual/contrib.texi (Contributors): Update @node pointers.
20694 * manual/maint.texi (Maintenance): Likewise.
20695 (Platform): New node.
20696 * manual/platform.texi: New file. Document the new features.
20698 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20699 Jakub Jelinek <jakub@redhat.com>
20702 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20703 where __builtin_expect is unavailable.
20705 2012-06-03 David S. Miller <davem@davemloft.net>
20707 * stdlib/longlong.h: Updated from GCC.
20709 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20712 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20713 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20716 (GLIBC_2.16): Likewise.
20718 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20720 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20722 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20725 (default-abi): New variable.
20726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20727 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20729 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20731 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20733 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20736 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20737 definition. Document in comment.
20739 2012-06-01 David S. Miller <davem@davemloft.net>
20741 * stdlib/longlong.h: Updated from GCC.
20743 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20746 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20747 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20748 sys/debugreg.h sys/io.h here.
20749 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20750 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20752 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20753 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20754 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20755 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20756 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20757 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20759 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20760 Define only if __x86_64__ is defined.
20762 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20765 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20766 Use int64_t for variable i.
20767 * math/libm-test.inc (fmod_test): Add more tests.
20769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20770 z computation is not scheduled after fetestexcept.
20771 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20772 Use math_force_eval instead of asm to ensure calculation scheduled
20773 before exception test.
20774 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20775 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20777 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20780 computation is not scheduled after fetestexcept.
20782 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20785 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20786 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20788 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20790 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20791 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20793 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20796 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20798 (__WCHAR_MIN): Support __WORDSIZE == 64.
20799 (__WCHAR_MAX): Likewise.
20801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20802 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20806 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20809 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20810 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20812 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20813 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20815 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20816 Defined to 1 if __x86_64__ isn't defined.
20817 (_STAT_VER_LINUX_OLD): New.
20818 (st_atime): Remove duplicate.
20819 (st_mtime): Likewise.
20820 (st_ctime): Likewise.
20822 2012-05-31 David S. Miller <davem@davemloft.net>
20824 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20827 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20829 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20833 * elf/dl-reloc.c: Include <_itoa.h>.
20834 (_dl_reloc_bad_type): Remove use of INTUSE.
20835 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20836 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20837 * stdio-common/psiginfo.c (psiginfo): Likewise.
20838 * stdio-common/psignal.c (psignal): Likewise.
20839 * string/strsignal.c (strsignal): Likewise.
20840 * include/signal.h (_sys_siglist): Declare hidden proto.
20841 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20842 INTVARDEF with libc_hidden_data_def.
20843 * stdio-common/itoa-udigits.c: Likewise.
20844 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20845 (_itoa_lower_digits_internal): Remove declaration.
20846 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20847 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20848 (_sys_sigabbrev_internal): Remove aliases.
20849 (_sys_siglist): Define hidden alias.
20851 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20856 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20859 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20860 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20862 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20863 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20864 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20865 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20867 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20869 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20870 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20871 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20873 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20881 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20882 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20883 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20885 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20886 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20888 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20889 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20890 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20892 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20893 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20895 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20896 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20899 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20900 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20902 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20903 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20905 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20907 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20908 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20909 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20911 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20913 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20915 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20917 * math/math.h (M_El): Use two more decimal places.
20918 (M_LOG2El): Likewise.
20919 (M_LOG10El): Likewise.
20920 (M_LN2l): Likewise.
20921 (M_LN10l): Likewise.
20923 (M_PI_2l): Likewise.
20924 (M_PI_4l): Likewise.
20925 (M_1_PIl): Likewise.
20926 (M_2_PIl): Likewise.
20927 (M_2_SQRTPIl): Likewise.
20928 (M_SQRT2l): Likewise.
20929 (M_SQRT1_2l): Likewise.
20931 2012-05-31 David S. Miller <davem@davemloft.net>
20933 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20934 values between float registers.
20935 * sysdeps/sparc/sparc64/memset.S: Likewise.
20936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20938 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20940 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20941 -D_FORTIFY_SOURCE=1.
20942 (CPPFLAGS-tst-longjmp_chk.c): Define.
20943 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20944 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20945 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20946 CFLAGS-tst-wchar-h.c.
20948 2012-05-31 Marek Polacek <polacek@redhat.com>
20951 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20952 __endmntent_internal): Remove declaration.
20953 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20954 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20955 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20957 2012-05-30 David S. Miller <davem@davemloft.net>
20959 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20960 (___Q_simulate_exceptions): Use real FP ops rather than writing
20962 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20965 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20968 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20969 * sysdeps/x86/bits/xtitypes.h: This.
20971 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20972 * sysdeps/x86/bits/wordsize.h: This.
20974 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20975 * sysdeps/x86/bits/huge_vall.h: This.
20977 * sysdeps/i386/bits/select.h: Removed.
20978 * sysdeps/x86_64/bits/select.h: Renamed to ...
20979 * sysdeps/x86/bits/select.h: This.
20981 * sysdeps/i386/bits/setjmp.h: Removed.
20982 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20983 * sysdeps/x86/bits/setjmp.h: This.
20985 * sysdeps/i386/bits/mathdef.h: Removed.
20986 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20987 * sysdeps/x86/bits/mathdef.h: This.
20989 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20992 * include/sys/socket.h (__connect_internal)
20993 (__libc_sa_len_internal): Remove declaration.
20994 (__connect, __libc_sa_len): Declare hidden_proto.
20995 (SA_LEN): Remove use of INTUSE.
20996 * socket/connect.c: Add libc_hidden_def.
20997 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20998 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20999 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21001 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21002 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21003 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21004 of adding _internal alias.
21006 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21009 * sysdeps/i386/bits/link.h: Removed.
21010 * sysdeps/i386/bits/linkmap.h: Likewise.
21011 * sysdeps/x86_64/bits/link.h: Renamed to ...
21012 * sysdeps/x86/bits/link.h: This.
21013 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21014 * sysdeps/x86/bits/linkmap.h: This.
21016 * sysdeps/i386/bits/endian.h: Removed.
21017 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21018 * sysdeps/x86/bits/endian.h: This.
21020 * sysdeps/i386/bits/byteswap.h: Removed.
21021 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21022 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21023 * sysdeps/x86/bits/byteswap.h: This.
21024 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21025 * sysdeps/x86/bits/byteswap-16.h: This.
21026 * sysdeps/i386/Implies: Add x86.
21027 * sysdeps/x86_64/Implies: Likewise.
21029 2012-05-30 David S. Miller <davem@davemloft.net>
21031 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21032 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21033 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21034 (FP_TRAPPING_EXCEPTIONS): Define.
21035 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21036 (FP_TRAPPING_EXCEPTIONS): Define.
21037 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21038 subnormals only when inexact has been signalled or underflow
21039 exceptions are enabled.
21040 (_FP_PACK_CANONICAL): Likewise.
21042 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21046 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21048 2012-05-30 Richard Henderson <rth@twiddle.net>
21050 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21051 with #ifndef NOT_IN_libc.
21053 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21054 marked to avoid plt entry.
21056 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21059 * Makeconfig (default-abi): New macro.
21060 (abi-includes): Likewise.
21061 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21062 $(abi-$(default-abi)-lib-soname) for soname if defined.
21063 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21065 * Makefile (installed-stubs): Likewise.
21066 * include/stubs-biarch.h: Removed.
21067 * scripts/lib-names.awk: Only handle one library at a time.
21068 * scripts/soversions.awk: Remove WORDSIZE support.
21069 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21071 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21073 (syscall-list-default-condition): Likewise.
21074 (syscall-list-default-condition): Likewise.
21075 (syscall-list-includes): Likewise.
21076 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21077 syscall-list-* with abi-*. Handle undefined abi-variants.
21078 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21079 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21080 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21081 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21082 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21083 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21085 (syscall-list-32-options): Likewise.
21086 (syscall-list-32-condition): Likewise.
21087 (syscall-list-64-options): Likewise.
21088 (syscall-list-64-condition): Likewise.
21089 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21091 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21094 (abi-64-ld-soname): New macro.
21095 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21096 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21099 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21100 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21102 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21104 * sysdeps/unix/sysv/linux/kernel-features.h
21105 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21106 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21107 include <kernel-features.h>.
21108 [!__NR_ftruncate64]: Remove conditional code.
21109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21110 [__NR_ftruncate64]: Make code unconditional.
21111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21112 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21113 include <kernel-features.h>.
21114 [!__NR_ftruncate64]: Remove conditional code.
21115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21116 [__NR_ftruncate64]: Make code unconditional.
21117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21119 include <kernel-features.h>.
21120 [!__NR_ftruncate64]: Remove conditional code.
21121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21122 [__NR_ftruncate64]: Make code unconditional.
21123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21125 include <kernel-features.h>.
21126 [!__NR_ftruncate64]: Remove conditional code.
21127 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21128 [__NR_ftruncate64]: Make code unconditional.
21129 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21131 * configure.in (libc_cv_fpie): Weaken to a compile test using
21132 LIBC_TRY_CC_OPTION.
21133 * configure: Regenerated.
21135 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21150 2012-05-27 David S. Miller <davem@davemloft.net>
21152 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21154 (__Q_simulate_exceptions): Return void. Change to simulate
21155 exceptions by writing into the %fsr.
21156 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21157 (__Qp_handle_exceptions): Likewise.
21159 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21160 __Qp_handle_exceptions.
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21162 __Qp_handle_exceptions.
21163 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21164 as unused and give dummy FP_RND_NEAREST initializer.
21165 (FP_INHIBIT_RESULTS): Define.
21166 (___Q_simulate_exceptions): Update declaration.
21167 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21169 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21170 as unused and give dummy FP_RND_NEAREST initializer.
21171 (__Qp_handle_exceptions): Update declaration.
21172 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21175 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21177 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21178 the temporary FPU control word.
21179 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21180 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21181 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21182 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21183 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21185 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21186 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21187 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21188 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21189 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21191 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21193 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21196 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21198 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21199 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21200 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21201 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21203 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21204 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21207 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21209 * po/h.po: Update from translation team.
21211 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21213 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21215 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21216 handling of denormals.
21217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21218 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21219 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21220 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21226 2012-05-26 Marek Polacek <polacek@redhat.com>
21229 * math/libm-test.inc (fma_test): Don't always expect underflow
21232 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21235 * elf/tst-execstack.c: Include stackinfo.h.
21236 (do_test): Adjust test case to ensure that pthread_getattr_np
21237 behaviour remains the same after marking stack executable.
21239 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21241 * sysdeps/unix/sysv/linux/kernel-features.h
21242 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21243 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21245 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21246 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21247 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21249 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21250 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21252 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21254 * configure.in: Define the default includes to being none.
21255 * configure: Regenerated.
21257 2012-05-25 Roland McGrath <roland@hack.frob.com>
21259 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21260 * sysdeps/x86_64/setjmp.S: Likewise.
21261 * sysdeps/i386/bsd-setjmp.S: Likewise.
21262 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21263 * sysdeps/i386/setjmp.S: Likewise.
21264 * sysdeps/i386/__longjmp.S: Likewise.
21265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21266 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21268 * include/stap-probe.h: New file.
21269 * configure.in: Handle --enable-systemtap.
21270 * configure: Regenerated.
21271 * config.h.in (USE_STAP_PROBE): New #undef.
21272 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21273 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21274 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21276 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21280 to 2.4.0 where earlier.
21281 * sysdeps/unix/sysv/linux/configure: Regenerated.
21282 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21283 <kernel-features.h>.
21284 [__ASSUME_32BITUIDS]: Make code unconditional.
21285 [!__ASSUME_32BITUIDS]: Remove conditional code.
21286 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21287 <kernel-features.h>.
21288 [__ASSUME_32BITUIDS]: Make code unconditional.
21289 [!__ASSUME_32BITUIDS]: Remove conditional code.
21290 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21291 [__ASSUME_32BITUIDS]: Make code unconditional.
21292 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21293 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21294 <kernel-features.h>.
21295 [__ASSUME_32BITUIDS]: Make code unconditional.
21296 [!__ASSUME_32BITUIDS]: Remove conditional code.
21297 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21298 <kernel-features.h>.
21299 [__ASSUME_32BITUIDS]: Make code unconditional.
21300 [!__ASSUME_32BITUIDS]: Remove conditional code.
21301 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21302 <kernel-features.h>.
21303 [__ASSUME_32BITUIDS]: Make code unconditional.
21304 [!__ASSUME_32BITUIDS]: Remove conditional code.
21305 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21306 <kernel-features.h>.
21307 [__ASSUME_32BITUIDS]: Make code unconditional.
21308 [!__ASSUME_32BITUIDS]: Remove conditional code.
21309 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21310 <kernel-features.h>.
21311 [__ASSUME_32BITUIDS]: Make code unconditional.
21312 [!__ASSUME_32BITUIDS]: Remove conditional code.
21313 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21314 <kernel-features.h>.
21315 [__ASSUME_32BITUIDS]: Make code unconditional.
21316 [!__ASSUME_32BITUIDS]: Remove conditional code.
21317 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21318 <kernel-features.h>.
21319 [__ASSUME_32BITUIDS]: Make code unconditional.
21320 [!__ASSUME_32BITUIDS]: Remove conditional code.
21321 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21322 <kernel-features.h>.
21323 [__ASSUME_32BITUIDS]: Make code unconditional.
21324 [!__ASSUME_32BITUIDS]: Remove conditional code.
21325 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21326 <kernel-features.h>.
21327 [__ASSUME_32BITUIDS]: Make code unconditional.
21328 [!__ASSUME_32BITUIDS]: Remove conditional code.
21329 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21330 <kernel-features.h>.
21331 [__ASSUME_32BITUIDS]: Make code unconditional.
21332 [!__ASSUME_32BITUIDS]: Remove conditional code.
21333 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21334 <kernel-features.h>.
21335 [__NR_setresgid] (__setresgid): Do not declare.
21336 [__ASSUME_32BITUIDS]: Make code unconditional.
21337 [!__ASSUME_32BITUIDS]: Remove conditional code.
21338 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21339 <kernel-features.h>.
21340 [__NR_setresuid] (__setresuid): Do not declare.
21341 [__ASSUME_32BITUIDS]: Make code unconditional.
21342 [!__ASSUME_32BITUIDS]: Remove conditional code.
21343 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21344 <kernel-features.h>.
21345 [__ASSUME_32BITUIDS]: Make code unconditional.
21346 [!__ASSUME_32BITUIDS]: Remove conditional code.
21347 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21348 <kernel-features.h>.
21349 [__ASSUME_32BITUIDS]: Make code unconditional.
21350 [!__ASSUME_32BITUIDS]: Remove conditional code.
21351 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21352 <kernel-features.h>.
21353 [__ASSUME_32BITUIDS]: Make code unconditional.
21354 [!__ASSUME_32BITUIDS]: Remove conditional code.
21355 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21356 <kernel-features.h>.
21357 [__ASSUME_32BITUIDS]: Make code unconditional.
21358 [!__ASSUME_32BITUIDS]: Remove conditional code.
21359 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21360 <kernel-features.h>.
21361 [__ASSUME_32BITUIDS]: Make code unconditional.
21362 [!__ASSUME_32BITUIDS]: Remove conditional code.
21363 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21364 <kernel-features.h>.
21365 [__ASSUME_32BITUIDS]: Make code unconditional.
21366 [!__ASSUME_32BITUIDS]: Remove conditional code.
21367 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21368 <kernel-features.h>.
21369 [__ASSUME_32BITUIDS]: Make code unconditional.
21370 [!__ASSUME_32BITUIDS]: Remove conditional code.
21371 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21372 <kernel-features.h>.
21373 [__ASSUME_32BITUIDS]: Make code unconditional.
21374 [!__ASSUME_32BITUIDS]: Remove conditional code.
21375 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21376 <kernel-features.h>.
21377 [__ASSUME_32BITUIDS]: Make code unconditional.
21378 [!__ASSUME_32BITUIDS]: Remove conditional code.
21379 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21380 <kernel-features.h>.
21381 [__ASSUME_32BITUIDS]: Make code unconditional.
21382 [!__ASSUME_32BITUIDS]: Remove conditional code.
21383 * sysdeps/unix/sysv/linux/kernel-features.h
21384 (__ASSUME_SETRESUID_SYSCALL): Remove.
21385 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21386 (__ASSUME_32BITUIDS): Likewise.
21387 (__ASSUME_LDT_WORKS): Likewise.
21388 (__ASSUME_O_DIRECTORY): Likewise.
21389 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21390 architecture but not kernel version.
21391 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21392 (__ASSUME_MMAP2_SYSCALL): Likewise.
21393 (__ASSUME_STAT64_SYSCALL): Likewise.
21394 (__ASSUME_IPC64): Likewise.
21395 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21396 <kernel-features.h>.
21397 [__ASSUME_32BITUIDS]: Make code unconditional.
21398 [!__ASSUME_32BITUIDS]: Remove conditional code.
21399 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21400 <kernel-features.h>.
21401 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21402 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21403 132096]: Remove conditional code.
21404 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21405 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21406 <kernel-features.h>.
21407 [__ASSUME_32BITUIDS]: Make code unconditional.
21408 [!__ASSUME_32BITUIDS]: Remove conditional code.
21409 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21410 <kernel-features.h>.
21411 [__ASSUME_32BITUIDS]: Make code unconditional.
21412 [!__ASSUME_32BITUIDS]: Remove conditional code.
21413 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21414 <kernel-features.h>.
21415 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21417 (__setresgid): Do not declare.
21418 [__ASSUME_32BITUIDS]: Make code unconditional.
21419 [!__ASSUME_32BITUIDS]: Remove conditional code.
21420 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21421 <kernel-features.h>.
21422 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21424 (__setresuid): Do not declare.
21425 [__ASSUME_32BITUIDS]: Make code unconditional.
21426 [!__ASSUME_32BITUIDS]: Remove conditional code.
21427 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21428 <kernel-features.h>.
21429 [__ASSUME_32BITUIDS]: Make code unconditional.
21430 [!__ASSUME_32BITUIDS]: Remove conditional code.
21431 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21432 <kernel-features.h>.
21433 [__ASSUME_32BITUIDS]: Make code unconditional.
21434 [!__ASSUME_32BITUIDS]: Remove conditional code.
21436 2012-05-25 Richard Henderson <rth@twiddle.net>
21438 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21439 dl_hwcap to ifunc resolver.
21440 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21442 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21443 dl_hwcap to ifunc resolver.
21444 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21446 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21449 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21450 for |x| <= 2**-26, not 2**-57.
21451 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21454 2012-05-24 Jeff Law <law@redhat.com>
21456 * stdio-common/Makefile (tests): Add bug25.
21457 * stdio-common/bug25.c: New test.
21459 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21462 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21463 multiple of MALLOC_ALIGNMENT in size.
21464 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21466 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21468 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21470 (FILENAME_MAX): Use macro-int-constant.
21471 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21472 (_IOFBF): Use macro-int-constant.
21473 (_IOLBF): Likewise.
21474 (_IONBF): Likewise.
21475 (SEEK_CUR): Likewise.
21476 (SEEK_END): Likewise.
21477 (SEEK_SET): Likewise.
21478 (TMP_MAX): Likewise.
21479 (EOF): Use macro-int-constant. Require < 0.
21480 (NULL): Use macro-constant. Require == 0.
21481 (stdin): Require type to be FILE *.
21482 (stdout): Likewise.
21483 (stderr): Likewise.
21484 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21485 macro-int-constant.
21486 (EXIT_SUCCESS): Likewise.
21487 (NULL): Use macro-constant. Require == 0.
21488 (RAND_MAX): Use macro-int-constant.
21489 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21490 [C99-based standards] (strtof): Require function.
21491 [C99-based standards] (strtold): Likewise.
21492 [C99-based standards] (strtoll): Likewise.
21493 [C99-based standards] (strtoull): Likewise.
21494 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21495 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21496 [ISO || ISO99 || ISO11] (math.h): Likewise.
21497 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21498 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21501 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21504 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21505 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21506 * intl/dgettext.c (DCGETTEXT): Likewise.
21507 * intl/gettext.c (DCGETTEXT): Likewise.
21508 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21509 * posix/regex_internal.h (gettext): Likewise.
21510 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21511 Remove declaration.
21512 * include/argz.h (__argz_count_internal)
21513 (__argz_stringify_internal): Remove declaration.
21514 (__argz_count, __argz_stringify): Declare hidden proto.
21515 * intl/dcgettext.c: Remove use of INTDEF.
21516 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21517 * string/argz-stringify.c: Likewise.
21518 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21519 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21520 Declare hidden proto.
21521 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21522 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21523 Declare hidden proto.
21524 * include/stdio.h (__asprintf_internal): Don't declare.
21525 (__asprintf): Don't define as macro. Declare hidden proto.
21526 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21527 (__fsetlocking): Declare hidden proto.
21528 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21529 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21531 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21532 (_IO_setlinebuf): Remove use of INTUSE.
21533 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21534 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21535 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21536 Remove declaration.
21537 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21538 (_IO_do_flush): Remove use of INTUSE.
21539 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21540 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21541 (_IO_adjust_column, _IO_least_wmarker)
21542 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21543 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21544 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21545 (_IO_default_doallocate, _IO_wdefault_doallocate)
21546 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21547 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21548 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21549 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21550 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21551 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21552 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21553 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21554 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21555 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21556 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21557 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21558 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21560 (_IO_flush_all_internal, _IO_adjust_column_internal)
21561 (_IO_default_uflow_internal, _IO_default_finish_internal)
21562 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21563 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21564 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21565 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21566 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21567 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21568 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21569 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21570 (_IO_file_close_internal, _IO_file_close_it_internal)
21571 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21572 (_IO_file_init_internal, _IO_file_attach_internal)
21573 (_IO_file_fopen_internal, _IO_file_read_internal)
21574 (_IO_file_sync_internal, _IO_file_seek_internal)
21575 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21576 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21577 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21578 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21579 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21580 (_IO_list_all_internal, _IO_link_in_internal)
21581 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21582 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21583 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21584 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21585 (_IO_do_write_internal, _IO_padn_internal)
21586 (_IO_getline_info_internal, _IO_getline_internal)
21587 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21588 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21589 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21590 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21591 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21592 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21593 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21594 with libc_hidden_ver, remove use of INTUSE.
21595 * libio/genops.c: Likewise.
21596 * libio/freopen.c: Likewise.
21597 * libio/freopen64.c: Likewise.
21598 * libio/iofclose.c: Likewise.
21599 * libio/iofdopen.c: Likewise.
21600 * libio/iofflush.c: Likewise.
21601 * libio/iofflush_u.c: Likewise.
21602 * libio/iofgets.c: Likewise.
21603 * libio/iofgets_u.c: Likewise.
21604 * libio/iofopen.c: Likewise.
21605 * libio/iofopncook.c: Likewise.
21606 * libio/iofread.c: Likewise.
21607 * libio/iofread_u.c: Likewise.
21608 * libio/ioftell.c: Likewise.
21609 * libio/iofwrite.c: Likewise.
21610 * libio/iogetline.c: Likewise.
21611 * libio/iogets.c: Likewise.
21612 * libio/iogetwline.c: Likewise.
21613 * libio/iopadn.c: Likewise.
21614 * libio/iopopen.c: Likewise.
21615 * libio/ioseekoff.c: Likewise.
21616 * libio/ioseekpos.c: Likewise.
21617 * libio/iosetbuffer.c: Likewise.
21618 * libio/iosetvbuf.c: Likewise.
21619 * libio/ioungetc.c: Likewise.
21620 * libio/ioungetwc.c: Likewise.
21621 * libio/iovdprintf.c: Likewise.
21622 * libio/iovsprintf.c: Likewise.
21623 * libio/iovsscanf.c: Likewise.
21624 * libio/memstream.c: Likewise.
21625 * libio/obprintf.c: Likewise.
21626 * libio/oldfileops.c: Likewise.
21627 * libio/oldiofclose.c: Likewise.
21628 * libio/oldiofdopen.c: Likewise.
21629 * libio/oldiofopen.c: Likewise.
21630 * libio/oldiopopen.c: Likewise.
21631 * libio/oldstdfiles.c: Likewise.
21632 * libio/putc.c: Likewise.
21633 * libio/setbuf.c: Likewise.
21634 * libio/setlinebuf.c: Likewise.
21635 * libio/stdfiles.c: Likewise.
21636 * libio/strops.c: Likewise.
21637 * libio/vasprintf.c: Likewise.
21638 * libio/vscanf.c: Likewise.
21639 * libio/vsnprintf.c: Likewise.
21640 * libio/vswprintf.c: Likewise.
21641 * libio/wfiledoalloc.c: Likewise.
21642 * libio/wfileops.c: Likewise.
21643 * libio/wgenops.c: Likewise.
21644 * libio/wmemstream.c: Likewise.
21645 * libio/wstrops.c: Likewise.
21646 * libio/__fpurge.c: Likewise.
21647 * libio/__fsetlocking.c: Likewise.
21648 * assert/assert.c: Likewise.
21649 * debug/fgets_chk.c: Likewise.
21650 * debug/fgets_u_chk.c: Likewise.
21651 * debug/fread_chk.c: Likewise.
21652 * debug/fread_u_chk.c: Likewise.
21653 * debug/gets_chk.c: Likewise.
21654 * debug/obprintf_chk.c: Likewise.
21655 * debug/vasprintf_chk.c: Likewise.
21656 * debug/vdprintf_chk.c: Likewise.
21657 * debug/vsnprintf_chk.c: Likewise.
21658 * debug/vsprintf_chk.c: Likewise.
21659 * malloc/mtrace.c: Likewise.
21660 * misc/error.c: Likewise.
21661 * misc/syslog.c: Likewise.
21662 * stdio-common/asprintf.c: Likewise.
21663 * stdio-common/fxprintf.c: Likewise.
21664 * stdio-common/getw.c: Likewise.
21665 * stdio-common/isoc99_fscanf.c: Likewise.
21666 * stdio-common/isoc99_scanf.c: Likewise.
21667 * stdio-common/isoc99_vfscanf.c: Likewise.
21668 * stdio-common/isoc99_vscanf.c: Likewise.
21669 * stdio-common/isoc99_vsscanf.c: Likewise.
21670 * stdio-common/printf-prs.c: Likewise.
21671 * stdio-common/printf_fp.c: Likewise.
21672 * stdio-common/printf_fphex.c: Likewise.
21673 * stdio-common/printf_size.c: Likewise.
21674 * stdio-common/putw.c: Likewise.
21675 * stdio-common/scanf.c: Likewise.
21676 * stdio-common/sprintf.c: Likewise.
21677 * stdio-common/tmpfile.c: Likewise.
21678 * stdio-common/vfprintf.c: Likewise.
21679 * stdio-common/vfscanf.c: Likewise.
21680 * stdlib/strfmon_l.c: Likewise.
21681 * sunrpc/openchild.c: Likewise.
21682 * sunrpc/xdr_stdio.c: Likewise.
21683 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21684 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21686 2012-05-24 Roland McGrath <roland@hack.frob.com>
21688 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21690 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21691 in the third column, to generate for the shared library an IFUNC
21692 that uses _dl_vdso_vsym.
21693 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21694 * Makeconfig (object-suffixes-noshared): New variable.
21696 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21697 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21698 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21699 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21702 * include/sys/time.h (__gettimeofday): Remove macro.
21703 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21704 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21706 (__gettimeofday): Add libc_hidden_def.
21707 (gettimeofday): Add libc_hidden_weak.
21708 * sysdeps/mach/gettimeofday.c: Likewise.
21709 * sysdeps/posix/gettimeofday.c: Likewise.
21710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21711 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21713 (__gettimeofday_internal): Remove strong_alias.
21714 (__gettimeofday): Add libc_hidden_def.
21715 (gettimeofday): Add libc_hidden_weak.
21716 * sysdeps/unix/syscalls.list (gettimeofday):
21717 Remove __gettimeofday_internal alias.
21719 2012-05-24 Daniel Jacobowitz <drow@false.org>
21720 H.J. Lu <hongjiu.lu@intel.com>
21723 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21724 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21725 (largebin_index_32_big): New.
21726 (largebin_index): Use it for 16-byte alignment.
21727 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21728 correction with front_misalign.
21730 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21758 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21759 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21761 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21765 * math/libm-test.inc (exp_test): Add test from bug 14036.
21766 (pow_test): Add test from bug 10846.
21768 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21770 (special_function): Do not include flags in test name.
21771 (parse_args): Likewise.
21772 * sysdeps/i386/fpu/libm-test-ulps: Update.
21773 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21774 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21775 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21778 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21780 * math/libm-test.inc ("Philosophy"): Update comment about
21782 (UNDERFLOW_EXCEPTION): New macro.
21783 (UNDERFLOW_EXCEPTION_OK): Likewise.
21784 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21785 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21786 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21787 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21788 (INVALID_EXCEPTION_OK): Update value.
21789 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21790 (OVERFLOW_EXCEPTION_OK): Likewise.
21791 (IGNORE_ZERO_INF_SIGN): Likewise.
21792 (test_exceptions): Handle underflow exceptions.
21793 (acos_test): Update for underflow exception expectations.
21794 (cexp_test): Likewise.
21795 (clog_test): Likewise.
21796 (clog10_test): Likewise.
21797 (csqrt_test): Likewise.
21798 (ctan_test): Likewise.
21799 (ctanh_test): Likewise.
21800 (exp_test): Likewise.
21801 (exp10_test): Likewise.
21802 (exp2_test): Likewise.
21803 (expm1_test): Likewise.
21804 (fma_test): Likewise.
21805 (j0_test): Likewise.
21806 (jn_test): Likewise.
21807 (nexttoward_test): Likewise.
21808 (pow_test): Likewise.
21809 (scalbn_test): Likewise.
21810 (scalbln_test): Likewise.
21811 (tan_test): Likewise.
21812 (y1_test): Likewise.
21813 * sysdeps/i386/fpu/libm-test-ulps: Update.
21814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21816 2012-05-23 David S. Miller <davem@davemloft.net>
21818 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21819 (__libc_sigaction): Remove unused local variables.
21821 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21823 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21825 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21827 mktime: avoid signed integer overflow
21828 * time/mktime.c (__mktime_internal): Do not mishandle the case
21829 where diff == INT_MIN.
21831 mktime: simplify computation of average
21832 * time/mktime.c (ranged_convert): Use new time_t_avg function
21833 instead of rolling our own (probably-slower) code.
21835 mktime: do not assume signed right shift propagates sign bit
21836 * time/mktime.c (isdst_differ): New static function.
21837 (__mktime_internal): No need to normalize tm_isdst now.
21838 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21841 mktime: merge another wrapv change from gnulib
21842 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21843 from some compilers.
21845 mktime: remove incorrect attempt at unusual arithmetics
21846 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21847 The code didn't really work on such machines anyway.
21848 (TYPE_MINIMUM): Assume two's complement.
21849 (twos_complement_arithmetic): Verify that long_int and time_t
21850 are two's complement (or unsigned, in the latter case).
21852 mktime: check signed shifts on long_int and time_t, too
21853 * time/mktime.c (SHR): Check that shifts work as desired
21854 on the types long_int and time_t too, as SHR is used on
21857 mktime: do not assume 'long' is wide enough
21858 * time/mktime.c (verify): Move decl up.
21859 (long_int): New type.
21860 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21861 to remove assumption in the code that 'long' is wide enough to
21862 store year values. This assumption is not true on x32 and on
21863 some non-glibc platforms.
21865 mktime: merge wrapv change from gnulib
21866 * time/mktime.c (WRAPV): New macro.
21867 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21868 (guess_time_tm, __mktime_internal): Do not assume that signed
21869 integer overflow wraps around; modern compilers generate code
21870 where this assumption is no longer valid.
21872 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21874 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21875 Replace "jmp L(pseudo_end)" with "ret".
21876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21879 2012-05-23 Andreas Jaeger <aj@suse.de>
21881 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21882 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21884 2012-05-23 Andreas Jaeger <aj@suse.de>
21885 Maximilian Attems <max@stro.at>
21887 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21890 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21892 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21893 code so that pseudo_end is just ret and the stack pointer is
21894 correct also for static library in error case.
21896 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21898 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21899 move to syscalls.list.
21900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21905 * manual/install.texi (Running make install): Do not mention Linux
21906 kernel version for which pt_chown is not needed.
21907 (Linux): Do not mention problems with nscd with 2.0 kernels.
21908 * INSTALL: Regenerated.
21910 2012-05-23 Andreas Jaeger <aj@suse.de>
21912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21913 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21915 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21917 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21919 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21921 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21925 * sysdeps/unix/sysv/linux/bits/in.h
21926 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21928 2012-05-22 Roland McGrath <roland@hack.frob.com>
21930 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21931 (PREPARE_VERSION): Just use assert instead, it will be elided
21932 under [NDEBUG] anyway.
21934 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21936 * sysdeps/unix/sysv/linux/Makefile: Include
21937 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21938 (sysdep_routines): Remove sysctl.
21939 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21940 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21941 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21942 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21943 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21945 2012-05-22 Andreas Jaeger <aj@suse.de>
21947 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21948 that pseudo_end is just ret and the stack pointer is correct also
21949 for static library in error case.
21951 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21954 * nss/nsswitch.c (defconfig_entries): New variable.
21955 (__nss_database_lookup): Don't leak defconfig entries.
21956 (nss_parse_service_list): Don't leak on error paths.
21957 (free_database_entries): New function.
21958 (free_defconfig): New function.
21959 (free_mem): Move common code to free_database_entries.
21961 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21963 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21965 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21967 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21968 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21971 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21972 (INTERNAL_SYSCALL_TYPES): Likewise.
21973 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21974 (LOAD_REGS_TYPES_[1-6]): Likewise.
21975 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21976 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21978 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21980 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21981 copysignl for GLIBC_2_0.
21982 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21983 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21985 logbl for GLIBC_2_0.
21986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21987 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21989 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21992 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21994 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21997 * time/mktime.c: Update copyright years.
21999 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22001 mktime: merge comment-quoting-style change from gnulib
22002 * time/mktime.c: Quote 'like this' in comments.
22003 The GNU coding standards suggest that we no longer quote `like this',
22004 as "`" and "'" are typically rendered asymmetrically nowadays.
22005 The typical gnulib style is to quote 'like this' when quoting
22006 code, and "like this" when quoting English.
22008 * time/mktime.c (compile-command): Add "-I.".
22010 mktime: merge mktime-internal.h change from gnulib
22011 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22013 mktime: merge time_r change from gnulib
22014 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22016 mktime: merge DEBUG change from gnulib
22017 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22018 case system <time.h> has a #define.
22020 mktime: merge <sys/types.h> change from gnulib
22021 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22022 since <time.t> is now guaranteed to define time_t.
22024 mktime: merge HAVE_CONFIG_H change from gnulib
22025 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22027 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22032 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22034 (struct rusage): Use anonymous union to pad each field to
22037 2012-05-21 David S. Miller <davem@davemloft.net>
22039 * Makefules (o-iterator): Remove .s cases.
22040 (compile-command.s): Delete.
22041 (COMPILE.s): Delete.
22042 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22044 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22046 * configure.in (libc_cv_predef_stack_protector): Only consider
22047 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22048 * configure: Regenerated.
22050 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22053 New macro. Use R*LP on int and pointer.
22054 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22055 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22056 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22057 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22059 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22060 [__WORDSIZE_TIME64_COMPAT32] instead of
22061 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22062 (struct utmp): Likewise.
22063 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22064 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22066 (__WORDSIZE_TIME64_COMPAT32): This.
22067 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22068 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22069 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22070 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22071 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22072 (__WORDSIZE_TIME64_COMPAT32): New macro.
22074 2012-05-21 Andreas Jaeger <aj@suse.de>
22076 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22077 only if [SHARED]. Add prototype for __wcschr_ia32.
22079 2012-05-21 Roland McGrath <roland@hack.frob.com>
22081 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22082 of %rbp unmolested in the jmp_buf while mangling the low bits.
22083 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22084 unmolested high bits of %rbp while demangling the low bits.
22085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22087 2012-05-21 Andreas Jaeger <aj@suse.de>
22089 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22090 * sunrpc/svc_simple.c: Use it for registerrpc.
22091 * sunrpc/xcrypt.c: Use it for passwd2des.
22093 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22095 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22097 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22098 Don't define if [__SYSCALL_WORDSIZE != 32].
22099 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22102 2012-05-21 Bruno Haible <bruno@clisp.org>
22103 Andreas Jaeger <aj@suse.de>
22105 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22106 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22107 inptr and inend for must_buffer_ch.
22108 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22109 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22110 * stdio-common/Makefile (tests): Remove bug15.
22111 (bug15-ENV): Remove macro.
22112 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22115 2012-05-19 Andreas Jaeger <aj@suse.de>
22116 Roland McGrath <roland@hack.frob.com>
22118 * manual/contrib.texi: Completely rewritten. It contains now an
22119 alphabetical list of contributors and their contributions.
22121 2012-05-21 Richard Henderson <rth@twiddle.net>
22123 * misc/getauxval.c (__getauxval): Use unsigned long int.
22124 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22125 (getauxval): Use unsigned long int.
22127 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22129 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22131 2012-05-21 Roland McGrath <roland@hack.frob.com>
22133 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22134 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22135 __alignof__ (long double).
22137 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22141 2012-05-20 Richard Henderson <rth@twiddle.net>
22143 * misc/getauxval.c: New file.
22144 * misc/sys/auxv.h: New file.
22145 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22146 (routines): Add getauxval.
22147 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22148 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22149 * elf/dl-sysdep.c (_dl_auxv): Remove.
22150 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22151 * elf/dl-support.c (_dl_auxv): New variable.
22152 (_dl_aux_init): Initialize it.
22153 * manual/startup.texi (Auxiliary Vector): New node.
22154 * sysdeps/generic/bits/hwcap.h: New file.
22155 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22156 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22157 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22158 * sysdeps/sparc/sysdep.h: ... here. Include it.
22159 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22160 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22172 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22176 2012-05-19 David S. Miller <davem@davemloft.net>
22178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22180 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22183 * math/s_ccosh.c: Include <float.h>
22184 (__ccosh): Avoid internal overflow calculating sinh and cosh
22185 values before multiplying by sin and cos values.
22186 * math/s_ccoshf.c: Likewise.
22187 * math/s_ccoshl.c: Likewise.
22188 * math/s_csin.c: Likewise.
22189 * math/s_csinf.c: Likewise.
22190 * math/s_csinl.c: Likewise.
22191 * math/s_csinh.c: Likewise.
22192 * math/s_csinhf.c: Likewise.
22193 * math/s_csinhl.c: Likewise.
22194 * math/libm-test.inc (ccos_test): Add more tests.
22195 (ccosh_test): Likewise.
22196 (csin_test): Likewise.
22197 (csinh_test): Likewise.
22198 * sysdeps/i386/fpu/libm-test-ulps: Update.
22199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22201 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22203 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22204 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22206 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22208 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22210 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22211 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22212 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22213 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22214 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22215 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22216 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22217 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22218 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22219 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22220 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22221 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22222 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22223 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22224 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22225 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22226 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22227 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22228 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22229 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22230 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22231 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22232 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22233 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22234 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22235 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22236 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22237 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22238 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22239 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22240 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22242 2012-05-18 Andreas Jaeger <aj@suse.de>
22244 * csu/.gitignore: Delete.
22246 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22248 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22249 (timex): Use __syscall_slong_t.
22251 2012-05-18 Andreas Jaeger <aj@suse.de>
22252 Carlos O'Donell <carlos_odonell@mentor.com>
22254 * manual/install.texi (Configuring and compiling): Update
22255 description about files modified in the source directory.
22256 * INSTALL: Regenerated.
22258 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22260 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22261 value. Use "or" to set return value to -1.
22262 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22263 negate return value.
22265 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22267 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22268 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22269 failure if the compiler has Graphite support disabled.
22270 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22272 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22273 CFLAGS-memmove.c): Likewise.
22274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22277 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22279 * sysdeps/x86_64/x32/_itoa.h: New file.
22281 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22282 getdents system call only if kernel and user dirents have the
22283 same d_ino and d_off.
22285 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22286 LLONG_MAX != LONG_MAX.
22287 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22288 (_fitoa_word): Likewise.
22290 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22293 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22294 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22296 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22297 include <bits/wordsize.h>. Check __x86_64__ instead of
22299 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22300 if __x86_64__ is defined. Use anonymous union on fpstate.
22302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22305 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22307 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22308 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22309 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22310 Refer to _rtld_local_ro instead of _rtld_global_ro.
22311 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22313 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22315 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22317 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22318 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22319 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22321 * sysdeps/powerpc/powerpc32/dl-machine.c
22322 (__elf_machine_runtime_setup) [PROF]: Don't reference
22325 2012-05-18 Andreas Jaeger <aj@suse.de>
22327 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22328 function only available for GCCs before 3.4 since GCC 3.4
22329 introduced a builtin.
22331 (llrintf): Likewise.
22332 (llrint): Likewise.
22339 (nearbyint): Likewise.
22340 (nearbyintf): Likewise.
22344 (floorf): Likewise.
22346 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22348 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22349 on both fields and cast pointer to __syscall_ulong_t.
22351 * bits/types.h (__fsword_t): New type.
22352 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22353 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22355 (__FSWORD_T_TYPE): Likewise.
22356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22357 (__FSWORD_T_TYPE): Likewise.
22358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22359 (__FSWORD_T_TYPE): Likewise.
22360 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22361 (__FSWORD_T_TYPE): Likewise.
22362 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22363 __SWORD_TYPE with __fsword_t.
22364 (statfs64): Likewise.
22366 2012-05-17 David S. Miller <davem@davemloft.net>
22368 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22370 2012-05-17 Andreas Jaeger <aj@suse.de>
22372 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22375 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22377 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22379 2012-05-17 Andreas Jaeger <aj@suse.de>
22381 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22384 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22386 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22388 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22390 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22391 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22393 2012-05-17 Andreas Jaeger <aj@suse.de>
22394 Carlos O'Donell <carlos_odonell@mentor.com>
22397 * sysdeps/x86_64/multiarch/init-arch.h
22398 (bit_YMM_Usable): Rename to...
22399 (bit_AVX_Usable): ... this.
22400 (bit_FMA4_Usable): New macro.
22401 (bit_XMM_state): New macro.
22402 (bit_YMM_state): New macro.
22403 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22404 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22405 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22406 (CPUID_OSXSAVE): New macro.
22407 (CPUID_AVX): New macro.
22408 (CPUID_FMA4): New macro.
22409 (index_YMM_Usable): Rename to...
22410 (index_AVX_Usable): ... this.
22411 (HAS_AVX): Use HAS_ARCH_FEATURE.
22412 (HAS_FMA4): Likewise.
22413 (HAS_YMM_USABLE): Remove.
22414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22415 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22417 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22418 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22419 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22420 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22421 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22423 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22425 * math/libm-test.c: Support platforms without multiple rounding modes.
22426 * math/bug-nextafter.c: Support platforms without FP exceptions.
22427 * math/bug-nexttoward.c: Likewise.
22428 * math/test-fenv.c: Likewise.
22429 * math/test-misc.c: Likewise.
22430 * stdlib/bug-getcontext.c: Likewise.
22432 2012-05-17 Andreas Jaeger <aj@suse.de>
22434 * manual/examples/search.c (critter_cmp): Change signature to
22436 * manual/string.texi (Collation Functions): Likewise.
22438 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22440 * bits/types.h: Fold copyright years.
22441 * bits/typesizes.h: Likewise.
22442 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22446 * time/time.h: Likewise.
22448 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22451 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22452 in instead of returning them. Return void.
22453 (__libc_mallinfo): Accumulate over all arenas.
22454 (__malloc_stats): Adjust for change in int_mallinfo interface.
22456 2012-05-16 Roland McGrath <roland@hack.frob.com>
22459 * configure.in (NM): Add AC_CHECK_TOOL for it.
22460 (libc_extra_cflags): New substituted variable.
22461 Check for -fstack-protector being used implicitly.
22462 * configure: Regenerated.
22463 * config.make.in (config-extra-cflags): New variable,
22464 gets @libc_extra_cflags@.
22465 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22468 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22469 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22470 * configure: Regenerated.
22471 * config.make.in (CPPUNDEFS): New substituted variable.
22472 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22473 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22474 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22476 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22478 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22479 (mq_attr): Use __syscall_slong_t.
22481 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22483 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22484 Check __x86_64__ instead of __WORDSIZE.
22485 (_STAT_VER_LINUX): Likewise.
22486 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22487 __syscall_ulong_t and __syscall_slong_t.
22488 (stat64): Likewise.
22490 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22492 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22494 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22496 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22498 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22500 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22503 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22504 include <bits/wordsize.h>. Check __x86_64__ instead of
22506 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22508 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22511 include <bits/wordsize.h>. Check __x86_64__ instead of
22513 (user_regs_struct): Use "__extension__ unsigned long long"
22514 instead of "unsigned long" if __x86_64__ is defined.
22515 (user): Likewise. Pad after pointer field if __ILP32__ is
22518 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22520 * configure.in (makeinfo): Require version 4.5 or later. Allow
22522 * configure: Regenerated.
22523 * manual/install.texi (texinfo): Increase version requirement to
22525 * INSTALL: Regenerated.
22527 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22529 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22531 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22533 * sysdeps/x86_64/x32/ffs.c: New file.
22535 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22537 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22538 defined. Use __syscall_ulong_t.
22539 (shminfo): Use __syscall_ulong_t.
22540 (shm_info): Likewise.
22542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22545 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22547 (msgqnum_t): Use __syscall_ulong_t.
22548 (msglen_t): Likewise.
22549 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22552 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22553 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22555 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22557 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22558 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22560 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22563 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22564 include <bits/wordsize.h>. Check __x86_64__ instead of
22567 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22568 "unsigned long long int" if __x86_64__ is defined.
22569 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22571 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22572 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22573 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22575 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22577 (GET_PC): Cast to uintptr_t first.
22578 (GET_FRAME): Likewise.
22579 (GET_STACK): Likewise.
22581 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22582 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22583 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22584 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22585 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22586 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22587 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22588 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22589 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22590 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22591 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22592 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22593 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22594 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22595 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22596 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22597 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22598 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22599 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22600 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22601 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22602 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22603 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22604 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22605 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22606 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22607 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22608 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22609 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22611 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22613 * Makerules (+depfiles): Also collect depfiles from .oS in
22615 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22616 .oS, $(libnldbl-routines)).
22618 * Makerules (native-compile-mkdep-flags): Define.
22619 * sunrpc/Makefile (extra-objs): Add $(addprefix
22620 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22621 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22622 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22623 calling $(make-target-directory).
22625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22627 * bits/types.h (__snseconds_t): Removed.
22628 * time/time.h (struct timespec): Replace __snseconds_t with
22630 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22631 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22634 (__SNSECONDS_T_TYPE): Likewise.
22635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22636 (__SNSECONDS_T_TYPE): Likewise.
22637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22638 (__SNSECONDS_T_TYPE): Likewise.
22640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22642 * sysdeps/mach/hurd/bits/typesizes.h
22643 (__SYSCALL_SLONG_TYPE): New macro.
22644 (__SYSCALL_ULONG_TYPE): Likewise.
22646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22648 * bits/types.h (__syscall_slong_t): New type.
22649 (__syscall_ulong_t): Likewise.
22651 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22652 (__SYSCALL_ULONG_TYPE): Likewise.
22653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22654 (__SYSCALL_SLONG_TYPE): Likewise.
22655 (__SYSCALL_ULONG_TYPE): Likewise.
22656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22657 (__SYSCALL_SLONG_TYPE): Likewise.
22658 (__SYSCALL_ULONG_TYPE): Likewise.
22659 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22660 (__SYSCALL_SLONG_TYPE): Likewise.
22661 (__SYSCALL_ULONG_TYPE): Likewise.
22663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22665 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22666 Add sigaltstack-offsets.sym.
22667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22668 <sigaltstack-offsets.h>.
22669 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22670 longjmp_msg pointer.
22671 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22672 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22674 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22676 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22678 * elf/stackguard-macros.h: Remove file.
22679 * sysdeps/generic/stackguard-macros.h: New file.
22680 * sysdeps/i386/stackguard-macros.h: Likewise.
22681 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22682 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22683 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22684 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22685 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22686 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22687 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22688 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22689 <elf/stackguard-macros.h>.
22692 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22693 __aligned__ in attribute.
22694 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22695 (gregset_t): Likewise.
22697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22699 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22700 * sysdeps/x86_64/64/Implies-after: Here. New file.
22701 * sysdeps/x86_64/x32/Implies-after: New file.
22703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22705 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22706 and access return value for _dl_profile_fixup. Use R10_LP to
22709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22711 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22715 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22716 * sysdeps/x86_64/x32/sysdep.h: New file.
22718 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22720 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22721 * sysdeps/x86_64/setjmp.S: Likewise.
22723 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22725 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22726 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22727 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22728 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22729 remove unused global constant.
22731 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22733 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22734 include of <not-cancel.h>.
22736 2012-05-15 Roland McGrath <roland@hack.frob.com>
22738 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22740 2012-05-15 Jeff Law <law@redhat.com>
22741 Andreas Jaeger <aj@suse.de>
22744 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22746 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22747 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22748 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22749 code changing __hst_map_handle.map.
22751 2012-05-15 Roland McGrath <roland@hack.frob.com>
22753 * configure.in (sysnames): Look for Implies-before and Implies-after
22755 * configure: Regenerated.
22757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22759 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22760 8-byte data alignment with LP_SIZE alignment.
22762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22764 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22769 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22774 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22777 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22781 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22782 (stackinfo_sub_sp): Likewise.
22784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22791 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22796 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22801 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22805 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22806 into R11_LP and load __x86_64_shared_cache_size_half into
22809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22811 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22814 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22823 powerpc32/power7/fpu/s_logb.c via #include.
22824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22825 powerpc32/power7/fpu/s_logbf.c via #include.
22826 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22827 powerpc32/power7/fpu/s_logbl.c via #include.
22829 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22831 * README.libm: Remove file.
22833 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22835 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22836 count for x32. Use R*_LP and omit operand-size suffix.
22838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22840 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22841 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22842 * sysdeps/x86_64/x32/shlib-versions: New file.
22844 2012-05-14 Roland McGrath <roland@hack.frob.com>
22846 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22847 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22848 Use _dl_fatal_printf instead.
22850 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22852 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22853 set if not set by the user. Do not allow for being unset.
22854 * sysdeps/unix/sysv/linux/configure: Regenerated.
22856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22858 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22859 the `q' suffix from lea and replace .quad with ASM_ADDR.
22861 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22864 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22866 (PTR_DEMANGLE): Likewise.
22868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22870 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22872 (ASM_ADDR): Likewise.
22873 (RAX_LP): Likewise.
22874 (RBP_LP): Likewise.
22875 (RBX_LP): Likewise.
22876 (RCX_LP): Likewise.
22877 (RDI_LP): Likewise.
22878 (RSI_LP): Likewise.
22879 (RSP_LP): Likewise.
22882 (R10_LP): Likewise.
22883 (R10_LP): Likewise.
22884 (R11_LP): Likewise.
22885 (R12_LP): Likewise.
22886 (R13_LP): Likewise.
22887 (R14_LP): Likewise.
22888 (R15_LP): Likewise.
22890 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22892 * sysdeps/x86_64/x32/dl-machine.h: New file.
22894 2012-05-14 Andreas Jaeger <aj@suse.de>
22896 * manual/Makefile (subdir): Remove export of subdir.
22897 (all): Remove target.
22898 (.PHONY): Remove all from list.
22899 (mkinstalldirs): Remove.
22900 (.PHONY): Remove installdirs from list.
22901 ($(inst_infodir)/libc.info): Use make-target-directory.
22902 (installdirs): Remove.
22903 (subdir_%): Remove.
22904 (glibc-targets): Remove.
22907 ($(objpfx)stubs ../po/manual.pot): Remove.
22908 ($(objpfx)stamp%): Remove.
22909 (make-target-directory): Remove.
22910 (subdir_install): Remove.
22911 (routines): Remove.
22918 * manual/.gitignore: Remove, it's not needed anymore.
22919 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22921 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22923 (texis): Renamed to $(objpfx)texis.
22924 (texis-path): New, contains path to generated files.
22925 (chapters.%): Use texis-path for complete path, add extra argument
22927 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22928 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22929 (summary,texi, stamp-summary): Use complete path of
22930 files. Generate files in build dir.
22931 (dir-add.texi): Build in build dir.
22932 (libm-err.texi,stamp-libm-err): Likewise.
22933 (version.texi, stamp-version): Likewise.
22934 (.%c.texi): Likewise.
22935 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22936 (mostlyclean): Remove target.
22937 (realclean): Remove target.
22938 (generated): Add new variable with contents from mostlyclean and
22939 realclean, remove entries duplicated in common-mostlyclean, add
22940 stamp-libm-err and stamp-version.
22941 (generated-dirs): Add libc directory.
22942 ($(inst_infodir)/libc.info): Install files from build dir.
22944 * manual/install.texi (Configuring and compiling): Adjust since
22945 the info files are not part of the tar ball anymore.
22947 2012-05-14 Andreas Jaeger <aj@suse.de>
22949 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22952 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22956 to 2.2.0 where earlier.
22957 * sysdeps/unix/sysv/linux/configure: Regenerated.
22958 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22959 Remove conditional code.
22960 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22961 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22962 Remove conditional code.
22963 [!__NR_lchown]: Likewise.
22964 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22965 [__NR_lchown]: Likewise.
22966 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22967 comment referencing __ASSUME_LCHOWN_SYSCALL.
22968 * sysdeps/unix/sysv/linux/i386/sigaction.c
22969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22971 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22972 Remove conditional code.
22973 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22974 (__protocol_available): Remove #if 0 code.
22975 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22977 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22978 * sysdeps/unix/sysv/linux/kernel-features.h
22979 (__ASSUME_GETCWD_SYSCALL): Don't define.
22980 (__ASSUME_REALTIME_SIGNALS): Likewise.
22981 (__ASSUME_PREAD_SYSCALL): Likewise.
22982 (__ASSUME_PWRITE_SYSCALL): Likewise.
22983 (__ASSUME_POLL_SYSCALL): Likewise.
22984 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22985 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22987 (__ASSUME_SIOCGIFNAME): Don't define.
22988 (__ASSUME_MSG_NOSIGNAL): Likewise.
22989 (__ASSUME_SENDFILE): Define unconditionally.
22990 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22991 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22993 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22994 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22995 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22996 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22997 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22998 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22999 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23016 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23022 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23024 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23025 Remove conditional code.
23026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23027 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23028 Remove conditional code.
23029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23030 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23031 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23032 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23033 Remove conditional code.
23034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23035 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23036 Remove conditional code.
23037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23038 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23039 Remove conditional code.
23040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23041 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23042 Remove conditional code.
23043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23044 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23045 Remove conditional code.
23046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23047 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23048 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23050 * sysdeps/unix/sysv/linux/sigaction.c
23051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23053 * sysdeps/unix/sysv/linux/sigpending.c
23054 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23055 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23056 * sysdeps/unix/sysv/linux/sigprocmask.c
23057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23059 * sysdeps/unix/sysv/linux/sigsuspend.c
23060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23062 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23063 (__libc_missing_rt_sigs): Remove.
23064 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23065 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23066 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23067 Remove conditional code.
23068 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23069 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23072 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23074 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23076 2012-05-14 Andreas Jaeger <aj@suse.de>
23078 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23079 it's not used in glibc.
23080 (__coshm1): Likewise.
23081 (__acosh1p): Likewise.
23084 * manual/string.texi (Copying and Concatenation): Add missing
23085 variable in concat example.
23086 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23088 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23092 __builtin_clzl with __builtin_clzll.
23094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23097 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23100 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23102 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23103 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23104 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23107 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23109 * NEWS: Update ia64 info.
23111 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23113 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23116 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23118 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23119 * sysdeps/unix/syscalls.list (dup3): Likewise.
23120 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23121 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23123 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23125 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23126 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23128 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23130 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23132 (TLS_IE): Use mov/add instead of movq/addq to load thread
23134 (TLS_GD_PREFIX): New.
23137 2012-05-11 David S. Miller <davem@davemloft.net>
23139 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23140 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23141 (_FPU_SETCW): Likewise.
23143 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23145 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23146 is 32-byte aligned.
23148 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23151 * iconvdata/gb18030.c: Update tables.
23152 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23153 characters specially.
23154 (BODY for TO_LOOP): Add encoding of missing ranges.
23156 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23159 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23160 * sysdeps/mach/hurd/dup3.c: Likewise.
23161 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23162 * sysdeps/powerpc/memmove.c:: Likewise.
23164 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23167 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23169 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23171 * elf/elf.h (R_X86_64_RELATIVE64): New.
23172 (R_X86_64_NUM): Updated.
23173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23174 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23175 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23176 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23177 tst-quad1pie tst-quad2pie
23178 (modules-names): Add tst-quadmod1 tst-quadmod2.
23179 ($(objpfx)tst-quad1): New dependency.
23180 ($(objpfx)tst-quad2): Likewise.
23181 ($(objpfx)tst-quad1pie): Likewise.
23182 ($(objpfx)tst-quad2pie): Likewise.
23183 * sysdeps/x86_64/tst-quad1.c: New file.
23184 * sysdeps/x86_64/tst-quad1pie.c: New file.
23185 * sysdeps/x86_64/tst-quad2.c: Likewise.
23186 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23187 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23188 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23189 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23190 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23192 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23194 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23195 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23196 * streams/stropts.h (t_scalar_t): Define type.
23198 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23199 (_PATH_PRESERVE): Set to "/var/lib".
23200 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23202 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23205 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23206 if __dir_mkfile succeeded.
23208 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23209 checking for _hurd_dtablesize. Unlock it right after having
23210 finished _hurd_dtable allocation.
23212 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23214 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23215 * sysdeps/mach/hurd/configure: Regenerated.
23216 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23217 special-casing to...
23218 * sysdeps/gnu/configure.in: ... this new file.
23219 * sysdeps/unix/sysv/linux/configure: Regenerated.
23220 * sysdeps/gnu/configure: New generated file.
23222 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23223 for Linux: use nsec instead of usec, as well as:
23224 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23225 members of type struct timespec.
23226 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23228 (struct stat64): Likewise.
23229 (_STATBUF_ST_NSEC): New macro.
23230 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23232 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23233 __strtoul_internal rather than strtoul.
23235 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23237 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23240 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23242 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23243 which preserves existing values.
23244 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23246 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23248 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23249 TIMEOUT values. Return EINVAL for NFDS values either negative or
23250 greater than FD_SETSIZE.
23252 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23254 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23255 allocated, call __vm_protect to finish enabling the existing space, and
23256 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23257 allocate the remainder.
23259 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23261 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23262 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23266 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23267 sysdeps/mach/hurd/readlink.c.
23269 * posix/tst-sysconf.c (posix_options): Only use
23270 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23271 _POSIX_SYNCHRONIZED_IO when they are defined
23272 * sysdeps/mach/hurd/bits/posix_opt.h:
23273 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23274 (_XOPEN_REALTIME): Undefine macro.
23275 (_XOPEN_REALTIME_THREADS): Undefine macro.
23276 (_XOPEN_SHM): Undefine macro.
23277 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23279 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23281 (_POSIX_ASYNC_IO): Undefine macro.
23282 (_POSIX_PRIORITIZED_IO): Undefine macro.
23283 (_POSIX_SPIN_LOCKS): Define macro to -1.
23285 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23286 SA_NODEFER, SA_RESETHAND.
23287 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23288 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23293 * elf/Makefile (pldd-modules): Define unconditionally.
23295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23297 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23299 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23301 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23302 Return ENOENT when name is empty.
23303 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23305 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23307 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23309 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23311 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23313 Fix mlock in all cases except non-readable pages.
23314 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23315 instead of VM_PROT_ALL as parameter to __vm_wire function.
23317 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23318 (__mkdir): When path is `/', just fail with EEXIST.
23319 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23321 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23323 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23324 <sys/uio.h> (for writev).
23325 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23326 and <sys/param.h> (for MIN).
23328 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23330 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23331 REQUESTED_TIME. Properly set the remaining time and return EINTR
23334 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23336 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23337 Depend on against $(link-rpcuserlibs).
23339 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23341 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23342 (__libc_stack_end): Do not use attribute_relro.
23343 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23344 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23345 to libthread-provided value.
23346 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23352 * bits/libc-lock.h (__libc_once_get): New macro.
23353 * sysdeps/mach/bits/libc-lock.h: Likewise.
23354 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23356 instead of using implementation details.
23358 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23359 * libio/freopen.c: Likewise.
23360 * libio/freopen64.c: Likewise.
23361 * misc/syslog.c: Likewise.
23362 * nscd/connections.c: Likewise.
23363 * nscd/netgroupcache.c: Likewise.
23364 * sysdeps/posix/getcwd.c: Likewise.
23366 2012-05-10 Roland McGrath <roland@hack.frob.com>
23368 * math/w_ilogbf.c: Add #include <limits.h>.
23370 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23372 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23373 path instead of returning without unlocking.
23375 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23376 immediate-write ioctls.
23377 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23381 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23382 __builtin_frame_address instead of making assumptions about the
23383 location of the return address relative to DATA. Force early load of
23384 the return address.
23385 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23386 __builtin_frame_address.
23389 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23390 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23391 implement dup3 and do some further code clean-ups.
23392 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23393 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23397 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23399 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23400 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23401 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23402 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23403 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23406 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23407 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23408 when handler == SIG_ERR, not when handler != SIG_ERR.
23410 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23412 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23413 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23416 accept4 for GNU Hurd.
23417 * include/sys/socket.h (__libc_accept4): New prototype.
23418 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23419 to implement __libc_accept4.
23420 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23422 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23424 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23425 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23426 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23427 signal-defines.sym.
23429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23431 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23435 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23436 assertion on O_CLOEXEC flag.
23437 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23438 * hurd/intern-fd.c: Likewise.
23439 * hurd/port2fd.c: Likewise.
23441 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23444 * bits/in.h (IPV6_PKTINFO): Define new macro.
23445 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23447 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23452 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23453 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23454 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23455 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23457 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23458 * math/libm-test.inc (logb_test) : Additional logb tests.
23460 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23461 Andreas Jaeger <aj@suse.de>
23463 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23464 * configure: Regenerated.
23465 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23466 * config.make.in (link-obsolete-rpc): New substituted variable.
23467 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23468 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23469 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23470 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23471 so that libc.a contains the symbols.
23472 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23473 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23474 * sunrpc/auth_none.c: Likewise.
23475 * sunrpc/auth_unix.c: Likewise.
23476 * sunrpc/authdes_prot.c: Likewise.
23477 * sunrpc/authuxprot.c: Likewise.
23478 * sunrpc/clnt_gen.c: Likewise.
23479 * sunrpc/clnt_perr.c: Likewise.
23480 * sunrpc/clnt_raw.c: Likewise.
23481 * sunrpc/clnt_simp.c: Likewise.
23482 * sunrpc/clnt_tcp.c: Likewise.
23483 * sunrpc/clnt_udp.c: Likewise.
23484 * sunrpc/clnt_unix.c: Likewise.
23485 * sunrpc/des_crypt.c: Likewise.
23486 * sunrpc/des_soft.c: Likewise.
23487 * sunrpc/get_myaddr.c: Likewise.
23488 * sunrpc/key_call.c: Likewise.
23489 * sunrpc/key_prot.c: Likewise.
23490 * sunrpc/netname.c: Likewise.
23491 * sunrpc/pm_getmaps.c: Likewise.
23492 * sunrpc/pm_getport.c: Likewise.
23493 * sunrpc/pmap_clnt.c: Likewise.
23494 * sunrpc/pmap_prot.c: Likewise.
23495 * sunrpc/pmap_prot2.c: Likewise.
23496 * sunrpc/pmap_rmt.c: Likewise.
23497 * sunrpc/publickey.c: Likewise.
23498 * sunrpc/rpc_cmsg.c: Likewise.
23499 * sunrpc/rpc_common.c: Likewise.
23500 * sunrpc/rpc_dtable.c: Likewise.
23501 * sunrpc/rpc_prot.c: Likewise.
23502 * sunrpc/rpc_thread.c: Likewise.
23503 * sunrpc/rtime.c: Likewise.
23504 * sunrpc/svc.c: Likewise.
23505 * sunrpc/svc_auth.c: Likewise.
23506 * sunrpc/svc_raw.c: Likewise.
23507 * sunrpc/svc_run.c: Likewise.
23508 * sunrpc/svc_tcp.c: Likewise.
23509 * sunrpc/svc_udp.c: Likewise.
23510 * sunrpc/svc_unix.c: Likewise.
23511 * sunrpc/svcauth_des.c: Likewise.
23512 * sunrpc/xcrypt.c: Likewise.
23513 * sunrpc/xdr.c: Likewise.
23514 * sunrpc/xdr_array.c: Likewise.
23515 * sunrpc/xdr_float.c: Likewise.
23516 * sunrpc/xdr_intXX_t.c: Likewise.
23517 * sunrpc/xdr_mem.c: Likewise.
23518 * sunrpc/xdr_rec.c: Likewise.
23519 * sunrpc/xdr_ref.c: Likewise.
23520 * sunrpc/xdr_sizeof.c: Likewise.
23521 * sunrpc/xdr_stdio.c: Likewise.
23523 2012-05-10 Roland McGrath <roland@hack.frob.com>
23525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23526 change. Update copyright years.
23528 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23530 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23532 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23533 Joseph Myers <joseph@codesourcery.com>
23534 Paul Pluzhnikov <ppluzhnikov@google.com>
23537 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23539 [cross-compiling] (extra-libs): Likewise.
23540 [cross-compiling] (extra-libs-others): Likewise.
23541 [cross-compiling] (librpcsvc-routines): Likewise.
23542 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23543 [cross-compiling] (omit-deps): Likewise.
23544 (sunrpc-CPPFLAGS): New variable.
23545 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23546 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23547 (cross-rpcgen-objs): New variable.
23548 (extra-objs): Append $(cross-rpcgen-objs).
23549 ($(cross-rpcgen-objs)): New rule.
23550 ($(objpfx)cross-rpcgen): Likewise.
23551 (rpcgen-cmd): Define to use $(built-program-file). Expand
23553 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23554 ($(objpfx)x%.stmp): Likewise.
23555 * sunrpc/proto.h [IS_IN_build] (_): Define.
23556 [IS_IN_build] (_libc_intl_domainname): Likewise.
23558 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23560 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23561 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23562 and R_X86_64_TPOFF64.
23564 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23566 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23567 sysdeps/unix/sysv/syscalls.list.
23570 * sysdeps/unix/sysv/syscalls.list: Remove file.
23572 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23575 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23576 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23577 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23578 (__LC_IDENTIFICATION): Make these macros useful in #if
23579 expressions, as required by C99.
23581 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23583 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23584 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23587 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23589 * stdlib/longlong.h: Updated from GCC.
23591 2012-05-09 Andreas Jaeger <aj@suse.de>
23593 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23594 default is first entry.
23595 (run_mode): Set type.
23596 (main): Remove informal message about syslog.
23597 (options): Fix typo.
23600 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23603 (llrintf): Likewise.
23604 (llrint): Likewise.
23607 (nearbyint): Likewise.
23608 (nearbyintf): Likewise.
23610 2012-05-09 Andreas Jaeger <aj@suse.de>
23611 Pedro Alves <palves@redhat.com>
23613 * nscd/nscd.c (run_mode): Use enum.
23614 (main): Cleanup coding style issue.
23616 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23617 Andreas Jaeger <aj@suse.de>
23619 * nscd/nscd.c (go_background): Replaced with...
23620 (run_mode): ... this.
23621 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23622 (options): Add -F --foreground.
23623 (main): Implement it.
23624 (parse_opt): Parse it.
23626 2012-05-09 Andreas Jaeger <aj@suse.de>
23629 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23630 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23631 -Wconversion warning.
23632 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23635 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23637 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23639 (LC_ALL): Use macro-int-constant.
23640 (LC_COLLATE): Likewise.
23641 (LC_CTYPE): Likewise.
23642 (LC_MESSAGES): Likewise.
23643 (LC_MONETARY): Likewise.
23644 (LC_NUMERIC): Likewise.
23645 (LC_TIME): Likewise.
23646 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23647 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23649 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23651 [C99-based standards] (float_t): Expect type.
23652 [C99-based standards] (double_t): Expect type.
23653 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23655 [C99-based standards] (HUGE_VALL): Likewise.
23656 [C99-based standards] (INFINITY): Likewise.
23657 [C99-based standards] (NAN): Likewise.
23658 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23659 [C99-based standards] (FP_NAN): Likewise.
23660 [C99-based standards] (FP_NORMAL): Likewise.
23661 [C99-based standards] (FP_SUBNORMAL): Likewise.
23662 [C99-based standards] (FP_ZERO): Likewise.
23663 [C99-based standards] (FP_FAST_FMA): Use
23664 optional-macro-int-constant. Specify type. Require == 1.
23665 [C99-based standards] (FP_FAST_FMAF): Likewise.
23666 [C99-based standards] (FP_FAST_FMAL): Likewise.
23667 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23668 [C99-based standards] (FP_ILOGBNAN): Likewise.
23669 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23671 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23672 [C99-based standards] (math_errhandling): Specify type.
23673 [ISO99 || ISO11] (signgam): Do not allow.
23674 [non-C99-based standards] (copysignf): Do not allow.
23675 [non-C99-based standards] (exp2f): Likewise.
23676 [non-C99-based standards] (log2f): Likewise.
23677 [non-C99-based standards] (modff): Allow.
23678 [non-C99-based standards] (erff): Do not allow.
23679 [non-C99-based standards] (erfcf): Likewise.
23680 [non-C99-based standards] (gammaf): Likewise.
23681 [non-C99-based standards] (hypotf): Likewise.
23682 [non-C99-based standards] (j0f): Likewise.
23683 [non-C99-based standards] (j1f): Likewise.
23684 [non-C99-based standards] (jnf): Likewise.
23685 [non-C99-based standards] (lgammaf): Likewise.
23686 [non-C99-based standards] (tgammaf): Likewise.
23687 [non-C99-based standards] (y0f): Likewise.
23688 [non-C99-based standards] (y1f): Likewise.
23689 [non-C99-based standards] (ynf): Likewise.
23690 [non-C99-based standards] (isnanf): Likewise.
23691 [non-C99-based standards] (acoshf): Likewise.
23692 [non-C99-based standards] (asinhf): Likewise.
23693 [non-C99-based standards] (atanhf): Likewise.
23694 [non-C99-based standards] (cbrtf): Likewise.
23695 [non-C99-based standards] (expm1f): Likewise.
23696 [non-C99-based standards] (ilogbf): Likewise.
23697 [non-C99-based standards] (log1pf): Likewise.
23698 [non-C99-based standards] (logbf): Likewise.
23699 [non-C99-based standards] (nextafterf): Likewise.
23700 [non-C99-based standards] (remainderf): Likewise.
23701 [non-C99-based standards] (rintf): Likewise.
23702 [non-C99-based standards] (scalbf): Likewise.
23703 [non-C99-based standards] (copysignl): Likewise.
23704 [non-C99-based standards] (exp2l): Likewise.
23705 [non-C99-based standards] (log2l): Likewise.
23706 [non-C99-based standards] (modfl): Allow.
23707 [non-C99-based standards] (erfl): Do not allow.
23708 [non-C99-based standards] (erfcl): Likewise.
23709 [non-C99-based standards] (gammal): Likewise.
23710 [non-C99-based standards] (hypotl): Likewise.
23711 [non-C99-based standards] (j0l): Likewise.
23712 [non-C99-based standards] (j1l): Likewise.
23713 [non-C99-based standards] (jnl): Likewise.
23714 [non-C99-based standards] (lgammal): Likewise.
23715 [non-C99-based standards] (tgammal): Likewise.
23716 [non-C99-based standards] (y0l): Likewise.
23717 [non-C99-based standards] (y1l): Likewise.
23718 [non-C99-based standards] (ynl): Likewise.
23719 [non-C99-based standards] (isnanl): Likewise.
23720 [non-C99-based standards] (acoshl): Likewise.
23721 [non-C99-based standards] (asinhl): Likewise.
23722 [non-C99-based standards] (atanhl): Likewise.
23723 [non-C99-based standards] (cbrtl): Likewise.
23724 [non-C99-based standards] (expm1l): Likewise.
23725 [non-C99-based standards] (ilogbl): Likewise.
23726 [non-C99-based standards] (log1pl): Likewise.
23727 [non-C99-based standards] (logbl): Likewise.
23728 [non-C99-based standards] (nextafterl): Likewise.
23729 [non-C99-based standards] (remainderl): Likewise.
23730 [non-C99-based standards] (rintl): Likewise.
23731 [non-C99-based standards] (scalbl): Likewise.
23732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23733 [non-C99-based standards] (FP_*): Do not allow.
23734 [C99-based standards] (FP_*): Change to
23735 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23736 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23738 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23739 (SIG_ERR): Likewise.
23740 [X/Open-based standards] (SIG_HOLD): Likewise.
23741 (SIG_IGN): Likewise.
23742 (SIGABRT): Use macro-int-constant. Specify type. Require
23744 (SIGFPE): Likewise.
23745 (SIGILL): Likewise.
23746 (SIGINT): Likewise.
23747 (SIGSEGV): Likewise.
23748 (SIGTER): Likewise.
23749 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23750 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23751 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23752 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23753 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23754 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23755 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23756 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23757 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23758 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23759 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23760 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23761 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23762 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23763 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23764 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23765 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23766 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23767 [X/Open-based standards] (SIGTRAP): Likewise.
23768 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23769 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23770 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23771 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23772 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23775 2012-05-08 Ian Wienand <ianw@vmware.com>
23778 * time/tzset.c (__tzset_parse_tz): Update default rules for
23779 daylight time changes in the Energy Policy Act of 2005.
23781 2012-05-09 Andreas Jaeger <aj@suse.de>
23784 * elf/ldconfig.c (parse_conf): Change string to make clear that
23785 ldconfig only issued a warning if ld.so.conf does not exist.
23787 2012-05-08 David S. Miller <davem@davemloft.net>
23789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23790 movxtod instead of popping the value on the stack.
23792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23794 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23796 * config.h.in: Add HAVE_ARM_PCS_VFP.
23798 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
23801 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23802 checking but the checks are disabled for any reason.
23804 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23806 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23807 and ELF64_R_TYPE with ELFW(R_TYPE).
23809 2012-05-08 Joseph Myers <joseph@codesourcery.com>
23811 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23812 (ulimit): Likewise.
23814 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23815 (settimeofday): Likewise.
23817 2012-05-08 Mike Frysinger <vapier@gentoo.org>
23819 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23820 a struct th_u2 inside the union, and move tu_block/tu_code into
23821 a new th_u3 union of tu_block/tu_code inside of that. Move
23822 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23823 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23824 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23825 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23826 (th_stuff): Change to th_u1.tu_stuff.
23828 (th_msg): Change to th_u1.th_u2.tu_data.
23830 2012-05-07 David S. Miller <davem@davemloft.net>
23832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23835 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23836 (SETUP_PIC_REG): Use it.
23837 (SETUP_PIC_REG_LEAF): Use it.
23839 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23843 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23845 (EXPL_FINITE): Likewise.
23846 (FLDLOG): Likewise.
23847 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23848 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23850 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23852 (EXPL_FINITE): Likewise.
23853 (FLDLOG): Likewise.
23854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23855 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23857 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23858 test of -max_value argument for long double.
23859 * sysdeps/i386/fpu/libm-test-ulps: Update.
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23862 2012-05-06 David S. Miller <davem@davemloft.net>
23864 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23865 quad soft-float symbols whose references which are compiler
23867 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23869 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23875 (EXPL_FINITE): Likewise.
23876 (FLDLOG): Likewise.
23879 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23880 Adjust comments for base varying.
23881 (__expl_finite): Change alias to EXPL_FINITE.
23882 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23884 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23885 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23887 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23888 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23890 (EXPL_FINITE): Likewise.
23891 (FLDLOG): Likewise.
23894 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23895 Adjust comments for base varying.
23896 (__expl_finite): Change alias to EXPL_FINITE.
23897 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23902 * math/libm-test.inc (check_float_internal): Correct ulp
23903 calculation for subnormal expected results.
23905 2012-05-06 Andreas Jaeger <aj@suse.de>
23907 * Makeconfig (+math-flags): New, set to -frounding-math.
23908 (+cflags): Add +math-flags so that all of glibc gets compiled with
23911 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23913 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23915 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23921 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23922 (__ieee754_expl): Allow for and saturate large arguments.
23923 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23924 (u_threshold): Likewise.
23925 (__exp): Call __ieee754_exp before checking for overflow and
23927 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23928 (u_threshold): Likewise.
23929 (__expf): Call __ieee754_expf before checking for overflow and
23931 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23932 (u_threshold): Likewise.
23933 (__expl): Call __ieee754_expl before checking for overflow and
23935 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23936 (__ieee754_expl): Allow for and saturate large arguments.
23937 * math/libm-test.inc (exp_test): Add another test. Do not allow
23938 missing overflow exception on overflow.
23939 (expm1_test): Do not allow missing overflow exception on overflow.
23941 * sysdeps/i386/fpu/e_expl.c: Move to ...
23942 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23943 rather than using inline asm.
23944 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23945 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23946 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23948 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23951 (signal): Likewise.
23955 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23957 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23958 sysdeps/unix/common/syscalls.list.
23959 (fchmod): Likewise.
23960 (fchown): Likewise.
23961 (ftruncate): Likewise.
23962 (getrusage): Likewise.
23963 (gettimeofday): Likewise.
23964 (setpgid): Likewise.
23965 (setregid): Likewise.
23966 (setreuid): Likewise.
23967 (sigaction): Likewise.
23968 (truncate): Likewise.
23969 (vhangup): Likewise.
23970 * sysdeps/unix/common/syscalls.list: Remove file.
23971 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23972 * sysdeps/unix/sysv/linux/Implies: Likewise.
23974 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23976 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23978 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23982 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23985 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23988 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23991 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23994 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23997 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24000 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24004 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24008 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24011 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24015 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24019 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24021 * sysdeps/unix/common/bits/dirent.h: Remove file.
24022 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24024 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24025 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24026 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24027 * sysdeps/unix/bsd/isatty.c: Likewise.
24028 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24029 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24030 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24032 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24035 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24036 long double comparison inaccuracies.
24037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24040 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24042 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24045 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24049 nonzero digits before rounding a hex value.
24050 * stdlib/tst-strtod.c (tests): Add another test.
24052 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24054 * sysdeps/s390/fpu/libm-test-ulps: Update.
24056 2012-05-03 Andreas Jaeger <aj@suse.de>
24058 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24059 does not get optimized out.
24060 (malloc_opt_barrier): New.
24062 2012-05-03 Andreas Jaeger <aj@suse.de>
24063 Roland McGrath <roland@hack.frob.com>
24065 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24066 intermediate file deletion.
24067 (generated): Add .symlist files.
24069 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24072 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24073 Redirect under this condition.
24074 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24075 [__USE_GNU] (__dprintf_chk): Not under this condition.
24076 [__USE_GNU] (__vdprintf_chk): Likewise.
24077 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24078 under this condition.
24079 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24080 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24081 [__USE_XOPEN2K8] (vdprintf): Likewise.
24082 [__USE_GNU] (__dprintf_chk): Not under this condition.
24083 [__USE_GNU] (__vdprintf_chk): Likewise.
24084 [__USE_GNU] (dprintf): Likewise.
24085 [__USE_GNU] (vdprintf): Likewise.
24087 2012-05-03 Roland McGrath <roland@hack.frob.com>
24089 * elf/Makefile (common-generated): Set this instead of generated for
24090 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24091 $(all-built-dso)-derived lists.
24093 2012-05-03 Andreas Jaeger <aj@suse.de>
24095 * sysdeps/i386/fpu/libm-test-ulps: Update.
24098 * FAQ.in: Likewise.
24099 * scripts/gen-FAQ.pl: Likewise.
24100 * manual/install.texi (Installation): Point to online location of
24102 * Makefile (files-for-dist): Remove FAQ.
24105 2012-05-02 Allan McRae <allan@archlinux.org>
24107 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24108 (LDFLAGS-reldepmod5.so): Likewise.
24109 (LDFLAGS-reldep6mod1.so): Likewise.
24110 (LDFLAGS-reldep6mod4.so): Likewise.
24111 (LDFLAGS-reldep8mod3.so): Likewise.
24112 (LDFLAGS-unload4mod1.so): Likewise.
24113 (LDFLAGS-unload4mod2.so): Likewise.
24114 (LDFLAGS-tst-initorder): Likewise.
24115 (LDFLAGS-tst-initordera2.so): Likewise.
24116 (LDFLAGS-tst-initordera3.so): Likewise.
24117 (LDFLAGS-tst-initordera4.so): Likewise.
24118 (LDFLAGS-tst-initorderb2.so): Likewise.
24119 (LDFLAGS-noload): Likewise.
24120 (LDFLAGS-next): Likewise.
24121 (LDFLAGS-order2mod1.so): Likewise.
24122 (LDFLAGS-order2mod2.so): Likewise.
24123 (LDFLAGS-tst-initorder2): Likewise.
24124 (LDFLAGS-tst-initorder2a.so): Likewise.
24125 (LDFLAGS-tst-initorder2b.so): Likewise.
24126 (LDFLAGS-tst-initorder2c.so): Likewise.
24127 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24129 2012-05-02 David S. Miller <davem@davemloft.net>
24131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24133 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24136 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24138 2012-05-02 Andreas Jaeger <aj@suse.de>
24140 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24141 since we manipulate rounding mode.
24142 (CPPFLAGS-test-idouble.c): Likewise.
24143 (CPPFLAGS-test-ifloat.c): Likewise.
24144 (CFLAGS-test-ldouble.c): Likewise.
24145 (CFLAGS-test-double.c): Likewise.
24146 (CFLAGS-test-float.c): Likewise.
24147 (CFLAGS-test-misc.c): Likewise.
24148 (CFLAGS-test-test-fenv.c): Likewise.
24150 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24154 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24155 comparisons to determine direction to adjust input.
24157 2012-05-01 Roland McGrath <roland@hack.frob.com>
24159 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24160 output to the target.
24162 * scripts/localplt.awk: New file.
24163 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24164 (check-localplt-CFLAGS): Variable removed.
24165 ($(all-built-dso:=.jmprel)): New static pattern rule.
24166 (generated): Add those targets.
24167 (localplt-built-dso): New variable.
24168 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24170 * elf/check-localplt.c: File removed.
24172 * scripts/check-execstack.awk: New file.
24173 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24174 (check-execstack-CFLAGS): Variable removed.
24175 ($(objpfx)check-execstack.h): Target removed.
24176 ($(objpfx)execstack-default): New target.
24177 (generated): Add that instead of check-execstack.h.
24178 ($(all-built-dso:=.phdr)): New static pattern rule.
24179 (generated): Add those targets.
24180 * elf/check-execstack.c: File removed.
24182 * scripts/check-textrel.awk: New file.
24183 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24184 (check-textrel-CFLAGS): Variable removed.
24185 (all-built-dso): Use := to define.o
24186 ($(all-built-dso:=.dyn)): New static pattern rule.
24187 (generated): Add those targets.
24188 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24189 * config.make.in (READELF): New substituted variable.
24190 * elf/check-textrel.c: File removed.
24192 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24194 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24196 * conform/data/ctype.h-data [C99-based standards] (isblank):
24198 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24199 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24200 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24201 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24202 Specify type. Require positive value.
24203 (EILSEQ): Likewise.
24204 (ERANGE): Likewise.
24205 [ISO || POSIX] (EILSEQ): Do not expect.
24206 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24207 Specify type. Require positive value.
24208 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24209 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24210 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24211 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24212 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24213 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24214 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24215 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24216 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24217 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24218 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24219 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24220 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24221 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24222 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24223 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24224 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24225 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24226 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24227 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24228 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24229 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24230 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24231 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24232 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24233 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24234 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24235 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24236 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24237 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24238 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24239 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24240 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24241 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24242 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24243 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24244 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24245 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24246 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24247 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24248 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24249 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24250 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24251 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24252 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24253 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24254 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24255 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24256 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24257 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24258 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24259 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24260 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24261 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24262 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24263 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24264 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24265 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24266 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24267 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24268 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24269 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24270 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24271 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24272 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24273 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24274 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24275 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24276 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24277 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24278 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24279 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24280 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24281 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24282 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24283 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24284 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24286 (FLT_ROUNDS): Expect as macro, not constant.
24287 (FLT_MANT_DIG): Use macro-int-constant.
24288 (DBL_MANT_DIG): Likewise.
24289 (LDBL_MANT_DIG): Likewise.
24290 (FLT_DIG): Likewise.
24291 (DBL_DIG): Likewise.
24292 (LDBL_DIG): Likewise.
24293 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24294 (DBL_MIN_EXP): Likewise.
24295 (LDBL_MIN_EXP): Likewise.
24296 (FLT_MAX_EXP): Use macro-int-constant.
24297 (DBL_MAX_EXP): Likewise.
24298 (LDBL_MAX_EXP): Likewise.
24299 (FLT_MAX_10_EXP): Likewise.
24300 (DBL_MAX_10_EXP): Likewise.
24301 (LDBL_MAX_10_EXP): Likewise.
24302 (FLT_MAX): Use macro-constant.
24303 (DBL_MAX): Likewise.
24304 (LDBL_MAX): Likewise.
24305 (FLT_EPSILON): Use macro-constant. Give upper bound.
24306 (DBL_EPSILON): Likewise.
24307 (LDBL_EPSILON): Likewise.
24308 (FLT_MIN): Likewise.
24309 (DBL_MIN): Likewise.
24310 (LDBL_MIN): Likewise.
24311 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24312 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24313 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24314 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24315 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24316 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24317 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24318 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24319 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24320 [ISO11] (FLT_TRUE_MIN): Likewise.
24321 [ISO11] (LDBL_TRUE_MIN): Likewise.
24322 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24323 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24324 (SCHAR_MIN): Use macro-int-constant. Specify type.
24325 (SCHAR_MAX): Likewise.
24326 (UCHAR_MAX): Likewise.
24327 (CHAR_MIN): Likewise.
24328 (CHAR_MAX): Likewise.
24329 (MB_LEN_MAX): Use macro-int-constant.
24330 (SHRT_MIN): Use macro-int-constant. Specify type.
24331 (SHRT_MAX): Likewise.
24332 (USHRT_MAX): Likewise.
24333 (INT_MAX): Likewise.
24334 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24336 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24338 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24340 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24341 bound negative. Suffix upper bound with "L".
24342 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24344 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24346 [C99-based standards] (LLONG_MAX): Likewise.
24347 [C99-based standards] (ULLONG_MAX): Likewise.
24348 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24350 [ISO11] (max_align_t): Require type.
24351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24353 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24354 from $CFLAGS, without defining away __attribute__ calls.
24355 (checknamespace): Use $CFLAGS_namespace.
24357 * conform/conformtest.pl (@keywords): Only include C99 keywords
24358 for standards based on C99 or C11.
24360 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24362 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24365 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24366 usability of symbols in #if.
24368 * conform/conformtest.pl: If macro or constant types start
24369 "promoted:", expect the symbol to be of the following type
24370 promoted by the integer promotions.
24372 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24373 in one place. Also handle "macro-constant".
24375 * conform/conformtest.pl: Only accept expected macro values with
24376 "==". Parse all "macro" lines in one place.
24377 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24379 * conform/conformtest.pl: Handle braced types on "constant" lines
24380 instead of handling "typed-constant".
24381 * conform/data/signal.h-data: Use "constant" instead of
24384 * conform/conformtest.pl: Handle "optional-" at start of lines in
24385 one place rather than duplicating several cases. Handle each
24386 format of "macro" line with initial "optional-".
24388 * conform/conformtest.pl: Only accept expected constant or
24389 optional-constant values with "==". Parse all "constant" lines in
24390 one place. Parse all "optional-constant" lines in one place.
24391 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24392 * conform/data/fmtmsg.h-data: Likewise.
24393 * conform/data/netinet/in.h-data: Likewise.
24394 * conform/data/tar.h-data: Likewise.
24395 * conform/data/limits.h-data: Use "==" form on "constant" and
24396 "optional-constant" lines.
24398 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24399 Use -std=c99 for XOPEN2K.
24400 (@knownproblems): Remove.
24401 (newtoken): Don't check %isknown.
24403 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24404 Do not expect macro.
24405 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24406 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24407 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24408 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24409 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24410 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24411 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24412 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24413 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24414 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24415 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24416 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24417 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24418 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24419 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24420 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24421 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24422 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24423 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24424 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24425 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24426 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24427 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24428 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24429 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24430 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24431 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24432 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24433 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24434 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24435 [XPG3] (acosh): Likewise.
24436 [XPG3] (asinh): Likewise.
24437 [XPG3] (atanh): Likewise.
24438 [XPG3] (cbrt): Likewise.
24439 [XPG3] (expm1): Likewise.
24440 [XPG3] (ilogb): Likewise.
24441 [XPG3] (log1p): Likewise.
24442 [XPG3] (logb): Likewise.
24443 [XPG3] (nextafter): Likewise.
24444 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24445 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24446 [XPG3] (remainder): Likewise.
24447 [XPG3] (rint): Likewise.
24448 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24449 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24450 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24451 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24452 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24453 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24454 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24455 [UNIX98 || XOPEN2K] (scalb): Expect.
24456 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24457 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24458 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24459 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24460 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24461 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24462 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24463 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24464 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24465 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24466 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24467 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24468 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24469 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24470 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24471 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24472 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24473 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24474 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24475 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24476 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24477 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24478 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24479 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24480 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24481 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24482 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24483 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24484 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24485 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24486 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24487 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24488 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24489 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24490 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24491 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24492 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24493 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24494 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24495 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24496 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24497 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24498 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24499 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24500 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24501 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24502 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24503 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24504 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24505 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24506 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24507 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24508 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24509 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24510 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24511 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24512 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24513 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24514 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24515 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24516 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24517 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24518 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24519 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24520 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24521 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24522 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24523 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24524 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24525 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24526 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24527 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24528 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24529 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24530 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24531 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24532 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24533 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24534 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24535 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24536 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24537 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24538 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24539 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24540 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24541 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24542 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24543 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24544 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24545 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24546 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24547 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24548 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24549 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24550 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24551 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24552 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24553 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24554 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24555 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24556 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24557 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24558 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24559 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24560 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24561 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24562 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24563 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24564 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24565 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24566 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24567 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24568 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24569 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24570 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24571 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24572 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24573 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24574 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24575 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24576 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24577 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24578 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24579 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24580 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24581 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24582 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24583 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24584 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24585 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24586 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24587 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24588 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24589 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24590 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24591 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24592 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24594 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24595 _XOPEN_SOURCE_EXTENDED for XPG4.
24597 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24599 * Makeconfig (localtime): Remove variable.
24600 (inst_localtime-file): Likewise.
24602 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24623 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24627 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24628 comparisons to determine direction to adjust input.
24629 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24630 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24633 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24637 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24638 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24640 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24642 * math/libm-test.inc (nexttoward_test): Add more tests.
24644 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24648 in version GLIBC_2.1, not GLIBC_2.0.
24649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24652 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24655 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24657 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24658 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24659 * math/libm-test.inc (acos_test): Add more tests.
24660 (asin_test): Likewise.
24661 * sysdeps/i386/fpu/libm-test-ulps: Update.
24662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24665 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24667 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24668 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24669 * math/libm-test.inc (acos_test_tonearest): New function.
24670 (acos_test_towardzero): Likewise.
24671 (acos_test_downward): Likewise.
24672 (acos_test_upward): Likewise.
24673 (asin_test_tonearest): Likewise.
24674 (asin_test_towardzero): Likewise.
24675 (asin_test_downward): Likewise.
24676 (asin_test_upward): Likewise.
24677 (main): Call the new functions.
24678 * sysdeps/i386/fpu/libm-test-ulps: Update.
24679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24683 * math/e_exp10.c: Include <float.h>.
24684 (__ieee754_exp10): Handle underflow here rather than multiplying
24685 large negative argument by M_LN10.
24686 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24688 * math/e_exp10l.c: Include <float.h>.
24689 (__ieee754_exp10l): Handle underflow here rather than multiplying
24690 large negative argument by M_LN10l.
24691 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24692 spurious overflow exception on underflow.
24694 2012-04-29 Marek Polacek <polacek@redhat.com>
24696 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24697 (__fortify_function): New macro.
24698 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24699 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24700 __extern_always_inline.
24701 * libio/bits/stdio2.h: Likewise.
24702 * libio/bits/stdio.h: Likewise.
24703 * string/string.h: Likewise.
24704 * string/bits/string3.h: Likewise.
24705 * include/stdio.h: Likewise.
24706 * stdlib/bits/stdlib.h: Likewise.
24707 * stdlib/stdlib.h: Likewise.
24708 * rt/bits/mqueue2.h: Likewise.
24709 * rt/mqueue.h: Likewise.
24710 * posix/bits/unistd.h: Likewise.
24711 * posix/unistd.h: Likewise.
24712 * io/bits/poll2.h: Likewise.
24713 * io/bits/fcntl2.h: Likewise.
24714 * io/fcntl.h: Likewise.
24715 * io/sys/poll.h: Likewise.
24716 * misc/bits/syslog.h: Likewise.
24717 * misc/bits/syslog-ldbl.h: Likewise.
24718 * misc/sys/syslog.h: Likewise.
24719 * socket/bits/socket2.h: Likewise.
24720 * socket/sys/socket.h: Likewise.
24721 * debug/tst-chk1.c: Likewise.
24722 * wcsmbs/bits/wchar2.h: Likewise.
24723 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24724 * wcsmbs/wchar.h: Likewise.
24726 2012-04-29 Andreas Jaeger <aj@suse.de>
24728 * Makerules (tests): Remove enable-check-abi protection.
24729 (check-abi-warn): Remove.
24730 (check-abi-%): Remove check-abi-warn usage.
24732 * configure.in: Remove check-abi configure option.
24733 * configure: Regenerated.
24734 * config.make.in (enable-check-abi): Remove.
24736 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24739 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24740 double functions to double *_finite functions.
24743 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24744 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24746 * stdio-common/Makefile (tests): Add tst-sprintf3.
24747 * stdio-common/tst-sprintf3.c: New file.
24749 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24750 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24752 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24754 * conform/conformtest.pl: Remove duplicate typed-constant
24757 2012-04-28 David S. Miller <davem@davemloft.net>
24759 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24760 (check-abi-%): Remove AWK script prerequisite and explicit
24762 (check-abi): Rewrite to just diff the symlist with the abilist.
24763 (config-tls, config-abi-config): Delete, no longer used.
24764 (update-abi-%): Remove AWK script and explicit abilist directory.
24765 (update-abi): Rewrite to simply compare and conditionally copy the
24766 symlist and the sysdep abilist file. Remove update-abi-config
24768 * abilist/ld.abilist: Remove.
24769 * abilist/libBrokenLocale.abilist: Remove.
24770 * abilist/libanl.abilist: Remove.
24771 * abilist/libcrypt.abilist: Remove.
24772 * abilist/libdl.abilist: Remove.
24773 * abilist/librt.abilist: Remove.
24774 * abilist/libthread_db.abilist: Remove.
24775 * abilist/libutil.abilist: Remove.
24776 * scripts/extract-abilist.awk: Remove.
24777 * scripts/merge-abilist.awk: Remove.
24778 * sysdeps/generic/libcidn.abilist: New file.
24779 * sysdeps/generic/libnss_compat.abilist: New file.
24780 * sysdeps/generic/libnss_db.abilist: New file.
24781 * sysdeps/generic/libnss_dns.abilist: New file.
24782 * sysdeps/generic/libnss_files.abilist: New file.
24783 * sysdeps/generic/libnss_hesiod.abilist: New file.
24784 * sysdeps/generic/libnss_nis.abilist: New file.
24785 * sysdeps/generic/libnss_nisplus.abilist: New file.
24786 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24787 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24788 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24790 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24791 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24792 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24793 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24794 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24795 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24796 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24797 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24798 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24800 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24801 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24802 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24803 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24805 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24806 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24807 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24808 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24809 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24810 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24812 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24813 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24814 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24816 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24919 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24920 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24921 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24924 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24925 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24926 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24927 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24928 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24929 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24930 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24931 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24932 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24984 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24986 * conform/conformtest.pl: Fix typo in handling typed-constant from
24989 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24991 * README: Cut down references to pre-2.6 Linux kernels and
24992 Linuxthreads. Update lists of configurations in libc and ports
24993 and sort alphabetically. Say "or newer" with Linux kernel version
24996 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24998 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25001 * math/libm-test.inc (logb_test_downward): New test to expose
25002 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25005 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25008 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25010 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25011 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25013 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25015 * sysdeps/unix/i386/brk.S: Remove file.
25016 * sysdeps/unix/i386/dl-brk.S: Likewise.
25017 * sysdeps/unix/i386/pipe.S: Likewise.
25018 * sysdeps/unix/i386/sigreturn.S: Likewise.
25019 * sysdeps/unix/i386/syscall.S: Likewise.
25020 * sysdeps/unix/i386/vfork.S: Likewise.
25021 * sysdeps/unix/i386/wait.S: Likewise.
25023 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25024 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25026 * configure.in (arm*-none*): Do not allow without
25027 --enable-hacker-mode.
25028 (netbsd*): Remove case setting base_os.
25029 (386bsd*): Likewise.
25030 (freebsd*): Likewise.
25033 (sunos*): Likewise.
25034 (ultrix*): Likewise.
25035 (newsos*): Likewise.
25036 (dynix*): Likewise.
25042 (minix*): Likewise.
25043 (irix4*): Likewise.
25044 (irix6*): Likewise.
25045 (solaris[2-9]*): Likewise.
25047 * configure: Regenerated.
25049 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25053 overflow or cancellation in calculating denominator.
25054 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25056 down expression to avoid unexpected rounding in newer GCCs.
25057 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25059 2012-04-26 David S. Miller <davem@davemloft.net>
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25062 long-double compat symbols.
25063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25077 2012-04-25 David S. Miller <davem@davemloft.net>
25079 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25080 HWCAP_* values only after the memory barriers have been defined.
25081 (atomic_full_barrier): Define.
25082 (atomic_read_barrier): Define.
25083 (atomic_write_barrier): Define.
25085 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25087 * shlib-versions: Add libgcc_s version information.
25088 * sysdeps/generic/libgcc_s.h: Remove.
25089 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25091 * sysdeps/gnu/unwind-resume.c: Likewise.
25092 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25094 2012-04-25 David S. Miller <davem@davemloft.net>
25096 * sysdeps/unix/sparc/brk.S: Delete.
25097 * sysdeps/unix/sparc/dl-brk.S: Delete.
25098 * sysdeps/unix/sparc/pipe.S: Delete.
25099 * sysdeps/unix/sparc/sysdep.S: Delete.
25100 * sysdeps/unix/sparc/sysdep.h: Delete.
25101 * sysdeps/unix/sparc/vfork.S: Delete.
25102 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25103 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25104 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25105 ret_ERRVAL, r0, r1, MOVE): Define.
25106 (JUMPTARGET): Remove.
25107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25108 sysdeps/unix/sparc/sysdep.h
25109 (ENTRY, END): Remove.
25110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25112 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25114 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25115 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25118 * timezone/README: Update upstream location and email address for
25120 * timezone/zdump.c: Update from tzcode 2012b.
25121 * timezone/zic.c: Likewise.
25123 * configure.in (libc_cv_as_needed): Remove test.
25124 * configure: Regenerated.
25125 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25126 conditional definition.
25127 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25128 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25129 * config.make.in (have-as-needed): Remove variable.
25131 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25132 Paul Pluzhnikov <ppluzhnikov@google.com>
25134 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25137 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25139 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25140 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25141 * sysdeps/sh/strlen.S: Likewise.
25143 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25145 * sysdeps/unix/fork.S: Remove file.
25146 * sysdeps/unix/i386/fork.S: Likewise.
25147 * sysdeps/unix/sparc/fork.S: Likewise.
25149 * sysdeps/unix/system.c: Remove file.
25150 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25152 * sysdeps/unix/getegid.S: Remove file.
25153 * sysdeps/unix/geteuid.S: Likewise.
25155 2012-04-24 Roland McGrath <roland@hack.frob.com>
25157 * scripts/check-localplt.awk: New file.
25158 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25160 * scripts/data/localplt-generic.data: Add a comment.
25162 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25163 NODE when __dir_mkfile failed.
25164 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25165 Reported by Ludovic Courtès <ludo@gnu.org>.
25167 2012-04-24 Andreas Jaeger <aj@suse.de>
25169 * Makerules (common-clean): Also remove gen-as-const-headers
25172 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25174 * Makerules (native-compile): Do not change working directory for
25175 build. Use $(OUTPUT_OPTION) in command.
25176 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25178 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25181 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25182 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25183 * math/libm-test.inc (floor_test): Add more tests.
25184 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25186 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25188 * sysdeps/unix/getdents.c: Remove file.
25189 * sysdeps/unix/sysv/getdents.c: Likewise.
25190 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25192 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25193 sysdeps/unix/mman/syscalls.list.
25195 (mprotect): Likewise.
25197 (munmap): Likewise.
25198 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25199 * sysdeps/unix/mman/syscalls.list: Remove.
25200 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25202 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25203 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25204 * configure: Regenerated.
25205 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25206 $(libgcc_s_suffix).
25207 * config.make.in (libgcc_s_suffix): Remove variable.
25209 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25211 * sysdeps/unix/sysv/gethostname.c: Move to ...
25212 * sysdeps/posix/gethostname.c: ... here.
25214 * sysdeps/unix/execve.S: Remove file.
25216 * sysdeps/unix/_exit.S: Remove file.
25218 2012-04-23 Andreas Jaeger <aj@suse.de>
25221 * manual/Makefile: Remove make dist support, there's no
25222 need for a stand-alone documentation tar ball.
25223 (TEXI2DVI): Define always, it's not in Makeconfig.
25226 (edition): Removed.
25227 (glibc-doc-$(edition).tar): Removed
25231 (ETAGS): Remove, it's in Makeconfig.
25232 (move-if-change): Remove, it's in Makeconfig.
25234 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25237 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25238 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25239 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25240 (strtod_l, strtof_l, strtold_l): Remove __wur.
25241 It is not necessarily an error to ignore strtol's return value.
25242 One can reliably look at the stored endptr to decide whether
25243 the number had valid syntax.
25245 2012-04-21 Andreas Jaeger <aj@suse.de>
25248 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25250 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25252 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25253 * sysdeps/unix/sysv/Versions: Remove file.
25255 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25260 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25264 version from __vm86.
25266 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25268 * sysdeps/unix/common/lxstat.c: Remove file.
25269 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25271 * sysdeps/unix/sysv/Makefile: Remove file.
25273 * sysdeps/unix/sysv/direct.h: Remove file.
25275 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25276 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25277 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25278 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25279 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25280 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25281 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25283 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25285 * sysdeps/unix/xmknod.c: Remove file.
25286 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25288 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25290 * sysdeps/unix/sysv/i386/time.S: Remove file.
25292 * sysdeps/unix/fxstat.c: Remove file.
25293 * sysdeps/unix/xstat.c: Likewise.
25294 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25296 * sysdeps/unix/sysv/sigaction.c: Remove file.
25298 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25299 (sysdep_headers): Remove variable.
25300 [termio.h not in sysdep_headers] (generated): Likewise.
25301 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25302 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25303 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25304 * sysdeps/unix/sysv/tcflow.c: Likewise.
25305 * sysdeps/unix/sysv/tcflush.c: Likewise.
25306 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25307 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25308 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25309 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25310 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25312 * sysdeps/unix/siglist.c: Remove file.
25314 * sysdeps/unix/getppid.S: Remove file.
25316 * sysdeps/unix/mkdir.c: Remove file.
25317 * sysdeps/unix/rmdir.c: Likewise.
25319 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25321 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25323 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25324 errlist-compat value.
25326 2012-04-18 David S. Miller <davem@davemloft.net>
25328 * sysdeps/generic/memcopy.h (reg_char): Delete.
25329 * debug/strcat_chk.c: Use char, not reg_char.
25330 * debug/strcpy_chk.c: Likewise.
25331 * debug/strncat_chk.c: Likewise.
25332 * debug/strncpy_chk.c: Likewise.
25333 * string/memchr.c: Likewise.
25334 * string/memrchr.c: Likewise.
25335 * string/rawmemchr.c: Likewise.
25336 * string/strcat.c: Likewise.
25337 * string/strchr.c: Likewise.
25338 * string/strchrnul.c: Likewise.
25339 * string/strcmp.c: Likewise.
25340 * string/strcpy.c: Likewise.
25341 * string/strncat.c: Likewise.
25342 * string/strncmp.c: Likewise.
25343 * string/strncpy.c: Likewise.
25345 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25347 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25348 __builtin_memcopy is called when src and dest ranges are known to not
25351 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25353 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25354 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25355 fwd_align_merge macro call.
25356 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25357 bwd_align_merge macro call.
25358 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25360 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25362 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25363 bwd_align_merge macros.
25364 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25365 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25366 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25368 2012-04-18 David S. Miller <davem@davemloft.net>
25370 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25372 2012-04-18 Andreas Jaeger <aj@suse.de>
25375 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25376 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25379 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25380 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25381 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25383 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25384 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25385 Adjust for changed ldbl-128 files.
25387 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25388 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25389 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25391 2012-04-17 David S. Miller <davem@davemloft.net>
25393 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25395 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25397 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25398 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25399 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25400 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25401 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25402 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25404 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25407 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25408 * math/libm-test.inc: Add ilogb errno and exception tests.
25409 * math/w_ilogb.c: New file: ilogb wrapper.
25410 * math/w_ilogbf.c: New file: ilogbf wrapper.
25411 * math/w_ilogbl.c: New file: ilogbl wrapper.
25412 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25413 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25414 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25415 exception being thrown with 0.0 as argument.
25416 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25417 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25418 exception being thrown with 0.0 as argument.
25419 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25420 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25421 exception being thrown with 0.0 as argument.
25422 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25423 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25424 exception being thrown with 0.0 as argument.
25425 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25426 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25427 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25428 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25429 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25430 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25431 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25432 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25433 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25435 2012-04-17 Petr Baudis <pasky@ucw.cz>
25437 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25440 2012-04-16 Marek Polacek <polacek@redhat.com>
25442 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25444 2012-04-16 Marek Polacek <polacek@redhat.com>
25446 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25447 operands of fdivp instruction.
25449 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25451 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25452 * elf/tst-auditmod3b.c: Likewise.
25453 * elf/tst-auditmod4b.c: Likewise.
25454 * elf/tst-auditmod5b.c: Likewise.
25455 * elf/tst-auditmod6b.c: Likewise.
25456 * elf/tst-auditmod6c.c: Likewise.
25457 * elf/tst-auditmod7b.c: Likewise.
25458 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25459 * sysdeps/x86_64/preconfigure.in: Likewise.
25460 * sysdeps/x86_64/preconfigure: Regenerated.
25462 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25464 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25467 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25470 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25472 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25475 * locale/iso-639.def: Fix gl language name. Spotted by
25478 2012-04-12 Roland McGrath <roland@hack.frob.com>
25481 * libio/libio.h (__io_write_fn): Update comment.
25483 2012-04-12 Petr Baudis <pasky@ucw.cz>
25486 * stdio.texi (Hook Functions): The user provided writer function
25487 is not allowed to return -1.
25489 2012-04-11 David S. Miller <davem@davemloft.net>
25491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25493 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25495 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25496 Add a leading slash to rtkaio.
25498 2012-04-11 Jim Meyering <meyering@redhat.com>
25501 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25502 It is not necessarily an error to ignore fwrite's return
25503 value. One can reliably use ferror to test for errors after
25506 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25508 * bits/types.h (__snseconds_t): New type.
25509 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25511 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25513 (__SNSECONDS_T_TYPE): Likewise.
25514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25515 (__SNSECONDS_T_TYPE): Likewise.
25516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25517 (__SNSECONDS_T_TYPE): Likewise.
25519 2012-04-10 Andreas Jaeger <aj@suse.de>
25522 * manual/time.texi (Processor Time): Return type of times is
25523 elapsed real time since an arbitrary point in the past.
25524 (CPU Time): Move CLK_TCK from here...
25525 (Processor Time): ...to here. Correct description.
25526 * manual/conf.texi (Constants for Sysconf): Correct description of
25529 2012-04-10 David S. Miller <davem@davemloft.net>
25532 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25533 where the is a gap between DT_REL(A) and DT_JMPREL.
25535 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25537 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25538 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25539 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25541 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25543 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25544 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25545 (dl_main): Handle --inhibit-cache.
25546 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25548 * elf/dl-load.c (_dl_map_object): Use it.
25549 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25551 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25554 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25555 (__ieee754_powl): Saturate large exponents rather than testing for
25556 overflow of y*log2(x).
25557 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25558 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25562 * math/s_ctan.c: Include <float.h>.
25563 (__ctan): Avoid internal overflow or cancellation in calculating
25565 * math/s_ctanf.c: Likewise.
25566 * math/s_ctanl.c: Likewise.
25567 * math/s_ctanh.c: Likewise.
25568 * math/s_ctanhf.c: Likewise.
25569 * math/s_ctanhl.c: Likewise.
25570 * math/libm-test.inc (ctan_test): Add more tests.
25571 (ctanh_test): Likewise.
25572 * sysdeps/i386/fpu/libm-test-ulps: Update.
25573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25575 2012-04-09 Andreas Jaeger <aj@suse.de>
25578 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25579 is an optional BSD extension.
25582 * manual/stdio.texi (Opening Streams): Document additional fopen
25585 2012-04-09 Roland McGrath <roland@hack.frob.com>
25587 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25588 %eax without telling the compiler.
25590 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25593 * manual/install.texi: Use sourceware.org.
25595 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25598 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25599 (__ieee754_pow): Generate overflow and underflow using huge*huge
25600 and tiny*tiny rather than just returning constant infinity or zero
25601 for large exponents.
25602 * math/libm-test.inc (pow_test): Require overflow exceptions for
25603 applicable cases of large exponents.
25606 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25607 (__ieee754_pow): Use iterative multiplication algorithm only for
25608 integer exponents with absolute value below 1024. Check for odd
25609 integer exponents when using algorithm for real exponents.
25610 * math/libm-test.inc (pow_test): Add more tests.
25611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25613 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25616 * math/libm-test.inc (exp_test): Do not allow overflow exception
25619 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25622 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25623 instead of __kernel_standard_f.
25625 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25627 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25628 * sysdeps/x86_64/memset_chk.S: Likewise.
25630 2012-04-08 Andreas Jaeger <aj@suse.de>
25633 * manual/startup.texi (Environment Access): Describe return value
25634 for putenv and setenv.
25637 * manual/filesys.texi (Directory Entries): Add description for
25641 * manual/filesys.texi (Directory Entries): Clarify that it's file
25642 system not operating system in the description of DT_UNKNOWN.
25645 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25647 2012-04-08 Stephen Compall <s11@member.fsf.org>
25650 * manual/llio.texi (Opening and Closing Files): Add cross
25651 reference to explain mode argument.
25653 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25655 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25656 * sysdeps/x86_64/memset_chk.S: Likewise.
25658 2012-04-07 David S. Miller <davem@davemloft.net>
25660 * elf/elf.h (R_SPARC_WDISP10): Define.
25661 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25664 R_SPARC_SIZE64 and R_SPARC_H34.
25666 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25669 conditions and remove no longer applicable assertion.
25671 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25673 * bits/byteswap.h: Include <features.h>.
25674 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25675 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25677 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25679 * bits/byteswap.h (__bswap_16): Removed.
25680 Include <bits/byteswap-16.h> to get __bswap_16.
25681 * sysdeps/i386/bits/byteswap.h: Likewise.
25682 * sysdeps/s390/bits/byteswap.h: Likewise.
25683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25684 * bits/byteswap-16.h: New file.
25685 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25686 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25687 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25688 * string/Makefile (headers): Add bits/byteswap-16.h.
25690 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25693 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25695 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25696 * nss/tst-nss-static.c: New.
25698 2012-04-06 Robert Millan <rmh@gnu.org>
25701 * manual/llio.texi (File Position Primitive): lseek
25702 refers to WHENCE when it really means OFFSET.
25704 2012-04-06 Andreas Jaeger <aj@suse.de>
25706 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25707 strncmp declarations.
25709 * abilist/libc.abilist: Add __poll and __ppoll.
25711 2012-04-05 David S. Miller <davem@davemloft.net>
25713 * scripts/check-local-headers.sh: Accept a host triplet in the
25714 path matched by the exclude regexp.
25716 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25718 * sysdeps/powerpc/powerpc32/dl-machine.h
25719 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25720 * sysdeps/s390/s390-32/dl-machine.h
25721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25722 * sysdeps/sparc/sparc32/dl-machine.h
25723 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25724 * sysdeps/sparc/sparc64/dl-machine.h
25725 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25727 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25729 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25730 undefined symbol errors.
25732 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25735 2012-04-05 Michael Matz <matz@suse.de>
25738 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25740 2012-04-05 Andreas Jaeger <aj@suse.de>
25743 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25746 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25748 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25749 which ROUND is no valid rounding mode.
25751 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25753 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25755 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25759 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25760 an exception using FPU order intentionally.
25762 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25764 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25765 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25766 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25767 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25769 2012-04-05 Simon Josefsson <simon@josefsson.org>
25772 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25773 EINVAL when BUFLEN is too smal.
25775 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25778 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25779 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25781 2012-04-03 Andreas Jaeger <aj@suse.de>
25784 * manual/setjmp.texi (System V contexts): Fix sentence.
25787 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25788 New macro for this case.
25789 [!__GNUC__] (__bswap_64): New inline function for this case.
25790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25791 * bits/byteswap.h: Likewise.
25792 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25793 ull, guard with __GLIBC_HAVE_LONG_LONG.
25795 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25796 __GLIBC_HAVE_LONG_LONG.
25798 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25799 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25801 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25804 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25805 inptr and inend, rather than using last_ch.
25807 2012-04-02 David S. Miller <davem@davemloft.net>
25809 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25810 * stdio-common/printf-parse.h (read_int): Change return type to
25811 'int', return -1 on INT_MAX overflow.
25812 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25813 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25814 overflows INT_MAX. Check for overflow of in-format-string precision
25815 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25816 SIZE_MAX not INT_MAX for integer overflow test.
25817 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25818 skip the construct in the format string but do not record anything.
25819 * stdio-common/bug22.c: Adjust to test both width/prevision
25820 INT_MAX overflow as well as total length INT_MAX overflow. Check
25821 explicitly for proper errno values.
25823 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25825 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25827 * string/test-strcmp.c [! WIDE]: Likewise.
25828 * time/tst-mktime2.c: Likewise for INT_MAX.
25829 * string/test-string.h: #include <sys/param.h> for MIN.
25831 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25832 * sysdeps/i386/init-first.c (init): Likewise.
25833 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25834 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25835 * sysdeps/sh/init-first.c (init): Likewise.
25837 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25839 * po/ru.po: Update from translation team.
25840 * po/vi.po: Likewise.
25842 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25844 * resolv/nss_dns/dns-host.c: Merge copyright years.
25846 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25849 Optimize memcpy with prefetch if
25850 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25851 src, dst pointers have unequal 16 byte alignments.
25853 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25856 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25857 from a CNAME entry and return the minimum ttl for the query.
25858 (gaih_getanswer_slice): Likewise.
25860 2012-03-30 Jeff Law <law@redhat.com>
25862 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25864 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25865 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25867 * resolv/nss_dns/dns-host.c: Update copyright year.
25869 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25871 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25872 requests to save a system call. Fix check that all bytes are sent.
25874 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25875 comments for sendmmsg.
25877 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25880 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25881 with only 1 character between 0x0041 and 0x01b0.
25882 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25883 * wcsmbs/tst-mbsnrtowcs.c: New file.
25885 2012-03-29 David S. Miller <davem@davemloft.net>
25887 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25888 small copies by hand.
25890 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25893 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25894 _nss_compat_initgroups_dyn): Fall back to malloc/free
25895 for large group memberships.
25897 2012-03-28 David S. Miller <davem@davemloft.net>
25899 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25900 that branches into memcpy.
25901 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25904 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25907 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25908 implementation too.
25909 * sysdeps/sparc/mempcpy.S: New file.
25911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25912 the IFUNC routine in the libc case.
25913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25915 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25916 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25917 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25918 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25919 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25920 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25921 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25922 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25924 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25925 loop to 256 bytes instead of 64 bytes and fix test signedness.
25927 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25928 * sysdeps/sparc/sparc32/Makefile: rather than here...
25929 * sysdeps/sparc/sparc64/Makefile: and here.
25931 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25933 * malloc/mallocbug.c: Avoid warnings about unused variables.
25935 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25938 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25939 in the right place. Discard and retry query if response is
25940 larger than input buffer size.
25942 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25947 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25948 x for large integer exponent.
25949 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25950 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25951 sign of result as needed afterwards.
25952 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25953 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25954 result for underflowing pow the same as for overflow.
25955 (__kernel_standard_l): Handle powl overflow and underflow here
25956 rather than calling __kernel_standard.
25957 * math/libm-test.inc (pow_test): Add more tests.
25972 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25973 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25974 (__kernel_standard_l): New function.
25975 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25977 * math/w_acosl.c (__acosl): Likewise.
25978 * math/w_asinl.c (__asinl): Likewise.
25979 * math/w_atan2l.c (__atan2l): Likewise.
25980 * math/w_atanhl.c (__atanhl): Likewise.
25981 * math/w_coshl.c (__coshl): Likewise.
25982 * math/w_exp10l.c (__exp10l): Likewise.
25983 * math/w_exp2l.c (__exp2l): Likewise.
25984 * math/w_fmodl.c (__fmodl): Likewise.
25985 * math/w_hypotl.c (__hypotl): Likewise.
25986 * math/w_j0l.c (__j0l, __y0l): Likewise.
25987 * math/w_j1l.c (__j1l, __y1l): Likewise.
25988 * math/w_jnl.c (__jnl, __ynl): Likewise.
25989 * math/w_lgammal.c (__lgammal): Likewise.
25990 * math/w_log10l.c (__log10l): Likewise.
25991 * math/w_log2l.c (__log2l): Likewise.
25992 * math/w_logl.c (__logl): Likewise.
25993 * math/w_powl.c (__powl): Likewise.
25994 * math/w_remainderl.c (__remainderl): Likewise.
25995 * math/w_scalbl.c (sysv_scalbl): Likewise.
25996 * math/w_sinhl.c (__sinhl): Likewise.
25997 * math/w_sqrtl.c (__sqrtl): Likewise.
25998 * math/w_tgammal.c (__tgammal): Likewise.
25999 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26000 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26001 * math/libm-test.inc (acos_test): Add more tests.
26002 (acosh_test): Likewise.
26003 (asin_test): Likewise.
26004 (atanh_test): Likewise.
26005 (exp_test): Likewise.
26006 (exp10_test): Likewise.
26007 (exp2_test): Likewise.
26008 (expm1_test): Likewise.
26009 (lgamma_test): Likewise.
26010 (log_test): Likewise.
26011 (log10_test): Likewise.
26012 (log1p_test): Likewise.
26013 (log2_test): Likewise.
26014 (pow_test): Do not allow some spurious overflow exceptions.
26015 (sqrt_test): Add more tests.
26016 (tgamma_test): Likewise.
26017 (y0_test): Likewise.
26018 (y1_test): Likewise.
26019 (yn_test): Likewise.
26021 2012-03-27 Anton Blanchard <anton@samba.org>
26023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26029 2012-03-27 David S. Miller <davem@davemloft.net>
26031 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26033 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26034 have-as-vis3 check.
26036 2012-03-27 Andreas Jaeger <aj@suse.de>
26038 * sysdeps/x86_64/elf/configure.in: Moved to ...
26039 * sysdeps/x86_64/configure.in: ... here.
26040 * sysdeps/x86_64/elf/start.S: Moved to ...
26041 * sysdeps/x86_64/start.S: ... here.
26042 * sysdeps/x86_64/elf/configure: Delete.
26044 * sysdeps/x86_64/configure.in: Merge contents from
26045 sysdeps/i386/configure.in (without i686 check).
26047 * sysdeps/i386/elf/Versions: Merge into ...
26048 * sysdeps/i386/Versions: ... this.
26049 * sysdeps/i386/elf/Versions: Delete file.
26050 * sysdeps/i386/elf/start.S: Moved to ...
26051 * sysdeps/i386/start.S: ...here.
26052 * sysdeps/i386/elf/configure.in: Merge into...
26053 * sysdeps/i386/configure.in: ...here.
26054 * sysdeps/i386/elf/configure.in: Delete file.
26055 * sysdeps/i386/elf/configure: Delete file.
26057 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26058 * debug/backtracesyms.c: ... here.
26059 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26060 * debug/backtracesymsfd.c: ... here.
26061 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26062 * sysdeps/generic/ifunc-sel.h: ... here.
26064 * sysdeps/unix/i386/start.c: Delete file.
26065 * sysdeps/unix/sparc/start.c: Delete file.
26066 * sysdeps/unix/start.c: Delete file.
26068 * sysdeps/sh/elf/configure.in: Moved to ...
26069 * sysdeps/sh/configure.in: ... here.
26070 * sysdeps/sh/elf/start.S: Moved to ...
26071 * sysdeps/sh/start.S: ... here.
26072 * sysdeps/sh/elf/configure: Delete file.
26074 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26075 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26076 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26077 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26078 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26079 * sysdeps/powerpc/powerpc64/start.S: here.
26080 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26081 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26082 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26083 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26084 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26086 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26087 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26088 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26089 * sysdeps/powerpc/powerpc32/start.S: ... here.
26090 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26091 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26092 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26094 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26095 * sysdeps/powerpc/ifunc-sel.h: ... here.
26096 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26097 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26099 * sysdeps/sparc/elf/configure.in: Moved to ...
26100 * sysdeps/sparc/configure.in: ... here.
26101 * sysdeps/sparc/elf/configure: Delete file.
26102 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26103 * sysdeps/sparc/sparc32/start.S: ... here.
26104 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26105 * sysdeps/sparc/sparc64/start.S: ... here.
26106 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26107 * sysdeps/sparc/sparc32/Makefile: ... this.
26108 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26109 * sysdeps/sparc/sparc64/Makefile: ... this.
26111 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26112 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26113 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26114 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26115 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26116 * sysdeps/s390/s390-32/setjmp.S: ... here.
26117 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26118 * sysdeps/s390/s390-32/configure.in: ... here.
26119 * sysdeps/s390/s390-32/elf/configure: Delete file.
26120 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26121 * sysdeps/s390/s390-32/start.S: ... here.
26123 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26124 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26125 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26126 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26127 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26128 * sysdeps/s390/s390-64/setjmp.S: ... here.
26129 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26130 * sysdeps/s390/s390-64/configure.in: ... here
26131 * sysdeps/s390/s390-64/elf/configure: Delete file.
26132 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26133 * sysdeps/s390/s390-64/start.S: ... here.
26134 * sysdeps/s390/s390-64/elf/configure: Delete.
26136 * configure.in: Remove support for elf directories in sysdeps.
26138 * configure: Regenerated.
26139 * sysdeps/i386/configure: Regenerated.
26140 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26141 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26142 * sysdeps/s390/s390-32/configure: Regenerated.
26143 * sysdeps/s390/s390-64/configure: Regenerated.
26144 * sysdeps/sh/configure: Regenerated.
26145 * sysdeps/sparc/configure: Regenerated.
26146 * sysdeps/x86_64/configure: Regenerated.
26148 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26152 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26153 denormal result into account.
26155 2012-03-25 Roland McGrath <roland@hack.frob.com>
26157 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26158 Reported by Allan McRae <allan@archlinux.org>.
26160 2012-03-23 Jeff Law <law@redhat.com>
26162 * nss/getnssent.c (__nss_getent): Fix typo.
26164 2012-03-23 David S. Miller <davem@davemloft.net>
26166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26168 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26170 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26171 to pad to uint64_t for each field.
26172 (dl_tls_index): Replace unsigned long with uint64_t.
26174 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26175 Paul Pluzhnikov <ppluzhnikov@google.com>
26178 * grp/Makefile (otherlibs): Don't set it.
26179 * inet/Makefile (otherlibs): Likewise.
26180 * login/Makefile (otherlibs): Likewise.
26181 * nscd/Makefile (otherlibs): Likewise.
26182 * posix/Makefile (otherlibs): Likewise.
26183 * pwd/Makefile (otherlibs): Likewise.
26184 * rt/Makefile (otherlibs): Likewise.
26185 * sunrpc/Makefile (otherlibs): Likewise.
26186 * nss/Makefile (otherlibs): Likewise.
26187 Add libnss_files to routines and static-only-routines.
26188 ($(objpfx)getent): Remove rule.
26189 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26190 static-only-routines.
26192 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26195 * math/s_cexp.c: Include <float.h>.
26196 (__cexp): Handle exp result overflowing not necessarily
26197 overflowing both real and imaginary parts of result.
26198 * math/s_cexpf.c: Likewise.
26199 * math/s_cexpl.c: Likewise.
26200 * math/libm-test.inc (cexp_test): Add more tests.
26201 * sysdeps/i386/fpu/libm-test-ulps: Update.
26202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26204 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26206 * include/link.h (ELFW): New macro.
26207 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26208 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26210 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26212 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26215 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26217 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26219 (struct La_x32_retval): Likewise.
26221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26223 * sysdeps/x86_64/preconfigure.in: New file.
26224 * sysdeps/x86_64/preconfigure: New generated file.
26226 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26229 * math/e_exp2l.c: Include <float.h>.
26230 (__ieee754_exp2l): Handle overflow and underflow cases
26231 separately. Only pass fractional part of argument to
26233 * math/libm-test.inc (exp2_test): Add more tests.
26235 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26236 negating x to take absolute value.
26237 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26242 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26243 computing low part if x was negated.
26244 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26246 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26248 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26249 la_x32_gnu_pltexit.
26250 (pltexit): Cast int_retval to ptrdiff_t.
26251 * elf/tst-auditmod3b.c: Likewise.
26252 * elf/tst-auditmod4b.c: Likewise.
26253 * elf/tst-auditmod5b.c: Likewise.
26254 * elf/tst-auditmod6b.c: Likewise.
26255 * elf/tst-auditmod6c.c: Likewise.
26256 * elf/tst-auditmod7b.c: Likewise.
26258 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26259 and x32_gnu_pltexit.
26261 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26262 __ELF_NATIVE_CLASS.
26263 (La_x32_regs): New macro.
26264 (La_x32_retval): Likewise.
26265 (la_x32_gnu_pltenter): New function prototype.
26266 (la_x32_gnu_pltexit): Likewise.
26268 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26275 * configure.in (libc_cv_cc_nofma): Check for option to disable
26276 generation of FMA instructions.
26277 * configure: Regenerate.
26278 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26279 * sysdeps/ieee754/dbl-64/Makefile: New file.
26280 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26281 Remove brandred-fma4.
26282 (CFLAGS-brandred-fma4.c): Remove.
26283 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26284 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26286 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26289 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26291 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26292 LLONG_MAX != LONG_MAX.
26293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26294 (_fitoa_word): Likewise.
26295 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26296 LLONG_MAX != LONG_MAX.
26297 * stdio-common/_itowa.h: Include <_itoa.h>.
26298 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26299 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26300 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26301 only if not defined.
26302 (_ITOA_WORD_TYPE): Likewise.
26303 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26304 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26306 2012-03-21 David S. Miller <davem@davemloft.net>
26308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26310 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26312 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26313 of x86_64 when setting libc_cv_slibdir, libdir and
26315 * sysdeps/unix/sysv/linux/configure: Regenerated.
26317 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26319 * manual/lang.texi (Old Varargs): Remove section.
26320 (How Variadic): Update menu.
26321 (va_start): Do not mention varargs.h.
26323 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26324 Joseph Myers <joseph@codesourcery.com>
26326 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26328 * configure: Regenerated.
26330 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26332 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26333 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26336 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26339 * Makefile (files-for-dist): Remove NOTES.
26340 (NOTES): Remove rule.
26341 * README: Don't refer to NOTES.
26342 * manual/creature.texi: Don't include macros.texi.
26343 * manual/intro.texi (creature.texi): Remove comment referring to
26346 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26347 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26348 * configure: Regenerated.
26349 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26350 LIBC_TRY_CC_OPTION.
26351 (libc_cv_as_i686): Likewise.
26352 (libc_cv_cc_avx): Likewise.
26353 (libc_cv_cc_sse2avx): Likewise.
26354 (libc_cv_cc_fma4): Likewise.
26355 (libc_cv_cc_novzeroupper): Likewise.
26356 * sysdeps/i386/configure: Regenerated.
26359 * sysdeps/i386/fpu/s_cexp.S: Remove.
26360 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26361 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26362 * math/libm-test.inc (cexp_test): Add more tests.
26363 * sysdeps/i386/fpu/libm-test-ulps: Update.
26364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26366 2012-03-21 Allan McRae <allan@archlinux.org>
26368 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26370 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26373 * math/w_exp2.c: Do not include <float.h>.
26374 (o_threshold, u_threshold): Remove.
26375 (__exp2): Calculate result before checking finiteness and calling
26377 * math/w_exp2f.c: Likewise.
26378 * math/w_exp2l.c: Likewise.
26379 * math/libm-test.inc (exp2_test): Require overflow exception for
26383 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26384 range of signed 64-bit integers before using fistpll. Remove
26385 checks for whether integers fit in mantissa bits.
26386 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26387 the range of signed 32-bit integers before using fistpl. Remove
26388 checks for whether integers fit in mantissa bits.
26389 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26390 (__ieee754_powl): Test for y outside the range of signed 64-bit
26391 integers before using fistpll. Reduce 64-bit values to 63-bit
26393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26394 divide-by-zero is raised for zero to large negative powers.
26395 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26396 (__ieee754_powl): Test for y outside the range of signed 64-bit
26397 integers before using fistpll. Reduce 64-bit values to 63-bit
26399 * math/libm-test.inc (pow_test): Add more tests.
26401 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26403 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26404 <stdio-common/_itoa.h>.
26405 * debug/segfault.c: Likewise.
26406 * elf/dl-cache.c: Likewise.
26407 * elf/dl-minimal.c: Likewise.
26408 * elf/dl-misc.c: Likewise.
26409 * elf/dl-sysdep.c: Likewise.
26410 * elf/dl-version.c: Likewise.
26411 * elf/rtld.c: Likewise.
26412 * hurd/hurdsock.c: Likewise.
26413 * hurd/lookup-retry.c: Likewise.
26414 * malloc/malloc.c: Likewise.
26415 * malloc/mtrace.c: Likewise.
26416 * nscd/nscd_getgr_r.c: Likewise.
26417 * nscd/nscd_getpw_r.c: Likewise.
26418 * nscd/nscd_getserv_r.c: Likewise.
26419 * posix/getopt_init.c: Likewise.
26420 * posix/wordexp.c: Likewise.
26421 * stdio-common/_itoa.c: Likewise.
26422 * stdio-common/printf_fphex.c: Likewise.
26423 * stdio-common/vfprintf.c: Likewise.
26424 * string/_strerror.c: Likewise.
26425 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26426 * sysdeps/i386/i686/hp-timing.h: Likewise.
26427 * sysdeps/mach/_strerror.c: Likewise.
26428 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26429 * sysdeps/mach/hurd/sethostid.c: Likewise.
26430 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26431 * sysdeps/mach/xpg-strerror.c: Likewise.
26432 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26434 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26435 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26436 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26437 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26438 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26439 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26440 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26441 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26442 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26443 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26444 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26445 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26446 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26447 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26448 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26449 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26450 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26451 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26452 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26454 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26456 * stdio-common/_itoa.h: Moved to ...
26457 * sysdeps/generic/_itoa.h: Here.
26459 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26461 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26462 instead of "_itoa.h" and "_itowa.h".
26463 * stdio-common/vfprintf.: Likewise.
26465 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26467 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26469 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26470 (__signbit): Likwise.
26471 (llrintf): Likwise.
26474 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26476 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26479 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26481 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26482 OVERFLOW_EXCEPTION_OK.
26483 * math/libm-test.inc ("Philosophy"): Update comment about
26485 (OVERFLOW_EXCEPTION): Define.
26486 (OVERFLOW_EXCEPTION_OK): Likewise.
26487 (INVALID_EXCEPTION_OK): Renumber.
26488 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26489 (IGNORE_ZERO_INF_SIGN): Likewise.
26490 (test_exceptions): Handle FE_OVERFLOW.
26491 (exp10_test): Expect overflow exceptions.
26492 (exp2_test): Likewise.
26493 (expm1_test): Likewise.
26494 (nextafter_test): Likewise.
26495 (pow_test): Likewise.
26496 (scalbn_test): Likewise.
26497 (scalbln_test): Likewise.
26499 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26501 * sysdeps/x86_64/bits/atomic.h
26502 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26504 (atomic_exchange_acq): Likewise.
26505 (__arch_exchange_and_add_body): Likewise.
26506 (__arch_add_body): Likewise.
26507 (atomic_add_negative): Likewise.
26508 (atomic_add_zero): Likewise.
26510 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26512 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26513 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26515 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26517 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26518 Check __x86_64__ instead of __WORDSIZE.
26520 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26522 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26524 2012-03-19 David S. Miller <davem@davemloft.net>
26526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26528 * sysdeps/sparc/fpu/fenv_private.h: New file.
26529 * sysdeps/sparc/fpu/math_private.h: Use it.
26530 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26532 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26533 (libc_feholdexcept_setroundl): Remove.
26534 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26536 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26537 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26539 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26541 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26542 int64_t instead of long int.
26543 (INSERT_WORDS64): Likwise.
26545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26547 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26548 _Unwind_GetCFA return to _Unwind_Ptr first.
26550 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26553 * math/s_clog.c: Include <float.h>.
26554 (__clog): Scale large or subnormal inputs.
26555 * math/s_clogf.c: Likewise.
26556 * math/s_clogl.c: Likewise.
26557 * math/s_clog10.c: Include <float.h>.
26558 (M_LOG10_2): Define.
26559 (__clog10): Scale large or subnormal inputs.
26560 * math/s_clog10f.c: Likewise.
26561 * math/s_clog10l.c: Likewise.
26562 * math/libm-test.inc (clog_test): Add more tests.
26563 (clog10_test): Likewise.
26564 * sysdeps/i386/fpu/libm-test-ulps: Update.
26565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26568 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26570 * math/libm-test.inc (atan2_test): Add another test.
26572 * Makerules (common-objdir-compile): Remove.
26573 * sysdeps/unix/Makefile (config-generated): Do not add
26574 $(unix-generated) to variable.
26575 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26576 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26578 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26580 [generic bits/local_lim.h] (before-compile): Do not append to
26582 [generic bits/local_lim.h] (common-generated): Likewise.
26583 [generic sys/param.h] (before-compile): Do not append to variable.
26584 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26585 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26586 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26587 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26589 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26590 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26591 [generic sys/param.h] ($(addprefix
26592 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26593 [generic sys/param.h] (common-generated): Do not append to
26595 [generic sys/param.h] (sysdep_headers): Likewise.
26596 [generic bits/errno.h] (before-compile): Do not append to
26598 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26600 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26601 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26602 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26603 [generic bits/errno.h] (common-generated): Do not append to
26605 [generic bits/ioctls.h] (before-compile): Do not append to
26607 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26609 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26610 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26611 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26613 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26614 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26615 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26616 [generic bits/ioctls.h] (common-generated): Do not append to
26618 [generic sys/syscall.h] (syscall.h): Remove variable.
26619 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26621 [generic sys/syscall.h] (before-compile): Do not append to
26623 [generic sys/syscall.h] (common-generated): Likewise.
26624 * sysdeps/unix/errnos-tmpl.c: Remove file.
26625 * sysdeps/unix/errnos.awk: Likewise.
26626 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26627 * sysdeps/unix/ioctls.awk: Likewise.
26628 * sysdeps/unix/mk-local_lim.c: Likewise.
26629 * sysdeps/unix/snarf-ioctls: Likewise.
26631 2012-03-19 Richard Henderson <rth@twiddle.net>
26633 * sysdeps/i386/fpu/fenv_private.h: New file.
26634 * sysdeps/i386/fpu/math_private.h: Use it.
26635 (math_opt_barrier, math_force_eval): Remove.
26636 (libc_feholdexcept_setround_53bit): Remove.
26637 (libc_feupdateenv_53bit): Remove.
26638 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26639 (math_opt_barrier, math_force_eval): Remove.
26640 (libc_feholdexcept): Remove.
26641 (libc_feholdexcept_setround): Remove.
26642 (libc_fetestexcept, libc_fesetenv): Remove.
26643 (libc_feupdateenv_test): Remove.
26644 (libc_feupdateenv, libc_feholdsetround): Remove.
26645 (libc_feresetround): Remove.
26647 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26648 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26650 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26651 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26652 (libc_feupdateenv_testl): New.
26653 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26654 (libc_feupdateenv_testf): New.
26655 (libc_feupdateenv): Use libc_feupdateenv_test.
26656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26657 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26659 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26660 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26661 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26662 (libc_feresetround_noex): New.
26663 (libc_feresetround_noexf): New.
26664 (libc_feresetround_noexl): New.
26665 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26666 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26667 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26668 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26670 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26673 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26674 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26675 SET_RESTORE_ROUND_NOEX.
26676 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26677 SET_RESTORE_ROUND_NOEXF.
26678 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26679 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26680 (libc_feholdsetroundf): New.
26681 (libc_feresetround, libc_feresetroundf): New.
26683 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26684 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26685 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26687 * sysdeps/generic/math_private.h: Include <fenv.h>.
26688 (default_libc_feholdexcept): New.
26689 (default_libc_feholdexcept_setround): New.
26690 (default_libc_fesetenv, default_libc_feupdateenv): New.
26691 (libc_feholdexcept): Only define if undefined.
26692 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26693 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26694 (libc_feholdexcept_setroundl): Likewise.
26695 (libc_feholdexcept_setround_53bit): Likewise.
26696 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26697 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26698 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26699 (libc_feupdateenv_53bit): Likewise.
26700 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26701 (libc_feholdexcept): Convert from macro to inline function.
26702 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26703 (libc_fesetenv, libc_feupdateenv): Likewise.
26705 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26706 not previously defined.
26707 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26708 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26709 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26710 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26711 * sysdeps/ieee754/flt-32/math_private.h: New file.
26712 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26713 math_private.h below SET_FLOAT_WORD.
26714 (__isnan, __isinf_ns, __finite): Remove.
26715 (__isnanf, __isinf_nsf, __finitef): Remove.
26717 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26721 2012-03-17 David S. Miller <davem@davemloft.net>
26724 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26727 2012-03-16 David S. Miller <davem@davemloft.net>
26729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26733 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26735 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26736 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26737 sysdep_routines when subdir is sysvipc.
26738 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26739 __getshmlba helper.
26741 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26743 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26745 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26748 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26750 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26751 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26752 (__lround): Renamed to ...
26753 (__llround): This. Replace long int with long long int.
26754 Define lround functions as aliases of llround functions.
26755 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26757 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26759 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26760 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26761 adresses to uintptr_t. Replace "long int" and "unsigned long
26762 int" with "greg_t" on va_arg.
26764 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26766 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26767 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26769 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26770 Move e_machine check before EI_CLASS check. Handle x32
26771 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26772 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26773 SKIP_EM_IA_64 and include
26774 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26776 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26777 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26778 (add_system_dir): New macro.
26780 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26781 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26783 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26794 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26796 * math/w_j0f.c (j0f): Likewise.
26798 * math/w_j0l.c (__j0l): Likewise.
26800 * math/w_j1.c (j1): Likewise.
26802 * math/w_j1f.c (j1f): Likewise.
26804 * math/w_j1l.c (__j1l): Likewise.
26806 * math/w_jn.c (jn): Likewise.
26808 * math/w_jnf.c (jnf): Likewise.
26810 * math/w_jnl.c (__jnl): Likewise.
26812 * math/libm-test.inc (j0_test): Add more tests.
26813 (j1_test): Likewise.
26814 (jn_test): Likewise. Add trailing semicolon to existing test.
26815 (y0_test): Likewise.
26816 (y1_test): Likewise.
26817 * sysdeps/i386/fpu/libm-test-ulps: Update.
26818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26822 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26823 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26824 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26825 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26826 (__tanl): Set errno for infinite argument.
26827 * sysdeps/i386/fpu/mptan.c: Remove.
26828 * sysdeps/i386/fpu/s_tan.S: Likewise.
26829 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26830 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26831 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26832 * math/libm-test.inc (tan_test): Add more tests and enable more
26833 tests for double and long double.
26834 * sysdeps/i386/fpu/libm-test-ulps: Update.
26835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26837 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26839 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26840 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26842 2012-03-16 Roland McGrath <roland@hack.frob.com>
26844 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26845 * configure.in: Use it for both main tree and add-ons.
26846 * configure: Regenerated.
26848 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26850 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26852 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26854 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26858 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26859 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26860 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26861 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26862 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26864 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26866 != 0 for prec == 2.
26867 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26868 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26869 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26870 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26871 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26872 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26873 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26874 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26875 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26876 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26877 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26878 * math/libm-test.inc (cos_test): Add more tests and enable more
26879 tests for long double.
26880 (sin_test): Likewise.
26881 (sincos_test): Likewise.
26882 * sysdeps/i386/fpu/libm-test-ulps: Update.
26883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26885 2012-03-16 David S. Miller <davem@davemloft.net>
26887 * sysdeps/sparc/fpu/math_private.h: New file.
26889 2012-03-15 David S. Miller <davem@davemloft.net>
26891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26905 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26906 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26908 * sysdeps/sparc/sparc-ifunc.h: New file.
26909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26954 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26956 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26960 2012-03-15 Andreas Jaeger <aj@suse.de>
26963 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26964 ieee754/flt-32 implementation for sin, cos and sincos.
26965 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26966 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26967 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26968 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26969 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26970 ieee754/flt-32 implementation for tan.
26972 * math/libm-test.inc (cos_test): Enable some large input tests for
26974 (sin_test): Likewise.
26975 (sincos_test): Likewise.
26976 (tan_test): Add tests for large input.
26978 * sysdeps/i386/fpu/libm-test-ulps: Update.
26980 2012-03-15 Andreas Jaeger <aj@suse.de>
26983 * math/libm-test.inc (cos_test): Add more test cases.
26984 (sin_test): Likewise.
26985 (sincos_test): Likewise.
26987 2012-03-15 Andreas Jaeger <aj@suse.de>
26990 * math/libm-test.inc (cos_test): Add a test case for large input
26992 (sin_test): Likewise.
26993 (sincos_test): Likewise.
26995 2012-03-15 Andreas Jaeger <aj@suse.de>,
26996 Joseph Myers <joseph@codesourcery.com>
26999 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27000 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27001 * sysdeps/i386/fpu/branred.c: Likewise.
27002 * sysdeps/i386/fpu/dosincos.c: Likewise.
27003 * sysdeps/i386/fpu/mpa.c: Likewise.
27004 * sysdeps/i386/fpu/s_cos.S: Likewise.
27005 * sysdeps/i386/fpu/s_sin.S: Likewise.
27006 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27007 * sysdeps/i386/fpu/sincos32.c: Likewise.
27009 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27011 (libc_feupdateenv_53bit): Define.
27012 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27014 (libc_feupdateenv_53bit): Define.
27016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27017 53 bit (without extend i386 double precision).
27019 * math/libm-test.inc (sincos_test): Add tests for large input.
27023 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27025 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27029 2012-03-15 David S. Miller <davem@davemloft.net>
27031 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27032 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27033 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27034 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27058 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27059 fmin/fmax sysdep routines.
27060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27062 2012-03-14 David S. Miller <davem@davemloft.net>
27064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27069 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27070 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27071 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27092 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27136 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27141 * sysdeps/sparc/configure.in: New file.
27142 * sysdeps/sparc/configure: Generate.
27143 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27144 * configure: Regenerate.
27145 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27146 * config.make.in (have-as-vis3): New.
27147 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27148 available use -Av9d instead of -Av9a.
27149 * sysdeps/sparc/sparc64/Makefile: Likewise.
27150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27165 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27166 fzeros/fnegs to load 0x80000000 into a float register instead of
27168 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27170 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27174 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27175 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27176 ($(inst_includedir)/bits/syscall.h): Remove rule.
27177 ($(objpfx)bits/syscall.d): Include instead of
27178 $(objpfx)syscall-list.d.
27179 (generated): Change syscall-list.h and syscall-list.d to
27180 bits/syscall.h and bits/syscall.d.
27182 2012-03-14 Roland McGrath <roland@hack.frob.com>
27185 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27187 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27190 * math/s_csqrt.c: Include <float.h>.
27191 (__csqrt): Scale large or subnormal inputs.
27192 * math/s_csqrtf.c: Likewise.
27193 * math/s_csqrtl.c: Likewise.
27194 * math/libm-test.inc (csqrt_test): Add more tests.
27195 * sysdeps/i386/fpu/libm-test-ulps: Update.
27196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27199 * math/libm-test.inc (hypot_test): Add more tests.
27201 2012-03-13 David S. Miller <davem@davemloft.net>
27204 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27205 double-precision for the calculation instead of scaling.
27207 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27209 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27210 manipulate bits before adding and subtracting TWO52[sx].
27211 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27212 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27216 2012-03-13 David S. Miller <davem@davemloft.net>
27218 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27219 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27221 rtld-global-offsets.h
27222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27224 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27227 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27229 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27230 'err' in the ifdef scope in which it is actually used.
27232 * nss/nss_db/db-init.c: Include string.h
27234 2012-03-12 David S. Miller <davem@davemloft.net>
27236 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27237 masking out of the most significant byte of random value used.
27238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27239 Fix coding style in previous change.
27241 * sysdeps/unix/sysv/linux/kernel-features.h
27242 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27243 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27245 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27248 2012-03-11 David S. Miller <davem@davemloft.net>
27250 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27251 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27252 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27253 for 'resultvar' otherwise things get truncated on 64-bit.
27255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27256 Fix masking out of the most significant byte of random value used.
27258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27260 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27264 2012-03-09 David S. Miller <davem@davemloft.net>
27266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27267 variables with appropriate CPP guards.
27268 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27269 frame pointer, not the stack pointer. Correct layout comments. Fix test
27270 on resulting framesize and the management of the outregs buffer for pltexit.
27271 Preserve floating point return values across _dl_call_pltexit call.
27272 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27273 framesize and the management of the outregs buffer for pltexit.
27274 Preserve floating point return values across _dl_call_pltexit
27276 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27277 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27278 (print_exit): Fix format string for return register value.
27280 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27282 * sunrpc/Makefile (others): Add rpcgen.
27283 ($(objpfx)rpcgen): Remove special build rule and dependency on
27285 * sunrpc/rpcgen.c: New file.
27287 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27290 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27291 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27292 * sysdeps/i386/crti.S: Likewise.
27293 * sysdeps/i386/crtn.S: Likewise.
27294 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27295 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27296 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27297 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27298 * sysdeps/sh/crti.S: Likewise.
27299 * sysdeps/sh/crtn.S: Likewise.
27300 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27303 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27305 * locale/programs/locfile-kw.gperf: Likewise.
27306 * locale/programs/charmap-kw.h: Regenerated.
27307 * locale/programs/locfile-kw.h: Likewise.
27310 * intl/plural.y: Replace FSF snail mail address with URL.
27311 * intl/plural.c: Regenerated.
27313 2012-03-09 Richard Henderson <rth@twiddle.net>
27315 * include/math_private.h: Remove file.
27316 * math/math_private.h: Move file ...
27317 * sysdeps/generic/math_private.h: ... here.
27319 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27320 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27321 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27323 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27324 and <math_private.h>.
27325 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27326 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27327 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27328 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27329 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27330 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27333 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27334 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27339 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27343 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27344 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27351 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27352 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27354 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27367 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27368 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27369 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27370 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27371 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27372 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27373 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27374 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27375 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27376 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27377 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27378 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27379 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27382 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27391 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27392 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27393 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27394 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27395 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27397 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27399 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27401 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27402 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27405 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27406 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27407 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27408 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27409 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27411 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27412 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27413 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27414 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27415 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27416 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27418 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27419 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27420 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27422 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27423 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27425 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27426 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27427 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27428 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27430 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27431 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27432 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27433 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27434 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27435 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27436 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27437 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27438 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27439 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27440 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27441 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27442 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27444 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27445 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27446 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27447 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27448 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27449 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27450 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27452 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27453 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27454 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27455 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27456 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27457 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27458 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27459 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27460 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27462 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27463 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27464 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27465 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27466 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27467 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27468 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27469 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27470 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27471 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27472 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27473 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27474 * sysdeps/ieee754/k_standard.c: Likewise.
27475 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27476 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27479 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27484 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27485 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27492 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27502 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27506 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27508 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27509 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27513 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27514 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27515 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27517 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27536 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27557 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27566 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27568 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27570 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27571 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27572 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27578 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27579 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27580 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27583 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27584 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27585 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27586 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27587 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27588 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27589 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27590 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27591 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27592 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27593 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27594 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27595 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27596 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27597 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27598 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27599 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27600 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27601 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27602 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27603 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27604 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27605 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27607 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27608 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27609 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27610 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27612 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27616 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27617 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27618 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27619 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27621 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27623 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27624 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27625 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27627 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27630 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27634 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27635 * sysdeps/ieee754/s_lib_version.c: Likewise.
27636 * sysdeps/ieee754/s_matherr.c: Likewise.
27637 * sysdeps/ieee754/s_signgam.c: Likewise.
27638 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27639 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27640 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27641 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27642 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27643 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27644 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27645 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27646 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27647 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27648 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27649 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27650 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27651 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27652 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27653 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27654 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27655 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27660 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27662 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27663 * sunrpc/rpc_main.c: Likewise.
27664 * sunrpc/rpc_svcout.c: Likewise.
27666 2012-03-09 David S. Miller <davem@davemloft.net>
27668 * include/math_private.h: New file.
27670 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27672 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27673 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27674 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27675 from <bits/socket_type.h>.
27676 (enum __socket_type): Don't define here.
27677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27679 bits/socket_type.h.
27682 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27683 checking __USE_GNU.
27685 * Makerules ($(inst_includedir)/%.h): New rule.
27686 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27687 (install-others): Remove variable setting.
27688 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27690 2012-03-08 Richard Henderson <rth@twiddle.net>
27692 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27693 from macro to inline function; merge with the
27694 !__LIBC_INTERNAL_MATH_INLINES version.
27695 (__ieee754_sqrtf): Likewise.
27697 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27698 to inline function.
27699 (__rintf, __floor, __floorf): Likewise.
27701 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27702 macro to inline function.
27703 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27705 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27706 not <math/math_private.h>.
27708 2012-03-08 David S. Miller <davem@davemloft.net>
27710 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27712 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27714 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27716 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27718 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27719 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27721 2012-03-08 Ulrich Drepper <drepper@gmail.com>
27723 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27724 be defined individually, they must be defined as a block. Define
27725 S for printing a string instead of hidint the different by using a
27726 macro for adding the 'l'.
27727 * stdio-common/tst-fphex-wide.c: Adjust.
27729 2012-03-07 Marek Polacek <polacek@redhat.com>
27731 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27733 2012-03-08 Marek Polacek <polacek@redhat.com>
27736 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27737 * stdio-common/tst-fphex.c: Define a few macros to make the
27738 test reusable. Use them.
27739 * stdio-common/tst-fphex-wide.c: New file.
27741 2012-03-08 Joseph Myers <joseph@codesourcery.com>
27744 * manual/macros.texi (gnusystems): New macro.
27745 (nongnusystems): Likewise.
27746 (gnulinuxhurdsystems): Likewise.
27747 (gnuhurdsystems): Likewise..
27748 (gnulinuxsystems): Likewise.
27749 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27750 variants of the GNU system, not "GNU system".
27751 * manual/conf.texi: Likewise.
27752 * manual/errno.texi: Likewise. Update example of errno macro
27754 * manual/filesys.texi: Likewise.
27755 (getumask): Document as specific to GNU/Hurd.
27756 * manual/install.texi: Likewise. Reword some references to
27758 * manual/intro.texi: Likewise.
27759 * manual/io.texi: Likewise.
27760 (File Name Portability): Detail which constraints are inapplicable
27761 to all GNU systems and which are only inapplicable to GNU/Hurd.
27762 * manual/job.texi: Likewise.
27763 * manual/llio.texi: Likewise.
27764 (O_NOCTTY): Document as present on GNU/Linux.
27765 * manual/maint.texi: Likewise.
27766 * manual/memory.texi: Likewise.
27767 * manual/pattern.texi: Likewise.
27768 * manual/pipe.texi: Likewise.
27769 * manual/process.texi: Likewise.
27770 * manual/resource.texi: Likewise.
27771 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27773 * manual/setjmp.texi: Likewise.
27774 * manual/signal.texi: Likewise.
27775 * manual/startup.texi: Likewise.
27776 * manual/stdio.texi: Likewise.
27777 * manual/terminal.texi: Likewise.
27778 (ONLCR): Document as POSIX.
27779 (OXTABS): Document availability on GNU/Linux as XTABS.
27780 (ONOEOT): Document availability separately from other bits.
27781 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27782 * manual/time.texi: Likewise.
27783 * manual/users.texi: Likewise.
27784 * INSTALL: Regenerated.
27785 * sysdeps/gnu/errlist.c: Regenerated.
27787 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27788 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27789 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27791 * configure: Regenerated.
27793 2012-03-07 Joseph Myers <joseph@codesourcery.com>
27795 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27796 default includes instead of AC_HEADER_CHECK.
27797 * sysdeps/i386/configure: Regenerated.
27800 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27801 * math/s_cacoshf.c (__cacoshf): Likewise.
27802 * math/s_cacoshl.c (__cacoshl): Likewise.
27803 * math/s_casinh.c (__casinh): Set signs of result from argument.
27804 * math/s_casinhf.c (__casinhf): Likewise.
27805 * math/s_casinhl.c (__casinhl): Likewise.
27806 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27807 (casinh_test): Add more tests.
27808 * sysdeps/i386/fpu/libm-test-ulps: Update.
27809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27811 2012-03-07 Ulrich Drepper <drepper@gmail.com>
27813 * po/zh_TW.po: Update from translation team.
27815 * login/Makefile (distribute): Remove variable.
27816 * catgets/Makefile: Likewise.
27817 * mach/Makefile: Likewise.
27818 * malloc/Makefile: Likewise.
27819 * misc/Makefile: Likewise.
27820 * iconv/Makefile: Likewise.
27821 * nscd/Makefile: Likewise.
27822 * hurd/Makefile: Likewise.
27823 * manual/Makefile: Likewise.
27824 * locale/Makefile: Likewise.
27825 * intl/Makefile: Likewise.
27826 * conform/Makefile: Likewise.
27827 * nss/Makefile: Likewise.
27828 * time/Makefile: Likewise.
27829 * soft-fp/Makefile: Likewise.
27830 * dirent/Makefile: Likewise.
27831 * gmon/Makefile: Likewise.
27832 * po/Makefile: Likewise.
27833 * rt/Makefile: Likewise.
27834 * socket/Makefile: Likewise.
27835 * math/Makefile: Likewise.
27836 * signal/Makefile: Likewise.
27837 * debug/Makefile: Likewise.
27838 * elf/Makefile: Likewise.
27839 * timezone/Makefile: Likewise.
27840 * stdlib/Makefile: Likewise.
27841 * iconvdata/Makefile: Likewise.
27842 * sunrpc/Makefile: Likewise.
27843 * io/Makefile: Likewise.
27844 * argp/Makefile: Likewise.
27845 * inet/Makefile: Likewise.
27846 * hesiod/Makefile: Likewise.
27847 * grp/Makefile: Likewise.
27848 * csu/Makefile: Likewise.
27849 * wctype/Makefile: Likewise.
27850 * crypt/Makefile: Likewise.
27851 * libio/Makefile: Likewise.
27852 * string/Makefile: Likewise.
27853 * nis/Makefile: Likewise.
27854 * resolv/Makefile: Likewise.
27855 * stdio-common/Makefile: Likewise.
27856 * wcsmbs/Makefile: Likewise.
27857 * dlfcn/Makefile: Likewise.
27858 * posix/Makefile: Likewise.
27861 * timezone/Makefile: Don't install timezone files, just the programs
27864 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27866 * nss/databases.def: Add missing gshadow entry.
27868 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27870 2012-03-06 Marek Polacek <polacek@redhat.com>
27873 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27874 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27875 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27876 * stdio-common/tst-long-dbl-fphex.c: New file.
27878 2012-03-06 David S. Miller <davem@davemloft.net>
27880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27881 (set_obp_int): New function.
27882 (get_obp_int): New function.
27883 (__get_clockfreq_via_dev_openprom): Likewise.
27884 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27885 Avoid unused variable warnings on 'val' and use builtin_expect.
27886 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27888 (INLINE_CLONE_SYSCALL): Likewise.
27890 2012-03-05 David S. Miller <davem@davemloft.net>
27892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27894 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27898 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27899 only for |x| >= 40.
27900 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27902 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27905 Replace gettimeofday with __vdso_gettimeofday.
27907 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27908 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27909 __vdso_clock_gettime and __vdso_getcpu.
27911 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27912 time with __vdso_time.
27914 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27916 * manual/lang.texi (size_t): Note types to which size_t may be
27917 equivalent with the GNU C Library, but do not describe when
27918 differences between them are significant.
27920 2012-03-05 Andreas Jaeger <aj@suse.de>
27922 * sysdeps/i386/fpu/libm-test-ulps: Update.
27924 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27927 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27928 (__ieee754_pow): Save and restore rounding mode and use
27929 round-to-nearest for main computations.
27930 * math/libm-test.inc (pow_test_tonearest): New function.
27931 (pow_test_towardzero): Likewise.
27932 (pow_test_downward): Likewise.
27933 (pow_test_upward): Likewise.
27934 (main): Call the new functions.
27935 * sysdeps/i386/fpu/libm-test-ulps: Update.
27936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27939 * math/libm-test.inc (cosh_test_tonearest): New function.
27940 (cosh_test_towardzero): Likewise.
27941 (cosh_test_downward): Likewise.
27942 (cosh_test_upward): Likewise.
27943 (sinh_test_tonearest): Likewise.
27944 (sinh_test_towardzero): Likewise.
27945 (sinh_test_downward): Likewise.
27946 (sinh_test_upward): Likewise.
27947 (main): Call the new functions.
27948 * sysdeps/i386/fpu/libm-test-ulps: Update.
27949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27951 2012-03-05 Tom de Vries <tom@codesourcery.com>
27953 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27954 default stack guard is set in last bytes.
27955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27957 2012-03-05 Kees Cook <keescook@chromium.org>
27959 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27962 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27963 possibly allocate from heap instead of stack.
27964 * stdio-common/bug-vfprintf-nargs.c: New file.
27965 * stdio-common/Makefile (tests): Add nargs overflow test.
27967 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27971 2012-03-03 Marek Polacek <polacek@redhat.com>
27973 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27974 * math/math_private.h: Likewise.
27975 * stdlib/tst-strtod.c: Likewise.
27976 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27977 * sysdeps/x86_64/bits/atomic.h: Likewise.
27979 2012-03-02 David S. Miller <davem@davemloft.net>
27981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27985 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27986 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27987 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27988 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27990 2012-03-02 Roland McGrath <roland@hack.frob.com>
27993 * manual/examples/README: New file, says the example source files
27994 can be used under GPL>=2.
27995 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27996 line containing just "*/".
27997 * manual/examples/add.c: Add copyright header (GPL>=2).
27998 * manual/examples/argp-ex1.c: Likewise.
27999 * manual/examples/argp-ex2.c: Likewise.
28000 * manual/examples/argp-ex3.c: Likewise.
28001 * manual/examples/argp-ex4.c: Likewise.
28002 * manual/examples/atexit.c: Likewise.
28003 * manual/examples/db.c: Likewise.
28004 * manual/examples/dir.c: Likewise.
28005 * manual/examples/dir2.c: Likewise.
28006 * manual/examples/execinfo.c: Likewise.
28007 * manual/examples/filecli.c: Likewise.
28008 * manual/examples/filesrv.c: Likewise.
28009 * manual/examples/fmtmsgexpl.c: Likewise.
28010 * manual/examples/genpass.c: Likewise.
28011 * manual/examples/inetcli.c: Likewise.
28012 * manual/examples/inetsrv.c: Likewise.
28013 * manual/examples/isockad.c: Likewise.
28014 * manual/examples/longopt.c: Likewise.
28015 * manual/examples/memopen.c: Likewise.
28016 * manual/examples/memstrm.c: Likewise.
28017 * manual/examples/mkfsock.c: Likewise.
28018 * manual/examples/mkisock.c: Likewise.
28019 * manual/examples/mygetpass.c: Likewise.
28020 * manual/examples/pipe.c: Likewise.
28021 * manual/examples/popen.c: Likewise.
28022 * manual/examples/rprintf.c: Likewise.
28023 * manual/examples/search.c: Likewise.
28024 * manual/examples/select.c: Likewise.
28025 * manual/examples/setjmp.c: Likewise.
28026 * manual/examples/sigh1.c: Likewise.
28027 * manual/examples/sigusr.c: Likewise.
28028 * manual/examples/stpcpy.c: Likewise.
28029 * manual/examples/strdupa.c: Likewise.
28030 * manual/examples/strftim.c: Likewise.
28031 * manual/examples/strncat.c: Likewise.
28032 * manual/examples/subopt.c: Likewise.
28033 * manual/examples/swapcontext.c: Likewise.
28034 * manual/examples/termios.c: Likewise.
28035 * manual/examples/testopt.c: Likewise.
28036 * manual/examples/testpass.c: Likewise.
28037 * manual/examples/timeval_subtract.c: Likewise.
28040 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28042 * manual/timeval_subtract.c.texi: ... here, new file.
28044 2012-03-02 David S. Miller <davem@davemloft.net>
28046 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28048 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28051 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28052 (__sin): Save and restore rounding mode and use round-to-nearest
28053 for all computations.
28054 (__cos): Save and restore rounding mode and use round-to-nearest
28055 for all computations.
28056 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28058 (tan): Save and restore rounding mode and use round-to-nearest for
28060 * math/libm-test.inc (cos_test_tonearest): New function.
28061 (cos_test_towardzero): Likewise.
28062 (cos_test_downward): Likewise.
28063 (cos_test_upward): Likewise.
28064 (sin_test_tonearest): Likewise.
28065 (sin_test_towardzero): Likewise.
28066 (sin_test_downward): Likewise.
28067 (sin_test_upward): Likewise.
28068 (tan_test_tonearest): Likewise.
28069 (tan_test_towardzero): Likewise.
28070 (tan_test_downward): Likewise.
28071 (tan_test_upward): Likewise.
28072 (main): Call the new functions.
28073 * sysdeps/i386/fpu/libm-test-ulps: Update.
28074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28077 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28078 small n, then large n, before computing and testing k+n.
28079 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28084 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28085 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28088 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28089 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28092 * math/libm-test.inc (scalbn_test): Add more tests.
28093 (scalbln_test): Likewise.
28095 * manual/filesys.texi (mode_t): Describe constraints on size and
28096 signedness, not exact equivalence to a particular type.
28098 (ino64_t): Likewise.
28100 (nlink_t): Likewise.
28101 (blkcnt_t): Likewise.
28102 (blkcnt64_t): Likewise.
28103 * manual/llio.texi (off_t): Likewise.
28106 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28107 (__ieee754_exp): Save and restore rounding mode and use
28108 round-to-nearest for all computations.
28109 * math/libm-test.inc (exp_test_tonearest): New function.
28110 (exp_test_towardzero): Likewise.
28111 (exp_test_downward): Likewise.
28112 (exp_test_upward): Likewise.
28113 (main): Call the new functions.
28114 * sysdeps/i386/fpu/libm-test-ulps: Update.
28115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28117 2012-03-01 Chris Demetriou <cgd@google.com>
28119 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28120 have predictable order.
28122 2012-03-01 David S. Miller <davem@davemloft.net>
28124 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28126 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28127 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28128 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28129 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28131 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28132 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28133 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28135 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28136 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28137 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28138 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28139 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28144 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28145 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28147 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28148 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28149 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28150 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28151 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28152 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28154 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28155 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28156 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28157 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28160 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28161 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28163 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28164 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28165 * sysdeps/sparc/elf/configure: Regenerated.
28167 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28169 * configure.in (AS, LD): Require binutils 2.20 or later.
28170 * configure: Regenerated.
28171 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28172 as required minimum version.
28173 * INSTALL: Regenerated.
28177 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28178 before squaring exponent.
28179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28180 bottom long double and 27 bits of top long double before squaring
28182 * math/libm-test.inc (erfc_test): Add more tests.
28183 * sysdeps/i386/fpu/libm-test-ulps: Update.
28184 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28187 2012-03-01 Kai Tietz <ktietz@redhat.com>
28189 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28190 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28191 containing bit-fields.
28192 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28193 * soft-fp/single.h (_FP_UNION_S): Likewise.
28194 * soft-fp/double.h (_FP_UNION_D): Likewise.
28196 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28199 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28200 not include ../strcmp.S.
28201 [USE_AS_STRNCASECMP_L]: Likewise.
28202 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28203 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28204 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28205 (__strncasecmp_l_ia32): Define as alias to
28206 __strncasecmp_l_nonascii.
28209 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28210 * sysdeps/i386/fpu/libm-test-ulps: Update.
28211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28213 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28216 2012-02-29 Jeff Law <law@redhat.com>
28218 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28219 out of bounds read.
28221 2012-02-29 Marek Polacek <polacek@redhat.com>
28224 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28225 * elf/Makefile: Add rules to run tst-unused-dep.out.
28227 2012-02-28 David S. Miller <davem@davemloft.net>
28229 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28230 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28231 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28233 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28234 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28236 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28238 * math/libm-test.inc (llround_test): Move one test from
28239 lround_test. Use TEST_f_L in moved test.
28240 (lround_test): Move misplaced test to llround_test. Add testcase
28243 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28245 * sysdeps/x86_64/fpu/e_expf.S: New file.
28246 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28248 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28251 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28252 of remain_len that may cause incomplete multi-byte character and
28254 * posix/bug-regex33.c: New file.
28255 * posix/Makefile (tests): Add bug-regex33.
28257 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28259 * manual/macros.texi: New file.
28260 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28261 * manual/libc.texinfo: Include macros.texi.
28262 * manual/creatute.texi: Likewise.
28263 * manual/install.texi: Likewise.
28264 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28265 @glibcadj{} in references to the GNU C Library.
28266 * manual/charset.texi: Likewise.
28267 * manual/conf.texi: Likewise.
28268 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28269 when not using those macros.
28270 * manual/creature.texi: Likewise.
28271 * manual/crypt.texi: Likewise.
28272 * manual/errno.texi: Likewise.
28273 * manual/filesys.texi: Likewise.
28274 * manual/header.texi: Likewise.
28275 * manual/install.texi: Likewise.
28276 * manual/intro.texi: Likewise.
28277 * manual/io.texi: Likewise.
28278 * manual/job.texi: Likewise.
28279 * manual/lang.texi: Likewise.
28280 * manual/libc.texiinfo: Likewise.
28281 * manual/llio.texi: Likewise.
28282 * manual/locale.texi: Likewise.
28283 * manual/maint.texi: Likewise.
28284 * manual/math.texi: Likewise.
28285 * manual/memory.texi: Likewise.
28286 * manual/message.texi: Likewise.
28287 * manual/nss.texi: Likewise.
28288 * manual/pattern.texi: Likewise.
28289 * manual/process.texi: Likewise.
28290 * manual/resource.texi: Likewise.
28291 * manual/search.texi: Likewise.
28292 * manual/setjmp.texi: Likewise.
28293 * manual/signal.texi: Likewise.
28294 * manual/socket.texi: Likewise.
28295 * manual/startup.texi: Likewise.
28296 * manual/stdio.texi: Likewise.
28297 * manual/string.texi: Likewise.
28298 * manual/sysinfo.texi: Likewise.
28299 * manual/syslog.texi: Likewise.
28300 * manual/terminal.texi: Likewise.
28301 * manual/time.texi: Likewise.
28302 * manual/users.texi: Likewise.
28303 * INSTALL: Regenerated.
28304 * NOTES: Regenerated.
28305 * sysdeps/gnu/errlist.c: Regenerated.
28307 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28309 * include/dirent.h: Include <dirstream.h> before
28312 2012-02-28 David S. Miller <davem@davemloft.net>
28314 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28315 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28317 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28319 2012-02-27 David S. Miller <davem@davemloft.net>
28321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28323 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28324 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28327 frame pointer instead of stack pointer relative arg slot.
28328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28329 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28330 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28332 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28335 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28337 2012-02-27 David S. Miller <davem@davemloft.net>
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28343 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28344 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28345 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28346 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28348 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28350 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28351 later. Allow versions 5-9.
28352 * configure: Regenerated.
28353 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28354 required minimum version and 4.6 as recommended version. Do not
28355 mention bugs in GCC 2.7 and 2.8.
28356 * INSTALL: Regenerated.
28358 2012-02-27 David S. Miller <davem@davemloft.net>
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28364 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28365 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28366 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28367 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28370 manipulate bits before adding and subtracting TWO112[sx].
28371 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28373 2012-02-27 Roland McGrath <roland@hack.frob.com>
28376 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28377 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28378 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28379 being in POSIX, because they are in 1003.1-2008.
28381 * rt/tst-aio.c: Include <fcntl.h>.
28382 * rt/tst-aio7.c: Likewise.
28383 * rt/tst-aio64.c: Likewise.
28385 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28387 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28389 * manual/install.texi (--with-headers): Describe headers as
28390 interface headers, not private headers.
28391 (Specific advice for GNU/Linux systems): Describe use of headers
28392 from "make headers_install", not private headers from older
28394 * INSTALL: Regenerated.
28395 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28397 * sysdeps/unix/sysv/linux/configure: Regenerated.
28399 * manual/llio.texi (fclean): Remove documentation.
28401 * manual/Makefile (libc-texi-generated): New variable. Include
28403 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28404 $(libc-texi-generated), not duplicated list of files.
28405 (version.texi, stamp-version): New rules.
28406 (realclean): Remove $(libc-texi-generated), not individual files
28407 from that list. Do not remove dir-add.texinfo.
28408 * manual/libc.texinfo: Comment out uses of edition numbers and
28409 references to printed manual. Remove last-updated dates.
28410 (EDITION): Comment out.
28412 (VERSION, UPDATED): Remove.
28413 (version.texi): Include.
28415 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28417 * sysdeps/posix/spawni.c: Include <signal.h>.
28418 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28419 * sysdeps/pthread/aio_fsync.c: Likewise.
28421 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28423 * conform/Makefile (tests): Run only when not cross-compiling and
28424 when fast-check is not defined.
28426 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28427 * conform/data/limits.h-data: Fixes for POSIX2008.
28428 * conform/run-conformtest.sh: Run all tests.
28429 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28431 * include/bits/dlfcn.h: Likewise.
28432 * include/langinfo.h: Likewise.
28433 * include/monetary.h: Likewise.
28434 * include/sys/poll.h: Likewise.
28436 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28438 * posix/spawn.h: Define __need_sigset_t.
28439 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28440 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28441 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28442 to get sigevent_t only.
28443 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28444 only for __USE_GNU.
28445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28446 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28447 process_vm_writev only for __USE_GNU.
28448 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28450 * conform/Makefile: For now ignore errors from run-conformtest.
28451 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28452 POSIX to avoid namespace pollution. Don't prepend headers.
28453 * conform/data/aio.h-data: Fixes for POSIX testing.
28454 * conform/data/fcntl.h-data: Likewise.
28455 * conform/data/glob.h-data: Likewise.
28456 * conform/data/grp.h-data: Likewise.
28457 * conform/data/pthread.h-data: Likewise.
28458 * conform/data/pwd.h-data: Likewise.
28459 * conform/data/signal.h-data: Likewise.
28460 * conform/data/spawn.h-data: Likewise.
28461 * conform/data/stdio.h-data: Likewise.
28462 * conform/data/stdlib.h-data: Likewise.
28463 * conform/data/stropts.h-data: Likewise.
28464 * conform/data/sys/mman.h-data: Likewise.
28465 * conform/data/sys/stat.h-data: Likewise.
28466 * conform/data/sys/types.h-data: Likewise.
28467 * conform/data/sys/wait.h-data: Likewise.
28468 * conform/data/time.h-data: Likewise.
28469 * conform/data/unistd.h-data: Likewise.
28470 * conform/data/utime.h-data: Likewise.
28472 * io/sys/stat.h: fchmod was always in POSIX.
28473 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28474 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28475 * rt/aio.h: Define __need_timespec before including <time.h>.
28476 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28477 struct. Add forward declaration of pthread_attr_t and use it in
28479 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28481 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28482 always remove CLK_TCK definition.
28484 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28486 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28488 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28490 * conform/run-conformtest.sh: New file.
28491 * conform/Makefile: Run run-conformtest for tests.
28492 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28495 * conform/data/uchar.h-data: New file.
28496 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28497 * conform/data/arpa/inet.h-data: Likewise.
28498 * conform/data/assert.h-data: Likewise.
28499 * conform/data/complex.h-data: Likewise.
28500 * conform/data/cpio.h-data: Likewise.
28501 * conform/data/ctype.h-data: Likewise.
28502 * conform/data/dirent.h-data: Likewise.
28503 * conform/data/dlfcn.h-data: Likewise.
28504 * conform/data/errno.h-data: Likewise.
28505 * conform/data/fcntl.h-data: Likewise.
28506 * conform/data/float.h-data: Likewise.
28507 * conform/data/fmtmsg.h-data: Likewise.
28508 * conform/data/fnmatch.h-data: Likewise.
28509 * conform/data/ftw.h-data: Likewise.
28510 * conform/data/glob.h-data: Likewise.
28511 * conform/data/grp.h-data: Likewise.
28512 * conform/data/iconv.h-data: Likewise.
28513 * conform/data/inttypes.h-data: Likewise.
28514 * conform/data/langinfo.h-data: Likewise.
28515 * conform/data/libgen.h-data: Likewise.
28516 * conform/data/limits.h-data: Likewise.
28517 * conform/data/locale.h-data: Likewise.
28518 * conform/data/math.h-data: Likewise.
28519 * conform/data/monetary.h-data: Likewise.
28520 * conform/data/mqueue.h-data: Likewise.
28521 * conform/data/ndbm.h-data: Likewise.
28522 * conform/data/net/if.h-data: Likewise.
28523 * conform/data/netdb.h-data: Likewise.
28524 * conform/data/netinet/in.h-data: Likewise.
28525 * conform/data/nl_types.h-data: Likewise.
28526 * conform/data/poll.h-data: Likewise.
28527 * conform/data/pthread.h-data: Likewise.
28528 * conform/data/pwd.h-data: Likewise.
28529 * conform/data/regex.h-data: Likewise.
28530 * conform/data/sched.h-data: Likewise.
28531 * conform/data/search.h-data: Likewise.
28532 * conform/data/semaphore.h-data: Likewise.
28533 * conform/data/setjmp.h-data: Likewise.
28534 * conform/data/signal.h-data: Likewise.
28535 * conform/data/spawn.h-data: Likewise.
28536 * conform/data/stdarg.h-data: Likewise.
28537 * conform/data/stdio.h-data: Likewise.
28538 * conform/data/stdlib.h-data: Likewise.
28539 * conform/data/string.h-data: Likewise.
28540 * conform/data/strings.h-data: Likewise.
28541 * conform/data/stropts.h-data: Likewise.
28542 * conform/data/sys/ipc.h-data: Likewise.
28543 * conform/data/sys/mman.h-data: Likewise.
28544 * conform/data/sys/msg.h-data: Likewise.
28545 * conform/data/sys/resource.h-data: Likewise.
28546 * conform/data/sys/select.h-data: Likewise.
28547 * conform/data/sys/sem.h-data: Likewise.
28548 * conform/data/sys/shm.h-data: Likewise.
28549 * conform/data/sys/socket.h-data: Likewise.
28550 * conform/data/sys/stat.h-data: Likewise.
28551 * conform/data/sys/statvfs.h-data: Likewise.
28552 * conform/data/sys/time.h-data: Likewise.
28553 * conform/data/sys/timeb.h-data: Likewise.
28554 * conform/data/sys/times.h-data: Likewise.
28555 * conform/data/sys/types.h-data: Likewise.
28556 * conform/data/sys/uio.h-data: Likewise.
28557 * conform/data/sys/un.h-data: Likewise.
28558 * conform/data/sys/utsname.h-data: Likewise.
28559 * conform/data/sys/wait.h-data: Likewise.
28560 * conform/data/syslog.h-data: Likewise.
28561 * conform/data/tar.h-data: Likewise.
28562 * conform/data/termios.h-data: Likewise.
28563 * conform/data/utime.h-data: Likewise.
28564 * conform/data/utmpx.h-data: Likewise.
28565 * conform/data/varargs.h-data: Likewise.
28566 * conform/data/wchar.h-data: Likewise.
28567 * conform/data/wctype.h-data: Likewise.
28568 * conform/data/wordexp.h-data: Likewise.
28570 * include/stropts.h: New file.
28571 * include/uchar.h: New file.
28572 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28573 * include/assert.h: Likewise.
28574 * include/ctype.h: Likewise.
28575 * include/dirent.h: Likewise.
28576 * include/dlfcn.h: Likewise.
28577 * include/fcntl.h: Likewise.
28578 * include/fnmatch.h: Likewise.
28579 * include/glob.h: Likewise.
28580 * include/grp.h: Likewise.
28581 * include/libio.h: Likewise.
28582 * include/locale.h: Likewise.
28583 * include/math.h: Likewise.
28584 * include/net/if.h: Likewise.
28585 * include/netdb.h: Likewise.
28586 * include/netinet/in.h: Likewise.
28587 * include/pthread.h: Likewise.
28588 * include/pwd.h: Likewise.
28589 * include/regex.h: Likewise.
28590 * include/sched.h: Likewise.
28591 * include/search.h: Likewise.
28592 * include/setjmp.h: Likewise.
28593 * include/signal.h: Likewise.
28594 * include/stdio.h: Likewise.
28595 * include/stdlib.h: Likewise.
28596 * include/string.h: Likewise.
28597 * include/sys/cdefs.h: Likewise.
28598 * include/sys/mman.h: Likewise.
28599 * include/sys/msg.h: Likewise.
28600 * include/sys/resource.h: Likewise.
28601 * include/sys/select.h: Likewise.
28602 * include/sys/socket.h: Likewise.
28603 * include/sys/stat.h: Likewise.
28604 * include/sys/statvfs.h: Likewise.
28605 * include/sys/time.h: Likewise.
28606 * include/sys/times.h: Likewise.
28607 * include/sys/uio.h: Likewise.
28608 * include/sys/utsname.h: Likewise.
28609 * include/sys/wait.h: Likewise.
28610 * include/termios.h: Likewise.
28611 * include/time.h: Likewise.
28612 * include/ulimit.h: Likewise.
28613 * include/unistd.h: Likewise.
28614 * include/utime.h: Likewise.
28615 * include/wchar.h: Likewise.
28616 * include/wctype.h: Likewise.
28617 * include/wordexp.h: Likewise.
28619 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28621 * time/time.h: TIME_UTC must be a macro.
28622 Make timespec_get available for ISO C11 only as well.
28624 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28626 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28627 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28629 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28631 * configure.in: Use -o not -a in test for unsupported multi-arch.
28633 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28635 * manual/texinfo.tex: Update to version 2012-01-19.16.
28637 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28639 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28641 2012-02-24 Roland McGrath <roland@hack.frob.com>
28644 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28645 * manual/fdl-1.3.texi: New file.
28646 * manual/fdl-1.1.texi: File removed.
28649 * manual/libc.texinfo (FDL_VERSION): New @set.
28650 Use it for mention of FDL in cover text.
28651 (Documentation License): Use it in @include file name.
28653 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28654 Roland McGrath <roland@hack.frob.com>
28657 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28658 not LONG_LONG_MAX and LONG_LONG_MIN.
28659 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28660 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28662 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28664 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28668 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28669 manipulate bits before adding and subtracting TWO23[sx].
28670 * math/libm-test.inc (nearbyint_test): Add more tests.
28672 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28675 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28676 bits before adding and subtracting TWO23[sx].
28677 * math/libm-test.inc (rint_test): Add more tests.
28678 (rint_test_tonearest): Likewise.
28679 (rint_test_towardzero): Likewise.
28680 (rint_test_downward): Likewise.
28681 (rint_test_upward: Likewise.
28683 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28686 * include/stdc-predef.h: New file. Extracted from features.h.
28687 * include/features.h: Include stdc-predef.h.
28688 * Makefile (headers): Add stdc-predef.h.
28689 * CONFORMANCE (Compiler limitations): Update.
28691 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28693 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28695 2012-02-21 David S. Miller <davem@davemloft.net>
28697 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28698 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28700 2012-02-20 David S. Miller <davem@davemloft.net>
28702 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28703 using a normal save/restore sequence, rather than allocating a
28704 dummy stack frame just to store a frame pointer and restore.
28705 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28707 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28709 * manual/install.texi: Fix stray word in line-wrapped comment.
28711 2012-02-20 David S. Miller <davem@davemloft.net>
28713 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28714 both binutils and gcc support GOTDATA.
28716 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28717 "rd %pc" in the PIC register setup sequences.
28719 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28720 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28721 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28722 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28723 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28724 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28726 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28728 (SYSCALL_ERROR_HANDLER): Likewise.
28729 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28730 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28731 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28732 (SYSCALL_ERROR_HANDLER): Likewise.
28734 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28735 (HAVE_GCC_GOTDATA): New.
28736 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28737 relocation support in both binutils and gcc.
28738 * sysdeps/sparc/elf/configure: Regenerate.
28740 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28741 * sysdeps/sparc/sparc32/elf/configure: Delete.
28742 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28743 * sysdeps/sparc/sparc64/elf/configure: Delete.
28744 * sysdeps/sparc/elf/configure.in: New file.
28745 * sysdeps/sparc/elf/configure: Generate.
28747 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28748 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28749 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28750 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28751 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28753 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28755 * manual/install.texi: Do not mention specific glibc version
28757 * manual/libc.texinfo (VERSION, UPDATED): Update.
28758 (@copying): Use @copyright{} and range of years.
28760 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28763 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28764 [crti.S not in sysdirs] (generated): Do not append.
28765 [crti.S not in sysdirs] (omit-deps): Likewise.
28766 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28767 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28768 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28769 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28770 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28772 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28773 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28774 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28775 * csu/defs.awk: Remove file.
28776 * sysdeps/generic/initfini.c: Likewise.
28777 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28779 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28782 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28784 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28785 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28786 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28788 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28789 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28791 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28792 (__EPOLL_PACKED): Define to empty if not defined by
28794 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28798 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28800 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28801 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28802 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28803 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28805 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28809 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28811 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28814 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28815 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28818 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28820 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28821 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28823 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28825 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28826 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28828 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28830 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28833 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28835 * math/w_acos.c: Use non-signaling floating-point comparisons.
28836 * math/w_acosf.c: Likewise.
28837 * math/w_acosh.c: Likewise.
28838 * math/w_acoshf.c: Likewise.
28839 * math/w_acoshl.c: Likewise.
28840 * math/w_acosl.c: Likewise.
28841 * math/w_asin.c: Likewise.
28842 * math/w_asinf.c: Likewise.
28843 * math/w_asinl.c: Likewise.
28844 * math/w_atanh.c: Likewise.
28845 * math/w_atanhf.c: Likewise.
28846 * math/w_atanhl.c: Likewise.
28847 * math/w_exp2.c: Likewise.
28848 * math/w_exp2f.c: Likewise.
28849 * math/w_exp2l.c: Likewise.
28850 * math/w_j0.c: Likewise.
28851 * math/w_j0f.c: Likewise.
28852 * math/w_j0l.c: Likewise.
28853 * math/w_j1.c: Likewise.
28854 * math/w_j1f.c: Likewise.
28855 * math/w_j1l.c: Likewise.
28856 * math/w_jn.c: Likewise.
28857 * math/w_jnf.c: Likewise.
28858 * math/w_log.c: Likewise.
28859 * math/w_log10.c: Likewise.
28860 * math/w_log10f.c: Likewise.
28861 * math/w_log10l.c: Likewise.
28862 * math/w_log2.c: Likewise.
28863 * math/w_log2f.c: Likewise.
28864 * math/w_log2l.c: Likewise.
28865 * math/w_logf.c: Likewise.
28866 * math/w_logl.c: Likewise.
28867 * math/w_sqrt.c: Likewise.
28868 * math/w_sqrtf.c: Likewise.
28869 * math/w_sqrtl.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28872 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28873 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28874 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28876 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28879 * manual/string.texi (strnlen): Use correct parameter name in
28880 equivalent expression.
28882 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28885 * manual/users.texi (seteuid): Consistently use neweuid for
28888 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28891 * manual/nss.texi (Services in the NSS configuration): Correct
28892 list of services in example configuration file.
28894 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28897 * manual/arith.texi: Remove statements about negative zero
28898 behaving identically to zero.
28900 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28903 * manual/install.texi: Do not document upgrading from libc5.
28905 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28908 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28910 2012-02-18 David S. Miller <davem@davemloft.net>
28912 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28913 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28914 %o7 across the call.
28915 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28917 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28918 SETUP_PIC_REG_LEAF.
28919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28920 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28921 * sysdeps/sparc/crtn.S: Likewise.
28923 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28925 * aout/Makefile: Remove.
28927 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28930 * manual/examples/argp-ex1.c (main): Format definition in GNU
28932 * manual/examples/argp-ex2.c (main): Likewise.
28933 * manual/examples/argp-ex3.c (main): Likewise.
28934 * manual/examples/argp-ex4.c (main): Likewise.
28935 * manual/examples/longopt.c (main): Use new-style prototype
28937 * manual/examples/strncat.c (main): Specify return type and use
28938 (void) for arguments.
28939 * manual/examples/subopt.c (main): Use char **argv argument.
28941 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28944 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28947 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28950 * manual/string.texi (strchr): Change when strchrnul is
28953 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28956 * manual/locale.texi (setlocale): Document LOCPATH.
28958 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28961 * manual/process.texi (execle): Move @dots{} before last argument.
28963 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28966 * manual/charset.texi (Generic Charset Conversion): Fix typo
28967 (LC_TYPE -> LC_CTYPE).
28969 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28972 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28973 (scalbnf): Likewise.
28974 (scalbnl): Likewise.
28975 (scalbln): Likewise.
28976 (scalblnf): Likewise.
28977 (scalblnl): Likewise.
28978 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28979 (vwarnx): Likewise.
28982 * manual/filesys.texi (telldir): Use braces around return type.
28983 * manual/llio.texi (mmap): Add space after comma.
28984 (mmap64): Likewise.
28985 * manual/math.texi (jn): Use @var{} on parameter names.
28991 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28993 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28995 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28996 (sched_get_priority_max): Likewise.
28997 * manual/signal.texi (sigvec): Add space after comma.
28998 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29000 (if_indextoname): Likewise.
29001 (if_freenameindex): Likewise.
29002 (sendto): Use ',' instead of '.' in prototype.
29003 * manual/startup.texi (syscall): Use @dots{} instead of literal
29005 * manual/stdio.texi (__fpending): Separate initial words of
29006 paragraph from @deftypefun line.
29007 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29009 (vsyslog): Use @var{} on parameter names.
29010 * manual/terminal.texi (stty): Use @var{} on parameter names.
29011 * manual/users.texi (getutmp): Use @var{} on parameter names.
29012 (getutmpx): Likewise.
29014 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29017 * manual/stdio.texi (fopen): Fix typos in description of
29020 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29023 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29024 get clock_id definition.
29026 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29029 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29030 (madvise): Cast every argument to void on its own.
29032 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29035 * manual/startup.texi (Exit Status): Fix typo.
29037 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29040 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29041 * manual/examples/argp-ex2.c: Likewise.
29042 * manual/examples/argp-ex3.c: Likewise.
29044 2012-02-16 Richard Henderson <rth@redhat.com>
29046 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29047 * sysdeps/s390/s390-32/initfini.c: Remove.
29048 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29049 * sysdeps/s390/s390-64/initfini.c: Remove.
29051 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29053 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29054 compiler output for sysdeps/generic/initfini.c.
29055 * sysdeps/sh/elf/initfini.c: Remove file.
29057 2012-02-16 David S. Miller <davem@davemloft.net>
29060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29062 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29063 * sysdeps/sparc/crti.S: New file.
29064 * sysdeps/sparc/crtn.S: New file.
29065 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29066 * sysdeps/sparc/sparc64/Makefile: Likewise.
29068 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29071 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29073 2012-02-15 Roland McGrath <roland@hack.frob.com>
29076 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29078 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29079 (write, read, close): Likewise.
29080 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29082 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29084 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29085 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29086 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29087 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29089 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29093 2012-02-14 Marek Polacek <polacek@redhat.com>
29095 * sysdeps/x86_64/crti.S: New file.
29096 * sysdeps/x86_64/crtn.S: New file.
29097 * sysdeps/x86_64/elf/initfini.c: Remove file.
29099 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29101 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29102 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29103 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29104 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29106 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29110 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29112 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29113 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29114 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29115 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29117 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29121 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29123 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29124 __feraiseexcept instead of feraiseexcept.
29126 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29127 nanosleep invocations.
29128 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29129 strings, and add error checking for a nanosleep invocations.
29131 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29133 Replace FSF snail mail address with URLs, as per GNU coding standards.
29134 Most of the snail mail addresses were wrong anyway, and omitting
29135 them makes the source code easier to maintain. Almost all of the
29136 changes are to license notices and to locale LC_IDENTIFICATION
29137 addresses, except for this one:
29138 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29139 not its snail mail address.
29141 2012-02-09 Richard Henderson <rth@twiddle.net>
29143 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29144 of kernel-features.h.
29146 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29148 2012-02-08 Marek Polacek <polacek@redhat.com>
29150 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29151 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29152 * sysdeps/gnu/_G_config.h: Likewise.
29153 * sysdeps/generic/_G_config.h: Likewise.
29155 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29157 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29161 * sysdeps/powerpc/powerpc32/crti.S: New file.
29162 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29163 * sysdeps/powerpc/powerpc64/crti.S: New file.
29164 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29166 * Makeconfig (have-initfini): Don't set.
29167 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29168 * configure.in (nopic_initfini): Don't substitute.
29169 * config.h.in (HAVE_INITFINI): Don't #undef.
29170 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29171 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29173 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29175 Support crti.S and crtn.S provided directly by architectures.
29176 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29177 [crti.S in sysdirs] (omit-deps): Likewise.
29178 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29179 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29180 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29181 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29182 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29183 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29184 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29185 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29186 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29187 compiler output for sysdeps/generic/initfini.c.
29188 * sysdeps/i386/elf/Makefile: Remove file.
29189 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29191 2012-02-07 Marek Polacek <polacek@redhat.com>
29193 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29194 * sysdeps/gnu/_G_config.h: Likewise.
29195 * sysdeps/mach/hurd/_G_config.h: Likewise.
29197 2012-02-07 Marek Polacek <polacek@redhat.com>
29199 * math/Makefile (tests): Add tst-CMPLX2.
29200 * math/tst-CMPLX2.c: New file.
29202 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29204 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29206 * math/libm-test.inc (jn_test): Add missing L suffix.
29208 2012-02-06 Marek Polacek <polacek@redhat.com>
29210 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29211 * sysdeps/i386/fpu/e_powf.S: Likewise.
29212 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29213 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29214 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29215 * sysdeps/i386/fpu/e_pow.S: Likewise.
29216 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29217 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29218 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29219 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29220 * sysdeps/i386/fpu/e_log2.S: Likewise.
29221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29222 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29223 * sysdeps/i386/fpu/e_powl.S: Likewise.
29224 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29225 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29226 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29227 * sysdeps/i386/fpu/e_logl.S: Likewise.
29228 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29229 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29230 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29231 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29232 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29233 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29234 * sysdeps/i386/fpu/e_log.S: Likewise.
29235 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29236 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29237 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29238 * sysdeps/i386/fpu/e_logf.S: Likewise.
29239 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29240 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29241 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29242 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29243 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29244 * sysdeps/i386/fpu/e_log10.S: Likewise.
29245 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29246 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29247 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29248 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29249 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29250 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29251 * sysdeps/i386/asm-syntax.h: Likewise.
29252 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29253 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29254 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29255 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29256 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29257 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29258 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29259 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29260 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29261 * sysdeps/powerpc/sysdep.h: Likewise.
29262 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29263 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29265 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29268 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29270 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29272 * sysdeps/i386/sysdep.h: Include <features.h>.
29273 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29276 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29278 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29280 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29283 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29285 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29286 (SETUP_PIC_REG): Use GET_PC_THUNK.
29287 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29290 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29292 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29293 for non-PIC compilation.
29294 (SETUP_PIC_REG): Add .p2align directive.
29295 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29296 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29297 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29298 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29299 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29300 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29301 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29303 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29304 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29305 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29306 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29307 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29308 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29309 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29310 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29311 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29312 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29313 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29314 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29315 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29316 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29317 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29318 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29321 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29323 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29324 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29325 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29326 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29327 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29328 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29329 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29330 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29331 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29332 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29333 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29334 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29335 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29337 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29339 * math/tst-CMPLX.c: Include <stdio.h>.
29341 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29343 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29345 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29346 * sysdeps/sparc/bits/mathdef.h: Likewise.
29348 2012-01-31 Marek Polacek <polacek@redhat.com>
29350 * libio/libio.h: Don't define _PARAMS.
29351 * locale/programs/config.h: Don't define PARAMS.
29352 * stdlib/strtol_l.c: Likewise.
29353 (__strtol_l): Remove PARAMS from the prototype.
29355 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29357 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29358 names. Just use the correct names. Remove unnecessary wrapper
29360 * malloc/arena.c: Likewise.
29361 * malloc/hooks.c: Likewise.
29363 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29364 ARENA_TEST says not to. Simplify test for creation of a new arena.
29365 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29367 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29369 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29371 (update_get_addr): New function.
29372 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29373 GET_ADDR_MODULE parameter.
29375 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29377 * crypt/cert.c: Remove __STDC__ conditionals.
29378 * crypt/crypt-entry.c: Likewise.
29379 * crypt/crypt_util.c: Likewise.
29380 * libio/filedoalloc.c: Likewise.
29381 * libio/fileops.c: Likewise.
29382 * libio/genops.c: Likewise.
29383 * libio/iofclose.c: Likewise.
29384 * libio/iofdopen.c: Likewise.
29385 * libio/iofopen.c: Likewise.
29386 * libio/iofopen64.c: Likewise.
29387 * libio/iogetdelim.c: Likewise.
29388 * libio/iopopen.c: Likewise.
29389 * libio/obprintf.c: Likewise.
29390 * libio/oldfileops.c: Likewise.
29391 * libio/oldiofclose.c: Likewise.
29392 * libio/oldiofdopen.c: Likewise.
29393 * libio/oldiofopen.c: Likewise.
29394 * libio/oldiopopen.c: Likewise.
29395 * libio/wfiledoalloc.c: Likewise.
29396 * libio/wgenops.c: Likewise.
29397 * locale/programs/xmalloc.c: Likewise.
29398 * misc/syslog.c: Likewise.
29399 * stdio-common/xbug.c: Likewise.
29400 * string/memchr.c: Likewise.
29401 * string/memcmp.c: Likewise.
29402 * string/memrchr.c: Likewise.
29403 * string/rawmemchr.c: Likewise.
29404 * sysdeps/posix/getcwd.c: Likewise.
29405 * time/strftime_l.c: Likewise.
29407 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29409 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29410 * config.make.in (config-cflags-sse2avx): Define.
29411 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29414 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29416 * scripts/config.guess: Update from upstream config git repository.
29417 * scripts/config.sub: Likewise.
29419 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29421 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29423 (R_TILEPRO_*, R_TILEGX_*): New macros.
29425 * scripts/firstversions.awk: Fix bug in version range handling.
29427 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29429 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29431 * include/sys/epoll.h: New file.
29432 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29435 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29437 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29438 Avoid unnecessary __WORDSIZE == 64 test.
29439 (fmaxf): Use VEX format if possible.
29444 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29445 * math/math_private.h: Remove libc_fegetround* and
29447 * sysdeps/i386/configure.in: Check for -msse2avx.
29448 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29449 also if SSE2AVX is defined.
29450 Remove libc_fegetround* and libc_fesetround*.
29451 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29452 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29455 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29456 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29461 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29463 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29465 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29467 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29469 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29472 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29474 * Makeconfig (libm): Define.
29475 * elf/Makefile: Add rules to build and run tst-relsort1.
29476 * elf/tst-relsort1.c: New file.
29477 * elf/tst-relsort1mod1.c: New file.
29478 * elf/tst-relsort1mod2.c: New file.
29480 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29482 * math/s_ldexp.c: Remove __STDC__ conditionals.
29483 * math/s_ldexpf.c: Likewise.
29484 * math/s_ldexpl.c: Likewise.
29485 * math/s_nextafter.c: Likewise.
29486 * math/s_nexttowardf.c: Likewise.
29487 * math/s_significand.c: Likewise.
29488 * math/s_significandf.c: Likewise.
29489 * math/s_significandl.c: Likewise.
29490 * math/w_jnl.c: Likewise.
29491 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29492 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29493 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29494 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29495 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29497 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29498 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29499 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29500 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29501 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29503 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29504 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29505 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29506 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29508 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29510 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29511 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29512 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29513 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29514 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29515 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29516 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29517 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29518 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29519 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29520 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29521 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29522 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29523 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29524 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29525 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29526 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29527 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29528 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29529 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29530 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29531 * sysdeps/ieee754/k_standard.c: Likewise.
29532 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29533 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29534 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29535 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29536 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29537 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29538 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29539 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29540 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29541 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29542 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29543 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29544 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29545 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29546 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29548 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29549 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29551 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29552 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29553 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29554 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29555 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29556 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29557 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29558 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29559 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29561 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29562 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29563 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29564 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29565 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29567 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29568 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29569 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29570 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29571 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29572 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29574 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29575 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29576 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29577 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29579 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29580 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29581 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29582 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29583 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29584 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29585 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29586 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29587 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29588 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29589 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29590 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29591 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29592 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29593 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29594 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29595 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29596 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29597 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29598 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29599 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29601 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29602 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29606 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29607 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29608 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29611 * sysdeps/ieee754/s_matherr.c: Likewise.
29612 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29613 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29617 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29619 * crypt/md5.h: Remove __STDC__ conditionals.
29620 * libio/libioP.h: Likewise.
29621 * locale/programs/config.h: Likewise.
29622 * sysdeps/generic/sysdep.h: Likewise.
29623 * sysdeps/i386/asm-syntax.h: Likewise.
29624 * sysdeps/s390/asm-syntax.h: Likewise.
29625 * sysdeps/unix/sysdep.h: Likewise.
29626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29629 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29631 * libio/libio.h: Remove __STDC__ conditionals.
29632 * malloc/obstack.h: Likewise.
29633 * math/complex.h: Likewise.
29634 * math/math.h: Likewise.
29635 * sysdeps/generic/_G_config.h: Likewise.
29636 * sysdeps/gnu/_G_config.h: Likewise.
29637 * sysdeps/mach/hurd/_G_config.h: Likewise.
29638 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29639 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29640 * sysdeps/sparc/bits/mathdef.h: Likewise.
29642 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29645 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29646 Clean up HAS_* macros.
29647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29648 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29653 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29658 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29660 * elf/tst-unique3.cc (gets): Remove declaration.
29661 * elf/tst-unique3lib.cc (gets): Likewise.
29662 * elf/tst-unique3lib2.cc (gets): Likewise.
29663 * elf/tst-unique4.cc (gets): Likewise.
29665 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29667 * include/stdio.h: Add C++ protection. Add gets declarations and
29669 * debug/tst-chk1.c: Don't declare gets here.
29670 * stdio-common/tst-gets.c: Likewise.
29672 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29674 * posix/glob: Remove directory.
29676 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29678 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29680 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29682 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29683 of the non-standard EPFNOSUPPORT.
29685 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29687 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29688 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29689 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29691 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29693 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29695 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29697 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29699 * nscd/grpcache.c (cache_addgr): Likewise.
29700 * nscd/hstcache.c (cache_addhst): Likewise.
29701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29702 * nscd/pwdcache.c (cache_addpw): Likewise.
29703 * nscd/servicescache.c (cache_addserv): Likewise.
29705 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29707 * malloc/malloc.c: Various cleanups.
29708 * malloc/hooks.c: Likewise.
29710 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29711 * stdlib/bug-fmtmsg1.c: New file.
29713 * stdlib/fmtmsg.c (init): Add missing unlock.
29714 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29716 2012-01-12 Marek Polacek <polacek@redhat.com>
29718 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29721 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29723 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29724 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29725 macro to ensure uniqueness of label name.
29726 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29727 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29729 2012-01-11 Ulrich Drepper <drepper@gmail.com>
29731 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29733 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29734 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29735 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29738 2012-01-10 Ulrich Drepper <drepper@gmail.com>
29740 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29742 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29743 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29744 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29746 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29748 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29749 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29750 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29753 * math/bits/math-finite.h: Add ldexp support.
29755 2012-01-10 Marek Polacek <polacek@redhat.com>
29757 * locale/programs/localedef.h (show_archive_content): Add noreturn
29760 2012-01-09 Ulrich Drepper <drepper@gmail.com>
29762 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29764 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29766 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29768 * io/Makefile (headers): Add bits/poll2.h.
29770 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29773 typo #include statement.
29775 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29777 * include/sys/cdefs.h: Define __attribute_alloc_size.
29778 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29779 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29780 * elf/pldd.c: Likewise.
29781 * iconv/iconv_charmap.c: Likewise.
29782 * iconv/iconvconfig.c: Likewise.
29783 * iconv/strtab.c: Likewise.
29784 * locale/programs/locale.c: Likewise.
29785 * locale/programs/localedef.h: Likewise.
29786 * locale/programs/simple-hash.c: Likewise.
29787 * nscd/nscd.h: Likewise.
29788 * nss/makedb.c: Likewise.
29789 * sysdeps/generic/ldconfig.h: Likewise.
29790 * locale/programs/localedef.c: Remove xmalloc prototype.
29791 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29793 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29795 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29798 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29800 * math/Makefile (tests): Add tst-CMPLX.
29801 * math/tst-CMPLX.c: New file.
29803 * math/complex.h (CMPLXL): Fix typo.
29805 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29806 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29808 * debug/tst-chk1.c: Add poll and ppoll tests.
29809 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29810 * include/sys/poll.h: Add hidden proto for ppoll.
29811 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29812 * sysdeps/mach/hurd/ppoll.c: Likewise.
29813 * io/ppoll.c: Likewise.
29814 * debug/poll_chk.c: New file.
29815 * debug/ppoll_chk.c: New file.
29816 * include/bits/poll2.h: New file.
29817 * io/bits/poll2.h: New file.
29820 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29822 * configure.in: static is always set to yes. Remove.
29823 * config.make.in: Don't set build-static.
29824 * Makeconfig: Remove use of build-static.
29825 * dlfcn/Makefile: Likewise.
29826 * elf/Makefile: Likewise.
29827 * math/Makefile: Likewise.
29828 * misc/Makefile: Likewise.
29829 * nptl/Makefile: Likewise.
29830 * sysdeps/mach/hurd/Makefile: Likewise.
29832 * configure.in: PWD_P is not used anymore.
29833 * config.make.in: Remove PWD_P entry.
29835 * configure.in: Remove last remnants of RANLIB.
29836 No need to check for signed size_t anymore.
29837 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29839 Remove __builtin_expect test because we require at least gcc 3.4.
29840 * aclocal.m4: Likewise.
29842 * wcsmbs/mbrtoc16.c: Implement using towc function.
29843 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29844 * wcsmbs/wcsmbsload.c: Likewise.
29845 * iconv/gconv_simple.c: Likewise.
29846 * iconv/gconv_int.h: Likewise.
29847 * iconv/gconv_builtin.h: Likewise.
29848 * iconv/iconv_prog.c: Remove CHAR16 handling.
29850 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29852 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29854 * configure.in: Remove --with-elf and --enable-bounded options.
29855 Dont set base_machine for ia64. More non-ELF conditions removed.
29856 Remove testing and setting of leading underscore information.
29857 * config.make.in (build-bounded): Set to no.
29858 * config.h.in: Remove NO_UNDERSCORES entry.
29859 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29861 * csu/start.c: Remove !NO_UNDERSCORE code.
29862 * locale/localeinfo.h: Likewise.
29863 * sysdeps/generic/machine-gmon.h: Likewise.
29864 * sysdeps/generic/sysdep.h: Likewise.
29865 * sysdeps/i386/sysdep.h: Likewise.
29866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29867 * sysdeps/mach/sysdep.h: Likewise.
29868 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29869 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29870 * sysdeps/sh/sysdep.h: Likewise.
29871 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29872 * sysdeps/unix/i386/sysdep.S: Likewise.
29873 * sysdeps/unix/sparc/start.c: Likewise.
29874 * sysdeps/unix/sparc/sysdep.S: Likewise.
29875 * sysdeps/unix/sparc/sysdep.h: Likewise.
29876 * sysdeps/unix/start.c: Likewise.
29877 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29878 * sysdeps/x86_64/sysdep.h: Likewise.
29880 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29883 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29885 * argp/argp-fmtstream.h: Use const instead __const.
29886 * argp/argp.h: Likewise.
29887 * assert/assert.h: Likewise.
29888 * bits/fenv.h: Likewise.
29889 * bits/sched.h: Likewise.
29890 * bits/sigset.h: Likewise.
29891 * bits/sigthread.h: Likewise.
29892 * catgets/nl_types.h: Likewise.
29893 * conform/data/pthread.h-data: Likewise.
29894 * crypt/crypt-private.h: Likewise.
29895 * crypt/crypt.h: Likewise.
29896 * crypt/crypt_util.c: Likewise.
29897 * ctype/ctype.h: Likewise.
29898 * debug/execinfo.h: Likewise.
29899 * debug/mbsnrtowcs_chk.c: Likewise.
29900 * debug/mbsrtowcs_chk.c: Likewise.
29901 * debug/wcsnrtombs_chk.c: Likewise.
29902 * debug/wcsrtombs_chk.c: Likewise.
29903 * debug/wcstombs_chk.c: Likewise.
29904 * dirent/dirent.h: Likewise.
29905 * dlfcn/dlfcn.h: Likewise.
29906 * elf/neededtest4.c: Likewise.
29907 * grp/grp.h: Likewise.
29908 * gshadow/gshadow.h: Likewise.
29909 * iconv/gconv.h: Likewise.
29910 * iconv/gconv_int.h: Likewise.
29911 * iconv/gconv_simple.c: Likewise.
29912 * iconv/iconv.h: Likewise.
29913 * iconv/loop.c: Likewise.
29914 * iconv/skeleton.c: Likewise.
29915 * include/aio.h: Likewise.
29916 * include/aliases.h: Likewise.
29917 * include/argz.h: Likewise.
29918 * include/arpa/inet.h: Likewise.
29919 * include/assert.h: Likewise.
29920 * include/dirent.h: Likewise.
29921 * include/dlfcn.h: Likewise.
29922 * include/execinfo.h: Likewise.
29923 * include/fcntl.h: Likewise.
29924 * include/fenv.h: Likewise.
29925 * include/glob.h: Likewise.
29926 * include/grp.h: Likewise.
29927 * include/libintl.h: Likewise.
29928 * include/mntent.h: Likewise.
29929 * include/netdb.h: Likewise.
29930 * include/pwd.h: Likewise.
29931 * include/rpc/netdb.h: Likewise.
29932 * include/sched.h: Likewise.
29933 * include/search.h: Likewise.
29934 * include/shadow.h: Likewise.
29935 * include/signal.h: Likewise.
29936 * include/stdio.h: Likewise.
29937 * include/stdlib.h: Likewise.
29938 * include/string.h: Likewise.
29939 * include/sys/socket.h: Likewise.
29940 * include/sys/stat.h: Likewise.
29941 * include/sys/statfs.h: Likewise.
29942 * include/sys/statvfs.h: Likewise.
29943 * include/sys/syslog.h: Likewise.
29944 * include/sys/time.h: Likewise.
29945 * include/sys/uio.h: Likewise.
29946 * include/time.h: Likewise.
29947 * include/unistd.h: Likewise.
29948 * include/utmp.h: Likewise.
29949 * include/wchar.h: Likewise.
29950 * include/wctype.h: Likewise.
29951 * inet/aliases.h: Likewise.
29952 * inet/arpa/inet.h: Likewise.
29953 * inet/netinet/ether.h: Likewise.
29954 * inet/netinet/in.h: Likewise.
29955 * intl/libintl.h: Likewise.
29956 * io/bits/fcntl2.h: Likewise.
29957 * io/fcntl.h: Likewise.
29958 * io/ftw.h: Likewise.
29959 * io/sys/poll.h: Likewise.
29960 * io/sys/stat.h: Likewise.
29961 * io/sys/statfs.h: Likewise.
29962 * io/sys/statvfs.h: Likewise.
29963 * io/utime.h: Likewise.
29964 * libio/bits/stdio.h: Likewise.
29965 * libio/bits/stdio2.h: Likewise.
29966 * libio/libio.h: Likewise.
29967 * libio/libioP.h: Likewise.
29968 * libio/stdio.h: Likewise.
29969 * locale/lc-ctype.c: Likewise.
29970 * locale/locale.h: Likewise.
29971 * login/utmp.h: Likewise.
29972 * malloc/arena.c: Likewise.
29973 * malloc/malloc.c: Likewise.
29974 * malloc/malloc.h: Likewise.
29975 * malloc/mcheck.c: Likewise.
29976 * malloc/mtrace.c: Likewise.
29977 * math/bits/mathcalls.h: Likewise.
29978 * math/fenv.h: Likewise.
29979 * math/math_private.h: Likewise.
29980 * misc/bits/error.h: Likewise.
29981 * misc/bits/syslog.h: Likewise.
29982 * misc/err.h: Likewise.
29983 * misc/error.h: Likewise.
29984 * misc/fstab.h: Likewise.
29985 * misc/mntent.h: Likewise.
29986 * misc/regexp.h: Likewise.
29987 * misc/search.h: Likewise.
29988 * misc/sgtty.h: Likewise.
29989 * misc/sys/mman.h: Likewise.
29990 * misc/sys/syslog.h: Likewise.
29991 * misc/sys/uio.h: Likewise.
29992 * misc/sys/xattr.h: Likewise.
29993 * misc/ttyent.h: Likewise.
29994 * nis/rpcsvc/ypclnt.h: Likewise.
29995 * nss/nss.h: Likewise.
29996 * posix/bits/unistd.h: Likewise.
29997 * posix/fnmatch.h: Likewise.
29998 * posix/glob.h: Likewise.
29999 * posix/sched.h: Likewise.
30000 * posix/spawn.h: Likewise.
30001 * posix/sys/wait.h: Likewise.
30002 * posix/unistd.h: Likewise.
30003 * posix/wordexp.h: Likewise.
30004 * pwd/pwd.h: Likewise.
30005 * resolv/netdb.h: Likewise.
30006 * resource/sys/resource.h: Likewise.
30007 * rt/aio.h: Likewise.
30008 * rt/bits/mqueue2.h: Likewise.
30009 * rt/mqueue.h: Likewise.
30010 * shadow/shadow.h: Likewise.
30011 * signal/signal.h: Likewise.
30012 * socket/send.c: Likewise.
30013 * socket/sendto.c: Likewise.
30014 * socket/sys/socket.h: Likewise.
30015 * stdio-common/printf.h: Likewise.
30016 * stdlib/bits/stdlib.h: Likewise.
30017 * stdlib/fmtmsg.h: Likewise.
30018 * stdlib/monetary.h: Likewise.
30019 * stdlib/stdlib.h: Likewise.
30020 * stdlib/ucontext.h: Likewise.
30021 * streams/stropts.h: Likewise.
30022 * string/argz.h: Likewise.
30023 * string/bits/string2.h: Likewise.
30024 * string/string.h: Likewise.
30025 * string/strings.h: Likewise.
30026 * sunrpc/rpc/auth.h: Likewise.
30027 * sunrpc/rpc/auth_des.h: Likewise.
30028 * sunrpc/rpc/clnt.h: Likewise.
30029 * sunrpc/rpc/netdb.h: Likewise.
30030 * sunrpc/rpc/pmap_clnt.h: Likewise.
30031 * sunrpc/rpc/xdr.h: Likewise.
30032 * sysdeps/generic/inttypes.h: Likewise.
30033 * sysdeps/generic/net/if.h: Likewise.
30034 * sysdeps/generic/sys/swap.h: Likewise.
30035 * sysdeps/gnu/net/if.h: Likewise.
30036 * sysdeps/gnu/utmpx.h: Likewise.
30037 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30038 * sysdeps/i386/i486/bits/string.h: Likewise.
30039 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30040 * sysdeps/s390/bits/string.h: Likewise.
30041 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30042 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30043 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30044 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30045 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30046 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30047 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30048 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30049 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30050 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30051 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30052 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30053 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30054 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30055 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30056 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30057 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30059 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30061 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30062 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30063 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30064 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30065 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30066 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30067 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30068 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30069 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30070 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30071 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30072 * sysvipc/sys/ipc.h: Likewise.
30073 * sysvipc/sys/msg.h: Likewise.
30074 * sysvipc/sys/sem.h: Likewise.
30075 * sysvipc/sys/shm.h: Likewise.
30076 * termios/termios.h: Likewise.
30077 * time/sys/time.h: Likewise.
30078 * time/time.h: Likewise.
30079 * wcsmbs/bits/wchar2.h: Likewise.
30080 * wcsmbs/uchar.h: Likewise.
30081 * wcsmbs/wchar.h: Likewise.
30082 * wctype/wctype.h: Likewise.
30085 * Makeconfig: Remove all but ELF support including AIX support.
30086 * Makerules: Likewise.
30087 * config.h.in: Likewise.
30088 * config.make.in: Likewise.
30089 * configure: Likewise.
30090 * configure.in: Likewise.
30091 * csu/Makefile: Likewise.
30092 * csu/version.c: Likewise.
30093 * debug/Makefile: Likewise.
30094 * dlfcn/Makefile: Likewise.
30095 * elf/Makefile: Likewise.
30096 * extra-lib.mk: Likewise.
30097 * iconv/Makefile: Likewise.
30098 * include/libc-symbols.h: Likewise.
30099 * include/shlib-compat.h: Likewise.
30100 * resolv/Makefile: Likewise.
30101 * resolv/res_libc.c: Likewise.
30102 * rt/Makefile: Likewise.
30103 * sysdeps/i386/asm-syntax.h: Likewise.
30104 * sysdeps/i386/sysdep.h: Likewise.
30105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30106 * sysdeps/mach/sysdep.h: Likewise.
30107 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30108 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30109 * sysdeps/s390/asm-syntax.h: Likewise.
30110 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30112 * sysdeps/sh/sysdep.h: Likewise.
30113 * sysdeps/unix/sparc/sysdep.h: Likewise.
30114 * sysdeps/wordsize-32/divdi3.c: Likewise.
30115 * sysdeps/x86_64/sysdep.h: Likewise.
30117 * argp/Versions: Remove _argp_unlock_xxx.
30120 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30121 * abilist/libBrokenLocale.abilist: Likewise.
30122 * abilist/libanl.abilist: Likewise.
30123 * abilist/libc.abilist: Likewise.
30124 * abilist/libcrypt.abilist: Likewise.
30125 * abilist/libdl.abilist: Likewise.
30126 * abilist/libm.abilist: Likewise.
30127 * abilist/libnsl.abilist: Likewise.
30128 * abilist/libpthread.abilist: Likewise.
30129 * abilist/libresolv.abilist: Likewise.
30130 * abilist/librt.abilist: Likewise.
30131 * abilist/libthread_db.abilist: Likewise.
30132 * abilist/libutil.abilist: Likewise.
30133 * abilist/libnss_db.abilist: New file.
30135 * scripts/abilist.awk: Add support for indirect functions.
30137 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30139 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30141 * shlib-versions: Remove entries for ports architectures.
30143 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30145 * elf/stackguard-macros.h: Remove support for IA-64.
30146 * elf/tst-auditmod1.c: Likewise.
30147 * sysdeps/generic/ldsodefs.h: Likewise.
30149 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30150 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30154 * configure.in: Remove --enable-omitfp support.
30156 * config.make.in: Likewise.
30157 * Makeconfig: Likewise.
30158 * manual/install.texi: Likewise.
30160 In case anyone cares, the IA-64 architecture could move to ports.
30161 * sysdeps/ia64/*: Removed.
30162 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30163 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30166 * configure.in: Remove entries for unsupported architectures.
30169 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30170 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30172 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30173 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30174 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30175 fall back to using wcrtomb.
30176 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30177 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30179 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30180 * wcsmbs/tst-c16c32-1.c: New file.
30182 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30185 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30187 * elf/tst-unique3.cc: Add explicit declaration of gets.
30188 * elf/tst-unique3lib.cc: Likewise.
30189 * elf/tst-unique3lib2.cc: Likewise.
30190 * elf/tst-unique4.cc: Likewise.
30192 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30194 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30197 * assert/assert.h (static_assert): Don't define for C++.
30198 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30199 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30201 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30203 * iconv/loop.c (single loop): Fix assertion in storing of
30206 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30208 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30210 * posix/getconf.c: Update copyright year.
30211 * nss/getent.c: Likewise.
30212 * nss/makedb.c: Likewise.
30213 * iconv/iconvconfig.c: Likewise.
30214 * iconv/iconv_prog.c: Likewise.
30215 * elf/ldconfig.c: Likewise.
30216 * elf/pldd.c: Likewise.
30217 * elf/sotruss.ksh: Likewise.
30218 * catgets/gencat.c: Likewise.
30219 * csu/version.c: Likewise.
30220 * elf/ldd.bash.in: Likewise.
30221 * elf/sprof.c (print_version): Likewise.
30222 * locale/programs/locale.c: Likewise.
30223 * locale/programs/localedef.c: Likewise.
30224 * login/programs/pt_chown.c: Likewise.
30225 * nscd/nscd.c (print_version): Likewise.
30226 * debug/xtrace.sh: Likewise.
30227 * malloc/memusage.sh: Likewise.
30228 * malloc/mtrace.pl: Likewise.
30229 * debug/catchsegv.sh: Likewise.
30231 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30233 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30236 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30239 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30240 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30242 * iconv/gconv_int.h: Likewise.
30243 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30244 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30245 from libc for GLIBC_2.16.
30246 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30247 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30248 * wcsmbs/uchar.h: Really define mbstate_t.
30249 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30250 * wcsmbs/c16rtomb.c: New file.
30251 * wcsmbs/mbrtoc16.c: New file.
30252 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30253 for C/POSIX locale.
30254 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30255 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30257 * wcsmbs/wchar.h: Add missing __restrict.
30259 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30262 * time/Makefile (routines): Add timespec_get.
30263 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30264 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30265 timespec for ISO C11.
30266 * time/timespec_get.c: New file.
30267 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30268 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30271 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30272 * stdlib/stdlib.h: Declare aligned_alloc.
30273 * Versions.def: Add GLIBC_2.16 for libc.
30274 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30277 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30280 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30284 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30287 * assert/assert.h (static_assert): Define.
30289 * version.h: Update for 2.16 development version.
30292 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30295 * version.h (RELEASE): Bump for 2.15 release.
30296 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30298 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30299 Patch by Marek Polacek <mpolacek@redhat.com>.
30301 * bits/byteswap.h: Protect long long constants with __extension__.
30302 * sysdeps/i386/bits/byteswap.h: Likewise.
30303 * sysdeps/ia64/bits/byteswap.h: Likewise.
30304 * sysdeps/s390/bits/byteswap.h: Likewise.
30305 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30307 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30310 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30311 destination buffer.
30312 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30314 2011-12-23 Marek Polacek <polacek@redhat.com>
30316 * elf/dl-addr.c (determine_info): Add inline keyword.
30317 * elf/tst-auditmod4b.c (check_avx): Likewise.
30318 * elf/tst-auditmod6b.c (check_avx): Likewise.
30319 * elf/tst-auditmod6c.c (check_avx): Likewise.
30320 * elf/tst-auditmod7b.c (check_avx): Likewise.
30322 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30324 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30327 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30330 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30331 processing for last bytes.
30333 2011-08-06 Bruno Haible <bruno@clisp.org>
30336 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30337 U+0385, not to U+1FEE.
30340 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30341 entry for U+00A5 U+0301.
30343 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30346 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30347 buffer for the output is too small.
30349 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30353 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30354 SSE flags if possible.
30356 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30360 processing for last bytes.
30362 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30364 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30365 (syscall-list-default-options, syscall-list-default-condition)
30366 (syscall-list-includes): Define.
30367 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30368 list of ABIs and options and #if conditions for each ABI. Do not
30369 handle common syscalls between ABIs specially.
30370 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30372 (syscall-list-variants, syscall-list-32bit-options)
30373 (syscall-list-32bit-condition, syscall-list-64bit-options)
30374 (syscall-list-64bit-condition): Define.
30375 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30376 (syscall-list-variants, syscall-list-32bit-options)
30377 (syscall-list-32bit-condition, syscall-list-64bit-options)
30378 (syscall-list-64bit-condition): Define.
30379 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30381 (syscall-list-variants, syscall-list-32bit-options)
30382 (syscall-list-32bit-condition, syscall-list-64bit-options)
30383 (syscall-list-64bit-condition): Define.
30384 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30386 (syscall-list-variants, syscall-list-32bit-options)
30387 (syscall-list-32bit-condition, syscall-list-64bit-options)
30388 (syscall-list-64bit-condition): Define.
30390 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30392 * locale/iso-639.def: Add brx entry.
30395 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30396 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30398 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30399 __feraiseexcept_renamed.
30401 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30404 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30405 EPOLLET with unsigned values.
30406 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30409 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30410 to large cancellation.
30411 * math/s_cacoshf.c: Likewise.
30412 * math/s_cacoshl.c: Likewise.
30414 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30418 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30419 * math/s_cacoshf.c: Likewise.
30420 * math/s_cacoshl.c: Likewise.
30422 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30425 * iconv/gconv.h: Define __GCONV_SWAP.
30426 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30427 * iconvdata/utf-16.c: Likewise.
30428 * iconvdata/utf-32.c: Likewise.
30430 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30434 numerator after shifting it by one limb.
30436 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30438 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30439 under [__USE_EXTERN_INLINES].
30441 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30444 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30446 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30448 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30449 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30451 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30452 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30453 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30454 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30455 for strncasecmp/strncasecmp_l compilation.
30456 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30457 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30459 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30462 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30465 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30468 * time/tzfile.c (__tzfile_read): Check values from file header.
30470 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30472 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30473 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30474 * powerpc/powerpc32/dl-start.S: Likewise.
30475 * powerpc/powerpc32/elf/start.S: Likewise.
30476 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30477 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30478 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30479 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30480 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30481 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30482 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30483 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30484 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30485 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30486 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30487 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30488 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30489 * powerpc/powerpc32/memset.S: Likewise.
30490 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30491 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30492 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30493 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30494 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30495 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30496 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30497 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30498 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30499 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30500 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30501 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30502 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30504 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30506 * math/libm-test.inc: Added more nearbyint tests.
30507 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30508 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30509 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30512 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30514 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30517 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30519 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30520 Add wcscpy-ssse3 wcscpy-c.
30521 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30522 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30523 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30524 * sysdeps/x86_64/wcschr.S: New file.
30525 * sysdeps/x86_64/wcsrchr.S: New file.
30526 * string/test-strcmp.c: Remove checking of wcscmp function for
30528 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30529 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30530 wcsrchr-sse2 wcsrchr-c.
30531 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30532 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30533 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30534 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30535 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30536 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30537 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30538 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30539 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30540 * wcsmbc/wcschr.c (WCSCHR): New macro.
30542 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30544 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30545 * wcsmbs/test-wcsrchr.c: New file.
30546 * string/test-strrchr.c: Add wcsrchr support.
30548 * wcsmbs/test-wcscpy.c: New file.
30549 * string/test-strcpy.c: Add wcscpy support.
30552 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30557 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30560 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30562 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30564 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30565 Minor optimizations.
30567 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30568 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30569 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30571 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30573 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30574 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30575 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30576 for gcc to avoid warnings.
30577 * inet/Makefile (tests): Add tst-checks.
30578 * inet/tst-checks.c: New file.
30580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30583 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30586 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30587 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30589 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30591 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30593 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30596 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30598 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30600 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30601 conditional on GCC version.
30602 (__arch_compare_and_exchange_val_8_acq)
30603 (__arch_compare_and_exchange_val_16_acq)
30604 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30605 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30606 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30608 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30610 * sysdeps/sh/backtrace.c: New file.
30612 2011-12-02 Andreas Schwab <schwab@redhat.com>
30614 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30617 2011-12-01 Andreas Schwab <schwab@redhat.com>
30619 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30620 falling back to utime.
30622 2011-11-30 Andreas Schwab <schwab@redhat.com>
30624 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30625 expectations for float.
30627 2011-11-29 Andreas Schwab <schwab@redhat.com>
30629 * locale/weight.h (findidx): Add parameter len.
30630 * locale/weightwc.h (findidx): Likewise.
30631 * posix/fnmatch_loop.c (FCT): Adjust caller.
30632 * posix/regcomp.c (build_equiv_class): Likewise.
30633 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30634 * posix/regexec.c (check_node_accept_bytes): Likewise.
30635 * string/strcoll_l.c (STRCOLL): Likewise.
30636 * string/strxfrm_l.c (STRXFRM): Likewise.
30638 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30640 * Makefile.in: Remove CVSOPT handling.
30641 * configure.in: Remove use of AC_REVISION.
30642 * iconvdata/Makefile (distribute): No need to filter out CVS.
30643 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30646 2011-11-16 Andreas Schwab <schwab@redhat.com>
30648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30649 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30650 [USE_AS_STRNCASECMP_L]: Likewise.
30651 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30652 NO_TLS_DIRECT_SEG_REFS.
30653 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30654 Fix argument offsets for non-PIC.
30655 [USE_AS_STRNCASECMP_L]: Likewise.
30656 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30657 NO_TLS_DIRECT_SEG_REFS.
30659 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30661 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30663 * locale/loadlocale.c (_nl_load_locale): Likewise.
30665 2011-11-15 Andreas Schwab <schwab@redhat.com>
30667 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30668 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30669 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30670 (SYSCALL_GETTIME): Set errno on error.
30672 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30673 count references to noai6ai_cached.
30675 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30677 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30679 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30680 FD_CLOEXEC for /proc/self/maps.
30682 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30683 FD_CLOEXEC for /proc/meminfo.
30685 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30688 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30689 FD_CLOEXEC for given file.
30691 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30693 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30694 FD_CLOEXEC for /etc/hosts.
30695 (_gethtent): Likewise.
30697 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30699 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30700 cancellation and set FD_CLOEXEC for /etc/netgroup.
30702 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30703 reading /etc/publickey.
30705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30706 allow cancellation when reading /etc/group.
30708 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30710 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30712 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30713 when using data file.
30715 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30717 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30718 (write_nis_obj): Use "c" and "e" in fopen.
30720 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30722 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30724 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30726 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30728 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30731 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30733 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30735 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30737 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30738 file parsing and set FD_CLOEXEC.
30740 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30742 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30744 2011-11-14 Andreas Schwab <schwab@redhat.com>
30746 * malloc/arena.c (arena_get2): Don't call reused_arena when
30747 _int_new_arena failed.
30749 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30751 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30752 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30753 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30755 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30757 to compile strcasecmp and strncasecmp.
30758 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30759 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30763 2011-11-13 Ulrich Drepper <drepper@gmail.com>
30765 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30766 locale-defines.sym to gen-as-const-headers.
30767 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30768 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30769 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30770 to compile strcasecmp and strncasecmp.
30771 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30772 strcasecmp_l and strncasecmp_l.
30773 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30774 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30775 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30776 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30777 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30778 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30779 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30780 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30781 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30782 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30783 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30785 2011-11-12 Ulrich Drepper <drepper@gmail.com>
30787 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30788 result of SYSDEP_GETTIME_CPU to retval.
30789 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30790 parameter list to macro. Remove trailing semicolon. Adjust users.
30792 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30795 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30797 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30799 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30800 from unused variable.
30802 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30804 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30807 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30810 * sunrpc/rpc_prot.c (rejected): Fix case value.
30812 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30813 unsigned long long int to avoid warnings in shift.
30815 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30817 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30820 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30821 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30822 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30824 * nis/nis_table.c (nis_list): Use variable of correct type for
30825 result of __follow_path call.
30827 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30829 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30830 of math functions ceil, trunc, floor, round, and sqrt, when
30831 avaliable on the platform.
30832 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30834 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30835 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30836 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30838 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30840 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30841 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30843 2011-11-11 Roland McGrath <roland@hack.frob.com>
30845 * include/unistd.h: Fix __readlink return type.
30846 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30848 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30850 * stdlib/ucontext.h: Undo last change for makecontext.
30852 2011-11-11 Andreas Schwab <schwab@redhat.com>
30854 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30856 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30857 * setjmp/setjmp.h: Mark functions as non-leaf.
30858 * setjmp/bits/setjmp2.h: Likewise.
30859 * stdlib/ucontext.h: Likewise.
30861 2011-11-10 Andreas Schwab <schwab@redhat.com>
30863 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30864 (reused_arena): Don't check arena limit.
30865 (arena_get2): Atomically check arena limit.
30867 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30869 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30870 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30875 2011-11-07 Andreas Schwab <schwab@redhat.com>
30877 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30878 handler when locking.
30880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30881 Fix size of allocated buffer.
30883 2011-11-04 Andreas Schwab <schwab@redhat.com>
30886 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30887 declarations for long double functions.
30888 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30890 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30892 2011-11-03 Andreas Schwab <schwab@redhat.com>
30894 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30897 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30900 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30902 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30904 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30906 * include/alloca.h (stackinfo_alloca_round): Define.
30907 (extend_alloca): Use it.
30908 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30909 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30912 * scripts/check-local-headers.sh: Ignore libaudit.h.
30914 * nscd/Makefile (extra-objs): Make recursively expanded.
30916 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30918 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30919 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30921 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30922 * posix/tst-rfc3484-2.c: Likewise.
30923 * posix/tst-rfc3484-3.c: Likewise.
30925 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30927 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30929 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30930 process_vm_writev from libc using GLIBC_2.15 version.
30932 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30934 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30936 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30939 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30942 * nss/getent.c (initgroups_keys): Show error message in case no group
30945 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30946 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30947 __bump_nl_timestamp.
30948 * nscd/connections (nscd_init): When host database is served open
30949 netlink socket and request notification about configuration changes.
30950 (main_loop_poll): Track netlink file descriptor and bump timestamp
30951 in case data becomes available.
30952 (main_loop_epoll): Likewise.
30953 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30954 (database_pers_head): Add extra_data fileds.
30955 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30956 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30957 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30960 in6ai data, call __free_in6ai.
30961 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30962 Add -DHAVE_NETLINK.
30963 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30964 interface information. Reuse previous data if netlink timestamp
30966 (__bump_nl_timestamp): New function.
30967 (__free_in6ai): New function.
30969 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30972 close_not_cancel_no_status here.
30973 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30975 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30978 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30981 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30982 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30983 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30985 2011-07-03 Andreas Jaeger <aj@suse.de>
30988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30989 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30990 * math/libm-test.inc (sin_test): Add test case.
30992 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30995 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30996 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30998 * elf/chroot_canon.c (chroot_canon): Cleanups.
31000 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31003 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31004 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31006 * string/test-strchr.c: Make usable for strchrnul testing.
31007 * string/test-strchrnul.c: New file.
31008 * string/Makefile (strop-tests): Add strchrnul.
31010 * po/it.po: Update from translation team.
31011 * po/es.po: Likewise.
31013 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31016 the three constants needed as parameters. Drop the others.
31017 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31018 __m128i_strloadu_tolower.
31019 Create and initialize variable zero and use it in all the places
31020 where _mm_setzero_si128 was used.
31022 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31023 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31024 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31025 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31027 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31028 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31029 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31030 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31031 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31032 __mpranred, __mptan.
31033 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31034 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31035 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31036 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31037 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31038 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31039 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31040 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31041 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31043 2011-10-28 Andreas Schwab <schwab@redhat.com>
31045 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31046 redefine if SHARED.
31047 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31050 wide char related routines to wcsmbs subdir.
31052 2011-10-27 Andreas Schwab <schwab@redhat.com>
31055 * misc/sys/cdefs.h (__THROWNL): Define.
31056 * posix/unistd.h: Use __THREADNL instead of __THREAD
31057 for memory synchronization functions.
31059 2011-10-26 Roland McGrath <roland@hack.frob.com>
31062 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31064 * manual/stdio.texi (Obstack Streams): Node removed.
31066 2011-10-26 Andreas Schwab <schwab@redhat.com>
31068 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31069 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31070 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31072 * math/math_private.h (math_force_eval): Allow non-addressable
31074 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31076 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31078 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31079 file is not needed.
31081 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31082 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31084 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31086 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31087 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31088 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31090 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31091 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31092 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31093 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31094 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31095 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31096 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31097 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31098 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31099 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31100 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31101 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31102 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31103 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31104 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31105 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31106 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31107 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31108 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31110 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31111 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31113 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31114 place. Use VEX encoding when compiling for AVX.
31116 2011-10-25 Andreas Schwab <schwab@redhat.com>
31118 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31119 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31121 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31123 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31125 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31126 useless if() expression.
31127 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31128 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31129 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31130 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31131 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31132 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31133 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31135 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31136 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31137 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31138 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31139 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31140 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31141 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31142 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31143 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31144 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31145 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31147 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31149 2011-10-25 Andreas Schwab <schwab@redhat.com>
31151 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31153 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31155 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31157 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31158 .text section. Avoid duplicate constants.
31159 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31161 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31167 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31168 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31169 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31170 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31171 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31172 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31173 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31174 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31175 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31176 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31177 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31179 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31180 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31181 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31182 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31183 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31184 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31185 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31186 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31187 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31188 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31189 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31190 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31191 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31192 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31193 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31194 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31195 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31196 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31197 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31198 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31199 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31200 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31201 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31202 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31203 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31205 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31207 * sysdeps/x86_64/dla.h: Move to ...
31208 * sysdeps/x86_64/fpu/dla.h: ...here.
31209 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31210 situations. Use __builtin_fma only for gcc 4.6 and up.
31212 * config.make.in: Add have-mfma4 entry.
31213 * configure.in: Substitute libc_cv_cc_fma4.
31214 * math/Makefile (dbl-only-routines): Add sincostab.
31215 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31216 Use __sincostab not sincos.
31217 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31219 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31220 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31224 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31225 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31226 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31227 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31230 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31232 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31233 define aliases when function name is a macro.
31234 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31235 sysdeps/ieee754/dbl-64/sincos.tbl.
31236 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31237 fma4-enabled routines.
31238 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31239 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31240 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31241 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31243 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31245 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31247 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31248 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31250 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31251 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31252 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31253 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31254 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31255 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31256 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31258 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31259 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31261 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31262 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31263 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31264 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31265 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31266 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31267 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31269 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31271 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31277 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31280 2011-10-24 Andreas Schwab <schwab@redhat.com>
31282 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31284 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31286 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31288 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31292 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31293 Remove unused variable magic_bits.
31294 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31296 * string/strnlen.c: Define and use STRNLEN macro.
31297 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31298 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31300 * wcsmbs/wcslen.c: Define and use WCSLEN.
31301 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31302 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31303 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31304 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31305 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31306 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31307 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31309 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31312 strnlen-sse2-no-bsf.
31313 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31315 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31316 Add strnlen support.
31317 (USE_AS_STRNLEN): New macro.
31318 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31319 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31320 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31321 * sysdeps/x86_64/wcslen.S: New file.
31323 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31325 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31326 XMM-moves are used for copying on small sizes.
31328 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31330 * wcsmbs/Makefile (strop-tests): Add wcschr.
31331 * wcsmbs/test-wcschr.c: New file.
31332 * string/test-strchr.c: Update.
31333 Add wcschr support.
31336 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31338 * wcsmbs/Makefile (strop-tests): Add wcslen.
31339 * wcsmbs/test-wcslen.c: New file.
31340 * string/test-strlen.c: Update.
31341 Add wcslen support.
31344 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31346 * po/it.po: Update from translation team.
31348 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31350 * sysdeps/x86_64/wcscmp.S: Update.
31351 Fix wrong comparison semantics.
31352 wcscmp shall use signed comparison not unsigned.
31353 Don't use substraction to avoid overflow bug.
31354 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31355 * wcsmbc/wcscmp.c: Likewise.
31356 * string/test-strcmp.c: Likewise.
31357 Add new tests to check cases with negative values.
31359 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31361 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31362 * sysdeps/x86_64/dla.h: ...here. New file.
31363 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31368 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31370 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31373 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31376 __ynl_finite aliases.
31378 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31382 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31384 [DLA_FMA] (EMULV): Use DLA_FMA.
31385 [DLA_FMA] (MUL12): Use EMULV.
31386 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31387 that are not needed.
31388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31396 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31398 * math/s_nan.c: Undef __nan.
31399 * math/s_nanf.c: Undef __nanf.
31400 * math/s_nanl.c: Undef __nanl.
31401 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31404 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31406 * math/s_catan.c: Add branch predictions.
31407 * math/s_catanf.c: Likewise.
31408 * math/s_catanh.c: Likewise.
31409 * math/s_catanhf.c: Likewise.
31410 * math/s_catanhl.c: Likewise.
31411 * math/s_catanl.c: Likewise.
31412 * math/s_cexp.c: Likewise.
31413 * math/s_cexpf.c: Likewise.
31414 * math/s_cexpl.c: Likewise.
31415 * math/s_clog.c: Likewise.
31416 * math/s_clog10.c: Likewise.
31417 * math/s_clog10f.c: Likewise.
31418 * math/s_clog10l.c: Likewise.
31419 * math/s_clogf.c: Likewise.
31420 * math/s_clogl.c: Likewise.
31421 * math/s_csqrt.c: Likewise.
31422 * math/s_csqrtf.c: Likewise.
31423 * math/s_csqrtl.c: Likewise.
31424 * math/s_ctanf.c: Likewise.
31425 * math/s_ctanh.c: Likewise.
31426 * math/s_ctanhf.c: Likewise.
31427 * math/s_ctanhl.c: Likewise.
31428 * math/s_ctanl.c: Likewise.
31430 * math/math_private.h: Define __nan, __nanf, __nanl.
31431 * math/s_cacosh.c: Include <math_private.h>.
31432 * math/s_cacoshl.c: Likewise.
31433 * math/s_casinh.c: Likewise.
31434 * math/s_casinhf.c: Likewise.
31435 * math/s_casinhl.c: Likewise.
31436 * math/s_ccos.c: Rely entire on ccosh.
31437 * math/s_ccosf.c: Rely entire on ccoshf.
31438 * math/s_ccosl.c: Rely entirely on ccoshl.
31439 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31440 Remove tests for FE_INVALID.
31441 * math/s_ccoshf.c: Likewise.
31442 * math/s_ccoshl.c: Likewise.
31443 * math/s_csin.c: Likewise.
31444 * math/s_csinf.c: Likewise.
31445 * math/s_csinh.c Likewise.
31446 * math/s_csinhf.c: Likewise.
31447 * math/s_csinhl.c: Likewise.
31448 * math/s_csinl.c: Likewise.
31449 * math/s_ctan.c: Likewise.
31450 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31451 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31452 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31454 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31457 compilation problems.
31459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31462 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31464 * sysdeps/i386/configure.in: Test for -mfma4 option.
31465 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31466 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31467 COMMON_CPUID_INDEX_80000001.
31468 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31469 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31470 use it if FMA3 is not supported.
31471 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31473 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31474 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31476 2011-10-20 Andreas Schwab <schwab@redhat.com>
31479 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31480 it would create a cycle with a link time dependency.
31482 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31484 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31486 * string/Makefile (strop-tests): Add rawmemchr.
31487 * string/test-rawmemchr.c: New file.
31489 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31490 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31491 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31492 when compiling str{,n}casecmp and when AVX is available. Hook up
31493 new optimized code in initializers.
31495 2011-10-19 Andreas Schwab <schwab@redhat.com>
31497 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31498 __feraiseexcept instead of feraiseexcept.
31500 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31502 * math/math_private.h: Define defaults for libc_fetestexcept and
31504 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31505 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31506 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31507 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31508 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31509 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31510 libc_fetestexcept and libc_feupdateenv.
31512 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31513 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31514 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31515 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31516 libc_feholdexcept_setround.
31518 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31519 Add s_nearbyint-c and s_nearbyintf-c.
31520 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31521 nearbyintf inlines.
31522 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31523 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31524 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31525 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31527 * math/math_private.h: Define defaults for libc_fegetround,
31528 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31529 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31530 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31531 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31532 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31533 standard functions.
31534 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31535 Remove comments and hacks for old compiler versions.
31536 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31537 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31538 libc_feholdexceptl.
31540 2011-10-18 Andreas Schwab <schwab@redhat.com>
31542 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31543 (__feraiseexcept_renamed): Add __NTH.
31544 (feraiseexcept): Add __NTH. Rename local variables to fix
31545 namespace violations.
31547 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31549 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31551 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31553 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31554 recently added interfaces.
31555 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31557 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31558 about macro parameter expansion.
31560 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31561 __NO_MATH_INLINES is defined. Cleanups.
31563 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31564 and __floorf is target has SSE4.1.
31565 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31566 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31567 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31568 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31570 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31572 (floorf): Likewise.
31574 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31576 2011-10-17 Andreas Schwab <schwab@redhat.com>
31578 * misc/sys/cdefs.h: Fix last change.
31580 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31583 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31585 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31587 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31588 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31589 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31590 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31591 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31592 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31593 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31594 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31595 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31596 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31597 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31598 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31599 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31600 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31601 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31602 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31603 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31604 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31605 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31606 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31607 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31608 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31610 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31611 ceil, ceilf, floor, floorf.
31613 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31614 Perform IRELATIVE relocations last.
31616 * elf/do-rel.h: Add another parameter nrelative, replacing the
31617 local variable with the same name. Change name of the function
31618 to end in Rel or Rela (uppercase).
31619 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31620 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31621 elf_dynamic_do_##reloc function.
31623 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31625 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31626 is sufficient, at least on modern CPUs.
31628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31630 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31633 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31635 * math/bits/math-finite.h: Add entries for exp.
31636 * math/e_expl.c: Add __*_finite alias.
31637 * sysdeps/i386/fpu/e_exp.S: Likewise.
31638 * sysdeps/i386/fpu/e_expf.S: Likewise.
31639 * sysdeps/i386/fpu/e_expl.c: Likewise.
31640 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31641 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31642 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31644 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31645 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31646 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31648 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31649 is sufficient, at least on modern CPUs.
31651 * ctype/ctype-info.c (__ctype_init): Define.
31652 * include/ctype.h (__ctype_init): Declare.
31653 (__ctype_b_loc): The variable is always initialized.
31654 (__ctype_toupper_loc): Likewise.
31655 (__ctype_tolower_loc): Likewise.
31656 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31657 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31659 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31661 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31663 * configure.in: Also look in $cxxmachine/include for C++ system
31666 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31668 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31669 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31670 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31671 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31672 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31673 (USE_AS_WMEMCMP): New macro.
31675 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31676 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31677 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31678 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31680 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31681 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31682 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31683 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31684 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31685 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31686 (USE_AS_WMEMCMP): New macro.
31687 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31688 * sysdeps/string/test-memcmp.c: Update.
31689 Fix simple_wmemcmp.
31691 * wcsmbs/wmemcmp.c: Update.
31692 (WMEMCMP): New macro.
31695 2011-10-12 Andreas Jaeger <aj@suse.de>
31698 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31700 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31702 * libio/iofwide.c (do_length): Avoid warning.
31704 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31706 2011-10-14 Ulrich Drepper <drepper@gmail.com>
31708 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31710 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31711 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31712 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31713 * sysdeps/i386/i686/fpu/e_log.S: New file.
31714 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31715 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31717 * ctype/ctype.h: Add support for inlined isXXX functions when
31718 compiling C++ code.
31720 2011-10-14 Andreas Schwab <schwab@redhat.com>
31722 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31724 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31726 2011-10-13 Roland McGrath <roland@hack.frob.com>
31729 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31731 2011-10-13 Andreas Schwab <schwab@redhat.com>
31733 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31734 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31737 * sysdeps/x86_64/memrchr.S: Check for zero size.
31739 * string/stratcliff.c: Add memrchr tests.
31741 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31744 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31745 rawmemchr-sse2 rawmemchr-sse2-bsf.
31746 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31747 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31748 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31749 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31750 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31751 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31752 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31753 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31754 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31755 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31756 * string/memrchr.c (MEMRCHR): New macro.
31758 2011-10-12 Ulrich Drepper <drepper@gmail.com>
31760 Add integration with gcc's -ffinite-math-only and optimize wrapper
31762 * Versions.def: Define GLIBC_2.15 version for libm.
31763 * math/Makefile (headers): Add bits/math-finite.h.
31764 * math/bits/math-finite.h: New file.
31765 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31766 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31767 * math/e_acoshl.c: Add __*_finite alias.
31768 * math/e_acosl.c: Likewise.
31769 * math/e_asinl.c: Likewise.
31770 * math/e_atan2l.c: Likewise.
31771 * math/e_atanhl.c: Likewise.
31772 * math/e_coshl.c: Likewise.
31773 * math/e_exp10.c: Likewise.
31774 * math/e_exp10f.c: Likewise.
31775 * math/e_exp10l.c: Likewise.
31776 * math/e_exp2l.c: Likewise.
31777 * math/e_fmodl.c: Likewise.
31778 * math/e_gammal_r.c: Likewise.
31779 * math/e_hypotl.c: Likewise.
31780 * math/e_j0l.c: Likewise.
31781 * math/e_j1l.c: Likewise.
31782 * math/e_jnl.c: Likewise.
31783 * math/e_lgammal_r.c: Likewise.
31784 * math/e_log10l.c: Likewise.
31785 * math/e_log2l.c: Likewise.
31786 * math/e_logl.c: Likewise.
31787 * math/e_powl.c: Likewise.
31788 * math/e_sinhl.c: Likewise.
31789 * math/e_sqrtl.c: Likewise.
31790 * math/e_scalb.c: Completely rewritten and optimized.
31791 * math/e_scalbf.c: Likewise.
31792 * math/e_scalbl.c: Likewise.
31793 * math/w_acos.c: Likewise.
31794 * math/w_acosf.c: Likewise.
31795 * math/w_acosl.c: Likewise.
31796 * math/w_acosh.c: Likewise.
31797 * math/w_acoshf.c: Likewise.
31798 * math/w_acoshl.c: Likewise.
31799 * math/w_asin.c: Likewise.
31800 * math/w_asinf.c: Likewise.
31801 * math/w_asinl.c: Likewise.
31802 * math/w_atan2.c: Likewise.
31803 * math/w_atan2f.c: Likewise.
31804 * math/w_atan2l.c: Likewise.
31805 * math/w_atanh.c: Likewise.
31806 * math/w_atanhf.c: Likewise.
31807 * math/w_atanhl.c: Likewise.
31808 * math/w_exp10.c: Likewise.
31809 * math/w_exp10f.c: Likewise.
31810 * math/w_exp10l.c: Likewise.
31811 * math/w_fmod.c: Likewise.
31812 * math/w_fmodf.c: Likewise.
31813 * math/w_fmodl.c: Likewise.
31814 * math/w_j0.c: Likewise.
31815 * math/w_j0f.c: Likewise.
31816 * math/w_j0l.c: Likewise.
31817 * math/w_j1.c: Likewise.
31818 * math/w_j1f.c: Likewise.
31819 * math/w_j1l.c: Likewise.
31820 * math/w_jn.c: Likewise.
31821 * math/w_jnf.c: Likewise.
31822 * math/w_log.c: Likewise.
31823 * math/w_logf.c: Likewise.
31824 * math/w_logl.c: Likewise.
31825 * math/w_log10.c: Likewise.
31826 * math/w_log10f.c: Likewise.
31827 * math/w_log10l.c: Likewise.
31828 * math/w_log2.c: Likewise.
31829 * math/w_log2f.c: Likewise.
31830 * math/w_log2l.c: Likewise.
31831 * math/w_pow.c: Likewise.
31832 * math/w_powf.c: Likewise.
31833 * math/w_powl.c: Likewise.
31834 * math/w_remainder.c: Likewise.
31835 * math/w_remainderf.c: Likewise.
31836 * math/w_remainderl.c: Likewise.
31837 * math/w_scalb.c: Likewise.
31838 * math/w_scalbf.c: Likewise.
31839 * math/w_scalbl.c: Likewise.
31840 * math/w_sqrt.c: Likewise.
31841 * math/w_sqrtf.c: Likewise.
31842 * math/w_sqrtl.c: Likewise.
31843 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31844 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31846 * math/math_private.h: Declare __kernel_standard_f.
31847 * math/w_cosh.c: Remove cruft and optimize a bit.
31848 * math/w_coshf.c: Likewise.
31849 * math/w_coshl.c: Likewise.
31850 * math/w_exp2.c: Likewise.
31851 * math/w_exp2f.c: Likewise.
31852 * math/w_exp2l.c: Likewise.
31853 * math/w_hypot.c: Likewise.
31854 * math/w_hypotf.c: Likewise.
31855 * math/w_hypotl.c: Likewise.
31856 * math/w_lgamma.c: Likewise.
31857 * math/w_lgamma_r.c: Likewise.
31858 * math/w_lgammaf.c: Likewise.
31859 * math/w_lgammaf_r.c: Likewise.
31860 * math/w_lgammal.c: Likewise.
31861 * math/w_lgammal_r.c: Likewise.
31862 * math/w_sinh.c: Likewise.
31863 * math/w_sinhf.c: Likewise.
31864 * math/w_sinhl.c: Likewise.
31865 * math/w_tgamma.c: Likewise.
31866 * math/w_tgammaf.c: Likewise.
31867 * math/w_tgammal.c: Likewise.
31868 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31869 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31870 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31871 Minor optimizations. Pretty printing. Remove cruft.
31872 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31873 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31875 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31876 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31877 * sysdeps/i386/fpu/e_asin.S: Likewise.
31878 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31879 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31880 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31881 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31882 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31883 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31884 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31885 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31886 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31887 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31888 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31889 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31890 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31891 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31892 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31893 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31894 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31895 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31896 * sysdeps/i386/fpu/e_log.S: Likewise.
31897 * sysdeps/i386/fpu/e_log10.S: Likewise.
31898 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31899 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31900 * sysdeps/i386/fpu/e_log2.S: Likewise.
31901 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31902 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31903 * sysdeps/i386/fpu/e_logf.S: Likewise.
31904 * sysdeps/i386/fpu/e_logl.S: Likewise.
31905 * sysdeps/i386/fpu/e_pow.S: Likewise.
31906 * sysdeps/i386/fpu/e_powf.S: Likewise.
31907 * sysdeps/i386/fpu/e_powl.S: Likewise.
31908 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31909 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31910 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31911 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31912 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31913 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31914 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31915 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31916 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31917 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31918 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31920 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31922 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31923 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31924 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31925 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31926 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31927 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31928 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31930 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31931 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31933 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31934 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31937 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31938 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31939 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31940 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31941 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31942 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31943 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31944 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31945 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31946 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31947 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31948 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31949 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31950 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31951 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31952 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31953 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31954 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31955 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31956 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31957 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31958 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31959 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31960 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31961 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31962 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31963 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31964 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31965 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31966 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31967 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31968 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31969 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31970 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31972 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31973 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31974 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31975 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31976 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31977 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31978 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31979 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31980 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31981 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31982 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31983 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31984 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31989 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31991 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31992 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31993 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31994 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31995 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31996 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31997 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31998 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31999 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32000 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32001 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32002 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32003 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32004 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32005 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32006 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32007 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32008 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32009 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32010 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32011 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32012 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32013 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32014 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32015 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32016 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32017 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32018 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32019 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32020 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32021 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32022 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32023 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32025 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32026 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32027 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32028 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32029 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32030 (__isnanf): Likewise.
32031 (__isinf_ns): Likewise.
32032 (__isinf_nsf): Likewise.
32033 (__finite): Likewise.
32034 (__finitef): Likewise.
32035 (__ieee754_sqrt): Define as macro.
32036 (__ieee754_sqrtf): Define as macro.
32037 (__ieee754_sqrtl): Define as macro.
32038 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32040 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32041 __FINITE_MATH_ONLY__ consistent.
32042 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32044 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32046 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32051 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32053 * po/ja.po: Update from translation team.
32055 2011-10-08 Roland McGrath <roland@hack.frob.com>
32057 * locale/programs/locarchive.c (prepare_address_space): New function.
32058 (create_archive, enlarge_archive, open_archive): Use it.
32060 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32061 inside [SHARED], where it is used.
32063 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32065 * nss/getent.c (netgroup_keys): Remove unused variable.
32066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32068 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32070 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32071 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32074 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32075 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32076 * math/Makefile (libm-calls): Add s_isinf_ns.
32077 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32078 * math/multc3.c: Likewise.
32079 * math/s_casin.c: Likewise.
32080 * math/s_casinf.c: Likewise.
32081 * math/s_casinl.c: Likewise.
32082 * math/s_ccos.c: Likewise.
32083 * math/s_ccosf.c: Likewise.
32084 * math/s_ccosl.c: Likewise.
32085 * math/s_ctan.c: Likewise.
32086 * math/s_ctanf.c: Likewise.
32087 * math/s_ctanh.c: Likewise.
32088 * math/s_ctanhf.c: Likewise.
32089 * math/s_ctanhl.c: Likewise.
32090 * math/s_ctanl.c: Likewise.
32091 * math/w_fmod.c: Likewise.
32092 * math/w_fmodf.c: Likewise.
32093 * math/w_fmodl.c: Likewise.
32094 * math/w_remainder.c: Likewise.
32095 * math/w_remainderf.c: Likewise.
32096 * math/w_remainderl.c: Likewise.
32097 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32098 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32099 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32101 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32102 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32103 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32104 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32106 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32108 * stdio-common/printf_fphex.c: Likewise.
32109 * stdio-common/printf_size.c: Likewise.
32111 * math/e_exp10.c: Include math_private.h using <...> not "...".
32112 * math/e_exp10f.c: Likewise.
32113 * math/e_exp10l.c: Likewise.
32114 * math/e_exp2l.c: Likewise.
32115 * math/e_j0l.c: Likewise.
32116 * math/e_j1l.c: Likewise.
32117 * math/e_jnl.c: Likewise.
32118 * math/e_lgammal_r.c: Likewise.
32119 * math/e_rem_pio2l.c: Likewise.
32120 * math/e_scalb.c: Likewise.
32121 * math/e_scalbf.c: Likewise.
32122 * math/e_scalbl.c: Likewise.
32123 * math/k_cosl.c: Likewise.
32124 * math/k_sinl.c: Likewise.
32125 * math/k_tanl.c: Likewise.
32126 * math/s_cacoshf.c: Likewise.
32127 * math/s_catan.c: Likewise.
32128 * math/s_catanf.c: Likewise.
32129 * math/s_catanh.c: Likewise.
32130 * math/s_catanhf.c: Likewise.
32131 * math/s_catanhl.c: Likewise.
32132 * math/s_catanl.c: Likewise.
32133 * math/s_ccosh.c: Likewise.
32134 * math/s_ccoshf.c: Likewise.
32135 * math/s_ccoshl.c: Likewise.
32136 * math/s_cexp.c: Likewise.
32137 * math/s_cexpf.c: Likewise.
32138 * math/s_cexpl.c: Likewise.
32139 * math/s_clog.c: Likewise.
32140 * math/s_clog10.c: Likewise.
32141 * math/s_clog10f.c: Likewise.
32142 * math/s_clog10l.c: Likewise.
32143 * math/s_clogf.c: Likewise.
32144 * math/s_clogl.c: Likewise.
32145 * math/s_csin.c: Likewise.
32146 * math/s_csinf.c: Likewise.
32147 * math/s_csinh.c: Likewise.
32148 * math/s_csinhf.c: Likewise.
32149 * math/s_csinhl.c: Likewise.
32150 * math/s_csinl.c: Likewise.
32151 * math/s_csqrt.c: Likewise.
32152 * math/s_csqrtf.c: Likewise.
32153 * math/s_csqrtl.c: Likewise.
32154 * math/s_ctan.c: Likewise.
32155 * math/s_ctanf.c: Likewise.
32156 * math/s_ctanh.c: Likewise.
32157 * math/s_ctanhf.c: Likewise.
32158 * math/s_ctanhl.c: Likewise.
32159 * math/s_ctanl.c: Likewise.
32160 * math/s_ldexp.c: Likewise.
32161 * math/s_ldexpf.c: Likewise.
32162 * math/s_ldexpl.c: Likewise.
32163 * math/s_significand.c: Likewise.
32164 * math/s_significandf.c: Likewise.
32165 * math/s_significandl.c: Likewise.
32166 * math/w_acos.c: Likewise.
32167 * math/w_acosf.c: Likewise.
32168 * math/w_acosh.c: Likewise.
32169 * math/w_acoshf.c: Likewise.
32170 * math/w_acoshl.c: Likewise.
32171 * math/w_acosl.c: Likewise.
32172 * math/w_asin.c: Likewise.
32173 * math/w_asinf.c: Likewise.
32174 * math/w_asinl.c: Likewise.
32175 * math/w_atan2.c: Likewise.
32176 * math/w_atan2f.c: Likewise.
32177 * math/w_atan2l.c: Likewise.
32178 * math/w_atanh.c: Likewise.
32179 * math/w_atanhf.c: Likewise.
32180 * math/w_atanhl.c: Likewise.
32181 * math/w_cosh.c: Likewise.
32182 * math/w_coshf.c: Likewise.
32183 * math/w_coshl.c: Likewise.
32184 * math/w_dremf.c: Likewise.
32185 * math/w_exp10.c: Likewise.
32186 * math/w_exp10f.c: Likewise.
32187 * math/w_exp10l.c: Likewise.
32188 * math/w_exp2.c: Likewise.
32189 * math/w_exp2f.c: Likewise.
32190 * math/w_fmod.c: Likewise.
32191 * math/w_fmodf.c: Likewise.
32192 * math/w_fmodl.c: Likewise.
32193 * math/w_hypot.c: Likewise.
32194 * math/w_hypotf.c: Likewise.
32195 * math/w_hypotl.c: Likewise.
32196 * math/w_j0.c: Likewise.
32197 * math/w_j0f.c: Likewise.
32198 * math/w_j0l.c: Likewise.
32199 * math/w_j1.c: Likewise.
32200 * math/w_j1f.c: Likewise.
32201 * math/w_j1l.c: Likewise.
32202 * math/w_jn.c: Likewise.
32203 * math/w_jnf.c: Likewise.
32204 * math/w_jnl.c: Likewise.
32205 * math/w_lgamma.c: Likewise.
32206 * math/w_lgamma_r.c: Likewise.
32207 * math/w_lgammaf.c: Likewise.
32208 * math/w_lgammaf_r.c: Likewise.
32209 * math/w_lgammal.c: Likewise.
32210 * math/w_lgammal_r.c: Likewise.
32211 * math/w_log.c: Likewise.
32212 * math/w_log10.c: Likewise.
32213 * math/w_log10f.c: Likewise.
32214 * math/w_log10l.c: Likewise.
32215 * math/w_log2.c: Likewise.
32216 * math/w_log2f.c: Likewise.
32217 * math/w_log2l.c: Likewise.
32218 * math/w_logf.c: Likewise.
32219 * math/w_logl.c: Likewise.
32220 * math/w_pow.c: Likewise.
32221 * math/w_powf.c: Likewise.
32222 * math/w_powl.c: Likewise.
32223 * math/w_remainder.c: Likewise.
32224 * math/w_remainderf.c: Likewise.
32225 * math/w_remainderl.c: Likewise.
32226 * math/w_scalb.c: Likewise.
32227 * math/w_scalbf.c: Likewise.
32228 * math/w_scalbl.c: Likewise.
32229 * math/w_sinh.c: Likewise.
32230 * math/w_sinhf.c: Likewise.
32231 * math/w_sinhl.c: Likewise.
32232 * math/w_sqrt.c: Likewise.
32233 * math/w_sqrtf.c: Likewise.
32234 * math/w_sqrtl.c: Likewise.
32235 * math/w_tgamma.c: Likewise.
32236 * math/w_tgammaf.c: Likewise.
32237 * math/w_tgammal.c: Likewise.
32239 * po/ja.po: Update from translation team.
32241 2011-09-29 Andreas Jaeger <aj@suse.de>
32244 * sunrpc/netname.c (netname2host): Fix logic.
32248 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32250 * math/w_remainder.c (__remainder): Likewise.
32251 * math/w_remainderf.c (__remainderf): Likewise.
32252 * math/libm-test.inc (remainder_test): Add test cases.
32254 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32256 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32259 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32261 * string/test-memcmp.c: Avoid unncessary #defines.
32262 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32264 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32266 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32267 Use new sse2 version for core i3 - i7 as it's faster
32268 than sse42 version.
32269 (bit_Prefer_PMINUB_for_stringop): New.
32270 * sysdeps/x86_64/rawmemchr.S: Update.
32271 Replace with faster SSE2 version.
32272 * sysdeps/x86_64/memrchr.S: New file.
32273 * sysdeps/x86_64/memchr.S: Update.
32274 Replace with faster SSE2 version.
32276 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32278 * elf/dl-load.c (lose): Add cast to avoid warning.
32280 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32282 * po/ca.po: Update from translation team.
32284 * inet/getnetgrent_r.c: Hook up nscd.
32285 * nscd/Makefile (routines): Add nscd_netgroup.
32286 (nscd-modules): Add netgroupcache.
32287 (CFLAGS-netgroupcache.c): Define.
32288 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32289 (cache_search): Add const to second parameter.
32290 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32292 (dbs): Add netgrdb entry.
32293 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32294 (verify_persistent_db): Handle netgrdb.
32295 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32296 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32298 (netgroup_response_header): Define.
32299 (innetgroup_response_header): Define.
32300 (datahead): Add netgroup_response_header and innetgroup_response_header
32302 * nscd/nscd.conf: Add entries for netgroup cache.
32303 * nscd/nscd.h (dbtype): Add netgrdb.
32304 (_PATH_NSCD_NETGROUP_DB): Define.
32305 (netgroup_iov_disabled): Declare.
32306 (xmalloc, xcalloc, xrealloc): Move declarations here.
32307 (cache_search): Adjust prototype.
32308 Add netgroup-related prototypes.
32309 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32310 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32311 (__nscd_innetgr): Declare.
32312 * nscd/selinux.c (perms): Use access_vector_t as element type and
32313 add netgroup-related initializers.
32314 * nscd/netgroupcache.c: New file.
32315 * nscd/nscd_netgroup.c: New file.
32316 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32317 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32318 For four parameters use innetgr.
32319 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32320 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32321 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32322 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32324 * nscd/connections.c (register_traced_file): Don't register file
32325 for disabled databases.
32327 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32329 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32331 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32332 from tree and freeing node.
32334 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32336 * nss/nsswitch.c (__nss_database_lookup): Handle
32337 nss_parse_service_list out of memory case.
32339 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32341 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32342 out of memory case.
32344 2011-10-04 Andreas Schwab <schwab@redhat.com>
32346 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32347 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32349 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32350 elf_machine_rela, elf_machine_lazy_rel.
32351 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32352 (ELF_DYNAMIC_DO_REL): Likewise.
32353 (ELF_DYNAMIC_DO_RELA): Likewise.
32354 (ELF_DYNAMIC_RELOCATE): Likewise.
32355 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32356 to ELF_DYNAMIC_DO_REL.
32357 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32358 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32359 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32361 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32362 skip_ifunc, don't call ifunc function if non-zero.
32363 (elf_machine_rela): Likewise.
32364 (elf_machine_lazy_rel): Likewise.
32365 (elf_machine_lazy_rela): Likewise.
32366 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32367 (elf_machine_lazy_rel): Likewise.
32368 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32370 (elf_machine_lazy_rel): Likewise.
32371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32373 (elf_machine_lazy_rel): Likewise.
32374 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32375 (elf_machine_lazy_rel): Likewise.
32376 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32377 (elf_machine_lazy_rel): Likewise.
32378 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32379 (elf_machine_lazy_rel): Likewise.
32380 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32381 (elf_machine_lazy_rel): Likewise.
32382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32383 (elf_machine_lazy_rel): Likewise.
32384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32385 (elf_machine_lazy_rel): Likewise.
32387 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32389 * nss/nss_files/files-init.c (_nss_files_init): Use static
32390 initialization for all the *_traced_file variables.
32392 2011-09-28 Andreas Schwab <schwab@redhat.com>
32394 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32396 2011-09-27 Roland McGrath <roland@hack.frob.com>
32399 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32401 2011-09-27 Andreas Schwab <schwab@redhat.com>
32403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32404 Reread the line before reparsing it.
32406 2011-09-26 Andreas Schwab <schwab@redhat.com>
32408 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32410 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32411 Maxim Kuvyrkov <maxim@codesourcery.com>
32412 Joseph Myers <joseph@codesourcery.com>
32414 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32415 if needed for __stack_chk_guard.
32417 2011-09-19 Roland McGrath <roland@hack.frob.com>
32419 * sysdeps/posix/spawni.c (script_execute): Always define it.
32420 It will be optimized away if unused.
32421 (maybe_script_execute): New function.
32422 (__spawni): Call it.
32424 * Makerules: Don't include tls.make.
32425 (config-tls): Always set to thread.
32426 * tls.make.c: File removed.
32428 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32430 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32431 * config.make.in (CPPFLAGS-config): New substituted variable.
32433 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32435 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32438 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32439 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32441 2011-09-15 Roland McGrath <roland@hack.frob.com>
32443 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32444 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32446 (CALL_FAIL): Likewise.
32447 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32448 (CALL_FAIL): Macro removed.
32449 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32451 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32453 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32454 for __FINITE_MATH_ONLY__ == 1.
32456 2011-09-15 Andreas Schwab <schwab@redhat.com>
32458 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32459 __ieee754_sqrt instead of sqrt.
32460 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32461 __ieee754_sqrtf instead of sqrtf.
32462 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32463 __floorf instead of floorf.
32464 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32465 __floorf, __truncf instead of floorf, truncf.
32467 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32469 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32471 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32472 __extern_always_inline.
32473 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32476 2011-09-14 Andreas Schwab <schwab@redhat.com>
32478 * elf/rtld.c (dl_main): Also relocate in dependency order when
32479 doing symbol dependency testing.
32481 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32484 Always define `refsym'.
32486 2011-09-13 Andreas Schwab <schwab@redhat.com>
32488 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32489 (__FD_ELT): Renamed from __FDELT.
32490 * misc/bits/select2.h (__FD_ELT): Likewise.
32491 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32492 __FD_MASK instead of __FDELT, __FDMASK.
32493 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32495 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32498 * elf/Makefile (gen-ldd): Fix pattern.
32500 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32501 (init_tls): Likewise.
32503 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32507 2011-09-12 Andreas Schwab <schwab@redhat.com>
32509 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32510 `struct cmsghdr *' instead of `void *'.
32511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32514 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32516 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32518 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32519 ldd_rewrite_script.
32521 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32523 * configure.in: Remove --with-tls option.
32524 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32525 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32526 out in case it is missing.
32527 * sysdeps/ia64/elf/configure.in: Likewise.
32528 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32529 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32530 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32531 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32532 * sysdeps/sh/elf/configure.in: Likewise.
32533 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32534 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32535 * sysdeps/x86_64/elf/configure.in: Likewise.
32536 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32537 * sysdeps/mach/hurd/tls.h: Likewise.
32540 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32543 * configure.in: Fix use of AC_INIT.
32545 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32547 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32549 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32551 * malloc/hooks.c: Likewise.
32554 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32555 variables statically.
32556 (narenas): Initialize.
32557 (list_lock): Initialize.
32558 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32559 initializtion of main_arena and list_lock. Small cleanups.
32560 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32561 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32562 Add initializers to main_arena and mp_.
32563 (malloc_state): Remove pagesize member. Change all users to use
32566 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32567 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32568 is always initialized.
32570 * malloc/malloc.c: Removed unused configurations and dead code.
32571 * malloc/arena.c: Likewise.
32572 * malloc/hooks.c: Likewise.
32573 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32575 * include/tls.h: Removed. USE___THREAD must always be defined.
32576 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32577 * elf/dl-libc.c: Likewise.
32578 * elf/dl-tsd.c: Likewise.
32579 * include/errno.h: Likewise.
32580 * include/netdb.h: Likewise.
32581 * include/resolv.h: Likewise.
32582 * inet/herrno-loc.c: Likewise.
32583 * inet/herrno.c: Likewise.
32584 * malloc/arena.c: Likewise.
32585 * malloc/hooks.c: Likewise.
32586 * malloc/malloc.c: Likewise.
32587 * resolv/res-state.c: Likewise.
32588 * resolv/res_libc.c: Likewise.
32589 * sysdeps/i386/dl-machine.h: Likewise.
32590 * sysdeps/ia64/dl-machine.h: Likewise.
32591 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32592 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32593 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32594 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32595 * sysdeps/sh/dl-machine.h: Likewise.
32596 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32597 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32598 * sysdeps/unix/i386/sysdep.S: Likewise.
32599 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32600 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32601 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32605 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32609 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32610 * sysdeps/x86_64/dl-machine.h: Likewise.
32611 * tls.make.c: Likewise.
32613 * configure.in: Remove --with-__thread option. Make tests for
32614 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32615 tls_model attribute fail if no support is available. Remove
32617 * Makeconfig: Adjust for dropped configure option. All features are
32619 * Makerules: Likewise.
32620 * Versions.def: Likewise.
32621 * argp/argp-fmtstream.c: Likewise.
32622 * argp/argp-fmtstream.h: Likewise.
32623 * argp/argp-help.c: Likewise.
32624 * assert/assert.c: Likewise.
32625 * config.h.in: Likewise.
32626 * config.make.in: Likewise.
32627 * configure: Likewise.
32628 * configure.in: Likewise.
32629 * csu/Versions: Likewise.
32630 * csu/init.c: Likewise.
32631 * elf/tst-audit2.c: Likewise.
32632 * elf/tst-tls10.c: Likewise.
32633 * elf/tst-tls10.h: Likewise.
32634 * elf/tst-tls11.c: Likewise.
32635 * elf/tst-tls12.c: Likewise.
32636 * elf/tst-tls14.c: Likewise.
32637 * elf/tst-tlsmod11.c: Likewise.
32638 * elf/tst-tlsmod12.c: Likewise.
32639 * elf/tst-tlsmod13.c: Likewise.
32640 * elf/tst-tlsmod13a.c: Likewise.
32641 * elf/tst-tlsmod14a.c: Likewise.
32642 * elf/tst-tlsmod15b.c: Likewise.
32643 * elf/tst-tlsmod16a.c: Likewise.
32644 * elf/tst-tlsmod16b.c: Likewise.
32645 * elf/tst-tlsmod7.c: Likewise.
32646 * elf/tst-tlsmod8.c: Likewise.
32647 * elf/tst-tlsmod9.c: Likewise.
32648 * gmon/gmon.c: Likewise.
32649 * grp/fgetgrent_r.c: Likewise.
32650 * grp/putgrent.c: Likewise.
32651 * hurd/fopenport.c: Likewise.
32652 * include/libc-symbols.h: Likewise.
32653 * include/tls.h: Likewise.
32654 * intl/gettextP.h: Likewise.
32655 * intl/loadinfo.h: Likewise.
32656 * locale/global-locale.c: Likewise.
32657 * locale/localeinfo.h: Likewise.
32658 * mach/devstream.c: Likewise.
32659 * malloc/arena.c: Likewise.
32660 * malloc/set-freeres.c: Likewise.
32661 * misc/err.c: Likewise.
32662 * misc/getttyent.c: Likewise.
32663 * misc/mntent_r.c: Likewise.
32664 * posix/getopt.c: Likewise.
32665 * posix/wordexp.c: Likewise.
32666 * pwd/fgetpwent_r.c: Likewise.
32667 * resolv/Versions: Likewise.
32668 * resolv/res_hconf.c: Likewise.
32669 * shadow/fgetspent_r.c: Likewise.
32670 * shadow/putspent.c: Likewise.
32671 * stdio-common/printf_fphex.c: Likewise.
32672 * stdio-common/tmpfile.c: Likewise.
32673 * stdlib/abort.c: Likewise.
32674 * stdlib/fmtmsg.c: Likewise.
32675 * sunrpc/auth_unix.c: Likewise.
32676 * sunrpc/clnt_perr.c: Likewise.
32677 * sunrpc/clnt_tcp.c: Likewise.
32678 * sunrpc/clnt_udp.c: Likewise.
32679 * sunrpc/clnt_unix.c: Likewise.
32680 * sunrpc/openchild.c: Likewise.
32681 * sunrpc/svc_simple.c: Likewise.
32682 * sunrpc/svc_tcp.c: Likewise.
32683 * sunrpc/svc_udp.c: Likewise.
32684 * sunrpc/svc_unix.c: Likewise.
32685 * sunrpc/xdr.c: Likewise.
32686 * sunrpc/xdr_array.c: Likewise.
32687 * sunrpc/xdr_rec.c: Likewise.
32688 * sunrpc/xdr_ref.c: Likewise.
32689 * sunrpc/xdr_stdio.c: Likewise.
32691 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32693 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32695 2011-07-03 Andreas Jaeger <aj@suse.de>
32697 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32698 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32699 regenerate with gen-libm-tests.pl.
32701 2010-05-12 Petr Baudis <pasky@suse.cz>
32704 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32705 around j0() zero points by switching to j1().
32706 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32711 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32713 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32715 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32718 Patch in part by Pavel Roskin <proski@gnu.org>.
32721 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32723 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32724 Free memory block if necessary.
32727 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32728 be NULL. Don't lock in this case.
32730 2011-09-09 Roland McGrath <roland@hack.frob.com>
32732 * elf/elf.h (ELFOSABI_GNU): New macro.
32733 (ELFOSABI_LINUX): Define to that.
32735 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32737 * string/strncat.c (strncat): Undef the symbol in case it has been
32738 defined in bits/string.h.
32740 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32742 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32744 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32747 2011-08-17 Andreas Jaeger <aj@suse.de>
32749 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32751 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32752 Ian Lance Taylor <iant@google.com>
32754 * math/libm-test.inc (lround_test): New testcase.
32755 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32757 2011-09-08 Ulrich Drepper <drepper@gmail.com>
32759 * Makefile: Remove support for automatic cvs check-ins.
32760 * Makerules: Likewise.
32761 * config.make.in: Likewise.
32762 * configure.in: Likewise.
32763 * intl/Makefile: Likewise.
32764 * locale/Makefile: Likewise.
32765 * po/Makefile: Likewise.
32766 * posix/Makefile: Likewise.
32767 * sysdeps/gnu/Makefile: Likewise.
32768 * sysdeps/mach/hurd/Makefile: Likewise.
32769 * sysdeps/sparc/sparc32/Makefile: Likewise.
32772 * posix/Makefile (bug-regex32-ENV): Define.
32773 Patch by John Stanley <jpsinthemix@verizon.net>.
32775 * misc/Makefile (headers): Add bits/select2.h.
32776 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32777 * misc/bits/select2.h: New file.
32778 * include/bits/select2.h: New file.
32779 * debug/Makefile (routines): Add fdelt_chk.
32780 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32781 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32783 * debug/fdelt_chk.c: New file.
32785 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32786 * wcsmbs/test-wmemcmp.c: Likewise.
32787 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32788 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32790 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32792 * string/Makefile (strop-tests): Add memcmp.
32793 * string/test-wmemcmp.c: New file.
32794 * string/test-memcmp.c: Add wmemcmp support.
32796 2011-09-08 Roland McGrath <roland@hack.frob.com>
32799 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32802 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32803 garbage value in a __mach_port_mod_refs call in the cases of the
32804 task-self and thread-self ports.
32806 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32808 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32810 2011-09-08 Andreas Schwab <schwab@redhat.com>
32812 * elf/dl-load.c (lose): Check for non-null L.
32814 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32816 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32818 * elf/dl-libc.c (dlerror_run): Pass back error code from
32822 * elf/dl-load.c (lose): Free l_origin if it is valid.
32824 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32826 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32827 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32829 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32830 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32831 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32833 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32835 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32836 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32837 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32838 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32839 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32840 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32841 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32842 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32843 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32844 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32846 2011-08-15 Alan Modra <amodra@gmail.com>
32849 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32850 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32851 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32852 ppc_mcount to static-only-routines.
32853 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32855 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32856 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32858 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32860 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32861 for finite and infinity parameters.
32863 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32866 and add nop instructions for throughput optimization.
32867 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32869 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32871 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32872 aligned copy for power7 with vector-scalar instructions.
32873 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32875 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32880 2011-09-07 Andreas Schwab <schwab@redhat.com>
32883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32886 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32888 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32889 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32890 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32891 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32894 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32896 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32897 Forgot to demangle the pointer.
32899 * sysdeps/i386/sysdep.h: Define atom_text_section.
32900 * sysdeps/x86_64/sysdep.h: Likewise.
32901 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32902 section with atom_text_section.
32903 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32904 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32905 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32907 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32910 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32911 already be defined. Change to take two parameters and don't assign
32912 result to variable. Adjust all users.
32913 Define INTERNAL_GETTIME if not already defined.
32914 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32917 HAVE_CLOCK_GETTIME_VSYSCALL.
32918 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32920 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32921 gettimeofday vsyscall, just use time.
32923 2011-09-06 Andreas Schwab <schwab@redhat.com>
32925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32928 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32930 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32934 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32936 syscall if possible.
32938 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32940 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32941 e_ident. Don't pass to find_mapsXX.
32942 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32944 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32947 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32948 * sysdeps/x86_64/multiarch/strchr.S: Update.
32949 Check bit_slow_BSF bit.
32950 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32951 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32952 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32954 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32957 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32959 (tryshell): Define.
32960 (__spawni): Change last parameter to be flag. Test
32961 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32962 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32963 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32964 * posix/spawni.c: Likewise.
32965 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32966 * posix/spawnp.c: Likewise. Change normal version to use
32967 SPAWN_XFLAGS_USE_PATH.
32968 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32969 SPAWN_XFLAGS_TRY_SHELL.
32972 * posix/glob.h: Remove gcc 1.x support.
32975 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32977 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32980 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32982 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32983 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32984 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32985 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32986 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32987 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32989 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32991 * sysdeps/x86_64/wcscmp.S: New file.
32993 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32994 wcscmp-c wcscmp-sse2
32995 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32996 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32997 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32998 * wcsmbs/wcscmp.c: Allow renaming.
33000 2011-09-05 David S. Miller <davem@davemloft.net>
33002 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33003 stack slot, rather than the struct return pointer slot.
33004 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33005 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33007 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33009 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33011 * po/ja.po: Update from translation team.
33014 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33015 kernel in 64-bit binaries.
33017 2011-09-01 David S. Miller <davem@davemloft.net>
33019 * elf/elf.h (HWCAP_SPARC_*): Move to..
33020 * sysdeps/sparc/sysdep.h: this new file and add new values.
33021 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33022 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33023 _DL_HWCAP_COUNT to 24.
33024 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33026 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33027 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33028 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33030 instead of magic constants.
33031 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33033 2011-08-31 David S. Miller <davem@davemloft.net>
33035 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33037 Reimplement to do errno handling inline.
33038 (SYSCALL_ERROR_HANDLER): New macro.
33039 (__SYSCALL_STRING): Do not do errno handling in asm.
33040 (__CLONE_SYSCALL_STRING): Delete.
33041 (__INTERNAL_SYSCALL_STRING): Delete.
33042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33043 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33044 (PSEUDO): Reimplement to do errno handling inline.
33045 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33046 (SYSCALL_ERROR_HANDLER): New macro.
33047 (__SYSCALL_STRING): Do not do errno handling in asm.
33048 (__CLONE_SYSCALL_STRING): Delete.
33049 (__INTERNAL_SYSCALL_STRING): Delete.
33050 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33051 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33053 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33054 (inline_syscall*): Add 'err' argument.
33055 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33056 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33057 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33058 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33060 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33061 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33063 2011-08-30 Andreas Schwab <schwab@redhat.com>
33065 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33067 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33069 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33072 2011-08-24 David S. Miller <davem@davemloft.net>
33074 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33076 2011-08-24 Andreas Schwab <schwab@redhat.com>
33078 * elf/Makefile: Add rules to build and run unload8 test.
33079 * elf/unload8.c: New file.
33080 * elf/unload8mod1.c: New file.
33081 * elf/unload8mod1x.c: New file.
33082 * elf/unload8mod2.c: New file.
33083 * elf/unload8mod3.c: New file.
33085 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33088 2011-08-23 David S. Miller <davem@davemloft.net>
33090 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33091 subtract stack bias.
33092 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33093 %sp not %fp in calculations.
33094 (_JMPBUF_UNWINDS_ADJ): Likewise.
33096 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33097 (aio_suspend): Call it to force an exception region around the
33098 AIO_MISC_WAIT() invocation.
33100 2011-08-23 Andreas Schwab <schwab@redhat.com>
33102 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33105 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33107 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33109 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33110 and <dl-machine.h>.
33111 (Elf64_FuncDesc): Remove.
33113 2011-08-22 David S. Miller <davem@davemloft.net>
33115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33116 sigaltstack check, add missing cfi directives.
33117 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33118 missing cfi directives, and sigaltstack handling.
33120 2011-08-16 Andreas Schwab <schwab@redhat.com>
33123 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33124 object is seen twice.
33125 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33127 * elf/Makefile (distribute): Add tst-initorder2.c.
33128 (tests): Add tst-initorder2.
33129 (modules-names): Add tst-initorder2a tst-initorder2b
33130 tst-initorder2c tst-initorder2d. Add rules to build them.
33131 ($(objpfx)tst-initorder2.out): New rule.
33132 * elf/tst-initorder2.c: New file.
33133 * elf/tst-initorder2.exp: New file.
33135 2011-08-22 Andreas Schwab <schwab@redhat.com>
33137 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33139 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33140 dependencies back to end of function.
33142 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33143 $(elfobjdir)/ld.so.
33145 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33148 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33150 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33151 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33152 of __vdso_gettimeofday.
33153 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33154 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33156 (_libc_vdso_platform_setup): Remove initialization of
33157 __vdso_gettimeofday and __vdso_time.
33159 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33161 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33162 and fgetc_unlocked.
33163 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33166 * elf/dl-open.c (add_to_global): Report additions to the global scope
33167 for LD_DEBUG=scopes.
33168 (dl_open_worker): Also print scope of newly loaded dependencies.
33169 (_dl_show_scope): Indicate if there is no scope.
33172 * stdio-common/Makefile (tests): Add bug24.
33173 * stdio-common/bug24.c: New file.
33175 2011-08-19 Andreas Jaeger <aj@suse.de>
33178 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33179 non-existant file when using close-on-exec mode.
33181 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33184 the very first instruction.
33186 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33187 the CFI state in the end.
33188 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33189 inclusion of dl-trampoline.h.
33190 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33192 2011-08-19 Andreas Schwab <schwab@redhat.com>
33194 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33195 expectations for long double.
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33198 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33200 2011-08-14 David S. Miller <davem@davemloft.net>
33202 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33203 artificual limit depends upon the system page size.
33205 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33207 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33208 * resolv/Makefile: Define CFLAGS-libresolv.
33210 2011-08-17 Andreas Schwab <schwab@redhat.com>
33212 * nss/makedb.c (compute_tables): Make variables used in nested
33215 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33217 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33218 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33219 if buffer was too small.
33221 * elf/pldd.c (main): Attach to all threads in the process.
33222 Rewrite /proc handling to use *at functions.
33224 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33226 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33227 specifies first scope to show.
33228 (dl_open_worker): Update callers. Move printing scope of new
33229 object to before the relocation.
33230 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33231 * sysdeps/generic/ldsodefs.h: Update declaration.
33233 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33234 string for the scope number.
33236 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33238 * nscd/servicescache.c (cache_addserv): Make sure written is always
33241 2011-08-14 Roland McGrath <roland@hack.frob.com>
33243 * sysdeps/i386/i486/bits/atomic.h
33244 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33245 statement expression, so as to suppress "set but not used" warning.
33246 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33248 * string/strncat.c (STRNCAT): Use prototype definition.
33250 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33251 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33253 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33254 (localedef-modules): Add localedef.
33255 (locale-modules): Add locale.
33257 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33258 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33259 to avoid a warning.
33261 2011-08-14 David S. Miller <davem@davemloft.net>
33263 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33264 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33266 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33268 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33269 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33270 * elf/rtld.c (dl_main): Set l_name of vDSO.
33271 Call _dl_show_scope when DL_DEBUG_SCOPES.
33272 (process_dl_debug): Recognize scopes flag and also set it for all.
33273 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33274 Declare _dl_show_scope.
33276 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33277 (do_dlopen): Pass caller_dlopen to dl_open.
33278 (__libc_dlopen_mode): Initialize caller_dlopen.
33280 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33281 of libc. Make tolower call locale-independent. Optimize a bit by
33282 using isdigit instead of isalnum.
33283 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33285 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33287 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33288 was a dependency or dynamically loaded.
33290 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33292 * intl/l10nflist.c: Allow architecture-specific pop function.
33293 * sysdeps/x86_64/l10nflist.c: New file.
33295 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33298 2011-08-10 Andreas Schwab <schwab@redhat.com>
33300 * include/dirent.h: Add libc_hidden_proto for scandirat and
33301 scandirat64. Don't declare __scandirat64.
33302 * dirent/scandirat.c: Add libc_hidden_def.
33303 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33304 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33306 2011-08-10 David S. Miller <davem@davemloft.net>
33308 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33310 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33311 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33312 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33314 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33316 * Versions.def [libc]: Add GLIBC_2.15.
33317 * dirent/Makefile (routines): Add scandirat and scandirat64.
33318 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33320 * dirent/dirent.h: Declare scandirat and scandirat64.
33321 * dirent/scandirat.c: New file.
33322 * dirent/scandirat64.c: New file.
33323 * sysdeps/wordsize-64/scandirat.c: New file.
33324 * sysdeps/wordsize-64/scandirat64.c: New file.
33325 * dirent/opendir.c: Define opendirat.
33326 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33328 * dirent/scandir64.c: Adjust for scandir.c change.
33329 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33330 __scandirat64, and __scandir_cancel_handler.
33331 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33332 additional parameter and use openat instead of open (outside of ld.so).
33333 Add new __opendir as wrapper around __opendirat.
33334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33335 here without requiring old scandirat implementation.
33337 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33339 * dirent/scandir.c (cancel_handler): Renamed to
33340 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33341 defined. Adjust users.
33342 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33343 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33345 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33347 * string/test-string.h (IMPL): Use __STRING to expand name and then
33350 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33353 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33355 * string/Makefile: Update.
33356 (strop-tests): Append strncat.
33357 * string/test-wcscmp.c: New file.
33358 New comprehensive test for wcscmp.
33359 * string/test-strcmp.c: Update.
33360 (WIDE): New define.
33362 2011-07-22 Andreas Schwab <schwab@redhat.com>
33364 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33367 2011-07-26 Andreas Schwab <schwab@redhat.com>
33369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33370 encoding to ACE if AI_IDN.
33372 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33375 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33377 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33379 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33380 Fix overflow bug in strncat.
33381 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33383 * string/test-strncat.c: Update.
33384 Add new tests for checking overflow bugs.
33386 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33389 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33390 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33391 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33392 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33393 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33394 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33395 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33396 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33399 (USE_AS_STRCAT): Define.
33400 Add strcat and strncat support.
33401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33403 2011-07-25 Andreas Schwab <schwab@redhat.com>
33405 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33406 __n bigger than INT_MAX+1.
33407 (__strncmp_g): Likewise.
33409 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33411 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33412 * libio/stido.h: Likewise.
33414 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33419 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33420 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33422 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33426 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33431 (_dl_x86_64_save_sse): Likewise.
33433 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33437 (_dl_x86_64_save_sse): Likewise.
33439 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33441 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33443 2011-07-21 Andreas Schwab <schwab@redhat.com>
33445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33447 (_dl_x86_64_save_sse): Use correct AVX check.
33449 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33451 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33452 bug in strncpy/strncat.
33453 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33455 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33457 * string/tester.c (test_strcat): Add tests for different alignments
33458 of source and destination.
33459 (test_strncat): Likewise.
33461 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33464 * posix/glob.c (glob): Check passed in values before using them in
33465 expressions to avoid some overflows.
33466 (glob_in_dir): Likewise.
33469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33470 check for AVX enablement so that we don't crash with old kernels and
33472 * elf/tst-audit4.c: Add same checks here.
33473 * elf/tst-audit6.c: Likewise.
33475 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33477 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33479 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33481 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33483 * po/cs.po: Update from translation team.
33484 * po/bg.po: Likewise.
33486 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33488 * misc/sys/cdefs.h: Add support for const attribute.
33489 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33490 to gnu_dev_{major,minor,makedev} functions.
33492 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33494 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33496 2011-07-20 Andreas Schwab <schwab@redhat.com>
33498 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33501 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33504 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33505 register in order to avoid conflicts with the soft frame pointer
33506 being held in r11 when necessary.
33507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33508 (INTERNAL_VSYSCALL_NCS): Likewise.
33510 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33512 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33513 * elf/dl-fini.c (_dl_fini): Adjust caller.
33514 * elf/dl-close.c (_dl_close_worker): Likewise.
33515 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33517 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33519 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33520 "aux_cache->nlibs < 0".
33522 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33523 in the reload-count case.
33525 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33528 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33529 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33530 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33531 * sysdeps/x86_64/multiarch/strcat.S: New file.
33532 * sysdeps/x86_64/multiarch/strncat.S: New file.
33533 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33534 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33535 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33536 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33538 (USE_AS_STRCAT): Define.
33539 Add strcat and strncat support.
33540 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33541 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33542 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33543 * string/strncat.c: Update.
33544 (USE_AS_STRNCAT): Define.
33545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33546 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33548 * sysdeps/x86_64/multiarch/init-arch.h
33549 (bit_Prefer_PMINUB_for_stringop): New.
33550 (index_Prefer_PMINUB_for_stringop): Likewise.
33551 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33552 bit_Prefer_PMINUB_for_stringop.
33554 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33556 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33558 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33559 of casting of buffer.
33560 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33561 buffer32 and buffer64.
33562 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33563 writes instead of casting of buffer.
33564 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33566 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33569 2011-07-19 Andreas Schwab <schwab@redhat.com>
33571 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33573 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33575 * nscd/nscd.c (termination_handler): Don't do anything for a database
33576 if it has not yet been initialized.
33578 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33580 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33582 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33584 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33586 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33588 * po/nl.po: Update from translation team.
33589 * po/sv.po: Likewise.
33591 2011-07-16 Roland McGrath <roland@hack.frob.com>
33593 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33594 now disallowed by GCC.
33596 * configure.in (use-default-link): Default to yes if a test -shared
33597 link meets our qualifications.
33598 * configure: Regenerated.
33600 * config.make.in (output-format): New variable.
33601 * configure.in: Check for ld --print-output-format support.
33602 * configure: Regenerated.
33603 * Makerules ($(common-objpfx)format.lds)
33604 [$(output-format) != unknown]: Just use $(output-format),
33605 instead of the linker-script munging.
33607 2011-07-14 Roland McGrath <roland@hack.frob.com>
33609 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33610 of $(common-objpfx)shlib.lds.
33611 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33613 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33614 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33616 * configure.in (-z relro check): Adjust test code to add a large
33617 writable data section after it.
33618 * configure: Regenerated.
33620 2011-07-11 Roland McGrath <roland@hack.frob.com>
33622 * configure.in (-z relro check): Fix test code to make the variable
33624 * configure: Regenerated.
33626 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33628 * nscd/nscd.h (struct traced_file): Define.
33629 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33630 elements. Add traced_files.
33631 (inotify_fd): Declare.
33632 (register_traced_file): Declare.
33633 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33634 (inotify_fd): Export.
33635 (resolv_conf_descr): Remove.
33636 (nscd_init): Move inotify descriptor creation to main.
33637 Don't register files for notification here.
33638 (register_traced_file): New function.
33639 (invalidate_cache): Don't use reset_res to determine whether to call
33640 res_init, go through the list of registered files.
33641 (main_loop_poll): The inotify descriptors are now stored in the
33642 structures for the traced files.
33643 (main_loop_epoll): Likewise
33644 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33645 to __nss_disable_nscd.
33646 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33647 for a database anymore. Check the records for all the registered
33649 * nss/Makefile (libnss_files-routines): Add files-init.
33650 (libnss_db-routines): Add db-init.
33651 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33652 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33653 * nss/nss_db/db-init.c: New file.
33654 * nss/nss_files/files-init.c: New file.
33655 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33656 __nss_lookup_function.
33657 (__nss_lookup_function): Call nss_load_library.
33658 (nss_load_all_libraries): New function.
33659 (__nss_disable_nscd): Take parameter with callback function for files
33660 to register. Set is_nscd. Load all the DSOs for the NSS modules
33661 used for the cached services.
33662 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33663 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33664 options for features to all the files in nscd.
33666 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33668 2011-07-10 Roland McGrath <roland@hack.frob.com>
33670 * csu/elf-init.c (__libc_csu_init): Comment typo.
33672 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33674 * po/pl.po: Update from translation team.
33675 * po/ja.po: Likewise.
33676 * po/ru.po: Likewise.
33677 * po/ko.po: Likewise.
33678 * po/fr.po: Likewise.
33680 2011-07-09 Roland McGrath <roland@hack.frob.com>
33682 * configure.in (.ctors/.dtors header and trailer check):
33683 Use an empirical test on a built program.
33684 * configure: Regenerated.
33686 * configure.in (-z relro check): Use an empirical test on a built DSO.
33687 Detect, but do not require, on ia64.
33688 * configure: Regenerated.
33690 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33691 Update tests that use readelf to use $READELF instead.
33692 * configure: Regenerated.
33694 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33696 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33697 if the result is not used.
33699 2011-07-05 Andreas Jaeger <aj@suse.de>
33702 * stdlib/tst-strtod.c: Add testcase.
33704 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33706 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33707 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33708 The latter has a higher limit. Take additional parameter to pass to
33710 (__pathconf): Pass file to __statfs_link_max.
33711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33713 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33717 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33720 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33721 (__statfs_filesize_max): Likewise.
33722 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33724 2011-07-05 Andreas Jaeger <aj@suse.de>
33726 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33728 2011-07-06 Marek Polacek <mpolacek@redhat.com>
33730 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33732 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33735 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33737 * Makefile (strop-tests): Add strncat.
33738 * string/test-strncat.c: New file.
33740 2011-06-30 Marek Polacek <mpolacek@redhat.com>
33742 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33744 2011-06-21 Andreas Jaeger <aj@suse.de>
33746 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33747 Copy rule from iconvdata/Makefile.
33749 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33752 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33753 but no long options are defined, just return 'W'.
33755 2011-06-22 Marek Polacek <mpolacek@redhat.com>
33758 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33760 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33762 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33764 (innetgr): Likewise.
33766 2011-07-05 Roland McGrath <roland@hack.frob.com>
33768 * config.make.in (install_root): Default to $(DESTDIR).
33770 2011-07-05 Ulrich Drepper <drepper@gmail.com>
33772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33774 2011-07-02 Roland McGrath <roland@hack.frob.com>
33776 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33778 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33779 containing directory rather than embedding absolute directory names.
33781 * scripts/check-local-headers.sh: Rewritten using awk.
33782 Match by word, not by line. Print error messages for matches.
33783 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33785 * Makerules [shlib-lds-flags empty]:
33786 ($(common-objpfx)libc_pic.opts): New target.
33787 ($(common-objpfx)libc_pic.os.clean): New target.
33788 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33790 * config.make.in (OBJCOPY): New variable.
33791 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33792 * configure: Regenerated.
33794 * config.make.in (use-default-link): New variable.
33795 * configure.in (use_default_link): Grok --with-default-link to set it.
33796 * configure: Regenerated.
33797 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33798 (shlib-lds, shlib-lds-flags): Define to empty.
33800 * Makerules (shlib-lds): New variable.
33801 (shlib-lds-flags): New variable.
33802 (build-shlib, build-moduile, build-module-asneeded): Use it.
33803 ($(common-objpfx)libc.so): Use $(shlib-lds).
33804 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33805 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33807 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33808 DT_FLAGS/DT_FLAGS_1 with zero flags.
33810 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33811 linker script munging.
33813 2011-07-02 Ulrich Drepper <drepper@gmail.com>
33815 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33817 * crypt/sha512.c (sha512_process_block): Perform total addition using
33818 128-bit if possible.
33819 (__sha512_finish_ctx): Likewise.
33820 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33822 * crypt/sha256.c (SWAP64): Define.
33823 (sha256_process_block): Perform total addition using 64-bit if
33825 (__sha256_finish_ctx): Likewise.
33827 2011-07-01 Ulrich Drepper <drepper@gmail.com>
33829 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33831 * nscd/hstcache.c (cache_addhst): Likewise.
33832 * nscd/grpcache.c (cache_addgr): Likewise.
33833 * nscd/aicache.c (addhstaiX): Likewise
33834 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33836 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33838 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33840 * nscd/hstcache.c (cache_addhst): Likewise.
33841 * nscd/grpcache.c (cache_addgr): Likewise.
33842 * nscd/aicache.c (addhstaiX): Likewise
33844 2011-07-01 Andreas Schwab <schwab@redhat.com>
33846 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33847 domain only when needed.
33849 2011-06-30 Andreas Schwab <schwab@redhat.com>
33851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33852 is always restored.
33854 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33856 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33857 are re-adding the entry.
33858 * nscd/servicescache.c (cache_addserv): Likewise.
33860 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33862 * sysdeps/generic/dl-irel.h: fix protection against multiple
33864 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33866 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33869 * malloc/memusage.sh: Fix quoting in message.
33870 * debug/xtrace.sh: Likewise.
33872 * configure.in: Remove support for --experimental-malloc option, make
33874 * config.make.in: Likewise.
33875 * malloc/Makefile: Likewise.
33877 2011-06-27 Andreas Schwab <schwab@redhat.com>
33879 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33880 two-byte characters.
33882 2011-06-27 Roland McGrath <roland@hack.frob.com>
33884 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33885 AC_CACHE_CHECK invocation.
33886 * configure: Regenerated.
33888 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33890 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33893 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33894 bit from old_res_options.
33896 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33898 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33899 value type for setfct.
33901 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33904 __gettimeofday instead of gettimeofday.
33906 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33908 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33910 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33912 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33914 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33917 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33920 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33921 strcpy-sse2-unaligned strncpy-sse2-unaligned
33922 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33923 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33924 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33925 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33926 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33927 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33928 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33929 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33930 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33931 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33932 (STRCPY): Support SSE2 and SSSE3 versions.
33934 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33937 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33938 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33939 kernels which artificially limit size of requests.
33941 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33944 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33945 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33946 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33947 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33948 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33949 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33950 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33951 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33952 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33953 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33954 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33955 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33956 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33957 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33959 Enable unaligned load optimization for Intel Core i3, i5 and i7
33961 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33963 (index_Fast_Unaligned_Load): Define.
33964 (HAS_FAST_UNALIGNED_LOAD): Define.
33966 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33968 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33970 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33973 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33974 until it is clear that the information is realy needed.
33975 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33977 2011-06-22 Andreas Schwab <schwab@redhat.com>
33979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33981 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33984 /sys/devices/system/cpu/online if it is usable.
33986 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33987 reading the information from the /proc filesystem to once a second.
33989 2011-06-21 Andreas Jaeger <aj@suse.de>
33991 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33992 NULL after inclusion of kernel headers.
33994 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33996 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33997 calls to internal_setent.
34000 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34001 addresses using gethostbyname4_r ignore IPv4 addresses.
34003 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34004 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34006 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34008 2011-06-20 David S. Miller <davem@davemloft.net>
34010 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34012 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34014 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34015 (elf_irel): Use it.
34016 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34017 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34018 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34019 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34020 * sysdeps/x86_64/dl-irel.h: Likewise.
34022 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34023 * elf/dl-sym.c: Likewise.
34025 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34027 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34028 need to dereference resplen2.
34030 2011-06-14 Andreas Schwab <schwab@redhat.com>
34032 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34034 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34036 * Makeconfig: Define vardbdir and inst_vardbdir.
34037 * nss/Makefile: Add rules to install db-Makefile.
34039 * nss/nss_db/db-XXX.c: Cleanup.
34041 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34042 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34044 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34045 * nss/makedb.c: Implement -g option to specify that value strings
34046 are generated and should not be added to table iterated over for
34048 * nss/nss_db/db-initgroups.c: New file.
34050 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34053 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34054 (internal_getgrouplist): Adjust to name change.
34055 Update use_initgroups_entry if this is not the first call.
34056 * nss/databases.def: Add initgroups entry.
34058 * nss/makedb.c (compute_tables): Check result of multiple hash table
34059 sizes to minimize maximum chain length.
34061 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34063 * Versions.def: Add entry for libnss_db.
34064 * shlib-versions: Likewise.
34065 * nss/Makefile: Add rules to build libnss_db.
34066 * nss/Versions: Add libnss_db information. Organize libnss_files
34068 * nss/db-Makefile: Add gshadow support. Change rules for the new
34069 makedb progra. Some minor improvements to generate smaller files.
34070 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34072 * nss/makedb.c: ...here.
34073 Improve database format to be smaller and require less memory at
34075 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34077 * nss/nss_db/db-netgrp.c: Likewise.
34078 * nss/nss_db/db-open.c: Likewise.
34079 * nss/nss_files/flies-XXX.x: Adjust comments.
34080 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34081 * nss/nss_files/files-grp.c: Likewise.
34082 * nss/nss_files/files-hosts.c: Likewise.
34083 * nss/nss_files/files-network.c: Likewise.
34084 * nss/nss_files/files-proto.c: Likewise.
34085 * nss/nss_files/files-pwd.c: Likewise.
34086 * nss/nss_files/files-rpc.c: Likewise.
34087 * nss/nss_files/files-service.c: Likewise.
34088 * nss/nss_files/files-sgrp.c: Likewise.
34089 * nss/nss_files/files-spwd.c: Likewise.
34090 * nss/nss_db/db-alias.c: Removed.
34091 * nss/nss_db/dummy-db.h: Removed.
34093 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34095 * nss/makedb.c: Rewritten to not use database library.
34096 * nss/Makefile: Update to build new makedb program.
34098 2011-06-14 Andreas Jaeger <aj@suse.de>
34100 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34101 memset declaration.
34103 2011-06-10 Andreas Schwab <schwab@redhat.com>
34105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34108 2011-06-10 Roland McGrath <roland@hack.frob.com>
34110 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34111 * elf/Makefile ($(objpfx)ld.so): Likewise.
34113 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34114 Don't list ld.so twice in dependencies.
34116 * posix/bug-regex31.c: Include <stdlib.h>.
34118 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34120 * nis/nss_compat/compat-spwd.c
34121 (getspent_next_nss_netgr): Remove unused variable.
34122 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34124 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34125 nonmembers" output to use the right array.
34127 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34129 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34131 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34132 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34133 * catgets/gencat.c (read_input_file): Likewise.
34134 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34136 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34137 variable definition inside #if's controlling its use.
34139 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34141 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34143 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34145 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34148 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34150 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34151 * configure: Regenerated.
34153 * Makerules: Revert last change.
34154 * elf/Makefile: Likewise.
34156 2011-06-09 Roland McGrath <roland@hack.frob.com>
34158 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34159 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34160 (reloc-link): Likewise.
34162 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34164 * elf/Makefile: Add rules to build pldd.
34165 * elf/pldd.c: New file.
34166 * elf/pldd-xx.c: New file.
34168 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34170 * version.h: Update for 2.15 development version.
34172 2011-06-07 David S. Miller <davem@davemloft.net>
34174 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34176 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34177 elf_machine_lazy_rel): Likewise.
34178 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34179 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34180 elf_machine_lazy_rel): Likewise.
34181 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34182 dl_hwcap via passed in argument.
34183 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34186 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34188 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34190 2011-06-06 Roland McGrath <roland@hack.frob.com>
34193 * manual/fdl-1.1.texi: New file, verbatim from:
34194 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34195 * manual/lgpl-2.1.texi: New file, verbatim from:
34196 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34197 * manual/Makefile (licenses): New variable, list those new file names.
34199 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34201 * manual/fdl.texi: File removed.
34202 * manual/lesser.texi: File removed.
34203 * manual/libc.texinfo (Copying, Documentation License):
34204 Use new @include file names, put @appendix directive before @include.
34206 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34209 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34210 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34211 (mq_open): Add __NTH.
34213 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34216 Assume Intel Core i3/i5/i7 processor if AVX is available.
34218 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34223 2011-05-31 Andreas Schwab <schwab@redhat.com>
34225 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34226 memory. Use alloca_account. Fix memory leak when retrying.
34228 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34230 * version.h (RELEASE): Bump for 2.14 release.
34231 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34233 * config.make.in (RANLIB): Remove entry.
34235 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34237 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34238 (libc.pot): Work around missing support for .ksh extension in xgettext.
34241 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34242 if both request failed.
34243 (send_dg): In case of server errors clear resplen or *resplen2.
34246 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34247 when there are multiple maps.
34248 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34249 (_dl_fini): Remove test here.
34251 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34253 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34256 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34257 bit from old_res_options.
34258 (gaih_inet): Likewise.
34261 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34264 * resolv/res_init.c (res_setoptions): Make the code more compact.
34267 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34271 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34273 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34276 * malloc/malloc.h: Declare malloc hook variables as volatile.
34278 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34282 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34283 raise in the comment.
34284 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34286 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34288 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34291 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34292 grow the buffers more if it already has to be sufficient.
34293 (build_wcs_upper_buffer): Likewise.
34294 * posix/regexec.c (check_matching): Likewise.
34295 (clean_state_log_if_needed): Likewise.
34296 (extend_buffers): Don't enlarge buffers beyond size of the input
34298 Patches mostly by Emil Wojak <emil@wojak.eu>.
34299 * posix/bug-regex32.c: New file.
34300 * posix/Makefile (tests): Add bug-regex32.
34302 * locale/findlocale.c (_nl_find_locale): Return right away if
34303 _nl_explode_name failed.
34304 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34306 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34308 * debug/xtrace.sh: Unify messages.
34309 * malloc/memusage.sh: Likewise.
34312 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34313 time symbol from vDSO. Substitute with vsyscall if not available.
34314 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34317 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34318 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34319 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34320 Add sendmmsg and internal_sendmmsg.
34321 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34322 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34323 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34325 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34326 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34329 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34332 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34333 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34335 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34339 * iconvdata/Makefile (tests): Add bug-iconv9.
34340 * iconvdata/bug-iconv9.c: New file.
34342 2011-05-27 Andreas Schwab <schwab@redhat.com>
34345 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34347 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34349 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34350 (struct user_regs_struct): Change intcs field back to cs.
34352 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34354 * po/ja.po: Update from translation team.
34356 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34359 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34360 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34362 2011-05-20 Andreas Schwab <schwab@redhat.com>
34364 * stdlib/longlong.h: Update from GCC.
34366 2011-05-23 Andreas Schwab <schwab@redhat.com>
34368 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34370 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34371 Add parameter name.
34372 (__sysconf): Pass it down.
34374 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34377 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34379 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34380 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34381 add in in __libc_use_alloca calls. Adjust callers.
34382 (glob): Use malloc in some situations.
34384 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34385 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34388 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34390 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34391 and CLOCK_BOOTTIME_ALARM.
34394 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34397 * string/_strerror.c (__strerror_r): Print negative errors as signed
34401 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34402 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34403 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34405 * configure.in: Fix typo in redirection and correct removal of test
34406 files in two cases.
34409 * locale/setlocale.c (new_composite_name): Fix test to check for
34410 identical name of all categories.
34413 * libio/filedoalloc.c (local_isatty): New function.
34414 (_IO_file_doallocate): Use local_isatty.
34415 * stdio-common/perror.c (perror): In case a new stream is used
34416 forward the stream error.
34417 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34420 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34425 * include/alloca.h (extend_alloca_account): Define.
34428 * posix/regex.h: Fix comments with documentation of user-accessible
34429 fields after compilation and describe correct free'ing of pattern
34430 after re_compile_pattern.
34431 Patch by Reuben Thomas <rrt@sc3d.org>.
34433 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34435 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34436 and -mno-altivec to prevent the compiler from using Altivec and/or
34437 VSX instructions when the corresponding registers are not available.
34439 2011-05-19 Andreas Schwab <schwab@redhat.com>
34441 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34443 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34445 * libio/freopen.c (freopen): Use __dup2, not dup2.
34446 * libio/freopen64.c (freopen64): Likewise.
34448 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34451 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34452 * math/Makefile (tests): Add test-powl.
34453 (CFLAGS-test-powl.c): Define.
34454 * math/test-powl.c: New file.
34456 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34458 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34460 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34463 * iconvdata/gb18030.c: Update to GB18020-2005.
34465 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34467 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34468 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34469 Patch by Aharon Robbins <arnold@skeeve.com>.
34472 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34476 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34477 through underflows.
34480 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34481 point to strings before performing equality test for error_one_per_line
34485 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34489 (struct user_fpregs_struct): Avoid __uint*_t types.
34492 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34493 symbol info. Use it instead of calling _dl_addr locally.
34494 (lock_and_info): New function.
34495 (tr_freehook): Call lock_and_info and pass symbol info as additional
34496 parameter to tr_where.
34497 (tr_mallochook): Likewise.
34498 (tr_reallochook): Likewise.
34499 (tr_memalignhook): Likewise.
34501 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34502 used and couldn't be at all thread-safe.
34504 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34506 * libio/freopen.c (freopen): Don't close old file descriptor
34507 before the new one is opened. Instead dup the new file descriptor
34508 to the old one after the new stream is created.
34509 * libio/freopen64.c (freopen64): Likewise.
34510 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34511 * libio/fileops.c (_IO_new_file_close_it): Handle new
34512 _IO_FLAGS2_NOCLOSE flag.
34513 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34514 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34515 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34516 _IO_FLAGS2_NOCLOSE flag.
34517 * include/unistd.h: Add hidden_proto for dup3.
34518 Define __have_dup3.
34519 * io/dup3.c: Define hidden symbol.
34520 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34523 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34524 when an incomplete long option is used.
34525 * posix/tst-getopt_long1.c: New file.
34526 * posix/Makefile (tests): Add tst-getopt_long1.
34529 * scripts/config.guess: Update from autoconf-2.68.
34530 * scripts/config.sub: Likewise.
34533 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34535 (has_cpuclock): ...this. New function.
34536 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34537 macro here based on has_cpuclock code.
34540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34541 First byte (not low byte) is now always NUL.
34542 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34544 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34545 Use non-cancelable interfaces.
34548 * locale/iso-639.def: Add entry for Sorani.
34551 * include/stdlib.h: Move include protection to the right place.
34552 Define abort_msg_s. Declare __abort_msg with it.
34553 * stdlib/abort.c (__abort_msg): Adjust type.
34554 * assert/assert.c (__assert_fail_base): New function. Majority
34555 of code from __assert_fail. Allocate memory for __abort_msg with
34557 (__assert_fail): Now call __assert_fail_base.
34558 * assert/assert-perr.c: Remove bulk of implementation. Use
34559 __assert_fail_base.
34560 * include/assert.hL Declare __assert_fail_base.
34561 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34563 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34565 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34569 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34570 until all modules are registered in the DTV.
34571 * elf/Makefile: Add rules to build and run tst-tls19.
34572 * elf/tst-tls19.c: New file.
34573 * elf/tst-tls19mod1.c: New file.
34574 * elf/tst-tls19mod2.c: New file.
34575 * elf/tst-tls19mod3.c: New file.
34576 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34579 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34583 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34584 two-byte sequence errors.
34585 * iconvdata/Makefile (tests): Add bug-iconv8.
34586 * iconvdata/bug-iconv8.c: New file.
34589 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34592 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34595 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34596 (dummy_getcfa): New function.
34597 (init): Get _Unwind_GetCFA address, use dummy if not found.
34598 (backtrace_helper): In recursion check, also check whether CFA changes.
34599 (__backtrace): Completely initialize arg.
34601 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34602 storing incomplete byte sequence in state object. Avoid testing for
34603 guaranteed too small input if we know there is enough data available.
34605 2011-05-11 Andreas Schwab <schwab@redhat.com>
34607 * Makeconfig (+link-pie): Indent.
34608 * Rules (binaries-pie): Define if $(have-fpie) and
34610 (binaries-shared): Also filter out $(binaries-pie).
34611 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34612 * nscd/Makefile (others-pie): Add nscd.
34613 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34614 ($(objpfx)nscd): Remove command override.
34615 * login/Makefile (others-pie): Add pt_chown.
34616 ($(objpfx)pt_chown): Remove command override.
34617 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34618 remove command overrides.
34620 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34622 * libio/tst_putwc.c: Fix error messages.
34625 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34626 currently writing and seek to current position when not.
34627 * libio/Makefile (tests): Add bug-fclose1.
34628 * libio/bug-fclose1.c: New file.
34630 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34633 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34634 don't set DF_1_NODELETE here.
34635 (do_lookup_x): When entering new entry test for copy relocation
34636 and if necessary set DF_1_NODELETE flag.
34637 * elf/tst-unique4.cc: New file.
34638 * elf/tst-unique4.h: New file.
34639 * elf/tst-unique4lib.cc: New file.
34640 * elf/Makefile: Add rules to build and run tst-unique4.
34641 Patch by Piotr Bury <pbury@goahead.com>.
34643 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34646 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34649 * misc/mntent_r.c (addmntent): Flush the stream after the output
34652 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34653 (is_trusted_path_normalize): Skip initial colon. Append slash
34654 to empty buffer. Duplicate is_trusted_path code but allow
34655 constructed patch to be prefix.
34656 (is_dst): Allow $ORIGIN followed by /.
34657 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34658 Correct testing of result of is_trusted_path_normalize
34659 (decompose_rpath): Fix warning.
34661 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34664 * grp/initgroups.c (internal_getgrouplist): When we found the service
34665 list through the initgroups entry in nsswitch.conf do not always
34666 continue on a successful lookup. Don't always use the
34667 __nss_group_database value if it is set.
34668 * nss/nsswitch.conf (initgroups): Change action for successful db
34669 lookup to continue for compatibility.
34671 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34674 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34676 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34678 * iconvdata/tst-tables.sh: Likewise.
34679 * iconvdata/cp770.c: New file.
34680 * iconvdata/cp771.c: New file.
34681 * iconvdata/cp772.c: New file.
34682 * iconvdata/cp773.c: New file.
34683 * iconvdata/cp774.c: New file.
34684 * iconvdata/testdata/CP770: New file.
34685 * iconvdata/testdata/CP770..UTF8: New file.
34686 * iconvdata/testdata/CP771: New file.
34687 * iconvdata/testdata/CP771..UTF8: New file.
34688 * iconvdata/testdata/CP772: New file.
34689 * iconvdata/testdata/CP772..UTF8: New file.
34690 * iconvdata/testdata/CP773: New file.
34691 * iconvdata/testdata/CP773..UTF8: New file.
34692 * iconvdata/testdata/CP774: New file.
34693 * iconvdata/testdata/CP774..UTF8: New file.
34695 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34697 * iconvdata/gen-8bit-gap.sh: Likewise.
34698 * iconvdata/gen-8bit.sh: Likewise.
34700 * locale/iso-639.def: Add ary entry.
34703 * locale/C-translit.h.in: Add U20A1 transliteration.
34706 * locale/iso-639.def: Add wae entry.
34707 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34710 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34714 * locale/C-translit.h.in: Add entry for U20B9.
34715 Patch by pravin.d.s@gmail.com.
34717 2011-05-08 Ulrich Drepper <drepper@gmail.com>
34720 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34721 ENAMETOOLONG use generic getcwd.
34722 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34723 in rtld. Use *stat64.
34724 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34725 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34726 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34727 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34728 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34729 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34730 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34731 __fstatat64 macros.
34732 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34733 * dirent/rewinddir.c: Add libc_hidden_def.
34734 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34735 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34737 * include/dirent.h (__alloc_dir): Add flags parameter.
34738 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34739 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34741 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34742 from fdopendir if O_CLOEXEC is already set.
34744 2011-03-15 Alan Modra <amodra@gmail.com>
34746 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34747 l_tls_firstbyte_offset non-zero. Save padding offset in
34748 l_tls_firstbyte_offset for later use.
34749 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34750 freeing static tls block.
34752 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34754 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34755 where #ifdef was intended. The intent is to prevent ARG_MAX from
34756 being defined by the kernel headers.
34758 2011-05-07 Ulrich Drepper <drepper@gmail.com>
34761 * resolv/resolv.h: Define RES_NOTLDQUERY.
34762 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34763 no-tld-query and set RES_NOTLDQUERY.
34764 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34765 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34766 modern BIND to search name as TLD unless forbidden.
34768 2011-05-07 Petr Baudis <pasky@suse.cz>
34769 Ulrich Drepper <drepper@gmail.com>
34772 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34773 (is_trusted_path): ...to here.
34774 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34775 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34776 using is_trusted_path_normalize() in setuid scripts.
34778 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34780 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34781 __BEGIN/__END_DECLS.
34783 2011-05-06 Ulrich Drepper <drepper@gmail.com>
34785 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34786 NSS_STATUS_NOTFOUND if no record was found.
34788 2011-05-05 Andreas Schwab <schwab@redhat.com>
34790 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34791 (headers-not-in-tirpc): Remove rpc/netdb.h
34792 * resolv/netdb.h: Revert last change.
34794 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34796 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34797 circular dependency between libgcc.a and libc.a.
34799 2011-05-05 Andreas Schwab <schwab@redhat.com>
34801 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34802 * nis/Makefile: Don't install rpcsvc/*.
34803 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34804 instead of <rpc/types.h>.
34805 (MAXHOSTNAMELEN): Define.
34807 2011-05-03 Andreas Schwab <schwab@redhat.com>
34809 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34811 2011-04-28 Maciej Babinski <mbabinski@google.com>
34814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34815 gethostbyname4_r when IPv6 results are possible.
34817 2011-05-02 Ulrich Drepper <drepper@gmail.com>
34820 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34821 _PC_PIPE_BUF handling.
34823 2011-04-30 Bruno Haible <bruno@clisp.org>
34826 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34827 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34829 * inet/getnameinfo.c (getnameinfo): Likewise.
34831 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34833 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34834 to groups setting in database lookup.
34835 * nss/nsswitch.conf: Add initgroups entry.
34837 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34840 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34842 Patch by Eric Blake <eblake@redhat.com>.
34844 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34846 * sunrpc/Makefile (need-export-routines): Add svc_run.
34847 (routines): Remove svc_run.
34848 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34849 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34850 * sunrpc/svc_run.c (svc_run): Likewise.
34851 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34853 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34856 problem in reallocation in last patch.
34858 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34860 * sunrpc/Makefile: Move inclusion of Rules.
34862 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34864 * nss/nss_files/files-initgroups.c: New file.
34865 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34866 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34867 _nss_files_initgroups_dyn.
34869 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34871 * elf/elf.h (R_ARM_IRELATIVE): Define.
34873 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34875 * po/ru.po: Update from translation team.
34877 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34879 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34882 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34885 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34886 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34887 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34891 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34893 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34899 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34902 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34904 * stdlib/bug-getcontext.c: New file.
34905 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34907 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34909 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34910 instructions into .machine "z9-109".
34911 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34912 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34914 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34916 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34917 between environment variables and auxiliary vector.
34919 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34921 * Makefile: Add rules to build linkobj/libc.so.
34922 * include/libc-symbols.h: Define libc_hidden_nolink.
34923 * include/rpc/auth.h: Mark functions which are to be hidden.
34924 * include/rpc/auth_des.h: Likewise.
34925 * include/rpc/auth_unix.h: Likewise.
34926 * include/rpc/clnt.h: Likewise.
34927 * include/rpc/des_crypt.h: Likewise.
34928 * include/rpc/key_prot.h: Likewise.
34929 * include/rpc/pmap_clnt.h: Likewise.
34930 * include/rpc/pmap_prot.h: Likewise.
34931 * include/rpc/pmap_rmt.h: Likewise.
34932 * include/rpc/rpc_msg.h: Likewise.
34933 * include/rpc/svc.h: Likewise.
34934 * include/rpc/svc_auth.h: Likewise.
34935 * include/rpc/xdr.h: Likewise.
34936 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34937 * nss/Makefile: Likewise.
34938 * sunrpc/Makefile: Don't install headers. Build library with normal
34939 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34940 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34941 for the compat linking library. Remove use of INTDEF/INTUSE.
34942 * sunrpc/auth_none.c: Likewise.
34943 * sunrpc/auth_unix.c: Likewise.
34944 * sunrpc/authdes_prot.c: Likewise.
34945 * sunrpc/authuxprot.c: Likewise.
34946 * sunrpc/clnt_gen.c: Likewise.
34947 * sunrpc/clnt_perr.c: Likewise.
34948 * sunrpc/clnt_raw.c: Likewise.
34949 * sunrpc/clnt_simp.c: Likewise.
34950 * sunrpc/clnt_tcp.c: Likewise.
34951 * sunrpc/clnt_udp.c: Likewise.
34952 * sunrpc/clnt_unix.c: Likewise.
34953 * sunrpc/des_crypt.c: Likewise.
34954 * sunrpc/des_soft.c: Likewise.
34955 * sunrpc/get_myaddr.c: Likewise.
34956 * sunrpc/key_call.c: Likewise.
34957 * sunrpc/key_prot.c: Likewise.
34958 * sunrpc/netname.c: Likewise.
34959 * sunrpc/pm_getmaps.c: Likewise.
34960 * sunrpc/pm_getport.c: Likewise.
34961 * sunrpc/pmap_clnt.c: Likewise.
34962 * sunrpc/pmap_prot.c: Likewise.
34963 * sunrpc/pmap_prot2.c: Likewise.
34964 * sunrpc/pmap_rmt.c: Likewise.
34965 * sunrpc/publickey.c: Likewise.
34966 * sunrpc/rpc_cmsg.c: Likewise.
34967 * sunrpc/rpc_common.c: Likewise.
34968 * sunrpc/rpc_dtable.c: Likewise.
34969 * sunrpc/rpc_prot.c: Likewise.
34970 * sunrpc/rpc_thread.c: Likewise.
34971 * sunrpc/rtime.c: Likewise.
34972 * sunrpc/svc.c: Likewise.
34973 * sunrpc/svc_auth.c: Likewise.
34974 * sunrpc/svc_authux.c: Likewise.
34975 * sunrpc/svc_raw.c: Likewise.
34976 * sunrpc/svc_run.c: Likewise.
34977 * sunrpc/svc_simple.c: Likewise.
34978 * sunrpc/svc_tcp.c: Likewise.
34979 * sunrpc/svc_udp.c: Likewise.
34980 * sunrpc/svc_unix.c: Likewise.
34981 * sunrpc/svcauth_des.c: Likewise.
34982 * sunrpc/xcrypt.c: Likewise.
34983 * sunrpc/xdr.c: Likewise.
34984 * sunrpc/xdr_array.c: Likewise.
34985 * sunrpc/xdr_float.c: Likewise.
34986 * sunrpc/xdr_intXX_t.c: Likewise.
34987 * sunrpc/xdr_mem.c: Likewise.
34988 * sunrpc/xdr_rec.c: Likewise.
34989 * sunrpc/xdr_ref.c: Likewise.
34990 * sunrpc/xdr_sizeof.c: Likewise.
34991 * sunrpc/xdr_stdio.c: Likewise.
34993 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34996 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34997 * sysdeps/ia64/dl-tls.h: Likewise.
34998 * sysdeps/powerpc/dl-tls.h: Likewise.
34999 * sysdeps/s390/dl-tls.h: Likewise.
35000 * sysdeps/sh/dl-tls.h: Likewise.
35001 * sysdeps/sparc/dl-tls.h: Likewise.
35002 * sysdeps/x86_64/dl-tls.h: Likewise.
35003 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35005 2011-03-14 Andreas Schwab <schwab@redhat.com>
35007 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35008 rpath element also skip the following colon.
35009 (expand_dynamic_string_token): Add is_path parameter and pass
35010 down to DL_DST_REQUIRED and _dl_dst_substitute.
35011 (decompose_rpath): Call expand_dynamic_string_token with
35012 non-zero is_path. Ignore empty rpaths.
35013 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35016 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35021 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35024 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35025 Patch by Filipe David Manana <fdmanana@apache.org>.
35027 2011-04-07 Andreas Schwab <schwab@redhat.com>
35029 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35030 Maintain aligned stack.
35031 (CHECK_RSP): Remove unused macro.
35033 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35035 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35036 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35038 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35040 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35042 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35044 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35047 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35048 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35049 * sysdeps/x86_64/memmove.c: New file.
35050 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35051 (memcpy): Renamed to ...
35052 (__new_memcpy): This.
35053 (memcpy): Provide GLIBC_2_14 memcpy.
35054 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35055 (memcpy): Provide GLIBC_2_2_5 memcpy.
35057 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35060 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35062 2011-03-30 Andreas Schwab <schwab@redhat.com>
35064 * misc/syncfs.c: New file.
35065 * misc/Makefile (routines): Add syncfs.
35066 * posix/unistd.h: Declare syncfs.
35067 * sysdeps/unix/syscalls.list: Add syncfs.
35069 2011-04-01 Andreas Schwab <schwab@redhat.com>
35071 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35076 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35078 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35081 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35084 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35085 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35089 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35091 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35092 sync_file_range.c with -fexceptions.
35093 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35094 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35095 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35096 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35097 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35098 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35100 sync_file_range as cancellation point
35101 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35102 now a wrapper around __call_sync_file_range with cancellation handling.
35103 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35104 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35105 function name to __call_sync_file_range.
35106 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35107 Add call_sync_file_range.
35109 2011-04-01 Andreas Schwab <schwab@redhat.com>
35111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35114 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35116 * iconv/iconv.h: Fix typo in comment.
35117 * io/fcntl.h: Likewise.
35118 * libio/stdio.h: Likewise.
35119 * posix/spawn.h: Likewise.
35120 * posix/unistd.h: Likewise.
35121 * stdlib/stdlib.h: Likewise.
35122 * time/time.h: Likewise.
35123 * wcsmbs/wchar.h: Likewise.
35125 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35126 open_by_handle): Add.
35127 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35128 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35129 Augment a few comments.
35130 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35135 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35138 * io/fcntl.h (AT_EMPTY_PATH): Define.
35140 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35142 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35143 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35144 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35146 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35147 * Versions.def: Add GLIBC_2.14.
35148 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35151 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35153 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35155 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35157 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35160 * string/test-strncmp.c (do_page_test): New function.
35161 (check2): Likewise.
35162 (test_main): Call check2.
35163 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35165 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35168 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35169 Handle cache information in CPU leaf 4.
35170 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35172 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35175 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35176 character representation.
35177 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35179 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35181 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35182 END(__isnan) to END(__isnanf) to match function entry point/label
35183 EALIGN(__isnanf,...).
35185 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35187 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35189 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35192 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35193 copy from the symbol referenced in the relocation to initialize the
35195 Patch by Piotr Bury <pbury@goahead.com>.
35196 * elf/Makefile: Add rules to build and tst-unique3.
35197 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35198 * elf/tst-unique3.cc: New file.
35199 * elf/tst-unique3.h: New file.
35200 * elf/tst-unique3lib.cc: New file.
35201 * elf/tst-unique3lib2.cc: New file.
35203 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35205 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35207 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35208 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35211 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35213 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35214 to-be-loaded object along a path to loader is ld.so.
35216 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35217 Ulrich Drepper <drepper@gmail.com>
35219 * sysdeps/x86_64/memset.S: After aligning destination, code
35220 branches to different locations depending on the value of
35221 misalignment, when multiarch is enabled. Fix this.
35223 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35225 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35226 Set _x86_64_preferred_memory_instruction for AMD processsors.
35227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35228 Set bit_Prefer_SSE_for_memop for AMD processors.
35230 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35232 * libio/fmemopen.c (fmemopen): Optimize a bit.
35234 2011-03-03 Andreas Schwab <schwab@redhat.com>
35236 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35238 2011-03-03 Roland McGrath <roland@redhat.com>
35240 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35242 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35244 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35245 __bzero_ultra1 instead of __memset_ultra1.
35247 2011-02-23 Andreas Schwab <schwab@redhat.com>
35248 Ulrich Drepper <drepper@gmail.com>
35251 * include/link.h (struct link_map): Add l_orig_initfini.
35252 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35253 returning unsuccessfully.
35254 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35255 close of a file loaded at startup, restore the original l_initfini
35257 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35258 list, store the pointer.
35259 * elf/Makefile ($(objpfx)noload-mem): New rule.
35260 (noload-ENV): Define.
35261 (tests): Add $(objpfx)noload-mem.
35262 * elf/noload.c: Include <memcheck.h>.
35263 (main): Call mtrace. Close all opened handles.
35265 2011-02-17 Andreas Schwab <schwab@redhat.com>
35268 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35269 dependencies are missing.
35271 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35273 Fix __if_freereq crash: Unlike the generic version which uses free,
35275 * sysdeps/mach/hurd/ifreq.h: New file.
35277 2011-01-27 Petr Baudis <pasky@suse.cz>
35278 Ulrich Drepper <drepper@gmail.com>
35281 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35282 to extend_alloca().
35283 * stdio-common/bug23.c: New file.
35284 * stdio-common/Makefile (tests): Add bug23.
35286 2010-09-28 Andreas Schwab <schwab@redhat.com>
35287 Ulrich Drepper <drepper@gmail.com>
35290 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35291 before performing relro protection. At old place add assertion
35292 to make sure nothing changed.
35294 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35295 Glauber de Oliveira Costa <glommer@gmail.com>
35297 * elf/elf.h: Add new ARM TLS relocs.
35299 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35302 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35304 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35306 * sysdeps/wordsize-64/tst-writev.c: New file.
35308 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35310 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35311 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35312 insns in _dl_start to prevent a TOC reference before relocs are
35315 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35318 * Makeconfig: Remove RANLIB definition.
35319 * Makerules: Don't use RANLIB.
35320 * aclocal.m4: Remove ranlib test.
35321 * configure.in: No need to check for ranlib.
35322 * elf/rtld-Rules: Don't use RANLIB.
35324 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35326 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35328 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35329 inclusion protection macro.
35331 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35332 SIGRTMIN and SIGRTMAX and print information in that case only when
35333 SIGRTMIN is defined.
35335 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35337 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35338 arginfo fn returning -1.
35340 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35341 and thousands string is zero terminated.
35343 2011-02-03 Andreas Schwab <schwab@redhat.com>
35345 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35346 sysdeps/unix/sysv/linux/bits/socket.h.
35348 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35350 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35351 (__CPU_COUNT): Remove old macros.
35352 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35353 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35354 (__CPU_ALLOC, __CPU_FREE): Add macros.
35355 (__sched_cpualloc, __sched_cpufree): Add declarations.
35357 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35359 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35360 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35361 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35362 (readdhstai): Return value of addhstaiX call.
35363 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35364 (addgrbyX): Return value returned by cache_addgr.
35365 (readdgrbyname): Return value returned by addgrbyX.
35366 (readdgrbygid): Likewise.
35367 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35368 (addpwbyX): Return value returned by cache_addpw.
35369 (readdpwbyname): Return value returned by addhstbyX.
35370 (readdpwbyuid): Likewise.
35371 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35372 (addservbyX): Return value returned by cache_addserv.
35373 (readdservbyname): Return value returned by addservbyX:
35374 (readdservbyport): Likewise.
35375 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35376 (addhstbyX): Return value returned by cache_addhst.
35377 (readdhstbyname): Return value returned by addhstbyX.
35378 (readdhstbyaddr): Likewise.
35379 (readdhstbynamev6): Likewise.
35380 (readdhstbyaddrv6): Likewise.
35381 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35382 (readdinitgroups): Return value returned by addinitgroupsX.
35383 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35384 (prune_cache): Keep track of timeout value of re-added entries.
35385 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35386 * nscd/nscd.h: Adjust prototypes of readd* functions.
35388 2011-02-04 Roland McGrath <roland@redhat.com>
35390 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35391 (nis_stats): Likewise.
35392 * nis/nis_modify.c (nis_modify): Likewise.
35393 * nis/nis_remove.c (nis_remove): Likewise.
35394 * nis/nis_add.c (nis_add): Likewise.
35396 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35398 * posix/fnmatch_loop.c: Add some consts.
35400 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35402 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35405 * config.make.in (config-cflags-novzeroupper): Define.
35406 * configure.in: Substitute libc_cv_cc_novzeroupper.
35407 * elf/Makefile (AVX-CFLAGS): Define.
35408 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35409 (CFLAGS-tst-auditmod4a.c): Likewise.
35410 (CFLAGS-tst-auditmod4b.c): Likewise.
35411 (CFLAGS-tst-auditmod6b.c): Likewise.
35412 (CFLAGS-tst-auditmod6c.c): Likewise.
35413 (CFLAGS-tst-auditmod7b.c): Likewise.
35414 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35416 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35418 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35419 function to the callback.
35420 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35422 2011-02-02 Andreas Schwab <schwab@redhat.com>
35424 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35427 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35430 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35432 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35434 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35437 * elf/Makefile: Add rules to build and run new test.
35438 * elf/tst-initorder.c: New file.
35439 * elf/tst-initorder.exp: New file.
35440 * elf/tst-initordera1.c: New file.
35441 * elf/tst-initordera2.c: New file.
35442 * elf/tst-initordera3.c: New file.
35443 * elf/tst-initordera4.c: New file.
35444 * elf/tst-initorderb1.c: New file.
35445 * elf/tst-initorderb2.c: New file.
35446 * elf/tst-order-a1.c: New file.
35447 * elf/tst-order-a2.c: New file.
35448 * elf/tst-order-a3.c: New file.
35449 * elf/tst-order-a4.c: New file.
35450 * elf/tst-order-b1.c: New file.
35451 * elf/tst-order-b2.c: New file.
35452 * elf/tst-order-main.c: New file.
35453 New test case by George Gensure <werkt0@gmail.com>.
35455 2010-10-01 Andreas Schwab <schwab@redhat.com>
35457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35458 decoding ACE if AI_CANONIDN.
35460 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35462 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35464 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35466 * version.h (RELEASE): Bump for 2.13 release.
35467 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35469 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35471 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35473 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35474 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35475 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35476 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35478 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35480 * posix/getconf.c: Update copyright year.
35481 * catgets/gencat.c: Likewise.
35482 * csu/version.c: Likewise.
35483 * debug/catchsegv.sh: Likewise.
35484 * debug/xtrace.sh: Likewise.
35485 * elf/ldconfig.c: Likewise.
35486 * elf/ldd.bash.in: Likewise.
35487 * elf/sprof.c (print_version): Likewise.
35488 * iconv/iconv_prog.c: Likewise.
35489 * iconv/iconvconfig.c: Likewise.
35490 * locale/programs/locale.c: Likewise.
35491 * locale/programs/localedef.c: Likewise.
35492 * malloc/memusage.sh: Likewise.
35493 * malloc/mtrace.pl: Likewise.
35494 * nscd/nscd.c (print_version): Likewise.
35495 * nss/getent.c: Likewise.
35497 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35498 PF_CAIF, and PF_ALG.
35499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35501 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35503 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35504 (modules-names): Use them.
35505 (ifunc-test-modules, ifunc-pie-tests): Define.
35506 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35507 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35508 (test-extras): Likewise.
35509 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35510 $(compile-command.c).
35511 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35512 (all-built-dso): Define.
35513 (check-textrel.out, check-execstack.out): Depend on it.
35515 * configure.in: Don't override --enable-multi-arch.
35517 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35520 * nscd/hstcache.c (tryagain): Define.
35521 (cache_addhst): Return tryagain not notfound for temporary errors.
35522 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35525 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35528 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35529 to make the syscall.
35530 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35533 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35534 and fall back to matching as normal character if the string ends before
35535 the matching ']' is found. This is what POSIX requires.
35536 * posix/testfnm.c: Adjust test result.
35537 * posix/globtest.sh: Adjust test result. Add new test.
35538 * posix/tst-fnmatch.input: Likewise.
35539 * posix/tst-fnmatch2.c: Add new test.
35541 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35543 * elf/Makefile (check-execstack): Revert last change. Depend on
35545 (check-execstack.h): New target.
35546 (generated): Add check-execstack.h.
35547 * elf/check-execstack.c: Include "check-execstack.h".
35548 (main): Revert last change.
35549 (handle_file): Return zero if GNU_STACK is absent and
35550 DEFAULT_STACK_PERMS doesn't include PF_X.
35552 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35554 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35555 in child fails because the descriptor is already closed.
35556 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35557 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35558 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35561 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35565 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35566 temporary buffer used to handle multi lookups locally.
35567 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35569 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35571 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35574 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35576 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35577 alignment for SSE2.
35579 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35582 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35583 characters. When rounding increased number of integer digits recompute
35585 * stdio-common/tst-grouping.c: New file.
35586 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35588 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35590 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35591 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35593 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35595 * bits/select.h: Likewise.
35597 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35599 * po/ja.po: Update from translation team.
35601 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35604 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35605 implementation just like for lxstat, fxstatat, et al.
35607 2010-12-27 Jim Meyering <meyering@redhat.com>
35610 * posix/regexec.c (build_trtable): Return failure indication upon
35611 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35613 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35616 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35617 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35618 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35622 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35625 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35626 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35628 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35630 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35631 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35632 script has SORT_BY_INIT_PRIORITY.
35633 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35634 NO_CTORS_DTORS_SECTIONS is defined.
35635 * elf/soinit.c: Likewise.
35636 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35637 NO_CTORS_DTORS_SECTIONS is defined.
35638 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35639 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35640 * sysdeps/sh/init-first.c: Likewise.
35641 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35643 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35645 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35646 always use the slow path.
35648 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35650 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35651 similar rule which adds the sysdep directories to the header search in
35652 order to pick up the correct platform stackinfo.h.
35653 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35654 perform test if it is, otherwise return successfully without testing.
35655 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35656 DEFAULT_STACK_PERMS define in stackinfo.h.
35657 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35658 defined in stackinfo.h.
35659 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35660 DEFAULT_STACK_PERMS defined in stackinfo.h.
35661 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35662 * sysdeps/ia64/stackinfo.h: Likewise.
35663 * sysdeps/s390/stackinfo.h: Likewise.
35664 * sysdeps/sh/stackinfo.h: Likewise.
35665 * sysdeps/sparc/stackinfo.h: Likewise.
35666 * sysdeps/x86_64/stackinfo.h: Likewise.
35667 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35668 PF_X for powerpc64. Retain PF_X for powerpc32.
35670 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35672 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35674 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35675 GETDENTS_64BIT_ALIGNED.
35677 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35679 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35681 2010-12-10 Andreas Schwab <schwab@redhat.com>
35683 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35686 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35687 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35689 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35690 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35692 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35695 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35698 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35700 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35702 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35704 * po/it.po: Update from translation team.
35706 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35711 2010-11-30 Ulrich Drepper <drepper@gmail.com>
35713 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35715 2010-11-24 Andreas Schwab <schwab@redhat.com>
35717 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35719 (gaih_getanswer_slice): Likewise.
35721 2010-10-20 Jakub Jelinek <jakub@redhat.com>
35723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35725 2010-05-31 Petr Baudis <pasky@suse.cz>
35728 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35729 silently even in the chroot mode.
35731 2010-11-22 Ulrich Drepper <drepper@gmail.com>
35733 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35734 last patch a bit. Pretty printing
35736 2010-05-31 Petr Baudis <pasky@suse.cz>
35739 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35740 initialization of skip_initgroups_dyn.
35742 2010-11-19 Ulrich Drepper <drepper@gmail.com>
35744 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35745 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35747 2010-11-16 Ulrich Drepper <drepper@gmail.com>
35749 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35751 2010-11-11 Andreas Schwab <schwab@redhat.com>
35753 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35754 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35755 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35756 ($(objpfx)tst-fnmatch-mem): New rule.
35757 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35758 * posix/tst-fnmatch.c (main): Call mtrace.
35760 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35763 Support Intel processor model 6 and model 0x2c.
35765 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
35767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35770 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35773 * string/test-strncasecmp.c (check_result): New function.
35774 (do_one_test): Use it.
35775 (check1): New function.
35776 (test_main): Use it.
35777 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35778 Support strcasecmp and strncasecmp.
35780 2010-11-08 Ulrich Drepper <drepper@gmail.com>
35783 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35784 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35786 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35788 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35792 * sysdeps/x86_64/multiarch/bzero.S: New file.
35793 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35794 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35795 * sysdeps/x86_64/multiarch/memset.S: New file.
35796 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35798 Set bit_Prefer_SSE_for_memop for Intel processors.
35799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35801 (index_Prefer_SSE_for_memop): Define.
35802 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35804 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35806 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35807 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35809 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35812 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35813 (__x86_64_raw_data_cache_size_half): Likewise.
35814 (__x86_64_raw_shared_cache_size): Likewise.
35815 (__x86_64_raw_shared_cache_size_half): Likewise.
35817 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35818 (__x86_64_raw_data_cache_size_half): Likewise.
35819 (__x86_64_raw_shared_cache_size): Likewise.
35820 (__x86_64_raw_shared_cache_size_half): Likewise.
35821 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35822 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35823 and __x86_64_raw_shared_cache_size_half. Round
35824 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35825 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35826 to multiple of 256 bytes.
35828 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35831 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35832 of inacessible symlinks. Verify result of symlink before returning it.
35833 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35834 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35836 2010-10-28 Erich Ritz <erichritz@gmail.com>
35838 * math/math.h (isinf): Fix typo in comment.
35840 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35842 * po/da.po: Update from translation team.
35844 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35846 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35847 is added to the list.
35849 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35850 Ulrich Drepper <drepper@gmail.com>
35852 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35853 the global list here. Move code to...
35854 (_dl_add_to_namespace_list): ...here. New function.
35855 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35856 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35857 * elf/dl-load.c (lose): Don't remove the element from the list.
35858 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35859 (_dl_map_object): Likewise.
35861 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35864 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35865 into all bytes of SSE register.
35866 Patch by Richard Li <richardpku@gmail.com>.
35868 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35871 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35874 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35876 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35877 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35878 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35879 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35884 2010-10-22 Andreas Schwab <schwab@redhat.com>
35886 * include/dlfcn.h (__RTLD_SECURE): Define.
35887 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35888 mode & __RTLD_SECURE instead.
35889 (open_path): Rename preloaded parameter to secure.
35890 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35891 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35892 * elf/dl-deps.c (openaux): Likewise.
35893 * elf/rtld.c (struct map_args): Remove is_preloaded.
35894 (map_doit): Don't use it.
35895 (dl_main): Likewise.
35896 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35897 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35899 2010-09-09 Andreas Schwab <schwab@redhat.com>
35901 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35902 (sysd-rules-targets): Remove duplicates.
35903 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35904 rtld-%.$o dependency.
35906 2010-10-18 Andreas Schwab <schwab@redhat.com>
35908 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35909 _dl_map_object do it.
35911 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35913 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35914 fast fma builtins, define the macros in the C99 standard.
35915 (FP_FAST_FMAF): Likewise.
35916 (FP_FAST_FMAL): Likewise.
35917 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35919 * bits/mathdef.h: Update copyright year.
35920 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35922 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35924 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35925 builtins, define the macros in the C99 standard.
35926 (FP_FAST_FMAF): Likewise.
35927 (FP_FAST_FMAL): Likewise.
35928 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35930 (FP_FAST_FMAF): Likewise.
35932 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35935 * math/libm-test.inc (fma_test): Some new testcases.
35936 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35937 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35938 y and infinite z. Do multiplication by C already in long double.
35939 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35941 y and infinite z. Do bitwise or of inexact bit into u.d.
35942 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35943 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35944 * sysdeps/i386/fpu/s_fma.S: Removed.
35945 * sysdeps/i386/fpu/s_fmal.S: Removed.
35947 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35950 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35952 computation is not scheduled after fetestexcept. Fix value
35953 of minimum denormal long double.
35955 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35958 * math/libm-test.inc (fma_test): Add some more tests.
35959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35962 2010-10-15 Andreas Schwab <schwab@redhat.com>
35964 * scripts/data/localplt-s390-linux-gnu.data: New file.
35965 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35967 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35970 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35971 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35973 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35975 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35977 if one of x and y is very large and the other is subnormal.
35978 * sysdeps/s390/fpu/s_fmaf.c: New file.
35979 * sysdeps/s390/fpu/s_fma.c: New file.
35980 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35981 * sysdeps/powerpc/fpu/s_fma.S: New file.
35982 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35983 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35984 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35986 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35989 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35991 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35992 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35993 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35994 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35995 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35996 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35997 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35999 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36002 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36003 * posix/bug-regex31.input: Add test case.
36005 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36007 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36008 * posix/bug-regex31.input: New file.
36011 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36012 (parse_sub_exp): Fix last change, use postorder.
36014 * posix/bug-regex31.c: New file.
36015 * posix/Makefile: Add rules to build and run bug-regex31.
36017 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36020 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36023 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36024 to have entries in sys_siglist.
36027 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36030 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36033 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36034 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36035 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36036 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36037 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36038 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36039 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36040 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36041 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36042 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36043 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36044 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36045 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36046 * math/ftestexcept.c (fetestexcept): Likewise.
36047 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36048 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36049 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36050 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36051 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36052 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36053 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36055 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36058 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36061 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36063 * string/bug-strstr1.c: New file.
36064 * string/Makefile: Add rules to build and run bug-strstr1.
36066 2010-10-05 Eric Blake <eblake@redhat.com>
36069 * string/str-two-way.h (two_way_long_needle): Always clear memory
36070 when skipping input due to the shift table.
36072 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36075 * malloc/mcheck.c: Handle large requests.
36078 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36079 for strncmp and strncasecmp.
36080 * string/stratcliff.c: Add tests for strcmp and strncmp.
36081 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36083 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36085 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36088 2010-09-30 Andreas Jaeger <aj@suse.de>
36090 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36091 (CGROUP_SUPER_MAGIC): Define.
36092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36093 Handle btrfs and cgroup file systems.
36094 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36097 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36099 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36100 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36102 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36105 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36106 trying to locate the ELF header.
36108 2010-09-27 Andreas Schwab <schwab@redhat.com>
36111 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36112 Mask out sign-bit copies when constructing f_fsid.
36114 2010-09-24 Petr Baudis <pasky@suse.cz>
36116 * debug/stack_chk_fail_local.c: Add missing licence exception.
36117 * debug/warning-nop.c: Likewise.
36119 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36121 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36122 implementing getdents64 using getdents syscall, set d_type if
36123 __ASSUME_GETDENTS32_D_TYPE.
36125 2010-09-16 Andreas Schwab <schwab@redhat.com>
36127 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36128 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36130 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36133 * posix/unistd.h: Undo change of feature selection for ftruncate from
36136 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36138 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36141 2010-09-20 Andreas Schwab <schwab@redhat.com>
36143 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36145 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36147 2010-09-14 Andreas Schwab <schwab@redhat.com>
36149 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36150 variables after CHECK_SP call.
36151 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36153 2010-09-13 Andreas Schwab <schwab@redhat.com>
36154 Ulrich Drepper <drepper@redhat.com>
36156 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36157 re-relocationg ld.so.
36158 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36159 _dl_init_paths call.
36160 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36163 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36165 * resolv/res_init.c (__res_vinit): Count the default server we added.
36167 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36168 Ulrich Drepper <drepper@redhat.com>
36171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36172 (____longjmp_chk): Use %ebx for saving value across system call.
36175 2010-09-06 Andreas Schwab <schwab@redhat.com>
36177 * manual/Makefile: Don't mix pattern rules with normal rules.
36179 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36181 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36183 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36184 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36185 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36186 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36187 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36190 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36193 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36194 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36196 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36198 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36199 * sysdeps/x86_64/addmul_1.S: Likewise.
36200 * sysdeps/x86_64/lshift.S: Likewise.
36201 * sysdeps/x86_64/mul_1.S: Likewise.
36202 * sysdeps/x86_64/rshift.S: Likewise.
36203 * sysdeps/x86_64/sub_n.S: Likewise.
36204 * sysdeps/x86_64/submul_1.S: Likewise.
36206 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36208 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36209 Define __sched_param instead of SCHED_* and sched_param when
36210 <bits/sched.h> is included with __need_schedparam defined.
36211 * bits/sched.h [__need_schedparam]
36212 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36213 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36214 (__defined_schedparam): Define to 1.
36215 (__sched_param): New structure, identical to sched_param.
36216 (__need_schedparam): Undefine.
36218 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36220 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36221 (epoll_create1): Declare.
36223 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36225 2010-08-31 Andreas Schwab <schwab@redhat.com>
36228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36229 shifting retval into place.
36231 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36233 * nis/rpcsvc/nis.h: Update copyright notice.
36234 * nis/rpcsvc/nis.x: Likewise.
36235 * nis/rpcsvc/nis_callback.h: Likewise.
36236 * nis/rpcsvc/nis_callback.x: Likewise.
36237 * nis/rpcsvc/nis_object.x: Likewise.
36238 * nis/rpcsvc/nis_tags.h: Likewise.
36239 * nis/rpcsvc/yp.h: Likewise.
36240 * nis/rpcsvc/yp.x: Likewise.
36241 * nis/rpcsvc/ypupd.h: Likewise.
36242 * nis/yp_xdr.c: Likewise.
36243 * nis/ypupdate_xdr.c: Likewise.
36245 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36246 mainly the body of pmap_getport. Add parameters to specify timeouts.
36247 (pmap_getport): Use __libc_rpc_getport.
36248 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36249 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36250 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36252 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36257 2010-08-27 Roland McGrath <roland@redhat.com>
36259 * sysdeps/i386/i686/multiarch/Makefile
36260 (CFLAGS-varshift.c): New variable.
36262 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36264 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36265 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36269 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36271 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36273 * sysdeps/x86_64/strlen.S: Unroll the loop.
36274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36275 strlen-sse2 strlen-sse2-bsf.
36276 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36277 __strlen_no_bsf if bit_Slow_BSF is set.
36278 (__strlen_sse42): Removed.
36279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36280 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36282 2010-08-25 Roland McGrath <roland@redhat.com>
36284 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36285 * sysdeps/x86_64/multiarch/varshift.c: New file.
36286 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36287 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36288 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36289 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36291 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36294 strlen-sse2 strlen-sse2-bsf.
36295 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36296 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36297 (__strlen_sse2): Removed.
36298 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36301 bit_Slow_BSF for Atom.
36302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36303 (index_Slow_BSF): Define.
36304 (HAS_SLOW_BSF): Define.
36306 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36309 * resolv/res_init.c (__res_vinit): When no server address at all
36310 is given default to loopback.
36312 2010-08-24 Roland McGrath <roland@redhat.com>
36314 * configure.in: Remove config-name.h generation.
36315 * configure: Regenerated.
36316 * config-name.in: File removed.
36317 * scripts/config-uname.sh: New file.
36318 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36319 ($(objdir)config-name.h): New target.
36321 * sunrpc/rpc_parse.h: Avoid nested comment.
36323 2010-08-24 Richard Henderson <rth@redhat.com>
36324 Ulrich Drepper <drepper@redhat.com>
36325 H.J. Lu <hongjiu.lu@intel.com>
36327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36329 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36330 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36331 _mm_alignr_epi8 with _mm_loadu_si128.
36332 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36333 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36334 (__m128i_shift_right): Removed.
36335 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36336 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36337 * sysdeps/x86_64/multiarch/varshift.h: New file.
36338 * sysdeps/x86_64/multiarch/varshift.S: New file.
36340 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36342 * configure.in: Move assembler checks to before sysdep dir checking.
36344 2010-08-20 Petr Baudis <pasky@suse.cz>
36346 * LICENSES: Sync the sunrpc license.
36348 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36350 * sunrpc/auth_des.c: Update copyright notice once again.
36351 * sunrpc/auth_none.c: Likewise.
36352 * sunrpc/auth_unix.c: Likewise.
36353 * sunrpc/authdes_prot.c: Likewise.
36354 * sunrpc/authuxprot.c: Likewise.
36355 * sunrpc/bindrsvprt.c: Likewise.
36356 * sunrpc/clnt_gen.c: Likewise.
36357 * sunrpc/clnt_perr.c: Likewise.
36358 * sunrpc/clnt_raw.c: Likewise.
36359 * sunrpc/clnt_simp.c: Likewise.
36360 * sunrpc/clnt_tcp.c: Likewise.
36361 * sunrpc/clnt_udp.c: Likewise.
36362 * sunrpc/clnt_unix.c: Likewise.
36363 * sunrpc/des_crypt.c: Likewise.
36364 * sunrpc/des_soft.c: Likewise.
36365 * sunrpc/get_myaddr.c: Likewise.
36366 * sunrpc/getrpcport.c: Likewise.
36367 * sunrpc/key_call.c: Likewise.
36368 * sunrpc/key_prot.c: Likewise.
36369 * sunrpc/openchild.c: Likewise.
36370 * sunrpc/pm_getmaps.c: Likewise.
36371 * sunrpc/pm_getport.c: Likewise.
36372 * sunrpc/pmap_clnt.c: Likewise.
36373 * sunrpc/pmap_prot.c: Likewise.
36374 * sunrpc/pmap_prot2.c: Likewise.
36375 * sunrpc/pmap_rmt.c: Likewise.
36376 * sunrpc/rpc/auth.h: Likewise.
36377 * sunrpc/rpc/auth_unix.h: Likewise.
36378 * sunrpc/rpc/clnt.h: Likewise.
36379 * sunrpc/rpc/des_crypt.h: Likewise.
36380 * sunrpc/rpc/key_prot.h: Likewise.
36381 * sunrpc/rpc/netdb.h: Likewise.
36382 * sunrpc/rpc/pmap_clnt.h: Likewise.
36383 * sunrpc/rpc/pmap_prot.h: Likewise.
36384 * sunrpc/rpc/pmap_rmt.h: Likewise.
36385 * sunrpc/rpc/rpc.h: Likewise.
36386 * sunrpc/rpc/rpc_des.h: Likewise.
36387 * sunrpc/rpc/rpc_msg.h: Likewise.
36388 * sunrpc/rpc/svc.h: Likewise.
36389 * sunrpc/rpc/svc_auth.h: Likewise.
36390 * sunrpc/rpc/types.h: Likewise.
36391 * sunrpc/rpc/xdr.h: Likewise.
36392 * sunrpc/rpc_clntout.c: Likewise.
36393 * sunrpc/rpc_cmsg.c: Likewise.
36394 * sunrpc/rpc_common.c: Likewise.
36395 * sunrpc/rpc_cout.c: Likewise.
36396 * sunrpc/rpc_dtable.c: Likewise.
36397 * sunrpc/rpc_hout.c: Likewise.
36398 * sunrpc/rpc_main.c: Likewise.
36399 * sunrpc/rpc_parse.c: Likewise.
36400 * sunrpc/rpc_parse.h: Likewise.
36401 * sunrpc/rpc_prot.c: Likewise.
36402 * sunrpc/rpc_sample.c: Likewise.
36403 * sunrpc/rpc_scan.c: Likewise.
36404 * sunrpc/rpc_scan.h: Likewise.
36405 * sunrpc/rpc_svcout.c: Likewise.
36406 * sunrpc/rpc_tblout.c: Likewise.
36407 * sunrpc/rpc_util.c: Likewise.
36408 * sunrpc/rpc_util.h: Likewise.
36409 * sunrpc/rpcinfo.c: Likewise.
36410 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36411 * sunrpc/rpcsvc/key_prot.x: Likewise.
36412 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36413 * sunrpc/rpcsvc/mount.x: Likewise.
36414 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36415 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36416 * sunrpc/rpcsvc/rex.x: Likewise.
36417 * sunrpc/rpcsvc/rstat.x: Likewise.
36418 * sunrpc/rpcsvc/rusers.x: Likewise.
36419 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36420 * sunrpc/rpcsvc/spray.x: Likewise.
36421 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36422 * sunrpc/rtime.c: Likewise.
36423 * sunrpc/svc.c: Likewise.
36424 * sunrpc/svc_auth.c: Likewise.
36425 * sunrpc/svc_authux.c: Likewise.
36426 * sunrpc/svc_raw.c: Likewise.
36427 * sunrpc/svc_run.c: Likewise.
36428 * sunrpc/svc_simple.c: Likewise.
36429 * sunrpc/svc_tcp.c: Likewise.
36430 * sunrpc/svc_udp.c: Likewise.
36431 * sunrpc/svc_unix.c: Likewise.
36432 * sunrpc/svcauth_des.c: Likewise.
36433 * sunrpc/xcrypt.c: Likewise.
36434 * sunrpc/xdr.c: Likewise.
36435 * sunrpc/xdr_array.c: Likewise.
36436 * sunrpc/xdr_float.c: Likewise.
36437 * sunrpc/xdr_mem.c: Likewise.
36438 * sunrpc/xdr_rec.c: Likewise.
36439 * sunrpc/xdr_ref.c: Likewise.
36440 * sunrpc/xdr_sizeof.c: Likewise.
36441 * sunrpc/xdr_stdio.c: Likewise.
36443 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36446 2010-08-19 Andreas Schwab <schwab@redhat.com>
36448 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36450 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36452 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36453 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36454 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36455 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36456 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36457 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36458 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36459 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36460 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36461 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36462 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36463 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36464 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36465 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36467 2010-07-26 Anton Blanchard <anton@samba.org>
36469 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36470 * malloc/arena.c (heap_trim): Likewise.
36472 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36474 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36476 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36477 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36479 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36481 * sysdeps/i386/elf/Makefile: New file.
36483 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36485 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36486 from fanotify_init.
36487 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36490 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36492 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36494 * sysdeps/multiarch/strcmp.S: Likewise.
36496 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36498 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36499 strncase_l-nonascii.
36500 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36501 Add strncase_l-ssse3.
36502 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36503 * sysdeps/x86_64/strcmp.S: Likewise.
36504 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36505 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36506 * sysdeps/x86_64/strncase.S: New file.
36507 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36508 * sysdeps/x86_64/strncase_l.S: New file.
36509 * string/Makefile (strop-tests): Add strncasecmp.
36510 * string/test-strncasecmp.c: New file.
36512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36515 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36516 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36518 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36520 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36522 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36524 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36525 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36526 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36528 2010-05-01 Alan Modra <amodra@gmail.com>
36530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36531 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36532 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36533 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36534 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36535 tidying. Don't tail-call __sigjmp_save for static lib.
36536 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36538 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36539 (CALL_MCOUNT): Add eh info, and nop after bl.
36540 (TAIL_CALL_SYSCALL_ERROR): New macro.
36541 (PSEUDO_RET): Use it.
36542 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36543 Correct save location of integer regs and cr.
36544 (_dl_profile_resolve): Correct cr save location. Delete nops
36545 after bl when SHARED. Reduce cfi size a little by better
36546 placement of cfi directives.
36547 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36548 make a stack frame. Instead use parm save area as a temp.
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36550 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36552 Don't make a stack frame for parent, use parm save area.
36553 Increase child stack frame to 112 bytes. Don't save unused reg,
36554 and adjust reg usage. Set up cfi on error recovery and
36555 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36557 (__makecontext): Add dummy nop after jump to exit.
36558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36559 Use correct parm save area and cr save, reduce stack frame.
36560 Correct cfi for possible PSEUDO_RET frame setup.
36561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36562 Branch to local label emitted by PSEUDO_RET rather than
36565 2010-08-12 Andreas Schwab <schwab@redhat.com>
36568 * locale/programs/locale.c (print_assignment): New function.
36569 (show_locale_vars): Use it.
36571 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36573 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36575 (struct statfs64): Likewise.
36576 (_STATFS_F_FLAGS): Define.
36577 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36579 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36580 (ST_VALID): Define locally.
36581 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36582 __statvfs_getflags, use the provided value.
36583 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36584 __ASSUME_STATFS_F_FLAGS.
36586 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36588 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36589 Add sys/fanotify.h.
36590 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36591 fanotify_mask for GLIBC_2.13.
36592 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36593 fanotify_init and fanotify_mark.
36594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36595 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36597 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36599 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36600 prlimit64 for GLIBC_2.13.
36601 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36606 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36607 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36608 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36611 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36614 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36615 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36617 * nss/Makefile: Add rules to build and run tst-nss-test1.
36618 * shlib-versions: Add entry for libnss_test1.
36619 * nss/nss_test1.c: New file.
36620 * nss/tst-nss-test1.c: New file.
36622 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36623 (__nss_configure_lookup): Set appropriate entry in
36624 __nss_configure_lookup to true.
36625 * nss/nsswitch.h: Define enum with indeces of databases in
36626 databases and __nss_database_custom arrays. Declare
36627 __nss_database_custom.
36628 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36629 to avoid using nscd when custom rules are installed.
36630 * nss/getXXbyYY_r.c: Likewise.
36631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36633 * nss/nss_files/files-parse.c: Whitespace fixes.
36635 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36638 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36639 * posix/fnmatch_loop.c: Likewise.
36641 2010-07-17 Andi Kleen <ak@linux.intel.com>
36643 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36644 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36645 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36646 * Versions.def [GLIBC_2.13]: Add.
36648 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36650 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36651 Also fail if tpwd after pwuid call is NULL.
36653 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36655 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36656 when converting to ms.
36658 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36660 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36661 EOPNOTSUPP errors with ENOTTY.
36662 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36663 EOPNOTSUPP errors with ENOTTY.
36665 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36667 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36668 Add strcasecmp_l-ssse3.
36669 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36671 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36672 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36673 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36675 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36677 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36679 * string/Makefile (strop-tests): Add strcasecmp.
36680 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36681 strcasecmp_l-nonascii.
36682 (gen-as-const-headers): Add locale-defines.sym.
36683 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36684 * sysdeps/x86_64/strcasecmp.S: New file.
36685 * sysdeps/x86_64/strcasecmp_l.S: New file.
36686 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36687 * sysdeps/x86_64/locale-defines.sym: New file.
36688 * string/test-strcasecmp.c: New file.
36690 * string/test-strcasestr.c: Test both ends of the range of characters.
36691 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36693 2010-07-29 Roland McGrath <roland@redhat.com>
36696 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36698 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36700 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36703 2010-07-27 Andreas Schwab <schwab@redhat.com>
36705 * manual/memory.texi (Malloc Tunable Parameters): Document
36708 2010-07-26 Roland McGrath <roland@redhat.com>
36711 * configure.in (-fgnu89-inline check): Set and substitute
36712 gnu89_inline, not libc_cv_gnu89_inline.
36713 * configure: Regenerated.
36714 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36716 2010-07-26 Ulrich Drepper <drepper@redhat.com>
36718 * string/test-strnlen.c: New file.
36719 * string/Makefile (strop-tests): Add strnlen.
36720 * string/tester.c (test_strnlen): Add a few more test cases.
36721 * string/tst-strlen.c: Better error reporting.
36723 * sysdeps/x86_64/strnlen.S: New file.
36725 2010-07-24 Ulrich Drepper <drepper@redhat.com>
36727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36728 lower-latency instructions.
36730 2010-07-23 Ulrich Drepper <drepper@redhat.com>
36732 * string/test-strcasestr.c: New file.
36733 * string/test-strstr.c: New file.
36734 * string/Makefile (strop-tests): Add strstr and strcasestr.
36735 * string/str-two-way.h: Don't undefine MAX.
36736 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36738 2010-07-21 Andreas Schwab <schwab@redhat.com>
36740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36741 strcasestr-nonascii.
36742 (CFLAGS-strcasestr-nonascii.c): Define.
36743 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36745 Remove unused attribute.
36747 2010-07-20 Roland McGrath <roland@redhat.com>
36749 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36750 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36751 ld.so.cache was broken. With it, there is no way to disable dsocaps
36752 like LD_HWCAP_MASK can disable hwcaps.
36754 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36756 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36758 2010-07-16 Ulrich Drepper <drepper@redhat.com>
36760 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36761 call in strcasestr.
36762 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36763 __strcasestr_sse42_nonascii.
36764 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36765 strcasestr-nonascii.c.
36766 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36768 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
36770 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36771 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36772 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36773 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36775 2010-07-09 Ulrich Drepper <drepper@redhat.com>
36777 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36780 2010-07-06 Andreas Schwab <schwab@redhat.com>
36783 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36786 2010-07-06 Ulrich Drepper <drepper@redhat.com>
36788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36789 _PC_PIPE_BUF using F_GETPIPE_SZ.
36791 2010-07-05 Roland McGrath <roland@redhat.com>
36793 * manual/arith.texi (Rounding Functions): Fix rint description
36794 implicit in round description.
36796 2010-07-02 Ulrich Drepper <drepper@redhat.com>
36798 * elf/Makefile: Fix linking for a few tests to make recent linker
36801 2010-06-30 Andreas Schwab <schwab@redhat.com>
36803 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36804 $(common-objpfx)libc_nonshared.a.
36806 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
36808 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36809 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36810 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36811 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36812 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36813 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36814 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36815 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36830 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36831 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36832 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36833 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36834 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36835 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36836 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36837 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36838 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36839 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36840 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36841 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36857 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36859 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36860 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36861 * string/memmove.c (memmove): Renamed to ...
36862 (MEMMOVE): ...this. Default to memmove.
36863 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36864 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36867 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36868 mempcpy-ssse3-back memmove-ssse3-back.
36869 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36870 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36872 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36873 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36874 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36875 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36876 * sysdeps/x86_64/multiarch/memmove.c: New file.
36877 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36878 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36879 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36880 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36881 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36884 (index_Fast_Copy_Backward): Define.
36885 (HAS_ARCH_FEATURE): Define.
36886 (HAS_FAST_REP_STRING): Define.
36887 (HAS_FAST_COPY_BACKWARD): Define.
36889 2010-06-21 Andreas Schwab <schwab@redhat.com>
36891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36892 Restore proper fallback handling.
36894 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36897 * posix/group_member.c (__group_member): Correct checking loop.
36899 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36900 OOM in getpwuid_r correctly. Return error number when the caller
36901 should return, otherwise -1.
36902 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36903 call returning > 0 value.
36904 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36906 2010-06-07 Andreas Schwab <schwab@redhat.com>
36908 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36909 libc_nonshared.a from targets in modules-names.
36911 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36913 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36916 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36918 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36919 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36923 2010-06-02 Andreas Schwab <schwab@redhat.com>
36925 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36927 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36929 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36931 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36932 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36936 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36938 2010-06-14 Roland McGrath <roland@redhat.com>
36940 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36942 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36944 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36945 __REDIRECT followed by __THROW.
36946 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36947 * posix/getopt.h (getopt): Likewise.
36949 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36951 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36952 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36953 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36955 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36956 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36958 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36960 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36962 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36966 Properly check family and model.
36968 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36970 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36972 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36974 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36976 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36978 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36981 2010-05-19 Andreas Schwab <schwab@redhat.com>
36983 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36986 2010-05-21 Andreas Schwab <schwab@redhat.com>
36988 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36989 and internal_recvmmsg.
36990 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36991 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36992 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36993 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36995 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36996 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36997 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36999 2010-05-20 Andreas Schwab <schwab@redhat.com>
37001 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37003 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37005 POWER7 optimizations.
37006 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37007 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37009 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37011 * version.h: Update for 2.13 development version.
37013 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37016 exceptions. Return 0.
37018 2010-05-07 Roland McGrath <roland@redhat.com>
37020 * elf/ldconfig.c (main): Add a const.
37022 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37024 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37025 (args_options): Add no-idn option.
37026 (ahosts_keys_int): Add idn_flags to ai_flags.
37027 (parse_option): Handle 'i' option to clear idn_flags.
37029 * malloc/malloc.c (_int_free): Possible race in the most recently
37030 added check. Only act on the data if no current modification
37033 See ChangeLog.17 for earlier changes.