1 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4 multiarch for POWER/PPC64.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
30 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
31 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
47 * benchtests/Makefile (bench): Add exp2 and log2.
48 (LDLIBS-bench-exp2): Add -lm.
49 (LDLIBS-bench-log2): Likewise.
50 * benchtests/exp2-inputs: New inputs file.
51 * benchtests/log2-inputs: New inputs file.
52 * benchtests/log-inputs: Add new inputs.
53 * benchtests/tan-inputs: Likewise.
55 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
60 csloww1, csloww2): ... from here.
62 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
63 instead of structures.
64 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
65 (POLYNOMIAL): Likewise.
66 (TAYLOR_SLOW): Likewise.
81 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
83 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
84 (__malloc_assert, __libc_realloc, __libc_calloc,
85 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
87 * malloc/hooks.c (realloc_check): Likewise.
89 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
91 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
92 * malloc/arena.c: Remove PER_THREAD conditional.
93 [!PER_THREAD]: Remove code.
94 (ptmalloc_unlock_all2): Likewise.
95 (ptmalloc_init): Likewise.
96 (_int_new_arena): Likewise.
97 (arena_get2): Likewise.
98 * malloc/hooks.c (__malloc_get_state): Likewise.
99 (__malloc_set_state): Likewise.
100 * malloc/malloc.c: Likewise.
101 (struct malloc_state): Likewise.
102 (struct malloc_par): Likewise.
103 (__libc_realloc): Likewise.
104 (__libc_mallopt): Likewise.
106 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
108 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
110 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
112 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
113 macro to a function. Check for zero perturb_byte.
114 (_int_malloc, _int_free): Remove zero perturb_byte checks.
116 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
118 * malloc/malloc.c: (force_reg): Remove.
119 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
120 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
121 force_reg by atomic_forced_read.
122 * malloc/arena.c (ptmalloc_init): Likewise.
123 * malloc/hooks.c (top_check): Likewise.
125 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
129 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
133 2013-12-08 Joseph Myers <joseph@codesourcery.com>
135 * math/auto-libm-test-in: Add tests of lgamma.
136 * math/auto-libm-test-out: Regenerated.
137 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
138 (M_LOG_2_SQRT_PIl): Likewise.
139 (lgamma_test_data): Use AUTO_TESTS_f_f1.
140 * math/gen-auto-libm-tests.c (func_calc_method): Add value
142 (func_calc_desc): Add mpfr_f_f1 union field.
151 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
152 (test_functions): Add lgamma.
153 (calc_generic_results): Handle mpfr_f_f1.
154 * sysdeps/i386/fpu/libm-test-ulps: Update.
155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
157 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
159 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
160 __mpn_add_n for PowerPC64/POWER7.
161 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
162 __mpn_sub_n for PowerPC64/POWER7.
164 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
167 __mpn_addmul_1 for PowerPC64.
168 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
169 __mpn_submul_1 for PowerPC64.
170 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
172 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
175 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
178 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
182 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
184 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
187 add multiarch folders.
188 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
189 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
190 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
191 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
192 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
193 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
194 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
195 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
196 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
197 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
198 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
206 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
209 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
215 multiarch __ieee754_hypot for PowerPC32.
216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
221 multiarch __ieee754_hypotf for PowerPC32.
223 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
226 long_double_symbol only if __logbl is defined.
227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
228 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
230 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
232 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
234 path for implementation.
235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
236 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
238 logb, and logbl multiarch implementations for PowerPC32.
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
244 multiarch logb for PowerPC32.
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
250 multiarch logbf for PowerPC32.
251 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
255 multiarch logbl implementation for PowerPC32.
257 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
260 and modff multiarch implementations.
261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
266 multiarch modf for PowerPC32.
267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
272 multiarch modff for PowerPC32.
274 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
277 and lrintf multiarch implementations.
278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
283 multiarch lrint for PowerPC32.
284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
285 file: multiarch lrintf for PowerPC32.
287 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
290 and lroundf multiarch implementations.
291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
298 multiarch lround for PowerPC32.
299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
300 file: multiarch lroundf for PowerPC32.
302 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
305 copysign and copysignf multiarch implementations.
306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
311 file: multiarch copysign for PowerPC32.
312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
313 file: multiarch copysignf for PowerPC32.
315 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
318 and truncf multiarch implementations.
319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
324 multiarch trunc for PowerPC32.
325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
330 multiarch truncf for PowerPC32.
332 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
335 and roundf multiarch implementations.
336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
341 multiarch round for PowerPC32.
342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
347 multiarch roundf for PowerPC32.
349 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
352 and floorf multiarch implementations.
353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
358 multiarch floor for PowerPC32.
359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
364 multiarch floorf for PowerPC32.
366 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
369 and ceilf multiarch implementations.
370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
375 multiarch ceil for PowerPC32.
376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
381 multiarch ceilf for PowerPC32.
383 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
385 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
387 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
390 and finitef multiarch implementations.
391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
396 multiarch finite for PowerPC32.
397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
400 file: multiarch finitef for PowerPC32.
402 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
405 and isinff multiarch implementations.
406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
411 multiarch isinf for PowerPC32.
412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
415 multiarch isinff for PowerPC32.
417 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
419 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
420 alias when __isnan is defined.
421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
422 and isnanf multiarch implementations.
423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
432 multiarch isnan for PowerPC32.
433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
438 multiarch isnanf for PowerPC32.
440 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
443 and sqrtf multiarch implementations.
444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
449 multiarch sqrt for PowerPC32.
450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
455 multiarch sqrtf for PowerPC32.
457 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
460 and llroundf multiarch implementations.
461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
468 file: multiarch llround for PowerPC32.
469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
470 file: multiarch llroundf for PowerPC32.
472 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
475 multiarch PowerPC32 fpu implementations.
476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
481 multiarch llrint for PowerPC32.
482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
489 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
495 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
497 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
499 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
501 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
502 multiarch wordcopy for PPC32.
503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
506 (__libc_ifunc_impl_list): Likewise.
507 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
508 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
510 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
512 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
514 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
524 multiarch wcscpy for PPC32.
525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
528 (__libc_ifunc_impl_list): Likewise.
529 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
530 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
531 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
532 sysdeps/powerpc/power6/wcscpy.c.
534 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
543 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
544 multiarch wcsrchr for PPC32.
545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
548 (__libc_ifunc_impl_list): Likewise.
549 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
550 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
551 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
552 sysdeps/powerpc/power6/wcsrchr.c.
554 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
561 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
562 multiarch wcschr for PPc32.
563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
566 (__libc_ifunc_impl_list): Likewise.
567 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
568 * sysdeps/powerpc/power6/wcschr.c: ... to here.
569 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
570 sysdeps/powerpc/power6/wcschr.c.
572 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
574 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
575 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
577 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
578 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
579 file: multiarch strchr for PPC32.
580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
583 (__libc_ifunc_impl_list): Likewise.
585 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
589 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
591 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
593 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
594 multiarch strchrnul for PPC32.
595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
598 (__libc_ifunc_impl_list): Likewise.
600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
604 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
605 multiarch strncasecmp for PPC32.
606 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
609 multiarch strncasecmp_l for PPC32.
610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
611 strncasecmp multiarch objects.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
613 (__libc_ifunc_impl_list): Likewise.
615 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
617 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
619 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
620 multiarch strncasecmp for PPC32.
621 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
623 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
624 multiarch strcasecmp_l for PPC32.
625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
628 (__libc_ifunc_impl_list): Likewise.
630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
634 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
636 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
637 multiarch strncmp for PPC32.
638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
641 (__libc_ifunc_impl_list): Likewise.
643 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
645 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
646 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
648 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
649 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
652 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
653 (__libc_ifunc_impl_list): Likewise.
655 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
657 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
659 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
661 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
665 (__libc_ifunc_impl_list): Likewise.
667 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
669 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
671 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
673 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
674 multiarch rawmemchr for PPC32.
675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
678 (__libc_ifunc_impl_list): Likewise.
680 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
682 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
684 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
686 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
687 file: memrchr multiarch for PPC32.
688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
691 (__libc_ifunc_impl_list): Likewise.
693 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695 * string/memchr.c (__memchr): Using macro to redefine symbol name.
696 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
698 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
699 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
700 multiarch memchr for PPC32.
701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
704 (__libc_ifunc_impl_list): Likewise.
706 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
709 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
711 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
713 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
714 file: multiarch mempcpy for PPC32.
715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
717 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
718 (__libc_ifunc_impl_list): Likewise.
720 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
723 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
724 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
725 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
726 multiarch bzero for PPC32.
727 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
729 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
731 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
732 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
733 file: multiarch memset for PPC32.
734 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
736 memset multiarch objects.
737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
738 (__libc_ifunc_impl_list): Likewise.
740 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
744 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
745 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
747 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
751 (__libc_ifunc_impl_list): Likewise.
753 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
755 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
756 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
757 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
759 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
761 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
763 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
764 multiarch memcpy for PPC32.
765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
768 (__libc_ifunc_impl_list): Likewise.
770 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
773 support multiarch for POWER/PPC32.
774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
776 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
778 Implies file to make multiarch folder appers before the fpu and
779 default folder for power4 configuration.
781 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
783 * scripts/bench.pl: Append volatile keyword to type.
785 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
787 * sysdeps/sh/sotruss-lib.c: New file.
788 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
790 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
794 2013-12-05 Joseph Myers <joseph@codesourcery.com>
797 * math/w_tgamma.c: Include <errno.h>.
798 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
799 * math/w_tgammaf.c: Include <errno.h>.
800 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
801 * math/w_tgammal.c: Include <errno.h>.
802 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
803 * math/auto-libm-test-in: Do not allow missing errno on tgamma
804 underflow. Add more tgamma tests.
805 * math/auto-libm-test-out: Regenerated.
806 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
809 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
810 sin, sinh, tan, tanh, tgamma, y0 and y1.
811 * math/auto-libm-test-out: Regenerated.
812 * math/libm-test.inc (TEST_COND_x86_64): New macro.
813 (TEST_COND_x86): Likewise.
814 (M_E2l): Remove macro.
816 (M_2_SQRT_PIl): Likewise.
817 (M_SQRT_PIl): Likewise.
818 (M_1_DIV_El): Likewise.
819 (log_test_data): Use AUTO_TESTS_f_f.
820 (log10_test_data): Likewise.
821 (log1p_test_data): Likewise.
822 (log2_test_data): Likewise.
823 (sin_test_data): Likewise.
824 (sin_tonearest_test_data): Likewise.
825 (sin_towardzero_test_data): Likewise.
826 (sin_downward_test_data): Likewise.
827 (sin_upward_test_data): Likewise.
828 (sinh_test_data): Likewise.
829 (sinh_tonearest_test_data): Likewise.
830 (sinh_towardzero_test_data): Likewise.
831 (sinh_downward_test_data): Likewise.
832 (sinh_upward_test_data): Likewise.
833 (tan_test_data): Likewise.
834 (tan_tonearest_test_data): Likewise.
835 (tan_towardzero_test_data): Likewise.
836 (tan_downward_test_data): Likewise.
837 (tan_upward_test_data): Likewise.
838 (tanh_test_data): Likewise.
839 (tgamma_test_data): Likewise.
840 (y0_test_data): Likewise.
841 (y1_test_data): Likewise.
842 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
843 (special_real_inputs): Add pi/4.
844 * sysdeps/i386/fpu/libm-test-ulps: Update.
845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
847 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
850 "longjmp_target" static probes.
851 (__longjmp): Rename to __longjmp_symbol.
852 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
853 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
854 on which longjmp to generate.
855 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
856 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
858 (__sigsetjmp): Rename to __sigsetjmp_symbol.
859 (__sigjmp_save): Rename to __sigjmp_save_symbol.
860 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
861 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
862 and __sigjmp_save_symbol based on which sigsetjmp to generated.
863 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
865 __longjmp_symbol based on which __longjmp to generate.
866 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
868 (setjmp): Rename to setjmp_symbol.
869 (__sigsetjmp): Rename to __sigsetjmp_symbol.
870 (_setjmp): Rename to _setjmp_symbol.
871 (__sigsetjmp): Rename to __sigsetjmp_symbol.
872 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
873 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
874 which setjmp to generate.
875 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
876 "longjmp_target" static probes.
878 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
880 * benchtests/README: Add note about output arguments.
881 * benchtests/bench-sincos.c: Remove file.
882 * benchtests/sincos-inputs: New file.
883 * scripts/bench.pl: Identify output arguments and define
884 static variables for them.
886 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
889 * Makefile (INSTALL): Add install-plain.texi as the primary
891 * manual/install-plain.texi: New file.
892 * manual/install.texi: Include node directive only for
893 non-plaintext output.
895 2013-12-04 Joseph Myers <joseph@codesourcery.com>
897 * stdlib/longlong.h: Update from GCC.
901 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
902 * math/w_j0f.c (y0f): Likewise.
903 * math/w_j0l.c (__y0l): Likewise.
904 * math/w_j1.c (y1): Likewise.
905 * math/w_j1f.c (y1f): Likewise.
906 * math/w_j1l.c (__y1l): Likewise
907 * math/w_jn.c (yn): Likewise.
908 * math/w_jnf.c (ynf): Likewise.
909 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
910 Bessel function pole errors in _POSIX_ mode. Use NAN as return
911 value for Bessel function domain errors outside _SVID_ mode.
912 Adjust sign of return value for yn (negative integer, 0).
913 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
914 by zero in return for negative x and set sign appropriately for
916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
917 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
918 * math/libm-test.inc (y0_test_data): Add more tests and adjust
919 expectations in error cases.
920 (y1_test_data): Likewise.
921 (yn_test_data): Likewise.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
925 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
927 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
928 "64" to "64-v1". Add "64-v2".
929 (abi-64-options): Rename to ...
930 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
931 (abi-64-condition): Rename to ...
932 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
933 (abi-64-ld-soname): Rename to ...
934 (abi-64-v1-ld-soname): ... this.
935 (abi-64-v2-options): Define.
936 (abi-64-v2-condition): Likewise.
937 (abi-64-v2-ld-soname): Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
939 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
944 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
945 Alan Modra <amodra@gmail.com>
947 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
948 New versions for use with the ELFv2 ABI.
949 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
950 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
952 (struct La_ppc64v2_retval): Likewise.
953 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
954 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
955 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
956 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
957 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
958 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
959 Do not save or restore CR.
960 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
961 (_dl_profile_resolve): Do no save or restore CR. Support extended
962 return values for ELFv2 ABI. Fix location of FPR return registers.
963 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
964 updated values for _CALL_ELF == 2.
965 (La_regs, La_retval, int_retval): Likewise.
967 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
969 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
970 (FRAME_MIN_SIZE_PARM): Likewise.
971 (FRAME_BACKCHAIN): Likewise.
972 (FRAME_CR_SAVE): Likewise.
973 (FRAME_LR_SAVE): Likewise.
974 (FRAME_TOC_SAVE): Likewise.
975 (FRAME_PARM_SAVE): Likewise.
976 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
977 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
978 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
979 (call_mcount_parm_offset): New macro.
980 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
981 (PROF): Use symbolic stack frame offsets.
982 (TAIL_CALL_SYSCALL_ERROR): Likewise.
983 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
984 Redefine in terms of FRAME_MIN_SIZE.
985 (_dl_runtime_resolve): Use symbolic stack frame offsets.
986 (_dl_profile_resolve): Likewise. Update comment.
987 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
988 symbols stack frame offsets.
989 (__sigsetjmp): Likewise.
990 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
991 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
992 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
993 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
996 (FRAME_BACKCHAIN): Remove.
997 (FRAME_CR_SAVE): Likewise.
998 (FRAME_LR_SAVE): Likewise.
999 (FRAME_COMPILER_DW): Likewise.
1000 (FRAME_LINKER_DW): Likewise.
1001 (FRAME_TOC_SAVE): Likewise.
1002 (FRAME_PARM_SAVE): Likewise.
1003 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1004 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1005 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1007 (CHECK_SP): Use symbolic stack frame offsets.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1009 zone" instead of caller's parameter save area for temp storage.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1011 Likewise. Also, use symbolic stack frame offsets.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1013 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1014 our own stack frame instead of the caller's.
1015 (__socket): Use symbolic stack frame offsets.
1017 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1018 Alan Modra <amodra@gmail.com>
1020 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1022 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1023 PPC64_LOCAL_ENTRY_OFFSET): Define.
1024 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1026 (elf_machine_fixup_plt): Call it.
1027 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1029 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1030 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1031 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1032 r2 before calling target.
1034 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1035 Alan Modra <amodra@gmail.com>
1037 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1038 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1039 versions of macros to support ELFv2 ABI.
1040 (LOCALENTRY): New macro.
1041 (ENTRY, EALIGN): Use it.
1042 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1043 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1044 fall through into ENTRY entry point.
1045 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1046 Only define if _CALL_ELF != 2.
1048 (elf_machine_matches_host): Verify ABI version matches.
1049 (RTLD_START): Use LOCALENTRY.
1050 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1051 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1052 (PLT_ENTRY_WORDS): New macro.
1053 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1054 (elf_machine_runtime_setup): Support ELFv2 ABI.
1055 (elf_machine_fixup_plt): Likewise.
1056 (elf_machine_plt_conflict): Likewise.
1057 (resolve_ifunc): Likewise.
1058 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1062 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1064 (makecontext): Support ELFv2 ABI.
1065 * elf/elf.h (EF_PPC64_ABI): Define.
1067 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1069 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1070 New assembler macro.
1071 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1072 [ASSEMBLER] (ENTRY): ... but instead here ...
1073 [ASSEMBLER] (EALIGN): ... and here.
1074 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1075 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1076 [!ASSEMBLER] (ENTRY_2): Use it.
1077 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1078 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1079 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1080 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1081 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1083 Use PPC64_LOAD_FUNCPTR.
1085 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1087 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1089 2013-12-04 Alan Modra <amodra@gmail.com>
1091 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1092 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1093 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1094 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1096 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1097 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1098 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1099 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1100 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1101 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1103 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1106 (__makecontext): Fix incorrect CFI when backtracing out of
1107 context created via makecontext.
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1109 (__setcontext): Fix incorrect CFI during switch to new context.
1110 (__novec_setcontext): Likewise.
1112 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1115 * time/strptime_l.c (__strptime_internal): Allow modifiers
1117 * time/tst-strptime.c (day_tests): Add testcase.
1120 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1122 * scripts/bench.pl: Skip over blank lines.
1124 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1127 * manual/time.texi (Calendar Time): Clarify what timezone functions
1130 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1134 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1136 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1138 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1139 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1140 * debug/memset_chk.c (__memset_chk): Likewise.
1141 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1142 * debug/strncpy_chk.c: Likewise.
1144 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1149 (__ieee754_exp): For possibly underflowing results, check size of
1150 result and force underflow exception if required.
1151 * math/auto-libm-test-in: Add more tests of exp.
1152 * math/auto-libm-test-out: Regenerated.
1153 * sysdeps/i386/fpu/libm-test-ulps: Update.
1154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1157 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1158 * math/w_exp2f.c (__exp2f): Likewise.
1159 * math/w_exp2l.c (__exp2l): Likewise.
1160 * math/auto-libm-test-in: Do not allow missing errno on exp2
1162 * math/auto-libm-test-out: Regenerated.
1164 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1167 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1168 handle filename validation.
1169 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1172 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1175 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1176 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1177 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1179 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1181 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1183 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1185 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1186 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1187 Add more erfc tests.
1188 * math/auto-libm-test-out: Regenerated.
1189 * sysdeps/i386/fpu/libm-test-ulps: Update.
1190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1192 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1193 exp2, expm1, j0 and j1.
1194 * math/auto-libm-test-out: Regenerated.
1195 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1196 (erfc_test_data): Likewise.
1197 (exp_test_data): Likewise.
1198 (exp_tonearest_test_data): Likewise.
1199 (exp_towardzero_test_data): Likewise.
1200 (exp_downward_test_data): Likewise.
1201 (exp_upward_test_data): Likewise.
1202 (exp10_test_data): Likewise.
1203 (exp2_test_data): Likewise.
1204 (expm1_test_data): Likewise.
1205 (j0_test_data): Likewise.
1206 (j1_test_data): Likewise.
1207 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1208 (input_flag_type): Add flag_xfail_rounding.
1209 (input_flags): Add xfail-rounding.
1210 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1211 (output_for_one_input_case): Handle flag_xfail_rounding.
1212 * sysdeps/i386/fpu/libm-test-ulps: Update.
1213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1215 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1218 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1221 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1224 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1225 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1226 (STAP_PROBE0): New macro.
1227 (STAP_PROBE1): Likewise.
1228 (STAP_PROBE2): Likewise.
1229 (STAP_PROBE3): Likewise.
1230 (STAP_PROBE4): Likewise.
1232 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1234 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1236 2013-12-02 Steve Ellcey <sellcey@mips.com>
1238 * benchtests/Makefile (bench): Add sqrt.
1239 (LDLIBS-bench-sqrt): New.
1240 * benchtests/sqrt-input: New.
1242 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1244 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1245 (GAIH_EAI): Likewise.
1246 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1247 (gaih_inet): Likewise.
1248 (getaddrinfo): Don't use GAIH_EAI.
1250 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1251 (struct gaih): Remove definition.
1253 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1255 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1256 Use HERRNOP directly.
1258 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1262 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1264 * math/gen-auto-libm-tests.c (test_functions): Add more
1265 single-argument functions.
1266 (special_fill_pi_2): New function.
1267 (special_fill_minus_pi_2): Likewise.
1268 (special_fill_pi_6): Likewise.
1269 (special_fill_minus_pi_6): Likewise.
1270 (special_fill_pi_3): Likewise.
1271 (special_fill_2pi_3): Likewise.
1272 (special_fill_e): Likewise.
1273 (special_fill_1_e): Likewise.
1274 (special_fill_e_minus_1): Likewise.
1275 (special_real_inputs): Add more special inputs.
1276 (output_for_one_input_case): Do not require ERANGE on underflow to
1277 zero if round-to-nearest result does not underflow to zero, unless
1278 exact results required.
1279 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1280 atan, atanh, cbrt, cos and cosh.
1281 * math/auto-libm-test-out: Regenerated.
1282 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1283 (acos_tonearest_test_data): Likewise.
1284 (acos_towardzero_test_data): Likewise.
1285 (acos_downward_test_data): Likewise.
1286 (acos_upward_test_data): Likewise.
1287 (acosh_test_data): Likewise.
1288 (asin_test_data): Likewise.
1289 (asin_tonearest_test_data): Likewise.
1290 (asin_towardzero_test_data): Likewise.
1291 (asin_upward_test_data): Likewise.
1292 (asinh_test_data): Likewise.
1293 (atan_test_data): Likewise.
1294 (atanh_test_data): Likewise.
1295 (cbrt_test_data): Likewise.
1296 (cos_test_data): Likewise.
1297 (cos_tonearest_test_data): Likewise.
1298 (cos_towardzero_test_data): Likewise.
1299 (cos_downward_test_data): Likewise.
1300 (cos_upward_test_data): Likewise.
1301 (cosh_test_data): Likewise.
1302 (cosh_tonearest_test_data): Likewise.
1303 (cosh_towardzero_test_data): Likewise.
1304 (cosh_downward_test_data): Likewise.
1305 (cosh_upward_test_data): Likewise.
1306 * sysdeps/i386/fpu/libm-test-ulps: Update.
1307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1309 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1312 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1313 * math/w_exp10f.c (__exp10f): Likewise.
1314 * math/w_exp10l.c (__exp10l): Likewise.
1315 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1316 errno settings in existing tests.
1319 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1320 precision control set to double precision.
1321 * sysdeps/i386/fpu/w_sqrt.c: New file.
1322 * math/auto-libm-test-in: Add more tests.
1323 * math/auto-libm-test-out: Update.
1325 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1326 (sqrt_test_tonearest): New function.
1327 (sqrt_towardzero_test_data): New variable.
1328 (sqrt_test_towardzero): New function.
1329 (sqrt_downward_test_data): New variable.
1330 (sqrt_test_downward): New function.
1331 (sqrt_upward_test_data): New variable.
1332 (sqrt_test_upward): New function.
1333 (main): Call the new functions.
1335 * math/gen-auto-libm-tests.c: New file.
1336 * math/auto-libm-test-in: Likewise.
1337 * math/auto-libm-test-out: New generated file.
1338 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1340 (%beautify): Add generated representations of zero.
1341 (top level): Set $auto_input and call parse_auto_input.
1342 (beautify): Remove trailing "f" from hex float constants.
1343 (parse_args): Handle XFAIL_TEST.
1344 (convert_condition): New function.
1345 (or_value): Likewise.
1346 (or_cond_value): Likewise.
1347 (generate_testfile): Handle AUTO_TESTS_* lines.
1348 (parse_auto_input): New function.
1349 * math/libm-test.inc (XFAIL_TEST): New macro.
1350 (ERRNO_UNCHANGED): Update value.
1351 (ERRNO_EDOM): Likewise.
1352 (ERRNO_ERANGE): Likewise.
1353 (IGNORE_RESULT): Likewise.
1354 (TEST_COND_flt_32): New macro.
1355 (TEST_COND_dbl_64): Likewise.
1356 (TEST_COND_ldbl_96_intel): Likewise.
1357 (TEST_COND_ldbl_96_m68k): Likewise.
1358 (TEST_COND_ldbl_128): Likewise.
1359 (TEST_COND_ldbl_128ibm): Likewise.
1360 (TEST_COND_long32): Likewise.
1361 (TEST_COND_long64): Likewise.
1362 (TEST_COND_before_rounding): Likewise.
1363 (TEST_COND_after_rounding): Likewise.
1364 (enable_test): Handle XFAIL_TEST flag.
1365 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1366 with finite results.
1367 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1370 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1371 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1374 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1375 __tls_get_addr_internal instead of __tls_get_offset in order to
1376 avoid GOT pointer dependency. Make rtld export
1377 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1378 __tls_get_addr since we are a __tls_get_offset platform.
1379 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1380 GOT pointer being set up before.
1381 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1383 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1385 * manual/math.texi (Errors in Math Functions): Document accuracy
1389 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1390 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1393 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1395 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1406 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1407 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1408 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1409 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1410 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1412 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1414 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1416 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1417 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1418 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1419 atomic-feupdateenv and flt-rounds.
1420 * sysdeps/powerpc/nofpu/Versions (libc): Add
1421 __atomic_feholdexcept, __atomic_feclearexcept,
1422 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1424 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1425 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1426 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1431 * manual/arith.texi (FP Exceptions): Document that exceptions may
1432 not be raised when matherr is used.
1433 (Math Error Reporting): Document overflow in directed rounding
1434 modes. Document that errno may not be set when finite values are
1435 returned on overflow. Document intent to set errno on underflow
1436 only for underflow to zero.
1439 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1440 round-to-nearest then adjust result for other rounding modes.
1441 * include/fenv.h (fegetround): Use libm_hidden_proto.
1442 * math/fegetround.c (fegetround): Use libm_hidden_def.
1443 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1444 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1445 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1446 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1448 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1449 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1450 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1451 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1453 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1456 * nss/Versions (libnss_files): Add
1457 _nss_files_gethostbyname3_r.
1458 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1460 (HOST_DB_LOOKUP): Remove macro.
1461 (_nss_files_gethostbyname_r): Implement function without the
1462 HOST_DB_LOOKUP macro.
1463 (_nss_files_gethostbyname2_r): Likewise.
1465 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1467 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1469 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1471 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1472 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1475 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1477 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1478 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1479 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1480 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1481 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1482 __fe_nomask_env_priv and attribute_hidden.
1483 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1484 (libc_feupdateenv_test_ppc): Likewise.
1485 (libc_feresetround_ppc): Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1487 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1488 compat_symbol macro.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1490 (__fe_nomask_env): Likewise.
1491 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1493 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1495 * string/Makefile: Remove ifunc tests.
1496 * string/test-string.h: Define TEST_IFUNC.
1497 * string/test-bcopy-ifunc.c: Remove.
1498 * string/test-bzero-ifunc.c: Likewise.
1499 * string/test-memccpy-ifunc.c: Likewise.
1500 * string/test-memchr-ifunc.c: Likewise.
1501 * string/test-memcmp-ifunc.c: Likewise.
1502 * string/test-memcpy-ifunc.c: Likewise.
1503 * string/test-memmem-ifunc.c: Likewise.
1504 * string/test-memmove-ifunc.c: Likewise.
1505 * string/test-mempcpy-ifunc.c: Likewise.
1506 * string/test-memrchr-ifunc.c: Likewise.
1507 * string/test-memset-ifunc.c: Likewise.
1508 * string/test-rawmemchr-ifunc.c: Likewise.
1509 * string/test-stpcpy-ifunc.c: Likewise.
1510 * string/test-stpncpy-ifunc.c: Likewise.
1511 * string/test-strcasecmp-ifunc.c: Likewise.
1512 * string/test-strcasestr-ifunc.c: Likewise.
1513 * string/test-strcat-ifunc.c: Likewise.
1514 * string/test-strchr-ifunc.c: Likewise.
1515 * string/test-strchrnul-ifunc.c: Likewise.
1516 * string/test-strcmp-ifunc.c: Likewise.
1517 * string/test-strcpy-ifunc.c: Likewise.
1518 * string/test-strcspn-ifunc.c: Likewise.
1519 * string/test-strlen-ifunc.c: Likewise.
1520 * string/test-strncasecmp-ifunc.c: Likewise.
1521 * string/test-strncat-ifunc.c: Likewise.
1522 * string/test-strncmp-ifunc.c: Likewise.
1523 * string/test-strncpy-ifunc.c: Likewise.
1524 * string/test-strnlen-ifunc.c: Likewise.
1525 * string/test-strpbrk-ifunc.c: Likewise.
1526 * string/test-strrchr-ifunc.c: Likewise.
1527 * string/test-strspn-ifunc.c: Likewise.
1528 * string/test-strstr-ifunc.c: Likewise.
1530 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1532 * benchtests/Makefile: Remove ifunc tests.
1533 * benchtests/bench-string.h: Define TEST_IFUNC.
1534 * benchtests/bench-bcopy-ifunc.c: Remove.
1535 * benchtests/bench-bzero-ifunc.c: Likewise.
1536 * benchtests/bench-memccpy-ifunc.c: Likewise.
1537 * benchtests/bench-memchr-ifunc.c: Likewise.
1538 * benchtests/bench-memcmp-ifunc.c: Likewise.
1539 * benchtests/bench-memcpy-ifunc.c: Likewise.
1540 * benchtests/bench-memmem-ifunc.c: Likewise.
1541 * benchtests/bench-memmove-ifunc.c: Likewise.
1542 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1543 * benchtests/bench-memrchr-ifunc.c: Likewise.
1544 * benchtests/bench-memset-ifunc.c: Likewise.
1545 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1546 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1547 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1548 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1549 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1550 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1551 * benchtests/bench-strcat-ifunc.c: Likewise.
1552 * benchtests/bench-strchr-ifunc.c: Likewise.
1553 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1554 * benchtests/bench-strcmp-ifunc.c: Likewise.
1555 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1556 * benchtests/bench-strcpy-ifunc.c: Likewise.
1557 * benchtests/bench-strcspn-ifunc.c: Likewise.
1558 * benchtests/bench-strlen-ifunc.c: Likewise.
1559 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1560 * benchtests/bench-strncat-ifunc.c: Likewise.
1561 * benchtests/bench-strncmp-ifunc.c: Likewise.
1562 * benchtests/bench-strncpy-ifunc.c: Likewise.
1563 * benchtests/bench-strnlen-ifunc.c: Likewise.
1564 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1565 * benchtests/bench-strrchr-ifunc.c: Likewise.
1566 * benchtests/bench-strsep-ifunc.c: Likewise.
1567 * benchtests/bench-strspn-ifunc.c: Likewise.
1568 * benchtests/bench-strstr-ifunc.c: Likewise.
1570 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1572 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1574 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1576 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1577 * rt/aio.h: Likewise.
1578 * sysdeps/gnu/bits/utmp.h: Likewise.
1579 * sysdeps/gnu/bits/utmpx.h: Likewise.
1580 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1581 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1582 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1583 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1584 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1585 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1586 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1587 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1588 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1589 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1590 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1591 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1592 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1595 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1596 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1597 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1598 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1599 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1600 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1601 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1602 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1603 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1604 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1606 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1607 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1608 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1609 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1610 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1611 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1613 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1614 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1615 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1616 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1617 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1618 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1619 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1620 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1621 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1623 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1626 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1627 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1629 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1631 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1632 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1635 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1638 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1639 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1640 (__fesetround): Remove define.
1641 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1642 rounding and exceptions handling.
1643 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1644 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1645 (__fe_nomask_env): Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1647 __fegetround instead of fegetround.
1648 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1651 2013-11-21 Roland McGrath <roland@hack.frob.com>
1653 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1656 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1658 2013-11-21 Meador Inge <meadori@codesourcery.com>
1661 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1662 (encrypt_r): Likewise.
1663 * malloc/obstack.h (obstack_free): Likewise.
1664 * posix/unistd.h (encrypt): Likewise.
1666 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1668 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1669 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1670 DL_CALL_DT_FINI() that call the functions directly.
1671 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1672 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1673 * elf/dl-fini.c: Likewise.
1675 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
1677 * malloc/hooks.c (memalign_check): Add alignment rounding.
1678 * malloc/malloc.c (_mid_memalign): New function.
1679 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1680 Implement by calling _mid_memalign.
1681 * manual/probes.texi (Memory Allocation Probes): Remove
1682 memory_valloc_retry and memory_pvalloc_retry.
1684 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1686 * locale/programs/locarchive.c (open_archive): Add const
1687 qualifier to ARCHIVEFNAME and copy default fname to
1691 * libio/tst-widetext.input: Rename Oriya to Odia.
1692 * locale/iso-639.def: Likewise.
1694 * manual/probes.texi (Mathematical Function Probes): Add
1695 documentation for sin, cos, asin and acos probes.
1696 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1697 (__sin32): Add slowasin probe.
1698 (__cos32): Add slowacos probe.
1699 (__mpsin): Add slowsin probe.
1700 (__mpcos): Add slowcos probe.
1702 2013-11-19 Joseph Myers <joseph@codesourcery.com>
1705 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1706 thread-local __sim_exceptions_thread and global
1707 __sim_exceptions_global.
1708 (__sim_disabled_exceptions): Change to thread-local
1709 __sim_disabled_exceptions_thread and global
1710 __sim_disabled_exceptions_global.
1711 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1712 and global __sim_round_mode_global.
1713 (__simulate_exceptions): Use thread-local floating-point state and
1714 set global state from it as needed.
1715 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1716 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1717 __sim_round_mode_thread.
1718 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1719 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1720 and global __sim_exceptions_global.
1721 (__sim_disabled_exceptions): Change to thread-local
1722 __sim_disabled_exceptions_thread and global
1723 __sim_disabled_exceptions_global.
1724 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1725 and global __sim_round_mode_global.
1726 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1727 (SIM_SET_GLOBAL): Likewise.
1728 * sysdeps/powerpc/soft-fp/sfp-machine.h
1729 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1730 __sim_round_mode_thread.
1731 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1732 __sim_disabled_exceptions_thread.
1733 (__sim_exceptions): Change to __sim_exceptions_thread.
1734 (__sim_disabled_exceptions): Change to
1735 __sim_disabled_exceptions_thread.
1736 (__sim_round_mode): Change to __sim_round_mode_thread.
1737 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1738 thread-local floating-point state and set global state from it as
1740 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1741 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1742 (__sim_disabled_exceptions): Remove extern declaration.
1743 (feenableexcept): Use thread-local floating-point state and set
1744 global state from it as needed.
1745 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1747 (__sim_disabled_exceptions): Likewise.
1748 (__sim_round_mode): Likewise.
1749 (__fegetenv): Use thread-local floating-point state.
1750 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1751 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1752 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1753 floating-point state and set global state from it as needed.
1754 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1755 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1756 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1758 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1759 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1761 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1762 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1763 Use __sim_round_mode_thread.
1764 * math/test-fenv-tls.c: New file.
1765 * math/Makefile (tests): Add test-fenv-tls.
1766 ($(objpfx)test-fenv-tls): Depend on
1767 $(common-objpfx)nptl/libpthread.so.
1769 2013-11-19 Andreas Schwab <schwab@suse.de>
1771 * locale/programs/locale.c (show_info): Decode wordarray elements.
1772 * locale/categories.def (LC_MONETARY): Add element for
1773 _NL_MONETARY_CRNCYSTR.
1774 * locale/C-monetary.c (conversion_rate): New variable.
1775 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1778 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1780 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1781 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1783 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1785 * elf/Makefile (tst-auxv): New test.
1786 * elf/tst-auxv.c: New
1787 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1789 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1791 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1792 (hidden_proto): Caller changed.
1793 (hidden_tls_proto): New macro.
1794 (libc_hidden_tls_proto): Likewise.
1795 (rtld_hidden_tls_proto): Likewise.
1796 (libm_hidden_tls_proto): Likewise.
1797 (libresolv_hidden_tls_proto): Likewise.
1798 (librt_hidden_tls_proto): Likewise.
1799 (libdl_hidden_tls_proto): Likewise.
1800 (libnss_files_hidden_tls_proto): Likewise.
1801 (libnsl_hidden_tls_proto): Likewise.
1802 (libnss_nisplus_hidden_tls_proto): Likewise.
1803 (libutil_hidden_tls_proto): Likewise.
1805 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1808 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1809 (decompose_rpath): Defer expansion to fillin_rpath.
1810 (_dl_init_paths): Pass linkmap to fillin_rpath.
1812 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1814 * benchtests/Makefile: Add strsep.
1815 * benchtests/bench-strsep.c: New file: strsep benchtest.
1816 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1818 2013-11-18 Andreas Schwab <schwab@suse.de>
1820 * locale/programs/locale.c (show_info) [case byte]: Check for
1821 '\377' instead of '\177'.
1822 * locale/C-monetary.c (not_available): Always use "\377".
1823 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1824 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1825 detect unavailable sign_posn locale elements.
1826 * locale/localeconv.c (__localeconv): For grouping and
1827 mon_grouping handle "\177" and "\377" like no grouping.
1828 (INT_ELEM): New macro. Use it to set all numeric members.
1829 * locale/programs/ld-monetary.c (monetary_read)
1830 <tok_mon_grouping>: Normalize single -1 to the empty string.
1831 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1834 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1838 when we match (nil).
1839 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1841 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1843 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1844 (NO_TEST_INLINE): Update value.
1845 (ERRNO_UNCHANGED): Likewise.
1846 (ERRNO_EDOM): Likewise.
1847 (ERRNO_ERANGE): Likewise.
1848 (IGNORE_RESULT): Likewise.
1849 (check_float_internal): Check signs of NaN results if
1851 (check_complex): Pass TEST_NAN_SIGN flag through to second
1852 check_float_internal call.
1853 (copysign_test_data): Add tests with quiet NaNs as second
1854 argument. Use TEST_NAN_SIGN.
1855 (fabs_test_data): Add test of negative quiet NaN argument. Use
1857 (signbit_test_data): Add tests of quiet NaN argument.
1858 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1860 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1862 (parse_args): Handle function results specified as IGNORE.
1863 * math/libm-test.inc (IGNORE_RESULT): New macro.
1864 (check_float_internal): Do not check numerical result if flag
1866 (check_complex): Pass through IGNORE_RESULT to second
1867 check_float_internal call.
1868 (check_int): Do not check numerical result if flag IGNORE_RESULT
1870 (check_long): Likewise.
1871 (check_bool): Likewise.
1872 (check_longlong): Likewise.
1873 (lrint_test_data): Add tests of infinite and NaN arguments.
1874 (lrint_tonearest_test_data): Likewise.
1875 (lrint_towardzero_test_data): Likewise.
1876 (lrint_downward_test_data): Likewise.
1877 (lrint_upward_test_data): Likewise.
1878 (llrint_test_data): Likewise.
1879 (llrint_tonearest_test_data): Likewise.
1880 (llrint_towardzero_test_data): Likewise.
1881 (llrint_downward_test_data): Likewise.
1882 (llrint_upward_test_data): Likewise.
1883 (lround_test_data): Likewise.
1884 (llround_test_data): Likewise.
1886 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1887 (ERRNO_UNCHANGED): Update value.
1888 (ERRNO_EDOM): Likewise.
1889 (ERRNO_ERANGE): Likewise.
1890 (NO_TEST_INLINE_FLOAT): New macro.
1891 (NO_TEST_INLINE_DOUBLE): Likewise.
1892 (enable_test): New function.
1893 (RUN_TEST_f_f): Check enable_test before running test.
1894 (RUN_TEST_2_f): Likewise.
1895 (RUN_TEST_fff_f): Likewise.
1896 (RUN_TEST_c_f): Likewise.
1897 (RUN_TEST_f_f1): Likewise.
1898 (RUN_TEST_fF_f1): Likewise.
1899 (RUN_TEST_fI_f1): Likewise.
1900 (RUN_TEST_ffI_f1): Likewise.
1901 (RUN_TEST_c_c): Likewise.
1902 (RUN_TEST_cc_c): Likewise.
1903 (RUN_TEST_f_i): Likewise.
1904 (RUN_TEST_f_i_tg): Likewise.
1905 (RUN_TEST_ff_i_tg): Likewise.
1906 (RUN_TEST_f_b): Likewise.
1907 (RUN_TEST_f_b_tg): Likewise.
1908 (RUN_TEST_f_l): Likewise.
1909 (RUN_TEST_f_L): Likewise.
1910 (RUN_TEST_fFF_11): Likewise.
1911 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1913 (cosh_test_data): Likewise.
1914 (exp_test_data): Likewise.
1915 (expm1_test_data): Likewise.
1916 (hypot_test_data): Likewise.
1917 (pow_test_data): Likewise.
1918 (sinh_test_data): Likewise.
1919 (tanh_test_data): Likewise.
1920 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1923 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1924 tests with quiet NaN input and output.
1925 (acosh_test_data): Likewise.
1926 (asin_test_data): Likewise.
1927 (asinh_test_data): Likewise.
1928 (atan_test_data): Likewise.
1929 (atanh_test_data): Likewise.
1930 (atan2_test_data): Likewise.
1931 (cbrt_test_data): Likewise.
1932 (cos_test_data): Likewise.
1933 (cosh_test_data): Likewise.
1934 (erf_test_data): Likewise.
1935 (erfc_test_data): Likewise.
1936 (exp_test_data): Likewise.
1937 (exp10_test_data): Likewise.
1938 (exp2_test_data): Likewise.
1939 (expm1_test_data): Likewise.
1940 (hypot_test_data): Likewise.
1941 (j0_test_data): Likewise.
1942 (j1_test_data): Likewise.
1943 (jn_test_data): Likewise.
1944 (lgamma_test_data): Likewise.
1945 (log_test_data): Likewise.
1946 (log10_test_data): Likewise.
1947 (log1p_test_data): Likewise.
1948 (log2_test_data): Likewise.
1949 (pow_test_data): Likewise.
1950 (scalb_test_data): Likewise.
1951 (sin_test_data): Likewise.
1952 (sincos_test_data): Likewise.
1953 (sinh_test_data): Likewise.
1954 (tan_test_data): Likewise.
1955 (tanh_test_data): Likewise.
1956 (tgamma_test_data): Likewise.
1957 (y0_test_data): Likewise.
1958 (y1_test_data): Likewise.
1959 (yn_test_data): Likewise.
1962 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1963 argument being NaN and avoid computations with second argument in
1965 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1966 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1967 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1969 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1971 * locale/iso-639.def: Add Chitwani Tharu (the).
1973 2013-11-14 Andreas Schwab <schwab@suse.de>
1975 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1976 word instead of empty string.
1978 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1981 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1983 (__fe_nomask_env): Likewise.
1985 2013-11-13 Steve Ellcey <sellcey@mips.com>
1987 * benchtests/bench-timing.h: Include time.h.
1989 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1992 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1994 * sysdeps/unix/sysv/linux/configure: Regenerated.
1996 2013-11-13 Joseph Myers <joseph@codesourcery.com>
1999 * stdlib/strtod_l.c (round_and_return): Do not consider
2000 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2001 exponent one less than half the least subnormal exponent.
2002 * stdlib/test-strtod-round-data: Add more tests.
2003 * stdlib/tst-strtod-round.c (tests): Regenerated.
2005 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2008 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2009 (__fe_mask_env): Likewise.
2010 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2011 libm_hidden_proto and add function prototype.
2012 (__fe_mask_env): Add function prototype.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2014 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2016 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2018 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2020 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2022 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2023 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2025 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2027 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2028 of htab_find_slot().
2030 2013-11-11 David S. Miller <davem@davemloft.net>
2033 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2034 symbol in the non-vis3 case in static builds.
2035 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2036 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2037 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2038 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2040 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2043 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2046 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2048 * benchtests/Makefile: Add bench-strtod.
2049 * benchtests/bench-strtod.c: New file: strtod benchtest
2051 2013-11-11 Andreas Schwab <schwab@suse.de>
2054 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2055 terminating NUL in key length.
2057 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2060 Add artificial ODP entry for vDSO symbol for PPC64.
2061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2062 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2064 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2067 * nss/getent.c (services_keys): Recognize services starting with digit.
2069 2013-11-06 David S. Miller <davem@davemloft.net>
2072 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2073 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2075 2013-11-06 Will Newton <will.newton@linaro.org>
2077 * manual/memory.texi (Malloc Examples): Remove register
2078 keyword from examples.
2080 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2082 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2084 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2086 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2087 depending on [__GCC_IEC_559 > 0].
2088 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2089 depending on [__GCC_IEC_559_COMPLEX > 0].
2091 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2093 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2096 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2098 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2100 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2103 * malloc/malloc (malloc_info): Do not handle first bin as
2106 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2108 * locale/iso-639.def: Add Central Nahuatl (nhn).
2110 2013-11-01 Bruno Haible <bruno@clisp.org>
2113 * manual/math.texi (BSD Random): Specify range upper bound as
2116 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2118 * locale/iso-639.def: Add Meadow Mari (mhr).
2120 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2122 [BZ #14752], [BZ #15763]
2123 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2125 * rt/tst_shm.c: Add test for escaping directory.
2127 2013-10-31 Andreas Schwab <schwab@suse.de>
2130 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2131 followed by 'x' as part of digit sequence.
2132 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2134 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2137 * configure.ac: allow GNU Make 4.0 and greater.
2138 * configure: Regenerated.
2140 2013-10-30 Will Newton <will.newton@linaro.org>
2143 * malloc/hooks.c (memalign_check): Limit alignment to the
2144 maximum representable power of two.
2145 * malloc/malloc.c (__libc_memalign): Likewise.
2146 * malloc/tst-memalign.c (do_test): Add test for very
2147 large alignment values.
2148 * malloc/tst-posix_memalign.c (do_test): Likewise.
2150 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2153 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2154 (munmap_chunk): Likewise.
2155 (mremap_chunk): Likewise.
2157 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2160 * stdlib/div.c (div): Remove obsolete code.
2161 * stdlib/ldiv.c (ldiv): Likewise.
2162 * stdlib/lldiv.c (lldiv): Likewise.
2164 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2167 * nss/nss_files/files-XXX.c (get_contents_ret): New
2169 (get_contents): New function.
2170 (internal_getent): Use it. Expand size of LINEBUFLEN.
2172 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2174 * configure.in: Moved to ...
2175 * configure.ac: ... here. Change reference to configure.in
2177 * sysdeps/arm/preconfigure.ac: ... here.
2178 configure.in to configure.ac.
2179 * sysdeps/gnu/configure.in: Moved to ...
2180 * sysdeps/gnu/configure.ac: ... here.
2181 * sysdeps/i386/configure.in: Moved to ...
2182 * sysdeps/i386/configure.ac: ... here.
2183 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2184 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2185 * sysdeps/mach/configure.in: Moved to ...
2186 * sysdeps/mach/configure.ac: ... here.
2187 * sysdeps/mach/hurd/configure.in: Moved to ...
2188 * sysdeps/mach/hurd/configure.ac: ... here.
2189 * sysdeps/powerpc/configure.in: Moved to ...
2190 * sysdeps/powerpc/configure.ac: ... here.
2191 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2192 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2193 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2194 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2195 * sysdeps/s390/s390-32/configure.in: Moved to ...
2196 * sysdeps/s390/s390-32/configure.ac: ... here.
2197 * sysdeps/s390/s390-64/configure.in: Moved to ...
2198 * sysdeps/s390/s390-64/configure.ac: ... here.
2199 * sysdeps/sh/configure.in: Moved to ...
2200 * sysdeps/sh/configure.ac: ... here.
2201 * sysdeps/sparc/configure.in: Moved to ...
2202 * sysdeps/sparc/configure.ac: ... here.
2203 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2204 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2205 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2206 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2207 * sysdeps/x86_64/configure.in: Moved to ...
2208 * sysdeps/x86_64/configure.ac: ... here.
2209 * sysdeps/x86_64/preconfigure.in: Moved to ...
2210 * sysdeps/x86_64/preconfigure.ac: ... here.
2211 * aclocal.m4: Change reference to configure.in to configure.ac.
2212 * config.h.in: Likewise.
2213 * manual/install.texi: Likewise.
2214 * manual/maint.texi: Likewise.
2215 * Makefile: Likewise.
2216 * malloc/Makefile: Likewise.
2217 * nscd/Makefile: Likewise.
2218 * Makeconfig: Change reference to configure.in and
2219 preconfigure.in to configure.ac and preconfigure.ac
2221 * INSTALL: Regenerated.
2222 * configure: Likewise.
2223 * sysdeps/gnu/configure: Likewise.
2224 * sysdeps/i386/configure: Likewise.
2225 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2226 * sysdeps/mach/configure: Likewise.
2227 * sysdeps/mach/hurd/configure: Likewise.
2228 * sysdeps/powerpc/configure: Likewise.
2229 * sysdeps/powerpc/powerpc32/configure: Likewise.
2230 * sysdeps/powerpc/powerpc64/configure: Likewise.
2231 * sysdeps/s390/s390-32/configure: Likewise.
2232 * sysdeps/s390/s390-64/configure: Likewise.
2233 * sysdeps/sh/configure: Likewise.
2234 * sysdeps/sparc/configure: Likewise.
2235 * sysdeps/unix/sysv/linux/configure: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2237 * sysdeps/x86_64/configure: Likewise.
2238 * sysdeps/x86_64/preconfigure: Likewise.
2240 2013-10-29 Andreas Schwab <schwab@suse.de>
2242 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2244 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2246 * benchtests/pow-inputs: Add new inputs.
2248 * benchtests/exp-inputs: Add new inputs.
2250 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2251 conditional check for return value.
2252 (__cos32): Likewise.
2254 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2257 to provide a boost for large inputs with word alignment.
2258 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2259 implementation based on optimized PPC64 strcpy.
2260 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2261 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2262 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2263 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2265 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2268 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2270 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2273 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2274 * time/tst-strptime.c (day_tests): Add testcase.
2276 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2279 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2281 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2284 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2285 MAP_FAILED on error.
2287 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2290 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2291 heap for large requests.
2293 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2296 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2297 result if the result has no associated interface.
2298 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2299 interface for all 127.X.Y.Z addresses.
2301 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2303 * locale/iso-639.def: Add Ligurian (lij)
2305 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2308 * sunrpc/rpc_main.c: Document rpcgen -5.
2310 2013-10-19 Michael Stahl <mstahl@redhat.com>
2312 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2314 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2317 * posix/glob.c: Match only directories when trailing slash is present.
2318 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2319 (main): Add testcase.
2321 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2324 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2326 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2328 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2329 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2330 AUTH_DES and cindex for FIPS 140-2.
2331 (DES Encryption): Add cindex FIPS 46-3.
2333 * locale/locarchive.h (struct locarhandle): Add fname.
2334 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2335 if an optional argument was specified to --list-archive,
2337 * locale/programs/locarchive.c (show_archive_content): Take new
2338 argument fname and pass it via ah.fname to open_archive.
2339 * locale/programs/localedef.h: Update decl.
2340 (open_archive): If AH->fname is non-null, open that file
2341 rather than the default file name, and don't ignore ENOENT.
2342 (create_archive): Set AH.fname to NULL.
2343 (delete_locales_from_archive): Likewise.
2344 (add_locales_to_archive): Likewise.
2345 * locale/programs/locfile.c (write_all_categories): Likewise.
2347 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2348 Aldy Hernandez <aldyh@redhat.com>
2350 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2351 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2352 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2353 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2354 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2355 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2356 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2357 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2358 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2359 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2360 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2361 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2362 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2363 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2364 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2366 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2368 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2370 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2372 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2373 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2375 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2376 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2377 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2378 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2380 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2381 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2382 * sysdeps/powerpc/preconfigure: Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2385 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2386 Replace contents of file by #include of <fenv_libc.h>.
2387 * sysdeps/powerpc/soft-fp/sfp-machine.h
2388 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2390 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2391 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2392 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2393 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2394 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2395 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2397 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2398 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2399 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2400 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2401 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2403 Allow copysignl PLT reference to be missing.
2405 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2406 Joseph Myers <joseph@codesourcery.com
2409 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2411 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2413 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2415 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2416 * elf/tst-tls1.c: Likewise.
2417 * elf/tst-tls10.h: Likewise.
2418 * elf/tst-tls14.c: Likewise.
2419 * elf/tst-tls2.c: Likewise.
2420 * elf/tst-tls3.c: Likewise.
2421 * elf/tst-tls4.c: Likewise.
2422 * elf/tst-tls5.c: Likewise.
2423 * elf/tst-tls6.c: Likewise.
2424 * elf/tst-tls7.c: Likewise.
2425 * elf/tst-tls8.c: Likewise.
2426 * elf/tst-tls9.c: Likewise.
2427 * elf/tst-tlsmod1.c: Likewise.
2428 * elf/tst-tlsmod13.c: Likewise.
2429 * elf/tst-tlsmod13a.c: Likewise.
2430 * elf/tst-tlsmod14a.c: Likewise.
2431 * elf/tst-tlsmod16a.c: Likewise.
2432 * elf/tst-tlsmod16b.c: Likewise.
2433 * elf/tst-tlsmod2.c: Likewise.
2434 * elf/tst-tlsmod3.c: Likewise.
2435 * elf/tst-tlsmod4.c: Likewise.
2436 * elf/tst-tlsmod5.c: Likewise.
2437 * elf/tst-tlsmod6.c: Likewise.
2439 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2442 * malloc/malloc.c: remove checks for statistics.
2444 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2447 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2448 * inet/tst-network.c: Add testcase.
2450 2013-10-17 Andreas Schwab <schwab@suse.de>
2453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2454 to determine canonical name.
2456 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2458 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2459 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2461 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2463 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2464 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2465 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2466 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2467 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2468 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2469 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2470 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2471 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2473 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2475 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2476 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2477 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2481 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2482 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2483 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2484 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2485 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2486 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2487 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2490 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2491 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2492 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2493 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2494 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2495 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2496 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2497 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2498 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2499 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2500 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2501 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2502 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2503 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2504 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2505 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2506 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2508 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2510 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2511 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2512 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2513 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2515 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2517 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2520 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2521 make result into a quiet NaN.
2523 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2525 * soft-fp/adddf3.c: Fix horizontal whitespace.
2526 * soft-fp/addsf3.c: Likewise.
2527 * soft-fp/addtf3.c: Likewise.
2528 * soft-fp/divdf3.c: Likewise.
2529 * soft-fp/divsf3.c: Likewise.
2530 * soft-fp/divtf3.c: Likewise.
2531 * soft-fp/double.h: Likewise.
2532 * soft-fp/eqdf2.c: Likewise.
2533 * soft-fp/eqsf2.c: Likewise.
2534 * soft-fp/eqtf2.c: Likewise.
2535 * soft-fp/extenddftf2.c: Likewise.
2536 * soft-fp/extended.h: Likewise.
2537 * soft-fp/extendsfdf2.c: Likewise.
2538 * soft-fp/extendsftf2.c: Likewise.
2539 * soft-fp/extendxftf2.c: Likewise.
2540 * soft-fp/fixdfdi.c: Likewise.
2541 * soft-fp/fixdfsi.c: Likewise.
2542 * soft-fp/fixdfti.c: Likewise.
2543 * soft-fp/fixsfdi.c: Likewise.
2544 * soft-fp/fixsfsi.c: Likewise.
2545 * soft-fp/fixsfti.c: Likewise.
2546 * soft-fp/fixtfdi.c: Likewise.
2547 * soft-fp/fixtfsi.c: Likewise.
2548 * soft-fp/fixtfti.c: Likewise.
2549 * soft-fp/fixunsdfdi.c: Likewise.
2550 * soft-fp/fixunsdfsi.c: Likewise.
2551 * soft-fp/fixunsdfti.c: Likewise.
2552 * soft-fp/fixunssfdi.c: Likewise.
2553 * soft-fp/fixunssfsi.c: Likewise.
2554 * soft-fp/fixunssfti.c: Likewise.
2555 * soft-fp/fixunstfdi.c: Likewise.
2556 * soft-fp/fixunstfsi.c: Likewise.
2557 * soft-fp/fixunstfti.c: Likewise.
2558 * soft-fp/floatdidf.c: Likewise.
2559 * soft-fp/floatdisf.c: Likewise.
2560 * soft-fp/floatditf.c: Likewise.
2561 * soft-fp/floatsidf.c: Likewise.
2562 * soft-fp/floatsisf.c: Likewise.
2563 * soft-fp/floatsitf.c: Likewise.
2564 * soft-fp/floattidf.c: Likewise.
2565 * soft-fp/floattisf.c: Likewise.
2566 * soft-fp/floattitf.c: Likewise.
2567 * soft-fp/floatundidf.c: Likewise.
2568 * soft-fp/floatundisf.c: Likewise.
2569 * soft-fp/floatunditf.c: Likewise.
2570 * soft-fp/floatunsidf.c: Likewise.
2571 * soft-fp/floatunsisf.c: Likewise.
2572 * soft-fp/floatunsitf.c: Likewise.
2573 * soft-fp/floatuntidf.c: Likewise.
2574 * soft-fp/floatuntisf.c: Likewise.
2575 * soft-fp/floatuntitf.c: Likewise.
2576 * soft-fp/fmadf4.c: Likewise.
2577 * soft-fp/fmasf4.c: Likewise.
2578 * soft-fp/fmatf4.c: Likewise.
2579 * soft-fp/gedf2.c: Likewise.
2580 * soft-fp/gesf2.c: Likewise.
2581 * soft-fp/getf2.c: Likewise.
2582 * soft-fp/ledf2.c: Likewise.
2583 * soft-fp/lesf2.c: Likewise.
2584 * soft-fp/letf2.c: Likewise.
2585 * soft-fp/muldf3.c: Likewise.
2586 * soft-fp/mulsf3.c: Likewise.
2587 * soft-fp/multf3.c: Likewise.
2588 * soft-fp/negdf2.c: Likewise.
2589 * soft-fp/negsf2.c: Likewise.
2590 * soft-fp/negtf2.c: Likewise.
2591 * soft-fp/op-1.h: Likewise.
2592 * soft-fp/op-2.h: Likewise.
2593 * soft-fp/op-4.h: Likewise.
2594 * soft-fp/op-8.h: Likewise.
2595 * soft-fp/op-common.h: Likewise.
2596 * soft-fp/quad.h: Likewise.
2597 * soft-fp/single.h: Likewise.
2598 * soft-fp/soft-fp.h: Likewise.
2599 * soft-fp/sqrtdf2.c: Likewise.
2600 * soft-fp/sqrtsf2.c: Likewise.
2601 * soft-fp/sqrttf2.c: Likewise.
2602 * soft-fp/subdf3.c: Likewise.
2603 * soft-fp/subsf3.c: Likewise.
2604 * soft-fp/subtf3.c: Likewise.
2605 * soft-fp/truncdfsf2.c: Likewise.
2606 * soft-fp/trunctfdf2.c: Likewise.
2607 * soft-fp/trunctfsf2.c: Likewise.
2608 * soft-fp/trunctfxf2.c: Likewise.
2609 * soft-fp/unorddf2.c: Likewise.
2610 * soft-fp/unordsf2.c: Likewise.
2611 * soft-fp/unordtf2.c: Likewise.
2613 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2615 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2616 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2618 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2620 * elf/dl-libc.c: Clear initfini list after freeing.
2622 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2624 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2625 * soft-fp/addsf3.c: Likewise.
2626 * soft-fp/addtf3.c: Likewise.
2627 * soft-fp/divdf3.c: Likewise.
2628 * soft-fp/divsf3.c: Likewise.
2629 * soft-fp/divtf3.c: Likewise.
2630 * soft-fp/double.h: Likewise.
2631 * soft-fp/eqdf2.c: Likewise.
2632 * soft-fp/eqsf2.c: Likewise.
2633 * soft-fp/eqtf2.c: Likewise.
2634 * soft-fp/extenddftf2.c: Likewise.
2635 * soft-fp/extended.h: Likewise.
2636 * soft-fp/extendsfdf2.c: Likewise.
2637 * soft-fp/extendsftf2.c: Likewise.
2638 * soft-fp/extendxftf2.c: Likewise.
2639 * soft-fp/fixdfdi.c: Likewise.
2640 * soft-fp/fixdfsi.c: Likewise.
2641 * soft-fp/fixdfti.c: Likewise.
2642 * soft-fp/fixsfdi.c: Likewise.
2643 * soft-fp/fixsfsi.c: Likewise.
2644 * soft-fp/fixsfti.c: Likewise.
2645 * soft-fp/fixtfdi.c: Likewise.
2646 * soft-fp/fixtfsi.c: Likewise.
2647 * soft-fp/fixtfti.c: Likewise.
2648 * soft-fp/fixunsdfdi.c: Likewise.
2649 * soft-fp/fixunsdfsi.c: Likewise.
2650 * soft-fp/fixunsdfti.c: Likewise.
2651 * soft-fp/fixunssfdi.c: Likewise.
2652 * soft-fp/fixunssfsi.c: Likewise.
2653 * soft-fp/fixunssfti.c: Likewise.
2654 * soft-fp/fixunstfdi.c: Likewise.
2655 * soft-fp/fixunstfsi.c: Likewise.
2656 * soft-fp/fixunstfti.c: Likewise.
2657 * soft-fp/floatdidf.c: Likewise.
2658 * soft-fp/floatdisf.c: Likewise.
2659 * soft-fp/floatditf.c: Likewise.
2660 * soft-fp/floatsidf.c: Likewise.
2661 * soft-fp/floatsisf.c: Likewise.
2662 * soft-fp/floatsitf.c: Likewise.
2663 * soft-fp/floattidf.c: Likewise.
2664 * soft-fp/floattisf.c: Likewise.
2665 * soft-fp/floattitf.c: Likewise.
2666 * soft-fp/floatundidf.c: Likewise.
2667 * soft-fp/floatundisf.c: Likewise.
2668 * soft-fp/floatunsidf.c: Likewise.
2669 * soft-fp/floatunsisf.c: Likewise.
2670 * soft-fp/floatuntidf.c: Likewise.
2671 * soft-fp/floatuntisf.c: Likewise.
2672 * soft-fp/floatuntitf.c: Likewise.
2673 * soft-fp/fmadf4.c: Likewise.
2674 * soft-fp/fmasf4.c: Likewise.
2675 * soft-fp/fmatf4.c: Likewise.
2676 * soft-fp/gedf2.c: Likewise.
2677 * soft-fp/gesf2.c: Likewise.
2678 * soft-fp/getf2.c: Likewise.
2679 * soft-fp/ledf2.c: Likewise.
2680 * soft-fp/lesf2.c: Likewise.
2681 * soft-fp/letf2.c: Likewise.
2682 * soft-fp/muldf3.c: Likewise.
2683 * soft-fp/mulsf3.c: Likewise.
2684 * soft-fp/multf3.c: Likewise.
2685 * soft-fp/negdf2.c: Likewise.
2686 * soft-fp/negsf2.c: Likewise.
2687 * soft-fp/negtf2.c: Likewise.
2688 * soft-fp/op-1.h: Likewise.
2689 * soft-fp/op-2.h: Likewise.
2690 * soft-fp/op-4.h: Likewise.
2691 * soft-fp/op-8.h: Likewise.
2692 * soft-fp/op-common.h: Likewise.
2693 * soft-fp/quad.h: Likewise.
2694 * soft-fp/single.h: Likewise.
2695 * soft-fp/soft-fp.h: Likewise.
2696 * soft-fp/sqrtdf2.c: Likewise.
2697 * soft-fp/sqrtsf2.c: Likewise.
2698 * soft-fp/sqrttf2.c: Likewise.
2699 * soft-fp/subdf3.c: Likewise.
2700 * soft-fp/subsf3.c: Likewise.
2701 * soft-fp/subtf3.c: Likewise.
2702 * soft-fp/truncdfsf2.c: Likewise.
2703 * soft-fp/trunctfdf2.c: Likewise.
2704 * soft-fp/trunctfsf2.c: Likewise.
2705 * soft-fp/trunctfxf2.c: Likewise.
2706 * soft-fp/unorddf2.c: Likewise.
2707 * soft-fp/unordsf2.c: Likewise.
2708 * soft-fp/unordtf2.c: Likewise.
2710 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
2713 * misc/error.c (error_tail): Fix possible buffer overflow.
2715 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2718 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2721 2013-10-14 P. J. McDermott <pj@pehjota.net>
2724 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2725 testing pipefail option.
2727 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2729 * soft-fp/double.h: Indent preprocessor directives inside #if.
2730 * soft-fp/extended.h: Likewise.
2731 * soft-fp/op-2.h: Likewise.
2732 * soft-fp/op-4.h: Likewise.
2733 * soft-fp/op-common.h: Likewise.
2734 * soft-fp/quad.h: Likewise.
2735 * soft-fp/single.h: Likewise.
2736 * soft-fp/soft-fp.h: Likewise.
2738 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2740 * iconv/iconv_prog.c: Fix typos.
2741 * stdio-common/psiginfo-data.h: Likewise.
2743 2013-10-12 Reuben Thomas <rrt@sc3d.org>
2746 * locale/setlocale.c: Fix typo.
2748 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2751 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2752 signaling NaN arguments.
2753 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2754 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2757 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2759 * soft-fp/gesf2.c (__gesf2): Likewise.
2760 * soft-fp/getf2.c (__getf2): Likewise.
2761 * soft-fp/ledf2.c (__ledf2): Likewise.
2762 * soft-fp/lesf2.c (__lesf2): Likewise.
2763 * soft-fp/letf2.c (__letf2): Likewise.
2765 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2766 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2767 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2768 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2769 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2770 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2771 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2772 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2773 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2774 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2775 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2776 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2777 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2778 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2779 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2780 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2781 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2782 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2783 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2784 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2785 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2786 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2787 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2788 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2789 * soft-fp/floattidf.c (__floattidf): Likewise.
2790 * soft-fp/floattisf.c (__floattisf): Likewise.
2791 * soft-fp/floattitf.c (__floattitf): Likewise.
2792 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2793 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2794 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2795 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2796 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2797 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2798 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2799 * soft-fp/gesf2.c (__gesf2): Likewise.
2800 * soft-fp/getf2.c (__getf2): Likewise.
2801 * soft-fp/ledf2.c (__ledf2): Likewise.
2802 * soft-fp/lesf2.c (__lesf2): Likewise.
2803 * soft-fp/letf2.c (__letf2): Likewise.
2805 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2806 Undefine and redefine.
2807 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2808 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2809 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2810 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2811 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2812 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2813 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2814 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2815 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2816 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2817 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2818 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2819 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2820 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2821 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2824 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2825 without decrementing exponent if mantissa >= that for the
2827 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2828 denominator, not >. Decrement exponent in < case instead of
2829 incrementing in >= case.
2830 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2831 without decrementing exponent if mantissa >= that for the
2834 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2835 computing saturated result for unsigned overflow.
2837 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 Jeff Law <law@redhat.com>
2840 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2841 (atan2Mp): Add systemtap probe marker.
2842 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2843 (__ieee754_log): Add systemtap probe marker.
2844 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2845 (atanMp): Add systemtap probe marker.
2846 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2847 (tanMp): Add systemtap probe marker.
2848 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2849 (__slowexp): Add systemtap probe marker.
2850 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2851 (__slowpow): Add systemtap probe marker.
2852 * manual/probes.texi: Document probes.
2854 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2857 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2859 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2861 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2862 written to buffer but not flushed.
2863 * libio/iofwrite_u.c: Likewise.
2864 * libio/iopadn.c: Return bytes returned even if EOF was
2866 * libio/iowpadn.c: Likewise.
2867 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2868 if _IO_padn does not write the whole buffer.
2869 [!COMPILE_WPRINTF] (PAD): Likewise.
2871 2013-10-10 David S. Miller <davem@davemloft.net>
2873 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2876 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2878 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2879 instead of FSF address.
2880 * soft-fp/fixdfti.c: Likewise.
2881 * soft-fp/fixsfti.c: Likewise.
2882 * soft-fp/fixtfti.c: Likewise.
2883 * soft-fp/fixunsdfti.c: Likewise.
2884 * soft-fp/fixunssfti.c: Likewise.
2885 * soft-fp/fixunstfti.c: Likewise.
2886 * soft-fp/floattidf.c: Likewise.
2887 * soft-fp/floattisf.c: Likewise.
2888 * soft-fp/floattitf.c: Likewise.
2889 * soft-fp/floatuntidf.c: Likewise.
2890 * soft-fp/floatuntisf.c: Likewise.
2891 * soft-fp/floatuntitf.c: Likewise.
2892 * soft-fp/trunctfxf2.c: Likewise.
2894 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2895 * soft-fp/fixdfti.c: Likewise.
2896 * soft-fp/fixsfti.c: Likewise.
2897 * soft-fp/fixtfti.c: Likewise.
2898 * soft-fp/fixunsdfti.c: Likewise.
2899 * soft-fp/fixunssfti.c: Likewise.
2900 * soft-fp/fixunstfti.c: Likewise.
2901 * soft-fp/floattidf.c: Likewise.
2902 * soft-fp/floattisf.c: Likewise.
2903 * soft-fp/floattitf.c: Likewise.
2904 * soft-fp/floatuntidf.c: Likewise.
2905 * soft-fp/floatuntisf.c: Likewise.
2906 * soft-fp/floatuntitf.c: Likewise.
2907 * soft-fp/trunctfxf2.c: Likewise.
2909 2013-10-10 David S. Miller <davem@davemloft.net>
2911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2913 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2915 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2916 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2917 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2918 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2919 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2920 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2921 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2924 for NaNs before doing comparisons on argument.
2925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2928 2013-10-10 Will Newton <will.newton@linaro.org>
2930 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2931 passed to _int_memalign does not overflow.
2933 2013-10-10 Torvald Riegel <triegel@redhat.com>
2935 * scripts/bench.pl: Add include-sources directive.
2936 * benchtests/README: Update documentation.
2938 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2940 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2941 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2942 instead of FP_INIT_ROUNDMODE.
2943 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2944 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2947 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2948 copy class of input value.
2949 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2950 not handle exceptions.
2951 * soft-fp/negsf2.c (__negsf2): Likewise.
2952 * soft-fp/negtf2.c (__negtf2): Likewise.
2953 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2955 2013-10-09 Joseph Myers <joseph@codesourcery.com>
2957 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2958 semicolon. From Linux kernel.
2960 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2962 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2964 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2967 * manual/socket.texi: Added statement about buffer
2968 for gethostbyname2_r.
2970 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
2972 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2973 Use .p2align directive instead, throughout.
2974 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2975 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2976 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2977 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2979 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2980 * sysdeps/x86_64/strchr.S: Likewise.
2981 * sysdeps/x86_64/strrchr.S: Likewise.
2983 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2985 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2987 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2989 * sysdeps/generic/math_private.h (__mpsin1): Remove
2991 (__mpcos1): Likewise.
2992 (__mpsin): New argument __range_reduce.
2993 (__mpcos): Likewise.
2994 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2995 (slow): Use __mpsin and __mpcos.
3002 (bsloww1): Likewise.
3003 (bsloww2): Likewise.
3006 (csloww1): Likewise.
3007 (csloww2): Likewise.
3008 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3009 range_reduce. Merge in __mpsin1.
3010 (__mpcos): Likewise.
3012 (__mpcos1): Likewise.
3014 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3016 * locale/loadlocale.c (_nl_intern_locale_data): Use
3018 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3019 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3020 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3021 obstack data is appropriately aligned.
3022 (obstack_int32_grow_fast): Likewise.
3023 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3024 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3025 (add_locale_uint32_array): Likewise.
3027 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3029 * benchtests/Makefile: Remove ARGLIST and RET variables.
3030 ($(objpfx)bench-%.c): Pass only function name to the script.
3031 * benchtests/README: Update documentation.
3032 * benchtests/acos-inputs: Add new directives.
3033 * benchtests/acosh-inputs: Likewise.
3034 * benchtests/asin-inputs: Likewise.
3035 * benchtests/asinh-inputs: Likewise.
3036 * benchtests/atan-inputs: Likewise.
3037 * benchtests/atanh-inputs: Likewise.
3038 * benchtests/cos-inputs: Likewise.
3039 * benchtests/cosh-inputs: Likewise.
3040 * benchtests/exp-inputs: Likewise.
3041 * benchtests/log-inputs: Likewise.
3042 * benchtests/pow-inputs: Likewise.
3043 * benchtests/rint-inputs: Likewise.
3044 * benchtests/sin-inputs: Likewise.
3045 * benchtests/sinh-inputs: Likewise.
3046 * benchtests/tan-inputs: Likewise.
3047 * benchtests/tanh-inputs: Likewise.
3048 * scripts/bench.pl: Add support for new directives.
3050 2013-10-07 Alan Modra <amodra@gmail.com>
3052 * README: Fix careless merge.
3054 2013-10-05 Alan Modra <amodra@gmail.com>
3056 * NEWS: Mention powerpc64le support and bugs fixed.
3057 * README: Both big-endian and little-endian powerpc64 supported.
3059 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3061 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3062 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3063 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3064 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3066 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3068 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3071 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3074 Move -mhard-float appending from
3075 ports/sysdeps/powerpc/powerpc32/Makefile.
3076 [$(with-fp) = yes] (ASFLAGS): Likewise.
3077 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3078 * sysdeps/powerpc/nofpu: Move directory from
3079 ports/sysdeps/powerpc/nofpu.
3080 * sysdeps/powerpc/soft-fp: Move directory from
3081 ports/sysdeps/powerpc/soft-fp.
3082 * sysdeps/powerpc/powerpc32/405: Move directory from
3083 ports/sysdeps/powerpc/powerpc32/405.
3084 * sysdeps/powerpc/powerpc32/440: Move directory from
3085 ports/sysdeps/powerpc/powerpc32/440.
3086 * sysdeps/powerpc/powerpc32/464: Move directory from
3087 ports/sysdeps/powerpc/powerpc32/464.
3088 * sysdeps/powerpc/powerpc32/476: Move directory from
3089 ports/sysdeps/powerpc/powerpc32/476.
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3091 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3093 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3095 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3097 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3099 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3100 * README: Update for powerpc-*-linux-gnu software floating point
3103 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3104 case to powerpc/powerpc32*.
3105 * sysdeps/unix/sysv/linux/configure: Regenerated.
3107 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3108 (_FPU_MASK_OM): Define as 0x04.
3109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3117 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3120 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3123 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3124 and setcontext_e500.
3126 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3128 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3130 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3132 * manual/threads.texi (Default Thread Attributes): Fix typo.
3134 2013-10-04 Will Newton <will.newton@linaro.org>
3136 * malloc/Makefile: Add tst-memalign.
3137 * malloc/tst-memalign.c: New file.
3139 * malloc/tst-posix_memalign.c: Add comments.
3140 (do_test): Add comments and call free on all potentially
3141 allocated pointers. Add space after cast.
3143 * malloc/tst-pvalloc.c: Add comments.
3144 (do_test): Add comments and call free on all potentially
3145 allocated pointers. Remove duplicate check for NULL pointer.
3146 Add space after cast.
3148 * malloc/tst-valloc.c: Add comments.
3149 (do_test): Add comments and call free on all potentially
3150 allocated pointers. Remove duplicate check for NULL pointer.
3151 Add space after cast.
3153 2013-10-04 Alan Modra <amodra@gmail.com>
3155 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3156 Use stdint types in rather than __attribute__((mode())).
3157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3159 2013-10-04 Alan Modra <amodra@gmail.com>
3161 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3162 Correct handling of unaligned relocs for little-endian.
3163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3165 2013-10-04 Alan Modra <amodra@gmail.com>
3167 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3168 * configure: Regenerate.
3169 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3170 * shlib-versions: Likewise.
3172 2013-10-04 Alan Modra <amodra@gmail.com>
3174 * string/tester.c (test_memrchr): Increment reported test cycle.
3176 2013-10-04 Alan Modra <amodra@gmail.com>
3178 * string/test-memcpy.c (do_one_test): When reporting errors, print
3179 string address and don't overrun end of string.
3181 2013-10-04 Alan Modra <amodra@gmail.com>
3183 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3184 insrdi. Make better use of reg selection to speed exit slightly.
3185 Schedule entry path a little better. Remove useless "are we done"
3186 checks on entry to main loop. Handle wrapping around zero address.
3187 Correct main loop count. Handle single left-over word from main
3188 loop inline rather than by using loop_small. Remove extra word
3189 case in loop_small caused by wrong loop count. Add little-endian
3191 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3192 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3194 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3195 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3196 support. Avoid rlwimi.
3197 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3199 2013-10-04 Alan Modra <amodra@gmail.com>
3201 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3203 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3204 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3205 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3206 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3207 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3208 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3210 2013-10-04 Alan Modra <amodra@gmail.com>
3212 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3213 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3214 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3216 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3217 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3218 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3219 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3220 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3221 use of regs. Use power7 mtocrf. Tidy function tails.
3223 2013-10-04 Alan Modra <amodra@gmail.com>
3225 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3226 Formatting. Consistently use rXXX register defines or rN defines.
3227 Use early exit labels that avoid restoring unused non-volatile regs.
3228 Make cr field use more consistent with rWORDn compares. Rename
3229 regs used as shift registers for unaligned loop, using rN defines
3230 for short lifetime/multiple use regs.
3231 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3232 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3233 addi 1,1,64 to pop stack frame. Simplify return value code.
3234 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3236 2013-10-04 Alan Modra <amodra@gmail.com>
3238 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3239 support. Correct typos, formatting. Optimize tail. Use insrdi
3241 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3242 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3243 little-endian support. Correct typos.
3244 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3246 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3247 in loop and entry code to keep "and." results.
3248 (strchr): Add little-endian support. Comment. Move cntlzd
3250 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3252 2013-10-04 Alan Modra <amodra@gmail.com>
3254 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3255 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3256 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3257 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3259 2013-10-04 Alan Modra <amodra@gmail.com>
3261 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3262 (rTMP): Define as r11.
3263 (strcmp): Add little-endian support. Optimise tail.
3264 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3265 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3266 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3267 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3269 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3270 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3272 2013-10-04 Alan Modra <amodra@gmail.com>
3274 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3275 little-endian support. Remove unnecessary "are we done" tests.
3276 Handle "s" wrapping around zero and extremely large "size".
3277 Correct main loop count. Handle single left-over word from main
3278 loop inline rather than by using small_loop. Correct comments.
3279 Delete "zero" tail, use "end_max" instead.
3280 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3282 2013-10-04 Alan Modra <amodra@gmail.com>
3284 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3285 support. Don't branch over align.
3286 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3288 support. Rearrange tmp reg use to suit. Comment.
3289 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3291 2013-10-04 Alan Modra <amodra@gmail.com>
3293 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3295 2013-10-04 Alan Modra <amodra@gmail.com>
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3298 conditional form of branch and link when obtaining pc.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3301 2013-10-04 Alan Modra <amodra@gmail.com>
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3308 2013-10-04 Alan Modra <amodra@gmail.com>
3310 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3311 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3312 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3313 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3314 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3315 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3316 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3317 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3319 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3321 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3322 Alistair Popple <alistair@ozlabs.au.ibm.com>
3323 Alan Modra <amodra@gmail.com>
3326 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3327 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3328 _dl_hwcap access for little-endian.
3329 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3330 destroy vmx regs when saving unaligned.
3331 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3332 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3333 destroy vmx regs when saving unaligned.
3335 2013-10-04 Alan Modra <amodra@gmail.com>
3337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3338 Don't use a union to pack hi/low value.
3340 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3342 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3344 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3346 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3347 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3348 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3350 2013-10-04 Alan Modra <amodra@gmail.com>
3352 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3353 constants to usual value for .cst8 section, and remove redundant
3355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3356 constant for 0x1p52. Load little-endian words of double from
3357 correct stack offsets.
3359 2013-10-04 Alan Modra <amodra@gmail.com>
3361 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3362 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3363 words of double from correct stack offsets.
3364 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3365 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3366 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3369 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3370 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3371 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3372 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3373 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3374 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3375 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3376 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3377 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3378 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3379 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3380 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3382 2013-10-04 Alan Modra <amodra@gmail.com>
3384 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3385 64-bit int/double union.
3386 (_FPU_SETCW): Likewise.
3387 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3388 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3390 2013-10-04 Alan Modra <amodra@gmail.com>
3392 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3393 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3395 2013-10-04 Alan Modra <amodra@gmail.com>
3397 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3398 use vector int constants.
3399 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3401 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3403 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3404 array with long long.
3405 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3406 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3407 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3408 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3409 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3410 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3411 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3412 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3413 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3414 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3415 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3416 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3417 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3419 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3421 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3422 (__signbit): Likewise. Correct for little-endian.
3423 (__signbitl): Call __signbit.
3424 (lrint): Correct for little-endian.
3425 (lrintf): Call lrint.
3427 2013-10-04 Alan Modra <amodra@gmail.com>
3429 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3430 union 32-bit int array member with 64-bit int array.
3431 (t515, tm256): Double rather than long double.
3432 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3434 2013-10-04 Alan Modra <amodra@gmail.com>
3436 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3438 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3440 version of math_ldbl.h.
3442 2013-10-04 Alan Modra <amodra@gmail.com>
3444 [BZ #15734], [BZ #15735]
3445 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3446 all uses of ieee875 long double macros and unions. Simplify test
3447 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3448 ldbl_extract_mantissa value for ix,iy exponents. Properly
3449 normalize after ldbl_extract_mantissa, and don't add hidden bit
3450 already handled. Don't treat low word of ieee854 mantissa like
3451 low word of IBM long double and mask off bit when testing for
3453 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3454 all uses of ieee875 long double macros and unions. Simplify tests
3455 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3456 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3457 two1022, instead use their values. Recognise that tests for large
3458 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3459 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3460 Rewrite all uses of ieee875 long double macros and unions. Simplify
3461 test for 0.0L and nan. Correct negation.
3462 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3463 ieee875 long double macros and unions. Correct output for large
3464 magnitude x. Correct absolute value calculation.
3465 (__erfcl): Likewise.
3466 * math/libm-test.inc: Add tests for errors discovered in IBM long
3467 double versions of fmodl, remainderl, erfl and erfcl.
3469 2013-10-04 Alan Modra <amodra@gmail.com>
3471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3472 all uses of ieee854 long double macros and unions. Simplify tests
3473 for long doubles that are fully specified by the high double.
3474 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3476 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3477 Remove dead code too.
3478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3479 (__ieee754_ynl): Likewise.
3480 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3481 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3483 Remove dead code too.
3484 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3485 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3487 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3489 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3491 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3492 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3493 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3494 Comment on variable precision.
3495 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3496 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3498 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3499 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3500 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3501 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3502 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3504 2013-10-04 Alan Modra <amodra@gmail.com>
3506 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3507 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3508 all uses of ieee854 long double macros and unions.
3509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3512 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3513 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3514 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3516 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3517 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3518 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3519 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3520 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3521 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3522 Simplify sign and nan test too.
3523 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3524 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3525 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3526 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3528 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3529 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3531 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3532 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3533 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3535 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3538 2013-10-04 Alan Modra <amodra@gmail.com>
3540 * stdio-common/printf_size.c (__printf_size): Don't use
3541 union ieee854_long_double in fpnum union.
3542 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3543 signbit macro to retrieve sign from long double.
3544 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3545 retrieve sign from long double.
3546 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3547 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3548 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3549 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3550 * math/test-misc.c (main): Don't use union ieee854_long_double.
3552 2013-10-04 Alan Modra <amodra@gmail.com>
3555 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3556 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3557 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3558 calculation. Remove unnecessary test for denormal exponent.
3559 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3560 Correct handling of denormals. Avoid undefined shift behaviour.
3561 Correct normalisation of low mantissa when low double is denormal.
3562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3563 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3564 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3565 Correct normalisation of low mantissa. Test for overflow of high
3566 mantissa and normalise.
3567 (ldbl_nearbyint): Use more readable constant for two52.
3568 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3569 (__mpn_construct_long_double): Fix test for overflow of high
3570 mantissa and correct normalisation. Avoid undefined shift.
3572 2013-10-04 Alan Modra <amodra@gmail.com>
3574 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3575 (union ibm_extended_long_double): Define as an array of ieee754_double.
3576 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3577 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3578 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3579 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3583 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3588 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3590 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3591 page size instead of calling getpagesize.
3593 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3594 (LOCFILE_ALIGN_MASK): Likewise.
3595 (LOCFILE_ALIGN_UP): Likewise.
3596 (LOCFILE_ALIGNED_P): Likewise.
3597 * locale/programs/ld-collate.c (collate_output): Use the new
3598 macros instead of __alignof__ (int32_t).
3599 * locale/weight.h (findidx): Likewise.
3601 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3604 * manual/string.texi: Fix strncat and wcsncat.
3606 2013-10-03 Brooks Moses <bmoses@google.com>
3609 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3610 * Makerules: ...here, and adjust associated comments.
3612 2013-10-02 Will Newton <will.newton@linaro.org>
3614 * malloc/Makefile: Add tst-pvalloc.
3615 * malloc/tst-pvalloc.c: New file.
3617 2013-10-02 Will Newton <will.newton@linaro.org>
3619 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3620 improve test coverage.
3622 2013-10-02 Will Newton <will.newton@linaro.org>
3624 * malloc/Makefile: Add tst-posix_memalign.
3625 * malloc/tst-posix_memalign.c: New file.
3627 2013-10-01 Eric Blake <eblake@redhat.com>
3629 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3630 Use __THROWNL rather than __THROW on static functions.
3632 2013-09-30 Petr Machata <pmachata@redhat.com>
3634 * elf/elf.h (R_AARCH64_ABS16): New macro.
3635 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3636 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3637 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3638 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3639 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3640 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3641 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3642 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3643 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3644 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3645 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3646 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3647 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3648 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3649 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3650 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3651 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3652 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3653 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3654 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3655 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3656 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3657 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3658 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3659 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3660 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3661 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3662 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3663 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3664 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3665 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3666 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3667 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3668 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3669 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3670 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3671 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3672 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3673 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3674 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3675 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3676 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3677 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3678 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3679 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3680 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3681 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3682 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3683 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3684 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3685 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3686 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3687 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3688 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3689 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3690 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3691 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3692 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3693 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3694 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3695 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3696 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3697 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3698 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3699 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3700 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3701 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3702 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3703 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3704 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3705 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3706 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3707 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3708 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3709 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3710 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3711 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3712 (R_AARCH64_TLSDESC_LDR): Likewise.
3713 (R_AARCH64_TLSDESC_ADD): Likewise.
3714 (R_AARCH64_TLSDESC_CALL): Likewise.
3716 2013-09-30 Andreas Schwab <schwab@suse.de>
3719 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3720 the nss database lookup.
3721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3724 2013-09-28 Mike Frysinger <vapier@gentoo.org>
3726 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3728 2013-09-28 P. J. McDermott <pj@pehjota.net>
3730 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3731 ${Bash-specific parameter/pattern/string} parameter expansion.
3732 * sysdeps/unix/make-syscalls.sh: Likewise.
3734 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3736 * sysdeps/sh/stackguard-macros.h: New file.
3738 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
3740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3742 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3743 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3744 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3745 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3747 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3749 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3750 Fix thread ID register.
3752 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3754 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3755 [POSIX || UNIX98]: Require rather than permitting all symbols from
3757 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3758 element of struct sched_param.
3759 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3760 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3761 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3762 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3765 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3767 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3768 argument calculation.
3770 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3772 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3774 [POSIX] (pthread_attr_t): Do not require type.
3775 [POSIX] (pthread_cond_t): Likewise.
3776 [POSIX] (pthread_condattr_t): Likewise.
3777 [POSIX] (pthread_key_t): Likewise.
3778 [POSIX] (pthread_mutex_t): Likewise.
3779 [POSIX] (pthread_mutexattr_t): Likewise.
3780 [POSIX] (pthread_once_t): Likewise.
3781 [POSIX] (pthread_t): Likewise.
3782 [POSIX-based standards] (pthread_atfork): Expect function.
3784 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3785 Richard Sandiford <richard@codesourcery.com>
3787 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3788 (swap_endianness_p): New extern variable.
3789 (set_big_endian): New inline function.
3790 (maybe_swap_uint32): Likewise.
3791 (maybe_swap_uint32_array): Likewise.
3792 (maybe_swap_uint32_obstack): Likewise.
3793 * locale/programs/locfile.c: Include <stdbool.h>.
3794 (swap_endianness_p): New variable.
3795 (add_locale_uint32): Call maybe_swap_uint32.
3796 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3797 (write_locale_data): Call maybe_swap_uint32_array.
3798 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3800 (obstack_int32_grow_fast): Likewise.
3801 (output_weightwc): Call maybe_swap_uint32_obstack.
3802 (collate_output): Likewise.
3803 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3804 (OPT_LITTLE_ENDIAN): Likewise.
3805 (options): Add --little-endian and --big-endian options.
3806 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3807 * locale/programs/locarchive.c: Include "locfile.h".
3811 (create_archive): Use the new macros to access fields of
3812 structures directly mapped from or written to locale archives.
3813 (oldlocrecentcmp): Likewise.
3814 (enlarge_archive): Likewise.
3815 (insert_name): Likewise.
3816 (add_alias): Likewise.
3817 (add_locale): Likewise.
3818 (delete_locales_from_archive): Likewise.
3819 (show_archive_content): Likewise.
3820 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3823 2013-09-24 Roland McGrath <roland@hack.frob.com>
3825 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3826 http://www.gnu.org/doc/freemanuals.texi.
3827 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3829 2013-09-24 Will Newton <will.newton@linaro.org>
3831 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3834 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3836 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3839 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3841 * manual/threads.texi (POSIX Threads): Fix a typo.
3843 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3846 * string/tst-strcoll-overflow.c: New test case.
3847 * string/Makefile (xtests): Add tst-strcoll-overflow.
3848 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3849 cache if string sizes may cause integer overflow.
3852 * string/strcoll_l.c (coll_seq): New members rule, idx,
3853 save_idx and back_us.
3854 (get_next_seq_nocache): New function.
3855 (do_compare_nocache): New function.
3856 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3859 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3862 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3863 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3864 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3867 * elf/Makefile (tests): Add tst-ptrguard1.
3868 (tests-static): Add tst-ptrguard1-static.
3869 (tst-ptrguard1-ARGS): Define.
3870 (tst-ptrguard1-static-ARGS): Define.
3871 * elf/tst-ptrguard1.c: New file.
3872 * elf/tst-ptrguard1-static.c: New file.
3873 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3874 * sysdeps/i386/stackguard-macros.h: Likewise.
3875 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3876 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3877 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3878 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3879 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3880 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3882 2013-09-23 Hector Marco <hecmargi@upv.es>
3883 Ismael Ripoll <iripoll@disca.upv.es>
3884 Carlos O'Donell <carlos@redhat.com>
3887 * sysdeps/generic/stackguard-macros.h: Define
3888 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3889 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3890 Define __pointer_chk_guard_local.
3891 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3892 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3894 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3897 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3899 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3901 * include/string.h (__ffs): Declare as hidden.
3902 * string/ffs.c (__ffs): Define as hidden.
3903 * sysdeps/i386/ffs.c (__ffs): Likewise.
3904 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3905 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3906 * sysdeps/s390/ffs.c (__ffs): Likewise.
3907 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3909 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3911 * NEWS: Mention malloc probes.
3913 * malloc/arena.c (new_heap): New memory_heap_new probe.
3914 (grow_heap): New memory_heap_more probe.
3915 (shrink_heap): New memory_heap_less probe.
3916 (heap_trim): New memory_heap_free probe.
3917 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3918 (systrim): New memory_sbrk_less probe.
3919 * manual/probes.texi: Document them.
3921 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3922 * manual/probes.texi: Document it.
3924 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3925 (__libc_realloc): Add memory_realloc_retry probe.
3926 (__libc_memalign): Add memory_memalign_retry probe.
3927 (__libc_valloc): Add memory_valloc_retry probe.
3928 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3929 (__libc_calloc): Add memory_calloc_retry probe.
3930 * manual/probes.texi: Document them.
3932 * malloc/arena.c (get_free_list): Add probe
3933 memory_arena_reuse_free_list.
3934 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3935 and memory_arena_reuse.
3936 (arena_get2) [!PER_THREAD]: Likewise.
3937 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3938 memory_arena_reuse_realloc.
3939 * manual/probes.texi: Document them.
3941 * malloc/malloc.c (__libc_free): Add
3942 memory_mallopt_free_dyn_thresholds probe.
3943 (__libc_mallopt): Add multiple memory_mallopt probes.
3944 * manual/probes.texi: Document them.
3946 * malloc/malloc.c: Include stap-probe.h.
3947 (__libc_mallopt): Add memory_mallopt probe.
3948 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3949 * manual/probes.texi: New.
3950 * manual/Makefile (chapters): Add probes.
3951 * manual/threads.texi: Set next node.
3953 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3956 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3957 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3958 Add `Chinese' to `nan' entry name.
3960 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3962 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3963 (POLYNOMIAL): Likewise.
3964 (TAYLOR_SINCOS): Likewise.
3965 (TAYLOR_SLOW): Likewise.
3966 (__sin): Use TAYLOR_SINCOS.
3968 (slow): Use TAYLOR_SLOW.
3973 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3975 * stdlib/strtod_l.c: Fix buffer overrun.
3977 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3979 * benchtests/Makefile (bench): Add sincos.
3980 * benchtests/bench-sincos.c: New file.
3982 * math/libm-test.inc (cos_test_data): New test inputs.
3983 (sin_test_data): Likewise.
3985 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3993 (bsloww1): Likewise.
3994 (bsloww2): Likewise.
3996 (csloww1): Likewise.
3997 (csloww2): Likewise.
3999 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4008 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4010 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4011 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4012 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4013 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4014 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4015 * elf/cache.c (print_entry): Handle the new cache flags.
4017 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4018 Aldy Hernandez <aldyh@redhat.com>
4020 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4021 Change condition to [_SOFT_FLOAT].
4022 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4034 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4037 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4040 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4042 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4043 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4044 (__longjmp): Use LOAD_GP to load saved GPRs.
4045 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4046 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4047 (__sigsetjmp): Use SAVE_GP to save GPRs.
4049 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4050 Do not append -msoft-float.
4051 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4053 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4055 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4057 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4060 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4061 (_FPU_GETCW): Use initial "__" on variable and field names but not
4062 on macro parameter name.
4063 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4064 parentheses around reference to macro parameter.
4066 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4068 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4070 (ctype_startup): Use uint32_t in cast and sizeof for
4073 2013-09-11 Jia Liu <proljc@gmail.com>
4075 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4077 [__FreeBSD__]: Likewise.
4079 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4082 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4083 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4084 (strchr): Remove __strchr_sse42 ifunc selection.
4085 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4086 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4088 2013-09-11 Will Newton <will.newton@linaro.org>
4090 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4091 parameter to RES. Remove hardcoded 1000 value.
4092 * benchtests/bench-skeleton.c (main): Pass RES parameter
4093 to TIMING_INIT and multiply result by 1000.
4095 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4099 2013-09-11 Andreas Schwab <schwab@suse.de>
4101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4103 (O_TMPFILE) [__USE_GNU]: Define.
4104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4107 2013-09-11 Will Newton <will.newton@linaro.org>
4110 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4113 2013-09-11 Will Newton <will.newton@linaro.org>
4116 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4119 2013-09-11 Will Newton <will.newton@linaro.org>
4122 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4125 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4127 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4128 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4133 2013-09-10 Allan McRae <allan@archlinux.org>
4136 * manual/arith.texi (Parsing of Floats): Clarify
4140 * manual/install.texi (Running make install): Mention
4142 * INSTALL: Regenerated.
4144 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4146 * csu/init-first.c (_init): Remove the !SHARED condition around
4147 FPU control word initialization.
4148 * elf/dl-support.c (_dl_fpu_control): New variable.
4149 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4150 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4151 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4152 * math/test-fpucw-static.c: New file.
4153 * math/test-fpucw-ieee.c: New file.
4154 * math/test-fpucw-ieee-static.c: New file.
4155 * math/Makefile (tests): Add `test-fpucw-ieee' and
4157 (tests-static): New variable.
4158 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4160 [($(build-shared),yes)]
4161 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4163 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4166 2013-09-09 Allan McRae <allan@archlinux.org>
4169 * manual/string.texi (Collation Functions): Fix typo in
4171 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4174 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4177 * libio/memstream.c (open_memstream): Fix memory leak.
4178 * libio/wmemstream.c (open_wmemstream): Likewise.
4181 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4183 2013-09-09 Will Newton <will.newton@linaro.org>
4185 * malloc/Makefile: Add tst-realloc to tests.
4186 * malloc/tst-realloc.c: New file.
4188 2013-09-09 Allan McRae <allan@archlinux.org>
4191 * COPYING: Update from GNU website to fix FSF address.
4192 * COPYING.LIB: Likewise.
4194 2013-09-06 David S. Miller <davem@davemloft.net>
4196 * po/zh_TW.po: Update Chinese (traditional) translation from
4197 translation project.
4199 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4200 Joseph Myers <joseph@codesourcery.com>
4202 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4204 (obstack_chunk_alloc): New macro.
4205 (obstack_chunk_free): Likewise.
4206 (record_offset): New function.
4207 (init_locale_data): Likewise.
4208 (align_locale_data): Likewise.
4209 (add_locale_empty): Likewise.
4210 (add_locale_raw_data): Likewise.
4211 (add_locale_raw_obstack): Likewise.
4212 (add_locale_string): Likewise.
4213 (add_locale_wstring): Likewise.
4214 (add_locale_uint32): Likewise.
4215 (add_locale_uint32_array): Likewise.
4216 (add_locale_char): Likewise.
4217 (start_locale_structure): Likewise.
4218 (end_locale_structure): Likewise.
4219 (start_locale_prelude): Likewise.
4220 (end_locale_prelude): Likewise.
4221 (write_locale_data): Take locale_file structure rather than an
4223 * locale/programs/locfile.h: Include "obstack.h".
4224 (struct locale_file): Change to store locale file contents instead
4226 (init_locale_data): New prototype.
4227 (align_locale_data): Likewise.
4228 (add_locale_empty): Likewise.
4229 (add_locale_raw_data): Likewise.
4230 (add_locale_raw_obstack): Likewise.
4231 (add_locale_string): Likewise.
4232 (add_locale_wstring): Likewise.
4233 (add_locale_uint32): Likewise.
4234 (add_locale_uint32_array): Likewise.
4235 (add_locale_char): Likewise.
4236 (start_locale_structure): Likewise.
4237 (end_locale_structure): Likewise.
4238 (start_locale_prelude): Likewise.
4239 (end_locale_prelude): Likewise.
4240 (write_locale_data): Update prototype.
4241 * locale/programs/3level.h (struct TABLE): Remove result field.
4242 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4243 Use new locale_file interface.
4244 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4245 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4246 * locale/programs/ld-address.c (address_output): Use new
4247 locale_file interface.
4248 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4250 (collate_finish): Don't call collseq_table_finalize.
4251 (collate_output): Use new locale_file interface.
4252 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4254 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4255 (TABLE): Move defines earlier in file.
4256 (ELEMENT): Likewise.
4257 (DEFAULT): Likewise.
4258 (wctrans_table_add): Move macro and inline function earlier in
4260 (struct wctype_table): Move type earlier in file.
4261 (add_locale_wctype_table): New static prototype.
4262 (struct locale_ctype_t): Use logical types instead of struct iovec
4263 pointers for members.
4264 (ctype_output): Use new locale_file interface.
4265 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4266 new locale_file interface.
4267 (allocate_arrays): Update for use of new locale_file interface.
4268 * locale/programs/ld-identification.c (identification_output): Use
4269 new locale_file interface.
4270 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4271 * locale/programs/ld-messages.c (messages_output): Likewise.
4272 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4273 * locale/programs/ld-name.c (name_output): Likewise.
4274 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4275 * locale/programs/ld-paper.c (paper_output): Likewise.
4276 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4277 * locale/programs/ld-time.c (time_output): Likewise.
4279 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4281 * benchtests/Makefile: Add memrchr benchmark.
4282 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4283 benchmark as memrchr.
4284 * benchtests/bench-memrchr-ifunc.c: New file.
4285 * benchtests/bench-memrchr.c: New file.
4287 2013-09-06 Will Newton <will.newton@linaro.org>
4289 * benchtests/Makefile (string-bench): Add memcpy.
4291 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4292 Cong Wang <amwang@redhat.com>
4294 * sysdeps/unix/sysv/linux/bits/in.h
4295 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4296 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4297 before __USE_KERNEL_IPV6_DEFS uses.
4298 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4300 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4301 sockaddr_in6, or ipv6_mreq.
4303 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4305 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4306 memory access for final bytes in some large inputs.
4307 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4309 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4311 * string/test-memrchr.c: New file.
4312 * string/test-memrchr-ifunc.c: New file.
4313 * string/Makefile: Add new memrchr testcase.
4315 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4317 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4318 fanotify_init returns EPERM.
4320 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4322 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4324 (top level): Treat second token from macro or constant entries for
4325 allowed headers as allowed.
4326 * include/complex.h: Condition internal declarations on
4328 * include/fenv.h: Condition include of <stdbool.h> and internal
4329 declarations on [!_ISOMAC].
4331 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4334 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4336 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4338 * configure.in (--enable-versioning): Remove configure option.
4339 (libc_cv_asm_symver_directive): Remove configure test.
4340 (libc_cv_ld_version_script_option): Likewise.
4341 (VERSIONING): Remove variable and AC_SUBST.
4342 (DO_VERSIONING): Remove AC_DEFINE.
4343 * configure: Regenerated.
4344 * config.h.in (DO_VERSIONING): Remove macro.
4345 * Makerules [$(versioning) = yes]: Change conditionals to
4346 [$(build-shared) = yes].
4347 * config.make.in (versioning): Remove variable.
4348 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4349 [$(build-shared) = yes].
4350 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4351 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4352 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4353 [$(build-shared) = yes].
4354 * extra-lib.mk [$(versioning) = yes]: Likewise.
4355 * hurd/Makefile [$(versioning) = yes]: Likewise.
4356 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4358 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4360 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4361 [SHARED && !NO_HIDDEN].
4362 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4364 [SHARED && DO_VERSIONING]: Likewise..
4365 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4366 [$(build-shared) = yes].
4367 * manual/install.texi (--disable-versioning): Remove
4369 * INSTALL: Regenerated.
4370 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4372 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4373 [$(build-shared) = yes].
4374 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4375 * sysdeps/i386/i686/multiarch/strstr-c.c
4376 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4377 [SHARED && !NO_HIDDEN].
4378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4379 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4380 * sysdeps/powerpc/powerpc32/dl-machine.c
4381 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4382 * sysdeps/powerpc/powerpc32/sysdep.h
4383 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4384 to [SHARED && PIC && !NO_HIDDEN].
4385 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4386 conditional to [SHARED].
4388 2013-09-04 Will Newton <will.newton@linaro.org>
4390 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4391 * benchtests/bench-string.h: Include bench-timing.h instead
4392 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4393 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4394 call to HP_TIMING_DIFF_INIT.
4395 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4396 instead of hp-timing.h macros.
4397 * benchtests/bench-memchr.c: Likewise.
4398 * benchtests/bench-memcmp.c: Likewise.
4399 * benchtests/bench-memcpy.c: Likewise.
4400 * benchtests/bench-memmem.c: Likewise.
4401 * benchtests/bench-memmove.c: Likewise.
4402 * benchtests/bench-memset.c: Likewise.
4403 * benchtests/bench-rawmemchr.c: Likewise.
4404 * benchtests/bench-strcasecmp.c: Likewise.
4405 * benchtests/bench-strcasestr.c: Likewise.
4406 * benchtests/bench-strcat.c: Likewise.
4407 * benchtests/bench-strchr.c: Likewise.
4408 * benchtests/bench-strcmp.c: Likewise.
4409 * benchtests/bench-strcpy.c: Likewise.
4410 * benchtests/bench-strcpy_chk.c: Likewise.
4411 * benchtests/bench-strlen.c: Likewise.
4412 * benchtests/bench-strncasecmp.c: Likewise.
4413 * benchtests/bench-strncat.c: Likewise.
4414 * benchtests/bench-strncmp.c: Likewise.
4415 * benchtests/bench-strncpy.c: Likewise.
4416 * benchtests/bench-strnlen.c: Likewise.
4417 * benchtests/bench-strpbrk.c: Likewise.
4418 * benchtests/bench-strrchr.c: Likewise.
4419 * benchtests/bench-strspn.c: Likewise.
4420 * benchtests/bench-strstr.c: Likewise.
4422 2013-09-04 Will Newton <will.newton@linaro.org>
4424 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4426 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4429 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4430 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4431 * math/libm-test.inc (lgamma_test_data): Add more tests.
4432 * sysdeps/i386/fpu/libm-test-ulps: Update.
4433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4435 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4437 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4441 Add strcmp-sse2-unaligned
4442 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4444 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4446 * Versions.def (libc): Add GLIBC_2.19.
4448 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4450 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4451 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4453 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4456 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4457 intermediate calculations in recurrence.
4458 (__ieee754_ynf): Likewise.
4459 * math/libm-test.inc (jn_test_data): Do not allow spurious
4460 underflow exception. Add more tests.
4461 (yn_test_data): Add more tests.
4462 * sysdeps/i386/fpu/libm-test-ulps: Update.
4463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4465 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4467 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4469 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4471 * csu/init-first.c: Fix then/than typos.
4472 * locale/programs/ld-collate.c: Likewise.
4473 * locale/programs/linereader.h: Likewise.
4474 * manual/charset.texi: Likewise.
4475 * manual/filesys.texi: Likewise.
4476 * manual/stdio.texi: Likewise.
4477 * manual/string.texi: Likewise.
4478 * stdlib/fmtmsg.c: Likewise.
4479 * sysdeps/i386/stpncpy.S: Likewise.
4480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4481 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4482 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4483 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4485 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4487 * elf/dl-open.c: Fix typos.
4488 * iconvdata/gbbig5.c: Likewise.
4489 * iconvdata/iso-2022-jp.c: Likewise.
4490 * iconv/gconv_int.h: Likewise.
4491 * iconv/loop.c: Likewise.
4492 * nis/rpcsvc/nis.h: Likewise.
4493 * resolv/ns_name.c: Likewise.
4494 * stdio-common/vfscanf.c: Likewise.
4495 * streams/stropts.h: Likewise.
4496 * sunrpc/rpc_thread.c: Likewise.
4497 * sysdeps/i386/strpbrk.S: Likewise.
4498 * sysdeps/ieee754/k_standard.c: Likewise.
4499 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4501 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4502 * sysdeps/mach/hurd/profil.c: Likewise.
4503 * sysdeps/s390/dl-procinfo.h: Likewise.
4504 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4507 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4508 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4510 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4512 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4515 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4517 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4519 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4520 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4521 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4522 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4523 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4524 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4526 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4528 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4529 Roland McGrath <roland@hack.frob.com>
4531 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4532 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4534 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4536 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4537 __executable_start symbol instead of _start.
4539 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4541 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4542 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4544 * sysdeps/gnu/ldsodefs.h: ... this new file.
4546 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4547 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4548 instead of ELFOSABI_LINUX.
4550 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4551 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4552 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4553 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4555 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4556 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4557 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4559 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4560 (ibm_extended_long_double): Add ieee_nan member.
4561 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4562 (do_test): New function.
4564 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4566 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4567 functions, renamed from truncdfsf_test, trunctfsf_test,
4569 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4571 (do_test): Run all these.
4573 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4575 * argp/argp-help.c: Fix typos.
4576 * argp/argp-parse.c: Likewise.
4577 * debug/backtracesyms.c: Likewise.
4578 * elf/elf.h: Likewise.
4579 * malloc/malloc.c: Likewise.
4580 * nis/nis_print.c: Likewise.
4581 * resolv/res_comp.c: Likewise.
4582 * stdlib/stdlib.h: Likewise.
4583 * sunrpc/clnt_tcp.c: Likewise.
4584 * sunrpc/clnt_udp.c: Likewise.
4585 * sunrpc/clnt_unix.c: Likewise.
4586 * sysdeps/unix/bsd/ptsname.c: Likewise.
4587 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4588 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4595 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4597 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4599 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4602 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4605 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4606 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4607 ($(objpfx)bug-dl-leaf): New rule.
4608 ($(objpfx)bug-dl-leaf.so): Likewise.
4609 ($(objpfx)bug-dl-leaf.out): Likewise.
4610 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4611 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4612 * dlfcn/bug-dl-leaf.c: New test.
4613 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4614 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4615 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4616 (dlclose): Likewise.
4617 (dlmopen): Likewise.
4619 2013-08-27 Roland McGrath <roland@hack.frob.com>
4621 * include/netdb.h [!_ISOMAC]:
4622 Don't include <tls.h>.
4623 (h_errno, __libc_h_errno): Move declaration and macros out of
4626 * include/resolv.h [_RESOLV_H_]:
4627 Don't include <tls.h>.
4628 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4629 * resolv/res_libc.c: Don't include <tls.h>.
4630 (_res): Use __attribute__ ((nocommon)) in place of
4631 __attribute__ ((section (".bss"))).
4633 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4634 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4636 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4638 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4639 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4641 * resolv/res_mkquery.c: Include <sys/time.h>.
4643 * inet/ifreq.c: Moved to ...
4644 * sysdeps/unix/ifreq.c: ... here.
4645 * inet/ifreq.c: New file, true stub version.
4647 * socket/sa_len.c: New file.
4648 * socket/Makefile (aux): Add it.
4649 * sysdeps/unix/sysv/linux/Makefile
4650 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4651 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4652 and #include <socket/sa_len.c>.
4653 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4654 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4656 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4657 * bits/socket.h: ... here.
4659 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4660 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4661 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4663 2013-08-27 Andreas Schwab <schwab@suse.de>
4666 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4667 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4668 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4669 * string/test-strcasecmp.c (test_main): Run tests in several
4671 * string/test-strncasecmp.c (test_main): Likewise.
4673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4674 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4675 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4677 (__strncasecmp_ssse3) [PIC]: Likewise.
4679 2013-08-26 Roland McGrath <roland@hack.frob.com>
4681 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4683 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4684 instead of explicitly declaring xdecrypt.
4685 * nis/nss_nis/nis-publickey.c: Likewise.
4687 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4690 * nscd/aicache.c: Include res_hconf.h.
4691 (addhstaiX): Initialize res_hconf.
4693 2013-08-26 Andreas Schwab <schwab@suse.de>
4695 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4696 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4698 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4700 * nscd/aicache.c (addhstaiX): Fix indentation.
4702 2013-08-25 Mike Frysinger <vapier@gentoo.org>
4704 * configure.ac: Quote $build_pt_chown test.
4705 * configure: Regenerated.
4707 2013-08-23 Joseph Myers <joseph@codesourcery.com>
4710 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4711 * math/s_cexpf.c (__cexpf): Likewise.
4712 * math/s_cexpl.c (__cexpl): Likewise.
4713 * math/libm-test.inc (cexp_test_data): Correct expected return
4714 value for NaN + i0. Add another test.
4716 2013-08-22 David S. Miller <davem@davemloft.net>
4718 * po/ca.po: Update Catalan translation from translation project.
4719 * po/uk.po: Add Ukrainian translations from translation project.
4721 2013-08-21 Joseph Myers <joseph@codesourcery.com>
4724 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4725 is infinite, not alongside NaN test.
4726 * math/s_fdimf.c (__fdimf): Likewise.
4727 * math/s_fdiml.c (__fdiml): Likewise.
4728 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4731 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
4733 * argp/argp-help.c: Fix typos.
4734 * crypt/speeds.c: Likewise.
4735 * csu/check_fds.c: Likewise.
4736 * elf/dl-load.c: Likewise.
4737 * elf/dl-open.c: Likewise.
4738 * elf/reldep3.c: Likewise.
4739 * elf/reldep.c: Likewise.
4740 * elf/sprof.c: Likewise.
4741 * iconv/iconv_charmap.c: Likewise.
4742 * iconv/skeleton.c: Likewise.
4743 * iconv/strtab.c: Likewise.
4744 * io/lockf64.c: Likewise.
4745 * libio/libioP.h: Likewise.
4746 * resolv/gai_notify.c: Likewise.
4747 * resolv/ns_name.c: Likewise.
4748 * resolv/ns_samedomain.c: Likewise.
4749 * resolv/res_send.c: Likewise.
4750 * stdlib/random.c: Likewise.
4751 * sunrpc/rpc/xdr.h: Likewise.
4752 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4753 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4754 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4755 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4756 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4757 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4759 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4760 * sysdeps/mach/hurd/check_fds.c: Likewise.
4761 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4762 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4763 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4764 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4765 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4766 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4767 * sysdeps/pthread/aio_notify.c: Likewise.
4768 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4769 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4770 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4771 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4772 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4774 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4776 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4777 version if bit_Slow_SSE4_2 is set.
4778 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4779 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4781 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4785 trampoline stack frame information.
4786 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4788 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4789 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4790 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4791 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4792 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4793 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4795 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4796 interrupting a syscall and set with option SA_SIGINFO.
4798 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4801 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4802 argument is infinite.
4803 * math/s_cprojf.c (__cprojf): Likewise.
4804 * math/s_cprojl.c (__cprojl): Likewise.
4805 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4806 * math/libm-test.inc (cproj_test_data): Add more tests.
4808 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4810 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4811 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4812 size. Use __ffs to determine corresponding shift.
4814 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4815 Roland McGrath <roland@hack.frob.com>
4817 * Makefile (INSTALL): Remove trailing blank lines from output of
4820 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4822 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4823 Align 32 bit compat elf_greg to 8 bytes.
4825 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4827 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4829 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4831 * string/strcoll_l.c (coll_seq): New structure.
4832 (get_next_seq_cached): New function.
4833 (get_next_seq): New function.
4834 (do_compare): New function.
4835 (STRCOLL): Use GNU style definition. Simplify implementation
4836 by using get_next_seq, get_next_seq_cached and do_compare.
4838 2013-08-16 Florian Weimer <fweimer@redhat.com>
4842 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4844 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4846 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4847 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4848 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4850 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4851 GETDENTS_64BIT_ALIGNED.
4852 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4853 * manual/filesys.texi (Reading/Closing Directory): Document
4854 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4856 * manual/conf.texi (Limits for Files): Add portability note to
4858 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4860 2013-08-13 Andreas Schwab <schwab@suse.de>
4863 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4865 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4866 LDBL_MAX_EXP >= 16384]: Add tests for it.
4868 2013-08-12 David S. Miller <davem@davemloft.net>
4870 * version.h (RELEASE): Set to "development".
4871 (VERSION): Set to "2.18.90".
4872 * NEWS: Add 2.19 section.
4874 2013-08-03 David S. Miller <davem@davemloft.net>
4876 * po/ko.po: Update Korean translation from translation project.
4878 2013-08-01 David S. Miller <davem@davemloft.net>
4880 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4881 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4884 2013-07-30 David S. Miller <davem@davemloft.net>
4886 * po/fr.po: Update French translation from translation project.
4888 2013-07-28 David S. Miller <davem@davemloft.net>
4890 * po/cs.po: Update Czech translation from translation project.
4892 * po/sv.po: Update Swedish translation from translation project.
4894 2013-07-27 David S. Miller <davem@davemloft.net>
4896 * po/eo.po: Update Esperanto translation from translation project.
4898 * po/vi.po: Update Vietnamese translation from translation project.
4900 * po/de.po: Update German translation from translation project.
4902 2013-07-26 David S. Miller <davem@davemloft.net>
4904 * po/bg.po: Update Bulgarian translation from translation project.
4906 * po/nl.po: Update Dutch translation from translation project.
4907 * po/pl.po: Update Polish translation from translation project.
4908 * po/ru.po: Update Russian translation from translation project.
4910 2013-07-24 David S. Miller <davem@davemloft.net>
4912 * po/libc.pot: Update.
4914 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4918 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4919 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4920 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4922 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4924 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4926 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4927 Andreas Schwab <schwab@suse.de>
4928 Roland McGrath <roland@hack.frob.com>
4929 Joseph Myers <joseph@codesourcery.com>
4930 Carlos O'Donell <carlos@redhat.com>
4933 * config.h.in: Define HAVE_PT_CHOWN.
4934 * config.make.in (build-pt-chown): New variable.
4935 * configure.in (--enable-pt_chown): New configure option.
4936 * configure: Regenerate.
4937 * login/Makefile: Include Makeconfig. Build pt_chown only if
4938 build-pt-chown is enabled.
4939 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4940 pt_chown to fix pty ownership.
4941 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4943 * manual/install.texi (Configuring and compiling): Mention
4944 --enable-pt_chown. Add @findex for grantpt.
4945 * INSTALL: Regenerate.
4947 2013-07-20 David S. Miller <davem@davemloft.net>
4949 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4950 difference between 32-bit and 64-bit.
4952 2013-07-15 Carlos O'Donell <carlos@redhat.com>
4955 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4956 Avoid system header dependency with -ffreestanding.
4957 ($(objpfx)bits/syscall%d): Likewise.
4959 2013-07-13 David S. Miller <davem@davemloft.net>
4961 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4962 underflows from atanl/atan2l due to bug 15319.
4963 (casinh_test_data): Likewise.
4965 2013-07-07 David S. Miller <davem@davemloft.net>
4967 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4969 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4971 * sysdeps/i386/fpu/libm-test-ulps: Update.
4972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4974 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4976 * configure.in (--enable-lock-elision): Fix message text.
4977 * INSTALL: Regenerate.
4978 * configure: Regenerate.
4980 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4984 2013-07-03 Andreas Jaeger <aj@suse.de>
4986 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4988 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4989 (ptrace_peeksiginfo_args): Add.
4990 (__ptrace_peeksiginfo_flags): Add.
4991 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4995 2013-07-03 Allan McRae <allan@archlinux.org>
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4999 2013-07-02 David S. Miller <davem@davemloft.net>
5001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5003 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5007 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5009 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5012 2013-07-02 Andi Kleen <ak@linux.intel.com>
5014 * config.h.in (ENABLE_LOCK_ELISION): Add.
5015 * configure.in (--enable-lock-elision): Add option.
5016 * manual/install.texi: Document --enable lock elision.
5017 * configure: Regenerate
5018 * INSTALL: Regenerate.
5020 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5022 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5023 SSE4.2 strcasecmp for libc.a.
5024 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5026 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5029 * soft-fp/op-common.h (_FP_FMA): New macro.
5030 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5031 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5032 (_FP_MUL_MEAT_1_imm): ... here.
5033 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5034 (_FP_MUL_MEAT_1_wide): ... here.
5035 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5036 (_FP_MUL_MEAT_1_hard): ... here.
5037 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5038 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5039 (_FP_MUL_MEAT_2_wide): ... here.
5040 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5041 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5042 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5043 (_FP_MUL_MEAT_2_gmp): ... here.
5044 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5045 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5046 (_FP_MUL_MEAT_4_wide): ... here.
5047 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5048 (_FP_MUL_MEAT_4_gmp): ... here.
5049 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5050 (_FP_WFRACBITS_DW_S): Likewise.
5051 (_FP_WFRACXBITS_DW_S): Likewise.
5052 (_FP_HIGHBIT_DW_S): Likewise.
5053 (FP_FMA_S): Likewise.
5054 (_FP_FRAC_HIGH_DW_S): Likewise.
5055 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5056 (_FP_WFRACBITS_DW_D): Likewise.
5057 (_FP_WFRACXBITS_DW_D): Likewise.
5058 (_FP_HIGHBIT_DW_D): Likewise.
5059 (FP_FMA_D): Likewise.
5060 (_FP_FRAC_HIGH_DW_D): Likewise.
5061 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5062 (_FP_WFRACBITS_DW_E): Likewise.
5063 (_FP_WFRACXBITS_DW_E): Likewise.
5064 (_FP_HIGHBIT_DW_E): Likewise.
5065 (FP_FMA_E): Likewise.
5066 (_FP_FRAC_HIGH_DW_E): Likewise.
5067 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5068 (_FP_WFRACBITS_DW_Q): Likewise.
5069 (_FP_WFRACXBITS_DW_Q): Likewise.
5070 (_FP_HIGHBIT_DW_Q): Likewise.
5071 (FP_FMA_Q): Likewise.
5072 (_FP_FRAC_HIGH_DW_Q): Likewise.
5073 * soft-fp/fmasf4.c: New file.
5074 * soft-fp/fmadf4.c: Likewise.
5075 * soft-fp/fmatf4.c: Likewise.
5077 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5080 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5084 (index_Slow_SSE4_2): Likewise.
5085 (index_Prefer_PMINUB_for_stringop): Likewise.
5086 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5087 bit_Slow_SSE4_2 is set.
5088 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5089 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5091 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5093 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5094 rtld_global._dl_hwcap2.
5095 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5097 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5098 POWER8 feature descriptions defined in _dl_hwcap2.
5099 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5100 string handling for POWER8 feature bits.
5101 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5102 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5103 _dl_powerpc_cap_flags.
5104 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5105 * sysdeps/powerpc/rtld-global-offsets.sym
5106 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5107 _dl_hwcap2 in the rtld_global_ro structure.
5109 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5111 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5112 hardware capabilities in support of AT_HWCAP2.
5113 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5114 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5116 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5117 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5118 explicitly the unknown a_type display mechanism is used.
5119 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5120 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5122 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5123 to macro prototype for AT_HWCAP2 support.
5124 * sysdeps/i386/dl-procinfo.h: Likewise.
5125 * sysdeps/s390/dl-procinfo.h: Likewise.
5126 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5127 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5128 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5129 return -1 for unknown a_type display fallback.
5130 * sysdeps/sparc/dl-procinfo.h: Likewise.
5131 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5132 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5134 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5136 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5137 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5139 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5142 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5143 mprotect making __stack_prot writable.
5145 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5146 Joseph Myers <joseph@codesourcery.com>
5148 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5149 as being properly aligned.
5151 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5153 * dlfcn/modstatic5.c: New file.
5154 * dlfcn/tststatic5.c: New file.
5155 * dlfcn/Makefile (tests): Add tststatic5.
5156 (tests-static): Likewise.
5157 (modules-names): Add modstatic5.
5158 (tststatic5-ENV): New variable.
5159 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5162 * elf/dl-support.c (_dl_main_map): New variable.
5163 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5164 (_dl_nns, _dl_load_adds): Set to 1.
5165 (_dl_initial_searchlist): Refer to _dl_main_map.
5166 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5167 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5168 call to _dl_get_origin.
5169 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5171 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5172 * dlfcn/modstatic3.c: New file.
5173 * dlfcn/tststatic3.c: New file.
5174 * dlfcn/tststatic4.c: New file.
5175 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5176 (tests-static): Likewise.
5177 (modules-names): Add modstatic3.
5178 (tststatic3-ENV, tststatic4-ENV): New variables.
5179 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5180 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5182 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5184 * configure.in (CC): Require GCC version 4.4 or later.
5185 * configure: Regenerated.
5186 * manual/install.texi (Tools for Compilation): Update GCC version
5188 * INSTALL: Regenerated.
5190 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5193 * string/test-memcmp.c (check2): New.
5194 (main): Call check2.
5196 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5198 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5201 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5203 (dl_open_worker) [!SHARED]: ... here.
5205 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5207 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5209 2013-06-25 Richard Henderson <rth@redhat.com>
5211 * locale/programs/locarchive.c: Include <libc-internal.h>
5213 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5215 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5216 trailing whitespace removed.
5218 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5221 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5222 * locale/programs/locarchive.c: Include libc-mmap.h.
5223 (prepare_address_space): Take two new outputs (the mmap base and len).
5224 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5226 (create_archive): Declare new mmap base and len values for
5227 prepare_address_space, and store the result in ah.
5228 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5229 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5230 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5231 Declare new mmap base and len values for
5232 prepare_address_space, and store the result in new_ah.
5233 (open_archive): Declare new mmap base and len values for
5234 prepare_address_space, and store the result in ah.
5235 (close_archive): If ah->mmap_base is not NULL, use that and
5236 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5237 * sysdeps/generic/libc-mmap.h: New file.
5239 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5241 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5242 (ALIGN_UP): Likewise.
5243 (PTR_ALIGN_DOWN): Likewise.
5244 (PTR_ALIGN_UP): Likewise.
5246 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5248 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5249 entry mapped to PPC_PLATFORM_POWER8.
5250 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5252 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5253 (_dl_string_platform): Add case for exporting platform position for
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5256 search path to sysdeps/powerpc/powerpc32/power8 directory.
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5258 search path to sysdeps/powerpc/powerpc64/power8 directory.
5259 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5261 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5264 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5266 * INSTALL: Regenerate.
5268 * nscd/connections.c (nscd_init): Fix comment.
5270 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5275 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5276 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5278 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5280 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5282 (DL_DST_REQ_STATIC): Remove macro.
5284 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5287 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5288 with a shift of 0 bits.
5290 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5292 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5295 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5298 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5300 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5302 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5303 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5304 accepts -fno-tree-loop-distribute-patterns.
5305 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5306 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5308 * string/memset.c (memset): Likewise.
5309 * string/test-memmove.c (simple_memmove): Disable loop transformation
5311 * string/test-memset.c (simple_memset): Likewise.
5312 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5313 * benchtests/bench-memset.c (simple_memset): Likewise.
5314 * configure: Regenerated.
5316 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5318 * math/test-misc.c (main): Ignore fesetround failure when failures
5319 of subsequent rounding tests would be ignored.
5322 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5323 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5324 * math/fegetenv.c (__fegetenv): Return 0.
5325 * math/fegetexcept.c (fegetexcept): Return 0.
5326 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5328 * math/feholdexcpt.c (feholdexcept): Return 0.
5329 * math/fesetenv.c (__fesetenv): Return 0.
5330 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5331 argument FE_TONEAREST.
5332 * math/feupdateenv.c (__feupdateenv): Return 0.
5333 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5335 2013-06-18 Roland McGrath <roland@hack.frob.com>
5337 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5338 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5339 ($(objpfx)rtld-%.os rules): Use them.
5341 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5343 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5346 2013-06-17 Roland McGrath <roland@hack.frob.com>
5348 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5349 length of target pattern, then descending length of dependency pattern.
5350 * configure.in (AWK): Require gawk 3.1.2 or newer.
5351 * manual/install.texi (Tools for Compilation): Say that we do.
5352 * configure: Regenerated.
5354 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5355 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5356 * scripts/sysd-rules.awk: ... this new script.
5357 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5358 than a glob-style pattern.
5360 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5362 * math/test-misc.c (main): Do not treat incorrectly rounded
5363 conversions as failure unless ROUNDING_TESTS passes.
5365 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5368 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5369 restore exception state around main square root computation, then
5370 check for inexactness explicitly.
5372 * math/libm-test.inc (fma_test_data): Add another test.
5374 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5376 * manual/threads.texi (Non-POSIX Extensions): New document
5377 node. Document pthread_getattr_default_np and
5378 pthread_setattr_default_np.
5380 * Versions.def (libpthread): Add GLIBC_2.18.
5381 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5390 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5401 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5404 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5406 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5407 H.J. Lu <hjl.tools@gmail.com>
5410 * sysdeps/x86_64/rtld-memset.c: Remove file.
5411 * sysdeps/x86_64/rtld-memset.S: New file.
5413 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5415 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5416 (test_in_one_mode): Take arguments for whether the rounding mode
5417 is supported for each floating-point type.
5418 (do_test): Pass new arguments to test_in_one_mode using
5421 2013-06-13 Roland McGrath <roland@hack.frob.com>
5423 * posix/tst-waitid.c (do_test): Distinguish different instances of
5424 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5425 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5426 before entering the kernel for waitpid.
5428 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5430 * NEWS: Fix note on clock function precision. Text by Roland
5433 2013-06-13 Roland McGrath <roland@hack.frob.com>
5435 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5436 it into place only when and if the sanity check passes.
5438 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5440 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5441 output for whether conversion result is exact. Take argument
5442 indicating whether type is IBM long double.
5443 (round_for_all): Change need_exact field to ibm_ld.
5444 * stdlib/tst-strtod-round.c (struct exactness): New type.
5445 (struct test): Change bool ld_ok field to struct exactness exact.
5446 (TEST): Update all definitions for change to field.
5447 (tests): Regenerate array contents.
5448 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5449 field value. Check for IBM long double here.
5450 (do_test): Update calls to test_in_one_mode.
5452 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5455 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5456 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5458 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5461 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5462 generated by the compiler on loop optimizations.
5463 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5464 general definitions.
5466 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5468 * math/bug-nextafter.c: Include <math-tests.h>.
5469 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5471 * math/bug-nexttoward.c: Include <math-tests.h>.
5472 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5474 * math/test-misc.c: Include <math-tests.h>.
5475 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5478 2013-06-12 Andreas Jaeger <aj@suse.de>
5480 * po/ia.po: Update Interlingua translation from translation
5483 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5485 * include/fenv.h: Include stdbool.h.
5486 (struct rm_ctx): New structure.
5487 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5489 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5490 (SET_RESTORE_ROUNDF): Likewise.
5491 (SET_RESTORE_ROUNDL): Likewise.
5492 (SET_RESTORE_ROUND_NOEX): Likewise.
5493 (SET_RESTORE_ROUND_NOEXF): Likewise.
5494 (SET_RESTORE_ROUND_NOEXL): Likewise.
5495 (SET_RESTORE_ROUND_53BIT): Likewise.
5496 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5497 (libc_feresetround_noexf_ctx): Likewise.
5498 (libc_feresetround_noexl_ctx): Likewise.
5499 (libc_feholdsetround_53bit_ctx): Likewise.
5500 (libc_feresetround_53bit_ctx): Likewise.
5501 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5502 (libc_feholdexcept_setround_sse_ctx): New function.
5503 (libc_fesetenv_sse_ctx): Likewise.
5504 (libc_feupdateenv_sse_ctx): Likewise.
5505 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5506 (libc_feholdexcept_setround_387_ctx): Likewise.
5507 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5508 (libc_feholdsetround_387_prec_ctx): Likewise.
5509 (libc_feholdsetround_387_ctx): Likewise.
5510 (libc_feholdsetround_387_53bit_ctx): Likewise.
5511 (libc_feholdsetround_sse_ctx): Likewise.
5512 (libc_feresetround_sse_ctx): Likewise.
5513 (libc_feresetround_387_ctx): Likewise.
5514 (libc_feupdateenv_387_ctx): Likewise.
5515 (libc_feholdexcept_setroundf_ctx): Define macro.
5516 (libc_fesetenvf_ctx): Likewise.
5517 (libc_feupdateenvf_ctx): Likewise.
5518 (libc_feholdsetroundf_ctx): Likewise.
5519 (libc_feresetroundf_ctx): Likewise.
5520 (libc_feholdexcept_setround_ctx): Likewise.
5521 (libc_fesetenv_ctx): Likewise.
5522 (libc_feupdateenv_ctx): Likewise.
5523 (libc_feholdsetround_ctx): Likewise.
5524 (libc_feresetround_ctx): Likewise.
5525 (libc_feholdexcept_setroundl_ctx): Likewise.
5526 (libc_feupdateenvl_ctx): Likewise.
5527 (libc_feholdsetroundl_ctx): Likewise.
5528 (libc_feresetroundl_ctx): Likewise.
5529 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5530 (libc_feresetround_53bit_ctx): Likewise.
5532 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5534 * locale/iso-639.def: Convert to UTF-8.
5536 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5538 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5539 (EXCEPTION_TESTS_double): Likewise.
5540 (EXCEPTION_TESTS_long_double): Likewise.
5541 (EXCEPTION_TESTS): Likewise.
5542 * math/libm-test.inc (test_exceptions): Only test exceptions if
5543 EXCEPTION_TESTS (FLOAT).
5545 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5547 * benchtests/Makefile (string-bench): Add strcpy_chk and
5549 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5550 * benchtests/bench-stpcpy_chk.c: New file.
5551 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5552 * benchtests/bench-strcpy_chk.c: New file.
5553 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5555 (do_test): Likewise.
5557 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5559 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5560 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5561 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5562 with tabs where appropriate.
5563 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5565 [PPC_PLATFORM_PPC440]: Likewise.
5566 [PPC_PLATFORM_PPC464]: Likewise.
5567 [PPC_PLATFORM_PPC476]: Likewise.
5568 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5569 ppc464, and ppc476 platform strings merging from ports/
5572 2013-06-11 Andreas Schwab <schwab@suse.de>
5575 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5576 (from_ucs4_idx): Regenerate.
5577 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5578 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5579 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5580 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5581 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5582 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5583 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5584 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5585 from FROM_LOOP and TO_LOOP specific macros.
5586 (BODY): Handle combining characters.
5587 * iconvdata/BIG5HKSCS.irreversible: Update.
5588 * iconvdata/BIG5HKSCS.precomposed: New file.
5589 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5591 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5593 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5595 * include/sys/time.h: Fix indentation and add copyright header.
5597 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5598 (do_test): Likewise.
5599 * string/test-memchr.c (do_one_test): Likewise.
5600 (do_test): Likewise.
5601 * string/test-memcmp.c (do_one_test): Likewise.
5602 (do_test): Likewise.
5603 * string/test-memcpy.c (do_one_test): Likewise.
5604 (do_test): Likewise.
5605 * string/test-memmem.c (do_one_test): Likewise.
5606 (do_test): Likewise.
5607 (do_random_tests): Likewise.
5608 * string/test-memmove.c (do_one_test): Likewise.
5609 (do_test): Likewise.
5610 * string/test-memset.c (do_one_test): Likewise.
5611 (do_test): Likewise.
5612 * string/test-rawmemchr.c (do_one_test): Likewise.
5613 (do_test): Likewise.
5614 * string/test-strcasecmp.c (do_one_test): Likewise.
5615 (do_test): Likewise.
5616 * string/test-strcasestr.c (do_one_test): Likewise.
5617 (do_test): Likewise.
5618 * string/test-strcat.c (do_one_test): Likewise.
5619 (do_test): Likewise.
5620 * string/test-strchr.c (do_one_test): Likewise.
5621 (do_test): Likewise.
5622 * string/test-strcmp.c (do_one_test): Likewise.
5623 (do_test): Likewise.
5624 * string/test-strcpy.c (do_one_test): Likewise.
5625 (do_test): Likewise.
5626 * string/test-string.h: Likewise.
5627 (test_init): Likewise.
5628 * string/test-strlen.c (do_one_test): Likewise.
5629 (do_test): Likewise.
5630 * string/test-strncasecmp.c (do_one_test): Likewise.
5631 (do_test): Likewise.
5632 * string/test-strncat.c (do_one_test): Likewise.
5633 (do_test): Likewise.
5634 * string/test-strncmp.c (do_one_test): Likewise.
5635 (do_test_limit): Likewise.
5636 (do_test): Likewise.
5637 * string/test-strncpy.c (do_one_test): Likewise.
5638 (do_test): Likewise.
5639 * string/test-strnlen.c (do_one_test): Likewise.
5640 (do_test): Likewise.
5641 * string/test-strpbrk.c (do_one_test): Likewise.
5642 (do_test): Likewise.
5643 * string/test-strrchr.c (do_one_test): Likewise.
5644 (do_test): Likewise.
5645 * string/test-strspn.c (do_one_test): Likewise.
5646 (do_test): Likewise.
5647 * string/test-strstr.c (do_one_test): Likewise.
5648 (do_test): Likewise.
5650 * benchtests/Makefile (string-bench): Add string benchmarks.
5651 * benchtests/bench-bcopy-ifunc.c: New file.
5652 * benchtests/bench-bcopy.c: New file.
5653 * benchtests/bench-bzero-ifunc.c: New file.
5654 * benchtests/bench-bzero.c: New file.
5655 * benchtests/bench-memccpy-ifunc.c: New file.
5656 * benchtests/bench-memccpy.c: New file.
5657 * benchtests/bench-memchr-ifunc.c: New file.
5658 * benchtests/bench-memchr.c: New file.
5659 * benchtests/bench-memcmp-ifunc.c: New file.
5660 * benchtests/bench-memcmp.c: New file.
5661 * benchtests/bench-memmem-ifunc.c: New file.
5662 * benchtests/bench-memmem.c: New file.
5663 * benchtests/bench-memmove-ifunc.c: New file.
5664 * benchtests/bench-memmove.c: New file.
5665 * benchtests/bench-mempcpy-ifunc.c: New file.
5666 * benchtests/bench-mempcpy.c: New file.
5667 * benchtests/bench-memset-ifunc.c: New file.
5668 * benchtests/bench-memset.c: New file.
5669 * benchtests/bench-rawmemchr-ifunc.c: New file.
5670 * benchtests/bench-rawmemchr.c: New file.
5671 * benchtests/bench-stpcpy-ifunc.c: New file.
5672 * benchtests/bench-stpcpy.c: New file.
5673 * benchtests/bench-stpncpy-ifunc.c: New file.
5674 * benchtests/bench-stpncpy.c: New file.
5675 * benchtests/bench-strcasecmp-ifunc.c: New file.
5676 * benchtests/bench-strcasecmp.c: New file.
5677 * benchtests/bench-strcasestr-ifunc.c: New file.
5678 * benchtests/bench-strcasestr.c: New file.
5679 * benchtests/bench-strcat-ifunc.c: New file.
5680 * benchtests/bench-strcat.c: New file.
5681 * benchtests/bench-strchr-ifunc.c: New file.
5682 * benchtests/bench-strchr.c: New file.
5683 * benchtests/bench-strchrnul-ifunc.c: New file.
5684 * benchtests/bench-strchrnul.c: New file.
5685 * benchtests/bench-strcmp-ifunc.c: New file.
5686 * benchtests/bench-strcmp.c: New file.
5687 * benchtests/bench-strcpy-ifunc.c: New file.
5688 * benchtests/bench-strcpy.c: New file.
5689 * benchtests/bench-strcspn-ifunc.c: New file.
5690 * benchtests/bench-strcspn.c: New file.
5691 * benchtests/bench-strlen-ifunc.c: New file.
5692 * benchtests/bench-strlen.c: New file.
5693 * benchtests/bench-strncasecmp-ifunc.c: New file.
5694 * benchtests/bench-strncasecmp.c: New file.
5695 * benchtests/bench-strncat-ifunc.c: New file.
5696 * benchtests/bench-strncat.c: New file.
5697 * benchtests/bench-strncmp-ifunc.c: New file.
5698 * benchtests/bench-strncmp.c: New file.
5699 * benchtests/bench-strncpy-ifunc.c: New file.
5700 * benchtests/bench-strncpy.c: New file.
5701 * benchtests/bench-strnlen-ifunc.c: New file.
5702 * benchtests/bench-strnlen.c: New file.
5703 * benchtests/bench-strpbrk-ifunc.c: New file.
5704 * benchtests/bench-strpbrk.c: New file.
5705 * benchtests/bench-strrchr-ifunc.c: New file.
5706 * benchtests/bench-strrchr.c: New file.
5707 * benchtests/bench-strspn-ifunc.c: New file.
5708 * benchtests/bench-strspn.c: New file.
5709 * benchtests/bench-strstr-ifunc.c: New file.
5710 * benchtests/bench-strstr.c: New file.
5712 * benchtests/Makefile: Disable parallel execution of targets.
5713 (string-bench): Add memcpy.
5714 (benchset): New variable to store a list of benchmark sets.
5715 (bench-func): Renamed from bench.
5716 (bench-set): New target.
5717 (bench): Depend on bench-func and bench-set.
5718 * benchtests/README: Add section on benchmark sets.
5719 * benchtests/bench-memcpy-ifunc.c: New file.
5720 * benchtests/bench-memcpy.c: New file.
5721 * benchtests/bench-string.h: New file.
5723 2013-06-11 Andreas Schwab <schwab@suse.de>
5726 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5727 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5728 values in the triple.
5729 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5730 terminator in the group key.
5732 2013-06-11 Andreas Jaeger <aj@suse.de>
5734 * po/zh_TW.po: Update Chinese (traditional) translation from
5735 translation project.
5737 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5739 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5740 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5741 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5742 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5743 (clock_getcpuclockid): Likewise.
5744 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5745 Add weak_alias and libc_hidden_def.
5746 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5747 * rt/clock_gettime.c (clock_gettime): Rename to
5748 __clock_gettime. Add weak_alias and libc_hidden_def.
5749 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5750 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5751 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5752 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5753 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5755 * rt/clock_settime.c (clock_settime): Rename to
5756 __clock_settime. Add weak_alias and libc_hidden_def.
5757 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5759 2013-06-10 Joseph Myers <joseph@codesourcery.com>
5761 * mach/err_boot.sub: Remove trailing whitespace.
5762 * mach/err_ipc.sub: Likewise.
5763 * mach/err_mach.sub: Likewise.
5765 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5766 (ROUNDING_TESTS_double): Likewise.
5767 (ROUNDING_TESTS_long_double): Likewise.
5768 (ROUNDING_TESTS): Likewise.
5769 * math/libm-test.inc: Include <math-tests.h>.
5770 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5771 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5772 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5773 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5775 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5777 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5780 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5782 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5783 otherwise empty TRANS lines.
5784 * sysdeps/gnu/errlist.c: Regenerated.
5786 * catgets/gencat.c (error_print): Use (void) in function
5788 * crypt/crypt_util.c (__init_des): Likewise.
5789 * crypt/speeds.c (Stop): Likewise.
5791 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5792 * inet/ruserpass.c (token): Likewise.
5793 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5794 * intl/localealias.c (extend_alias_table): Likewise.
5795 * intl/plural-exp.c (init_germanic_plural): Likewise.
5796 * libio/fcloseall.c (__fcloseall): Likewise.
5797 * libio/genops.c (_IO_flush_all): Likewise.
5798 (_IO_flush_all_linebuffered): Likewise.
5799 (_IO_cleanup): Likewise.
5800 (_IO_iter_begin): Likewise.
5801 (_IO_iter_end): Likewise.
5802 (_IO_list_lock): Likewise.
5803 (_IO_list_unlock): Likewise.
5804 (_IO_list_resetlock): Likewise.
5805 * libio/getchar.c (getchar): Likewise.
5806 * libio/getchar_u.c (getchar_unlocked): Likewise.
5807 * libio/getwchar.c (getwchar): Likewise.
5808 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5809 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5810 * login/getpt.c (__getpt): Likewise.
5811 * login/tst-utmp.c (main): Likewise.
5812 * malloc/hooks.c (__malloc_check_init): Likewise.
5813 * malloc/malloc.c (__malloc_stats): Likewise.
5814 * malloc/mtrace.c (tr_break): Likewise.
5816 (muntrace): Likewise.
5817 * misc/fstab.c (endfsent): Likewise.
5818 * misc/getclktck.c (__getclktck): Likewise.
5819 * misc/getdtsz.c (__getdtablesize): Likewise.
5820 * misc/gethostid.c (gethostid): Likewise.
5821 * misc/getpagesize.c (__getpagesize): Likewise.
5822 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5823 (__get_nprocs): Likewise.
5824 (__get_phys_pages): Likewise.
5825 (__get_avphys_pages): Likewise.
5826 * misc/getttyent.c (getttyent): Likewise.
5827 (setttyent): Likewise.
5828 (endttyent): Likewise.
5829 * misc/getusershell.c (getusershell): Likewise.
5830 (endusershell): Likewise.
5831 (setusershell): Likewise.
5832 (initshells): Likewise.
5833 * misc/hsearch.c (__hdestroy): Likewise.
5834 * misc/sync.c (sync): Likewise.
5835 * misc/syslog.c (closelog_internal): Likewise.
5836 (closelog): Likewise.
5837 * misc/ttyslot.c (ttyslot): Likewise.
5838 * misc/vhangup.c (vhangup): Likewise.
5839 * posix/fork.c (__fork): Likewise.
5840 * posix/getegid.c (__getegid): Likewise.
5841 * posix/geteuid.c (__geteuid): Likewise.
5842 * posix/getgid.c (__getgid): Likewise.
5843 * posix/getpid.c (__getpid): Likewise.
5844 * posix/getppid.c (__getppid): Likewise.
5845 * posix/getuid.c (__getuid): Likewise.
5846 * posix/pause.c (pause): Likewise.
5847 * posix/setpgrp.c (setpgrp): Likewise.
5848 * posix/setsid.c (__setsid): Likewise.
5849 * posix/test-vfork.c (noop): Likewise.
5850 * resolv/gethnamaddr.c (_endhtent): Likewise.
5851 (_gethtent): Likewise.
5852 (ht_endhostent): Likewise.
5853 (gethostent): Likewise.
5854 (dns_service): Likewise.
5855 * stdlib/drand48.c (drand48): Likewise.
5856 * stdlib/lrand48.c (lrand48): Likewise.
5857 * stdlib/mrand48.c (mrand48): Likewise.
5858 * stdlib/rand.c (rand): Likewise.
5859 * stdlib/random.c (__random): Likewise.
5860 * stdlib/setenv.c (clearenv): Likewise.
5861 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5862 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5863 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5864 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5865 (__get_nprocs): Likewise.
5866 (__get_phys_pages): Likewise.
5867 (__get_avphys_pages): Likewise.
5868 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5869 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5870 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5871 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5872 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5873 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5874 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5875 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5876 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5877 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5878 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5879 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5880 * sysdeps/posix/clock.c (clock): Likewise.
5881 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5882 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5883 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5884 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5885 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5887 (__get_nprocs_conf): Likewise.
5888 (__get_phys_pages): Likewise.
5889 (__get_avphys_pages): Likewise.
5890 * time/clock.c (clock): Likewise.
5891 * time/tzset.c (__tzname_max): Likewise.
5893 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5895 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5896 (__bswap_32): Do not use "register".
5897 * crypt/crypt.c (_ufc_doit_r): Likewise.
5898 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5899 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5900 * gmon/gmon.c (__monstartup): Likewise.
5901 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5902 * hurd/hurdmalloc.c (more_memory): Likewise.
5905 (realloc): Likewise.
5906 (malloc_fork_prepare): Likewise.
5907 (malloc_fork_parent): Likewise.
5908 (malloc_fork_child): Likewise.
5909 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5910 (_svcauth_des): Likewise.
5911 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5912 * inet/inet_net.c (inet_network): Likewise.
5913 * inet/inet_netof.c (inet_netof): Likewise.
5914 * inet/rcmd.c (__validuser2_sa): Likewise.
5915 * io/fts.c (fts_open): Likewise.
5916 (fts_load): Likewise.
5917 (fts_close): Likewise.
5918 (fts_read): Likewise.
5919 (fts_children): Likewise.
5920 (fts_build): Likewise.
5921 (fts_stat): Likewise.
5922 (fts_sort): Likewise.
5923 (fts_alloc): Likewise.
5924 (fts_lfree): Likewise.
5925 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5926 (_IO_file_xsgetn): Likewise.
5927 (_IO_file_xsgetn_mmap): Likewise.
5928 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5929 (_IO_cookie_write): Likewise.
5930 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5931 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5932 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5933 * malloc/obstack.c (_obstack_begin): Likewise.
5934 (_obstack_begin_1): Likewise.
5935 (_obstack_newchunk): Likewise.
5936 (_obstack_allocated_p): Likewise.
5937 (obstack_free): Likewise.
5938 (_obstack_memory_used): Likewise.
5939 * misc/getttyent.c (getttynam): Likewise.
5940 (getttyent): Likewise.
5943 * misc/getusershell.c (initshells): Likewise.
5944 * misc/syslog.c (__vsyslog_chk): Likewise.
5945 * misc/ttyslot.c (ttyslot): Likewise.
5946 * nis/nis_hash.c (__nis_hash): Likewise.
5947 * posix/fnmatch_loop.c (FCT): Likewise.
5948 * posix/getconf.c (print_all): Likewise.
5950 * posix/getopt.c (exchange): Likewise.
5951 * posix/glob.c (globfree): Likewise.
5952 (prefix_array): Likewise.
5953 (__glob_pattern_type): Likewise.
5954 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5955 (NS_GET32): Likewise.
5956 (NS_PUT16): Likewise.
5957 (NS_PUT32): Likewise.
5958 * resolv/gethnamaddr.c (getanswer): Likewise.
5959 (gethostbyname2): Likewise.
5960 (gethostbyaddr): Likewise.
5961 (_gethtent): Likewise.
5962 (_gethtbyname2): Likewise.
5963 (_gethtbyaddr): Likewise.
5964 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5965 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5966 * resolv/res_init.c (__res_vinit): Likewise.
5967 (net_mask): Likewise.
5968 * resolv/res_mkquery.c (outchar): Likewise.
5970 * stdio-common/printf_fp.c (outchar): Likewise.
5972 * stdio-common/printf_fphex.c (outchar): Likewise.
5974 * stdio-common/printf_size.c (outchar): Likewise.
5976 * stdio-common/test_rdwr.c (main): Likewise.
5977 * stdio-common/tfformat.c (matches): Likewise.
5978 * stdio-common/vfprintf.c (outchar): Likewise.
5979 (printf_unknown): Likewise.
5980 (buffered_vfprintf): Likewise.
5981 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5982 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5983 (ReadFile): Likewise.
5984 * stdlib/qsort.c (SWAP): Likewise.
5985 (_quicksort): Likewise.
5986 * stdlib/setenv.c (__add_to_environ): Likewise.
5987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5988 * stdlib/strtol_l.c (__strtol_l): Likewise.
5989 * stdlib/tst-strtod.c (main): Likewise.
5990 * stdlib/tst-strtol.c (main): Likewise.
5991 * stdlib/tst-strtoll.c (main): Likewise.
5992 * string/bits/string2.h (__strcmp_cc): Likewise.
5993 (__strcmp_cg): Likewise.
5994 (__strcspn_c1): Likewise.
5995 (__strcspn_c2): Likewise.
5996 (__strcspn_c3): Likewise.
5997 (__strspn_c1): Likewise.
5998 (__strspn_c2): Likewise.
5999 (__strspn_c3): Likewise.
6000 (__strsep_1c): Likewise.
6001 (__strsep_2c): Likewise.
6002 (__strsep_3c): Likewise.
6003 * string/memccpy.c (__memccpy): Likewise.
6004 * string/stpcpy.c (__stpcpy): Likewise.
6005 * string/strcmp.c (strcmp): Likewise.
6006 * string/strrchr.c (strrchr): Likewise.
6007 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6009 * sysdeps/mach/hurd/getcwd.c
6010 (_hurd_canonicalize_directory_name_internal): Likewise.
6011 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6012 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6013 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6014 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6015 Likewise, in both definitions.
6016 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6018 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6019 64] (__bswap_64): Likewise.
6020 * time/test_time.c (main): Likewise.
6021 * time/tzfile.c (__tzfile_read): Likewise.
6022 (__tzfile_compute): Likewise.
6023 * time/tzset.c (__tzset_parse_tz): Likewise.
6024 (tzset_internal): Likewise.
6025 (compute_change): Likewise.
6026 * wcsmbs/wcscat.c (__wcscat): Likewise.
6027 * wcsmbs/wcschr.c (wcschr): Likewise.
6028 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6029 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6030 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6031 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6032 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6033 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6034 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6035 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6036 * wcsmbs/wmemset.c (wmemset): Likewise.
6038 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6040 * scripts/config.guess: Update to version 2013-05-16.
6041 * scripts/config.sub: Update to version 2013-04-24.
6042 * scripts/install-sh: Update to version 2011-11-20.07.
6043 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6044 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6046 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6048 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6049 * elf/sln.c: Likewise.
6050 * hurd/hurd/ioctl.h: Likewise.
6051 * hurd/hurdmalloc.c: Likewise.
6052 * hurd/xattr.c: Likewise.
6053 * include/shlib-compat.h: Likewise.
6054 * inet/ruserpass.c: Likewise.
6055 * libio/iofgets_u.c: Likewise.
6056 * libio/iofgetws_u.c: Likewise.
6057 * locale/programs/ld-identification.c: Likewise.
6058 * locale/programs/ld-time.c: Likewise.
6059 * mach/msg-destroy.c: Likewise.
6060 * nss/nss_files/files-netgrp.c: Likewise.
6061 * resolv/res_data.c: Likewise.
6062 * soft-fp/op-1.h: Likewise.
6063 * soft-fp/op-2.h: Likewise.
6064 * soft-fp/op-4.h: Likewise.
6065 * soft-fp/op-common.h: Likewise.
6066 * stdio-common/printf_fphex.c: Likewise.
6067 * stdlib/strtod_l.c: Likewise.
6068 * sunrpc/rpc/clnt.h: Likewise.
6069 * sysdeps/generic/framestate.c: Likewise.
6070 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6071 * sysdeps/i386/bsd-setjmp.S: Likewise.
6072 * sysdeps/i386/__longjmp.S: Likewise.
6073 * sysdeps/i386/setjmp.S: Likewise.
6074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6075 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6076 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6092 * sysdeps/ieee754/support.c: Likewise.
6093 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6094 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6095 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6096 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6097 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6098 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6099 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6100 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6101 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6102 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6103 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6104 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6105 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6106 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6107 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6108 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6109 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6112 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6114 * posix/transbug.c: Remove executable mode.
6116 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6118 * crypt/speeds.c: Remove trailing whitespace.
6119 * dlfcn/default.c: Likewise.
6120 * elf/ifuncdep2.c: Likewise.
6121 * elf/ifuncmain1.c: Likewise.
6122 * elf/ifuncmain1vis.c: Likewise.
6123 * elf/testobj.h: Likewise.
6124 * elf/tst-stackguard1.c: Likewise.
6125 * gmon/sys/gmon.h: Likewise.
6126 * hurd/hurdmsg.c: Likewise.
6127 * hurd/new-fd.c: Likewise.
6128 * hurd/ports-get.c: Likewise.
6129 * iconvdata/ibm1008_420.c: Likewise.
6130 * inet/tst-getni1.c: Likewise.
6131 * inet/tst-getni2.c: Likewise.
6132 * libio/ioungetc.c: Likewise.
6133 * libio/wfiledoalloc.c: Likewise.
6134 * manual/libm-err-tab.pl: Likewise.
6135 * math/w_dremf.c: Likewise.
6136 * misc/ftruncate.c: Likewise.
6137 * posix/bug-glob2.c: Likewise.
6138 * posix/tst-pcre.c: Likewise.
6139 * posix/wait4.c: Likewise.
6140 * resolv/README: Likewise.
6141 * resolv/res_debug.h: Likewise.
6142 * resolv/tst-inet_ntop.c: Likewise.
6143 * setjmp/bug269-setjmp.c: Likewise.
6144 * soft-fp/extended.h: Likewise.
6145 * soft-fp/op-1.h: Likewise.
6146 * soft-fp/op-2.h: Likewise.
6147 * soft-fp/op-4.h: Likewise.
6148 * soft-fp/op-8.h: Likewise.
6149 * soft-fp/testit.c: Likewise.
6150 * stdio-common/bug16.c: Likewise.
6151 * stdlib/random.c: Likewise.
6152 * sunrpc/rpcsvc/rquota.x: Likewise.
6153 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6160 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6162 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6163 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6180 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6182 * sysdeps/ieee754/s_lib_version.c: Likewise.
6183 * sysdeps/mach/hurd/check_fds.c: Likewise.
6184 * sysdeps/mach/hurd/getsockname.c: Likewise.
6185 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6186 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6187 * sysdeps/powerpc/bits/link.h: Likewise.
6188 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6189 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6190 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6191 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6192 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6193 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6194 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6195 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6196 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6197 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6198 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6199 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6200 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6201 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6202 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6203 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6205 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6207 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6208 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6209 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6210 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6211 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6212 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6213 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6214 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6215 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6216 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6217 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6218 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6219 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6220 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6221 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6222 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6223 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6224 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6225 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6226 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6227 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6228 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6229 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6230 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6231 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6232 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6233 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6234 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6235 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6236 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6237 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6239 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6240 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6241 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6242 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6245 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6246 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6247 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6248 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6249 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6250 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6251 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6252 * sysdeps/powerpc/sysdep.h: Likewise.
6253 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6254 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6255 * sysdeps/sh/dl-trampoline.S: Likewise.
6256 * sysdeps/sh/memset.S: Likewise.
6257 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6258 * sysdeps/sh/strlen.S: Likewise.
6259 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6260 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6261 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6262 * sysdeps/sparc/sparc32/rem.S: Likewise.
6263 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6264 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6265 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6266 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6267 * sysdeps/sparc/sparc32/urem.S: Likewise.
6268 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6269 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6270 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6271 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6273 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6274 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6275 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6276 * sysdeps/unix/bsd/times.c: Likewise.
6277 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6278 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6282 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6284 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6285 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6286 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6287 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6288 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6289 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6290 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6291 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6292 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6293 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6294 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6295 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6296 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6297 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6298 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6299 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6300 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6301 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6302 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6303 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6304 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6305 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6306 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6307 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6308 * sysdeps/x86_64/strcspn.S: Likewise.
6310 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6312 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6313 generated file. Regenerate properly from gen-translit.pl.
6314 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6315 locale/C-translit.h.
6317 2013-06-05 Andreas Schwab <schwab@suse.de>
6320 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6321 week as 6 instead of -1.
6322 * time/tst-strptime.c (day_tests): Add test case.
6324 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6326 * sysdeps/generic/math_private.h
6327 (libc_feholdexcept_setround_53bit): Replace with
6328 libc_feholdsetround_53bit.
6329 (libc_feupdateenv_53bit): Replace with
6330 libc_feresetround_53bit.
6331 (SET_RESTORE_ROUND_53BIT): Adjust.
6333 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6335 * string/test-strchrnul.c: Add copyright header.
6337 * posix/tst-getaddrinfo4.c: Increase test timeout.
6339 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6342 * math/libm-test.inc (MAX_EXP): Remove
6344 (ulp): Use MIN_EXP - MANT_DIG.
6345 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6347 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6349 * po/be.po: Revert last change.
6350 * po/zh_CN.po: Likewise.
6351 * po/header.pot: Likewise.
6353 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6355 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6356 link-libc-deps to empty as target-specific variable.
6357 * Makerules (link-libc-args): New variable.
6358 (libc-for-link): Likewise.
6359 (link-libc-deps): Likewise.
6360 (lib%.so): Depend on $(link-libc-deps). Link with
6362 (build-module): Link with $(link-libc-args).
6363 (build-module-asneeded): Likewise.
6364 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6366 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6367 target-specific variable.
6368 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6369 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6370 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6372 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6374 ($(objpfx)libpcprofile.so): Likewise.
6375 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6377 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6378 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6379 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6381 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6382 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6383 * login/Makefile ($(objpfx)libutil.so): Likewise.
6384 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6385 * math/Makefile ($(objpfx)libm.so): Likewise.
6386 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6387 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6388 variable instead of depending directly on libc.
6389 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6390 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6392 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6394 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6395 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6396 ($(objpfx)libanl.so): Likewise.
6397 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6399 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6401 * sysdeps/i386/fpu/Makefile: Remove file.
6402 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6403 ($(objpfx)libm.so): Remove dependency on ld.so.
6405 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6408 * nis/yp_xdr.c (XDRMAXNAME): Define.
6409 (XDRMAXRECORD): Define.
6410 (xdr_domainname): Use XDRMAXNAME.
6411 (xdr_mapname): Likewise.
6412 (xdr_peername): Likewise.
6413 (xdr_keydat): Use XDRMAXRECORD.
6414 (xdr_valdat): Likewise.
6416 2013-05-30 Jeff Law <law@redhat.com>
6419 * manual/errno.texi (ESTALE): Update to account for more than
6420 just NFS file systems.
6421 * sysdeps/gnu/errlist.c: Regenerated.
6423 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6426 * elf/Makefile (tests): Add tst-null-argv.
6427 (modules-names): Add tst-null-argv-lib.
6428 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6429 (tst-null-argv-ENV): Set environment for tst-null-argv.
6430 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6431 (RTLD_PROGNAME): New macro.
6432 * elf/tst-null-argv.c: New test case.
6433 * elf/tst-null-argv-lib.c: Library for test case.
6434 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6435 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6436 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6437 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6438 * elf/dl-init.c (call_init): Likewise.
6439 (_dl_init): Likewise.
6440 * elf/dl-load.c (print_search_path): Likewise.
6441 (_dl_map_object): Likewise.
6442 * elf/dl-lookup.c (do_lookup_x): Likewise.
6443 (add_dependency): Likewise.
6444 (_dl_lookup_symbol_x): Likewise.
6445 (_dl_debug_bindings): Likewise.
6446 * elf/dl-open.c (_dl_show_scope): Likewise.
6447 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6448 * elf/dl-version.c (match_symbol): Likewise.
6449 (_dl_check_map_versions): Likewise.
6450 * elf/rtld.c (dl_main): Likewise.
6451 (print_unresolved): Use RTLD_PROGNAME.
6452 (print_missing_version): Likewise.
6453 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6454 (elf_machine_rela): Likewise.
6455 * sysdeps/powerpc/powerpc32/dl-machine.c
6456 (__process_machine_rela): Likewise.
6457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6463 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6466 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6470 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6472 * po/be.po: Add descriptive title.
6473 * po/zh_CN.po: Likewise.
6474 * po/header.pot: Likewise.
6476 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6478 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6480 (enlarge_archive): Likewise.
6482 2013-05-28 Ben North <ben@redfrontdoor.org>
6484 * manual/arith.texi (frexp): It is the magnitude of the return
6485 value which lies in [0.5, 1), not the return value itself.
6487 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6491 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6493 * stdio-common/bug26.c (main): Correct fscanf template.
6495 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6496 declare _dl_skip_args.
6498 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6501 * manual/platform.texi: Add missing @end deftypefun.
6503 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6506 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6507 bit of mantissa of 2^16382.
6508 * math/libm-test.inc (hypot_test_data): Add more tests.
6510 * math/libm-test.inc: Add drem and pow10 to list of tested
6512 (pow10_test): New function.
6513 (drem_test): Likewise.
6514 (drem_test_tonearest): Likewise.
6515 (drem_test_towardzero): Likewise.
6516 (drem_test_downward): Likewise.
6517 (drem_test_upward): Likewise.
6518 (main): Call the new functions.
6520 * math/libm-test.inc (finite_test_data): Remove.
6521 (finite_test): Run tests from isfinite_test_data.
6522 (gamma_test_data): Remove.
6523 (gamma_test): Run tests from lgamma_test_data.
6524 * sysdeps/i386/fpu/libm-test-ulps: Update.
6525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6527 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529 * manual/platform.texi: Add PowerPC PPR function set documentation.
6530 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6533 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6535 * math/libm-test.inc (MAX_EXP): Define.
6537 (ulp): New function.
6538 (check_float_internal): Use ULPDIFF.
6539 (cpow_test): Disable failing test.
6540 (check_ulp): Test ulp() implemetnation.
6541 (main): Call check_ulp before starting tests.
6543 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6545 * math/gen-libm-test.pl (generate_testfile): Do not handle
6546 START_DATA and END_DATA.
6547 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6549 (acos_tonearest_test_data): Likewise.
6550 (acos_towardzero_test_data): Likewise.
6551 (acos_downward_test_data): Likewise.
6552 (acos_upward_test_data): Likewise.
6553 (acosh_test_data): Likewise.
6554 (asin_test_data): Likewise.
6555 (asin_tonearest_test_data): Likewise.
6556 (asin_towardzero_test_data): Likewise.
6557 (asin_downward_test_data): Likewise.
6558 (asin_upward_test_data): Likewise.
6559 (asinh_test_data): Likewise.
6560 (atan_test_data): Likewise.
6561 (atanh_test_data): Likewise.
6562 (atan2_test_data): Likewise.
6563 (cabs_test_data): Likewise.
6564 (cacos_test_data): Likewise.
6565 (cacosh_test_data): Likewise.
6566 (carg_test_data): Likewise.
6567 (casin_test_data): Likewise.
6568 (casinh_test_data): Likewise.
6569 (catan_test_data): Likewise.
6570 (catanh_test_data): Likewise.
6571 (cbrt_test_data): Likewise.
6572 (ccos_test_data): Likewise.
6573 (ccosh_test_data): Likewise.
6574 (ceil_test_data): Likewise.
6575 (cexp_test_data): Likewise.
6576 (cimag_test_data): Likewise.
6577 (clog_test_data): Likewise.
6578 (clog10_test_data): Likewise.
6579 (conj_test_data): Likewise.
6580 (copysign_test_data): Likewise.
6581 (cos_test_data): Likewise.
6582 (cos_tonearest_test_data): Likewise.
6583 (cos_towardzero_test_data): Likewise.
6584 (cos_downward_test_data): Likewise.
6585 (cos_upward_test_data): Likewise.
6586 (cosh_test_data): Likewise.
6587 (cosh_tonearest_test_data): Likewise.
6588 (cosh_towardzero_test_data): Likewise.
6589 (cosh_downward_test_data): Likewise.
6590 (cosh_upward_test_data): Likewise.
6591 (cpow_test_data): Likewise.
6592 (cproj_test_data): Likewise.
6593 (creal_test_data): Likewise.
6594 (csin_test_data): Likewise.
6595 (csinh_test_data): Likewise.
6596 (csqrt_test_data): Likewise.
6597 (ctan_test_data): Likewise.
6598 (ctan_tonearest_test_data): Likewise.
6599 (ctan_towardzero_test_data): Likewise.
6600 (ctan_downward_test_data): Likewise.
6601 (ctan_upward_test_data): Likewise.
6602 (ctanh_test_data): Likewise.
6603 (ctanh_tonearest_test_data): Likewise.
6604 (ctanh_towardzero_test_data): Likewise.
6605 (ctanh_downward_test_data): Likewise.
6606 (ctanh_upward_test_data): Likewise.
6607 (erf_test_data): Likewise.
6608 (erfc_test_data): Likewise.
6609 (exp_test_data): Likewise.
6610 (exp_tonearest_test_data): Likewise.
6611 (exp_towardzero_test_data): Likewise.
6612 (exp_downward_test_data): Likewise.
6613 (exp_upward_test_data): Likewise.
6614 (exp10_test_data): Likewise.
6615 (exp2_test_data): Likewise.
6616 (expm1_test_data): Likewise.
6617 (fabs_test_data): Likewise.
6618 (fdim_test_data): Likewise.
6619 (finite_test_data): Likewise.
6620 (floor_test_data): Likewise.
6621 (fma_test_data): Likewise.
6622 (fma_towardzero_test_data): Likewise.
6623 (fma_downward_test_data): Likewise.
6624 (fma_upward_test_data): Likewise.
6625 (fmax_test_data): Likewise.
6626 (fmin_test_data): Likewise.
6627 (fmod_test_data): Likewise.
6628 (fpclassify_test_data): Likewise.
6629 (frexp_test_data): Likewise.
6630 (gamma_test_data): Likewise.
6631 (hypot_test_data): Likewise.
6632 (ilogb_test_data): Likewise.
6633 (isfinite_test_data): Likewise.
6634 (isgreater_test_data): Likewise.
6635 (isgreaterequal_test_data): Likewise.
6636 (isinf_test_data): Likewise.
6637 (isless_test_data): Likewise.
6638 (islessequal_test_data): Likewise.
6639 (islessgreater_test_data): Likewise.
6640 (isnan_test_data): Likewise.
6641 (isnormal_test_data): Likewise.
6642 (issignaling_test_data): Likewise.
6643 (isunordered_test_data): Likewise.
6644 (j0_test_data): Likewise.
6645 (j1_test_data): Likewise.
6646 (jn_test_data): Likewise.
6647 (ldexp_test_data): Likewise.
6648 (lgamma_test_data): Likewise.
6649 (lrint_test_data): Likewise.
6650 (lrint_tonearest_test_data): Likewise.
6651 (lrint_towardzero_test_data): Likewise.
6652 (lrint_downward_test_data): Likewise.
6653 (lrint_upward_test_data): Likewise.
6654 (llrint_test_data): Likewise.
6655 (llrint_tonearest_test_data): Likewise.
6656 (llrint_towardzero_test_data): Likewise.
6657 (llrint_downward_test_data): Likewise.
6658 (llrint_upward_test_data): Likewise.
6659 (log_test_data): Likewise.
6660 (log10_test_data): Likewise.
6661 (log1p_test_data): Likewise.
6662 (log2_test_data): Likewise.
6663 (logb_test_data): Likewise.
6664 (logb_downward_test_data): Likewise.
6665 (lround_test_data): Likewise.
6666 (llround_test_data): Likewise.
6667 (modf_test_data): Likewise.
6668 (nearbyint_test_data): Likewise.
6669 (nextafter_test_data): Likewise.
6670 (nexttoward_test_data): Likewise.
6671 (pow_test_data): Likewise.
6672 (pow_tonearest_test_data): Likewise.
6673 (pow_towardzero_test_data): Likewise.
6674 (pow_downward_test_data): Likewise.
6675 (pow_upward_test_data): Likewise.
6676 (remainder_test_data): Likewise.
6677 (remainder_tonearest_test_data): Likewise.
6678 (remainder_towardzero_test_data): Likewise.
6679 (remainder_downward_test_data): Likewise.
6680 (remainder_upward_test_data): Likewise.
6681 (remquo_test_data): Likewise.
6682 (rint_test_data): Likewise.
6683 (rint_tonearest_test_data): Likewise.
6684 (rint_towardzero_test_data): Likewise.
6685 (rint_downward_test_data): Likewise.
6686 (rint_upward_test_data): Likewise.
6687 (round_test_data): Likewise.
6688 (scalb_test_data): Likewise.
6689 (scalbn_test_data): Likewise.
6690 (scalbln_test_data): Likewise.
6691 (signbit_test_data): Likewise.
6692 (sin_test_data): Likewise.
6693 (sin_tonearest_test_data): Likewise.
6694 (sin_towardzero_test_data): Likewise.
6695 (sin_downward_test_data): Likewise.
6696 (sin_upward_test_data): Likewise.
6697 (sincos_test_data): Likewise.
6698 (sinh_test_data): Likewise.
6699 (sinh_tonearest_test_data): Likewise.
6700 (sinh_towardzero_test_data): Likewise.
6701 (sinh_downward_test_data): Likewise.
6702 (sinh_upward_test_data): Likewise.
6703 (sqrt_test_data): Likewise.
6704 (tan_test_data): Likewise.
6705 (tan_tonearest_test_data): Likewise.
6706 (tan_towardzero_test_data): Likewise.
6707 (tan_downward_test_data): Likewise.
6708 (tan_upward_test_data): Likewise.
6709 (tanh_test_data): Likewise.
6710 (tgamma_test_data): Likewise.
6711 (trunc_test_data): Likewise.
6712 (y0_test_data): Likewise.
6713 (y1_test_data): Likewise.
6714 (yn_test_data): Likewise.
6715 (significand_test_data): Likewise.
6717 * math/gen-libm-test.pl (@functions): Remove variable.
6718 (generate_testfile): Don't handle START and END lines.
6719 * math/libm-test.inc (START): New macro.
6721 (END_COMPLEX): Likewise.
6722 (acos_test): Use END macro without arguments.
6723 (acos_test_tonearest): Likewise.
6724 (acos_test_towardzero): Likewise.
6725 (acos_test_downward): Likewise.
6726 (acos_test_upward): Likewise.
6727 (acosh_test): Likewise.
6728 (asin_test): Likewise.
6729 (asin_test_tonearest): Likewise.
6730 (asin_test_towardzero): Likewise.
6731 (asin_test_downward): Likewise.
6732 (asin_test_upward): Likewise.
6733 (asinh_test): Likewise.
6734 (atan_test): Likewise.
6735 (atanh_test): Likewise.
6736 (atan2_test): Likewise.
6737 (cabs_test): Likewise.
6738 (cacos_test): Use END_COMPLEX macro without arguments.
6739 (cacosh_test): Likewise.
6740 (carg_test): Use END macro without arguments.
6741 (casin_test): Use END_COMPLEX macro without arguments.
6742 (casinh_test): Likewise.
6743 (catan_test): Likewise.
6744 (catanh_test): Likewise.
6745 (cbrt_test): Use END macro without arguments.
6746 (ccos_test): Use END_COMPLEX macro without arguments.
6747 (ccosh_test): Likewise.
6748 (ceil_test): Use END macro without arguments.
6749 (cexp_test): Use END_COMPLEX macro without arguments.
6750 (cimag_test): Use END macro without arguments.
6751 (clog_test): Use END_COMPLEX macro without arguments.
6752 (clog10_test): Likewise.
6753 (conj_test): Likewise.
6754 (copysign_test): Use END macro without arguments.
6755 (cos_test): Likewise.
6756 (cos_test_tonearest): Likewise.
6757 (cos_test_towardzero): Likewise.
6758 (cos_test_downward): Likewise.
6759 (cos_test_upward): Likewise.
6760 (cosh_test): Likewise.
6761 (cosh_test_tonearest): Likewise.
6762 (cosh_test_towardzero): Likewise.
6763 (cosh_test_downward): Likewise.
6764 (cosh_test_upward): Likewise.
6765 (cpow_test): Use END_COMPLEX macro without arguments.
6766 (cproj_test): Likewise.
6767 (creal_test): Use END macro without arguments.
6768 (csin_test): Use END_COMPLEX macro without arguments.
6769 (csinh_test): Likewise.
6770 (csqrt_test): Likewise.
6771 (ctan_test): Likewise.
6772 (ctan_test_tonearest): Likewise.
6773 (ctan_test_towardzero): Likewise.
6774 (ctan_test_downward): Likewise.
6775 (ctan_test_upward): Likewise.
6776 (ctanh_test): Likewise.
6777 (ctanh_test_tonearest): Likewise.
6778 (ctanh_test_towardzero): Likewise.
6779 (ctanh_test_downward): Likewise.
6780 (ctanh_test_upward): Likewise.
6781 (erf_test): Use END macro without arguments.
6782 (erfc_test): Likewise.
6783 (exp_test): Likewise.
6784 (exp_test_tonearest): Likewise.
6785 (exp_test_towardzero): Likewise.
6786 (exp_test_downward): Likewise.
6787 (exp_test_upward): Likewise.
6788 (exp10_test): Likewise.
6789 (exp2_test): Likewise.
6790 (expm1_test): Likewise.
6791 (fabs_test): Likewise.
6792 (fdim_test): Likewise.
6793 (finite_test): Likewise.
6794 (floor_test): Likewise.
6795 (fma_test): Likewise.
6796 (fma_test_towardzero): Likewise.
6797 (fma_test_downward): Likewise.
6798 (fma_test_upward): Likewise.
6799 (fmax_test): Likewise.
6800 (fmin_test): Likewise.
6801 (fmod_test): Likewise.
6802 (fpclassify_test): Likewise.
6803 (frexp_test): Likewise.
6804 (gamma_test): Likewise.
6805 (hypot_test): Likewise.
6806 (ilogb_test): Likewise.
6807 (isfinite_test): Likewise.
6808 (isgreater_test): Likewise.
6809 (isgreaterequal_test): Likewise.
6810 (isinf_test): Likewise.
6811 (isless_test): Likewise.
6812 (islessequal_test): Likewise.
6813 (islessgreater_test): Likewise.
6814 (isnan_test): Likewise.
6815 (isnormal_test): Likewise.
6816 (issignaling_test): Likewise.
6817 (isunordered_test): Likewise.
6818 (j0_test): Likewise.
6819 (j1_test): Likewise.
6820 (jn_test): Likewise.
6821 (ldexp_test): Likewise.
6822 (lgamma_test): Likewise.
6823 (lrint_test): Likewise.
6824 (lrint_test_tonearest): Likewise.
6825 (lrint_test_towardzero): Likewise.
6826 (lrint_test_downward): Likewise.
6827 (lrint_test_upward): Likewise.
6828 (llrint_test): Likewise.
6829 (llrint_test_tonearest): Likewise.
6830 (llrint_test_towardzero): Likewise.
6831 (llrint_test_downward): Likewise.
6832 (llrint_test_upward): Likewise.
6833 (log_test): Likewise.
6834 (log10_test): Likewise.
6835 (log1p_test): Likewise.
6836 (log2_test): Likewise.
6837 (logb_test): Likewise.
6838 (logb_test_downward): Likewise.
6839 (lround_test): Likewise.
6840 (llround_test): Likewise.
6841 (modf_test): Likewise.
6842 (nearbyint_test): Likewise.
6843 (nextafter_test): Likewise.
6844 (nexttoward_test): Likewise.
6845 (pow_test): Likewise.
6846 (pow_test_tonearest): Likewise.
6847 (pow_test_towardzero): Likewise.
6848 (pow_test_downward): Likewise.
6849 (pow_test_upward): Likewise.
6850 (remainder_test): Likewise.
6851 (remainder_test_tonearest): Likewise.
6852 (remainder_test_towardzero): Likewise.
6853 (remainder_test_downward): Likewise.
6854 (remainder_test_upward): Likewise.
6855 (remquo_test): Likewise.
6856 (rint_test): Likewise.
6857 (rint_test_tonearest): Likewise.
6858 (rint_test_towardzero): Likewise.
6859 (rint_test_downward): Likewise.
6860 (rint_test_upward): Likewise.
6861 (round_test): Likewise.
6862 (scalb_test): Likewise.
6863 (scalbn_test): Likewise.
6864 (scalbln_test): Likewise.
6865 (signbit_test): Likewise.
6866 (sin_test): Likewise.
6867 (sin_test_tonearest): Likewise.
6868 (sin_test_towardzero): Likewise.
6869 (sin_test_downward): Likewise.
6870 (sin_test_upward): Likewise.
6871 (sincos_test): Likewise.
6872 (sinh_test): Likewise.
6873 (sinh_test_tonearest): Likewise.
6874 (sinh_test_towardzero): Likewise.
6875 (sinh_test_downward): Likewise.
6876 (sinh_test_upward): Likewise.
6877 (sqrt_test): Likewise.
6878 (tan_test): Likewise.
6879 (tan_test_tonearest): Likewise.
6880 (tan_test_towardzero): Likewise.
6881 (tan_test_downward): Likewise.
6882 (tan_test_upward): Likewise.
6883 (tanh_test): Likewise.
6884 (tgamma_test): Likewise.
6885 (trunc_test): Likewise.
6886 (y0_test): Likewise.
6887 (y1_test): Likewise.
6888 (yn_test): Likewise.
6889 (significand_test): Likewise.
6891 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6894 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6896 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6899 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6900 __ppc_mdoio and __ppc_mdoom.
6901 * manual/platform.texi: Document new functions __ppc_yield,
6902 __ppc_mdoio and __ppc_mdoom.
6904 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6906 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6907 (main): Mention "tls" pseudo-hwcap is legacy.
6908 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6910 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6912 * math/gen-libm-test.pl (parse_args): Output only string of
6913 arguments as text for test name, not full call or descriptions of
6914 tests for extra outputs.
6915 (generate_testfile): Do not pass function name to parse_args.
6916 Generate this_func variable from START.
6917 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6919 (struct test_ff_f_data): Likewise.
6920 (test_ff_f_data_nexttoward): Likewise.
6921 (struct test_fi_f_data): Likewise.
6922 (struct test_fl_f_data): Likewise.
6923 (struct test_if_f_data): Likewise.
6924 (struct test_fff_f_data): Likewise.
6925 (struct test_c_f_data): Likewise.
6926 (struct test_f_f1_data): Likewise. Remove field extra_name.
6927 (struct test_fF_f1_data): Likewise.
6928 (struct test_ffI_f1_data): Likewise.
6929 (struct test_c_c_data): Rename test_name field to arg_str.
6930 (struct test_cc_c_data): Likewise.
6931 (struct test_f_i_data): Likewise.
6932 (struct test_ff_i_data): Likewise.
6933 (struct test_f_l_data): Likewise.
6934 (struct test_f_L_data): Likewise.
6935 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6937 (COMMON_TEST_SETUP): New macro.
6938 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6939 (COMMON_TEST_CLEANUP): Likewise.
6940 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6941 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6943 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6944 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6946 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6947 (RUN_TEST_fff_f): Take argument string. Call new setup and
6949 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6950 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6952 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6953 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6955 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6956 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6958 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6959 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6961 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6962 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6964 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6965 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6967 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6968 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6970 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6971 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6973 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6974 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6976 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6977 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6979 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6980 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6982 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6983 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6985 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6986 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6988 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6989 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6991 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6992 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6994 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6996 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6998 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6999 to _sifields.sigfault.
7000 (si_addr_lsb): Define new macro.
7001 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7002 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7003 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7005 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7008 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7010 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7012 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7015 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7017 * math/gen-libm-test.pl (parse_args): Do not include expected
7018 result in test name.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7021 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7022 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7023 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7026 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7028 * benchtests/Makefile: Sort function entries.
7030 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7031 tanh, asinh, acosh, atanh.
7032 * benchtests/acos-inputs: New file.
7033 * benchtests/acosh-inputs: New file.
7034 * benchtests/asin-inputs: New file.
7035 * benchtests/asinh-inputs: New file.
7036 * benchtests/atanh-inputs: New file.
7037 * benchtests/cosh-inputs: New file.
7038 * benchtests/log-inputs: New file.
7039 * benchtests/sinh-inputs: New file.
7040 * benchtests/tanh-inputs: New file.
7042 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7045 * posix/tst-getaddrinfo4.c: New test.
7046 * posix/Makefile (tests): Add it.
7048 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7051 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7052 when no services were used.
7053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7054 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7056 2013-05-21 Andreas Schwab <schwab@suse.de>
7059 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7060 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7062 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7063 redundant variable declarations and reallocation of buffer when
7064 parsing as IPv6 address. Always set NSS status when called from
7065 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7066 buffer too small. Correct computation of needed size.
7067 * nss/Makefile (tests): Add test-digits-dots.
7068 * nss/test-digits-dots.c: New test.
7070 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7072 * benchtests/Makefile: Remove instructions for adding
7074 * benchtests/README: New file to explain how to execute and
7075 enhance the benchmark tests.
7077 2013-05-21 Andreas Schwab <schwab@suse.de>
7080 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7081 * setjmp/tst-sigsetjmp.c: New test.
7083 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7085 * sysdeps/x86_64/memset.S (memset): New implementation.
7086 (__bzero): Likewise.
7087 (__memset_tail): New function.
7089 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7091 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7092 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7093 __memcpy_sse2_unaligned ifunc selection.
7094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7095 Add memcpy-sse2-unaligned.S.
7096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7097 Add: __memcpy_sse2_unaligned.
7099 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7103 math_force_eval before restoring floating-point envrionment.
7104 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7107 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7109 (__nearbyintl): Use math_force_eval before restoring
7110 floating-point environment.
7111 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7113 * math/gen-libm-test.pl (special_functions): Remove.
7114 (parse_args): Don't handle TEST_extra. Handle functions with no
7116 * math/libm-test.inc (struct test_sincos_data): Replace with
7117 struct test_fFF_11_data.
7118 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7119 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7120 (sincos_test_data): Change element type to struct
7121 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7122 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7123 RUN_TEST_LOOP_sincos.
7124 * math/README.libm-test: Don't mention special handling of
7125 individual functions.
7126 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7127 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7128 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7129 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7130 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7133 * math/gen-libm-test.pl (get_variable): Remove function.
7134 (parse_args): Don't show pointer parameters to call in test
7135 names. Use "extra output N" in test names for extra outputs
7136 rather than naming variables.
7138 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7141 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7142 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7143 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7145 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7147 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7150 * math/gen-libm-test.pl (@tests): Remove variable.
7152 (new_test): Remove function.
7153 (show_exceptions): New function.
7154 (special_functions): Use show_exceptions instead of new_test.
7155 (parse_args): Likewise.
7156 (generate_testfile): Pass only function name in generated call to
7157 print_max_error or print_complex_max_error.
7158 (get_ulps): Do not handle complex tests specially.
7159 (output_test): Rename to ...
7160 (get_all_ulps_for_test): ... this. Return a string rather than
7161 printing to a file. Require ulps to be present.
7162 (output_ulps): Generate arrays rather than #defines.
7163 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7164 (struct ulp_data): New type.
7165 (BUILD_COMPLEX_ULP): Remove macro.
7166 (compare_ulp_data): New function.
7167 (find_ulps): Likewise.
7168 (find_test_ulps): Likewise.
7169 (find_function_ulps): Likewise.
7170 (find_complex_function_ulps): Likewise.
7171 (print_max_error): Determine allowed ulps using
7173 (print_complex_max_error): Determine allowed ulps using
7174 find_complex_function_ulps.
7175 (check_float_internal): Determine max ulps using find_test_ulps.
7176 (check_float): Do not take max_ulp parameter. Update call to
7177 check_float_internal.
7178 (check_complex): Likewise.
7179 (check_int): Do not take max_ulp parameter.
7180 (check_long): Likewise.
7181 (check_bool): Likewise.
7182 (check_longlong): Likewise.
7183 (struct test_f_f_data): Remove max_ulp field.
7184 (struct test_ff_f_data): Likewise.
7185 (struct test_ff_f_data_nexttoward): Likewise.
7186 (struct test_fi_f_data): Likewise.
7187 (struct test_fl_f_data): Likewise.
7188 (struct test_if_f_data): Likewise.
7189 (struct test_fff_f_data): Likewise.
7190 (struct test_c_f_data): Likewise.
7191 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7192 (struct test_fF_f1_data): Likewise.
7193 (struct test_ffI_f1_data): Likewise.
7194 (struct test_c_c_data): Remove max_ulp field.
7195 (struct test_cc_c_data): Likewise.
7196 (struct test_f_i_data): Likewise.
7197 (struct test_ff_i_data): Likewise.
7198 (struct test_f_l_data): Likewise.
7199 (struct test_f_L_data): Likewise.
7200 (struct test_sincos_data): Likewise.
7201 (RUN_TEST_f_f): Do not handle ulps.
7202 (RUN_TEST_LOOP_f_f): Likewise.
7203 (RUN_TEST_2_f): Likewise.
7204 (RUN_TEST_LOOP_2_f): Likewise.
7205 (RUN_TEST_fff_f): Likewise.
7206 (RUN_TEST_LOOP_fff_f): Likewise.
7207 (RUN_TEST_c_f): Likewise.
7208 (RUN_TEST_LOOP_c_f): Likewise.
7209 (RUN_TEST_f_f1): Likewise.
7210 (RUN_TEST_LOOP_f_f1): Likewise.
7211 (RUN_TEST_fF_f1): Likewise.
7212 (RUN_TEST_LOOP_fF_f1): Likewise.
7213 (RUN_TEST_fI_f1): Likewise.
7214 (RUN_TEST_LOOP_fI_f1): Likewise.
7215 (RUN_TEST_ffI_f1): Likewise.
7216 (RUN_TEST_LOOP_ffI_f1): Likewise.
7217 (RUN_TEST_c_c): Likewise.
7218 (RUN_TEST_LOOP_c_c): Likewise.
7219 (RUN_TEST_cc_c): Likewise.
7220 (RUN_TEST_LOOP_cc_c): Likewise.
7221 (RUN_TEST_f_i): Likewise.
7222 (RUN_TEST_LOOP_f_i): Likewise.
7223 (RUN_TEST_f_i_tg): Likewise.
7224 (RUN_TEST_LOOP_f_i_tg): Likewise.
7225 (RUN_TEST_ff_i_tg): Likewise.
7226 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7227 (RUN_TEST_f_b): Likewise.
7228 (RUN_TEST_LOOP_f_b): Likewise.
7229 (RUN_TEST_f_b_tg): Likewise.
7230 (RUN_TEST_LOOP_f_b_tg): Likewise.
7231 (RUN_TEST_f_l): Likewise.
7232 (RUN_TEST_LOOP_f_l): Likewise.
7233 (RUN_TEST_f_L): Likewise.
7234 (RUN_TEST_LOOP_f_L): Likewise.
7235 (RUN_TEST_sincos): Likewise.
7236 (RUN_TEST_LOOP_sincos): Likewise.
7238 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7242 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7243 main case of finite arguments, set rounding mode to FE_TONEAREST
7244 and discard exceptions.
7245 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7247 (remainder_tonearest_test_data): New variable.
7248 (remainder_test_tonearest): New function.
7249 (remainder_towardzero_test_data): New variable.
7250 (remainder_test_towardzero): New function.
7251 (remainder_downward_test_data): New variable.
7252 (remainder_test_downward): New function.
7253 (remainder_upward_test_data): New variable.
7254 (remainder_test_upward): New function.
7255 (main): Call the new test functions.
7257 * math/libm-test.inc (struct test_f_f1_data): Remove field
7259 (struct test_fF_f1_data): Likewise.
7260 (struct test_ffI_f1_data): Likewise.
7261 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7262 based on value of EXTRA_EXPECTED.
7263 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7264 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7265 EXTRA_VAR based on value of EXTRA_EXPECTED.
7266 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7267 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7268 EXTRA_VAR based on value of EXTRA_EXPECTED.
7269 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7270 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7271 EXTRA_VAR based on value of EXTRA_EXPECTED.
7272 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7273 * math/gen-libm-test.pl (parse_args): Don't output initializers
7274 for extra output values.
7276 * math/libm-test.inc (check_int): Expect result to be exactly
7277 equal to expected value and do not handle ulps.
7278 (check_long): Likewise.
7279 (check_longlong): Likewise.
7281 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7283 (cimag_test_data): Likewise.
7284 (conj_test_data): Likewise.
7285 (copysign_test_data): Likewise.
7286 (cproj_test_data): Likewise.
7287 (creal_test_data): Likewise.
7288 (fabs_test_data): Likewise.
7289 (fdim_test_data): Likewise.
7290 (finite_test_data): Likewise.
7291 (floor_test_data): Likewise.
7292 (fmax_test_data): Likewise.
7293 (fmin_test_data): Likewise.
7294 (fmod_test_data): Likewise.
7295 (fpclassify_test_data): Likewise.
7296 (frexp_test_data): Likewise.
7297 (ilogb_test_data): Likewise.
7298 (isfinite_test_data): Likewise.
7299 (isgreater_test_data): Likewise.
7300 (isgreaterequal_test_data): Likewise.
7301 (isinf_test_data): Likewise.
7302 (isless_test_data): Likewise.
7303 (islessequal_test_data): Likewise.
7304 (islessgreater_test_data): Likewise.
7305 (isnan_test_data): Likewise.
7306 (isnormal_test_data): Likewise.
7307 (issignaling_test_data): Likewise.
7308 (isunordered_test_data): Likewise.
7309 (ldexp_test_data): Likewise.
7310 (lrint_test_data): Likewise.
7311 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7312 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7313 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7314 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7315 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7316 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7318 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7319 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7320 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7321 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7323 (lrint_downward_test_data): Test for "inexact" exceptions.
7324 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7325 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7326 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7328 (lrint_upward_test_data): Test for "inexact" exceptions.
7329 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7331 (llrint_test_data): Test for "inexact" exceptions.
7332 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7333 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7334 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7335 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7336 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7337 (llrint_downward_test_data): Test for "inexact" exceptions.
7338 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7339 (llrint_upward_test_data): Test for "inexact" exceptions.
7340 (logb_test_data): Likewise.
7341 (logb_downward_test_data): Likewise.
7342 (nextafter_test_data): Likewise.
7343 (nexttoward_test_data): Likewise.
7344 (remainder_test_data): Likewise.
7345 (remquo_test_data): Likewise.
7346 (scalbn_test_data): Likewise.
7347 (scalbln_test_data): Likewise.
7348 (signbit_test_data): Likewise.
7349 (sqrt_test_data): Likewise.
7350 (significand_test_data): Likewise.
7352 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7355 * benchtests/bench-modf.c (struct args): Mark arg0 as
7357 * scripts/bench.pl: Mark members of struct args as volatile.
7359 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7362 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7363 negative infinity on POWER6 or lower.
7364 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7366 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7369 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7370 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7371 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7372 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7373 (_FP_SETQNAN): New macro.
7374 (_FP_SETQNAN_SEMIRAW): Likewise.
7375 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7376 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7377 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7378 (FP_EXTEND): Use _FP_FRAC_SNANP.
7379 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7380 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7382 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7384 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7387 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7389 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7390 with DIVIDE_BY_ZERO_EXCEPTION.
7391 (gamma_test_data): Likewise.
7392 (lgamma_test_data): Likewise.
7393 (log_test_data): Likewise.
7394 (log10_test_data): Likewise.
7395 (log2_test_data): Likewise.
7396 (tgamma_test_data): Likewise.
7398 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7399 (acos_test_tonearest): Likewise.
7400 (acos_test_towardzero): Likewise.
7401 (acos_test_downward): Likewise.
7402 (acos_test_upward): Likewise.
7403 (acosh_test): Likewise.
7404 (asin_test): Likewise.
7405 (asin_test_tonearest): Likewise.
7406 (asin_test_towardzero): Likewise.
7407 (asin_test_downward): Likewise.
7408 (asin_test_upward): Likewise.
7409 (asinh_test): Likewise.
7410 (atan_test): Likewise.
7411 (atanh_test): Likewise.
7412 (atan2_test): Likewise.
7413 (cabs_test): Likewise.
7414 (cacos_test): Likewise.
7415 (cacosh_test): Likewise.
7416 (casin_test): Likewise.
7417 (casinh_test): Likewise.
7418 (catan_test): Likewise.
7419 (catanh_test): Likewise.
7420 (cbrt_test): Likewise.
7421 (ccos_test): Likewise.
7422 (ccosh_test): Likewise.
7423 (cexp_test): Likewise.
7424 (clog_test): Likewise.
7425 (clog10_test): Likewise.
7426 (cos_test): Likewise.
7427 (cos_test_tonearest): Likewise.
7428 (cos_test_towardzero): Likewise.
7429 (cos_test_downward): Likewise.
7430 (cos_test_upward): Likewise.
7431 (cosh_test): Likewise.
7432 (cosh_test_tonearest): Likewise.
7433 (cosh_test_towardzero): Likewise.
7434 (cosh_test_downward): Likewise.
7435 (cosh_test_upward): Likewise.
7436 (cpow_test): Likewise.
7437 (csin_test): Likewise.
7438 (csinh_test): Likewise.
7439 (csqrt_test): Likewise.
7440 (ctan_test): Likewise.
7441 (ctan_test_tonearest): Likewise.
7442 (ctan_test_towardzero): Likewise.
7443 (ctan_test_downward): Likewise.
7444 (ctan_test_upward): Likewise.
7445 (ctanh_test): Likewise.
7446 (ctanh_test_tonearest): Likewise.
7447 (ctanh_test_towardzero): Likewise.
7448 (ctanh_test_downward): Likewise.
7449 (ctanh_test_upward): Likewise.
7450 (erf_test): Likewise.
7451 (erfc_test): Likewise.
7452 (exp_test): Likewise.
7453 (exp_test_tonearest): Likewise.
7454 (exp_test_towardzero): Likewise.
7455 (exp_test_downward): Likewise.
7456 (exp_test_upward): Likewise.
7457 (exp10_test): Likewise.
7458 (exp2_test): Likewise.
7459 (expm1_test): Likewise.
7460 (fmod_test): Likewise.
7461 (gamma_test): Likewise.
7462 (hypot_test): Likewise.
7463 (j0_test): Likewise.
7464 (j1_test): Likewise.
7465 (jn_test): Likewise.
7466 (lgamma_test): Likewise.
7467 (log_test): Likewise.
7468 (log10_test): Likewise.
7469 (log1p_test): Likewise.
7470 (log2_test): Likewise.
7471 (logb_test_downward): Likewise.
7472 (pow_test): Likewise.
7473 (pow_test_tonearest): Likewise.
7474 (pow_test_towardzero): Likewise.
7475 (pow_test_downward): Likewise.
7476 (pow_test_upward): Likewise.
7477 (remainder_test): Likewise.
7478 (remquo_test): Likewise.
7479 (sin_test): Likewise.
7480 (sin_test_tonearest): Likewise.
7481 (sin_test_towardzero): Likewise.
7482 (sin_test_downward): Likewise.
7483 (sin_test_upward): Likewise.
7484 (sincos_test): Likewise.
7485 (sinh_test): Likewise.
7486 (sinh_test_tonearest): Likewise.
7487 (sinh_test_towardzero): Likewise.
7488 (sinh_test_downward): Likewise.
7489 (sinh_test_upward): Likewise.
7490 (sqrt_test): Likewise.
7491 (tan_test): Likewise.
7492 (tan_test_tonearest): Likewise.
7493 (tan_test_towardzero): Likewise.
7494 (tan_test_downward): Likewise.
7495 (tan_test_upward): Likewise.
7496 (tanh_test): Likewise.
7497 (tgamma_test): Likewise.
7498 (y0_test): Likewise.
7499 (y1_test): Likewise.
7500 (yn_test): Likewise.
7502 * math/gen-libm-test.pl (adjust_arg): Remove function.
7503 (special_function): Remove argument $in_func. Only handle
7504 generating output for tables of tests, not inside functions.
7505 (parse_args): Likewise.
7506 (generate_testfile): Remove variable $in_func. Update call to
7508 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7509 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7510 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7511 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7512 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7513 (MAX_VALUE_INIT): Rename macro to max_value.
7514 (MIN_VALUE_INIT): Rename macro to min_value.
7515 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7516 (plus_zero): Remove variable.
7517 (minus_zero): Likewise.
7518 (plus_infty): Likewise.
7519 (minus_infty): Likewise.
7520 (qnan_value): Likewise.
7521 (max_value): Likewise.
7522 (min_value): Likewise.
7523 (min_subnorm_value): Likewise.
7525 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7527 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7528 uint64_t or uint32_t usage.
7529 * crypt/sha256-block.c: Likewise.
7530 * crypt/sha256-crypt.c: Likewise.
7531 * crypt/sha256.c: Likewise.
7532 * crypt/sha512-block.c: Likewise.
7533 * crypt/sha512-crypt.c: Likewise.
7534 * crypt/sha512.c: Likewise.
7535 * debug/backtrace-tst.c: Likewise.
7536 * debug/pcprofiledump.c: Likewise.
7537 * elf/cache.c: Likewise.
7538 * elf/dl-cache.c: Likewise.
7539 * elf/dl-misc.c: Likewise.
7540 * elf/dl-profile.c: Likewise.
7541 * elf/dl-support.c: Likewise.
7542 * elf/ldconfig.c: Likewise.
7543 * elf/sprof.c: Likewise.
7544 * iconv/dummy-repertoire.c: Likewise.
7545 * iconv/iconv_charmap.c: Likewise.
7546 * iconv/skeleton.c: Likewise.
7547 * iconvdata/8bit-generic.c: Likewise.
7548 * iconvdata/cp737.h: Likewise.
7549 * iconvdata/cp775.h: Likewise.
7550 * iconvdata/ibm1008.h: Likewise.
7551 * iconvdata/ibm1025.h: Likewise.
7552 * iconvdata/ibm1046.h: Likewise.
7553 * iconvdata/ibm1097.h: Likewise.
7554 * iconvdata/ibm1112.h: Likewise.
7555 * iconvdata/ibm1122.h: Likewise.
7556 * iconvdata/ibm1123.h: Likewise.
7557 * iconvdata/ibm1124.h: Likewise.
7558 * iconvdata/ibm1129.h: Likewise.
7559 * iconvdata/ibm1130.h: Likewise.
7560 * iconvdata/ibm1132.h: Likewise.
7561 * iconvdata/ibm1133.h: Likewise.
7562 * iconvdata/ibm1137.h: Likewise.
7563 * iconvdata/ibm1140.h: Likewise.
7564 * iconvdata/ibm1141.h: Likewise.
7565 * iconvdata/ibm1142.h: Likewise.
7566 * iconvdata/ibm1143.h: Likewise.
7567 * iconvdata/ibm1144.h: Likewise.
7568 * iconvdata/ibm1145.h: Likewise.
7569 * iconvdata/ibm1146.h: Likewise.
7570 * iconvdata/ibm1147.h: Likewise.
7571 * iconvdata/ibm1148.h: Likewise.
7572 * iconvdata/ibm1149.h: Likewise.
7573 * iconvdata/ibm1153.h: Likewise.
7574 * iconvdata/ibm1154.h: Likewise.
7575 * iconvdata/ibm1155.h: Likewise.
7576 * iconvdata/ibm1156.h: Likewise.
7577 * iconvdata/ibm1157.h: Likewise.
7578 * iconvdata/ibm1158.h: Likewise.
7579 * iconvdata/ibm1160.h: Likewise.
7580 * iconvdata/ibm1161.h: Likewise.
7581 * iconvdata/ibm1162.h: Likewise.
7582 * iconvdata/ibm1163.h: Likewise.
7583 * iconvdata/ibm1164.h: Likewise.
7584 * iconvdata/ibm1166.h: Likewise.
7585 * iconvdata/ibm1167.h: Likewise.
7586 * iconvdata/ibm12712.h: Likewise.
7587 * iconvdata/ibm1390.h: Likewise.
7588 * iconvdata/ibm1399.h: Likewise.
7589 * iconvdata/ibm16804.h: Likewise.
7590 * iconvdata/ibm4517.h: Likewise.
7591 * iconvdata/ibm4899.h: Likewise.
7592 * iconvdata/ibm4909.h: Likewise.
7593 * iconvdata/ibm4971.h: Likewise.
7594 * iconvdata/ibm5347.h: Likewise.
7595 * iconvdata/ibm803.h: Likewise.
7596 * iconvdata/ibm856.h: Likewise.
7597 * iconvdata/ibm901.h: Likewise.
7598 * iconvdata/ibm902.h: Likewise.
7599 * iconvdata/ibm9030.h: Likewise.
7600 * iconvdata/ibm9066.h: Likewise.
7601 * iconvdata/ibm921.h: Likewise.
7602 * iconvdata/ibm922.h: Likewise.
7603 * iconvdata/ibm9448.h: Likewise.
7604 * iconvdata/isiri-3342.h: Likewise.
7605 * iconvdata/jis0201.h: Likewise.
7606 * include/link.h: Likewise.
7607 * include/netdb.h: Likewise.
7608 * inet/check_native.c: Likewise.
7609 * inet/check_pf.c: Likewise.
7610 * inet/getipv4sourcefilter.c: Likewise.
7611 * inet/getnameinfo.c: Likewise.
7612 * inet/getsourcefilter.c: Likewise.
7613 * inet/htonl.c: Likewise.
7614 * inet/setipv4sourcefilter.c: Likewise.
7615 * inet/setsourcefilter.c: Likewise.
7616 * inet/test-inet6_opt.c: Likewise.
7617 * inet/tst-network.c: Likewise.
7618 * locale/C-collate.c: Likewise.
7619 * locale/C-ctype.c: Likewise.
7620 * locale/C-time.c: Likewise.
7621 * locale/C-translit.h: Likewise.
7622 * locale/loadarchive.c: Likewise.
7623 * locale/programs/3level.h: Likewise.
7624 * locale/programs/charmap.c: Likewise.
7625 * locale/programs/charmap.h: Likewise.
7626 * locale/programs/ld-address.c: Likewise.
7627 * locale/programs/ld-collate.c: Likewise.
7628 * locale/programs/ld-ctype.c: Likewise.
7629 * locale/programs/ld-identification.c: Likewise.
7630 * locale/programs/ld-measurement.c: Likewise.
7631 * locale/programs/ld-messages.c: Likewise.
7632 * locale/programs/ld-monetary.c: Likewise.
7633 * locale/programs/ld-name.c: Likewise.
7634 * locale/programs/ld-numeric.c: Likewise.
7635 * locale/programs/ld-paper.c: Likewise.
7636 * locale/programs/ld-telephone.c: Likewise.
7637 * locale/programs/ld-time.c: Likewise.
7638 * locale/programs/linereader.c: Likewise.
7639 * locale/programs/locale.c: Likewise.
7640 * locale/programs/locarchive.c: Likewise.
7641 * locale/programs/locfile.h: Likewise.
7642 * locale/programs/repertoire.c: Likewise.
7643 * locale/programs/simple-hash.c: Likewise.
7644 * locale/programs/simple-hash.h: Likewise.
7645 * malloc/memusage.c: Likewise.
7646 * malloc/memusagestat.c: Likewise.
7647 * nis/nis_defaults.c: Likewise.
7648 * nis/nis_hash.c: Likewise.
7649 * nis/nis_print.c: Likewise.
7650 * nis/nis_xdr.c: Likewise.
7651 * nscd/connections.c: Likewise.
7652 * nscd/hstcache.c: Likewise.
7653 * nscd/nscd_gethst_r.c: Likewise.
7654 * nscd/nscd_getserv_r.c: Likewise.
7655 * nscd/nscd_helper.c: Likewise.
7656 * nscd/servicescache.c: Likewise.
7657 * nss/makedb.c: Likewise.
7658 * nss/nss_db/db-XXX.c: Likewise.
7659 * nss/nss_db/db-initgroups.c: Likewise.
7660 * nss/nss_db/db-netgrp.c: Likewise.
7661 * nss/nss_files/files-network.c: Likewise.
7662 * nss/nss_files/files-parse.c: Likewise.
7663 * posix/bug-regex5.c: Likewise.
7664 * posix/fnmatch_loop.c: Likewise.
7665 * posix/regcomp.c: Likewise.
7666 * posix/regexec.c: Likewise.
7667 * posix/tst-rfc3484-2.c: Likewise.
7668 * posix/tst-rfc3484-3.c: Likewise.
7669 * posix/tst-rfc3484.c: Likewise.
7670 * resolv/nss_dns/dns-canon.c: Likewise.
7671 * resolv/nss_dns/dns-network.c: Likewise.
7672 * resolv/res_init.c: Likewise.
7673 * resolv/res_mkquery.c: Likewise.
7674 * resolv/tst-aton.c: Likewise.
7675 * stdlib/cxa_atexit.c: Likewise.
7676 * stdlib/cxa_finalize.c: Likewise.
7677 * stdlib/gen-fpioconst.c: Likewise.
7678 * stdlib/strtol_l.c: Likewise.
7679 * string/tst-endian.c: Likewise.
7680 * sunrpc/auth_des.c: Likewise.
7681 * sunrpc/clnt_udp.c: Likewise.
7682 * sunrpc/rtime.c: Likewise.
7683 * sunrpc/svcauth_des.c: Likewise.
7684 * sunrpc/xdr.c: Likewise.
7685 * sunrpc/xdr_intXX_t.c: Likewise.
7686 * sunrpc/xdr_rec.c: Likewise.
7687 * sysdeps/generic/ldconfig.h: Likewise.
7688 * sysdeps/generic/ldsodefs.h: Likewise.
7689 * sysdeps/generic/memusage.h: Likewise.
7690 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7693 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7700 * sysdeps/posix/getaddrinfo.c: Likewise.
7701 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7702 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7703 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7704 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7705 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7706 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7707 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7708 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7709 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7710 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7711 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7712 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7713 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7714 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7715 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7716 * sysdeps/x86_64/dl-tls.h: Likewise.
7717 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7718 * time/alt_digit.c: Likewise.
7719 * time/era.c: Likewise.
7720 * wcsmbs/tst-c16c32-1.c: Likewise.
7722 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7724 * math/libm-test.inc (struct test_sincos_data): New type.
7725 (RUN_TEST_LOOP_sincos): New macro.
7726 (sincos_test_data): New variable.
7727 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7729 2013-05-16 Richard Henderson <rth@redhat.com>
7731 * math/atest-exp2.c (LIMB64): New macro.
7732 (CONSTSZ): New macro.
7733 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7735 (print_mpn_fp): ... to function scope.
7736 (read_mpn_hex): Remove.
7738 (exp2_mpn): Use mp_log2.
7739 (main): Use mp_exp1.
7741 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7743 * math/libm-test.inc: Remove comment about not testing "inexact"
7745 (INEXACT_EXCEPTION): New macro.
7746 (NO_INEXACT_EXCEPTION): Likewise.
7747 (INVALID_EXCEPTION_OK): Update value.
7748 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7749 (OVERFLOW_EXCEPTION_OK): Likewise.
7750 (UNDERFLOW_EXCEPTION_OK): Likewise.
7751 (IGNORE_ZERO_INF_SIGN): Likewise.
7752 (ERRNO_UNCHANGED): Likewise.
7753 (ERRNO_EDOM): Likewise.
7754 (ERRNO_ERANGE): Likewise.
7755 (test_exceptions): Handle testing "inexact" exceptions.
7756 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7757 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7758 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7759 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7761 (rint_towardzero_test_data): Likewise.
7762 (rint_downward_test_data): Likewise.
7763 (rint_upward_test_data): Likewise.
7765 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7766 with OVERFLOW_EXCEPTION.
7767 (exp10_test_data): Likewise.
7768 (exp2_test_data): Likewise.
7769 (expm1_test_data): Likewise.
7770 (lgamma_test_data): Likewise.
7771 (pow_test_data): Likewise.
7772 (tgamma_test_data): Likewise.
7773 (yn_test_data): Remove duplicate test of overflow.
7775 * math/libm-test.inc (struct test_cc_c_data): New type.
7776 (RUN_TEST_LOOP_cc_c): New macro.
7777 (cpow_test_data): New variable.
7778 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7780 * math/libm-test.inc (struct test_f_L_data): New type.
7781 (RUN_TEST_LOOP_f_L): New macro.
7782 (llrint_test_data): New variable.
7783 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7784 (llrint_tonearest_test_data): New variable.
7785 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7786 (llrint_towardzero_test_data): New variable.
7787 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7788 (llrint_downward_test_data): New variable.
7789 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7790 (llrint_upward_test_data): New variable.
7791 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7792 (llround_test_data): New variable.
7793 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7795 2013-05-13 Peter Collingbourne <pcc@google.com>
7797 * math/atest-exp2.c (get_log2): Remove const attribute.
7799 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7801 * math/libm-test.inc (struct test_f_l_data): New type.
7802 (RUN_TEST_LOOP_f_l): New macro.
7803 (lrint_test_data): New variable.
7804 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7805 (lrint_tonearest_test_data): New variable.
7806 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7807 (lrint_towardzero_test_data): New variable.
7808 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7809 (lrint_downward_test_data): New variable.
7810 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7811 (lrint_upward_test_data): New variable.
7812 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7813 (lround_test_data): New variable.
7814 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7816 2013-05-15 Peter Collingbourne <pcc@google.com>
7818 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7819 (EXTRACT_WORDS64) Use where appropriate.
7820 (INSERT_WORDS64) Likewise.
7822 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7823 constraints with x constraints.
7824 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7826 * malloc/obstack.c (_obstack_compat): Add initializer.
7828 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7830 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7831 si_trapno and add si_addr_lsb to _sifields.sigfault.
7832 (si_trapno): Remove macro.
7833 (si_addr_lsb): Define new macro.
7834 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7836 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7838 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7839 instead of TEST_f_l.
7840 (llrint_test_tonearest): Likewise.
7841 (llrint_test_towardzero): Likewise.
7842 (llrint_test_downward): Likewise.
7843 (llrint_test_upward): Likewise.
7844 (llround_test): Likewise.
7846 * math/libm-test.inc (struct test_f_i_data): Add comment.
7847 (RUN_TEST_LOOP_f_b): New macro.
7848 (RUN_TEST_LOOP_f_b_tg): Likewise.
7849 (finite_test_data): New variable.
7850 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7851 (isfinite_test_data): New variable.
7852 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7853 (isinf_test_data): New variable.
7854 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7855 (isnan_test_data): New variable.
7856 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7857 (isnormal_test_data): New variable.
7858 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7859 (issignaling_test_data): New variable.
7860 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7861 (signbit_test_data): New variable.
7862 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7864 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7865 with INVALID_EXCEPTION.
7866 (acosh_test_data): Likewise.
7867 (asin_test_data): Likewise.
7868 (atanh_test_data): Likewise.
7869 (fmod_test_data): Likewise.
7870 (log_test_data): Likewise.
7871 (log10_test_data): Likewise.
7872 (log2_test_data): Likewise.
7873 (pow_test_data): Likewise.
7874 (sqrt_test_data): Likewise.
7875 (y0_test_data): Likewise.
7876 (y1_test_data): Likewise.
7877 (yn_test_data): Likewise.
7879 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7882 * math/libm-test.inc (struct test_ff_i_data): New type.
7883 (RUN_TEST_LOOP_ff_i_tg): New macro.
7884 (isgreater_test_data): New variable.
7885 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7886 (isgreaterequal_test_data): New variable.
7887 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7888 (isless_test_data): New variable.
7889 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7890 (islessequal_test_data): New variable.
7891 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7892 (islessgreater_test_data): New variable.
7893 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7894 (isunordered_test_data): New variable.
7895 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7897 2013-05-14 David S. Miller <davem@davemloft.net>
7899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7901 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7903 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7905 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7907 (struct test_f_i_data): Change type of max_ulp to int.
7909 * math/libm-test.inc (test_ffI_f1_data): New type.
7910 (RUN_TEST_LOOP_ffI_f1): New macro.
7911 (remquo_test_data): New variable.
7912 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7914 * setjmp/tst-setjmp-fp.c: New file.
7915 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7916 (link-libm): New variable.
7917 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7919 * math/libm-test.inc (struct test_f_i_data): New type.
7920 (RUN_TEST_LOOP_f_i): New macro.
7921 (RUN_TEST_LOOP_f_i_tg): Likewise.
7922 (fpclassify_test_data): New variable.
7923 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7924 (ilogb_test_data): New variable.
7925 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7927 * math/libm-test.inc (scalbln_test): Correct function name in END
7930 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7931 (RUN_TEST_LOOP_fI_f1): New macro.
7932 (frexp_test_data): New variable.
7933 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7935 * math/libm-test.inc (struct test_fF_f1_data): New type.
7936 (RUN_TEST_LOOP_fF_f1): New macro.
7937 (modf_test_data): New variable.
7938 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7940 * math/libm-test.inc (struct test_f_f1_data): New type.
7941 (RUN_TEST_LOOP_f_f1): New macro.
7942 (gamma_test_data): New variable.
7943 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7944 (lgamma_test_data): New variable.
7945 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7947 2013-05-13 Carlos O'Donell <carlos@redhat.com>
7949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7950 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7951 (main): Comment "tls" pseudo-hwcap.
7953 2013-05-13 Joseph Myers <joseph@codesourcery.com>
7955 * math/libm-test.inc (struct test_fl_f_data): New type.
7956 (RUN_TEST_LOOP_fl_f): New variable.
7957 (scalbln_test_data): New variable.
7958 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7960 * math/libm-test.inc (struct test_fi_f_data): New type.
7961 (RUN_TEST_LOOP_fi_f): New macro.
7962 (ldexp_test_data): New variable.
7963 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7964 (scalbn_test_data): New variable.
7965 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7967 * math/libm-test.inc (struct test_c_f_data): New type.
7968 (RUN_TEST_LOOP_c_f): New macro.
7969 (cabs_test_data): New variable.
7970 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7971 (carg_test_data): New variable.
7972 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7973 (cimag_test_data): New variable.
7974 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7975 (creal_test_data): New variable.
7976 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7978 * math/libm-test.inc (struct test_if_f_data): New type.
7979 (RUN_TEST_LOOP_if_f): New macro.
7980 (jn_test_data): New variable.
7981 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7982 (yn_test_data): New variable.
7983 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7985 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7987 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7989 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7990 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7992 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7994 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7995 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7996 (bench-deps): Add bench-timing.h.
7997 * benchtests-bench-skeleton.c: Include bench-timing.h.
7998 (main): Use TIMING_* macros instead of clock_gettime.
7999 * benchtests/bench-timing.h: New file.
8002 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8003 Renamed from _LIB_VERSION.
8004 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8006 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8008 * math/libm-test.inc (struct test_fff_f_data): New type.
8009 (RUN_TEST_LOOP_fff_f): New macro.
8010 (fma_test_data): New variable.
8011 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8012 (fma_towardzero_test_data): New variable.
8013 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8014 (fma_downward_test_data): New variable.
8015 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8016 (fma_upward_test_data): New variable.
8017 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8019 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8020 (struct test_c_c_data): New type.
8021 (RUN_TEST_LOOP_c_c): New macro.
8022 (cacos_test_data): New variable.
8023 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8024 (cacosh_test_data): New variable.
8025 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8026 (casin_test_data): New variable.
8027 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8028 (casinh_test_data): New variable.
8029 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8030 (catan_test_data): New variable.
8031 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8032 (catanh_test_data): New variable.
8033 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8034 (ccos_test_data): New variable.
8035 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8036 (ccosh_test_data): New variable.
8037 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8038 (cexp_test_data): New variable.
8039 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8040 (clog_test_data): New variable.
8041 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8042 (clog10_test_data): New variable.
8043 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8044 (conj_test_data): New variable.
8045 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8046 (cproj_test_data): New variable.
8047 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8048 (csin_test_data): New variable.
8049 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8050 (csinh_test_data): New variable.
8051 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8052 (csqrt_test_data): New variable.
8053 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8054 (ctan_test_data): New variable.
8055 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8056 (ctan_tonearest_test_data): New variable.
8057 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8058 (ctan_towardzero_test_data): New variable.
8059 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8060 (ctan_downward_test_data): New variable.
8061 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8062 (ctan_upward_test_data): New variable.
8063 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8064 (ctanh_test_data): New variable.
8065 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8066 (ctanh_tonearest_test_data): New variable.
8067 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8068 (ctanh_towardzero_test_data): New variable.
8069 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8070 (ctanh_downward_test_data): New variable.
8071 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8072 (ctanh_upward_test_data): New variable.
8073 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8074 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8077 * math/libm-test.inc (struct test_ff_f_data): New type.
8078 (struct test_ff_f_data_nexttoward): Likewise.
8079 (RUN_TEST_LOOP_2_f): New macro.
8080 (RUN_TEST_LOOP_ff_f): Likewise.
8081 (atan2_test_data): New variable.
8082 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8083 (copysign_test_data): New variable.
8084 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8085 (fdim_test_data): New variable.
8086 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8087 (fmax_test_data): New variable.
8088 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8089 (fmin_test_data): New variable.
8090 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8091 (fmod_test_data): New variable.
8092 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8093 (hypot_test_data): New variable.
8094 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8095 (nextafter_test_data): New variable.
8096 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8097 (nexttoward_test_data): New variable.
8098 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8099 (pow_test_data): New variable.
8100 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8101 (pow_tonearest_test_data): New variable.
8102 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8103 (pow_towardzero_test_data): New variable.
8104 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8105 (pow_downward_test_data): New variable.
8106 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8107 (pow_upward_test_data): New variable.
8108 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8109 (remainder_test_data): New variable.
8110 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8111 (scalb_test_data): New variable.
8112 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8113 * sysdeps/i386/fpu/libm-test-ulps: Update.
8115 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8117 * math/libm-test.inc (fma_test): Use max_value instead of local
8119 (nextafter_test): Likewise.
8121 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8122 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8123 (acos_downward_test_data): New variable.
8124 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8125 (acos_upward_test_data): New variable.
8126 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8127 (acosh_test_data): New variable.
8128 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8129 (asin_test_data): New variable.
8130 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8131 (asin_tonearest_test_data): New variable.
8132 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8133 (asin_towardzero_test_data): New variable.
8134 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8135 (asin_downward_test_data): New variable.
8136 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8137 (asin_upward_test_data): New variable.
8138 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8139 (asinh_test_data): New variable.
8140 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8141 (atan_test_data): New variable.
8142 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8143 (atanh_test_data): New variable.
8144 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8145 (cbrt_test_data): New variable.
8146 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8147 (ceil_test_data): New variable.
8148 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8149 (cos_test_data): New variable.
8150 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8151 (cos_tonearest_test_data): New variable.
8152 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8153 (cos_towardzero_test_data): New variable.
8154 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8155 (cos_downward_test_data): New variable.
8156 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8157 (cos_upward_test_data): New variable.
8158 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8159 (cosh_test_data): New variable.
8160 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8161 (cosh_tonearest_test_data): New variable.
8162 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8163 (cosh_towardzero_test_data): New variable.
8164 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8165 (cosh_downward_test_data): New variable.
8166 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8167 (cosh_upward_test_data): New variable.
8168 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8169 (erf_test_data): New variable.
8170 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8171 (erfc_test_data): New variable.
8172 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8173 (exp_test_data): New variable.
8174 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8175 (exp_tonearest_test_data): New variable.
8176 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8177 (exp_towardzero_test_data): New variable.
8178 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8179 (exp_downward_test_data): New variable.
8180 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8181 (exp_upward_test_data): New variable.
8182 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8183 (exp10_test_data): New variable.
8184 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8185 (exp2_test_data): New variable.
8186 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8187 (expm1_test_data): New variable.
8188 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8189 (fabs_test_data): New variable.
8190 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8191 (floor_test_data): New variable.
8192 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8193 (j0_test_data): New variable.
8194 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8195 (j1_test_data): New variable.
8196 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8197 (log_test_data): New variable.
8198 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8199 (log10_test_data): New variable.
8200 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8201 (log1p_test_data): New variable.
8202 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8203 (log2_test_data): New variable.
8204 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8205 (logb_test_data): New variable.
8206 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8207 (logb_downward_test_data): New variable.
8208 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8209 (nearbyint_test_data): New variable.
8210 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8211 (rint_test_data): New variable.
8212 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8213 (rint_tonearest_test_data): New variable.
8214 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8215 (rint_towardzero_test_data): New variable.
8216 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8217 (rint_downward_test_data): New variable.
8218 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8219 (rint_upward_test_data): New variable.
8220 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8221 (round_test_data): New variable.
8222 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8223 (sin_test_data): New variable.
8224 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8225 (sin_tonearest_test_data): New variable.
8226 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8227 (sin_towardzero_test_data): New variable.
8228 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8229 (sin_downward_test_data): New variable.
8230 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8231 (sin_upward_test_data): New variable.
8232 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8233 (sinh_test_data): New variable.
8234 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8235 (sinh_tonearest_test_data): New variable.
8236 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8237 (sinh_towardzero_test_data): New variable.
8238 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8239 (sinh_downward_test_data): New variable.
8240 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8241 (sinh_upward_test_data): New variable.
8242 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8243 (sqrt_test_data): New variable.
8244 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8245 (tan_test_data): New variable.
8246 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8247 (tan_tonearest_test_data): New variable.
8248 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8249 (tan_towardzero_test_data): New variable.
8250 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8251 (tan_downward_test_data): New variable.
8252 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8253 (tan_upward_test_data): New variable.
8254 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8255 (tanh_test_data): New variable.
8256 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8257 (tgamma_test_data): New variable.
8258 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8259 (trunc_test_data): New variable.
8260 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8261 (y0_test_data): New variable.
8262 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8263 (y1_test_data): New variable.
8264 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8265 (significand_test_data): New variable.
8266 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8268 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8271 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8273 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8275 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8277 2013-05-10 Andreas Jaeger <aj@suse.de>
8280 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8281 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8283 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8285 * math/gen-libm-test.pl (adjust_arg): New function.
8286 (special_functions): Handle generating output in both functions
8288 (parse_args): Likewise.
8289 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8290 $in_func argument to parse_args.
8291 * math/libm-test.inc (struct test_f_f_data): New type.
8292 (IF_ROUND_INIT_): New macro.
8293 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8294 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8295 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8296 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8297 (ROUND_RESTORE_): Likewise.
8298 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8299 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8300 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8301 (ROUND_RESTORE_FE_UPWARD): Likewise.
8302 (RUN_TEST_LOOP_f_f): New macro.
8303 (acos_test_data): New variable.
8304 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8305 (acos_tonearest_test_data): New variable.
8306 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8308 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8310 * benchtests/bench-skeleton.c (startup): Fix coding style.
8312 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8315 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8316 negative infinity argument.
8317 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8318 negative infinity argument.
8319 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8320 negative infinity argument.
8321 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8324 2013-05-10 Florian Weimer <fweimer@redhat.com>
8326 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8327 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8328 * iconv/iconv_prog.c (main): Likewise.
8329 * locale/programs/charmap-dir.c (charmap_readdir)
8330 (fopen_uncompressed): Likewise.
8331 * locale/programs/locfile.c (siblings_uncached)
8332 (write_locale_data): Use lstat64 instead of lstat.
8333 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8336 2013-05-10 Andreas Jaeger <aj@suse.de>
8339 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8343 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8345 * elf/dl-close.c (_dl_close_worker): Add comments.
8347 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8352 (__ieee754_rem_pio2l): Update comments.
8355 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8357 (__ieee754_rem_pio2l): Update comments.
8359 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8360 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8362 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8365 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8366 (M_PI_34_LOG10El): Likewise.
8367 (M_PI2_LOG10El): Likewise.
8368 (M_PI4_LOG10El): Likewise.
8369 (M_PI_LOG10El): Likewise.
8371 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8375 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8377 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8378 (MINUS_ZERO_INIT): Likewise.
8379 (PLUS_INFTY_INIT): Likewise.
8380 (MINUS_INFTY_INIT): Likewise.
8381 (QNAN_VALUE_INIT): Likewise.
8382 (MAX_VALUE_INIT): Likewise.
8383 (MIN_VALUE_INIT): Likewise.
8384 (MIN_SUBNORM_VALUE_INIT): Likewise.
8385 (plus_zero): Initialize with PLUS_ZERO_INIT.
8386 (minus_zero): Initialize with MINUS_ZERO_INIT.
8387 (plus_infty): Initialize with PLUS_INFTY_INIT.
8388 (minus_infty): Initialize with MINUS_INFTY_INIT.
8389 (qnan_value): Initialize with QNAN_VALUE_INIT.
8390 (max_value): Initialize with MAX_VALUE_INIT.
8391 (min_value): Initialize with MIN_VALUE_INIT.
8392 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8394 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8395 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8396 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8397 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8399 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8400 (RUN_TEST_2_f): Likewise.
8401 (RUN_TEST_ff_f): Likewise.
8402 (RUN_TEST_fi_f): Likewise.
8403 (RUN_TEST_fl_f): Likewise.
8404 (RUN_TEST_fff_f): Likewise.
8405 (RUN_TEST_c_f): Likewise.
8406 (RUN_TEST_f_f1): Likewise.
8407 (RUN_TEST_fF_f1): Likewise.
8408 (RUN_TEST_fI_f1): Likewise.
8409 (RUN_TEST_ffI_f1): Likewise.
8410 (RUN_TEST_c_c): Likewise.
8411 (RUN_TEST_cc_c): Likewise.
8412 (RUN_TEST_f_i): Likewise.
8413 (RUN_TEST_f_i_tg): Likewise.
8414 (RUN_TEST_ff_i_tg): Likewise.
8415 (RUN_TEST_f_b): Likewise.
8416 (RUN_TEST_f_b_tg): Likewise.
8417 (RUN_TEST_f_l): Likewise.
8418 (RUN_TEST_f_L): Likewise.
8419 (RUN_TEST_sincos): Likewise.
8420 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8421 whether to show exceptions. Do not include ");\n" in return
8423 (special_functions): Output call to RUN_TEST_sincos instead of
8424 check_float calls. Update calls to new_test.
8425 (parse_args): Output call to single RUN_TEST_* macro instead of
8426 check_* calls and other assignments. Update calls to new_test.
8432 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8433 input to result for tgamma overflow.
8434 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8435 (gamma_coeff): New variable.
8436 (NCOEFF): New macro.
8437 (gamma_positive): New function.
8438 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8439 underflow here. Use gamma_positive instead of exp (lgamma) for
8441 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8442 (gamma_coeff): New variable.
8443 (NCOEFF): New macro.
8444 (gammaf_positive): New function.
8445 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8446 underflow here. Use gamma_positive instead of exp (lgamma) for
8448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8449 (gamma_coeff): New variable.
8450 (NCOEFF): New macro.
8451 (gammal_positive): New function.
8452 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8453 underflow here. Use gamma_positive instead of exp (lgamma) for
8455 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8456 (gamma_coeff): New variable.
8457 (NCOEFF): New macro.
8458 (gammal_positive): New function.
8459 (__ieee754_gammal_r): Handle positive infinity, overflow and
8460 underflow here. Handle NaN the same as positive infinity. Remove
8461 check x < 0xffffffff for negative integers. Use gamma_positive
8462 instead of exp (lgamma) for other arguments.
8463 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8464 (gamma_coeff): New variable.
8465 (NCOEFF): New macro.
8466 (gammal_positive): New function.
8467 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8468 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8469 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8472 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8473 * sysdeps/generic/math_private.h (__gamma_productf): New
8475 (__gamma_product): Likewise.
8476 (__gamma_productl): Likewise.
8477 * math/Makefile (libm-calls): Add gamma_product.
8478 * math/libm-test.inc (tgamma_test): Add more tests.
8479 * sysdeps/i386/fpu/libm-test-ulps: Update.
8480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8482 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8484 * benchtests/bench-skeleton.c (main): Preheat CPU.
8486 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8488 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8490 2013-05-07 Roland McGrath <roland@hack.frob.com>
8492 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8493 and _dl_skip_args_internal.
8495 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8497 * manual/message.texi (Message Translation): Talk about users.
8498 Message to key mapping impacts design.
8500 2013-05-06 Roland McGrath <roland@hack.frob.com>
8502 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8504 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8506 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8507 * sysdeps/wordsize-64/glob64.c: ... here.
8509 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8510 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8513 * debug/getlogin_r_chk.c: Moved to ...
8514 * login/getlogin_r_chk.c: ... here.
8515 * debug/Makefile (routines): Move getlogin_r_chk to ...
8516 * login/Makefile (routines): ... here.
8517 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8518 * login/Versions (libc: GLIBC_2.4): ... here.
8520 * io/poll.c (__poll): Renamed from poll.
8521 Add libc_hidden_def.
8522 (poll): Define as weak alias.
8524 * debug/ptsname_r_chk.c: Moved to ...
8525 * login/ptsname_r_chk.c: ... here.
8526 * debug/Makefile (routines): Move ptsname_r_chk to ...
8527 * login/Makefile (routines): ... here.
8528 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8529 * login/Versions (libc: GLIBC_2.4): ... here.
8531 * posix/getlogin.c: Moved to ...
8532 * login/getlogin.c: ... here.
8533 * posix/getlogin_r.c: Moved to ...
8534 * login/getlogin_r.c: ... here.
8535 * posix/getlogin_r.c: Moved to ...
8536 * login/getlogin_r.c: ... here.
8537 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8538 * login/Makefile (routines): ... here.
8539 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8540 * login/Versions (libc: GLIBC_2.0): ... here.
8542 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8543 (setrlimit): Define as weak alias.
8545 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8546 Call __ names for open, ftruncate, and close.
8547 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8548 (truncate): Define as weak alias.
8550 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8552 * math/gen-libm-test.pl (parse_args): Initialize x before each
8553 test of frexp, modf and remquo.
8555 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8558 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8562 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8564 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8566 2013-05-06 Roland McGrath <roland@hack.frob.com>
8568 * elf/dl-writev.h: New file.
8569 * elf/dl-misc.c: Include it.
8570 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8571 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8573 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8575 * math/libm-test.inc (noXFails): Remove variable.
8576 (noXPasses): Likewise.
8577 (BUILD_COMPLEX_INT): Remove macro.
8578 (print_screen): Remove xfail argument.
8579 (print_screen_max_error): Likewise.
8580 (update_stats): Likewise.
8581 (print_max_error): Likewise. Update calls to other affected
8583 (print_complex_max_error): Likewise.
8584 (test_single_exception): Update calls to print_screen.
8585 (test_single_errno): Likewise.
8586 (check_float_internal): Remove xfail argument. Update calls to
8587 other affected functions.
8588 (check_float): Likewise.
8589 (check_complex): Likewise.
8590 (check_int): Likewise.
8591 (check_long): Likewise.
8592 (check_bool): Likewise.
8593 (check_longlong): Likewise.
8594 (main): Don't print noXFails and noXPasses.
8595 * math/gen-libm-test.pl (top level): Don't mention expected
8596 failure handling in comment.
8597 (new_test): Don't handle expected failures.
8598 (parse_args): Don't mention expected failure handling in comment.
8599 (generate_testfile): Don't handle expected failures.
8600 (parse_ulps): Likewise.
8601 (print_ulps_file): Likewise.
8602 (get_failure): Remove function.
8603 (output_test): Don't handle expected failures.
8604 * make/README.libm-test: Don't mention expected failure handling.
8606 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8607 (minus_zero): Likewise.
8608 (plus_infty): Likewise.
8609 (minus_infty): Likewise.
8610 (qnan_value): Likewise.
8611 (max_value): Likewise.
8612 (min_value): Likewise.
8613 (min_subnorm_value): Likewise.
8614 (initialize): Do not initialize those variables dynamically.
8616 2013-05-03 Roland McGrath <roland@hack.frob.com>
8618 * io/open.c (__open_2): Moved to ...
8619 * io/open_2.c: ... this new file.
8620 * io/open64.c (__open64_2): Moved to ...
8621 * io/open64_2.c: ... this new file.
8622 * io/openat.c (__openat_2): Moved to ...
8623 * io/openat_2.c: ... this new file.
8624 * io/openat64.c (__openat64_2): Moved to ...
8625 * io/openat64_2.c: ... this new file.
8626 * io/Makefile (routines): Add them.
8627 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8628 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8629 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8630 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8631 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8632 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8633 (__openat64): Add hidden_ver.
8634 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8635 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8637 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8638 Separately conditionalize setting of GLRO(dl_sysinfo) so
8639 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8640 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8642 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8644 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8647 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8648 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8649 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8650 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8651 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8653 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8655 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8658 * math/libm-test.inc (hypot_test): Do not use
8659 IGNORE_ZERO_INF_SIGN.
8661 2013-05-03 Andreas Jaeger <aj@suse.de>
8663 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8665 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8666 (PF_MAX): Adjust for VSOCK change.
8668 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8672 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8675 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8676 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8677 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8679 2013-05-02 David S. Miller <davem@davemloft.net>
8681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8683 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
8685 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8687 2013-05-01 Roland McGrath <roland@hack.frob.com>
8689 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8691 2013-05-01 Richard Smith <richard@metafoo.co.uk>
8694 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8695 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8696 Use __attribute__ ((__gnu_inline__)).
8697 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8698 Don't use __attribute__ ((__gnu_inline__)).
8700 2013-05-01 Joseph Myers <joseph@codesourcery.com>
8703 * math/s_catan.c (__catan): Handle small real or imaginary part of
8704 input specially to avoid spurious underflow.
8705 * math/s_catanf.c (__catanf): Likewise.
8706 * math/s_catanh.c (__catanh): Likewise.
8707 * math/s_catanhf.c (__catanhf): Likewise.
8708 * math/s_catanhl.c (__catanhl): Likewise.
8709 * math/s_catanl.c (__catanl): Likewise.
8710 * math/libm-test.inc (catan_test): Add more tests.
8711 (catanh_test): Likewise.
8712 * sysdeps/i386/fpu/libm-test-ulps: Update.
8713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8715 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8719 2013-04-30 Joseph Myers <joseph@codesourcery.com>
8722 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8723 accurately for denominator in atan2.
8724 * math/s_catanf.c (__catanf): Likewise.
8725 * math/s_catanh.c (__catanh): Likewise.
8726 * math/s_catanhf.c (__catanhf): Likewise.
8727 * math/s_catanhl.c (__catanhl): Likewise.
8728 * math/s_catanl.c (__catanl): Likewise.
8729 * math/libm-test.inc (catan_test): Add more tests.
8730 (catanh_test): Likewise.
8731 * sysdeps/i386/fpu/libm-test-ulps: Update.
8732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8734 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8736 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8738 * benchtests/Makefile (bench): Remove slow benchmarks.
8739 * benchtests/atan-inputs: Add slow benchmark inputs.
8740 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8741 (BENCH_FUNC): Accept variant offset.
8743 * benchtests/bench-skeleton.c (main): Run benchmark for each
8745 * benchtests/cos-inputs: Add slow benchmark inputs.
8746 * benchtests/exp-inputs: Likewise.
8747 * benchtests/pow-inputs: Likewise.
8748 * benchtests/sin-inputs: Likewise.
8749 * benchtests/slowatan-inputs: Remove.
8750 * benchtests/slowatan.c: Remove.
8751 * benchtests/slowcos-inputs: Remove.
8752 * benchtests/slowcos.c: Remove.
8753 * benchtests/slowexp-inputs: Remove.
8754 * benchtests/slowexp.c: Remove.
8755 * benchtests/slowpow-inputs: Remove.
8756 * benchtests/slowpow.c: Remove.
8757 * benchtests/slowsin-inputs: Remove.
8758 * benchtests/slowsin.c: Remove.
8759 * benchtests/slowtan-inputs: Remove.
8760 * benchtests/slowtan.c: Remove.
8761 * benchtests/tan-inputs: Add slow benchmark inputs.
8762 * scripts/bench.pl: Parse comments and directives.
8764 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8766 ($(objpfx)bench-%.c): Remove *-ITER.
8767 * benchtests/bench-modf.c: Remove definition of ITER.
8768 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8769 (main): Loop for DURATION seconds instead of fixed number of
8771 * scripts/bench.pl: Don't expect iterations in parameters.
8773 2013-04-29 Roland McGrath <roland@hack.frob.com>
8775 * io/fchdir.c (__fchdir): Renamed from fchdir.
8776 (fchdir): Define as weak alias.
8778 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8780 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8781 (ERRNO_EDOM): Likewise.
8782 (ERRNO_ERANGE): Likewise.
8783 (noErrnoTests): New variable.
8784 (init_max_error): Set errno to 0.
8785 (test_single_errno): New function.
8786 (test_errno): Likewise.
8787 (check_float_internal): Call test_errno. Set errno to 0.
8788 (check_complex): Refer to errno tests in comment.
8789 (check_int): Call test_errno. Set errno to 0.
8790 (check_long): Likewise.
8791 (check_bool): Likewise.
8792 (check_longlong): Likewise.
8793 (cos_test): Use ERRNO_* flags for errno tests instead of
8795 (expm1_test): Likewise.
8796 (fmod_test): Likewise.
8797 (ilogb_test): Likewise.
8798 (lgamma_test): Likewise.
8799 (pow_test): Likewise.
8800 (remainder_test): Likewise.
8801 (sin_test): Likewise.
8802 (tan_test): Likewise.
8803 (yn_test): Likewise.
8804 (initialize): Set errno to 0.
8805 (main): Print number of errno tests.
8806 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8808 2013-04-29 Andreas Jaeger <aj@suse.de>
8811 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8815 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8816 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8820 * stdlib/random.c (__initstate): Return NULL if
8824 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8825 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8828 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8832 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8834 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8835 of individual tests.
8836 (casin_test): Likewise.
8837 (casinh_test): Likewise.
8839 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8842 * math/s_catan.c (__catan): Handle arguments with large real or
8843 imaginary part separately without squaring.
8844 * math/s_catanf.c (__catanf): Likewise.
8845 * math/s_catanh.c (__catanh): Likewise.
8846 * math/s_catanhf.c (__catanhf): Likewise.
8847 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8849 (__catanhl): Handle arguments with large real or imaginary part
8850 separately without squaring.
8851 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8853 (__catanl): Handle arguments with large real or imaginary part
8854 separately without squaring.
8855 * math/libm-test.inc (catan_test): Add more tests.
8856 (catanh_test): Likewise.
8857 * sysdeps/i386/fpu/libm-test-ulps: Update.
8858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8860 2013-04-27 Andreas Jaeger <aj@suse.de>
8863 * stdlib/stdlib.h: Update guards for qecvt.
8864 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8867 2013-04-27 Allan McRae <allan@archlinux.org>
8869 * sysdeps/i386/fpu/libm-test-ulps: Update.
8871 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8874 * math/s_catan.c: Include <float.h>.
8875 (__catan): Ensure underflow exception occurs for underflowed
8877 * math/s_catanf.c: Include <float.h>.
8878 (__catanf): Ensure underflow exception occurs for underflowed
8880 * math/s_catanh.c: Include <float.h>.
8881 (__catanh): Ensure underflow exception occurs for underflowed
8883 * math/s_catanhf.c: Include <float.h>.
8884 (__catanhf): Ensure underflow exception occurs for underflowed
8886 * math/s_catanhl.c: Include <float.h>.
8887 (__catanhl): Ensure underflow exception occurs for underflowed
8889 * math/s_catanl.c: Include <float.h>.
8890 (__catanl): Ensure underflow exception occurs for underflowed
8892 * math/libm-test.inc (catan_test): Add more tests.
8893 (catanh_test): Likewise.
8896 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8898 * math/s_ccoshf.c (__ccoshf): Likewise.
8899 * math/s_ccoshl.c (__ccoshl): Likewise.
8900 * math/s_csin.c (__csin): Likewise.
8901 * math/s_csinf.c (__csinf): Likewise.
8902 * math/s_csinh.c (__csinh): Likewise.
8903 * math/s_csinhf.c (__csinhf): Likewise.
8904 * math/s_csinhl.c (__csinhl): Likewise.
8905 * math/s_csinl.c (__csinl): Likewise.
8906 * math/libm-test.inc (ccos_test): Add more tests.
8907 (ccosh_test): Likewise.
8908 (csin_test): Likewise.
8909 (csinh_test): Likewise.
8911 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8913 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8914 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8915 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8916 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8917 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8918 powerpc/power5+/fpu folders.
8919 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8922 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8926 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8928 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8929 additions to variable.
8930 [$(config-machine) = x86_64] (modules-names): Likewise.
8931 ($(objpfx)tst-audit3): Remove dependency.
8932 ($(objpfx)tst-audit3.out): Likewise.
8933 ($(objpfx)tst-audit4): Likewise.
8934 ($(objpfx)tst-audit4.out): Likewise.
8935 ($(objpfx)tst-audit5): Likewise.
8936 ($(objpfx)tst-audit5.out): Likewise.
8937 ($(objpfx)tst-audit6): Likewise.
8938 ($(objpfx)tst-audit6.out): Likewise.
8939 ($(objpfx)tst-audit7): Likewise.
8940 ($(objpfx)tst-audit7.out): Likewise.
8941 (tst-audit3-ENV): Remove variable.
8942 (tst-audit4-ENV): Likewise.
8943 (tst-audit5-ENV): Likewise.
8944 (tst-audit6-ENV): Likewise.
8945 (tst-audit7-ENV): Likewise.
8946 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8947 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8948 addition to variable.
8949 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8950 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8951 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8952 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8953 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8954 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8955 tst-audit3, tst-audit4 and tst-audit5.
8956 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8957 tst-audit6 and tst-audit7.
8958 [$(subdir) = elf] (modules-names): Add audit modules for those
8960 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8961 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8962 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8963 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8964 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8965 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8966 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8967 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8968 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8969 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8970 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8971 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8972 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8973 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8974 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8975 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8977 [$(subdir) = elf && $(config-cflags-avx) = yes]
8978 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8979 [$(subdir) = elf && $(config-cflags-avx) = yes]
8980 (CFLAGS-tst-auditmod4a.c): Likewise.
8981 [$(subdir) = elf && $(config-cflags-avx) = yes]
8982 (CFLAGS-tst-auditmod4b.c): Likewise.
8983 [$(subdir) = elf && $(config-cflags-avx) = yes]
8984 (CFLAGS-tst-auditmod6b.c): Likewise.
8985 [$(subdir) = elf && $(config-cflags-avx) = yes]
8986 (CFLAGS-tst-auditmod6c.c): Likewise.
8987 [$(subdir) = elf && $(config-cflags-avx) = yes]
8988 (CFLAGS-tst-auditmod7b.c): Likewise.
8989 * elf/tst-audit3.c: Move to ...
8990 * sysdeps/x86_64/tst-audit3.c: ... here.
8991 * elf/tst-audit4.c: Move to ...
8992 * sysdeps/x86_64/tst-audit4.c: ... here.
8993 * elf/tst-audit5.c: Move to ...
8994 * sysdeps/x86_64/tst-audit5.c: ... here.
8995 * elf/tst-audit6.c: Move to ...
8996 * sysdeps/x86_64/tst-audit6.c: ... here.
8997 * elf/tst-audit7.c: Move to ...
8998 * sysdeps/x86_64/tst-audit7.c: ... here.
8999 * elf/tst-auditmod3a.c: Move to ...
9000 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9001 * elf/tst-auditmod3b.c: Move to ...
9002 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9003 * elf/tst-auditmod4a.c: Move to ...
9004 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9005 * elf/tst-auditmod4b.c: Move to ...
9006 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9007 * elf/tst-auditmod5a.c: Move to ...
9008 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9009 * elf/tst-auditmod5b.c: Move to ...
9010 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9011 * elf/tst-auditmod6a.c: Move to ...
9012 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9013 * elf/tst-auditmod6b.c: Move to ...
9014 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9015 * elf/tst-auditmod6c.c: Move to ...
9016 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9017 * elf/tst-auditmod7a.c: Move to ...
9018 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9019 * elf/tst-auditmod7b.c: Move to ...
9020 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9022 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9025 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9026 define unconditionally.
9027 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9028 define unconditionally.
9029 (INT8_C, INT16_C, etc.): Likewise.
9031 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9033 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9034 __ehdr_start with hidden visibility.
9036 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9038 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9040 * math/libm-test.inc (cos_test): Use accurate hex constants.
9041 (sincost_test): Likewise.
9043 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9045 * math/libm-test.inc (catan_test): Add more tests.
9046 (catanh_test): Likewise.
9048 * math/s_catanf.c (__catanf): Use suffixed floating-point
9050 * math/s_catanhf.c (__catanhf): Likewise.
9051 * math/s_catanhl.c (__catanhl): Likewise.
9052 * math/s_catanl.c (__catanl): Likewise.
9055 * math/s_catan.c (__catan): Calculate imaginary part of result
9056 with log1p not log unless computing log of number close to 0.
9057 * math/s_catanf.c (__catanf): Likewise.
9058 * math/s_catanl.c (__catanl): Likewise.
9059 * math/s_catanh.c (__catanh): Calculate real part of result with
9060 log1p not log unless computing log of number close to 0.
9061 * math/s_catanhf.c (__catanhf): Likewise.
9062 * math/s_catanhl.c (__catanhl): Likewise.
9063 * math/libm-test.inc (catan_test): Add more tests.
9064 (catanh_test): Likewise.
9065 * sysdeps/i386/fpu/libm-test-ulps: Update.
9066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9068 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9070 * benchtests/Makefile: Mention files in which fast and slow
9071 paths of math functions are implemented.
9073 2013-04-23 Roland McGrath <roland@hack.frob.com>
9075 * sysdeps/posix/timespec_get.c: New file.
9077 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9079 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9081 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9083 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9084 powerpc/power5/fpu folders.
9085 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9086 * benchtests/Makefile: Add modf testcase.
9087 * benchtests/bench-modf.c: New file: Benchmark test for mo
9089 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9092 * time/Makefile (tests): Add tst-strptime-whitespace.
9093 * time/strptime_l.c (get_number): Use ISSPACE.
9094 (__strptime_internal): Likewise.
9095 * time/tst-strptime-whitespace.c: New test case.
9097 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9099 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9101 (_nss_files_init): Set it here.
9103 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9105 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9106 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9109 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9111 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9113 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9115 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9118 2013-04-21 David S. Miller <davem@davemloft.net>
9120 * po/ru.po: Update Russion translation from translation project.
9122 2013-04-17 Adam Conrad <adconrad@0c3.net>
9124 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9127 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9129 * configure.in: Remove i386 configure warning. Remove i386 case.
9130 * configure: Regenerate.
9131 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9132 Add example to error message.
9133 * sysdeps/i386/configure: Regenerate.
9135 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9137 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9139 * benchtests/cos-inputs: New file.
9140 * benchtests/slowcos-inputs: New file.
9141 * benchtests/slowcos.c: New file.
9142 * benchtests/slowtan-inputs: New file.
9143 * benchtests/slowtan.c: New file.
9144 * benchtests/tan-inputs: New file.
9146 2013-04-16 Roland McGrath <roland@hack.frob.com>
9148 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9151 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9153 * benchtests/Makefile: Include cppflags-iterator.mk to add
9154 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9156 * Makefile.in (bench-clean): New target.
9157 * benchtests/Makefile (bench-clean): Likewise.
9159 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9161 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9163 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9165 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9167 2013-04-15 Andreas Schwab <schwab@suse.de>
9169 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9171 * nscd/pwdcache.c (cache_addpw): Likewise.
9172 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9175 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9177 * benchtests/Makefile (bench): Write all output to
9178 bench-out.tmp together.
9180 2013-04-15 Andreas Schwab <schwab@suse.de>
9182 * nscd/nscd.c (main): Don't fork again after closing files.
9184 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9186 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9188 * benchtests/Rules (bench-deps): Collect dependencies into a
9189 single variable. Add Makefile to dependencies.
9190 ($(objpfx)bench-%.c): Depend on bench-deps.
9192 2013-04-12 Roland McGrath <roland@hack.frob.com>
9193 Xavier Roche <roche+kml2@exalead.com>
9196 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9197 just that it's a file descriptor.
9198 * manual/llio.texi (Synchronizing AIO Operations): Update description
9199 for EBADF error from aio_fsync.
9201 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9203 * Rules (bench): Move target definition...
9204 * benchtests/Makefile: ... here.
9206 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9208 * math/libm-test.inc (cos_test): Fix PI/2 test.
9209 (sincos_test): Likewise.
9210 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9211 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9213 2013-04-11 Andreas Schwab <schwab@suse.de>
9216 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9217 accept exponent character only when digits were seen.
9218 * stdio-common/Makefile (tests): Add bug26.
9219 * stdio-common/bug26.c: New file.
9222 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9225 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9227 * Makeconfig (rtld-prefix): Define built linker prefix.
9228 * Rules (run-bench): Use it.
9229 * math/Makefile (run-regen-ulps): Likewise.
9231 * Rules (bench): Remove eval.
9233 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9234 Roland McGrath <roland@hack.frob.com>
9235 Ondrej Bilka <neleai@seznam.cz>
9238 * time/getdate.c: Include ctype.h and alloca.h.
9239 (__getdate_r): Trim leading and trailing spaces of input.
9240 * time/tst-getdate.c (tests): Add tests with leading and
9243 2013-04-08 Roland McGrath <roland@hack.frob.com>
9246 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9247 when computing value.
9249 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9251 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9252 Use testrun.sh to run libm tests.
9255 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9257 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9260 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9262 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9264 * Makefile.in (regen-ulps): New target.
9265 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9266 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9267 [ifneq (no,$(PERL)] (regen-ulps): New target.
9268 [ifeq (no,$(PERL)] (regen-ulps): New target.
9269 * math/libm-test.inc (ulps_file_name): Define.
9270 (output_dir): New variable.
9271 (options): Add "output-dir" option.
9272 (parse_opt): Handle 'o' case.
9273 (main): If output_dir is non-NULL use it as a prefix
9275 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9277 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9280 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9281 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9282 fail configure if __sync_val_compare_and_swap is not inlined.
9283 * sysdeps/i386/configure: Regenerate.
9284 * configure.in: Build for i686 when configured for i386.
9285 * configure: Regenerate.
9286 * README: Remove i386 reference.
9288 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9290 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9291 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9293 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9295 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9296 (lmsnanval): New variables.
9297 (F): Add conversion tests.
9298 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9299 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9301 * stdio-common/tstdiomisc.c (F): Properly collect individual
9305 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9306 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9307 Instead, use input NaN values or generate a qNaN by arithmetic
9308 operation. Also fix bugs to comply with the standard.
9309 * math/libm-test.inc (remainder_test): Add more tests.
9312 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9314 input NaN values or generate a qNaN by arithmetic operation.
9316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9319 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9322 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9325 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9327 * math/s_cexpf.c (__cexpf): Likewise.
9328 * math/s_cexpl.c (__cexpl): Likewise.
9329 * math/libm-test.inc (cexp_test): Add more tests.
9331 2013-04-03 Andreas Schwab <schwab@suse.de>
9334 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9335 order arrays from heap if bigger than alloca cutoff.
9337 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9339 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9340 (SNAN_TESTS_double): Refer to GCC PR56831.
9341 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9344 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9346 * Rules (bench): Move bench.out after the run is complete.
9348 * Rules (bench): Echo currently running benchmark.
9350 * benchtests/Makefile (bench): Add atan and slowatan.
9351 * benchtests/atan-inputs: New file.
9352 * benchtests/slowatan-inputs: New file.
9353 * benchtests/slowatan.c: New file.
9355 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9360 * sysdeps/unix/sysv/linux/kernel-features.h
9361 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9362 __ASSUME_XFS_RESTRICTED_CHOWN.
9363 * sysdeps/unix/sysv/linux/pathconf.c
9364 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9365 Save and restore errno.
9367 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9370 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9371 arguments using __kernel_casinh.
9372 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9373 arguments using __kernel_casinhf.
9374 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9375 arguments using __kernel_casinhl.
9376 * math/libm-test.inc (cacosh_test): Add more tests.
9377 * sysdeps/i386/fpu/libm-test-ulps: Update.
9378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9380 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9382 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9385 * bench/Makefile (bench): Add sin and slowsin.
9386 * benchtests/sin-inputs: New file.
9387 * benchtests/slowsin-inputs: New file.
9388 * benchtests/slowsin.c: New file.
9390 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9391 (bench): Add slowexp and slowpow.
9392 (exp-ITER): Increase iterations.
9393 (pow-ITER): Likewise.
9394 * benchtests/exp-inputs: Change input.
9395 * benchtests/pow-inputs: Likewise.
9396 * benchtests/slowexp-inputs: New file.
9397 * benchtests/slowexp.c: New file.
9398 * benchtests/slowpow-inputs: New file.
9399 * benchtests/slowpow.c: New file.
9401 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9403 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9405 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9406 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9407 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9408 * benchtests/Makefile: Add rint benchtest.
9409 * benchtests/rint-inputs: Input for rint benchtest.
9411 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9413 * Versions.def (libm): Add GLIBC_2.18.
9414 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9415 hidden libm prototypes.
9416 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9417 * math/Makefile (libm-calls): Add s_issignaling.
9418 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9419 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9420 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9422 * math/math.h [__USE_GNU] (issignaling): New macro.
9423 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9424 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9426 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9429 * manual/arith.texi (issignaling): New section.
9430 * manual/libm-err-tab.pl (@all_functions): Update comment.
9431 * math/gen-libm-test.pl (parse_args): Apply special handling for
9433 * math/libm-test.inc (print_float, issignaling_test): New
9435 (check_float_internal): Add issignaling checks.
9436 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9438 * sysdeps/powerpc/math-tests.h: New file.
9439 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9441 * math/test-snan.c (TEST_FUNC): Likewise.
9443 2013-03-30 David S. Miller <davem@davemloft.net>
9445 * po/de.po: Update from translation team.
9447 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9450 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9451 imaginary part less than 1.0 and real part less than 0.5
9453 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9454 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9455 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9456 (cacos_test): Add more tests.
9457 (casin_test): Likewise.
9458 (casinh_test): Likewise.
9459 * sysdeps/i386/fpu/libm-test-ulps: Update.
9460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9462 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9464 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9467 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9468 (__pow_mp): Replace ONE and MONE with their values.
9469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9471 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9472 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9473 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9474 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9476 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9478 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9479 (__pow_mp): Replace ZERO and MZERO with their values.
9480 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9481 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9482 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9484 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9485 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9488 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9490 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9492 2013-03-28 Roland McGrath <roland@hack.frob.com>
9494 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9495 Declare with __attribute__ ((weak)).
9496 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9497 Call __call_tls_dtors only if it's not NULL.
9499 2013-03-28 Roland McGrath <roland@hack.frob.com>
9501 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9502 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9503 magic __ehdr_start linker symbol if it's defined.
9504 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9505 them up here if it was already done.
9507 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9508 (_dl_aux_init): Use const in cast when setting it.
9509 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9510 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9511 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9513 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9515 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9516 * csu/libc-tls.c: Nor here.
9517 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9519 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9520 (__libc_message): Never call vsyslog.
9522 2013-03-28 Alan Modra <amodra@gmail.com>
9524 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9526 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9529 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9536 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9539 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9540 Don't add gid passed as argument.
9542 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9544 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9547 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9548 imaginary part between 1.0 and 1.5 and real part less than 0.5
9550 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9551 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9552 * math/libm-test.inc (cacos_test): Add more tests.
9553 (casin_test): Likewise.
9554 (casinh_test): Likewise.
9555 * sysdeps/i386/fpu/libm-test-ulps: Update.
9556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9558 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9560 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9564 (__dbl_mp): Likewise.
9565 (add_magnitudes): Likewise.
9566 (sub_magnitudes): Likewise.
9574 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9576 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9577 (__dubcos): Likewise.
9578 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9579 (__ieee754_acos): Likewise.
9580 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9581 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9583 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9586 (my_log2): Likewise.
9587 (checkint): Likewise.
9588 * sysdeps/ieee754/dbl-64/e_remainder.c
9589 (__ieee754_remainder): Likewise.
9590 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9593 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9595 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9596 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9597 MANTISSA_STORE_T to store computations on mantissa. Use
9598 macros for rounding and division.
9600 (__dbl_mp): Likewise.
9601 (add_magnitudes): Likewise.
9602 (sub_magnitudes): Likewise.
9605 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9606 powers of two in terms of TWOPOW macro.
9607 (mp_no): Make type of mantissa as MANTISSA_T.
9608 [!RADIXI]: Define RADIXI.
9609 [!TWO52]: Define TWO52.
9610 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9612 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9614 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9615 llroundl symbol when building for PPC32.
9617 2013-03-24 Mark H Weaver <mhw@netris.org>
9619 * manual/arith.texi (Normalization Functions): Fix prototypes for
9620 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9622 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9626 high value to check if expl overflow.
9627 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9628 to check for underflow and overflow.
9629 * math/libm-test.inc: Add exp test.
9631 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9634 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9637 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9639 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9642 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9644 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9645 wrap blocks consisting of several statements.
9647 * sysdeps/generic/math-tests.h: New file.
9648 * sysdeps/i386/fpu/math-tests.h: Likewise.
9649 * math/test-snan.c: Include it.
9650 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9652 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9656 (__ieee754_j0l): Do not improve calculations using cos of twice
9657 input for inputs above LDBL_MAX / 2.0L.
9658 (__ieee754_y0l): Likewise.
9659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9660 (__ieee754_j1l): Do not improve calculations using cos of twice
9661 input for inputs above LDBL_MAX / 2.0L.
9662 (__ieee754_y1l): Likewise.
9663 * math/libm-test.inc (j0_test): Add another test.
9664 (j1_test): Likewise.
9665 (y0_test): Likewise.
9666 (y1_test): Likewise.
9667 * sysdeps/i386/fpu/libm-test-ulps: Update.
9669 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9671 * Rules ($(objpfx)bench-%.c): Include code from a C source
9674 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9677 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9678 imaginary part 1.0 and real part less than 0.5 specially.
9679 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9680 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9681 * math/libm-test.inc (cacos_test): Add more tests.
9682 (casin_test): Likewise.
9683 (casinh_test): Likewise.
9684 * sysdeps/i386/fpu/libm-test-ulps: Update.
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9687 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9690 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9692 2013-03-20 Joseph Myers <joseph@codesourcery.com>
9694 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9695 * config.make.in (config-cflags-sse4): Remove variable.
9696 (config-cflags-avx): Likewise.
9697 (config-cflags-sse2avx): Likewise.
9698 (config-cflags-novzeroupper): Likewise.
9699 (config-asflags-i686): Likewise.
9700 (have-mfma4): Likewise.
9701 (have-as-vis3): Likewise.
9703 * configure.in (MIG): Do not AC_SUBST.
9704 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9705 (libc_cv_cc_sse4): Do not AC_SUBST.
9706 (libc_cv_cc_avx): Likewise.
9707 (libc_cv_cc_sse2avx): Likewise.
9708 (libc_cv_cc_novzeroupper): Likewise.
9709 (libc_cv_cc_fma4): Likewise.
9710 (libc_cv_as_i686): Likewise.
9711 (libc_cv_sparc_as_vis3): Likewise.
9712 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9714 (config-asflags-i686): Likewise.
9715 (config-cflags-avx): Likewise.
9716 (config-cflags-sse2avx): Likewise.
9717 (have-mfma4): Likewise.
9718 (config-cflags-novzeroupper): Likewise.
9719 * sysdeps/mach/configure.in (MIG): Likewise.
9720 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9721 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9723 (config-cflags-avx): Likewise.
9724 (config-cflags-sse2avx): Likewise.
9725 (have-mfma4): Likewise.
9726 (config-cflags-novzeroupper): Likewise.
9727 * configure: Regenerated.
9728 * sysdeps/i386/configure: Likewise.
9729 * sysdeps/mach/configure: Likewise.
9730 * sysdeps/sparc/configure: Likewise.
9731 * sysdeps/x86_64/configure: Likewise.
9733 2013-03-20 Roland McGrath <roland@hack.frob.com>
9736 * locale/programs/localedef.c (options): Put N_ translation marker
9737 on argument names, not just descriptions.
9739 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9741 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9743 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
9746 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9748 2013-03-19 Roland McGrath <roland@hack.frob.com>
9750 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9751 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9752 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9753 [!BEFORE_ABORT] (before_abort): New function.
9754 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9755 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9756 (writev_for_fatal): New function.
9757 (WRITEV_FOR_FATAL): New macro; call that.
9758 (backtrace_and_maps): New function.
9759 (BEFORE_ABORT): New macro; call that.
9760 (struct str_list): Type removed.
9761 (__libc_message, __libc_fatal): Functions removed.
9762 Include <sysdeps/posix/libc_fatal.c> instead.
9764 2013-03-19 Joseph Myers <joseph@codesourcery.com>
9766 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9768 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9771 2013-03-19 Andreas Schwab <schwab@suse.de>
9773 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9774 * sysdeps/gnu/configure: Regenerate.
9776 * configure.in: Substitute libc_cv_rtlddir.
9777 * configure: Regenerate.
9778 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9779 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9780 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9781 * elf/Makefile (install-others, CFLAGS-interp.c)
9782 (ldso_install, common-ldd-rewrite): Likewise.
9783 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9784 $(inst_slibdir)/$(rtld-installed-name).
9785 * scripts/rellns-sh: Add -p option.
9786 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9789 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9791 * manual/nptl.texi: Renamed to ...
9792 * manual/threads.texi: ... this.
9793 * manual/Makefile (chapters): Update.
9795 2013-03-18 Roland McGrath <roland@hack.frob.com>
9798 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9799 on argument names, not just descriptions.
9800 * malloc/memusagestat.c (options): Likewise.
9801 * nss/getent.c (options): Likewise.
9803 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9806 * iconv/iconv_prog.c (options): Put N_ translation marker
9807 on argument names, not just descriptions.
9808 * iconv/iconvconfig.c (options): Likewise.
9810 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9812 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9813 implementation which is faster on all x86_64 architectures.
9814 Tested on AMD, Intel Nehalem, SNB, IVB.
9815 * sysdeps/x86_64/strnlen.S: Likewise.
9817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9818 Remove all multiarch strlen and strnlen versions.
9819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9820 Remove strlen and strnlen related parts.
9822 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9824 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9826 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9827 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9828 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9829 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9830 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9831 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9833 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9835 * manual/memory.texi (Malloc Tunable Parameters):
9836 Sort parameters alphabetically. Add comments for missing entries.
9838 2013-03-17 David S. Miller <davem@davemloft.net>
9840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9842 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9845 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9846 for arguments at most half maximum finite value.
9847 * math/libm-test.inc (j0_test): Add more tests.
9848 (j1_test): Likewise.
9849 (y0_test): Likewise.
9850 (y1_test): Likewise.
9851 * sysdeps/i386/fpu/libm-test-ulps: Update.
9852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9855 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9856 1 / x and functions P and Q for arguments above 0x1p256L.
9857 (__ieee754_y0l): Likewise.
9858 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9859 (__ieee754_y1l): Likewise.
9860 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9861 (j1_test): Likewise.
9862 (y0_test): Likewise.
9863 (y1_test): Likewise.
9865 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9867 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9870 2013-03-15 Roland McGrath <roland@hack.frob.com>
9872 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9873 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9874 zero since it's initialized to EXEC_PAGESIZE.
9876 * sysdeps/unix/sysv/linux/ldsodefs.h
9877 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9878 * sysdeps/generic/ldsodefs.h: ... here.
9880 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9882 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9884 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9886 * math/test-snan.c: Renamed from
9887 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9888 * math/Makefile (tests): Add test-snan.
9889 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9892 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9893 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9895 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9896 __builtin_nan family of functions.
9897 * math/libm-test.inc (initialize): Initialize qnan_value with
9898 __builtin_nan family of functions.
9899 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9901 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9903 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9904 storage class. Initialize qNaN_var and sNaN_var with
9905 __builtin_nan and __builtin_nans families of functions,
9908 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9909 (sqrt_test): Remove duplicate test with qNaN input.
9910 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9911 (round_test, signbit_test, significand_test): Note missing +/-Inf
9912 as well as qNaN tests.
9914 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9915 qNaN_var. Fix a few strings, too.
9916 * math/libm-test.inc (nan_value): Rename to qnan_value.
9917 * math/gen-libm-test.pl (%beautify): Adjust to that.
9918 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9919 * math/test-misc.c (main): Likewise.
9920 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9921 to __qnan_bytes, and __qnan_union, respectively.
9922 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9924 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9925 and lqnanval, respectively.
9926 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9927 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9928 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9929 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9931 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9932 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9935 * math/test-misc.c (main): Fix copy'n'pastos.
9936 * misc/tst-efgcvt.c (special): Likewise.
9938 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9939 Remove declarations.
9941 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9943 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9944 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9945 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9946 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9948 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9950 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9951 macro to return vdso values correctly in IFUNC implementations.
9952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9953 Optimization by using IFUNC.
9955 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9956 Richard Henderson <rth@redhat.com>
9957 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9959 * Makefile.in (bench): New target.
9960 * NEWS: Mention the benchmark framework.
9961 * Rules (bench): Likewise.
9962 (binaries-bench): Generate binaries for functions to
9964 * benchtests/Makefile: New makefile for benchmark tests.
9965 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9967 * benchtests/exp-inputs: New input file for EXP function.
9968 * benchtests/pow-inputs: New input file for POW function.
9969 * scripts/bench.pl: New script to generate source files for
9972 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9974 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9975 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9976 computations on mantissa. Use macros for rounding and
9979 (__dbl_mp): Likewise.
9980 (add_magnitudes): Likewise.
9981 (sub_magnitudes): Likewise.
9984 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9985 powers of two in terms of TWOPOW macro.
9986 (mp_no): Make type of mantissa as MANTISSA_T.
9987 [!RADIXI]: Define RADIXI.
9988 [!TWO52]: Define TWO52.
9989 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9991 * manual/nptl.texi (cindex): Modify threads to pthreads.
9993 2013-03-15 Joseph Myers <joseph@codesourcery.com>
9995 * sysdeps/x86_64/preconfigure: Regenerated.
9997 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10000 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10002 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10003 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10005 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10006 * math/libm-test.inc (j0_test): Do not allow one spurious
10007 underflow exception.
10008 (y1_test): Likewise.
10010 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10012 * manual/Makefile (chapters): Add nptl.
10013 * manual/debug.texi (Debugging Support): Add link to Threads
10015 * manual/nptl.texi: New file.
10017 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10019 2013-03-14 Petr Baudis <pasky@ucw.cz>
10021 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10022 for non-NULL pointer before the memory validity test. Pointed
10023 out by Holger Brunck <holger.brunck@keymile.com>.
10025 2013-03-13 Andreas Schwab <schwab@suse.de>
10027 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10030 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10032 * timezone/zic.c: Update from tzcode 2013b.
10034 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10036 * manual/install.texi (Configuring and compiling):
10037 Mention i686 and i586.
10038 * INSTALL: Regenerate.
10040 2013-03-12 Roland McGrath <roland@hack.frob.com>
10042 * sysdeps/init_array/elf-init.c: New file.
10044 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10045 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10047 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10048 __gmon_start__ as global, but as static with a .preinit_array pointer.
10049 * sysdeps/init_array/gmon-start.c: New file. Use that.
10050 * sysdeps/init_array/crti.S: New file, empty except for comments.
10051 * sysdeps/init_array/crtn.S: Likewise.
10053 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10055 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10058 Remove Prefer_SSE_for_memop.
10059 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10060 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10061 HAS_PREFER_SSE_FOR_MEMOP.
10062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10065 Remove bzero, memset ifunc support.
10066 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10067 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10068 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10069 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10071 2013-03-11 Andreas Schwab <schwab@suse.de>
10074 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10077 (GLIBC_2.16): Remove pthread_atfork.
10079 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10081 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10082 (ptestcases.h): Likewise.
10084 2013-03-08 Roland McGrath <roland@hack.frob.com>
10086 * Makeconfig ($(common-objpfx)config.status): Depend on
10087 sysdeps/*/preconfigure{,.in} too.
10089 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10091 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10092 (__free_hook): Use void * instead of __malloc_ptr_t.
10093 (__malloc_hook): Likewise.
10094 (__realloc_hook): Likewise.
10095 (__memalign_hook): Likewise.
10096 (__after_morecore_hook): Likewise.
10097 * malloc/arena.c (save_malloc_hook): Likewise.
10098 (save_free_hook): Likewise.
10099 * malloc/hooks.c (malloc_hook_ini): Likewise.
10100 (realloc_hook_ini): Likewise.
10101 (memalign_hook_ini): Likewise.
10102 * malloc/malloc.c (malloc_hook_ini): Likewise.
10103 (realloc_hook_ini): Likewise.
10104 (memalign_hook_ini): Likewise.
10105 (__free_hook): Likewise.
10106 (__malloc_hook): Likewise.
10107 (__realloc_hook): Likewise.
10108 (__memalign_hook): Likewise.
10109 (__libc_malloc): Likewise.
10110 (__libc_free): Likewise.
10111 (__libc_realloc): Likewise.
10112 (__libc_memalign): Likewise.
10113 (__libc_valloc): Likewise.
10114 (__libc_pvalloc): Likewise.
10115 (__libc_calloc): Likewise.
10116 (__posix_memalign): Likewise.
10117 * malloc/morecore.c (__sbrk): Likewise.
10118 (__default_morecore): Likewise.
10120 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10122 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10123 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10124 __malloc_ptrdiff_t.
10126 * malloc/malloc.h (__malloc_size_t): Remove macro.
10127 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10129 (old_memalign_hook): Likewise.
10130 (old_realloc_hook): Likewise.
10131 (struct hdr): Likewise.
10133 (mallochook): Likewise.
10134 (memalignhook): Likewise.
10135 (reallochook): Likewise.
10136 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10137 (tr_old_realloc_hook): Likewise.
10138 (tr_old_memalign_hook): Likewise.
10139 (tr_mallochook): Likewise.
10140 (tr_reallochook): Likewise.
10141 (tr_memalignhook): Likewise.
10143 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10146 default_ldbl_pack and using as default implementation.
10147 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10149 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10150 redundant definition.
10151 (ldbl_insert_mantissa): Likewise.
10152 (ldbl_canonicalize): Likewise.
10153 (ldbl_nearbyint): Likewise.
10154 (ldbl_pack): Rename to ldbl_pack_ppc.
10155 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10156 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10157 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10159 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10162 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10163 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10164 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10166 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10167 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10168 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10170 2013-03-07 Andreas Jaeger <aj@suse.de>
10172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10175 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10177 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10178 Include mpa.h and declare __MPEXP.
10179 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10180 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10181 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10182 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10183 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10184 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10185 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10187 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10188 (__slowpow): Use long double EXPL and LOGL functions to
10190 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10191 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10192 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10193 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10194 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10195 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10198 intermediate variable to calculate exponent.
10200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10204 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10205 [!NO__SQR]: Define __sqr.
10206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10207 and NO__SQR. Remove all code except __mul and __sqr. Include
10208 sysdeps/ieee754/dbl-64/mpa.c.
10209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10212 * posix/Makefile (tests): Add tst-pathconf.
10213 * posix/tst-pathconf.c: New test case.
10214 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10216 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10218 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10220 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10222 2013-03-06 Andreas Jaeger <aj@suse.de>
10224 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10225 definition via __MAP_ANONYMOUS.
10227 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10228 it's not part of Linux headers.
10230 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10231 (MAP_HUGE_MASK): Define.
10233 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10235 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10238 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10239 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10241 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10242 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10244 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10246 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10247 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10248 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10249 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10250 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10251 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10257 Handle f2fs and efivarfs.
10259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10262 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10263 (EFIVARFS_MAGIC): Add.
10264 (F2FS_LINK_MAX): Add.
10266 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10268 * stdio-common/vfprintf.c: Replace __builtin_expect with
10271 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10274 * sysdeps/generic/bp-sym.h: Remove file.
10275 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10276 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10277 <bp-sym.h> and <bp-asm.h>.
10278 (__longjmp): Don't use BP_SYM.
10279 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10281 (memcpy): Don't use BP_SYM.
10282 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10283 <bp-sym.h> and <bp-asm.h>.
10284 (memcpy): Don't use BP_SYM.
10285 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10287 (memcpy): Don't use BP_SYM.
10288 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10290 (memset): Don't use BP_SYM.
10291 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10292 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10293 (__bzero): Don't use BP_SYM.
10294 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10295 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10296 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10297 <bp-sym.h> and <bp-asm.h>.
10298 (memcmp): Don't use BP_SYM. Remove comment about bounded
10300 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10301 <bp-sym.h> and <bp-asm.h>.
10302 (memcpy): Don't use BP_SYM.
10303 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10304 <bp-sym.h> and <bp-asm.h>.
10305 (memset): Don't use BP_SYM.
10306 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10307 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10308 (__bzero): Don't use BP_SYM.
10309 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10310 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10312 <bp-sym.h> and <bp-asm.h>.
10313 (strncmp): Don't use BP_SYM. Remove comment about bounded
10315 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10316 <bp-sym.h> and <bp-asm.h>.
10317 (memcpy): Don't use BP_SYM.
10318 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10319 <bp-sym.h> and <bp-asm.h>.
10320 (memset): Don't use BP_SYM.
10321 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10322 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10323 (__bzero): Don't use BP_SYM.
10324 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10325 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10326 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10327 <bp-sym.h> and <bp-asm.h>.
10328 (__memchr): Don't use BP_SYM.
10329 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10330 <bp-sym.h> and <bp-asm.h>.
10331 (memcmp): Don't use BP_SYM. Remove comment about bounded
10333 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10334 <bp-sym.h> and <bp-asm.h>.
10335 (memcpy): Don't use BP_SYM.
10336 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10337 <bp-sym.h> and <bp-asm.h>.
10338 (__mempcpy): Don't use BP_SYM.
10339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10340 <bp-sym.h> and <bp-asm.h>.
10341 (__memrchr): Don't use BP_SYM.
10342 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10343 <bp-sym.h> and <bp-asm.h>.
10344 (memset): Don't use BP_SYM.
10345 (__bzero): Likewise.
10346 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10347 <bp-sym.h> and <bp-asm.h>.
10348 (__rawmemchr): Don't use BP_SYM.
10349 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10350 <bp-sym.h> and <bp-asm.h>.
10351 (__STRCMP): Don't use BP_SYM.
10352 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10353 <bp-sym.h> and <bp-asm.h>.
10354 (strchr): Don't use BP_SYM.
10355 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10356 <bp-sym.h> and <bp-asm.h>.
10357 (__strchrnul): Don't use BP_SYM.
10358 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10359 <bp-sym.h> and <bp-asm.h>.
10360 (strlen): Don't use BP_SYM.
10361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10362 <bp-sym.h> and <bp-asm.h>.
10363 (strncmp): Don't use BP_SYM. Remove comment about bounded
10365 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10366 <bp-sym.h> and <bp-asm.h>.
10367 (__strnlen): Don't use BP_SYM.
10368 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10369 <bp-sym.h> and <bp-asm.h>.
10370 (__GI__setjmp): Don't use BP_SYM.
10371 (_setjmp): Likewise.
10372 (__sigsetjmp): Likewise.
10373 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10374 (L(start_addresses)): Don't use BP_SYM.
10375 (_start): Likewise.
10376 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10378 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10379 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10380 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10381 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10382 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10384 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10385 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10386 about bounded pointers.
10387 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10388 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10389 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10391 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10392 about bounded pointers. Remove GKM FIXME comments.
10393 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10394 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10396 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10397 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10398 Remove GKM FIXME comments.
10399 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10400 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10401 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10403 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10404 about bounded pointers. Remove GKM FIXME comment.
10405 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10407 (strncmp): Don't use BP_SYM. Remove comment about bounded
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10410 <bp-sym.h> and <bp-asm.h>.
10411 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10413 <bp-sym.h> and <bp-asm.h>.
10414 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10417 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10419 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10422 2013-03-05 David S. Miller <davem@davemloft.net>
10424 * po/es.po: Update from translation team.
10426 2013-03-05 Andreas Jaeger <aj@suse.de>
10428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10429 <bits/mman-linux.h>.
10430 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10432 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10433 <bits/mman-linux.h> to end of file.
10434 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10436 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10437 <bits/mman-linux.h> to end of file.
10438 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10440 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10441 <bits/mman-linux.h> to end of file.
10443 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10444 (MCL_CURRENT, MCL_FUTURE): Define here.
10446 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10449 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10451 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10453 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10455 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10456 fourth parameter needed for rt_sigprocmask syscall.
10457 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10458 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10459 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10460 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10461 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10462 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10464 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10467 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10468 comment about bounded pointers.
10469 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10470 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10472 2013-03-04 Andreas Jaeger <aj@suse.de>
10474 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10475 common definitions.
10477 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10478 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10479 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10480 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10481 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10482 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10484 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10488 __ieee754_sqrl instead of __sqrl.
10490 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10492 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10493 * sysdeps/powerpc/fpu_control.h: ... here.
10494 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10495 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10496 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10497 * sysdeps/powerpc/bits/mathinline.h: ... here.
10499 2013-03-01 Roland McGrath <roland@hack.frob.com>
10501 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10502 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10503 to just [NEED_DL_SYSINFO_DSO].
10504 * elf/dl-support.c: Likewise.
10505 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10506 * elf/rtld.c (dl_main): Likewise.
10507 * elf/setup-vdso.h (setup_vdso): Likewise.
10508 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10509 * sysdeps/unix/sysv/linux/dl-sysdep.c
10510 (_dl_discover_osversion): Likewise.
10512 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10514 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10515 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10517 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10519 * NEWS: Mention libm performance improvements and non-x86 PI
10522 * csu/libc-start.c (__pthread_initialize_minimal): Change
10523 function arguments.
10524 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10526 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10529 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10530 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10531 <bp-sym.h> and <bp-asm.h>.
10532 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10533 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10535 (memcpy): Don't use BP_SYM.
10536 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10538 (__mpn_add_n): Don't use BP_SYM.
10539 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10540 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10542 (__mpn_addmul_1): Don't use BP_SYM.
10543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10544 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10546 (_setjmp): Don't use BP_SYM.
10547 (__novmx_setjmp): Likewise.
10548 (__GI__setjmp): Likewise.
10549 (__vmx_setjmp): Likewise.
10550 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10552 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10553 (__bzero): Don't use BP_SYM.
10554 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10555 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10556 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10557 <bp-sym.h> and <bp-asm.h>.
10558 (memcpy): Don't use BP_SYM.
10559 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10560 <bp-sym.h> and <bp-asm.h>.
10561 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10562 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10563 <bp-sym.h> and <bp-asm.h>.
10564 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10565 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10567 (__mpn_lshift): Don't use BP_SYM.
10568 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10569 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10571 (memset): Don't use BP_SYM.
10572 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10573 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10574 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10576 (__mpn_mul_1): Don't use BP_SYM.
10577 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10578 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10579 <bp-sym.h> and <bp-asm.h>.
10580 (memcmp): Don't use BP_SYM.
10581 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10582 <bp-sym.h> and <bp-asm.h>.
10583 (memcpy): Don't use BP_SYM.
10584 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10585 <bp-sym.h> and <bp-asm.h>.
10586 (memset): Don't use BP_SYM.
10587 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10588 <bp-sym.h> and <bp-asm.h>.
10589 (strncmp): Don't use BP_SYM.
10590 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10591 <bp-sym.h> and <bp-asm.h>.
10592 (memcpy): Don't use BP_SYM.
10593 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10594 <bp-sym.h> and <bp-asm.h>.
10595 (memset): Don't use BP_SYM.
10596 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10597 <bp-sym.h> and <bp-asm.h>.
10598 (__memchr): Don't use BP_SYM.
10599 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10600 <bp-sym.h> and <bp-asm.h>.
10601 (memcmp): Don't use BP_SYM.
10602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10603 <bp-sym.h> and <bp-asm.h>.
10604 (memcpy): Don't use BP_SYM.
10605 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10606 <bp-sym.h> and <bp-asm.h>.
10607 (__mempcpy): Don't use BP_SYM.
10608 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10609 <bp-sym.h> and <bp-asm.h>.
10610 (__memrchr): Don't use BP_SYM.
10611 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10612 <bp-sym.h> and <bp-asm.h>.
10613 (memset): Don't use BP_SYM.
10614 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10615 <bp-sym.h> and <bp-asm.h>.
10616 (__rawmemchr): Don't use BP_SYM.
10617 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10618 <bp-sym.h> and <bp-asm.h>.
10619 (__STRCMP): Don't use BP_SYM.
10620 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10621 <bp-sym.h> and <bp-asm.h>.
10622 (strchr): Don't use BP_SYM.
10623 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10624 <bp-sym.h> and <bp-asm.h>.
10625 (__strchrnul): Don't use BP_SYM.
10626 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10627 <bp-sym.h> and <bp-asm.h>.
10628 (strlen): Don't use BP_SYM.
10629 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10630 <bp-sym.h> and <bp-asm.h>.
10631 (strncmp): Don't use BP_SYM.
10632 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10633 <bp-sym.h> and <bp-asm.h>.
10634 (__strnlen): Don't use BP_SYM.
10635 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10637 (__mpn_rshift): Don't use BP_SYM.
10638 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10639 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10640 <bp-sym.h> and <bp-asm.h>.
10641 (__sigsetjmp): Don't use BP_SYM.
10642 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10643 (L(start_addresses)): Don't use BP_SYM.
10644 (_start): Likewise.
10645 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10647 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10648 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10649 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10650 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10652 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10653 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10654 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10655 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10657 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10659 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10660 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10662 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10664 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10665 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10666 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10668 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10670 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10672 (strncmp): Don't use BP_SYM,
10673 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10675 (__mpn_sub_n): Don't use BP_SYM.
10676 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10677 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10679 (__mpn_submul_1): Don't use BP_SYM.
10680 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10682 <bp-sym.h> and <bp-asm.h>.
10683 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10685 <bp-sym.h> and <bp-asm.h>.
10686 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10689 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10692 Use ZK to minimize writes to Z.
10693 (sub_magnitudes): Simplify code a bit.
10694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10695 Use ZK to minimize writes to Z.
10696 (sub_magnitudes): Simplify code a bit.
10698 2013-02-27 Roland McGrath <roland@hack.frob.com>
10700 * csu/gmon-start.c: Add special exception to license text.
10702 2013-02-27 Richard Henderson <rth@redhat.com>
10704 * scripts/config.guess: Update from config.git.
10705 * scripts/config.sub: Likewise.
10707 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10711 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10713 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10715 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10717 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10719 2013-02-26 Roland McGrath <roland@hack.frob.com>
10721 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10722 [$(build-shared = yes].
10724 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10726 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10727 (__mul): Reduce iterations for calculating mantissa.
10729 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10731 (__mpranred): Likewise.
10734 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10735 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10737 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10739 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10740 Define __attribute__.
10742 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10744 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10746 * posix/regex_internal.h (__attribute): Remove.
10747 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10748 (re_string_context_at): Likewise.
10749 (bitset_not): Use __attribute__ and mark function as possibly
10751 (bitset_merge): Likewise.
10752 (bitset_mask): Likewise.
10753 (re_string_char_size_at): Likewise.
10754 (re_string_wchar_at): Likewise.
10755 (re_string_elem_size_at): Likewise.
10757 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10759 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10763 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10767 (denorm): Likewise.
10768 (__dbl_mp): Likewise.
10769 (add_magnitudes): Likewise.
10770 (sub_magnitudes): Likewise.
10774 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10777 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10780 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10784 up changes with default code.
10785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10788 2013-02-24 Allan McRae <allan@archlinux.org>
10790 * manual/socket.texi (The Internet Namespace): Order menu items
10791 to match that in the file.
10793 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10794 node listing of the info page menu.
10796 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10799 * sysdeps/i386/bp-asm.h: Remove file.
10800 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10801 (PARMS): Do not use macros from bp-asm.h.
10805 (__mpn_add_n): Do not use BP_SYM
10806 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10808 (PARMS): Do not use macros from bp-asm.h.
10811 (__mpn_addmul_1): Do not use BP_SYM
10812 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10814 (PARMS): Do not use macros from bp-asm.h.
10815 (SIGMSK): Likewise.
10816 (_setjmp): Likewise. Do not use BP_SYM.
10817 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10819 (PARMS): Do not use macros from bp-asm.h.
10820 (SIGMSK): Likewise.
10821 (setjmp): Likewise. Do not use BP_SYM.
10822 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10824 (PARMS): Do not use macros from bp-asm.h.
10825 (__frexp): Do not use BP_SYM.
10827 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10829 (PARMS): Do not use macros from bp-asm.h.
10830 (__frexpf): Do not use BP_SYM.
10831 (frexpf): Likewise.
10832 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10834 (PARMS): Do not use macros from bp-asm.h.
10835 (__frexpl): Do not use BP_SYM.
10836 (frexpl): Likewise.
10837 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10839 (PARMS): Do not use macros from bp-asm.h.
10840 (__remquo): Do not use BP_SYM.
10841 (remquo): Likewise.
10842 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10844 (PARMS): Do not use macros from bp-asm.h.
10845 (__remquof): Do not use BP_SYM.
10846 (remquof): Likewise.
10847 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10849 (PARMS): Do not use macros from bp-asm.h.
10850 (__remquol): Do not use BP_SYM.
10851 (remquol): Likewise.
10852 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10854 (PARMS): Do not use macros from bp-asm.h.
10857 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10858 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10860 (PARMS): Do not use macros from bp-asm.h.
10861 (strlen): Do not use BP_SYM.
10862 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10864 (PARMS): Do not use macros from bp-asm.h.
10868 (__mpn_add_n): Do not use BP_SYM.
10869 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10871 (PARMS): Do not use macros from bp-asm.h.
10874 (__mpn_addmul_1): Do not use BP_SYM.
10875 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10878 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10880 (PARMS): Do not use macros from bp-asm.h.
10883 (__mpn_lshift): Do not use BP_SYM.
10884 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10886 (PARMS): Do not use macros from bp-asm.h.
10890 (memcpy): Likewise. Do not use BP_SYM.
10891 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10892 libc_hidden_def and weak_alias.
10893 (mempcpy): Do not use BP_SYM in weak_alias.
10894 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10896 (PARMS): Do not use macros from bp-asm.h.
10899 [!BZERO_P] (CHR): Likewise.
10900 (memset): Likewise. Do not use BP_SYM.
10901 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10903 (PARMS): Do not use macros from bp-asm.h.
10906 (__mpn_mul_1): Do not use BP_SYM.
10907 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10909 (PARMS): Do not use macros from bp-asm.h.
10912 (__mpn_rshift): Do not use BP_SYM.
10913 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10915 (PARMS): Do not use macros from bp-asm.h.
10918 (strchr): Likewise. Do not use BP_SYM.
10919 (index): Do not use BP_SYM in weak_alias.
10920 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10922 (PARMS): Do not use macros from bp-asm.h.
10925 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10926 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10928 (PARMS): Do not use macros from bp-asm.h.
10929 (strlen): Do not use BP_SYM.
10930 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10932 (PARMS): Do not use macros from bp-asm.h.
10936 (__mpn_sub_n): Do not use BP_SYM.
10937 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10939 (PARMS): Do not use macros from bp-asm.h.
10942 (__mpn_submul_1): Do not use BP_SYM.
10943 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10945 (PARMS): Do not use macros from bp-asm.h.
10949 (__mpn_add_n): Do not use BP_SYM.
10950 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10953 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10955 (PARMS): Do not use macros from bp-asm.h.
10958 (memcmp): Do not use BP_SYM.
10959 (bcmp): Do not use BP_SYM in weak_alias.
10960 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10962 (PARMS): Do not use macros from bp-asm.h.
10966 (memcpy): Likewise. Do not use BP_SYM.
10967 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10969 (PARMS): Do not use macros from bp-asm.h.
10973 (memmove): Likewise. Do not use BP_SYM.
10974 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10976 (PARMS): Do not use macros from bp-asm.h.
10980 (__mempcpy): Likewise. Do not use BP_SYM.
10981 (mempcpy): Do not use BP_SYM in weak_alias.
10982 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10984 (PARMS): Do not use macros from bp-asm.h.
10987 [!BZERO_P] (CHR): Likewise.
10988 (memset): Likewise. Do not use BP_SYM.
10989 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10991 (PARMS): Do not use macros from bp-asm.h.
10993 (strcmp): Do not use BP_SYM.
10994 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10996 (PARMS): Do not use macros from bp-asm.h.
10999 [USE_AS_STRTOK_R] (SAVE): Likewise.
11000 (FUNCTION): Likewise. Do not use BP_SYM.
11001 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11003 (strtok_r): Likewise.
11004 (__GI___strtok_r): Likewise.
11005 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11006 (PARMS): Do not use macros from bp-asm.h.
11009 (__mpn_lshift): Do not use BP_SYM.
11010 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11011 (PARMS): Do not use macros from bp-asm.h.
11014 (__memchr): Do not use BP_SYM.
11015 (memchr): Do not use BP_SYM in weak_alias.
11016 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11017 (PARMS): Do not use macros from bp-asm.h.
11020 (memcmp): Do not use BP_SYM.
11021 (bcmp): Do not use BP_SYM in weak_alias.
11022 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11023 (PARMS): Do not use macros from bp-asm.h.
11026 (__mpn_mul_1): Do not use BP_SYM.
11027 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11029 (PARMS): Do not use macros from bp-asm.h.
11032 (__rawmemchr): Do not use BP_SYM.
11033 (rawmemchr): Do not use BP_SYM in weak_alias.
11034 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11035 (PARMS): Do not use macros from bp-asm.h.
11038 (__mpn_rshift): Do not use BP_SYM.
11039 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11040 (PARMS): Do not use macros from bp-asm.h.
11041 (SIGMSK): Likewise.
11042 (__sigsetjmp): Likewise. Do not use BP_SYM.
11043 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11044 (_start): Do not use BP_SYM.
11045 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11046 (PARMS): Do not use macros from bp-asm.h.
11049 (__stpcpy): Likewise. Do not use BP_SYM.
11050 (stpcpy): Do not use BP_SYM in weak_alias.
11051 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11053 (PARMS): Do not use macros from bp-asm.h.
11057 (__stpncpy): Likewise. Do not use BP_SYM.
11058 (stpncpy): Do not use BP_SYM in weak_alias.
11059 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11060 (PARMS): Do not use macros from bp-asm.h.
11063 (strchr): Likewise. Do not use BP_SYM.
11064 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11066 (PARMS): Do not use macros from bp-asm.h.
11069 (__strchrnul): Likewise. Do not use BP_SYM.
11070 (strchrnul): Do not use BP_SYM in weak_alias.
11071 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11073 (PARMS): Do not use macros from bp-asm.h.
11075 (strcspn): Do not use BP_SYM.
11076 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11078 (PARMS): Do not use macros from bp-asm.h.
11081 (strpbrk): Likewise. Do not use BP_SYM.
11082 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11084 (PARMS): Do not use macros from bp-asm.h.
11087 (strrchr): Likewise. Do not use BP_SYM.
11088 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11089 (PARMS): Do not use macros from bp-asm.h.
11091 (strspn): Do not use BP_SYM.
11092 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11093 (PARMS): Do not use macros from bp-asm.h.
11097 (FUNCTION): Likewise. Do not use BP_SYM.
11098 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11100 (strtok_r): Likewise.
11101 (__GI___strtok_r): Likewise.
11102 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11103 (PARMS): Do not use macros from bp-asm.h.
11107 (__mpn_sub_n): Do not use BP_SYM.
11108 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11110 (PARMS): Do not use macros from bp-asm.h.
11113 (__mpn_submul_1): Do not use BP_SYM.
11114 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11116 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11118 (PARMS): Do not use macros from bp-asm.h.
11123 (__clone): Do not use BP_SYM.
11124 (clone): Do not use BP_SYM in weak_alias.
11125 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11127 (PARMS): Do not use macros from bp-asm.h.
11129 (__mmap64): Do not use BP_SYM.
11130 (mmap64): Do not use BP_SYM in weak_alias.
11131 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11132 <bp-sym.h> and <bp-asm.h>.
11133 (PARMS): Do not use macros from bp-asm.h.
11134 (__posix_fadvise64_l64): Do not use BP_SYM.
11135 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11136 (PARMS): Do not use macros from bp-asm.h.
11138 (semtimedop): Do not use BP_SYM.
11139 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11142 2013-02-21 Allan McRae <allan@archlinux.org>
11144 * manual/message.texi (Charset conversion in gettext):
11145 Move @end statement to beginning of line.
11147 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11154 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11155 (denorm): Likewise.
11156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11159 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11161 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11162 tail-call to the resolved function if pltexit isn't needed.
11164 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11167 or Y being zero as being unlikely.
11168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11171 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11173 * manual/nss.texi (System Databases and Name Service Switch):
11174 Remove frobnicate @pxref.
11176 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11178 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11179 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11181 2013-02-20 Petr Machata <pmachata@redhat.com>
11183 * elf/elf.h (R_ARM_TARGET1): New macro.
11184 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11185 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11186 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11187 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11188 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11189 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11190 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11191 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11192 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11193 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11194 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11195 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11196 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11197 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11198 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11199 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11200 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11201 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11202 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11203 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11204 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11205 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11206 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11207 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11208 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11209 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11210 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11211 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11212 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11213 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11214 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11215 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11216 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11217 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11218 (R_ARM_THM_GOT_BREL12): Likewise.
11219 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11220 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11221 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11222 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11223 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11224 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11225 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11226 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11227 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11229 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11231 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11232 __attribute_used__ to __attribute__ ((unused)).
11234 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11236 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11239 comment formatting.
11240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11242 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11245 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11247 (ENTER): Remove both macro definitions.
11249 (CHECK_BOUNDS_LOW): Likewise.
11250 (CHECK_BOUNDS_HIGH): Likewise.
11251 (CHECK_BOUNDS_BOTH): Likewise.
11252 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11253 (RETURN_BOUNDED_POINTER): Likewise.
11254 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11255 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11256 (POP_ERRNO_LOCATION_RETURN): Likewise.
11257 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11258 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11259 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11261 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11262 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11263 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11264 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11265 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11266 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11267 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11268 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11269 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11270 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11271 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11272 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11273 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11274 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11276 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11277 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11279 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11280 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11281 * sysdeps/i386/i586/memset.S (memset): Likewise.
11282 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11283 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11284 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11286 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11287 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11288 Change uses of L(2) to L(out).
11289 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11290 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11291 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11292 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11293 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11295 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11296 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11298 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11299 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11300 (RETURN): Do not use macro LEAVE.
11301 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11302 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11303 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11304 * sysdeps/i386/i686/memset.S (memset): Likewise.
11305 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11306 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11307 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11308 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11310 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11311 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11312 L(1_2) and L(1_3) into L(1).
11313 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11314 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11315 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11316 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11317 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11318 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11319 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11320 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11321 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11323 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11324 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11325 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11326 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11327 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11328 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11329 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11330 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11331 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11332 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11333 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11334 * sysdeps/i386/strspn.S (strspn): Likewise.
11335 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11337 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11338 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11339 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11340 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11341 L(1_3) into L(1_1).
11342 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11343 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11344 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11346 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11348 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11350 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11353 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11355 * math/atest-exp.c (exp_mpn): Remove ROUND.
11356 * math/atest-exp2.c (exp_mpn): Likewise.
11357 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11359 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11360 * stdlib/tst-tls-atexit-lib.c: Likewise.
11361 * stdlib/tst-tls-atexit.c: Likewise.
11363 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11365 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11366 and __attribute_alloc_size__.
11368 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11370 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11371 __attribute_alloc_size__.
11372 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11373 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11375 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11377 * include/programs/xmalloc.h: New file.
11378 * catgets/gencat.c: Include it.
11379 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11380 * elf/pldd.c: Likewise.
11381 * iconv/iconv_charmap.c: Likewise.
11382 * iconv/iconvconfig.c: Likewise.
11383 * iconv/strtab.c: Likewise.
11384 * locale/programs/locale.c: Likewise.
11385 * locale/programs/localedef.h: Likewise.
11386 * locale/programs/simple-hash.c: Likewise.
11387 * nscd/nscd.h: Likewise.
11388 * nss/makedb.c: Likewise.
11389 * sysdeps/generic/ldconfig.h: Likewise.
11391 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11393 * Versions.def: Add GLIBC_2.18.
11394 * include/link.h (struct link_map): New member l_tls_dtor_count.
11395 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11396 (__call_tls_dtors): Likewise.
11397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11398 __cxa_thread_atexit_impl.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11415 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11416 (tests): Add test case tst-tls-atexit.
11417 (modules-names): Add shared library for tst-tls-atexit.
11418 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11419 (GLIBC_PRIVATE): Add __call_tls_dtors.
11420 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11422 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11423 * stdlib/tst-tls-atexit.c: New test case.
11424 * stdlib/tst-tls-atexit-lib.c: New test case.
11426 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11428 * elf/Versions (ld): Add _dl_find_dso_for_object.
11429 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11430 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11431 (dl_open_worker): Use _dl_find_dso_for_object.
11432 * elf/dl-sym.c (do_sym): Likewise.
11433 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11435 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11437 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11438 Syntactic changes only.
11439 (_dl_runtime_profile): Do a tail-call to the resolved function.
11441 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11444 * sysdeps/x86_64/bp-asm.h: Remove file.
11445 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11446 <bp-sym.h> and <bp-asm.h>.
11447 (__clone): Do not use BP_SYM.
11448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11449 <bp-sym.h> and <bp-asm.h>.
11450 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11451 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11453 (_setjmp): Do not use BP_SYM.
11454 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11456 (setjmp): Do not use BP_SYM.
11457 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11459 (mempcpy): Do not use BP_SYM in weak_alias.
11460 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11462 (strchr): Do not use BP_SYM.
11463 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11465 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11466 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11467 (_start): Do not use BP_SYM.
11468 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11470 (strcat): Do not use BP_SYM.
11471 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11473 (STRCMP): Do not use BP_SYM.
11474 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11476 (STRCPY): Do not use BP_SYM.
11477 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11479 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11481 (FUNCTION): Do not use BP_SYM.
11482 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11484 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11486 2013-02-17 Andreas Jaeger <aj@suse.de>
11488 * time/Versions: Sort entries.
11489 * string/Versions: Likewise.
11490 * resolv/Versions: Likewise.
11491 * posix/Versions: Likewise.
11492 * iconv/Versions: Likewise.
11493 * elf/Versions: Likewise.
11494 * wcsmbs/Versions: Likewise.
11496 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11498 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11499 loop termination condition.
11501 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11502 variable to calculate EZ.
11505 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11506 the lower precision input.
11508 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11511 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11512 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11513 (run-via-rtld-prefix): Do not handle %-bp tests.
11514 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11515 (all-object-suffixes): Remove .ob.
11516 (bppfx): Remove variable.
11517 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11518 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11519 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11520 [$(build-bounded) = yes] (libtype.ob): Likewise.
11521 * Makerules (elide-routines.ob): Remove variable.
11522 (do-tests-clean): Do not handle *-bp.out.
11523 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11524 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11525 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11526 (tests): Do not include $(tests-bp.out).
11527 (xtests): Do not include $(xtests-bp.out).
11528 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11529 [$(build-bounded) = yes] ($(addprefix
11530 $(objpfx),$(binaries-bounded))): Remove rule.
11531 ($(objpfx)%-bp.out): Remove rule.
11532 * config.make.in (build-bounded): Remove variable.
11533 * crypt/Makefile [$(build-bounded) = yes]
11534 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11535 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11536 append to variable.
11537 [$(build-bounded) = yes] (install-lib): Likewise.
11538 [$(build-bounded) = yes] (generated): Likewise.
11539 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11541 * intl/Makefile [$(build-bounded) = yes]
11542 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11543 * math/Makefile [$(build-bounded) = yes]
11544 ($(tests:%=$(objpfx)%-bp): Likewise.
11545 * misc/Makefile [$(build-bounded) = yes]
11546 ($(objpfx)tst-tsearch-bp): Likewise.
11547 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11548 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11550 * string/Makefile (o-objects.ob): Remove variable.
11551 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11552 (CFLAGS-.ob): Remove variable.
11553 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11554 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11555 both definitions of variable.
11556 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11557 (ASFLAGS-.ob): Remove variable.
11559 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11562 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11563 Remove __BOUNDED_POINTERS__ from condition.
11564 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11565 * string/bits/string2.h [!__NO_STRING_INLINES &&
11566 !__BOUNDED_POINTERS__]: Likewise.
11567 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11569 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11570 Remove conditional code.
11571 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11572 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11573 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11577 * csu/libc-start.c: Do not include <bp-sym.h>.
11578 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11579 * elf/dl-open.c: Do not include <bp-sym.h>.
11580 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11581 * math/fegetenv.c: Do not include <bp-sym.h>.
11582 (fegetenv): Do not use BP_SYM in versioned symbols.
11583 * nptl/sysdeps/pthread/bits/libc-lockP.h
11584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11587 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11589 (__pthread_mutex_destroy): Likewise.
11590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11591 (__pthread_mutex_lock): Likewise.
11592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11593 (__pthread_mutex_trylock): Likewise.
11594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11595 (__pthread_mutex_unlock): Likewise.
11596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11597 (__pthread_mutexattr_init): Likewise.
11598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11599 (__pthread_mutexattr_destroy): Likewise.
11600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11601 (__pthread_mutexattr_settype): Likewise.
11602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11603 (__pthread_rwlock_init): Likewise.
11604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11605 (__pthread_rwlock_destroy): Likewise.
11606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11607 (__pthread_rwlock_rdlock): Likewise.
11608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11609 (__pthread_rwlock_tryrdlock): Likewise.
11610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11611 (__pthread_rwlock_wrlock): Likewise.
11612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11613 (__pthread_rwlock_trywrlock): Likewise.
11614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11615 (__pthread_rwlock_unlock): Likewise.
11616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11617 (__pthread_key_create): Likewise.
11618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11619 (__pthread_setspecific): Likewise.
11620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11621 (__pthread_getspecific): Likewise.
11622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11625 (_pthread_cleanup_push_defer): Likewise.
11626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11627 (_pthread_cleanup_pop_restore): Likewise.
11628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11629 (pthread_setcancelstate): Likewise.
11630 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11632 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11633 (memchr): Do not use BP_SYM in weak_alias.
11634 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11635 (fegetenv): Do not use BP_SYM in versioned symbols.
11636 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11637 (fesetenv): Do not use BP_SYM in versioned symbols.
11638 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11639 (feupdateenv): Do not use BP_SYM in versioned symbols.
11640 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11641 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11642 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11643 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11644 (open64): Do not use BP_SYM in weak_alias.
11645 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11646 (fegetenv): Do not use BP_SYM in versioned symbols.
11647 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11648 (fesetenv): Do not use BP_SYM in versioned symbols.
11649 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11650 (feupdateenv): Do not use BP_SYM in versioned symbols.
11651 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11652 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11653 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11654 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11655 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11656 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11657 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11659 (__libc_start_main): Do not use BP_SYM.
11661 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11664 redundant return line.
11666 (denorm): Likewise.
11667 (dbl_mp): Likewise.
11668 (sub_magnitudes): Likewise.
11674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11676 (denorm): Likewise.
11677 (dbl_mp): Likewise.
11678 (sub_magnitudes): Likewise.
11685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11687 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11688 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11691 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11692 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11694 of __mul for squares.
11695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11699 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11700 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11702 2013-02-13 Joseph Myers <joseph@codesourcery.com>
11705 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11707 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11708 prototype or function definition. Rename ubp_* variables and
11709 parameters. Remove argv definitions conditional on
11710 [__BOUNDED_POINTERS__].
11711 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11712 * elf/dl-runtime.c (_dl_fixup): Likewise.
11713 * include/set-hooks.h (RUN_HOOK): Likewise.
11714 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11716 * string/strcpy.c (strcpy): Do not use __unbounded.
11717 * sysdeps/generic/frame.h (struct layout): Likewise.
11718 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11719 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11720 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11721 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11722 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11723 (__backtrace): Likewise.
11724 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11726 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11727 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11728 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11730 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11731 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11732 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11733 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11734 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11735 Do not use __unbounded.
11736 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11737 Rename __unboundedrlimits parameter to rlimits in prototype.
11738 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11739 Do not use __unbounded.
11740 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11741 not use __ptrvalue.
11742 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11743 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11744 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11745 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11746 __ptrvalue or __unbounded.
11747 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11748 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11750 (__new_msgctl): Do not use __ptrvalue.
11751 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11753 (__libc_msgrcv): Do not use __ptrvalue.
11754 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11755 startup_info): Do not use __unbounded.
11756 (__libc_start_main): Likewise. Rename ubp_* variables and
11757 parameters. Remove argv definitions conditional on
11758 [__BOUNDED_POINTERS__].
11759 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11761 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11763 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11765 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11767 (__new_shmctl): Do not use __ptrvalue.
11768 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11769 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11771 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11773 (__libc_sigaction): Likewise.
11774 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11777 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11779 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11781 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11783 * string/mempcpy.c: Implement by calling memcpy.
11785 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11792 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11793 values in the mantissa.
11795 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11796 minimize writes to Z.
11797 (sub_magnitudes): Simplify code a bit.
11799 2013-02-12 Roland McGrath <roland@hack.frob.com>
11801 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11802 from the message. The linker prefixes all warnings with that already.
11804 2013-02-12 Andreas Schwab <schwab@suse.de>
11807 * posix/regexec.c (extend_buffers): Add parameter min_len.
11808 (check_matching): Pass minimum needed length.
11809 (clean_state_log_if_needed): Likewise.
11810 (get_subexp): Likewise.
11811 * posix/Makefile (tests): Add bug-regex34.
11812 (bug-regex34-ENV): Define.
11813 * posix/bug-regex34.c: New file.
11816 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11817 elements compare against the byte sequence of it, not its name.
11818 * posix/Makefile (tests): Add bug-regex35.
11819 (bug-regex35-ENV): Define.
11820 * posix/bug-regex35.c: New file.
11822 2013-02-11 Tom de Vries <tom@codesourcery.com>
11824 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11826 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11827 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11828 (CHECK_EOL): Add undef.
11830 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11832 * bits/stdlib-bsearch.h: New file.
11833 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11834 * stdlib/stdlib.h: Likewise.
11836 2013-02-11 Roland McGrath <roland@hack.frob.com>
11838 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11839 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11841 * manual/search.texi (Array Search Function): Add missing const in
11843 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11844 declaration to use rlim_t.
11845 (Basic Scheduling Functions): Remove erroneous const from
11846 sched_getparam prototype. Remove erroneous * from
11847 sched_get_priority_max and sched_get_priority_min prototypes.
11848 (Resource Usage): Fix summary @comment on vtimes to refer to
11849 sys/vtimes.h rather than vtimes.h.
11850 Add missing *s in vtimes prototype.
11851 (Limits on Resources): Fix ulimit prototype to return long int.
11852 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11853 prototypes to use long int rather than double.
11854 (BSD Random): Fix initstate and setstate to use char *, not void *.
11855 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11856 prototype to make second argument 'struct aiocb64 *const[]'.
11857 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11858 (Status of AIO Operations): Remove erroneous const in aio_return and
11859 aio_return64 prototypes.
11860 (Synchronizing I/O): Fix sync prototype to return void.
11861 * manual/startup.texi (Suboptions): Remove an erroneous const in
11862 getsubopt prototype.
11863 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11864 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11865 use size_t rather than int.
11866 (Scanning All Users): Likewise for getpwent_r.
11867 (Setting Groups): Add missing const to setgroups prototype.
11868 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11869 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11870 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11871 'const void *' rather than 'const char *'.
11872 (Host Address Functions): Likewise for inet_ntop.
11873 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11874 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11875 ssize_t for return value.
11876 (Sending Data): Likewise for send, sendto, sendmsg.
11877 (Socket Option Functions): Add a missing const in setsockopt prototype.
11878 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11879 use wchar_t for the argument.
11880 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11881 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11883 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11884 double/float/long double for second argument.
11885 Fix return types of significand, significandf, significandl.
11886 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11887 argument in fchmod prototype.
11888 (File Owner): Use uid_t and gid_t in fchown prototype.
11889 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11890 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11891 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11892 use 'const struct dirent **' as argument types to CMP function pointer
11894 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11895 (File Times): Fix summary magic @comment for struct utimbuf and utime
11896 to refer to utime.h, not time.h.
11897 * manual/string.texi (Argz Functions): Add missing const in
11898 argz_extract and argz_next prototypes.
11899 (Finding Tokens in a String): Likewise for basename.
11900 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11901 (Copying and Concatenation): Fix typo in wmemmove prototype.
11902 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11903 (Signal Stack): Remove erroneous const in sigstack prototype.
11904 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11906 (Simple Calendar Time): Likewise for stime.
11907 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11909 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11910 say sys/sysctl.h instead.
11911 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11912 and vsyslog prototypes.
11914 2013-02-11 Tom de Vries <tom@codesourcery.com>
11916 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11919 2013-02-11 Roland McGrath <roland@hack.frob.com>
11921 * misc/sys/mman.h: Fix typo in mremap comment.
11923 2013-02-08 Roland McGrath <roland@hack.frob.com>
11925 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11926 the '\0' terminator.
11928 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11931 * debug/segfault.c: Don't include <bp-checks.h>.
11932 * sysdeps/generic/bp-checks.h: Remove file.
11933 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11934 (__GETDENTS): Don't use CHECK_N.
11935 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11936 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11937 (__getgroups): Don't use CHECK_N.
11938 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11939 (setgroups): Don't use CHECK_N.
11940 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11941 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11942 (__libc_msgrcv): Don't use CHECK_N.
11943 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11944 (__libc_msgsnd): Don't use CHECK_N.
11945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11947 (__libc_pread): Don't use CHECK_N.
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11949 include <bp-checks.h>.
11950 (__libc_pread64): Don't use CHECK_N.
11951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11952 include <bp-checks.h>.
11953 (__libc_pwrite): Don't use CHECK_N.
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11955 include <bp-checks.h>.
11956 (__libc_pwrite64): Don't use CHECK_N.
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11959 (__libc_pread): Don't use CHECK_N.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11961 include <bp-checks.h>.
11962 (__libc_pread64): Don't use CHECK_N.
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11964 include <bp-checks.h>.
11965 (__libc_pwrite): Don't use CHECK_N.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11967 include <bp-checks.h>.
11968 (__libc_pwrite64): Don't use CHECK_N.
11969 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11970 (do_pread): Don't use CHECK_N.
11971 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11972 (do_pread64): Don't use CHECK_N.
11973 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11974 (do_pwrite): Don't use CHECK_N.
11975 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11976 (do_pwrite64): Don't use CHECK_N.
11977 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11978 (__libc_readv): Don't use CHECK_N.
11979 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11980 (semop): Don't use CHECK_N.
11981 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11983 (semtimedop): Don't use CHECK_N.
11984 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11985 (__libc_pread): Don't use CHECK_N.
11986 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11988 (__libc_pread64): Don't use CHECK_N.
11989 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11991 (__libc_pwrite): Don't use CHECK_N.
11992 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11994 (__libc_pwrite64): Don't use CHECK_N.
11995 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11997 (__libc_msgrcv): Don't use CHECK_N.
11998 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11999 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12000 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12001 (__libc_writev): Don't use CHECK_N.
12003 2013-02-08 Roland McGrath <roland@hack.frob.com>
12005 * string/strcpy.c: Removed unused variable.
12007 * Makeconfig (+sysdep-includes): Define with := rather than =.
12008 Use an existing include/ subdir of each sysdeps dir before it.
12010 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12012 * nscd/connection.c (register_traced_file): Comment function.
12013 [HAVE_INOTIFY] (union __inev): Define.
12014 [HAVE_INOTIFY] (inotify_check_files): New function.
12015 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12016 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12018 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12020 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12022 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12023 loaded if not already and that a failure is permanent.
12025 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12028 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12029 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12031 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12034 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12035 (CHECK_1_NULL_OK): Likewise.
12036 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12037 (__fxstat): Do not use CHECK_1.
12038 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12040 (___fxstat64): Do not use CHECK_1.
12041 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12043 (__fxstatat): Do not use CHECK_1.
12044 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12046 (__fxstatat64): Do not use CHECK_1.
12047 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12049 (__fxstat): Do not use CHECK_1.
12050 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12052 (__fxstatat): Do not use CHECK_1.
12053 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12055 (__getresgid): Do not use CHECK_1.
12056 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12058 (__getresuid): Do not use CHECK_1.
12059 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12061 (__lxstat): Do not use CHECK_1.
12062 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12064 (__old_msgctl): Do not use CHECK_1.
12065 (__new_msgctl): Likewise.
12066 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12068 (__new_setrlimit): Do not use CHECK_1.
12069 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12071 (__old_shmctl): Do not use CHECK_1.
12072 (__new_shmctl): Likewise.
12073 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12075 (__xstat): Do not use CHECK_1.
12076 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12077 (__lxstat): Do not use CHECK_1.
12078 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12080 (___lxstat64): Do not use CHECK_1.
12081 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12082 (__old_msgctl): Do not use CHECK_1.
12083 (__new_msgctl): Likewise.
12084 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12086 (__gettimeofday): Do not use CHECK_1.
12087 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12088 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12089 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12091 (__gettimeofday): Do not use CHECK_1.
12092 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12093 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12094 (__new_shmctl): Do not use CHECK_1.
12095 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12097 (do_sigtimedwait): Do not use CHECK_1.
12098 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12100 (do_sigwaitinfo): Do not use CHECK_1.
12101 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12103 (msgctl): Do not use CHECK_1.
12104 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12106 (shmctl): Do not use CHECK_1.
12107 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12108 (ustat): Do not use CHECK_1.
12109 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12111 (__fxstat): Do not use CHECK_1.
12112 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12114 (__fxstatat): Do not use CHECK_1.
12115 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12117 (__lxstat): Do not use CHECK_1.
12118 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12120 (__xstat): Do not use CHECK_1.
12121 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12122 (__xstat): Do not use CHECK_1.
12123 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12124 (___xstat64): Do not use CHECK_1.
12127 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12129 (CHECK_BOUNDS_HIGH): Likewise.
12130 * string/strcpy.c: Do not include <bp-checks.h>.
12131 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12133 2013-02-07 Roland McGrath <roland@hack.frob.com>
12135 * nscd/nscd-client.h (__nscd_drop_map_ref):
12136 Add __attribute__ ((unused)).
12137 * nis/nss-nisplus.h (niserr2nss): Likewise.
12139 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12140 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12142 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12143 Remove inline keyword.
12144 * include/rounding-mode.h (round_away): Likewise.
12145 * libio/wfileops.c (adjust_wide_data): Likewise.
12146 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12147 (__m128i_strloadu_tolower): Likewise.
12148 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12149 (__m128i_strloadu_tolower): Likewise.
12150 * time/mktime.c (ydhms_diff): Likewise.
12151 * locale/elem-hash.h (elem_hash): Likewise.
12152 * locale/setlocale.c (setdata): Likewise.
12153 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12154 (re_string_wchar_at): Likewise.
12155 (bitset_not, bitset_merge, bitset_mask): Likewise.
12156 [!(__GNUC__ > 3)] (inline): Remove macro.
12157 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12158 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12159 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12160 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12161 * string/memcmp.c (memcmp_bytes): Likewise.
12162 * locale/programs/locarchive.c (compute_hashval): Likewise.
12163 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12164 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12165 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12166 * nss/getent.c (print_rpc, print_protocols): Likewise.
12167 (print_passwd, print_group, print_aliases): Likewise.
12168 * nis/nss-nisplus.h (niserr2nss): Likewise.
12169 * nscd/connections.c (restart_p): Likewise.
12170 Change return type to bool.
12172 2013-02-05 Roland McGrath <roland@hack.frob.com>
12174 * Makeconfig (all-Depend-files): Add existing
12175 $(sorted-subdirs:=/Depend) files.
12176 (all-subdirs): Remove nss.
12177 * sysdeps/unix/inet/Subdirs: Add it here instead.
12178 * hesiod/Depend: New file.
12180 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12181 instead of calling alloca.
12183 * io/lseek.c (__lseek): Rename to __libc_lseek.
12184 Define __lseek as an alias.
12186 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12188 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12190 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12191 else clause and remove check for non-standard endianness.
12193 2013-02-04 David S. Miller <davem@davemloft.net>
12195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12197 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12200 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12201 (__ubp_memchr): Remove prototype.
12202 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12203 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12204 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12205 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12206 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12208 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12209 (__ubp_memchr): Likewise.
12210 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12211 (__ubp_memchr): Likewise.
12212 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12213 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12214 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12215 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12217 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12218 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12219 (__getcwd): Do not use CHECK_STRING.
12220 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12222 (__real_chown): Do not use CHECK_STRING.
12223 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12225 (fchownat): Do not use CHECK_STRING.
12226 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12228 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12230 (__lchown): Do not use CHECK_STRING.
12231 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12232 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12233 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12234 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12236 include <bp-checks.h>.
12237 (truncate64): Do not use CHECK_STRING.
12238 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12240 (__real_chown): Do not use CHECK_STRING.
12241 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12243 (__lchown): Do not use CHECK_STRING.
12244 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12246 (__chown): Do not use CHECK_STRING.
12247 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12249 (truncate64): Do not use CHECK_STRING.
12250 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12252 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12253 (__xmknod): Do not use CHECK_STRING.
12254 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12256 (__xmknodat): Do not use CHECK_STRING.
12257 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12258 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12260 2013-02-04 Andreas Schwab <schwab@suse.de>
12263 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12264 * include/netdb.h: Likewise for h_errno.
12265 * elf/tst-stackguard1.c: Include <tls.h>.
12267 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12269 * elf/link.h (struct link_map): Extend the l_addr comment.
12270 * include/link.h (struct link_map): Likewise.
12272 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12275 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12276 (BOUNDED_1): Remove macro.
12277 * debug/backtrace.c: Don't include <bp-checks.h>.
12278 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12279 (__backtrace): Likewise.
12280 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12282 (__backtrace): Don't use BOUNDED_1.
12283 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12285 (__backtrace): Don't use BOUNDED_1.
12286 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12287 (__backtrace): Don't use BOUNDED_1.
12288 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12289 (shmat): Don't use BOUNDED_N.
12291 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12294 * sysdeps/generic/bp-start.h: Remove file.
12295 * csu/libc-start.c: Don't include <bp-start.h>.
12296 (LIBC_START_MAIN): Set up __environ directly instead of using
12297 INIT_ARGV_and_ENVIRON.
12298 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12302 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12304 (CHECK_FCNTL): Likewise.
12305 (CHECK_N_PAGES): Likewise.
12308 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12310 (CHECK_SIGSET_NULL_OK): Likewise.
12311 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12313 (sigpending): Don't use CHECK_SIGSET.
12314 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12316 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12317 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12319 (do_sigsuspend): Don't use CHECK_SIGSET.
12320 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12322 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12323 (do_sigwait): Don't use CHECK_SIGSET.
12324 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12327 include <bp-checks.h>.
12328 (sigpending): Don't use CHECK_SIGSET.
12329 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12330 include <bp-checks.h>.
12331 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12332 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12334 (sigpending): Don't use CHECK_SIGSET.
12335 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12337 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12340 * sysdeps/generic/bp-semctl.h: Remove file.
12341 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12342 <bp-checks.h> and <bp-semctl.h>.
12343 (__old_semctl): Don't use CHECK_SEMCTL.
12344 (__new_semctl): Likewise.
12345 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12347 (__old_semctl): Don't use CHECK_SEMCTL.
12348 (__new_semctl): Likewise.
12349 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12350 <bp-checks.h> and <bp-semctl.h>.
12351 (__old_semctl): Don't use CHECK_SEMCTL.
12352 (__new_semctl): Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12354 <bp-checks.h> and <bp-semctl.h>.
12355 (semctl): Don't use CHECK_SEMCTL.
12358 * Makerules (elide-bp-thunks): Remove variable.
12359 (elide-routines.oS): Don't use $(elide-bp-thunks).
12360 (elide-routines.os): Likewise.
12361 (elide-routines.o): Likewise.
12362 (elide-routines.op): Likewise.
12363 (elide-routines.og): Likewise.
12364 (objects): Don't use $(bp-thunks).
12365 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12367 (common-generated): Do not add s-proto-bp.d.
12368 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12371 Do not generate makefile rules for bounded-pointer thunks.
12372 * sysdeps/generic/bp-thunks.h: Remove file.
12373 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12374 * sysdeps/unix/s-proto-bp.S: Likewise.
12377 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12378 parts of result separately when argument is not close to line from
12379 -i to i and one part of argument is small.
12380 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12381 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12382 * math/libm-test.inc (cacos_test): Add more tests.
12383 (casin_test): Likewise.
12384 (casinh_test): Likewise.
12385 * sysdeps/i386/fpu/libm-test-ulps: Update.
12386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12388 2013-01-31 David S. Miller <davem@davemloft.net>
12390 * po/de.po: Update from translation team.
12392 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12394 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12396 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12398 * configure.in (_AC_PROG_CC_C89): New definition.
12399 * configure: Regenerate.
12401 * configure.in (AC_PROG_CPP): New definition.
12402 * configure: Regenerate.
12404 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12406 * debug/tst-backtrace.h: New file.
12407 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12408 (ret): Remove variable.
12410 (FAIL): Remove macro.
12411 (NO_INLINE): Likewise.
12412 (fn1): Use match function instead of strstr.
12413 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12414 (ret): Remove variable.
12416 (FAIL): Remove macro.
12417 (NO_INLINE): Likewise.
12418 (fn): Use match function instead of strstr.
12419 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12420 (ret): Remove variable.
12422 (FAIL): Remove macro.
12423 (NO_INLINE): Likewise.
12424 (handle_signal): Use match function instead of strstr.
12425 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12426 (ret): Remove variable.
12428 (FAIL): Remove macro.
12429 (NO_INLINE): Likewise.
12430 (handle_signal): Use match function instead of strstr.
12432 2013-01-23 Roland McGrath <roland@hack.frob.com>
12434 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12436 2013-01-23 David S. Miller <davem@davemloft.net>
12438 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12439 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12440 argument of CAS if possible.
12441 * sysdeps/sparc/sparc64/bits/atomic.h
12442 (__arch_compare_and_exchange_val_32_acq): Likewise.
12443 (__arch_compare_and_exchange_val_64_acq): Likewise.
12445 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12447 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12448 * sysdeps/posix/ulimit.c: ... this.
12449 Include <limits.h>.
12450 * sysdeps/unix/bsd/ulimit.c: Remove file.
12452 2013-01-23 Adam Conrad <adconrad@0c3.net>
12454 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12455 (LDFLAGS-tst-array5): Likewise.
12457 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12460 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12461 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12462 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12463 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12465 2013-01-21 David S. Miller <davem@davemloft.net>
12467 * sysdeps/sparc/backtrace.c: New file.
12468 * sysdeps/sparc/sparc32/backtrace.h: New file.
12469 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12470 * sysdeps/sparc/sparc64/backtrace.h: New file.
12471 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12472 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12475 2013-01-21 Andreas Schwab <schwab@suse.de>
12478 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12481 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12487 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12488 Mark Mitchell <mark@codesourcery.com>
12489 Tom de Vries <tom@codesourcery.com>
12490 Paul Pluzhnikov <ppluzhnikov@google.com>
12492 * debug/tst-backtrace2.c: New file.
12493 * debug/tst-backtrace3.c: Likewise.
12494 * debug/tst-backtrace4.c: Likewise.
12495 * debug/tst-backtrace5.c: Likewise.
12496 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12497 (CFLAGS-tst-backtrace3.c): Likewise.
12498 (CFLAGS-tst-backtrace4.c): Likewise.
12499 (CFLAGS-tst-backtrace5.c): Likewise.
12500 (LDFLAGS-tst-backtrace2): Likewise.
12501 (LDFLAGS-tst-backtrace3): Likewise.
12502 (LDFLAGS-tst-backtrace4): Likewise.
12503 (LDFLAGS-tst-backtrace5): Likewise.
12504 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12505 tst-backtrace4 and tst-backtrace5.
12507 2013-01-18 Anton Blanchard <anton@samba.org>
12508 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12510 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12511 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12512 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12513 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12515 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12516 "+r" and remove output regs list as redundant. Add explicit inline
12517 asm to specify register of return val to work around compiler codegen
12518 bug. Remove (int) cast on return value. Add return type parameter to
12519 use in macro so that this macro does not truncate return value for
12521 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12522 pass to INTERNAL_VSYSCALL_NCS.
12523 (INLINE_VSYSCALL): Add 'long int' as return type to
12524 INTERNAL_VSYSCALL_NCS macro invocation.
12525 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12526 INTERNAL_VSYSCALL_NCS macro invocation.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12529 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12532 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12533 Fix application of SIMD FP exception mask.
12535 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12536 mp_no from a power of two.
12537 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12538 __mpexp_twomm1. Use __pow_mp.
12540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12543 2013-01-17 David S. Miller <davem@davemloft.net>
12545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12547 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12550 * include/complex.h: Condition contents on [!_COMPLEX_H].
12551 (__kernel_casinhf): New prototype.
12552 (__kernel_casinh): Likewise.
12553 (__kernel_casinhl): Likewise.
12554 * math/Makefile (libm_calls): Add k_casinh.
12555 * math/k_casinh.c: New file.
12556 * math/k_casinhf.c: Likewise.
12557 * math/k_casinhl.c: Likewise.
12558 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12559 finite nonzero arguments.
12560 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12561 finite nonzero arguments.
12562 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12563 finite nonzero arguments.
12564 * math/s_casinh.c: Do not include <float.h>.
12565 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12566 * math/s_casinhf.c: Do not include <float.h>.
12567 (__casinhf): Move code for finite nonzero arguments to
12569 * math/s_casinhl.c: Do not include <float.h>.
12570 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12572 (__casinhl): Move code for finite nonzero arguments to
12574 * math/libm-test.inc (cacos_test): Add more tests.
12575 * sysdeps/i386/fpu/libm-test-ulps: Update.
12576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12578 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12580 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12581 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12582 [!HAVE_MREMAP]: Remove [defined linux] case.
12583 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12585 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12587 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12589 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12591 * elf/elf.h (R_386_SIZE32): New relocation.
12592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12594 (elf_machine_rela): Likewise.
12595 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12596 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12598 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12600 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12601 (FP_FAST_FMA): Do not define.
12602 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12603 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12604 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12605 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12606 !_SOFT_FLOAT]: Likewise.
12607 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12608 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12610 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12611 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12612 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12613 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12614 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12615 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12618 2013-01-16 Andreas Schwab <schwab@suse.de>
12621 * include/stdlib.h (__mktemp): Add declaration.
12622 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12623 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12625 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12627 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12629 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12630 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12631 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12633 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12634 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12636 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12638 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12639 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12640 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12642 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12643 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12645 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12647 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12649 2013-01-15 David S. Miller <davem@davemloft.net>
12651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12652 trunc{,f} to libm-sysdep_routes.
12653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12663 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12664 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12665 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12666 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12667 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12668 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12671 nearbyint{,f} to libm-sysdep_routes.
12672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12683 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12686 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12688 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12689 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12690 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12692 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12693 libc_feholdexcept and libc_fesetenv.
12695 2013-01-15 Mike Frysinger <vapier@gentoo.org>
12697 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12699 2013-01-14 David S. Miller <davem@davemloft.net>
12701 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12702 (SPARC_ASM_VIS2_IFUNC): Likewise.
12703 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12705 use of 'siam' instruction.
12706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12739 routines to libm-sysdep_routines.
12740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12743 fdim/fdimf to libm-sysdep_routines.
12744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12752 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12753 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12754 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12755 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12757 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12759 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12760 to optimize copies.
12762 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12767 local variable MPTWO.
12768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12771 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12773 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12776 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12778 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12780 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12782 * manual/pattern.texi (glob_t): Document gl_flags.
12783 (glob64_t): Likewise.
12785 2013-01-11 David S. Miller <davem@davemloft.net>
12787 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12788 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12789 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12790 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12791 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12792 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12793 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12794 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12795 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12796 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12797 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12798 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12799 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12801 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12802 sparc V9 rather than using V8 code.
12803 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12804 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12806 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12808 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12811 2013-01-11 Roland McGrath <roland@hack.frob.com>
12813 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12814 not in the main loop.
12815 * configure: Regenerated.
12817 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12819 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12820 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12822 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12823 [!__GLIBC_HAVE_LONG_LONG] case.
12824 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12825 condition to just #else.
12826 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12827 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12828 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12829 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12831 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12832 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12833 #elif condition to just #else.
12834 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12835 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12836 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12837 #elif condition to just #else.
12839 2013-01-11 Steve Ellcey <sellcey@mips.com>
12841 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12842 (EF_MIPS_ARCH_64): Fix value.
12843 (EF_MIPS_ARCH_32R2): New.
12844 (EF_MIPS_ARCH_64R2): New.
12846 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12848 * Makeconfig (+link-pie-before-libc): New.
12849 (+link-pie-after-libc): Likewise.
12850 (+link-pie-tests): Likewise.
12851 (+link-pie): Rewritten.
12852 (link-before-libc): Remove $(config-LDFLAGS).
12853 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12854 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12855 (config-LDFLAGS): Renamed to ...
12856 (rtld-LDFLAGS): This.
12857 (rtld-tests-LDFLAGS): New macro.
12858 (link-libc-rpath-link): Likewise.
12859 (link-libc-tests-rpath-link): Likewise.
12860 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12861 (link-libc): Prepand $(link-libc-rpath-link).
12862 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12863 (test-program-prefix): New macro.
12864 (test-via-rtld-prefix): Likewise.
12865 (test-program-cmd): Likewise.
12866 (host-test-program-cmd): Likewise.
12867 * Makefile ($(common-objpfx)testrun.sh): Replace
12868 $(run-program-prefix) with $(test-program-prefix).
12869 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12871 ($(common-objpfx)shlib.lds): Likewise.
12872 (build-module-helper): Likewise.
12873 ($(common-objpfx)format.lds): Likewise.
12874 * Rules (binaries-pie-tests): New.
12875 (binaries-pie-notests): Likewise.
12876 (binaries-pie): Rewritten.
12877 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12878 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12879 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12880 (make-test-out): Replace $(host-built-program-cmd) with
12881 $(host-test-program-cmd).
12882 * config.make.in (build-hardcoded-path-in-tests): New variable.
12883 * configure.in (--enable-hardcoded-path-in-tests): New configure
12885 (hardcoded_path_in_tests): New AC_SUBST.
12886 * configure: Regenerated.
12887 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12888 $(built-program-cmd) with $(test-program-cmd).
12889 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12890 (test_program_cmd): This.
12891 * elf/Makefile ($(objpfx)order.out): Run test with
12892 $(test-program-prefix).
12893 ($(objpfx)order2.out): Likewise.
12894 ($(objpfx)tst-initorder.out): Likewise.
12895 ($(objpfx)tst-initorder2.out): Likewise.
12896 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12897 $(test-program-cmd).
12898 ($(objpfx)tst-array1-static.out): Likewise.
12899 ($(objpfx)tst-array2.out): Likewise.
12900 ($(objpfx)tst-array3.out): Likewise.
12901 ($(objpfx)tst-array4.out): Likewise.
12902 ($(objpfx)tst-array5.out): Likewise.
12903 ($(objpfx)tst-array5-static.out): Likewise.
12904 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12905 $(test-program-cmd).
12906 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12907 $(run-program-prefix) with $(test-program-prefix).
12908 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12909 (test_program_prefix): This.
12910 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12911 $(run-program-prefix) with $(test-program-prefix).
12912 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12913 (test_program_prefix): This.
12914 * iconvdata/tst-tables.sh: Likewise.
12915 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12916 $(run-program-prefix) with $(test-program-prefix).
12917 ($(objpfx)tst-translit.out): Likewise.
12918 ($(objpfx)tst-gettext2.out): Likewise.
12919 ($(objpfx)tst-gettext4.out): Likewise.
12920 ($(objpfx)tst-gettext6.out): Likewise.
12921 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12922 (test_program_prefix): This.
12923 * intl/tst-gettext2.sh: Likewise.
12924 * intl/tst-gettext4.sh Likewise.
12925 * intl/tst-gettext6.sh: Likewise.
12926 * intl/tst-translit.sh: Likewise.
12927 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12928 with $(test-program-cmd).
12929 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12930 $(run-program-prefix) with $(test-program-prefix).
12931 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12932 (test_program_prefix): This.
12933 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12934 $(run-program-prefix) with $(test-program-prefix).
12935 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12936 (test_program_prefix): This.
12937 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12938 * posix/Makefile ($(objpfx)globtest.out): Replace
12939 $(run-via-rtld-prefix) and $(test-wrapper) with
12940 $(test-program-prefix) and $(test-via-rtld-prefix).
12941 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12942 $(test-program-prefix).
12943 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12944 $(host-test-program-cmd).
12945 (tst-spawn-ARGS): Likewise.
12946 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12947 $(test-program-prefix).
12948 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12949 (test_via_rtld_prefix): This.
12950 (test_wrapper): Renamed to ...
12951 (test_program_prefix): This.
12952 (run_program_prefix): Replaced by test_program_prefix.
12953 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12954 (test_program_prefix): This.
12955 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12956 with $(host-test-program-cmd).
12957 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12958 $(run-program-prefix) with $(test-program-prefix).
12959 ($(objpfx)tst-printf.out): Likewise.
12960 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12961 $(test-program-cmd).
12962 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12963 (test_program_prefix): This.
12964 * stdio-common/tst-unbputc.sh: Likewise.
12965 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12966 $(run-program-prefix) with $(test-program-prefix).
12967 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12968 (test_program_prefix): This.
12969 * string/Makefile ($(objpfx)tst-svc.out): Replace
12970 $(built-program-cmd) with $(test-program-cmd).
12972 2013-01-11 Andreas Jaeger <aj@suse.de>
12975 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12976 value. Sync with Linux 3.7.
12978 2013-01-10 David S. Miller <davem@davemloft.net>
12980 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12981 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12982 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12984 2013-01-10 Roland McGrath <roland@hack.frob.com>
12986 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12988 * configure: Regenerated.
12990 2013-01-10 David S. Miller <davem@davemloft.net>
12992 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12993 sparc V9 rather than using V8 code.
12994 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12995 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12997 2013-01-10 Roland McGrath <roland@hack.frob.com>
12999 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13000 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13001 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13002 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13003 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13004 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13005 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13006 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13007 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13008 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13009 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13010 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13011 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13012 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13013 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13014 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13015 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13016 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13017 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13018 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13019 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13020 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13021 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13022 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13023 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13024 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13025 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13027 2013-01-10 David S. Miller <davem@davemloft.net>
13029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13031 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13033 * posix/Makefile (tests-static): New variable.
13034 (tests): Add $(tests-static).
13035 (tst-exec-static-ARGS): New variable.
13036 (tst-spawn-static-ARGS): Likewise.
13037 * posix/tst-exec-static.c: New file.
13038 * posix/tst-spawn-static.c: Likewise.
13039 * posix/tst-exec.c: Support run directly.
13040 * posix/tst-spawn.c: Likewise.
13042 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13044 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13046 * math/bits/mathcalls.h (llrint): Likewise.
13047 (llround): Likewise.
13048 * stdlib/stdlib.h (struct drand48_data): Likewise.
13049 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13050 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13051 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13053 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13055 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13056 (elf_greg_t): Likewise.
13057 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13058 (__jmp_buf): Likewise.
13059 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13061 (llrint): Likewise, for all definitions.
13062 (llrintl): Likewise.
13064 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13065 Remove [__GNUC__] condition.
13066 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13067 condition to just [__USE_ISOC99].
13068 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13070 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13073 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13074 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13076 (_POSIX_V6_ILP32_OFF32): Likewise.
13077 (_XBS5_ILP32_OFF32): Likewise.
13078 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13079 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13081 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13083 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13086 doubles __mpexp_twomm1. Adjust usage.
13087 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13090 2013-01-10 Andreas Schwab <schwab@suse.de>
13093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13094 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13096 2013-01-09 David S. Miller <davem@davemloft.net>
13099 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13100 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13101 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13102 TCP_FASTOPEN): Define.
13103 (tcp_repair_opt): New structure.
13104 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13106 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13107 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13108 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13109 (tcp_cookie_transactions): New structure.
13111 2013-01-09 Anton Blanchard <anton@samba.org>
13113 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13114 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13115 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13116 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13118 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13120 * include/features.h (__USE_ANSI): Remove.
13122 2013-01-09 Roland McGrath <roland@hack.frob.com>
13124 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13126 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13128 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13130 * sysdeps/s390/fpu/libm-test-ulps: Update.
13132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13134 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13138 (denorm): Likewise.
13139 (__mp_dbl): Likewise.
13140 (__dbl_mp): Likewise.
13141 (add_magnitudes): Likewise.
13142 (sub_magnitudes): Likewise.
13148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13152 (denorm): Likewise.
13153 (__mp_dbl): Likewise.
13154 (__dbl_mp): Likewise.
13155 (add_magnitudes): Likewise.
13156 (sub_magnitudes): Likewise.
13162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13166 (denorm): Likewise.
13167 (__mp_dbl): Likewise.
13168 (__dbl_mp): Likewise.
13169 (add_magnitudes): Likewise.
13170 (sub_magnitudes): Likewise.
13177 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13179 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13180 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13181 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13182 2 && __USE_EXTERN_INLINES]: Likewise.
13184 2013-01-08 Andreas Jaeger <aj@suse.de>
13187 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13189 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13190 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13192 2013-01-07 Anton Blanchard <anton@samba.org>
13194 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13195 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13196 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13197 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13198 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13199 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13200 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13201 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13204 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13205 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13206 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13207 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13208 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13209 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13210 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13211 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13212 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13213 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13214 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13215 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13217 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13218 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13219 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13220 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13221 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13223 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13224 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13226 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13227 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13228 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13229 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13230 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13231 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13232 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13233 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13234 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13236 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13238 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13240 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13241 (__MALLOC_PMT): Likewise.
13242 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13243 [__GNUC__], only on [_LIBC].
13244 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13245 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13246 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13247 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13248 forward declaration.
13249 (realloc_hook_ini): Likewise.
13250 (memalign_hook_ini): Likewise.
13251 (__libc_memalign): Do not use __MALLOC_PMT in variable
13253 (__libc_valloc): Likewise.
13254 (__libc_pvalloc): Likewise.
13255 (__libc_calloc): Likewise.
13256 (__posix_memalign): Likewise.
13259 * math/s_casinh.c: Include <float.h>.
13260 (__casinh): Do not do computation with squaring and square root
13261 for large arguments.
13262 * math/s_casinhf.c: Include <float.h>.
13263 (__casinhf): Do not do computation with squaring and square root
13264 for large arguments.
13265 * math/s_casinhl.c: Include <float.h>.
13266 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13267 (__casinhl): Do not do computation with squaring and square root
13268 for large arguments.
13269 * math/libm-test.inc (casin_test): Add more tests.
13270 (casinh_test): Likewise.
13271 * sysdeps/i386/fpu/libm-test-ulps: Update.
13272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13274 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13276 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13277 (__x86_64_raw_data_cache_size): Likewise.
13278 (__x86_64_data_cache_size_half): Likewise.
13279 (__x86_64_raw_data_cache_size_half): Likewise.
13280 (__x86_64_shared_cache_size): Likewise.
13281 (__x86_64_raw_shared_cache_size): Likewise.
13282 (__x86_64_shared_cache_size_half): Likewise.
13283 (__x86_64_raw_shared_cache_size_half): Likewise.
13284 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13286 (__x86_data_cache_size): This.
13287 (__x86_64_raw_data_cache_size): Renamed to ...
13288 (__x86_raw_data_cache_size): This.
13289 (__x86_64_data_cache_size_half): Renamed to ...
13290 (__x86_data_cache_size_half): This.
13291 (__x86_64_raw_data_cache_size_half): Renamed to ...
13292 (__x86_raw_data_cache_size_half): This.
13293 (__x86_64_shared_cache_size): Renamed to ...
13294 (__x86_shared_cache_size): This.
13295 (__x86_64_raw_shared_cache_size): Renamed to ...
13296 (__x86_raw_shared_cache_size): This.
13297 (__x86_64_shared_cache_size_half): Renamed to ...
13298 (__x86_shared_cache_size_half): This.
13299 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13300 (__x86_raw_shared_cache_size_half): This.
13301 * sysdeps/x86_64/memcpy.S: Updated.
13302 * sysdeps/x86_64/memset.S: Likewise.
13303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13304 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13307 2013-01-04 David S. Miller <davem@davemloft.net>
13309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13311 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13313 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13314 1 to avoid redefinition warning.
13315 (__USE_GNU): Don't define.
13316 (init_signaling_nan): Protoize.
13318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13320 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13322 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13324 (__cpymn): Likewise.
13325 (norm): Remove commented code.
13326 (denorm): Likewise.
13327 (__mp_dbl): Likewise.
13329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13330 (__cpymn): Likewise.
13331 (norm): Remove commented code.
13332 (denorm): Likewise.
13333 (__mp_dbl): Likewise.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13337 mp_no value for 1.0 and 2.0.
13338 (norm): Use RADIXI instead of radixi.d.
13339 (denorm): Likewise.
13340 (__mul): Use 0.0 instead of zero.d.
13341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13342 mp_no value for 1.0 and 2.0.
13343 (norm): Use RADIXI instead of radixi.d.
13344 (denorm): Likewise.
13345 (__mul): Use 0.0 instead of zero.d.
13347 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13350 * math/s_casinh.c (__casinh): Reduce finite argument to first
13351 quadrant then set signs of results at the end.
13352 * math/s_casinhf.c (__casinhf): Likewise.
13353 * math/s_casinhl.c (__casinhl): Likewise.
13354 * math/libm-test.inc (casin_test): Add more tests.
13355 (casinh_test): Likewise.
13356 * sysdeps/i386/fpu/libm-test-ulps: Update.
13357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13359 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13361 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13363 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13365 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13367 (denorm): Likewise.
13368 (__mp_dbl): Likewise.
13371 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13372 and adjust the header comment.
13374 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13375 variable name from declaration.
13377 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13380 Initialize COMMON_CPUID_INDEX_7 element.
13381 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13382 (CPUID_RTM): Likewise.
13383 (HAS_RTM): Likewise.
13384 (COMMON_CPUID_INDEX_7): New enum.
13386 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13389 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13390 size is zero, record memory as freed.
13392 2013-01-03 Andreas Jaeger <aj@suse.de>
13394 * po/ia.po: Add new Interlingua translation.
13396 2012-01-03 Allan McRae <allan@archlinux.org>
13398 * locale/programs/localedef.c: Fix description of '--posix' flag.
13400 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13402 * NEWS: Update dates in second copyright notice.
13403 * README: Update copyright dates in example.
13404 * manual/libc.texinfo: Update copyright dates.
13405 * scripts/test-installation.pl: Update copyright date in --version
13408 * hurd/ctty-input.c: Fix copyright notice formatting.
13409 * hurd/ctty-output.c: Likewise.
13410 * hurd/dtable.c: Likewise.
13411 * hurd/hurd-raise.c: Likewise.
13412 * hurd/hurdprio.c: Likewise.
13413 * hurd/msgportdemux.c: Likewise.
13414 * misc/sys/file.h: Likewise.
13415 * misc/sys/ioctl.h: Likewise.
13416 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13417 * sysdeps/mach/hurd/chdir.c: Likewise.
13418 * sysdeps/mach/hurd/fchdir.c: Likewise.
13419 * sysdeps/mach/hurd/rename.c: Likewise.
13420 * sysdeps/mach/hurd/rmdir.c: Likewise.
13421 * sysdeps/mach/hurd/seekdir.c: Likewise.
13422 * sysdeps/mach/hurd/setsid.c: Likewise.
13423 * sysdeps/posix/wait3.c: Likewise.
13425 * All files with FSF copyright notices: Update copyright dates
13426 using scripts/update-copyrights.
13427 * intl/plural.c: Regenerated.
13428 * locale/programs/charmap-kw.h: Likewise.
13429 * locale/programs/locfile-kw.h: Likewise.
13431 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13433 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13437 calculation loop and add branch prediction.
13439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13440 check access beyond bounds of m1np.
13442 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13444 (__inv): Remove local variable MPTWO to use the global
13446 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13447 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13449 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13450 MP3HALFS static const.
13452 2013-01-01 David S. Miller <davem@davemloft.net>
13454 * po/ca.po: Update from translation team.
13456 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13458 * scripts/update-copyrights: New file.
13459 * Makeconfig: Reformat copyright notice.
13460 * ctype/ctype.h: Likewise.
13461 * debug/swprintf_chk.c: Likewise.
13462 * elf/dl-cache.c: Likewise.
13463 * elf/dl-debug.c: Likewise.
13464 * elf/dl-object.c: Likewise.
13465 * grp/initgroups.c: Likewise.
13466 * hurd/Makefile: Likewise.
13467 * hurd/hurd/signal.h: Likewise.
13468 * hurd/hurdfault.c: Likewise.
13469 * hurd/hurdioctl.c: Likewise.
13470 * hurd/hurdlookup.c: Likewise.
13471 * hurd/intr-msg.c: Likewise.
13472 * iconv/gconv_open.c: Likewise.
13473 * libio/swprintf.c: Likewise.
13474 * locale/lc-ctype.c: Likewise.
13475 * locale/nl_langinfo.c: Likewise.
13476 * mach/Machrules: Likewise.
13477 * mach/Makefile: Likewise.
13478 * malloc/obstack.h: Likewise.
13479 * manual/Makefile: Likewise.
13480 * manual/tsort.awk: Likewise.
13481 * misc/bits/stab.def: Likewise.
13482 * nis/nis_print_group_entry.c: Likewise.
13483 * nis/nis_table.c: Likewise.
13484 * nis/nss_compat/compat-pwd.c: Likewise.
13485 * nis/nss_compat/compat-spwd.c: Likewise.
13486 * po/Makefile: Likewise.
13487 * posix/fnmatch.c: Likewise.
13488 * posix/regex.h: Likewise.
13489 * resolv/Makefile: Likewise.
13490 * resolv/nss_dns/dns-network.c: Likewise.
13491 * resolv/res_hconf.c: Likewise.
13492 * scripts/gen-sorted.awk: Likewise.
13493 * soft-fp/soft-fp.h: Likewise.
13494 * stdio-common/printf.h: Likewise.
13495 * stdlib/monetary.h: Likewise.
13496 * stdlib/random.c: Likewise.
13497 * stdlib/random_r.c: Likewise.
13498 * sysdeps/generic/Makefile: Likewise.
13499 * sysdeps/gnu/Makefile: Likewise.
13500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13528 * sysdeps/mach/hurd/errnos.awk: Likewise.
13529 * sysdeps/mach/hurd/fork.c: Likewise.
13530 * sysdeps/mach/hurd/getcwd.c: Likewise.
13531 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13532 * sysdeps/mach/hurd/mmap.c: Likewise.
13533 * sysdeps/mach/hurd/utimes.c: Likewise.
13534 * sysdeps/mach/hurd/xmknod.c: Likewise.
13535 * sysdeps/posix/profil.c: Likewise.
13536 * sysdeps/posix/readdir_r.c: Likewise.
13537 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13538 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13539 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13540 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13542 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13543 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13544 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13547 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13548 * sysdeps/pthread/lio_listio.c: Likewise.
13549 * sysdeps/sparc/dl-procinfo.h: Likewise.
13550 * sysdeps/unix/i386/sysdep.S: Likewise.
13551 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13552 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13553 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13554 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13556 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13557 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13558 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13559 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13560 * sysdeps/wordsize-32/divdi3.c: Likewise.
13561 * time/sys/time.h: Likewise.
13562 * wcsmbs/Makefile: Likewise.
13564 2013-01-01 David S. Miller <davem@davemloft.net>
13566 * po/fr.po: Update from translation team.
13568 * catgets/gencat.c: Update copyright year.
13569 * csu/version.c: Likewise.
13570 * debug/catchsegv.sh: Likewise.
13571 * debug/pcprofiledump.c: Likewise.
13572 * debug/xtrace.sh: Likewise.
13573 * elf/ldconfig.c: Likewise.
13574 * elf/ldd.bash.in: Likewise.
13575 * elf/pldd.c: Likewise.
13576 * elf/sotruss.ksh: Likewise.
13577 * elf/sprof.c: Likewise.
13578 * iconv/iconv_prog.c: Likewise.
13579 * iconv/iconvconfig.c: Likewise.
13580 * locale/programs/locale.c: Likewise.
13581 * locale/programs/localedef.c: Likewise.
13582 * login/programs/pt_chown.c: Likewise.
13583 * malloc/memusage.sh: Likewise.
13584 * malloc/memusagestat.c: Likewise.
13585 * malloc/mtrace.pl: Likewise.
13586 * nscd/nscd.c: Likewise.
13587 * nss/getent.c: Likewise.
13588 * nss/makedb.c: Likewise.
13589 * posix/getconf.c: Likewise.
13591 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13593 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13596 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13598 * math/bits/mathcalls.h (modf): Use __nonnull.
13600 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13602 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13603 (split): Use macro CN instead of the bare value.
13604 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13607 instead of the bare value.
13608 (power1): Likewise.
13610 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13612 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13614 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13616 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13618 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13619 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13620 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13621 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13623 2012-12-28 Andreas Jaeger <aj@suse.de>
13625 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13626 values are from Linux 3.7.
13628 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13629 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13631 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13633 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13636 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13638 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13639 variables with preprocessor constants.
13640 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13641 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13642 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13644 2012-12-27 Bruno Haible <bruno@clisp.org>
13647 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13650 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13653 and use variable directly.
13654 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13656 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13658 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13661 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13662 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13663 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13664 include directive. Remove local variable MPONE.
13665 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13666 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13667 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13669 2012-12-25 David S. Miller <davem@davemloft.net>
13671 * version.h (RELEASE): Set to "development".
13672 (VERSION): Set to "2.17.90".
13673 * NEWS: Add 2.18 section.
13675 2012-12-21 David S. Miller <davem@davemloft.net>
13677 * po/hr.po: Update from translation team.
13679 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13681 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13683 2012-12-19 Steve Ellcey <sellcey@mips.com>
13685 * NEWS: Mention new memcpy for MIPS.
13687 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13689 * manual/contrib.texi (Contributors): Spelling correction.
13691 2012-12-15 David S. Miller <davem@davemloft.net>
13693 * po/ru.po: Update from translation team.
13695 2012-12-13 David S. Miller <davem@davemloft.net>
13697 * NEWS: Mention IFUNC testsuite enhancements.
13699 * po/pl.po: Update from translation team.
13700 * po/bg.po: Likewise.
13702 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13703 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13705 2012-12-11 David S. Miller <davem@davemloft.net>
13707 * po/sv.po: Update from translation team.
13709 * po/vi.po: Update from translation team.
13711 * po/cs.po: Update from translation team.
13713 * po/de.po: Update from translation team.
13714 * po/eo.po: Likewise.
13715 * po/nl.po: Likewise.
13717 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13720 * manual/argp.texi (Argp Helper Functions): Move node to follow
13721 Argp Parsing State.
13724 * manual/conf.texi (Limits on File System Capacity): Mention if
13725 terminating null is included in the max size.
13727 2012-12-10 Andreas Jaeger <aj@suse.de>
13729 * po/cs.po: Update from translation team.
13731 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13733 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13734 void pointer and cast to uintptr_t.
13735 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13737 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13738 * sysdeps/s390/s390-64/memset.S: Likewise.
13740 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
13743 * menual/message.texi (Message Translation): Fix typos.
13744 (Helper programs for gettext): Likewise.
13746 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13749 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13752 2012-12-07 David S. Miller <davem@davemloft.net>
13754 * po/libc.pot: Update.
13756 2012-12-07 Richard Henderson <rth@redhat.com>
13759 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13760 normal/normal case to before the switch.
13761 (_FP_DIV): Likewise.
13763 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13764 Mike Frysinger <vapier@gentoo.org>
13766 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13767 check for __NR_fadvise64_64.
13769 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13771 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13772 0, not just to plain "0" as a statement.
13773 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13776 2012-12-06 Joseph Myers <joseph@codesourcery.com>
13778 * NEWS: Use sourceware.org in Bugzilla URL.
13780 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13783 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13785 * stdio-common/tst-put-error.c (do_test): Add newline to the
13786 padded test to ensure flush.
13788 2012-12-05 Jeff Law <law@redhat.com>
13790 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13792 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13794 * README: Don't refer to ports add-on as distributed separately.
13795 Mention AArch64 in list of systems supported in the ports add-on.
13797 * LICENSES: Add more non-FSF copyright and license notices.
13799 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13802 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13804 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13805 10000 as width of padded output.
13807 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13809 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13811 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13812 variable LX with __attribute__ ((unused)).
13813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13818 with __attribute__ ((unused)).
13820 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13822 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13824 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13826 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13827 (CFLAGS-nldbl-acos.c): New variable.
13828 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13829 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13830 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13831 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13832 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13833 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13834 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13835 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13836 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13837 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13838 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13839 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13840 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13841 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13842 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13843 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13844 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13845 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13846 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13847 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13848 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13849 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13850 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13851 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13852 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13853 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13854 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13855 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13856 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13857 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13858 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13859 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13860 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13861 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13862 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13863 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13864 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13865 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13866 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13867 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13868 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13869 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13870 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13871 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13872 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13873 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13874 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13875 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13876 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13877 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13878 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13879 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13880 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13881 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13882 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13883 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13884 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13885 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13886 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13887 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13888 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13889 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13890 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13891 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13892 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13893 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13894 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13895 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13896 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13897 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13898 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13899 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13900 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13901 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13902 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13903 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13904 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13905 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13906 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13907 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13908 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13909 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13910 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13911 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13912 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13913 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13914 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13915 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13916 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13917 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13918 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13919 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13920 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13921 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13922 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13923 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13924 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13927 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13930 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13931 whole low double instead of just low 47 bits when splitting values
13934 2012-12-03 Allan McRae <allan@archlinux.org>
13936 * manual/stdio.texi (Predefined Printf Handlers): Remove
13937 @hsep and @vsep usage.
13939 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13941 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13942 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13944 2012-12-03 Jeff Law <law@redhat.com>
13946 * time/sys/time.h (settimeofday): Do not mark TV argument
13949 2012-12-01 Mike Frysinger <vapier@gentoo.org>
13951 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13952 when currently writing and seek to current position when not.
13953 * libio/Makefile (tests): Remove bug-fclose1.
13954 * libio/bug-fclose1.c: Delete.
13956 2012-12-01 Joseph Myers <joseph@codesourcery.com>
13958 * manual/arith.texi (feenableexcept): Fix typo.
13959 (fedisableexcept): Likewise.
13961 2012-11-30 Roland McGrath <roland@hack.frob.com>
13963 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13964 second, differently-typed declaration, rather than a cast.
13966 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13968 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13969 * include/rpc/svc.h: ... here.
13971 2012-11-30 Aurelien Jarno <aurel32@debian.org>
13974 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13975 depending n and resplen2 to catch cases where answer
13978 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13980 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13981 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13983 2012-11-29 Mike Frysinger <vapier@gentoo.org>
13985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13987 2012-11-29 Roland McGrath <roland@hack.frob.com>
13989 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13991 2012-11-28 Jeff Law <law@redhat.com>
13994 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13995 dataset_temporary. Track alloca usage into alloca_used.
13996 If dataset is large allocate and release it via malloc/free.
13998 2012-06-04 Florian Weimer <fweimer@redhat.com>
14001 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14003 2012-11-28 David S. Miller <davem@davemloft.net>
14005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14007 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14010 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14011 of pi/2 rounded to nearest to 64 bits.
14012 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14013 nearest to 64 bits.
14014 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14017 2012-11-28 Jeff Law <law@redhat.com>
14018 Martin Osvald <mosvald@redhat.com>
14021 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14022 * sunrpc/svc.c: Include time.h.
14023 (__svc_accept_failed): New function.
14024 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14025 any reason other than EINTR, call __svc_accept_failed.
14026 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14027 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14029 2012-11-28 Andreas Schwab <schwab@suse.de>
14031 * scripts/abilist.awk: Also handle indirect functions in .opd
14034 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14037 * sysdeps/x86/fpu/powl_helper.c: New file.
14038 * sysdeps/x86/fpu/Makefile: Likewise.
14039 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14041 (__ieee754_powl): Use __powl_helper for finite arguments except
14042 integer exponents below 8.
14043 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14045 (__ieee754_powl): Use __powl_helper for finite arguments except
14046 integer exponents below 8.
14047 * math/libm-test.inc (pow_test): Add more tests and enable some
14048 previously disabled tests.
14049 * sysdeps/i386/fpu/libm-test-ulps: Update.
14050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14052 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14053 Carlos O'Donell <carlos_odonell@mentor.com>
14055 * nss/makedb.c (is_prime): Assert that input is odd and greater
14056 than 4. Note that fact in a comment too.
14057 (next_prime): Add 4 to input.
14059 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14062 * libio/Makefile (tests): Add test case tst-fwrite-error.
14063 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14064 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14065 * libio/tst-fwrite-error.c: New test case.
14067 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14069 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14070 before casting to void *.
14071 * include/libc-internal.h (__pointer_type): New macro.
14072 (__integer_if_pointer_type_sub): Likewise.
14073 (__integer_if_pointer_type): Likewise.
14074 (cast_to_integer): Likewise.
14075 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14076 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14077 before casting to atomic64_t.
14078 (atomic_exchange_acq): Likewise.
14079 (__arch_exchange_and_add_body): Likewise.
14080 (__arch_add_body): Likewise.
14081 (atomic_add_negative): Likewise.
14082 (atomic_add_zero): Likewise.
14084 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14086 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14087 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14088 (add_fdes): Likewise.
14089 (linear_search_fdes): Likewise.
14090 (binary_search_unencoded_fdes): Likewise.
14092 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14094 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14096 2012-11-24 Adam Conrad <adconrad@0c3.net>
14098 * configure.in: Autodetect C++ header directories.
14099 * configure: Regenerated.
14101 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14103 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14105 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14109 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14111 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14112 LDBL_MANT_DIG == 106]: Disable some tests.
14113 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14115 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14120 input for small inputs. Return +/- pi/2 for large inputs.
14121 * math/libm-test.inc (atan_test): Add more tests.
14123 * sysdeps/generic/unwind-dw2-fde-glibc.c
14124 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14125 __attribute__ ((unused)).
14128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14129 x * y if x and y are nonzero and z is zero.
14132 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14133 nonzero exponents with absolute value below 0x1p-117 to +/-
14137 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14138 up arguments below 2**-450, not just those below 2**-500.
14139 * math/libm-test.inc (hypot_test): Add another test.
14142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14143 Return a+b for ratio over 2**120, not 2**60.
14144 * math/libm-test.inc (hypot_test): Add another test.
14146 * math/libm-test.inc (clog_test): Use
14147 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14148 (clog10_test): Likewise.
14151 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14153 2012-11-22 Andreas Schwab <schwab@suse.de>
14155 * sysdeps/i386/fpu/libm-test-ulps: Update.
14157 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14159 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14160 printf output with newline.
14162 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14165 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14166 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14167 -z nodlopen, -z initfirst and -z execstack support.
14168 * configure: Regenerated.
14170 * elf/elf.h (DF_1_NODIRECT): New macro.
14171 (DF_1_IGNMULDEF): Likewise.
14172 (DF_1_NOKSYMS): Likewise.
14173 (DF_1_NOHDR): Likewise.
14174 (DF_1_EDITED): Likewise.
14175 (DF_1_NORELOC): Likewise.
14176 (DF_1_SYMINTPOSE): Likewise.
14177 (DF_1_GLOBAUDIT): Likewise.
14178 (DF_1_SINGLETON): Likewise.
14179 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14180 DT_1_SUPPORTED_MASK bits.
14181 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14183 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14185 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14187 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14189 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14192 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14193 (sendmmsg): Move declarations...
14194 * socket/sys/socket.h: ... here.
14195 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14196 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14198 * socket/recvmmsg.c: ... this new file.
14199 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14200 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14201 definition of __sendmmsg hidden.
14202 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14203 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14204 Move ENOSYS stub into and include it from...
14205 * socket/sendmmsg.c: ... this new file.
14206 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14207 (sysdep_routines): Move recvmmsg and sendmmsg...
14208 * socket/Makefile (routines): ... here.
14209 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14210 (GLIBC_PRIVATE): Add __sendmmsg.
14211 * include/sys/socket.h (__sendmmsg): Add declarations.
14212 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14215 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14218 variable I1 with __attribute__ ((unused)).
14219 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14221 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14223 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14224 DUMMY variables with __attribute__ ((unused)).
14226 * bits/byteswap.h: Include <bits/types.h>.
14227 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14229 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14231 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14232 string_t. Do not manually set errno.
14233 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14234 length with __strnlen. Make sure to both set errno and return it on
14237 2012-11-19 David S. Miller <davem@davemloft.net>
14239 With help from Joseph Myers.
14240 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14241 very large arguments properly.
14242 * math/libm-test.inc (atan_test): New tests.
14243 (atan2_test): New tests.
14244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14247 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14250 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14253 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14254 [POSIX] (EADDRNOTAVAIL): Likewise.
14255 [POSIX] (EAFNOSUPPORT): Likewise.
14256 [POSIX] (EALREADY): Likewise.
14257 [POSIX] (ECONNABORTED): Likewise.
14258 [POSIX] (ECONNREFUSED): Likewise.
14259 [POSIX] (ECONNRESET): Likewise.
14260 [POSIX] (EDESTADDRREQ): Likewise.
14261 [POSIX] (EDQUOT): Likewise.
14262 [POSIX] (EHOSTUNREACH): Likewise.
14263 [POSIX] (EIDRM): Likewise.
14264 [POSIX] (EISCONN): Likewise.
14265 [POSIX] (ELOOP): Likewise.
14266 [POSIX] (EMULTIHOP): Likewise.
14267 [POSIX] (ENETDOWN): Likewise.
14268 [POSIX] (ENETUNREACH): Likewise.
14269 [POSIX] (ENOBUFS): Likewise.
14270 [POSIX] (ENODATA): Likewise.
14271 [POSIX] (ENOLINK): Likewise.
14272 [POSIX] (ENOMSG): Likewise.
14273 [POSIX] (ENOPROTOOPT): Likewise.
14274 [POSIX] (ENOSR): Likewise.
14275 [POSIX] (ENOSTR): Likewise.
14276 [POSIX] (ENOTCONN): Likewise.
14277 [POSIX] (ENOTSOCK): Likewise.
14278 [POSIX] (EOPNOTSUPP): Likewise.
14279 [POSIX] (EOVERFLOW): Likewise.
14280 [POSIX] (EPROTO): Likewise.
14281 [POSIX] (EPROTONOSUPPORT): Likewise.
14282 [POSIX] (EPROTOTYPE): Likewise.
14283 [POSIX] (ESTALE): Likewise.
14284 [POSIX] (ETIME): Likewise.
14285 [POSIX] (ETXTBSY): Likewise.
14286 [POSIX] (EWOULDBLOCK): Likewise.
14287 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14288 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14289 [POSIX] (SEEK_CUR): Likewise.
14290 [POSIX] (SEEK_END): Likewise.
14291 [POSIX || UNIX98] (mode_t): Do not require.
14292 [POSIX] (off_t): Likewise.
14293 [POSIX] (pid_t): Likewise.
14294 [POSIX] (sys/stat.h): Do not allow header.
14295 [POSIX] (unistd.h): Likewise.
14296 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14297 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14298 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14299 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14301 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14302 sigevent): Specify elements.
14303 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14305 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14306 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14308 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14309 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14310 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14311 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14312 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14313 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14314 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14315 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14316 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14317 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14318 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14319 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14320 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14321 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14325 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14329 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14330 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14331 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14332 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14333 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14334 Specify lower bound on value.
14335 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14336 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14337 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14338 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14339 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14340 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14341 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14342 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14344 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14346 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14347 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14348 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14349 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14350 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14351 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14352 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14353 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14354 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14355 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14356 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14357 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14358 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14359 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14360 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14361 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14363 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14365 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14366 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14367 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14368 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14369 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14370 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14372 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14373 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14374 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14375 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14376 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14377 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14378 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14380 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14381 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14382 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14383 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14384 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14385 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14386 specify as optional.
14387 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14388 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14389 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14390 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14391 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14392 [XPG3] (NL_LANGMAX): Likewise.
14393 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14394 [POSIX || XPG3] (NL_NMAX): Likewise.
14395 [POSIX || XPG3] (NL_SETMAX): Likewise.
14396 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14397 [XPG3] (NZERO): Likewise.
14398 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14399 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14400 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14401 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14402 (REG_ERANGE): Expect.
14403 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14405 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14406 Use (void) in prototype.
14407 [POSIX] (*_t): Allow.
14408 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14409 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14410 (WRDE_BADVAL): Expect.
14412 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14414 [XPG3 || XPG4] (O_RSYNC): Likewise.
14415 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14417 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14418 [XPG3 || XPG4] (sigqueue): Likewise.
14419 [XPG3 || XPG4] (sigtimedwait): Likewise.
14420 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14421 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14422 [XPG3 || XPG4] (vsnprintf): Likewise.
14423 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14425 [XPG3 || XPG4] (blksize_t): Likewise.
14426 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14428 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14429 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14430 [XPG3 || XPG4] (struct itimerspec): Likewise.
14431 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14432 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14433 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14434 [XPG3 || XPG4] (clockid_t): Likewise.
14435 [XPG3 || XPG4] (timer_t): Likewise.
14436 [XPG3 || XPG4] (clock_getres): Likewise.
14437 [XPG3 || XPG4] (clock_gettime): Likewise.
14438 [XPG3 || XPG4] (clock_settime): Likewise.
14439 [XPG3 || XPG4] (nanosleep): Likewise.
14440 [XPG3 || XPG4] (timer_create): Likewise.
14441 [XPG3 || XPG4] (timer_delete): Likewise.
14442 [XPG3 || XPG4] (timer_gettime): Likewise.
14443 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14444 [XPG3 || XPG4] (timer_settime): Likewise.
14445 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14446 [XPG3 || XPG4] (getlogin_r): Likewise.
14447 [XPG3 || XPG4] (pread): Likewise.
14448 [XPG3 || XPG4] (pthread_atfork): Likewise.
14449 [XPG3 || XPG4] (pwrite): Likewise.
14452 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14455 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14457 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14458 finalizing MALLSTREAM.
14460 * sysdeps/mach/hurd/syncfs.c: New file.
14462 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14465 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14466 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14467 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14468 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14469 (_nss_dns_gethostbyname4_r): Likewise.
14470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14471 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14473 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14476 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14478 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14480 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14481 * elf/cache.c (print_entry): Print ",AArch64" for
14484 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14485 * elf/cache.c (print_entry): Print ",hard-float" for
14488 2012-11-18 David S. Miller <davem@davemloft.net>
14490 With help from Joseph Myers.
14491 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14493 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14495 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14496 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14498 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14499 * math/libm-test.inc (y0_test): New tests.
14500 (y1_test): New tests.
14501 * sysdeps/i386/fpu/libm-test-ulps: Update.
14502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14505 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14507 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14509 * configure: Regenerated.
14511 2012-11-17 David S. Miller <davem@davemloft.net>
14514 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14515 nonzero exponents with absolute value below 0x1p-128 to +/-
14518 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14520 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14522 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14524 * posix/getconf-speclist.c: New file.
14525 * posix/posix-envs.def: Likewise.
14526 * posix/confstr.c (START_ENV_GROUP): New macro.
14527 (END_ENV_GROUP): Likewise.
14528 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14529 (KNOWN_PRESENT_ENV_STRING): Likewise.
14530 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14531 (UNKNOWN_ENVIRONMENT): Likewise.
14532 (confstr): Include posix-envs.def instead of handling
14533 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14534 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14535 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14536 (END_ENV_GROUP): Likewise.
14537 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14538 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14539 (UNKNOWN_ENVIRONMENT): Likewise.
14540 (__sysconf): Include posix-envs.def instead of handling associated
14541 cases directly here.
14542 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14543 preprocessing getconf-speclist.c rather than running getconf or
14544 generating empty file.
14546 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14548 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14550 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14553 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14555 2012-11-16 David S. Miller <davem@davemloft.net>
14557 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14558 smaller than LDBL_EPSILON/2.0L, just return xm1.
14560 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14562 * elf/tst-array1.c (init): Set constructor priority to 1000.
14563 (fini): Set destructor priority to 1000.
14564 * elf/tst-array2dep.c: Likewise.
14566 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14569 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14570 (_IO_new_file_xsputn): Also return EOF if none of the input
14571 data was written when overflow failed.
14572 * libio/iopadn.c (_IO_padn): Likewise.
14573 * libio/iowpadn.c (_IO_wpadn): Likewise.
14574 * stdio-common/tst-put-error.c: Add copyright notice.
14575 (do_test): Add case for printing padded string.
14576 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14577 _IO_padn returned error.
14578 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14579 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14582 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14584 * libio/libioP.h: Add comment note that the references to C++
14585 bits are now obsolete.
14587 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14589 * math/libm-test.inc (check_complex): Use asprintf.
14591 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14593 * debug/pcprofiledump.c (print_version): Update copyright year.
14594 * malloc/memusagestat.c (print_version): Likewise.
14596 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14599 * elf/Makefile (tests): Add tst-audit8.
14600 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14601 ($(objpfx)tst-audit8.out): New target.
14602 (tst-audit8-ENV): New variable.
14603 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14604 audit if l_reloc_result is NULL.
14605 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14606 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14607 * elf/tst-audit8.c: New file.
14609 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14611 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14612 * misc/Makefile (CFLAGS-select.c): Define.
14613 * posix/Makefile (CFLAGS-pause.c): Define.
14615 2012-11-13 David S. Miller <davem@davemloft.net>
14617 * crypt/Makefile: Move test targets after toplevel Rules
14618 inclusion. Grab any necessary sysdep routines when linking.
14619 * crypt/md5.c (md5_process_block): Remove define, we will always
14620 name it __md5_process_block.
14621 (md5_finish_ctx): Update md5_process_block call.
14622 (md5_stream): Likewise.
14623 (md5_process_bytes): Likewise.
14624 (md5_process_block): Rename to __md5_process_block and move to ...
14625 * crypt/md5-block.c: ... here.
14626 * crypt/sha256.c (sha256_process_block): Move to ...
14627 * crypt/sha256-block.c: ... here.
14628 * crypt/sha512.c (sha512_process_block): Move to ...
14629 * crypt/sha512-block.c: ... here.
14630 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14632 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14633 * sysdeps/sparc/sparc64/multiarch/Makefile
14634 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14636 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14637 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14639 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14640 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14641 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14642 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14643 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14644 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14645 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14646 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14647 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14649 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14650 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14652 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14654 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14656 * timezone/tzselect.ksh: Update from tzcode git revision
14657 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14658 * timezone/zdump.c: Likewise.
14659 * timezone/zic.c: Likewise.
14660 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14661 in TZVERSION setting, not $(PKGVERSION).
14662 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14663 REPORT_BUGS_TO settings.
14666 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14669 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14671 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14672 detection to immediately after _FP_ROUND().
14673 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14676 2012-11-11 David S. Miller <davem@davemloft.net>
14678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14680 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14681 __close rather than their public counterparts.
14683 2012-11-10 Joseph Myers <joseph@codesourcery.com>
14685 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14687 [UNIX98] (sem_timedwait): Do not expect.
14688 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14689 [XPG4 || UNIX98] (sockatmark): Do not expect.
14690 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14691 (clock_getcpuclockid): Do not expect.
14692 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14693 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14695 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14696 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14697 [UNIX98] (vwscanf): Likewise.
14698 [UNIX98] (vswscanf): Likewise.
14700 2012-11-09 Joseph Myers <joseph@codesourcery.com>
14702 * timezone/version.h: Remove file.
14703 * timezone/README: Do not refer to version.h.
14704 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14705 $(objpfx)version.h.
14706 ($(objpfx)zdump.o): Likewise.
14707 ($(objpfx)version.h): New target.
14709 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14711 * timezone/README: Don't mention modification to tzselect.ksh.
14712 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14713 work on unmodified tzselect.ksh. Substitute version numbers in
14716 * Makefile (format-me): Remove.
14717 (INSTALL): Adjust indentation. Use commands directly instead of
14718 using $(format-me).
14720 * aclocal.m4 (ACX_PKGVERSION): New macro.
14721 (ACX_BUGURL): Likewise.
14722 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14723 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14724 (REPORT_BUGS_TO): Likewise.
14725 * configure: Regenerated.
14726 * config.h.in (PKGVERSION): New macro.
14727 (REPORT_BUGS_TO): Likewise.
14728 * config.make.in (PKGVERSION): New variable.
14729 (PKGVERSION_TEXI): Likewise.
14730 (REPORT_BUGS_TO): Likewise.
14731 (REPORT_BUGS_TEXI): Likewise.
14732 * Makefile (format-me): Use -I$(common-objpfx)manual.
14733 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14734 ($(common-objpfx)manual/%): New target.
14735 (manual/%): Remove target.
14736 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14737 (print_version): Use PKGVERSION.
14738 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14739 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14740 and REPORT_BUGS_TO.
14741 ($(objpfx)xtrace): Likewise.
14742 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14743 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14744 (print_version): Use PKGVERSION.
14745 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14746 (do_version): Use PKGVERSION.
14747 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14749 (common-ldd-rewrite): Likewise.
14750 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14751 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14752 (print_version): Use PKGVERSION.
14753 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14754 * elf/pldd.c (argp_program_bug_address): Remove variable.
14755 (more_help): New function.
14756 (argp): Use more_help.
14757 (print_version): Use PKGVERSION.
14758 * elf/sln.c (main): Use PKGVERSION.
14759 (usage): Use REPORT_BUGS_TO.
14760 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14761 (top level): Use PKGVERSION.
14762 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14763 (print_version): Use PKGVERSION.
14764 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14765 (print_version): Use PKGVERSION.
14766 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14767 (print_version): Use PKGVERSION.
14768 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14769 (print_version): Use PKGVERSION.
14770 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14771 (print_version): Use PKGVERSION.
14772 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14773 (print_version): Use PKGVERSION.
14774 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14776 ($(objpfx)memusage): Likewise.
14777 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14778 (do_version): Use PKGVERSION.
14779 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14780 (print_version): Use PKGVERSION.
14781 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14782 ($PKGVERSION): New variable.
14783 ($REPORT_BUGS_TO): Likewise.
14784 (usage): Use $REPORT_BUGS_TO.
14785 (top level): Use $PKGVERSION.
14786 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14787 ($(objpfx)pkgvers.texi): New rule.
14788 ($(objpfx)stamp-pkgvers): Likewise.
14789 * manual/install.texi: Include pkgvers.texi.
14790 (--with-pkgversion): Document new configure option.
14791 (--with-bugurl): Likewise.
14792 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14793 than necessarily for this particular distribution. Use
14794 REPORT_BUGS_TO for where to report bugs.
14795 * INSTALL: Regenerated.
14796 * manual/libc.texinfo: Include pkgvers.texi.
14797 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14798 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14799 (print_version): Use PKGVERSION.
14800 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14801 (print_version): Use PKGVERSION.
14802 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14803 (print_version): Use PKGVERSION.
14804 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14805 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14807 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14808 (print_version): Use PKGVERSION.
14809 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14810 (print_version): Use PKGVERSION.
14811 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14814 * timezone/checktab.awk: Update from tzcode 2012i.
14815 * timezone/ialloc.c: Likewise.
14816 * timezone/private.h: Likewise.
14817 * timezone/scheck.c: Likewise.
14818 * timezone/tzfile.h: Likewise.
14819 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14820 (TZVERSION): Hardcode tzcode version number.
14821 * timezone/zdump.c: Update from tzcode 2012i.
14822 * timezone/zic.c: Likewise.
14823 * timezone/version.h: New file.
14824 * timezone/README: Describe version.h. Update upstream location.
14827 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14828 (mktemp): Enable declaration.
14829 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14830 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14846 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14847 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14848 for copies of such integer values.
14849 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14850 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14852 2012-11-09 Andreas Jaeger <aj@suse.de>
14854 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14855 definitions and declarations that are provided by
14856 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14858 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14860 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14861 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14862 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14865 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14867 * elf/elf.h: Update comment before AArch64 relocations.
14869 2012-11-07 David S. Miller <davem@davemloft.net>
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14872 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14873 (__start_context): Declare.
14874 (__makecontext_ret): Delete.
14875 (__makecontext): Hook up __start_context instead of
14877 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14878 (sysdep_routines): Add __start_context when in stdlib.
14880 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14882 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14883 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14884 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14886 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14887 (READELF): New variable. Use it instead of hardcoded "readelf".
14889 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14891 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14892 * sysdeps/x86/Makefile: Here.
14893 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14894 * sysdeps/x86/tst-xmmymm.sh: This.
14896 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14898 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14900 [UNIX98] (pthread_barrier_t): Do not expect.
14901 [UNIX98] (pthread_barrierattr_t): Likewise.
14902 [UNIX98] (pthread_spinlock_t): Likewise.
14903 [UNIX98] (pthread_barrier_destroy): Likewise.
14904 [UNIX98] (pthread_barrier_init): Likewise.
14905 [UNIX98] (pthread_barrier_wait): Likewise.
14906 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14907 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14908 [UNIX98] (pthread_barrierattr_init): Likewise.
14909 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14910 [UNIX98] (pthread_getcpuclockid): Likewise.
14911 [UNIX98] (pthread_mutex_timedlock): Likewise.
14912 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14913 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14914 [UNIX98] (pthread_sigmask): Likewise.
14915 [UNIX98] (pthread_spin_destroy): Likewise.
14916 [UNIX98] (pthread_spin_init): Likewise.
14917 [UNIX98] (pthread_spin_lock): Likewise.
14918 [UNIX98] (pthread_spin_trylock): Likewise.
14919 [UNIX98] (pthread_spin_unlock): Likewise.
14920 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14922 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14923 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14924 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14925 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14926 [XPG3 || XPG4] (pthread_key_t): Likewise.
14927 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14928 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14929 [XPG3 || XPG4] (pthread_once_t): Likewise.
14930 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14931 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14932 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14933 [XPG3 || XPG4] (pthread_t): Likewise.
14935 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14937 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14939 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14940 Change function return type to int.
14942 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14943 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14944 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14945 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14946 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14947 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14948 [!POSIX] (posix_madvise): Likewise.
14949 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14951 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14952 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14953 (mode_t): Likewise.
14954 (posix_mem_offset): Likewise.
14955 (posix_typed_mem_get_info): Likewise.
14956 (posix_typed_mem_open): Likewise.
14958 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14959 Change condition to [XOPEN2K8].
14961 * conform/conformtest.pl: Preprocess allow-header data with -x c
14962 instead of from stdin.
14963 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14964 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14965 [C99-based standards] (cerfc): Likewise.
14966 [C99-based standards] (cexp2): Likewise.
14967 [C99-based standards] (cexpm1): Likewise.
14968 [C99-based standards] (clog10): Likewise.
14969 [C99-based standards] (clog1p): Likewise.
14970 [C99-based standards] (clog2): Likewise.
14971 [C99-based standards] (clgamma): Likewise.
14972 [C99-based standards] (ctgamma): Likewise.
14973 [C99-based standards] (cerff): Likewise.
14974 [C99-based standards] (cerfcf): Likewise.
14975 [C99-based standards] (cexp2f): Likewise.
14976 [C99-based standards] (cexpm1f): Likewise.
14977 [C99-based standards] (clog10f): Likewise.
14978 [C99-based standards] (clog1pf): Likewise.
14979 [C99-based standards] (clog2f): Likewise.
14980 [C99-based standards] (clgammaf): Likewise.
14981 [C99-based standards] (ctgammaf): Likewise.
14982 [C99-based standards] (cerfl): Likewise.
14983 [C99-based standards] (cerfcl): Likewise.
14984 [C99-based standards] (cexp2l): Likewise.
14985 [C99-based standards] (cexpm1l): Likewise.
14986 [C99-based standards] (clog10l): Likewise.
14987 [C99-based standards] (clog1pl): Likewise.
14988 [C99-based standards] (clog2l): Likewise.
14989 [C99-based standards] (clgammal): Likewise.
14990 [C99-based standards] (ctgammal): Likewise.
14991 * conform/data/inttypes.h-data [C99-based standards]: Include
14992 stdint.h-data. Remove all expectations for stdint.h contents.
14993 [C99-based standards] (PRI*): Do not allow.
14994 [C99-based standards] (SCN*): Likewise.
14995 [C99-based standards] (*_t): Likewise.
14996 [C99-based-standards] (PRId8): Expect macro.
14997 [C99-based-standards] (PRIi8): Likewise.
14998 [C99-based-standards] (PRIo8): Likewise.
14999 [C99-based-standards] (PRIu8): Likewise.
15000 [C99-based-standards] (PRIx8): Likewise.
15001 [C99-based-standards] (PRIX8): Likewise.
15002 [C99-based-standards] (SCNd8): Likewise.
15003 [C99-based-standards] (SCNi8): Likewise.
15004 [C99-based-standards] (SCNo8): Likewise.
15005 [C99-based-standards] (SCNu8): Likewise.
15006 [C99-based-standards] (SCNx8): Likewise.
15007 [C99-based-standards] (PRIdLEAST8): Likewise.
15008 [C99-based-standards] (PRIiLEAST8): Likewise.
15009 [C99-based-standards] (PRIoLEAST8): Likewise.
15010 [C99-based-standards] (PRIuLEAST8): Likewise.
15011 [C99-based-standards] (PRIxLEAST8): Likewise.
15012 [C99-based-standards] (PRIXLEAST8): Likewise.
15013 [C99-based-standards] (SCNdLEAST8): Likewise.
15014 [C99-based-standards] (SCNiLEAST8): Likewise.
15015 [C99-based-standards] (SCNoLEAST8): Likewise.
15016 [C99-based-standards] (SCNuLEAST8): Likewise.
15017 [C99-based-standards] (SCNxLEAST8): Likewise.
15018 [C99-based-standards] (PRIdFAST8): Likewise.
15019 [C99-based-standards] (PRIiFAST8): Likewise.
15020 [C99-based-standards] (PRIoFAST8): Likewise.
15021 [C99-based-standards] (PRIuFAST8): Likewise.
15022 [C99-based-standards] (PRIxFAST8): Likewise.
15023 [C99-based-standards] (PRIXFAST8): Likewise.
15024 [C99-based-standards] (SCNdFAST8): Likewise.
15025 [C99-based-standards] (SCNiFAST8): Likewise.
15026 [C99-based-standards] (SCNoFAST8): Likewise.
15027 [C99-based-standards] (SCNuFAST8): Likewise.
15028 [C99-based-standards] (SCNxFAST8): Likewise.
15029 [C99-based-standards] (PRId16): Likewise.
15030 [C99-based-standards] (PRIi16): Likewise.
15031 [C99-based-standards] (PRIo16): Likewise.
15032 [C99-based-standards] (PRIu16): Likewise.
15033 [C99-based-standards] (PRIx16): Likewise.
15034 [C99-based-standards] (PRIX16): Likewise.
15035 [C99-based-standards] (SCNd16): Likewise.
15036 [C99-based-standards] (SCNi16): Likewise.
15037 [C99-based-standards] (SCNo16): Likewise.
15038 [C99-based-standards] (SCNu16): Likewise.
15039 [C99-based-standards] (SCNx16): Likewise.
15040 [C99-based-standards] (PRIdLEAST16): Likewise.
15041 [C99-based-standards] (PRIiLEAST16): Likewise.
15042 [C99-based-standards] (PRIoLEAST16): Likewise.
15043 [C99-based-standards] (PRIuLEAST16): Likewise.
15044 [C99-based-standards] (PRIxLEAST16): Likewise.
15045 [C99-based-standards] (PRIXLEAST16): Likewise.
15046 [C99-based-standards] (SCNdLEAST16): Likewise.
15047 [C99-based-standards] (SCNiLEAST16): Likewise.
15048 [C99-based-standards] (SCNoLEAST16): Likewise.
15049 [C99-based-standards] (SCNuLEAST16): Likewise.
15050 [C99-based-standards] (SCNxLEAST16): Likewise.
15051 [C99-based-standards] (PRIdFAST16): Likewise.
15052 [C99-based-standards] (PRIiFAST16): Likewise.
15053 [C99-based-standards] (PRIoFAST16): Likewise.
15054 [C99-based-standards] (PRIuFAST16): Likewise.
15055 [C99-based-standards] (PRIxFAST16): Likewise.
15056 [C99-based-standards] (PRIXFAST16): Likewise.
15057 [C99-based-standards] (SCNdFAST16): Likewise.
15058 [C99-based-standards] (SCNiFAST16): Likewise.
15059 [C99-based-standards] (SCNoFAST16): Likewise.
15060 [C99-based-standards] (SCNuFAST16): Likewise.
15061 [C99-based-standards] (SCNxFAST16): Likewise.
15062 [C99-based-standards] (PRId32): Likewise.
15063 [C99-based-standards] (PRIi32): Likewise.
15064 [C99-based-standards] (PRIo32): Likewise.
15065 [C99-based-standards] (PRIu32): Likewise.
15066 [C99-based-standards] (PRIx32): Likewise.
15067 [C99-based-standards] (PRIX32): Likewise.
15068 [C99-based-standards] (SCNd32): Likewise.
15069 [C99-based-standards] (SCNi32): Likewise.
15070 [C99-based-standards] (SCNo32): Likewise.
15071 [C99-based-standards] (SCNu32): Likewise.
15072 [C99-based-standards] (SCNx32): Likewise.
15073 [C99-based-standards] (PRIdLEAST32): Likewise.
15074 [C99-based-standards] (PRIiLEAST32): Likewise.
15075 [C99-based-standards] (PRIoLEAST32): Likewise.
15076 [C99-based-standards] (PRIuLEAST32): Likewise.
15077 [C99-based-standards] (PRIxLEAST32): Likewise.
15078 [C99-based-standards] (PRIXLEAST32): Likewise.
15079 [C99-based-standards] (SCNdLEAST32): Likewise.
15080 [C99-based-standards] (SCNiLEAST32): Likewise.
15081 [C99-based-standards] (SCNoLEAST32): Likewise.
15082 [C99-based-standards] (SCNuLEAST32): Likewise.
15083 [C99-based-standards] (SCNxLEAST32): Likewise.
15084 [C99-based-standards] (PRIdFAST32): Likewise.
15085 [C99-based-standards] (PRIiFAST32): Likewise.
15086 [C99-based-standards] (PRIoFAST32): Likewise.
15087 [C99-based-standards] (PRIuFAST32): Likewise.
15088 [C99-based-standards] (PRIxFAST32): Likewise.
15089 [C99-based-standards] (PRIXFAST32): Likewise.
15090 [C99-based-standards] (SCNdFAST32): Likewise.
15091 [C99-based-standards] (SCNiFAST32): Likewise.
15092 [C99-based-standards] (SCNoFAST32): Likewise.
15093 [C99-based-standards] (SCNuFAST32): Likewise.
15094 [C99-based-standards] (SCNxFAST32): Likewise.
15095 [C99-based-standards] (PRId64): Likewise.
15096 [C99-based-standards] (PRIi64): Likewise.
15097 [C99-based-standards] (PRIo64): Likewise.
15098 [C99-based-standards] (PRIu64): Likewise.
15099 [C99-based-standards] (PRIx64): Likewise.
15100 [C99-based-standards] (PRIX64): Likewise.
15101 [C99-based-standards] (SCNd64): Likewise.
15102 [C99-based-standards] (SCNi64): Likewise.
15103 [C99-based-standards] (SCNo64): Likewise.
15104 [C99-based-standards] (SCNu64): Likewise.
15105 [C99-based-standards] (SCNx64): Likewise.
15106 [C99-based-standards] (PRIdLEAST64): Likewise.
15107 [C99-based-standards] (PRIiLEAST64): Likewise.
15108 [C99-based-standards] (PRIoLEAST64): Likewise.
15109 [C99-based-standards] (PRIuLEAST64): Likewise.
15110 [C99-based-standards] (PRIxLEAST64): Likewise.
15111 [C99-based-standards] (PRIXLEAST64): Likewise.
15112 [C99-based-standards] (SCNdLEAST64): Likewise.
15113 [C99-based-standards] (SCNiLEAST64): Likewise.
15114 [C99-based-standards] (SCNoLEAST64): Likewise.
15115 [C99-based-standards] (SCNuLEAST64): Likewise.
15116 [C99-based-standards] (SCNxLEAST64): Likewise.
15117 [C99-based-standards] (PRIdFAST64): Likewise.
15118 [C99-based-standards] (PRIiFAST64): Likewise.
15119 [C99-based-standards] (PRIoFAST64): Likewise.
15120 [C99-based-standards] (PRIuFAST64): Likewise.
15121 [C99-based-standards] (PRIxFAST64): Likewise.
15122 [C99-based-standards] (PRIXFAST64): Likewise.
15123 [C99-based-standards] (SCNdFAST64): Likewise.
15124 [C99-based-standards] (SCNiFAST64): Likewise.
15125 [C99-based-standards] (SCNoFAST64): Likewise.
15126 [C99-based-standards] (SCNuFAST64): Likewise.
15127 [C99-based-standards] (SCNxFAST64): Likewise.
15128 [C99-based-standards] (PRIdMAX): Likewise.
15129 [C99-based-standards] (PRIiMAX): Likewise.
15130 [C99-based-standards] (PRIoMAX): Likewise.
15131 [C99-based-standards] (PRIuMAX): Likewise.
15132 [C99-based-standards] (PRIxMAX): Likewise.
15133 [C99-based-standards] (PRIXMAX): Likewise.
15134 [C99-based-standards] (SCNdMAX): Likewise.
15135 [C99-based-standards] (SCNiMAX): Likewise.
15136 [C99-based-standards] (SCNoMAX): Likewise.
15137 [C99-based-standards] (SCNuMAX): Likewise.
15138 [C99-based-standards] (SCNxMAX): Likewise.
15139 [C99-based-standards] (PRIdPTR): Likewise.
15140 [C99-based-standards] (PRIiPTR): Likewise.
15141 [C99-based-standards] (PRIoPTR): Likewise.
15142 [C99-based-standards] (PRIuPTR): Likewise.
15143 [C99-based-standards] (PRIxPTR): Likewise.
15144 [C99-based-standards] (PRIXPTR): Likewise.
15145 [C99-based-standards] (SCNdPTR): Likewise.
15146 [C99-based-standards] (SCNiPTR): Likewise.
15147 [C99-based-standards] (SCNoPTR): Likewise.
15148 [C99-based-standards] (SCNuPTR): Likewise.
15149 [C99-based-standards] (SCNxPTR): Likewise.
15150 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15152 * conform/data/stdint.h-data: Update comments to clarify
15154 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15156 [C99-based standards] (INT8_MAX): Likewise.
15157 [C99-based standards] (INT16_MIN): Likewise.
15158 [C99-based standards] (INT16_MAX): Likewise.
15159 [C99-based standards] (INT32_MIN): Likewise.
15160 [C99-based standards] (INT32_MAX): Likewise.
15161 [C99-based standards] (INT64_MIN): Likewise.
15162 [C99-based standards] (INT64_MAX): Likewise.
15163 [C99-based standards] (UINT8_MAX): Likewise.
15164 [C99-based standards] (UINT16_MAX): Likewise.
15165 [C99-based standards] (UINT32_MAX): Likewise.
15166 [C99-based standards] (UINT64_MAX): Likewise.
15167 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15168 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15169 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15170 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15171 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15172 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15173 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15174 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15175 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15176 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15177 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15178 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15179 [C99-based standards] (INT_FAST8_MIN): Likewise.
15180 [C99-based standards] (INT_FAST8_MAX): Likewise.
15181 [C99-based standards] (INT_FAST16_MIN): Likewise.
15182 [C99-based standards] (INT_FAST16_MAX): Likewise.
15183 [C99-based standards] (INT_FAST32_MIN): Likewise.
15184 [C99-based standards] (INT_FAST32_MAX): Likewise.
15185 [C99-based standards] (INT_FAST64_MIN): Likewise.
15186 [C99-based standards] (INT_FAST64_MAX): Likewise.
15187 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15188 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15189 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15190 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15191 [C99-based standards] (INTPTR_MIN): Likewise.
15192 [C99-based standards] (INTPTR_MAX): Likewise.
15193 [C99-based standards] (UINTPTR_MAX): Likewise.
15194 [C99-based standards] (INTMAX_MIN): Likewise.
15195 [C99-based standards] (INTMAX_MAX): Likewise.
15196 [C99-based standards] (UINTMAX_MAX): Likewise.
15197 [C99-based standards] (PTRDIFF_MIN): Likewise.
15198 [C99-based standards] (PTRDIFF_MAX): Likewise.
15199 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15200 [C99-based standards] (SIZE_MAX): Likewise.
15201 [C99-based standards] (WCHAR_MAX): Likewise.
15202 [C99-based standards] (WINT_MAX): Likewise.
15203 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15204 constraint on value.
15205 [C99-based standards] (WCHAR_MIN): Likewise.
15206 [C99-based standards] (WINT_MIN): Likewise.
15207 [C99-based standards] (*_t): Allow.
15208 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15209 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15210 Include math.h-data and complex.h-data. Remove all expectations
15211 of math.h and complex.h contents.
15212 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15214 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15215 (struct tm): Expect tag.
15216 [C99-based-standards] (wcstof): Expect function.
15217 [C99-based-standards] (wcstold): Likewise.
15218 [C99-based-standards] (wcstoll): Likewise.
15219 [C99-based-standards] (wcstoull): Likewise.
15220 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15221 macro-int-constant. Specify type.
15222 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15223 constraint on value.
15224 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15226 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15228 [ISO C standards]: Do not allow headers.
15229 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15230 wcs[abcdefghijklmnopqrstuvwxyz]*.
15231 [ISO C standards] (*_t): Do not allow.
15232 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15234 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15235 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15237 [ISO C standards]: Do not allow headers.
15238 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15239 is[abcdefghijklmnopqrstuvwxyz]*.
15240 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15241 to[abcdefghijklmnopqrstuvwxyz]*.
15242 [ISO C standards] (*_t): Do not allow.
15243 * conform/data/stdalign.h-data: New file.
15244 * conform/data/stdbool.h-data: Likewise.
15245 * conform/data/stdnoreturn.h-data: Likewise.
15247 2012-11-07 Roland McGrath <roland@hack.frob.com>
15250 * manual/filesys.texi (Directory Entries): Typo fix.
15251 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15253 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15255 * elf/elf.h (EM_AARCH64): New macro.
15256 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15257 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15258 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15259 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15260 (R_AARCH64_TLSDESC): Likewise.
15261 (NT_ARM_TLS): Likewise.
15262 (NT_ARM_HW_BREAK): Likewise.
15263 (NT_ARM_HW_WATCH): Likewise.
15265 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15268 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15269 (__ieee754_powl): Saturate nonzero exponents with absolute value
15270 below 0x1p-79 to +/- 0x1p-79.
15271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15272 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15273 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15274 nonzero exponents with absolute value below 0x1p-32 to +/-
15276 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15277 (__ieee754_powl): Saturate nonzero exponents with absolute value
15278 below 0x1p-79 to +/- 0x1p-79.
15279 * math/libm-test.inc (pow_test): Add more tests.
15281 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15283 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15284 _dl_s390_cap_flags with kernel. Increase string length.
15285 (_dl_s390_platforms): Add z196 and zEC12.
15287 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15289 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15290 Change XOPEN21K to XOPEN2K.
15292 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15294 * string/memmove.c: Use memcpy when possible.
15296 2012-11-06 Andreas Jaeger <aj@suse.de>
15298 * po/eo.po: Update from translation team.
15300 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15304 exponent and small x and y exponents, scale x or y up. Increase
15305 by 2 the exponent used in scaling up.
15306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15307 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15308 * math/libm-test.inc (fma_test): Add more tests.
15309 (fma_test_towardzero): Likewise.
15310 (fma_test_downward): Likewise.
15311 (fma_test_upward): Likewise.
15313 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15316 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15320 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15321 namespace for names of struct fields.
15322 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15324 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15325 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15327 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15330 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15332 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15334 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15338 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15341 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15345 definitely overflow as x * y not x * y + z.
15346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15348 * math/libm-test.inc (fma_test): Add more tests.
15349 (fma_test_towardzero): Likewise.
15350 (fma_test_downward): Likewise.
15351 (fma_test_upward): Likewise.
15353 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15357 * include/stub-tag.h: Remove file.
15358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15360 * manual/maint.texi (Porting): Don't reference it.
15361 * Makerules ($(objpfx)stubs): Likewise.
15362 * dirent/closedir.c: Don't include <stub-tag.h>.
15363 * dirent/dirfd.c: Likewise.
15364 * dirent/fdopendir.c: Likewise.
15365 * dirent/getdents.c: Likewise.
15366 * dirent/getdents64.c: Likewise.
15367 * dirent/opendir.c: Likewise.
15368 * dirent/readdir.c: Likewise.
15369 * dirent/readdir64.c: Likewise.
15370 * dirent/readdir64_r.c: Likewise.
15371 * dirent/readdir_r.c: Likewise.
15372 * dirent/rewinddir.c: Likewise.
15373 * dirent/seekdir.c: Likewise.
15374 * dirent/telldir.c: Likewise.
15375 * gmon/profil.c: Likewise.
15376 * grp/setgroups.c: Likewise.
15377 * inet/if_index.c: Likewise.
15378 * io/access.c: Likewise.
15379 * io/chdir.c: Likewise.
15380 * io/chmod.c: Likewise.
15381 * io/chown.c: Likewise.
15382 * io/close.c: Likewise.
15383 * io/dup.c: Likewise.
15384 * io/dup2.c: Likewise.
15385 * io/dup3.c: Likewise.
15386 * io/euidaccess.c: Likewise.
15387 * io/faccessat.c: Likewise.
15388 * io/fchdir.c: Likewise.
15389 * io/fchmod.c: Likewise.
15390 * io/fchmodat.c: Likewise.
15391 * io/fchown.c: Likewise.
15392 * io/fchownat.c: Likewise.
15393 * io/fcntl.c: Likewise.
15394 * io/flock.c: Likewise.
15395 * io/fstatfs.c: Likewise.
15396 * io/fstatfs64.c: Likewise.
15397 * io/fstatvfs.c: Likewise.
15398 * io/fstatvfs64.c: Likewise.
15399 * io/futimens.c: Likewise.
15400 * io/fxstat.c: Likewise.
15401 * io/fxstat64.c: Likewise.
15402 * io/fxstatat.c: Likewise.
15403 * io/fxstatat64.c: Likewise.
15404 * io/getcwd.c: Likewise.
15405 * io/isatty.c: Likewise.
15406 * io/lchmod.c: Likewise.
15407 * io/lchown.c: Likewise.
15408 * io/link.c: Likewise.
15409 * io/linkat.c: Likewise.
15410 * io/lseek.c: Likewise.
15411 * io/lseek64.c: Likewise.
15412 * io/lxstat64.c: Likewise.
15413 * io/mkdir.c: Likewise.
15414 * io/mkdirat.c: Likewise.
15415 * io/mkfifo.c: Likewise.
15416 * io/mkfifoat.c: Likewise.
15417 * io/open.c: Likewise.
15418 * io/open64.c: Likewise.
15419 * io/openat.c: Likewise.
15420 * io/openat64.c: Likewise.
15421 * io/pipe.c: Likewise.
15422 * io/pipe2.c: Likewise.
15423 * io/poll.c: Likewise.
15424 * io/posix_fadvise.c: Likewise.
15425 * io/posix_fadvise64.c: Likewise.
15426 * io/posix_fallocate.c: Likewise.
15427 * io/posix_fallocate64.c: Likewise.
15428 * io/read.c: Likewise.
15429 * io/readlink.c: Likewise.
15430 * io/readlinkat.c: Likewise.
15431 * io/rmdir.c: Likewise.
15432 * io/sendfile.c: Likewise.
15433 * io/sendfile64.c: Likewise.
15434 * io/statfs.c: Likewise.
15435 * io/statfs64.c: Likewise.
15436 * io/statvfs.c: Likewise.
15437 * io/statvfs64.c: Likewise.
15438 * io/symlink.c: Likewise.
15439 * io/symlinkat.c: Likewise.
15440 * io/ttyname.c: Likewise.
15441 * io/ttyname_r.c: Likewise.
15442 * io/umask.c: Likewise.
15443 * io/unlink.c: Likewise.
15444 * io/unlinkat.c: Likewise.
15445 * io/utime.c: Likewise.
15446 * io/utimensat.c: Likewise.
15447 * io/write.c: Likewise.
15448 * io/xmknod.c: Likewise.
15449 * io/xmknodat.c: Likewise.
15450 * io/xstat.c: Likewise.
15451 * io/xstat64.c: Likewise.
15452 * login/getpt.c: Likewise.
15453 * login/grantpt.c: Likewise.
15454 * login/unlockpt.c: Likewise.
15455 * math/e_acoshl.c: Likewise.
15456 * math/e_acosl.c: Likewise.
15457 * math/e_asinl.c: Likewise.
15458 * math/e_atan2l.c: Likewise.
15459 * math/e_atanhl.c: Likewise.
15460 * math/e_coshl.c: Likewise.
15461 * math/e_expl.c: Likewise.
15462 * math/e_fmodl.c: Likewise.
15463 * math/e_gammal_r.c: Likewise.
15464 * math/e_hypotl.c: Likewise.
15465 * math/e_j0l.c: Likewise.
15466 * math/e_j1l.c: Likewise.
15467 * math/e_jnl.c: Likewise.
15468 * math/e_lgammal_r.c: Likewise.
15469 * math/e_log10l.c: Likewise.
15470 * math/e_log2l.c: Likewise.
15471 * math/e_logl.c: Likewise.
15472 * math/e_powl.c: Likewise.
15473 * math/e_rem_pio2l.c: Likewise.
15474 * math/e_sinhl.c: Likewise.
15475 * math/e_sqrtl.c: Likewise.
15476 * math/fclrexcpt.c: Likewise.
15477 * math/fedisblxcpt.c: Likewise.
15478 * math/feenablxcpt.c: Likewise.
15479 * math/fegetenv.c: Likewise.
15480 * math/fegetexcept.c: Likewise.
15481 * math/fegetround.c: Likewise.
15482 * math/feholdexcpt.c: Likewise.
15483 * math/fesetenv.c: Likewise.
15484 * math/fesetround.c: Likewise.
15485 * math/feupdateenv.c: Likewise.
15486 * math/fgetexcptflg.c: Likewise.
15487 * math/fraiseexcpt.c: Likewise.
15488 * math/fsetexcptflg.c: Likewise.
15489 * math/ftestexcept.c: Likewise.
15490 * math/k_cosl.c: Likewise.
15491 * math/k_rem_pio2l.c: Likewise.
15492 * math/k_sinl.c: Likewise.
15493 * math/k_tanl.c: Likewise.
15494 * math/s_asinhl.c: Likewise.
15495 * math/s_atanl.c: Likewise.
15496 * math/s_cbrtl.c: Likewise.
15497 * math/s_erfl.c: Likewise.
15498 * math/s_expm1l.c: Likewise.
15499 * math/s_log1pl.c: Likewise.
15500 * math/s_tanhl.c: Likewise.
15501 * misc/acct.c: Likewise.
15502 * misc/brk.c: Likewise.
15503 * misc/chflags.c: Likewise.
15504 * misc/chroot.c: Likewise.
15505 * misc/fchflags.c: Likewise.
15506 * misc/fgetxattr.c: Likewise.
15507 * misc/flistxattr.c: Likewise.
15508 * misc/fremovexattr.c: Likewise.
15509 * misc/fsetxattr.c: Likewise.
15510 * misc/fsync.c: Likewise.
15511 * misc/ftruncate.c: Likewise.
15512 * misc/futimes.c: Likewise.
15513 * misc/futimesat.c: Likewise.
15514 * misc/getdomain.c: Likewise.
15515 * misc/getdtsz.c: Likewise.
15516 * misc/gethostid.c: Likewise.
15517 * misc/gethostname.c: Likewise.
15518 * misc/getloadavg.c: Likewise.
15519 * misc/getpagesize.c: Likewise.
15520 * misc/getsysstats.c: Likewise.
15521 * misc/getxattr.c: Likewise.
15522 * misc/gtty.c: Likewise.
15523 * misc/ioctl.c: Likewise.
15524 * misc/lgetxattr.c: Likewise.
15525 * misc/listxattr.c: Likewise.
15526 * misc/llistxattr.c: Likewise.
15527 * misc/lremovexattr.c: Likewise.
15528 * misc/lsetxattr.c: Likewise.
15529 * misc/lutimes.c: Likewise.
15530 * misc/madvise.c: Likewise.
15531 * misc/mincore.c: Likewise.
15532 * misc/mlock.c: Likewise.
15533 * misc/mlockall.c: Likewise.
15534 * misc/mmap.c: Likewise.
15535 * misc/mprotect.c: Likewise.
15536 * misc/msync.c: Likewise.
15537 * misc/munlock.c: Likewise.
15538 * misc/munlockall.c: Likewise.
15539 * misc/munmap.c: Likewise.
15540 * misc/preadv.c: Likewise.
15541 * misc/preadv64.c: Likewise.
15542 * misc/ptrace.c: Likewise.
15543 * misc/pwritev.c: Likewise.
15544 * misc/pwritev64.c: Likewise.
15545 * misc/readv.c: Likewise.
15546 * misc/reboot.c: Likewise.
15547 * misc/remap_file_pages.c: Likewise.
15548 * misc/removexattr.c: Likewise.
15549 * misc/revoke.c: Likewise.
15550 * misc/select.c: Likewise.
15551 * misc/setdomain.c: Likewise.
15552 * misc/setegid.c: Likewise.
15553 * misc/seteuid.c: Likewise.
15554 * misc/sethostid.c: Likewise.
15555 * misc/sethostname.c: Likewise.
15556 * misc/setregid.c: Likewise.
15557 * misc/setreuid.c: Likewise.
15558 * misc/setxattr.c: Likewise.
15559 * misc/sstk.c: Likewise.
15560 * misc/stty.c: Likewise.
15561 * misc/swapoff.c: Likewise.
15562 * misc/swapon.c: Likewise.
15563 * misc/sync.c: Likewise.
15564 * misc/syncfs.c: Likewise.
15565 * misc/syscall.c: Likewise.
15566 * misc/truncate.c: Likewise.
15567 * misc/ualarm.c: Likewise.
15568 * misc/usleep.c: Likewise.
15569 * misc/ustat.c: Likewise.
15570 * misc/utimes.c: Likewise.
15571 * misc/vhangup.c: Likewise.
15572 * misc/writev.c: Likewise.
15573 * posix/_exit.c: Likewise.
15574 * posix/alarm.c: Likewise.
15575 * posix/execve.c: Likewise.
15576 * posix/fexecve.c: Likewise.
15577 * posix/fork.c: Likewise.
15578 * posix/fpathconf.c: Likewise.
15579 * posix/getaddrinfo.c: Likewise.
15580 * posix/getegid.c: Likewise.
15581 * posix/geteuid.c: Likewise.
15582 * posix/getgid.c: Likewise.
15583 * posix/getgroups.c: Likewise.
15584 * posix/getlogin.c: Likewise.
15585 * posix/getlogin_r.c: Likewise.
15586 * posix/getpgid.c: Likewise.
15587 * posix/getpid.c: Likewise.
15588 * posix/getppid.c: Likewise.
15589 * posix/getresgid.c: Likewise.
15590 * posix/getresuid.c: Likewise.
15591 * posix/getsid.c: Likewise.
15592 * posix/getuid.c: Likewise.
15593 * posix/glob64.c: Likewise.
15594 * posix/nanosleep.c: Likewise.
15595 * posix/pathconf.c: Likewise.
15596 * posix/pause.c: Likewise.
15597 * posix/posix_madvise.c: Likewise.
15598 * posix/pread.c: Likewise.
15599 * posix/pread64.c: Likewise.
15600 * posix/pwrite.c: Likewise.
15601 * posix/pwrite64.c: Likewise.
15602 * posix/sched_getaffinity.c: Likewise.
15603 * posix/sched_getp.c: Likewise.
15604 * posix/sched_gets.c: Likewise.
15605 * posix/sched_primax.c: Likewise.
15606 * posix/sched_primin.c: Likewise.
15607 * posix/sched_rr_gi.c: Likewise.
15608 * posix/sched_setaffinity.c: Likewise.
15609 * posix/sched_setp.c: Likewise.
15610 * posix/sched_sets.c: Likewise.
15611 * posix/sched_yield.c: Likewise.
15612 * posix/setgid.c: Likewise.
15613 * posix/setlogin.c: Likewise.
15614 * posix/setpgid.c: Likewise.
15615 * posix/setresgid.c: Likewise.
15616 * posix/setresuid.c: Likewise.
15617 * posix/setsid.c: Likewise.
15618 * posix/setuid.c: Likewise.
15619 * posix/sleep.c: Likewise.
15620 * posix/spawni.c: Likewise.
15621 * posix/sysconf.c: Likewise.
15622 * posix/times.c: Likewise.
15623 * posix/wait.c: Likewise.
15624 * posix/wait3.c: Likewise.
15625 * posix/wait4.c: Likewise.
15626 * posix/waitpid.c: Likewise.
15627 * resolv/gai_sigqueue.c: Likewise.
15628 * resource/getpriority.c: Likewise.
15629 * resource/getrlimit.c: Likewise.
15630 * resource/getrusage.c: Likewise.
15631 * resource/nice.c: Likewise.
15632 * resource/setpriority.c: Likewise.
15633 * resource/setrlimit.c: Likewise.
15634 * resource/ulimit.c: Likewise.
15635 * rt/aio_cancel.c: Likewise.
15636 * rt/aio_fsync.c: Likewise.
15637 * rt/aio_read.c: Likewise.
15638 * rt/aio_sigqueue.c: Likewise.
15639 * rt/aio_suspend.c: Likewise.
15640 * rt/aio_write.c: Likewise.
15641 * rt/clock_getres.c: Likewise.
15642 * rt/clock_gettime.c: Likewise.
15643 * rt/clock_nanosleep.c: Likewise.
15644 * rt/clock_settime.c: Likewise.
15645 * rt/lio_listio.c: Likewise.
15646 * rt/mq_close.c: Likewise.
15647 * rt/mq_getattr.c: Likewise.
15648 * rt/mq_notify.c: Likewise.
15649 * rt/mq_open.c: Likewise.
15650 * rt/mq_receive.c: Likewise.
15651 * rt/mq_send.c: Likewise.
15652 * rt/mq_setattr.c: Likewise.
15653 * rt/mq_timedreceive.c: Likewise.
15654 * rt/mq_timedsend.c: Likewise.
15655 * rt/mq_unlink.c: Likewise.
15656 * rt/shm_open.c: Likewise.
15657 * rt/shm_unlink.c: Likewise.
15658 * rt/timer_create.c: Likewise.
15659 * rt/timer_delete.c: Likewise.
15660 * rt/timer_getoverr.c: Likewise.
15661 * rt/timer_gettime.c: Likewise.
15662 * rt/timer_settime.c: Likewise.
15663 * setjmp/__longjmp.c: Likewise.
15664 * setjmp/setjmp.c: Likewise.
15665 * signal/kill.c: Likewise.
15666 * signal/killpg.c: Likewise.
15667 * signal/raise.c: Likewise.
15668 * signal/sigaction.c: Likewise.
15669 * signal/sigaltstack.c: Likewise.
15670 * signal/sigblock.c: Likewise.
15671 * signal/sigignore.c: Likewise.
15672 * signal/sigintr.c: Likewise.
15673 * signal/signal.c: Likewise.
15674 * signal/sigpause.c: Likewise.
15675 * signal/sigpending.c: Likewise.
15676 * signal/sigqueue.c: Likewise.
15677 * signal/sigreturn.c: Likewise.
15678 * signal/sigset.c: Likewise.
15679 * signal/sigsetmask.c: Likewise.
15680 * signal/sigstack.c: Likewise.
15681 * signal/sigsuspend.c: Likewise.
15682 * signal/sigtimedwait.c: Likewise.
15683 * signal/sigvec.c: Likewise.
15684 * signal/sigwait.c: Likewise.
15685 * signal/sigwaitinfo.c: Likewise.
15686 * signal/sysv_signal.c: Likewise.
15687 * socket/accept.c: Likewise.
15688 * socket/accept4.c: Likewise.
15689 * socket/bind.c: Likewise.
15690 * socket/connect.c: Likewise.
15691 * socket/getpeername.c: Likewise.
15692 * socket/getsockname.c: Likewise.
15693 * socket/getsockopt.c: Likewise.
15694 * socket/isfdtype.c: Likewise.
15695 * socket/listen.c: Likewise.
15696 * socket/recv.c: Likewise.
15697 * socket/recvfrom.c: Likewise.
15698 * socket/recvmsg.c: Likewise.
15699 * socket/send.c: Likewise.
15700 * socket/sendmsg.c: Likewise.
15701 * socket/sendto.c: Likewise.
15702 * socket/setsockopt.c: Likewise.
15703 * socket/shutdown.c: Likewise.
15704 * socket/sockatmark.c: Likewise.
15705 * socket/socket.c: Likewise.
15706 * socket/socketpair.c: Likewise.
15707 * stdio-common/ctermid.c: Likewise.
15708 * stdio-common/cuserid.c: Likewise.
15709 * stdio-common/remove.c: Likewise.
15710 * stdio-common/rename.c: Likewise.
15711 * stdio-common/renameat.c: Likewise.
15712 * stdio-common/tempname.c: Likewise.
15713 * stdlib/getcontext.c: Likewise.
15714 * stdlib/makecontext.c: Likewise.
15715 * stdlib/setcontext.c: Likewise.
15716 * stdlib/swapcontext.c: Likewise.
15717 * stdlib/system.c: Likewise.
15718 * streams/fattach.c: Likewise.
15719 * streams/fdetach.c: Likewise.
15720 * streams/getmsg.c: Likewise.
15721 * streams/getpmsg.c: Likewise.
15722 * streams/putmsg.c: Likewise.
15723 * streams/putpmsg.c: Likewise.
15724 * sysdeps/unix/bsd/getpt.c: Likewise.
15725 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15726 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15727 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15730 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15731 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15732 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15733 * sysvipc/msgctl.c: Likewise.
15734 * sysvipc/msgget.c: Likewise.
15735 * sysvipc/msgrcv.c: Likewise.
15736 * sysvipc/msgsnd.c: Likewise.
15737 * sysvipc/semctl.c: Likewise.
15738 * sysvipc/semget.c: Likewise.
15739 * sysvipc/semop.c: Likewise.
15740 * sysvipc/semtimedop.c: Likewise.
15741 * sysvipc/shmat.c: Likewise.
15742 * sysvipc/shmctl.c: Likewise.
15743 * sysvipc/shmdt.c: Likewise.
15744 * sysvipc/shmget.c: Likewise.
15745 * termios/tcdrain.c: Likewise.
15746 * termios/tcflow.c: Likewise.
15747 * termios/tcflush.c: Likewise.
15748 * termios/tcgetattr.c: Likewise.
15749 * termios/tcgetpgrp.c: Likewise.
15750 * termios/tcsendbrk.c: Likewise.
15751 * termios/tcsetattr.c: Likewise.
15752 * termios/tcsetpgrp.c: Likewise.
15753 * time/adjtime.c: Likewise.
15754 * time/clock.c: Likewise.
15755 * time/getitimer.c: Likewise.
15756 * time/gettimeofday.c: Likewise.
15757 * time/setitimer.c: Likewise.
15758 * time/settimeofday.c: Likewise.
15759 * time/stime.c: Likewise.
15760 * time/time.c: Likewise.
15762 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15764 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15767 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15769 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15771 2012-11-03 Joseph Myers <joseph@codesourcery.com>
15774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15775 FE_TONEAREST before applying Dekker multiplication and Knuth
15776 addition. Clear inexact exceptions and check for exact zero
15777 results afterwards.
15778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15779 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15781 * math/libm-test.inc (fma_test): Add more tests.
15782 (fma_test_towardzero): Likewise.
15783 (fma_test_downward): Likewise.
15784 (fma_test_upward): Likewise.
15785 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15787 (libc_fesetround): New macro.
15788 (libc_fesetroundf): Likewise.
15789 (libc_fesetroundl): Likewise.
15790 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15792 (libc_fesetround_387): Likewise.
15793 (libc_fesetroundf): New macro.
15794 (libc_fesetround): Likewise.
15795 (libc_fesetroundl): Likewise.
15796 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15798 (libc_fesetroundf): New macro.
15799 (libc_fesetround): Likewise.
15800 (libc_fesetroundl): Likewise.
15801 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15802 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15803 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15805 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15806 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15808 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15809 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15811 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15815 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15816 integer constant usable in #if and use that to give value to enum
15818 (FE_DIVBYZERO): Likewise.
15819 (FE_UNDERFLOW): Likewise.
15820 (FE_OVERFLOW): Likewise.
15821 (FE_INVALID): Likewise.
15822 (FE_INVALID_SNAN): Likewise.
15823 (FE_INVALID_ISI): Likewise.
15824 (FE_INVALID_IDI): Likewise.
15825 (FE_INVALID_ZDZ): Likewise.
15826 (FE_INVALID_IMZ): Likewise.
15827 (FE_INVALID_COMPARE): Likewise.
15828 (FE_INVALID_SOFTWARE): Likewise.
15829 (FE_INVALID_SQRT): Likewise.
15830 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15831 (FE_TONEAREST): Likewise.
15832 (FE_TOWARDZERO): Likewise.
15833 (FE_UPWARD): Likewise.
15834 (FE_DOWNWARD): Likewise.
15835 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15836 (FE_DIVBYZERO): Likewise.
15837 (FE_OVERFLOW): Likewise.
15838 (FE_UNDERFLOW): Likewise.
15839 (FE_INEXACT): Likewise.
15840 (FE_TONEAREST): Likewise.
15841 (FE_DOWNWARD): Likewise.
15842 (FE_UPWARD): Likewise.
15843 (FE_TOWARDZERO): Likewise.
15844 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15845 (FE_UNDERFLOW): Likewise.
15846 (FE_OVERFLOW): Likewise.
15847 (FE_DIVBYZERO): Likewise.
15848 (FE_INVALID): Likewise.
15849 (FE_TONEAREST): Likewise.
15850 (FE_TOWARDZERO): Likewise.
15851 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15852 (FE_OVERFLOW): Likewise.
15853 (FE_UNDERFLOW): Likewise.
15854 (FE_DIVBYZERO): Likewise.
15855 (FE_INEXACT): Likewise.
15856 (FE_TONEAREST): Likewise.
15857 (FE_TOWARDZERO): Likewise.
15858 (FE_UPWARD): Likewise.
15859 (FE_DOWNWARD): Likewise.
15860 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15861 (FE_DIVBYZERO): Likewise.
15862 (FE_OVERFLOW): Likewise.
15863 (FE_UNDERFLOW): Likewise.
15864 (FE_INEXACT): Likewise.
15865 (FE_TONEAREST): Likewise.
15866 (FE_DOWNWARD): Likewise.
15867 (FE_UPWARD): Likewise.
15868 (FE_TOWARDZERO): Likewise.
15870 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15872 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15874 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15876 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15877 commands. Quote $PWD.
15878 (blacklist_exports): Don't use remove_newlines. Replace "declare
15880 (remove_newlines): Remove.
15882 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15884 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15885 * stdlib/stdlib.h (atof): Moved to ...
15886 * include/bits/stdlib-float.h: Here. New file.
15887 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15888 * stdlib/bits/stdlib-float.h: New file.
15889 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15894 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15896 * conform/conformtest.pl (@headers): Add fenv.h.
15897 * conform/data/fenv.h-data: New file.
15898 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15899 include of <math/fenv.h>.
15901 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15902 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15903 && !UNIX98]. Enables tests for XOPEN2K8.
15904 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15905 POSIX2008]: Likewise.
15907 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15908 (struct rusage): Do not expect type or its members.
15911 * math/math.h (FP_NAN): Define macro to integer constant usable in
15912 #if and use that to give value to enum constant.
15913 (FP_INFINITE): Likewise.
15914 (FP_ZERO): Likewise.
15915 (FP_SUBNORMAL): Likewise.
15916 (FP_NORMAL): Likewise.
15918 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15920 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15921 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15924 2012-11-02 Roland McGrath <roland@hack.frob.com>
15926 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15927 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15928 autoconf-time if not.
15929 * configure.in: Remove AC_PREREQ.
15931 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15933 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15934 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15935 of the internal implementation.
15937 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15939 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15940 except include of <misc/sys/syslog.h>.
15942 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15945 function returns with a NULL context exit with zero.
15947 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15949 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15951 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15953 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15954 (run_program_cmd): This.
15955 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15956 (tst_langinfo): New variable. Use it.
15958 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15960 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15961 floating point opcodes.
15963 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15965 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15968 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15970 * sysdeps/mach/hurd/powerpc: Remove directory.
15971 * sysdeps/mach/powerpc: Likewise.
15973 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15975 * scripts/check-local-headers.sh: Ignore c++ headers.
15977 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15979 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15980 __libc_cleanup_region_start argument.
15982 2012-11-01 Joseph Myers <joseph@codesourcery.com>
15986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15987 x * y using scaling, not as x * y + z.
15988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15990 * math/libm-test.inc (fma_test): Add more tests.
15991 (fma_test_towardzero): Likewise.
15992 (fma_test_downward): Likewise.
15993 (fma_test_upward): Likewise.
15995 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15997 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15999 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16004 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16006 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16008 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16015 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16018 Fix the order of the list for glibc 2.17.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16022 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16026 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16029 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16030 for low part of x being zero before using __atanl (y).
16031 * math/libm-test.inc (atan2_test): Add another test.
16033 * manual/install.texi (Configuring and compiling): Document
16034 general use of test-wrapper and test-wrapper-env.
16035 * INSTALL: Regenerated.
16037 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16038 (__fma): Do not extract and scale down low bits on after-rounding
16039 systems when result rounded to normal precision would have normal
16041 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16042 (__fmal): Do not extract and scale down low bits on after-rounding
16043 systems when result rounded to normal precision would have normal
16045 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16046 (__fmal): Do not extract and scale down low bits on after-rounding
16047 systems when result rounded to normal precision would have normal
16049 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16051 (fma_test): Add more tests.
16052 (fma_test_towardzero): Likewise.
16053 (fma_test_downward): Likewise.
16054 (fma_test_upward): Likewise.
16056 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16058 * sysdeps/i386/tininess.h: Renamed to ...
16059 * sysdeps/x86/tininess.h: This.
16060 * sysdeps/x86_64/tininess.h: Removed.
16062 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16064 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16065 input. Use $(build-program-cmd).
16066 ($(objpfx)tst-array1-static.out): Likewise.
16067 ($(objpfx)tst-array2.out): Likewise.
16068 ($(objpfx)tst-array3.out): Likewise.
16069 ($(objpfx)tst-array4.out): Likewise.
16070 ($(objpfx)tst-array5.out): Likewise.
16071 ($(objpfx)tst-array5-static.out): Likewise.
16073 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16075 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16078 * nss/nsswitch.h (nss_interface_function): Provide new
16079 macro for use with NSS functions.
16080 * grp/initgroups.c: Use new macro.
16081 * nss/getXXbyYY.c: Likewise.
16082 * nss/getXXbyYY_r.c: Likewise.
16083 * nss/getXXent.c: Likewise.
16084 * nss/getXXent_r.c: Likewise.
16085 * sysdeps/posix/getaddrinfo.c: Likewise.
16087 2012-10-30 Andreas Jaeger <aj@suse.de>
16089 * po/ru.po: Update Russion translation from translation project.
16091 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16096 result and shift together with sticky bit instead of replicating
16097 round-to-nearest rounding.
16098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16100 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16101 missing underflow exceptions.
16102 (fma_test_towardzero): Add more tests.
16103 (fma_test_downward): Likewise.
16104 (fma_test_upward): Likewise.
16107 * sysdeps/generic/tininess.h: New file.
16108 * sysdeps/i386/tininess.h: Likewise.
16109 * sysdeps/sh/tininess.h: Likewise.
16110 * sysdeps/x86_64/tininess.h: Likewise.
16111 * stdlib/tst-strtod-underflow.c: Likewise.
16112 * stdlib/tst-tininess.c: Likewise.
16113 * stdlib/strtod_l.c: Include <tininess.h>.
16114 (round_and_return): Do not set errno for exact underflow cases.
16115 Force an underflow exception when setting errno for underflow.
16116 Determine underflow based on rounding to normal precision if
16117 TININESS_AFTER_ROUNDING.
16118 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16119 ERANGE for exact underflow cases.
16120 * stdlib/Makefile (tests): Add tst-tininess and
16121 tst-strtod-underflow.
16122 ($(objpfx)tst-tininess): Use $(link-libm).
16123 ($(objpfx)tst-strtod-underflow): Likewise.
16125 2012-10-30 Andreas Jaeger <aj@suse.de>
16128 * elf/Makefile (tests): Remove conditional for have-initfini-array
16129 since this is now always required and the variable does not exist
16131 (tests-static): Likewise.
16132 (modules-names): Likewise.
16134 * po/eo.po: Add Esperanto translation from translation project.
16136 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16137 merged with constructor/destructor.
16138 (init_array): Likewise.
16139 * elf/tst-array2dep.c (fini_array): Likewise.
16140 (init_array): Likewise.
16142 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16144 * manual/message.texi: Delete @cartouche tags.
16146 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16148 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16150 * sysdeps/mach/hurd/fsync.c: Likewise.
16152 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16153 [_POSIX_REALTIME_SIGNALS]: Change condition to
16154 [_POSIX_REALTIME_SIGNALS > 0].
16156 2012-10-27 Andreas Jaeger <aj@suse.de>
16158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16159 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16161 [__WORDSIZE != 64]: Likewise.
16163 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16165 * iconvdata/tst-table.sh: Remove ${SHELL}.
16166 * iconvdata/tst-tables.sh: Likewise.
16168 2012-10-25 David S. Miller <davem@davemloft.net>
16170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16171 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16177 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16178 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16181 2012-10-25 Roland McGrath <roland@hack.frob.com>
16183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16184 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16187 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16188 Jim Blandy <jimb@codesourcery.com>
16190 * scripts/cross-test-ssh.sh: New file.
16191 * manual/install.texi (Configuring and compiling): Document use of
16193 * INSTALL: Regenerated.
16195 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16197 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16200 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16202 * Makeconfig (run-program-prefix): Fix comment.
16204 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16205 Jim Blandy <jimb@codesourcery.com>
16207 * Makeconfig (test-wrapper): New variable,
16208 (test-wrapper-env): Likewise.
16209 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16210 (run-built-tests): Define to yes.
16211 (run-program-prefix): Use $(test-wrapper).
16212 (built-program-cmd): Likewise.
16213 * Rules (make-test-out): Use $(test-wrapper-env) and
16214 $(host-built-program-cmd).
16215 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16216 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16218 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16219 $(test-wrapper-env) to tst-rtld-load-self.sh.
16220 ($(objpfx)order2.out): Use $(test-wrapper).
16221 ($(objpfx)tst-initorder.out): Likewise.
16222 ($(objpfx)tst-initorder2.out): Likewise.
16223 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16224 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16225 (test_wrapper_env): New variable. Use it to run ld.so.
16226 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16227 Use it to run ld.so.
16228 (test_wrapper_env): Likewise.
16229 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16230 $(test-wrapper) to run-iconv-test.sh.
16231 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16232 (ICONV): Use $test_wrapper.
16233 * posix/Makefile ($(objpfx)globtest.out): Pass
16234 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16235 globtest.sh, not $(run-program-prefix).
16236 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16237 (test_wrapper): Likewise.
16238 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16239 set together with run_via_rtld_prefix.
16240 (run_program_prefix): Define in terms of test_wrapper and
16241 run_via_rtld_prefix.
16243 2012-10-24 Roland McGrath <roland@hack.frob.com>
16245 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16246 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16250 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16251 Declare __clock_getres, __clock_gettime, __clock_settime,
16252 __clock_nanosleep, and __clock_getcpuclockid.
16253 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16254 Remove librt_hidden_def (clock_gettime).
16255 * sysdeps/unix/clock_gettime.c: Likewise.
16256 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16257 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16258 * rt/clock_getres.c: Define __clock_getres as an alias.
16259 * sysdeps/posix/clock_getres.c: Likewise.
16260 * rt/clock_settime.c: Define __clock_settime as an alias.
16261 * sysdeps/unix/clock_settime.c: Likewise.
16262 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16263 * sysdeps/unix/clock_nanosleep.c: Likewise.
16264 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16265 * rt/clock-compat.c: New file.
16266 * rt/Makefile (librt-routines): Add clock-compat and move
16267 $(clock-routines) to ...
16268 (routines): ... here, new variable.
16269 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16270 Don't add get_clockfreq here.
16271 * rt/Versions (libc: GLIBC_2.17): New version set.
16272 Add clock_* symbols here.
16273 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16274 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16275 (GLIBC_2.17): Add clock_* symbols.
16276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16287 * NEWS: Mention the move.
16289 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16290 Use __open, __read, __close rather than their public counterparts.
16291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16292 (__get_clockfreq_via_cpuinfo): Likewise.
16293 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16294 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16296 * config.h.in (HAVE_IFUNC): New #undef.
16297 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16299 * configure: Regenerated.
16301 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16303 * configure.in: Move READELF check to start of file.
16304 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16305 libc_cv_asm_gnu_indirect_function in the process.
16306 * configure: Regenerated.
16308 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16310 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16311 send the output to /dev/null.
16312 (libc_cv_cc_with_libunwind): Likewise.
16313 (libc_cv_as_noexecstack): Likewise.
16314 * configure: Regenerate.
16316 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16318 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16320 * posix/globtest.sh (TMPDIR): Do not set.
16321 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16322 (testout): Likewise.
16324 2012-10-24 Andreas Jaeger <aj@suse.de>
16326 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16327 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16328 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16329 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16330 posix_fadvise64, posix_fallocate64.
16332 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16333 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16334 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16336 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16338 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16341 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16342 <bits/fcntl-linux.h>.
16343 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16346 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16347 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16348 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16349 [__WORDSIZE != 64]: Likewise.
16351 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16353 * Makeconfig (run-built-tests): New variable.
16354 * Rules [$(cross-compiling) = yes]: Change condition to
16355 [$(run-built-tests) = no].
16356 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16357 to [$(run-built-tests) = yes].
16358 * elf/Makefile [$(cross-compiling) = no]: Likewise
16359 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16360 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16361 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16362 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16363 * io/Makefile [$(cross-compiling) = no]: Likewise.
16364 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16365 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16366 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16367 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16368 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16369 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16370 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16371 * string/Makefile [$(cross-compiling) = no]: Likewise.
16373 * posix/Makefile ($(objpfx)globtest.out): Pass
16374 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16375 $(rtld-installed-name).
16376 * posix/globtest.sh (elf_objpfx): Remove variable.
16377 (rtld_installed_name): Likewise.
16378 (library_path): Likewise.
16379 (run_program_prefix): New variable. Use for running globtest
16382 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16383 Joseph Myers <joseph@codesourcery.com>
16385 * Makeconfig (host-built-program-cmd): New variable.
16386 * elf/Makefile (tst-stackguard1-ARGS): Use
16387 $(host-built-program-cmd).
16388 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16389 (tst-spawn-ARGS): Likewise.
16390 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16392 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16393 Jim Blandy <jimb@codesourcery.com>
16395 * Makeconfig (run-via-rtld-prefix): New variable.
16396 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16397 (built-program-cmd): Likewise.
16399 2012-10-22 Andreas Jaeger <aj@suse.de>
16401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16402 __O_RSYNC if it exists, otherwise to O_SYNC.
16404 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16405 Joseph Myers <joseph@codesourcery.com>
16407 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16409 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16411 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16414 2012-10-22 Andreas Jaeger <aj@suse.de>
16416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16421 bits/fcntl-linux.h.
16423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16424 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16431 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16432 Joseph Myers <joseph@codesourcery.com>
16434 * config.make.in (NM): New variable.
16436 2012-10-21 Andreas Jaeger <aj@suse.de>
16438 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16439 definitions and declarations that are provided by
16440 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16442 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16445 * elf/Makefile (tests-static): Add tst-leaks1-static.
16446 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16447 ($(objpfx)tst-leaks1-static): New rule.
16448 ($(objpfx)tst-leaks1-static-mem): Likewise.
16449 (tst-leaks1-static-ENV): New macro.
16450 * elf/dl-open.c (dl_open_worker): Check the main application
16451 only if SHARED is defined.
16452 * elf/tst-leaks1-static.c: New file.
16454 2012-10-20 Andreas Jaeger <aj@suse.de>
16456 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16457 generic values for Linux.
16458 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16459 and declarations that are provided by <bits/fcntl-linux.h> and
16460 include <bits/fcntl-linux.h>.
16461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16464 2012-10-20 Roland McGrath <roland@hack.frob.com>
16466 * io/fcntl.h: Move include of <bits/types.h> to the top and
16467 include it unconditionally.
16469 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16471 * wcsmbs/Makefile (tests-ifunc): New variable.
16472 (tests): Add $(tests-ifunc).
16473 * wcsmbs/test-wcschr-ifunc.c: New file.
16474 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16475 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16476 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16477 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16478 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16480 * string/Makefile (tests-ifunc): New variable.
16481 (tests): Add $(tests-ifunc).
16482 * string/test-memccpy.c (TEST_NAME): New macro.
16483 * string/test-memchr.c (TEST_NAME): Likewise.
16484 * string/test-memcmp.c (TEST_NAME): Likewise.
16485 * string/test-memcpy.c (TEST_NAME): Likewise.
16486 * string/test-memmem.c (TEST_NAME): Likewise.
16487 * string/test-memmove.c (TEST_NAME): Likewise.
16488 * string/test-memset.c (TEST_NAME): Likewise.
16489 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16490 * string/test-stpcpy.c (TEST_NAME): Likewise.
16491 * string/test-stpncpy.c (TEST_NAME): Likewise.
16492 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16493 * string/test-strcasestr.c (TEST_NAME): Likewise.
16494 * string/test-strcat.c (TEST_NAME): Likewise.
16495 * string/test-strchr.c (TEST_NAME): Likewise.
16496 * string/test-strcmp.c(TEST_NAME): Likewise.
16497 * string/test-strcpy.c (TEST_NAME): Likewise.
16498 * string/test-strcspn.c (TEST_NAME): Likewise.
16499 * string/test-strlen.c (TEST_NAME): Likewise.
16500 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16501 * string/test-strncmp.c (TEST_NAME): Likewise.
16502 * string/test-strncpy.c (TEST_NAME): Likewise.
16503 * string/test-strnlen.c (TEST_NAME): Likewise.
16504 * string/test-strpbrk.c (TEST_NAME): Likewise.
16505 * string/test-strrchr.c (TEST_NAME): Likewise.
16506 * string/test-strspn.c (TEST_NAME): Likewise.
16507 * string/test-strstr.c (TEST_NAME): Likewise.
16508 * string/test-bcopy-ifunc.c: New file.
16509 * string/test-bzero-ifunc.c: Likewise.
16510 * string/test-memccpy-ifunc.c: Likewise.
16511 * string/test-memchr-ifunc.c: Likewise.
16512 * string/test-memcmp-ifunc.c: Likewise.
16513 * string/test-memcpy-ifunc.c: Likewise.
16514 * string/test-memmem-ifunc.c: Likewise.
16515 * string/test-memmove-ifunc.c: Likewise.
16516 * string/test-mempcpy-ifunc.c: Likewise.
16517 * string/test-memset-ifunc.c: Likewise.
16518 * string/test-rawmemchr-ifunc.c: Likewise.
16519 * string/test-stpcpy-ifunc.c: Likewise.
16520 * string/test-stpncpy-ifunc.c: Likewise.
16521 * string/test-strcasecmp-ifunc.c: Likewise.
16522 * string/test-strcasestr-ifunc.c: Likewise.
16523 * string/test-strcat-ifunc.c: Likewise.
16524 * string/test-strchr-ifunc.c: Likewise.
16525 * string/test-strchrnul-ifunc.c: Likewise.
16526 * string/test-strcmp-ifunc.c: Likewise.
16527 * string/test-strcpy-ifunc.c: Likewise.
16528 * string/test-strcspn-ifunc.c: Likewise.
16529 * string/test-strlen-ifunc.c: Likewise.
16530 * string/test-strncasecmp-ifunc.c: Likewise.
16531 * string/test-strncat-ifunc.c: Likewise.
16532 * string/test-strncmp-ifunc.c: Likewise.
16533 * string/test-strncpy-ifunc.c: Likewise.
16534 * string/test-strnlen-ifunc.c: Likewise.
16535 * string/test-strpbrk-ifunc.c: Likewise.
16536 * string/test-strrchr-ifunc.c: Likewise.
16537 * string/test-strspn-ifunc.c: Likewise.
16538 * string/test-strstr-ifunc.c: Likewise.
16540 * debug/Makefile (tests-ifunc): New variable.
16541 (tests): Add $(tests-ifunc).
16542 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16543 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16544 * debug/test-stpcpy_chk-ifunc.c: New file.
16545 * debug/test-strcpy_chk-ifunc.c: Likewise.
16547 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16550 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16551 header is not read in.
16553 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16555 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16556 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16557 directly. Pass built executable to script as
16558 $(built-program-cmd).
16559 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16560 $testprogram without using LD_LIBRARY_PATH and $ldso.
16562 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16563 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16564 $(rtld-installed-name).
16565 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16566 (rtld_installed_name): Likewise.
16567 (library_path): Likewise.
16568 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16569 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16570 $(run-program-prefix) to tst-tables.sh.
16571 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16572 it to run tst-table-from and tst-table-to.
16573 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16574 Pass it to tst-table.sh.
16575 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16576 $(run-program-prefix) to tst-gettext.sh.
16577 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16579 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16581 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16582 to run tst-gettext.
16583 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16584 to run tst-gettext2.
16585 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16586 to run tst-translit.
16587 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16588 $(run-program-prefix) to tst-mtrace.sh.
16589 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16591 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16592 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16593 $(rtld-installed-name).
16594 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16595 (rtld_installed_name): Likewise.
16596 (run_program_prefix): New variable. Use it to run wordexp-test.
16598 * Makeconfig (ARCH): Remove all definitions.
16599 (machine): Likewise.
16600 [ARCH]: Remove conditional code.
16601 [!objdir]: Give error.
16602 [!objdir] (objpfx): Remove.
16603 [!objdir] (common-objpfx): Likewise.
16604 [!objdir] (common-objdir): Likewise.
16605 * configure.in (config_makefile): Remove. Hardcode Makefile in
16606 AC_CONFIG_FILES call.
16607 * configure: Regenerated.
16610 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16612 (testout): Likewise.
16614 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16615 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16616 $(rtld-installed-name).
16617 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16618 (rtld_installed_name): Likwise.
16619 (runit): Remove function.
16620 (run_getconf): New variable, Use it for running getconf binary.
16622 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16625 * string/test-memmem.c (check_result): New function.
16626 (do_one_test): Use it.
16627 (check1): New function.
16628 (test_main): Use it.
16630 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16632 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16634 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16636 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16637 (_G_LSEEK64): Likewise.
16638 (_G_MMAP64): Likewise.
16639 (_G_FSTAT64): Likewise.
16640 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16641 (_G_LSEEK64): Likewise.
16642 (_G_MMAP64): Likewise.
16643 (_G_FSTAT64): Likewise.
16644 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16645 unconditional. Call __mmap64 directly.
16646 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16647 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16648 __lseek64 directly.
16649 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16650 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16652 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16653 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16654 __lseek64 directly.
16655 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16656 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16657 __lseek64 directly.
16658 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16659 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16660 __lseek64 directly.
16661 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16662 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16663 __fxstat64 directly.
16664 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16665 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16667 (freopen64) [!_G_OPEN64]: Remove conditional code.
16668 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16670 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16671 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16673 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16674 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16676 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16677 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16679 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16680 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16682 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16683 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16685 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16686 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16688 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16690 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16693 * manual/memory.texi (Malloc Tunable Parameters): Add note
16694 about free list pointers overwriting some perturb bytes.
16695 Wording suggested by Roland McGrath.
16697 2012-10-17 Joseph Myers <joseph@codesourcery.com>
16699 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16700 (lgamma_test): Likewise.
16701 (tgamma_test): Likewise.
16703 2012-10-16 Florian Weimer <fweimer@redhat.com>
16706 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16707 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16709 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16711 * NEWS: Mention BZ #14716.
16712 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16713 when removing AVAILABLE1_USES_J macro.
16715 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16717 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16718 (__bswap_64): __uint64_t for unsigned 64-bit int.
16720 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16722 * include/string.h (memmem): Declare libc hidden alias.
16723 * string/memmem.c (memmem): Define libc hidden alias.
16724 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16725 __read, __close instead of open, read, close.
16727 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16730 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16732 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16733 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16734 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16736 (__rawmemchr_sse2): Likewise.
16737 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16738 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16739 (__strchr_sse2): Likewise.
16740 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16741 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16742 (__strcasecmp_sse2): Likewise.
16743 (__strncasecmp_sse2): Likewise.
16744 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16745 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16746 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16747 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16748 (__strrchr_sse2): Likewise.
16749 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16751 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16752 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16753 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16754 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16755 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16756 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16757 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16758 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16759 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16760 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16761 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16762 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16763 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16764 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16765 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16766 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16767 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16768 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16769 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16770 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16771 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16772 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16773 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16774 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16775 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16777 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16778 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16779 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16780 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16782 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16784 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16785 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16786 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16787 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16789 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16791 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16792 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16793 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16794 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16796 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16797 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16798 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16799 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16800 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16801 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16802 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16803 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16804 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16805 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16806 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16807 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16808 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16809 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16810 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16811 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16812 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16813 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16814 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16815 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16816 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16817 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16818 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16819 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16821 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16822 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16823 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16824 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16825 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16826 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16827 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16828 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16829 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16830 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16831 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16832 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16833 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16834 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16835 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16836 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16838 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16839 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16840 * include/ifunc-impl-list.h: New file.
16841 * misc/ifunc-impl-list.c: Likewise.
16842 * misc/Makefile (routines): Add ifunc-impl-list.
16843 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16844 * string/test-string.h: Include <ifunc-impl-list.h>.
16845 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16846 impl_array): New variables.
16847 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16849 (test_init): Call __libc_ifunc_impl_list to initialize
16850 func_list if TEST_IFUNC and TEST_NAME are defined.
16852 * string/Makefile (strop-tests): Add bcopy and bzero.
16853 * string/test-bcopy.c: New file.
16854 * string/test-bzero.c: Likewise.
16855 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16857 * string/test-memset.c: Support bzero test if TEST_BZERO is
16859 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16861 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16863 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16866 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16868 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16869 * configure: Regenerated.
16871 * Makeconfig (+link-static-before-libc): Don't include
16872 $(link-static-libc).
16874 * libio/libio.h (_IO_pos_t): Remove.
16876 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16878 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16881 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16883 * crypt/crypt-entry.c: Include fips-private.h.
16884 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16885 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16886 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16887 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16889 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16891 * crypt/crypt-private.h: Include stdbool.h.
16892 (_ufc_setup_salt_r): Return bool.
16893 * crypt/crypt-entry.c: Include errno.h.
16894 (__crypt_r): Return NULL with EINVAL for bad salt.
16895 * crypt/crypt_util.c (bad_for_salt): New.
16896 (_ufc_setup_salt_r): Check that salt is long enough and within
16897 the specified alphabet.
16898 * crypt/badsalttest.c: New file.
16899 * crypt/Makefile (tests): Add it.
16900 ($(objpfx)badsalttest): New.
16902 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16904 * NEWS: Add entry for BZ #14602.
16906 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16908 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16910 * math/libm-test.inc: Update comment listing what functions and
16912 (isgreater_test): New function.
16913 (isgreaterequal_test): Likewise.
16914 (isless_test): Likewise.
16915 (islessequal_test): Likewise.
16916 (islessgreater_test): Likewise.
16917 (isunordered_test): Likewise.
16918 (main): Call the new functions.
16920 2012-10-09 Roland McGrath <roland@hack.frob.com>
16922 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16923 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16924 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16925 * sysdeps/i386/configure: Regenerated.
16926 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16927 * sysdeps/mach/configure: Regenerated.
16928 * sysdeps/mach/hurd/configure: Regenerated.
16929 * sysdeps/powerpc/configure: Regenerated.
16930 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16931 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16932 * sysdeps/s390/s390-32/configure: Regenerated.
16933 * sysdeps/s390/s390-64/configure: Regenerated.
16934 * sysdeps/sh/configure: Regenerated.
16935 * sysdeps/sparc/configure: Regenerated.
16936 * sysdeps/unix/sysv/linux/configure: Regenerated.
16937 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16938 * sysdeps/x86_64/configure: Regenerated.
16940 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16941 defined. Don't check if MAP is NULL.
16943 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16945 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16946 (_G_stat64): Likewise.
16947 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16948 (_G_stat64): Likewise.
16949 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16950 instead of struct _G_stat64.
16951 * libio/fileops.c (mmap_remap_check): Likewise.
16952 (decide_maybe_mmap): Likewise.
16953 (_IO_new_file_seekoff): Likewise.
16954 (_IO_file_stat): Likewise.
16955 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16957 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16958 instead of struct _G_stat64.
16959 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16961 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16964 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16966 (CHECK_EOL): New macro.
16967 (two_way_short_needle): Check beginning of haystack for EOL. Use
16969 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16970 Replace with CHECK_EOL.
16971 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16972 Replace with CHECK_EOL.
16974 2012-10-08 Joseph Myers <joseph@codesourcery.com>
16976 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16978 * math/libm-test.inc: Update comment listing what functions and
16980 (finite_test): New function.
16981 (isinf_test): Likewise.
16982 (isnan_test): Likewise.
16983 (fpclassify_test): Test subnormal input.
16984 (isfinite_test): Likewise.
16985 (isnormal_test): Likewise.
16986 (main): Call the new functions.
16988 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16991 * Makerules (%.dynsym): Force C locale when running
16992 $(OBJDUMP) --dynamic-syms.
16994 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16996 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16999 2012-10-06 David S. Miller <davem@davemloft.net>
17001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17002 upper 32-bits of the length value in %o2 since we use branch-on-register
17003 tests which consider the entire 64-bit register.
17005 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17007 * string/test-strstr.c (check2): Add a test for page boundary.
17009 2012-10-05 David S. Miller <davem@davemloft.net>
17011 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17012 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17014 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17016 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17017 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17018 and bzero when HWCAP_SPARC_CRYPTO is present.
17020 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17023 * string/test-strstr.c (check2): New function.
17024 (test_main): Call check2.
17026 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17028 * string/bug-strcasestr1.c (do_test): Moved to ...
17029 * string/test-strcasestr.c (check1): Here. New function.
17030 (do_one_test): Break out result checking code into ...
17031 (check_result): This. New function.
17032 (do_one_test): Call check_result.
17033 (test_main): Call check1.
17034 * string/bug-strchr1.c (do_test): Moved to ...
17035 * string/test-strchr.c (check1): Here. New function.
17036 (do_one_test): Break out result checking code into ...
17037 (check_result): This. New function.
17038 (do_one_test): Call check_result.
17039 (test_main): Call check1.
17040 * string/bug-strstr1.c (main): Moved to ...
17041 * string/test-strstr.c (check1): Here. New function.
17042 (do_one_test): Break out result checking code into ...
17043 (check_result): This. New function.
17044 (do_one_test): Call check_result.
17045 (test_main): Call check1.
17046 * string/bug-strcasestr1.c: Removed.
17047 * string/bug-strchr1.c: Likewise.
17048 * string/bug-strstr1.c: Likewise.
17050 * elf/Makefile (dl-routines): Add hwcaps.
17051 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17052 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17053 (_dl_important_hwcaps): Moved to ...
17054 * elf/dl-hwcaps.c: Here. New file.
17055 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17058 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17059 if IS_IN_rtld isn't defined.
17061 * elf/dl-support.c (_dl_sysinfo_map): New.
17062 Include "get-dynamic-info.h" and "setup-vdso.h".
17063 (_dl_non_dynamic_init): Call setup_vdso.
17064 * elf/dynamic-link.h: Don't include <assert.h>.
17065 (elf_get_dynamic_info): Moved to ...
17066 * elf/get-dynamic-info.h: Here. New file.
17067 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17068 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17069 * elf/setup-vdso.h: Here. New file.
17070 * elf/rtld.c: Include "setup-vdso.h".
17071 (dl_main): Call setup_vdso.
17073 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17075 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17076 creal in comment listing functions tested. List finite, isinf,
17077 isnan, isless, islessequal, isgreater, isgreaterequal,
17078 islessgreater, isunordered, lgamma_r and pow10 as functions and
17079 macros not tested. Mention which functions not tested are aliases
17080 for other functions. Fix typo. Note that signs of NaNs are not
17083 * scripts/config.guess: Update from config.git.
17084 * scripts/config.sub: Likewise.
17086 2012-10-04 Roland McGrath <roland@hack.frob.com>
17088 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17089 * misc/madvise.c (madvise): Renamed to __madvise.
17090 Make madvise a weak alias.
17091 * include/sys/mman.h: Declare __madvise.
17092 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17093 * sysdeps/unix/syscalls.list
17094 (madvise): Make __madvise the strong name, and madvise a weak alias.
17095 * sysdeps/unix/sysv/linux/syscalls.list
17096 (madvise, mmap): Remove redundant entries.
17097 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17098 * malloc/malloc.c (mtrim): Likewise.
17099 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17101 2012-10-03 Roland McGrath <roland@hack.frob.com>
17103 * sysdeps/mach/hurd/dl-cache.c: File removed.
17104 * config.h.in (USE_LDCONFIG): New #undef.
17105 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17106 * configure: Regenerated.
17107 * elf/Makefile (dl-routines): Add dl-cache only under
17108 [$(use-ldconfig) = yes].
17109 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17110 cache on [USE_LDCONFIG].
17111 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17113 * elf/rtld.c (dl_main): Likewise.
17115 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17117 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17118 _SC_LEVEL4_CACHE_LINESIZE.
17120 2012-10-03 Roland McGrath <roland@hack.frob.com>
17122 * sysdeps/unix/bsd/confstr.h: File removed.
17124 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17126 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17129 2012-10-02 Roland McGrath <roland@hack.frob.com>
17131 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17132 Make 'mapoff' field ElfW(Off) rather than off_t.
17134 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17136 * nscd/Makefile: Remove nscd-cflags and all its users.
17137 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17138 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17141 * malloc.c (malloc_printerr): Clarify error message.
17143 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17147 Set bit_FMA_Usable if FMA is supported.
17148 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17150 (bit_FMA4_Usable): Updated.
17151 (index_FMA_Usable): New macro.
17152 (CPUID_FMA): Likewise
17153 (HAS_FMA): Defined with bit_FMA_Usable.
17155 2012-10-01 Roland McGrath <roland@hack.frob.com>
17157 * bits/types.h (__swblk_t): Type removed.
17158 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17159 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17161 (__SWBLK_T_TYPE): Likewise.
17162 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17163 (__SWBLK_T_TYPE): Likewise.
17164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17165 (__SWBLK_T_TYPE): Likewise.
17166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17167 (__SWBLK_T_TYPE): Likewise.
17169 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17170 Honza Horak <hhorak@redhat.com>
17172 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17173 (xdr_mapname): Use YPMAXMAP as maxsize.
17174 (xdr_peername): Use YPMAXPEER as maxsize.
17175 (xdr_keydat): Use YPAXRECORD as maxsize.
17176 (xdr_valdat): Use YPMAXRECORD as maxsize.
17178 2012-10-01 Roland McGrath <roland@hack.frob.com>
17180 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17182 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17183 * csu/init-first.c: ... here.
17184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17185 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17186 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17187 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17188 * sysdeps/i386/init-first.c: File removed.
17189 * sysdeps/sh/init-first.c: File removed.
17191 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17195 if x * y might underflow to zero and z is zero.
17196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17198 * math/libm-test.inc (min_subnorm_value): New variable.
17199 (fma_test): Add more tests.
17200 (fma_test_towardzero): Likewise.
17201 (fma_test_downward): Likewise
17202 (fma_test_upward): Likewise.
17203 (initialize): Set min_subnorm_value.
17205 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17210 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17211 mode for addition resulting in exact zero.
17212 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17217 * math/libm-test.inc (fma_test): Add more tests.
17218 (fma_test_towardzero): New function.
17219 (fma_test_downward): Likewise.
17220 (fma_test_upward): Likewise.
17221 (main): Call the new functions.
17223 2012-09-28 David S. Miller <davem@davemloft.net>
17225 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17227 2012-09-28 Roland McGrath <roland@hack.frob.com>
17229 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17230 instead of SIGALRM.
17232 * sysdeps/gnu/_G_config.h: Moved to ...
17233 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17234 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17235 * sysdeps/generic/_G_config.h: ... here.
17237 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17239 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17241 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17242 Conditionalize target on [libnss_test1.so-version].
17244 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17246 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17247 (elfobjdir): Move out of conditionals.
17249 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17250 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17251 (__nss_lookup_function): Conditionalize label remove_from_tree on
17252 [!DO_STATIC_NSS || SHARED], matching its only use.
17254 2012-09-28 David S. Miller <davem@davemloft.net>
17256 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17257 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17259 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17261 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17263 when HWCAP_SPARC_CRYPTO is present.
17265 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17267 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17269 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17272 * stdio-common/vfprintf.c (process_string_arg): Revert
17275 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17277 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17279 * stdio-common/tst-sprintf.c: Include <locale.h>
17280 (main): Test sprintf's handling of incomplete multibyte
17283 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17285 * elf/dl-runtime.c (VERSYMIDX): Removed.
17286 * elf/dl-version.c (VERSYMIDX): Likewise.
17287 * elf/do-rel.h (VERSYMIDX): Likewise.
17288 (VALIDX): Likewise.
17289 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17290 * elf/rtld.c (VALIDX): Likewise.
17291 (ADDRIDX): Likewise.
17292 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17293 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17294 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17295 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17296 (VALIDX): Likewise.
17297 (ADDRIDX): Likewise.
17299 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17301 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17303 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17306 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17308 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17309 addresses are in the same scope as 192.0.2/24.
17310 * posix/gai.conf: Document new scope table defaults.
17312 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17315 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17316 for ftell. Compute offsets from write pointers instead.
17317 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17319 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17322 * libio/Makefile (tests): New test case tst-fseek.
17323 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17324 combination works in wide mode.
17325 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17326 state when the external buffer state changes.
17328 2012-09-27 David S. Miller <davem@davemloft.net>
17331 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17332 pass reloc->r_addend in as the 'high' argument to
17333 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17337 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17339 * rt/tst-aio2.c: Include <pthread.h>.
17340 * rt/tst-aio3.c: Likewise.
17342 2012-09-27 Steve Ellcey <sellcey@mips.com>
17344 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17346 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17348 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17349 contents on [SHARED].
17351 2012-09-26 Marek Polacek <polacek@redhat.com>
17355 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17356 for C++ and GCC <4.3 as well as for non GCC compilers.
17358 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17362 2012-09-25 Roland McGrath <roland@hack.frob.com>
17364 * Makefile.in (all, install): Declare with .PHONY.
17365 Reported by Michael Hope <michael.hope@linaro.org>.
17367 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17369 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17370 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17372 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17374 (sydep_routines): Add the new and the internal functions.
17375 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17376 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17378 (GLIBC_2.17): Add the new function.
17379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17380 (GLIBC_2.17): Likewise.
17381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17382 (GLIBC_2.17): Likewise.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17384 (GLIBC_2.17): Likewise.
17385 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17387 2012-09-25 Alan Modra <amodra@gmail.com>
17389 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17390 Add release barrier before setting once_control to say
17391 initialisation is done. Add hints on lwarx. Use macro in
17393 (clear_once_control): Add release barrier.
17395 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17398 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17400 * math/s_clog10.c (__clog10): Likewise.
17401 * math/s_clog10f.c (__clog10f): Likewise.
17402 * math/s_clog10l.c (__clog10l): Likewise.
17403 * math/s_clogf.c (__clogf): Likewise.
17404 * math/s_clogl.c (__clogl): Likewise.
17405 * math/Makefile (libm-calls): Add x2y2m1.
17406 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17407 (__x2y2m1): Likewise.
17408 (__x2y2m1l): Likewise.
17409 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17410 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17413 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17414 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17415 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17416 * sysdeps/i386/fpu/libm-test-ulps: Update.
17417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17420 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17421 int as type of variable DEPTH.
17422 (glob): Use size_t instead of int as type of variables NEWCOUNT
17425 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17427 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17428 Add s_sincosf-sse2.
17429 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17430 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17431 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17432 macros for using routine as __sincosf_ia32.
17433 Use macro for function declaration and weak_alias.
17434 * sysdeps/i386/fpu/libm-test-ulps: Update.
17436 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17439 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17440 subnormal argument.
17441 * math/s_cexpf.c (__cexpf): Likewise.
17442 * math/s_csinf.c (__csinf): Likewise.
17443 * math/s_csinhf.c (__csinhf): Likewise.
17444 * math/s_ctanf.c (__ctanf): Likewise.
17445 * math/s_ctanhf.c (__ctanhf): Likewise.
17446 * math/s_ccosh.c (__ccoshf): Likewise.
17447 * math/s_cexp.c (__cexpl): Likewise.
17448 * math/s_csin.c (__csin): Likewise.
17449 * math/s_csinh.c (__csinh): Likewise.
17450 * math/s_ctan.c (__ctan): Likewise.
17451 * math/s_ctanh.c (ctanh): Likewise.
17452 * math/s_ccoshl.c (__ccoshl): Likewise.
17453 * math/s_cexpl.c (__cexpl): Likewise.
17454 * math/s_csinl.c (__csinl): Likewise.
17455 * math/s_csinhl.c (__csinhl): Likewise.
17456 * math/s_ctanl.c (__ctanl): Likewise.
17457 * math/s_ctanhl.c (__ctanhl): Likewise.
17459 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17461 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17462 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17463 (_IO_off_t): Define to __off_t, not _G_off_t.
17464 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17465 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17466 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17467 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17468 type of __dummy and __dummy2 fields.
17469 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17470 (_G_ssize_t): Likewise.
17471 (_G_off_t): Likewise.
17472 (_G_pid_t): Likewise.
17473 (_G_uid_t): Likewise.
17474 (_G_wchar_t): Likewise.
17475 (_G_wint_t): Likewise.
17476 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17477 (_G_ssize_t): Likewise.
17478 (_G_off_t): Likewise.
17479 (_G_pid_t): Likewise.
17480 (_G_uid_t): Likewise.
17481 (_G_wchar_t): Likewise.
17482 (_G_wint_t): Likewise.
17483 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17484 (_G_ssize_t): Likewise.
17485 (_G_off_t): Likewise.
17486 (_G_pid_t): Likewise.
17487 (_G_uid_t): Likewise.
17488 (_G_wchar_t): Likewise.
17489 (_G_wint_t): Likewise.
17491 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17493 * malloc/arena.c: Include malloc-sysdep.h.
17494 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17495 is sufficient to shrink the heap or an unmap is needed.
17496 * sysdeps/generic/malloc-sysdep.h: New file. Define
17497 new function check_may_shrink_heap.
17498 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17499 new function check_may_shrink_heap.
17501 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17506 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17508 * catgets/test-gencat.sh: Add "set -e".
17509 * elf/tst-pathopt.sh: Likewise.
17510 * grp/tst_fgetgrent.sh: Likewise.
17511 * iconvdata/run-iconv-test.sh: Likewise.
17512 * intl/tst-gettext.sh: Likewise.
17513 * intl/tst-gettext2.sh: Likewise.
17514 * intl/tst-gettext4.sh: Likewise.
17515 * intl/tst-gettext6.sh: Likewise.
17516 * intl/tst-translit.sh: Likewise.
17517 * io/ftwtest-sh: Likewise.
17518 * libio/test-freopen.sh: Likewise.
17519 * malloc/tst-mtrace.sh: Likewise.
17520 * posix/globtest.sh: Likewise.
17521 * posix/tst-getconf.sh: Likewise.
17522 * posix/wordexp-tst.sh: Likewise.
17523 * stdio-common/tst-printf.sh: Likewise.
17524 * stdio-common/tst-unbputc.sh: Likewise.
17525 * stdlib/tst-fmtmsg.sh: Likewise.
17526 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17527 * catgets/Makefile: Do not specify -e option when running
17528 testsuite shell scripts.
17529 * elf/Makefile: Likewise.
17530 * grp/Makefile: Likewise.
17531 * iconvdata/Makefile: Likewise.
17532 * intl/Makefile: Likewise.
17533 * io/Makefile: Likewise.
17534 * libio/Makefile: Likewise.
17535 * malloc/Makefile: Likewise.
17536 * posix/Makefile: Likewise.
17537 * stdio-common/Makefile: Likewise.
17538 * stdlib/Makefile: Likewise.
17539 * sysdeps/x86_64/Makefile: Likewise.
17541 * io/ftwtest-sh: Add copyright header.
17542 * posix/globtest.sh: Likewise.
17543 * posix/tst-getconf.sh: Likewise.
17544 * posix/wordexp-tst.sh: Likewise.
17545 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17547 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17550 * Makeconfig (+link): Defined as $(+link-static) if
17551 $(build-shared) isn't yes.
17552 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17554 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17556 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17559 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17560 new chunk size with MALLOC_ALIGN_MASK.
17562 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17565 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17567 (__printf_fphex): Determine rounding using get_rounding_mode and
17569 * stdio-common/tst-printf-round.c (struct hex_test): New
17571 (hex_tests): New variable.
17572 (test_hex_in_one_mode): New function.
17573 (do_test): Also run tests for hex float output.
17575 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17577 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17578 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17579 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17580 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17581 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17582 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17583 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17584 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17586 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17588 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17589 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17590 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17591 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17593 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17596 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17598 * elf/tst-rtld-load-self.sh: New test.
17599 * elf/Makefile: Run it.
17601 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17603 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17604 (tst-writev-ENV): Remove.
17605 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17607 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17609 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17611 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17613 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17615 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17617 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17618 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17619 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17622 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17625 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17626 * config.make.in (have-cpp-asm-debuginfo): Removed.
17627 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17628 * configure: Regenerated.
17630 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17633 * stdio-common/printf_fp.c: Include <stdbool.h> and
17635 (___printf_fp): Determine rounding using get_rounding_mode and
17637 * stdio-common/tst-printf-round.c: New file.
17638 * stdio-common/Makefile (tests): Add tst-printf-round.
17639 (link-libm): New variable.
17640 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17642 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17645 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17646 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17648 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17651 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17653 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17654 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17655 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17656 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17658 2012-09-12 Joseph Myers <joseph@codesourcery.com>
17661 * include/rounding-mode.h: New file.
17662 * sysdeps/generic/get-rounding-mode.h: Likewise.
17663 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17664 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17665 (MAX_VALUE): New macro.
17666 (MIN_VALUE): Likewise.
17667 (overflow_value): New function.
17668 (underflow_value): Likewise.
17669 (round_and_return): Use overflow_value and underflow_value to
17670 determine return values in overflow and underflow cases. Use
17671 round_away to determine rounding depending on rounding mode.
17672 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17673 determine return values in overflow and underflow cases.
17674 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17675 (struct test_results): New structure.
17676 (struct test): Use struct test_results to store expected results
17677 for all rounding modes.
17678 (TEST): Include expected results for all rounding modes.
17679 (test_in_one_mode): New function.
17680 (do_test): Use test_in_one_mode to compute and check results.
17681 Check results for all rounding modes.
17682 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17685 2012-12-09 Allan McRae <allan@archlinux.org>
17687 * sysdeps/i386/fpu/libm-test-ulps: Update
17689 2012-09-11 Joseph Myers <joseph@codesourcery.com>
17691 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17692 (_G_int32_t): Likewise.
17693 (_G_uint16_t): Likewise.
17694 (_G_uint32_t): Likewise.
17695 (_G_HAVE_BOOL): Likewise.
17696 (_G_HAVE_ATEXIT): Likewise.
17697 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17698 (_G_HAVE_IO_FILE_OPEN): Likewise.
17699 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17700 (_G_int32_t): Likewise.
17701 (_G_uint16_t): Likewise.
17702 (_G_uint32_t): Likewise.
17703 (_G_HAVE_BOOL): Likewise.
17704 (_G_HAVE_ATEXIT): Likewise.
17705 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17706 (_G_HAVE_IO_FILE_OPEN): Likewise.
17707 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17708 (_G_int32_t): Likewise.
17709 (_G_uint16_t): Likewise.
17710 (_G_uint32_t): Likewise.
17711 (_G_HAVE_BOOL): Likewise.
17712 (_G_HAVE_ATEXIT): Likewise.
17713 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17714 (_G_HAVE_IO_FILE_OPEN): Likewise.
17716 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17718 * csu/libc-tls.c: Update copyright years.
17720 2012-09-10 Joseph Myers <joseph@codesourcery.com>
17722 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17723 [!_G_USING_THUNKS]: Remove conditional code.
17724 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17725 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17727 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17728 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17729 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17730 (_G_VTABLE_LABEL_PREFIX): Likewise.
17731 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17732 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17734 (_G_VTABLE_LABEL_PREFIX): Likewise.
17735 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17736 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17737 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17738 (_G_VTABLE_LABEL_PREFIX): Likewise.
17739 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17741 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17743 * libio/Makefile: Include ../Makeconfig before tests.
17744 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17745 only if $(build-shared) is yes.
17747 * iconv/gconv_db.c: Update copyright years.
17749 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17751 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17752 unwind info if defined PIC. Fix special cases description.
17753 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17755 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17757 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17759 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17761 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17763 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17766 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17767 (LDLIBS-tst-chk4): This.
17768 (LDFLAGS-tst-chk5): Renamed to ...
17769 (LDLIBS-tst-chk5): This.
17770 (LDFLAGS-tst-chk6): Renamed to ...
17771 (LDLIBS-tst-chk6): This.
17772 (LDFLAGS-tst-lfschk4): Renamed to ...
17773 (LDLIBS-tst-lfschk4): This.
17774 (LDFLAGS-tst-lfschk5): Renamed to ...
17775 (LDLIBS-tst-lfschk5): This.
17776 (LDFLAGS-tst-lfschk6): Renamed to ...
17777 (LDLIBS-tst-lfschk6): This.
17779 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17780 on $(common-objpfx)soversions.mk.
17782 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17785 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17788 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17790 * malloc/arena.c (arena_get_retry): New function that gets
17791 another arena for the caller to try its request on.
17792 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17793 current arena cannot fulfill the request.
17794 (__libc_memalign): Likewise.
17795 (__libc_memalign): Likewise.
17796 (__libc_pvalloc): Likewise.
17797 (__libc_calloc): Likewise.
17799 2012-09-05 John Tobey <john.tobey@gmail.com>
17802 * manual/arith.texi (Operations on Complex): Fix description
17803 of carg branch cut.
17805 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17808 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17812 * manual/memory.texi (Memory): Make order of menu items match
17815 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17817 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17818 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17819 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17821 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17823 * csu/libc-tls.c (static_dtv): Renamed to ...
17824 (_dl_static_dtv): This. Make it global.
17825 (_dl_initial_dtv): Removed.
17826 (__libc_setup_tls): Updated.
17827 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17828 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17831 2012-09-06 Petr Machata <pmachata@redhat.com>
17833 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17834 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17835 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17836 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17838 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17841 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17842 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17845 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17848 * Makeconfig (link-static-before-libc): Replace $(+prector)
17850 (link-static-after-libc): Replace $(+postctor) with
17852 (link-bounded): Replace $(+prector)/$(+postctor) with
17853 $(+prectorT)/$(+postctorT).
17854 (+prectorT): New macro.
17855 (+postctorT): Likewise.
17857 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17859 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17860 (round_str): Handle values above the maximum for IBM long double
17862 * stdlib/tst-strtod-round.c (tests): Regenerated.
17864 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17866 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17868 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17869 zarch_nohighgprs around the zarch optimized routines.
17870 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17871 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17872 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17875 2012-09-05 David S. Miller <davem@davemloft.net>
17877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17879 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17880 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17881 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17882 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17885 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17887 * malloc/arena.c: Fold copyright years.
17888 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17890 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17892 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17894 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17896 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17898 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17900 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17901 change internal state upon failure.
17903 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17905 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17906 * malloc/memusage.c (mmap): Likewise.
17907 (mmap64, mremap): Likewise. Adjust name in comment.
17909 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17911 * libio/fileops.c: Fix typos in comments.
17912 * libio/oldfileops.c: Likewise.
17913 * libio/wfileops.c: Likewise.
17915 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17918 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17919 (tst-malloc-usable-ENV): Set environment for test case.
17920 * malloc/hooks.c (malloc_check_get_size): New function to get
17922 * malloc/malloc.c (musable): Use malloc_check_get_size.
17923 * malloc/tst-malloc-usable.c: New test case.
17925 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17927 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17929 2012-09-05 Allan McRae <allan@archlinux.org>
17932 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17933 determine header location.
17934 * configure: Regenerated.
17936 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17938 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17940 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17941 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17943 (test): Regenerate.
17945 2012-09-04 David S. Miller <davem@davemloft.net>
17947 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17948 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17949 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17951 2012-09-04 Florian Weimer <fweimer@redhat.com>
17953 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17956 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17958 2012-09-04 Joseph Myers <joseph@codesourcery.com>
17961 * libio/iogetdelim.c: Include <limits.h>.
17962 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17963 + len + 1 would overflow.
17965 2012-09-03 Andreas Jaeger <aj@suse.de>
17967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17968 * sysdeps/i386/fpu/libm-test-ulps: Update.
17970 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17972 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17973 Add s_sinf-sse2, s_conf-sse2.
17975 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17976 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17977 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17978 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17980 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17981 for using routine as __sinf_ia32.
17982 Use macro for function declaration and weak_alias.
17983 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17984 for using routine as __cosf_ia32.
17985 Use macro for function declaration and weak_alias.
17987 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17988 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17990 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17991 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17994 * math/libm-test.inc (cos_test): Add more test cases.
17995 (sin_test): Likewise.
17996 (sincos_test): Likewise.
17998 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18000 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18001 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18003 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18005 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18008 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18009 first element of the GOT.
18010 (elf_machine_load_address): Return the difference between
18011 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18013 2012-09-01 Allan McRae <allan@archlinux.org>
18016 * configure.in (AWK): Require gawk version 3.0 or later.
18017 * configure: Regenerated.
18019 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18021 * sysdeps/unix/sysv/linux/kernel-features.h
18022 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18024 [__NR_clock_getres]: Make code unconditional.
18025 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18026 (clock_getcpuclockid): Remove code left unreachable by removal of
18028 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18029 code unconditional.
18030 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18031 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18032 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18033 Make code unconditional.
18034 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18035 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18036 * sysdeps/unix/sysv/linux/clock_settime.c
18037 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18039 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18040 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18042 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18045 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18046 scripts/test-installation.pl.
18048 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18049 and $ld_so_version if it is set.
18051 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18055 failure if reading from procfs failed.
18056 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18058 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18060 * sysdeps/unix/sysv/linux/kernel-features.h
18061 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18062 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18063 Remove conditional code.
18064 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18065 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18066 Remove conditional code.
18067 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18068 * sysdeps/unix/sysv/linux/i386/fxstat.c
18069 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18071 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18072 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18073 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18074 * sysdeps/unix/sysv/linux/i386/lxstat.c
18075 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18076 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18077 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18078 Remove conditional code.
18079 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18080 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18081 Remove conditional code.
18082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18083 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18084 <kernel-features.h>.
18085 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18087 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18088 Remove conditional code.
18089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18090 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18091 Remove conditional.
18093 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18096 * NEWS: Add fixed bug number.
18098 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18101 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18102 underflowing exponent in case of negative sign.
18103 * stdlib/tst-strtod-round-data: Add more tests.
18104 * stdlib/tst-strtod-round.c (tests): Regenerated.
18107 * stdlib/strtod_l.c (NDIG): Remove.
18108 (HEXNDIG): Likewise.
18109 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18110 smallest representable value.
18111 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18112 lie within an exact representation of 1/2 ulp of the result.
18113 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18115 (TENS_P9_IDX): Define unconditionally.
18116 (TENS_P9_SIZE): Likewise.
18117 (TENS_P10_IDX): Likewise.
18118 (TENS_P10_SIZE): Likewise.
18119 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18120 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18121 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18122 entries for 10^2^13 and 10^2^14.
18123 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18124 (TENS_P13_IDX): Define.
18125 (TENS_P13_SIZE): Likewise.
18126 (TENS_P14_IDX): Likewise.
18127 (TENS_P14_SIZE): Likewise.
18128 (_fpioconst_pow10): Change array size to
18129 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18131 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18132 1024]: Add entries for 10^2^13 and 10^2^14.
18133 [LAST_POW10 > _LAST_POW10]: Remove #error.
18134 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18135 (_fpioconst_pow10): Change array size to
18136 FPIOCONST_POW10_ARRAY_SIZE.
18137 * stdlib/gen-fpioconst.c: New file.
18138 * stdlib/gen-tst-strtod-round.c: Likewise.
18139 * stdlib/tst-strtod-round-data: Likewise.
18140 * stdlib/tst-strtod-round.c: Likewise.
18141 * stdlib/Makefile (tests): Add tst-strtod-round.
18144 * stdlib/strtod_l.c: Include <stdint.h>.
18145 (NDEBUG): Do not define.
18146 (round_and_return): Change EXPONENT parameter to type intmax_t.
18147 Rearrange calculations to avoid internal overflow possibilities.
18148 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18149 Rearrange calculations to avoid internal overflow possibilities.
18150 Assert that number fits inside MPNSIZE limbs.
18151 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18152 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18153 calculations and add assertions to avoid internal overflow
18154 possibilities. Add casts to avoid signed/unsigned operations.
18155 * stdlib/tst-strtod-overflow.c: New file.
18156 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18158 2012-08-25 Marek Polacek <polacek@redhat.com>
18160 * time/time.h: Fix some typos in comments.
18162 2012-08-23 Roland McGrath <roland@hack.frob.com>
18164 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18165 * posix/tst-rfc3484-2.c: Likewise.
18166 * posix/tst-rfc3484-3.c: Likewise.
18168 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18170 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18171 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18173 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18175 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18176 #include of fxstatat64.c.
18178 2012-08-22 Roland McGrath <roland@hack.frob.com>
18180 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18181 * shadow/getspent_r.c: Likewise.
18182 * shadow/getspnam.c: Likewise.
18183 * shadow/getspnam_r.c: Likewise.
18184 * gshadow/getsgent.c: Likewise.
18185 * gshadow/getsgent_r.c: Likewise.
18186 * gshadow/getsgnam.c: Likewise.
18187 * gshadow/getsgnam_r.c: Likewise.
18188 * inet/getnetbyad.c: Likewise.
18189 * inet/getnetbyad_r.c: Likewise.
18190 * inet/getnetbynm.c: Likewise.
18191 * inet/getnetbynm_r.c: Likewise.
18192 * inet/getnetent.c: Likewise.
18193 * inet/getnetent_r.c: Likewise.
18194 * inet/getproto.c: Likewise.
18195 * inet/getproto_r.c: Likewise.
18196 * inet/getprtent.c: Likewise.
18197 * inet/getprtent_r.c: Likewise.
18198 * inet/getprtname.c: Likewise.
18199 * inet/getprtname_r.c: Likewise.
18200 * inet/getrpcbyname.c: Likewise.
18201 * inet/getrpcbyname_r.c: Likewise.
18202 * inet/getrpcbynumber.c: Likewise.
18203 * inet/getrpcbynumber_r.c: Likewise.
18204 * inet/getrpcent.c: Likewise.
18205 * inet/getrpcent_r.c: Likewise.
18206 * inet/getaliasent.c: Likewise.
18207 * inet/getaliasent_r.c: Likewise.
18208 * inet/getaliasname.c: Likewise.
18209 * inet/getaliasname_r.c: Likewise.
18210 * nscd/getgrgid_r.c: Likewise.
18211 * nscd/getgrnam_r.c: Likewise.
18212 * nscd/gethstbyad_r.c: Likewise.
18213 * nscd/gethstbynm3_r.c: Likewise.
18214 * nscd/getpwnam_r.c: Likewise.
18215 * nscd/getpwuid_r.c: Likewise.
18216 * nscd/getsrvbynm_r.c: Likewise.
18217 * nscd/getsrvbypt_r.c: Likewise.
18218 * nscd/gai.c: Likewise.
18220 * configure.in (build_nscd): New substituted variable, set
18221 by --disable-build-nscd and defaults to $use_nscd.
18222 * configure: Regenerated.
18223 * config.make.in (build-nscd): New substituted variable.
18224 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18225 Change conditional to require [$(build-nscd) = yes] as well.
18226 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18229 * configure.in (use_nscd): New substituted variable, set by
18230 --disable-nscd. If enabled, define USE_NSCD.
18231 * configure: Regenerated.
18232 * config.h.in: Add USE_NSCD.
18233 * config.make.in (use-nscd): New substituted variable.
18234 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18235 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18236 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18237 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18238 (CFLAGS-getgrnam_r.c): Likewise.
18239 (CFLAGS-initgroups.c): Likewise.
18240 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18241 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18243 * inet/getnetgrent_r.c
18244 (nscd_setnetgrent): New function, broken out of ...
18245 (setnetgrent): ... here. Call it.
18246 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18247 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18248 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18249 * nscd/Makefile (routines, aux): Move definitions after include of
18250 Makeconfig. Conditionalize on [$(use-nscd) != no].
18251 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18252 Conditionalize on [USE_NSCD].
18253 (is_nscd, nscd_init_cb): Likewise.
18254 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18255 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18256 * nss/nss_db/db-init.c: Likewise.
18257 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18259 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18260 (make_request): Use it.
18261 (cache_valid_p): New function.
18262 (__check_pf): Use it.
18263 * NEWS: Add item for --disable-nscd.
18265 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18267 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18268 to support sed >= 4.2.1-20-ga9bf076.
18269 * configure: Regenerated.
18271 2012-08-22 Roland McGrath <roland@hack.frob.com>
18273 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18274 Conditionalize whole body on [IREL].
18276 2012-08-22 Jeff Law <law@redhat.com>
18279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18280 if the family is PF_UNSPEC.
18282 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18284 * Makerules (lib-version): Rename from V.
18285 (install-lib-nosubdir): Change V to lib-version.
18287 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18290 * powerpc32/power6/wcschr.c: New file.
18291 * powerpc32/power6/wcscpy.c: New file.
18292 * powerpc32/power6/wcsrchr.c: New file.
18293 * powerpc64/power6/wcschr.c: New file.
18294 * powerpc64/power6/wcscpy.c: New file.
18295 * powerpc64/power6/wcsrchr.c: New file.
18297 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18299 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18300 (two_way_short_needle): Use it.
18301 * string/strstr.c (AVAILABLE1_USES_J): Define.
18302 * string/strcasestr.c: Likewise.
18304 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18306 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18309 * NEWS: Add an entry.
18310 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18311 define their defaults.
18312 (two_way_short_needle): Detect end-of-string on-the-fly.
18313 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18314 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18315 * string/bug-strcasestr1.c: New test.
18316 * string/Makefile: Run it.
18318 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18321 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18322 the first character.
18324 2012-08-21 Roland McGrath <roland@hack.frob.com>
18326 * csu/elf-init.c (__libc_csu_irel): Function removed.
18327 * csu/libc-start.c (apply_irel): New function.
18328 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18330 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18332 * sysdeps/unix/sysv/linux/kernel-features.h
18333 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18334 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18335 <kernel-features.h>.
18336 [__NR_fadvise64_64]: Make code unconditional.
18337 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18338 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18339 !__NR_fadvise64_64)]: Likewise.
18340 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18341 !__NR_fadvise64_64))]: Likewise.
18342 [__NR_fadvise64]: Make code unconditional.
18343 [!__NR_fadvise64]: Remove conditional code.
18344 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18345 <kernel-features.h>.
18346 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18348 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18351 not include <kernel-features.h>.
18352 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18354 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18356 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18357 include <kernel-features.h>.
18358 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18360 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18363 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18366 slight instruction rearrangements per scrollpipe analysis.
18367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18369 2012-08-20 Roland McGrath <roland@hack.frob.com>
18371 * manual/syslog.texi (syslog; vsyslog, closelog):
18372 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18373 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18375 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18376 DSOCAPS to match condition on defining it.
18378 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18380 * sysdeps/unix/sysv/linux/kernel-features.h
18381 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18383 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18384 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18386 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18387 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18389 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18390 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18392 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18393 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18395 * sysdeps/unix/sysv/linux/kernel-features.h
18396 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18397 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18399 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18400 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18401 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18402 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18403 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18404 Make code unconditional.
18405 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18406 (__mmap64) [!__NR_mmap2]: Likewise.
18407 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18408 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18409 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18410 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18411 [__NR_mmap2]: Make code unconditional.
18412 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18413 (__mmap64) [!__NR_mmap2]: Likewise.
18415 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18417 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18419 2012-08-18 Andreas Jaeger <aj@suse.de>
18421 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18423 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18425 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18426 * include/unistd.h (__have_sock_cloexec): Likewise.
18427 (__have_pipe2): Likewise.
18428 (__have_dup3): Likewise.
18430 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18433 * include/unistd.h (__have_pipe2): Change define into an extern int.
18434 (__have_dup3): Likewise.
18435 * socket/have_sock_cloexec.c: Include fcntl.h.
18436 (__have_pipe2): New variable.
18437 (__have_dup3): Likewise.
18439 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18441 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18443 2012-08-17 Marek Polacek <polacek@redhat.com>
18445 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18446 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18448 2012-08-17 Roland McGrath <roland@hack.frob.com>
18450 * configure.in: Add AC_SUBST for sysheaders.
18451 * configure: Regenerated.
18452 * config.make.in (sysheaders): New substituted variable.
18454 * sysdeps/unix/mkfifo.c: Moved ...
18455 * sysdeps/posix/mkfifo.c: ... here.
18456 * sysdeps/unix/mkfifoat.c: Moved ...
18457 * sysdeps/posix/mkfifoat.c: ... here.
18459 * sysdeps/unix/utime.c: Moved ...
18460 * sysdeps/posix/utime.c: ... here.
18462 * sysdeps/unix/time.c: Moved ...
18463 * sysdeps/posix/time.c: ... here.
18464 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18465 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18467 * sysdeps/unix/nice.c: Moved ...
18468 * sysdeps/posix/nice.c: ... here.
18470 * sysdeps/unix/alarm.c: Moved ...
18471 * sysdeps/posix/alarm.c: ... here.
18473 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18475 2012-08-17 Jeff Law <law@redhat.com>
18477 * intl/Makefile (codeset_mo): New variable.
18478 ($(codeset_mo)): New target.
18479 (tst-codeset.out): Depend on that. Remove explicit rule.
18480 (tst-gettext3.out, tst-gettext5.out): Likewise.
18481 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18482 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18483 * intl/tst-codeset.sh: Remove.
18484 * intl/tst-gettext3.sh: Likewise.
18485 * intl/tst-gettext5.sh: Likewise.
18487 2012-08-17 Roland McGrath <roland@hack.frob.com>
18489 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18490 * sysdeps/unix/syscalls.list: ... here.
18492 * sysdeps/posix/getaddrinfo.c
18493 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18494 (gaiconf_init, gaiconf_reload): Use them.
18495 [!_STATBUF_ST_NSEC]
18496 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18497 Define using time_t rather than struct timespec.
18499 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18500 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18502 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18504 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18505 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18508 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18509 __libc_cleanup_push argument.
18511 * bits/param.h: New file.
18512 * misc/sys/param.h: New file.
18513 * include/sys/param.h: New file.
18514 * misc/Makefile (headers): Add bits/param.h.
18515 * sysdeps/generic/sys/param.h: File removed.
18516 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18517 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18518 * sysdeps/mach/hurd/bits/param.h: New file.
18519 * sysdeps/mach/hurd/sys/param.h: File removed.
18521 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18524 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18526 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18527 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18530 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18531 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18532 rather than -D_IO_MTSAFE_IO conditionally.
18533 * stdio-common/Makefile (CPPFLAGS): Likewise.
18534 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18535 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18536 Use $(libio-mtsafe).
18537 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18538 of -D_IO_MTSAFE_IO.
18539 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18540 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18541 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18542 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18543 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18544 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18545 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18546 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18547 (CFLAGS-fread_u_chk.c): Likewise.
18548 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18549 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18550 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18551 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18552 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18553 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18554 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18555 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18556 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18558 * libio/Makefile: Test [$(libc-reentrant) = yes]
18559 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18562 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18563 * sysdeps/pthread/configure: File removed.
18564 * sysdeps/pthread/Makeconfig: New file.
18565 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18566 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18568 2012-08-16 Gary Benson <gbenson@redhat.com>
18570 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18571 unmapping the first object in a namespace.
18573 2012-08-16 Roland McGrath <roland@hack.frob.com>
18575 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18576 (__internal_setnetgrent): ... this. Add internal_function to
18577 definition. Add libc_hidden_def.
18578 (setnetgrent): Update caller.
18579 (internal_endnetgrent): Renamed to ...
18580 (__internal_endnetgrent): ... this. Add internal_function to
18581 definition. Add libc_hidden_def.
18582 (endnetgrent): Update caller.
18583 (internal_getnetgrent_r): Renamed to ...
18584 (__internal_getnetgrent_r): ... this. Add internal_function to
18585 definition. Add libc_hidden_def.
18586 (__getnetgrent_r): Update caller.
18587 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18589 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18591 * stdlib/longlong.h: Update from GCC.
18593 2012-08-16 Roland McGrath <roland@hack.frob.com>
18595 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18596 on _QL, which is set by umul_ppmm but never used.
18597 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18598 variables, which are set by GMP macros but never used.
18599 * stdio-common/_itowa.c (_itowa): Likewise.
18600 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18601 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18603 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18605 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18606 struct La_sh_regs is not constant.
18607 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18608 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18609 and struct La_sparc64_regs are not constant.
18611 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18613 * sysdeps/unix/sysv/linux/kernel-features.h
18614 (__ASSUME_POSIX_TIMERS): Remove.
18615 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18616 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18617 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18618 Make code unconditional.
18619 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18620 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18621 Make code unconditional.
18622 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18623 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18624 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18625 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18626 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18627 Make code unconditional.
18628 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18629 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18630 (__libc_missing_posix_timers): Remove.
18632 2012-08-15 Roland McGrath <roland@hack.frob.com>
18634 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18635 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18637 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18639 * elf/dl-sym.c: Include <stdlib.h>.
18641 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18642 constants, which avoids warnings in 32-bit builds.
18644 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18645 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18647 * misc/lseek.c: File moved to ...
18648 * io/lseek.c: ... here.
18650 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18652 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18653 shifting LEN more than 31 bits at once.
18655 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18658 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18659 segmentation fault for a case of two empty input strings.
18660 * string/test-strncasecmp.c (check1): Renamed to...
18661 (bz12205): ...this.
18662 (bz14195): Add new testcase for two empty input strings and N > 0.
18663 (test_main): Call new testcase, adapt for renamed function.
18665 2012-08-15 Andreas Jaeger <aj@suse.de>
18668 * crypt/md5test2.c: New test, based on test supplied by Serge
18669 Belyshev <belyshev@depni.sinp.msu.ru>.
18670 * crypt/Makefile (xtests): Add md5test-giant..
18671 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18673 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18676 * crypt/md5.c (md5_process_block): Don't assume the buffer
18677 length is less than 2**32.
18678 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18679 length is less than 2**64.
18681 2012-08-15 Roland McGrath <roland@hack.frob.com>
18683 * string/str-two-way.h: Include <sys/param.h>.
18684 (MAX): Macro removed.
18686 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18687 Move #define and #undef of memmove to just before and after
18688 including <string.h>.
18690 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18691 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18692 and after including <string.h>. Move declarations of
18693 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18694 to before #include "string/memmove.c".
18696 * include/dirent.h: Declare __getdirentries.
18698 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18699 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18701 2012-08-14 Mike Frysinger <vapier@gentoo.org>
18703 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18704 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18705 * sysdeps/i386/configure: Regenerated.
18706 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18707 STABS_CURRENT_FILE, and STABS_FUN.
18708 (END): Remove call to STABS_FUN_END.
18709 (STABS_CURRENT_FILE1): Delete.
18710 (STABS_CURRENT_FILE): Likewise.
18711 (STABS_FUN): Likewise.
18712 (STABS_FUN_END): Likewise.
18713 (STABS_FUN2): Likewise.
18714 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18715 * sysdeps/x86_64/configure: Regenerated.
18717 2012-08-14 Roland McGrath <roland@hack.frob.com>
18719 * elf/dl-open.c: Include <atomic.h>.
18720 * elf/dl-lookup.c: Likewise.
18722 2012-08-14 Joseph Myers <joseph@codesourcery.com>
18724 * sysdeps/unix/sysv/linux/kernel-features.h
18725 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18726 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18728 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18730 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18731 condition on __ASSUME_CLONE_THREAD_FLAGS.
18733 2012-08-14 Andreas Jaeger <aj@suse.de>
18735 * sysdeps/i386/fpu/libm-test-ulps: Update.
18737 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18739 * include/atomic.h (atomic_exchange_and_add): Split into ...
18740 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18743 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18747 2012-08-13 Jeff Law <law@redhat.com>
18749 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18750 null byte in the output string.
18752 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18754 * sysdeps/unix/sysv/linux/kernel-features.h
18755 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18756 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18757 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18758 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18759 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18760 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18761 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18763 2012-08-09 Jeff Law <law@redhat.com>
18766 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18767 When avoid_arena is set, don't retry in the that arena. Pick the
18768 next one, whatever it might be.
18769 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18770 (arena_lock): Pass in new parameter to arena_get2.
18771 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18773 (__libc_malloc): Unify retrying after main arena failure with
18774 __libc_memalign version.
18775 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18777 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18780 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18781 to __redirect_strstr.
18782 (__strstr_sse42): Use typeof __redirect_strstr.
18783 (__strstr_ia32): Likewise.
18784 (__libc_strstr): New prototype.
18785 (strstr): Renamed to ...
18786 (__libc_strstr): This.
18787 (strstr): New strong alias of __libc_strstr.
18788 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18789 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18792 (__libc_time): New prototype.
18793 (time_ifunc): Replace time with __libc_time.
18794 (time): New strong alias and hidden definition of __libc_time.
18795 (__GI_time): Remove strong alias.
18796 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18797 Include <stddef.h>.
18798 (memmove): Redefined to __redirect_memmove.
18799 (__memmove_sse2): Use typeof __redirect_memmove.
18800 (__memmove_ssse3): Likewise.
18801 (__memmove_ssse3_back): Likewise.
18802 (__libc_memmove): New prototype.
18803 (memmove): Renamed to ...
18804 (__libc_memmove): This.
18805 (memmove): New strong alias of __libc_memmove.
18807 2012-08-08 Mark Salter <msalter@redhat.com>
18810 (R_MN10300_TLS_GD): Define.
18811 (R_MN10300_TLS_LD): Likewise.
18812 (R_MN10300_TLS_LDO): Likewise.
18813 (R_MN10300_TLS_GOTIE): Likewise.
18814 (R_MN10300_TLS_IE): Likewise.
18815 (R_MN10300_TLS_LE): Likewise.
18816 (R_MN10300_TLS_DTPMOD): Likewise.
18817 (R_MN10300_TLS_DTPOFF): Likewise.
18818 (R_MN10300_TLS_TPOFF): Likewise.
18819 (R_MN10300_SYM_DIFF): Likewise.
18820 (R_MN10300_ALIGN): Likewise.
18821 (R_MN10300_NUM): Update.
18823 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18825 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18828 2012-08-08 Roland McGrath <roland@hack.frob.com>
18830 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18832 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18833 sysdeps/unix -> sysdeps/posix move.
18834 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18836 2012-08-07 Allan McRae <allan@archlinux.org>
18839 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18840 (SUNOS_CPP): Likewise.
18841 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18843 (open_input): Call CPP using execvp.
18845 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18847 * sysdeps/unix/sysv/linux/kernel-features.h
18848 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18849 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18850 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18851 (__ASSUME_WAITID_SYSCALL): Likewise.
18852 * sysdeps/unix/sysv/linux/dl-execstack.c
18853 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18854 code unconditional.
18855 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18857 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18858 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18859 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18861 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18863 [__ASSUME_WAITID_SYSCALL]: Likewise.
18864 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18866 2012-08-07 Roland McGrath <roland@hack.frob.com>
18868 * sysdeps/unix/closedir.c: Renamed to ...
18869 * sysdeps/posix/closedir.c: ... here.
18870 * sysdeps/unix/dirfd.c: Renamed to ...
18871 * sysdeps/posix/dirfd.c: ... here.
18872 * sysdeps/unix/dirstream.h: Renamed to ...
18873 * sysdeps/posix/dirstream.h: ... here.
18874 * sysdeps/unix/fdopendir.c: Renamed to ...
18875 * sysdeps/posix/fdopendir.c: ... here.
18876 * sysdeps/unix/opendir.c: Renamed to ...
18877 * sysdeps/posix/opendir.c: ... here.
18878 * sysdeps/unix/readdir.c: Renamed to ...
18879 * sysdeps/posix/readdir.c: ... here.
18880 * sysdeps/unix/readdir_r.c: Renamed to ...
18881 * sysdeps/posix/readdir_r.c: ... here.
18882 * sysdeps/unix/rewinddir.c: Renamed to ...
18883 * sysdeps/posix/rewinddir.c: ... here.
18884 * sysdeps/unix/seekdir.c: Renamed to ...
18885 * sysdeps/posix/seekdir.c: ... here.
18886 * sysdeps/unix/telldir.c: Renamed to ...
18887 * sysdeps/posix/telldir.c: ... here.
18888 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18889 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18890 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18891 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18893 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18894 * bits/fcntl.h: ... here.
18896 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18898 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18899 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18900 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18901 (struct flock): Move l_start, l_len to the beginning.
18902 Use __pid_t for l_pid.
18903 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18904 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18905 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18906 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18907 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18908 [__USE_LARGEFILE64] (struct flock64): New type.
18909 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18911 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18912 * bits/dirent.h: ... here.
18914 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18915 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18917 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18920 Change from 2.6.0 to 2.6.16.
18921 * sysdeps/unix/sysv/linux/configure: Regenerated.
18922 * sysdeps/unix/sysv/linux/kernel-features.h
18923 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18924 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18926 (__ASSUME_UTIMES): Likewise.
18927 (__ASSUME_CLONE_STOPPED): Remove.
18928 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18929 architectures, not kernel version.
18930 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18931 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18932 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18933 (__ASSUME_WAITID_SYSCALL): Likewise.
18934 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18935 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18936 * README: State 2.6.16 as minimum Linux kernel version. Do not
18937 refer to older versions.
18939 2012-08-06 Roland McGrath <roland@hack.frob.com>
18941 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18942 Define alphasort64 as an alias.
18943 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18944 Define versionsort64 as an alias.
18945 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18946 Define scandir64 as an alias.
18947 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18948 Define scandirat64 as an alias.
18949 * dirent/alphasort64.c (alphasort64):
18950 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18951 * dirent/versionsort64.c: Likewise.
18952 * dirent/scandir64.c: Likewise.
18953 * dirent/scandirat64.c: Likewise.
18954 * sysdeps/wordsize-64/alphasort.c: File removed.
18955 * sysdeps/wordsize-64/alphasort64.c: File removed.
18956 * sysdeps/wordsize-64/scandir.c: File removed.
18957 * sysdeps/wordsize-64/scandir64.c: File removed.
18958 * sysdeps/wordsize-64/scandirat.c: File removed.
18959 * sysdeps/wordsize-64/scandirat64.c: File removed.
18960 * sysdeps/wordsize-64/versionsort.c: File removed.
18961 * sysdeps/wordsize-64/versionsort64.c: File removed.
18962 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18963 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18964 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18965 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18966 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18967 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18968 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18969 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18971 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18973 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18975 [defined __arch64__ || defined __sparcv9]
18976 (__INO_T_MATCHES_INO64_T): New macro.
18977 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18978 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18979 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18980 * sysdeps/unix/sysv/linux/bits/dirent.h
18981 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18982 (_DIRENT_MATCHES_DIRENT64): New macro.
18984 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18985 Define lockf64 as an alias.
18986 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18987 Define fseeko64 as an alias.
18988 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18989 Define ftello64 as an alias.
18990 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18991 Define _IO_fgetpos64 and fgetpos64 as aliases.
18992 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18993 Define _IO_fsetpos64 and fsetpos64 as aliases.
18994 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18995 Conditionalize body on this.
18996 * libio/fseeko64.c: Likewise.
18997 * libio/ftello64.c: Likewise.
18998 * libio/iofgetpos64.c: Likewise.
18999 * libio/iofsetpos64.c: Likewise.
19000 * sysdeps/wordsize-64/lockf.c: File removed.
19001 * sysdeps/wordsize-64/lockf64.c: File removed.
19002 * sysdeps/wordsize-64/fseeko.c: File removed.
19003 * sysdeps/wordsize-64/fseeko64.c: File removed.
19004 * sysdeps/wordsize-64/ftello.c: File removed.
19005 * sysdeps/wordsize-64/ftello64.c: File removed.
19006 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19007 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19008 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19009 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19010 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19011 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19012 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19013 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19014 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19015 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19016 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19017 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19018 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19019 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19021 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19023 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19025 [defined __arch64__ || defined __sparcv9]
19026 (__OFF_T_MATCHES_OFF64_T): New macro.
19027 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19028 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19030 (__OFF_T_MATCHES_OFF64_T): New macro.
19032 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19034 * stdlib/secure-getenv.c (__secure_getenv): Replace
19035 GLIBC_2_16 with GLIBC_2_17.
19037 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19039 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19040 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19042 2012-08-03 David S. Miller <davem@davemloft.net>
19044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19046 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19048 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19050 (__ASSUME_CORRECT_SI_PID): Likewise.
19051 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19052 (__ASSUME_TMPFS_NAME): Likewise.
19053 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19054 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19055 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19056 (HAVE_AUX_SECURE): Make definition unconditional.
19057 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19058 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19060 2012-08-03 Roland McGrath <roland@hack.frob.com>
19062 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19063 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19064 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19065 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19066 __eloop_threshold instead of SYMLOOP_MAX.
19068 * sysdeps/generic/eloop-threshold.h: New file.
19069 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19071 * elf/chroot_canon.c (chroot_canon): Likewise.
19073 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19077 Change to 2.6.0 everywhere.
19078 * sysdeps/unix/sysv/linux/configure: Regenerated.
19079 * sysdeps/unix/sysv/linux/kernel-features.h
19080 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19081 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19083 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19084 (__ASSUME_FUTEX_REQUEUE): Remove.
19085 (__ASSUME_STATFS64): Define unconditionally.
19086 (__ASSUME_AT_SECURE): Likewise.
19087 (__ASSUME_CORRECT_SI_PID): Likewise.
19088 (__ASSUME_TGKILL): Define without depending on kernel version for
19090 (__ASSUME_UTIMES): Likewise.
19091 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19093 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19094 (__ASSUME_TMPFS_NAME): Likewise.
19095 * README: Update reference to Linux kernel versions.
19097 2012-08-02 Marek Polacek <polacek@redhat.com>
19100 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19101 libc_cv_asm_type_prefix with %.
19102 * configure: Regenerated.
19103 * include/libc-symbols.h: Remove comment about
19104 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19105 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19106 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19107 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19108 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19109 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19110 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19111 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19112 * elf/tst-unique2mod1.c: Likewise.
19113 * elf/tst-unique1mod2.c: Likewise.
19114 * elf/tst-unique1mod1.c: Likewise.
19115 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19116 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19117 Replace ASM_TYPE_DIRECTIVE with .type.
19118 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19119 * sysdeps/i386/sysdep.h: Likewise.
19120 * sysdeps/x86_64/sysdep.h: Likewise.
19121 * sysdeps/sh/sysdep.h: Likewise.
19122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19123 Do not define ASM_TYPE_DIRECTIVE.
19124 * sysdeps/powerpc/sysdep.h: Likewise.
19125 * sysdeps/powerpc/powerpc32/sysdep.h:
19126 Replace ASM_TYPE_DIRECTIVE with .type.
19127 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19128 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19129 * sysdeps/i386/fpu/e_powf.S: Likewise.
19130 * sysdeps/i386/fpu/e_expl.S: Likewise.
19131 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19132 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19133 * sysdeps/i386/fpu/e_pow.S: Likewise.
19134 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19136 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19137 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19138 * sysdeps/i386/fpu/e_log2.S: Likewise.
19139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19141 * sysdeps/i386/fpu/e_powl.S: Likewise.
19142 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19143 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19144 * sysdeps/i386/fpu/e_logl.S: Likewise.
19145 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19146 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19147 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19148 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19149 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19150 * sysdeps/i386/fpu/e_log.S: Likewise.
19151 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19152 * sysdeps/i386/fpu/e_logf.S: Likewise.
19153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19154 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19155 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19156 * sysdeps/i386/fpu/e_log10.S: Likewise.
19157 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19159 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19160 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19161 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19162 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19163 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19164 * sysdeps/i386/i686/strtok.S: Likewise.
19165 * sysdeps/i386/i386-mcount.S: Likewise.
19166 * sysdeps/i386/strtok.S: Likewise.
19167 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19168 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19169 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19170 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19171 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19172 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19173 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19174 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19175 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19176 * sysdeps/x86_64/_mcount.S: Likewise.
19177 * sysdeps/x86_64/strtok.S: Likewise.
19178 * sysdeps/sh/_mcount.S: Likewise.
19180 2012-08-01 Roland McGrath <roland@hack.frob.com>
19182 * libio/iofopen.c: Include <fcntl.h>.
19183 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19184 (_IO_fopen64, fopen64): Define as aliases.
19185 * libio/iofopen64.c: Include <fcntl.h>.
19186 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19187 Conditionalize body on this.
19188 * sysdeps/wordsize-64/iofopen.c: File removed.
19189 * sysdeps/wordsize-64/iofopen64.c: File removed.
19191 2012-08-01 Marek Polacek <polacek@redhat.com>
19193 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19194 Use dlfcn directly instead of a variable.
19195 (binfmt-subdir): Do not define.
19198 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19201 Remove all definitions.
19202 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19203 <kernel-features.h>.
19204 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19205 (miss_F_GETOWN_EX): Remove all definitions.
19206 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19208 [!__ASSUME_FCNTL64]: Remove conditional code.
19209 [__ASSUME_FCNTL64]: Make code unconditional.
19210 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19211 <kernel-features.h>.
19212 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19213 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19214 (lockf64) [__NR_fcntl64]: Make code unconditional.
19215 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19217 * sysdeps/unix/sysv/linux/kernel-features.h
19218 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19219 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19220 Make code unconditional.
19221 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19222 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19224 [__NR_vfork]: Make code unconditional.
19225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19228 [__NR_vfork]: Make code unconditional.
19229 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19230 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19232 2012-08-01 Roland McGrath <roland@hack.frob.com>
19234 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19235 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19237 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19238 Define mkstemp64 as an alias.
19239 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19240 Define mkstemps64 as an alias.
19241 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19242 Define mkostemp64 as an alias.
19243 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19244 Define mkostemps64 as an alias.
19245 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19246 Conditionalize body on this.
19247 * misc/mkostemp64.c: Likewise.
19248 * misc/mkostemps64.c: Likewise.
19249 * misc/mkstemps64.c: Likewise.
19250 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19251 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19252 * sysdeps/wordsize-64/mkostemp.c: File removed.
19253 * sysdeps/wordsize-64/mkstemp.c: File removed.
19254 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19256 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19260 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19261 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19262 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19263 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19265 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19266 compat_symbol macros from <shlib-compat.h> rather than the underlying
19267 default_symbol_version and symbol_version macros, so that DEFAULT
19268 lines in shlib-versions are respected.
19269 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19271 2012-08-01 Florian Weimer <fweimer@redhat.com>
19273 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19274 Declare with warn_unused_result.
19275 (setgid, setregid, setegid, setresgid): Likewise.
19276 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19278 * WUR-REPORT: Remove set*id functions.
19280 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19282 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19284 2012-07-31 Roland McGrath <roland@hack.frob.com>
19287 * include/sys/socket.h (__libc_accept, __libc_accept4):
19288 Add attribute_hidden.
19289 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19291 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19293 * inet/getnetgrent_r.c (setup): Likewise.
19295 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19297 2012-07-31 David S. Miller <davem@davemloft.net>
19299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19301 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19304 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19305 value between 1.0 and 2.0 and smaller part has absolute value less
19307 * math/s_clog10.c (__clog10): Likewise.
19308 * math/s_clog10f.c (__clog10f): Likewise.
19309 * math/s_clog10l.c (__clog10l): Likewise.
19310 * math/s_clogf.c (__clogf): Likewise.
19311 * math/s_clogl.c (__clogl): Likewise.
19312 * math/libm-test.inc (clog_test): Add more tests.
19313 (clog10_test): Likewise.
19314 * sysdeps/i386/fpu/libm-test-ulps: Update.
19315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19317 2012-07-31 Florian Weimer <fweimer@redhat.com>
19319 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19320 Exit with zero in case no suitable GID is found, and write a
19321 message to standard error.
19323 2012-07-30 Roland McGrath <roland@hack.frob.com>
19325 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19327 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19328 (MAXPATHLEN): Removed.
19329 (NOGROUP, NODEV): New macros.
19330 (setbit, clrbit, isset, isclr): New macros.
19331 (howmany, roundup, powerof2): New macros.
19332 (DEV_BSIZE): New macro.
19334 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19335 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19337 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19338 definition on [!__NO_LONG_DOUBLE_MATH].
19340 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19341 PTR_MANGLE and PTR_DEMANGLE.
19343 * socket/accept4.c (accept4): Rename to __libc_accept4.
19344 Define accept4 as a weak alias.
19346 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19347 on [_DIRENT_HAVE_D_TYPE].
19348 * io/ftw.c (ftw_dir): Likewise.
19350 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19352 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19354 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19355 Use the BSD numbers rather than the arbitrary ones we had.
19356 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19357 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19358 (SIGXCPU, SIGXFSZ): New macros.
19361 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19362 initializer on [_LIBC_REENTRANT].
19364 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19365 definitions inside [_POSIX_MAPPED_FILES].
19367 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19369 * dirent/opendir.c: Include <fcntl.h>.
19371 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19372 (__libc_getspecific): Likewise.
19373 (__libc_key_create): Likewise.
19375 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19376 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19377 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19378 (tmpfile64): Define as alias.
19379 * sysdeps/wordsize-64/tmpfile.c: File removed.
19380 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19384 * stdio-common/vfscanf.c: Include <stdbool.h>.
19385 * nss/makedb.c: Likewise.
19386 * stdio-common/_i18n_number.h: Likewise.
19387 * argp/argp-help.c: Likewise.
19388 * posix/wordexp.c: Likewise.
19389 * sysdeps/posix/spawni.c: Likewise.
19390 * nss/nss_files/files-initgroups.c: Likewise.
19391 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19392 * nss/nss_files/files-initgroups.c: Likewise.
19393 * nss/nss_db/db-netgrp.c: Likewise.
19394 * nss/nss_db/db-initgroups.c: Likewise.
19395 * io/fchmodat.c: Include <sys/stat.h>.
19397 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19398 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19400 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19403 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19404 Add multiple inclusion protection.
19406 2012-07-27 David S. Miller <davem@davemloft.net>
19408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19410 2012-07-27 Gary Benson <gbenson@redhat.com>
19413 * elf/rtld.c: Include <stap-probe.h>.
19414 (dl_main): Added static probes "init_start" and "init_complete".
19415 * elf/dl-load.c: Include <stap-probe.h>.
19416 (lose): Take new parameter "nsid".
19417 Added static probe "map_failed".
19418 (_dl_map_object_from_fd): Pass namespace id to lose.
19419 Added static probe "map_start".
19420 (open_verify): Pass namespace id to lose.
19421 * elf/dl-open.c: Include <stap-probe.h>.
19422 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19423 and "reloc_complete".
19424 * elf/dl-close.c: Include <stap-probe.h>.
19425 (_dl_close_worker): Added static probes "unmap_start" and
19427 * elf/rtld-debugger-interface.txt: New file documenting the above.
19429 2012-07-26 Roland McGrath <roland@hack.frob.com>
19431 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19432 rather than a string variable.
19433 * sunrpc/rpc_main.c (h_output): Likewise.
19434 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19436 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19438 * inet/check_native.c: New file.
19440 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19443 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19444 if larger part has absolute value 1.0.
19445 * math/s_clog10.c (__clog10): Likewise.
19446 * math/s_clog10f.c (__clog10f): Likewise.
19447 * math/s_clog10l.c (__clog10l): Likewise.
19448 * math/s_clogf.c (__clogf): Likewise.
19449 * math/s_clogl.c (__clogl): Likewise.
19450 * math/libm-test.inc (clog_test): Add more tests.
19451 (clog10_test): Likewise.
19452 * sysdeps/i386/fpu/libm-test-ulps: Update.
19453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19455 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19456 (pltexit): Likewise.
19457 (La_regs): Likewise.
19458 (La_retval): Likewise.
19459 (int_retval): Likewise.
19460 Update #error for removed macros to refer only to definitions in
19462 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19464 (pltexit): Likewise.
19465 (La_regs): Likewise.
19466 (La_retval): Likewise.
19467 (int_retval): Likewise.
19468 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19470 (pltexit): Likewise.
19471 (La_regs): Likewise.
19472 (La_retval): Likewise.
19473 (int_retval): Likewise.
19474 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19476 (pltexit): Likewise.
19477 (La_regs): Likewise.
19478 (La_retval): Likewise.
19479 (int_retval): Likewise.
19480 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19482 (pltexit): Likewise.
19483 (La_regs): Likewise.
19484 (La_retval): Likewise.
19485 (int_retval): Likewise.
19486 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19488 (pltexit): Likewise.
19489 (La_regs): Likewise.
19490 (La_retval): Likewise.
19491 (int_retval): Likewise.
19492 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19494 (pltexit): Likewise.
19495 (La_regs): Likewise.
19496 (La_retval): Likewise.
19497 (int_retval): Likewise.
19498 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19499 macro definitions in tst-audit.h.
19500 * sysdeps/i386/tst-audit.h: New file.
19501 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19502 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19503 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19504 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19505 * sysdeps/sh/tst-audit.h: Likewise.
19506 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19507 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19508 * sysdeps/x86_64/tst-audit.h: Likewise.
19510 2012-07-26 Andreas Jaeger <aj@suse.de>
19512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19515 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19516 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19517 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19519 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19520 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19521 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19523 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19526 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19528 (si_call_addr, si_syscall, si_arch): Define new macro.
19529 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19531 (si_call_addr, si_syscall, si_arch): Define new marcro.
19532 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19534 (si_call_addr, si_syscall, si_arch): Define new macro.
19535 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19537 (si_call_addr, si_syscall, si_arch): Define new macro.
19539 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19542 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19543 Change to 2.4.21 where previously 2.4.1.
19544 * sysdeps/unix/sysv/linux/configure: Regenerated.
19545 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19546 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19547 Linux kernel version.
19548 (__ASSUME_STD_AUXV): Remove.
19549 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19551 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19552 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19553 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19554 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19555 (__ASSUME_NETLINK_SUPPORT): Likewise.
19556 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19557 (__no_netlink_support): Remove conditional definition.
19558 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19560 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19561 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19562 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19563 (if_nameindex_ioctl): Remove.
19564 (if_nameindex_netlink): Do not handle __no_netlink_support.
19565 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19567 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19568 Remove conditional code.
19569 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19571 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19573 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19574 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19575 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19577 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19578 [!__ASSUME_STD_AUXV]: Remove conditional code.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19580 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19581 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19583 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19584 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19586 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19588 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19589 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19591 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19593 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19596 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19599 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19600 code unconditional.
19601 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19603 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19605 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19608 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19610 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19613 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19614 code unconditional.
19615 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19617 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19619 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19622 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19623 code unconditional.
19624 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19626 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19628 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19631 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19633 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19634 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19635 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19636 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19637 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19638 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19639 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19640 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19641 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19642 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19643 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19644 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19645 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19646 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19647 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19648 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19649 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19650 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19651 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19653 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19654 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19655 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19657 2012-07-25 Florian Weimer <fweimer@redhat.com>
19659 * Versions.def: Add GLIBC_2.17.
19660 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19661 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19662 Introduce __libc_secure_getenv.
19663 * stdlib/Versions (2.17): Add secure_getenv
19664 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19665 * stdlib/secure-getenv.c: Rename __secure_getenv to
19666 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19667 symbol __secure_getenv for GLIBC_2.0.
19668 * stdlib/tst-secure-getenv.c: New.
19669 * stdlib/Makefile (tests): Add testcase.
19670 * manual/startup.texi (Environment Access): Document
19672 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19673 __libc_secure_getenv.
19674 * inet/ruserpass.c (ruserpass): Likewise.
19675 * malloc/mtrace.c (mtrace): Likewise.
19676 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19677 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19678 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19679 * sysdeps/posix/tempname.c: Likewise. Evaluate
19680 HAVE_SECURE_GETENV.
19681 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19682 __secure_getenv to __libc_secure_getenv.
19683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19696 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19698 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19699 (struct La_i86_retval): Likewise.
19700 (struct La_x86_64_regs): Likewise.
19701 (struct La_x86_64_retval): Likewise.
19702 (struct La_x32_regs): Likewise.
19703 (struct La_x32_retval): Likewise.
19704 (struct La_ppc32_regs): Likewise.
19705 (struct La_ppc32_retval): Likewise.
19706 (struct La_ppc64_regs): Likewise.
19707 (struct La_ppc64_retval): Likewise.
19708 (struct La_sh_regs): Likewise.
19709 (struct La_sh_retval): Likewise.
19710 (struct La_s390_32_regs): Likewise.
19711 (struct La_s390_32_retval): Likewise.
19712 (struct La_s390_64_regs): Likewise.
19713 (struct La_s390_64_retval): Likewise.
19714 (struct La_sparc32_regs): Likewise.
19715 (struct La_sparc32_retval): Likewise.
19716 (struct La_sparc64_regs): Likewise.
19717 (struct La_sparc64_retval): Likewise.
19718 (struct audit_ifaces): Remove architecture-specific pltenter and
19720 * sysdeps/i386/ldsodefs.h: New file.
19721 * sysdeps/powerpc/ldsodefs.h: Likewise.
19722 * sysdeps/s390/ldsodefs.h: Likewise.
19723 * sysdeps/sh/ldsodefs.h: Likewise.
19724 * sysdeps/sparc/ldsodefs.h: Likewise.
19725 * sysdeps/x86_64/ldsodefs.h: Likewise.
19727 2012-07-25 Marek Polacek <polacek@redhat.com>
19730 * math/libm-test.inc (yn_test): Add another test.
19731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19732 to ERANGE when the result is +-Inf.
19733 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19734 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19735 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19736 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19738 2012-07-24 Joseph Myers <joseph@codesourcery.com>
19740 * conform/data/time.h-data (NULL): Use macro-constant. Require
19742 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19744 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19746 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19748 * configure.in <sysdeps resolving>: Correct printing
19750 * configure: Regenerate.
19752 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19754 * math/w_ilogb.c: Include <limits.h>.
19755 * math/w_ilogbl.c: Likewise.
19757 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19759 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19760 va_copy. Document allowing for unavailable va_copy only as
19761 pre-C99 compatibility.
19762 * manual/string.texi (Copying and Concatenation): Use va_copy
19763 instead of __va_copy in concat example.
19765 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19767 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19768 (__sendto): Use create_address_port. Initialize APORT and deallocate
19771 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19772 with O_NOLINK passed to __file_name_lookup.
19774 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19775 with O_NOLINK passed to __file_name_lookup.
19777 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19778 negative N or less than NGIDS.
19780 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19781 type to string_t. Set ERANGE as errno and return it if NAME is not big
19782 enough. Use memcpy instead of strncpy.
19784 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19786 * elf/Makefile (check-data): Remove.
19787 (localplt.data): New vpath directive.
19788 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19789 instead of $(check-data).
19790 * scripts/data/localplt-generic.data: Move to ...
19791 * sysdeps/generic/localplt.data: ... here.
19792 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19793 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19794 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19797 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19800 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19803 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19806 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19809 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19813 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19815 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19816 PPC32 and PPC64 files.
19817 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19818 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19820 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19822 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19823 __makecontext_ret to ...
19824 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19825 ... here and call exit if uc_link is NULL. New file.
19826 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19827 __makecontext_ret.S.
19828 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19829 __makecontext_ret to ...
19830 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19831 ... here and call exit if uc_link is NULL. New file.
19832 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19833 __makecontext_ret.S.
19835 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19837 * elf/elf.h (R_390_IRELATIVE): New definition.
19838 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19839 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19840 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19841 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19842 (elf_machine_lazy_rel): Likewise.
19843 * sysdeps/s390/dl-irel.h: New file.
19844 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19845 * sysdeps/s390/s390-64/memset.S: New asm code.
19846 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19847 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19848 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19849 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19850 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19851 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19853 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19854 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19855 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19856 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19857 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19858 * sysdeps/s390/s390-32/memset.S: New asm code.
19859 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19861 2012-07-17 Marek Polacek <polacek@redhat.com>
19864 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19865 * sysdeps/s390/s390-64/configure.in: Likewise.
19866 * sysdeps/sparc/configure.in: Likewise.
19867 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19868 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19869 * sysdeps/i386/configure.in: Likewise.
19870 * sysdeps/x86_64/configure.in: Likewise.
19871 * sysdeps/sh/configure.in: Likewise.
19872 * sysdeps/s390/s390-32/configure: Regenerated.
19873 * sysdeps/s390/s390-64/configure: Likewise.
19874 * sysdeps/x86_64/configure: Likewise.
19875 * sysdeps/sh/configure: Likewise.
19876 * sysdeps/powerpc/powerpc64/configure: Likewise.
19877 * sysdeps/powerpc/powerpc32/configure: Likewise.
19878 * sysdeps/sparc/configure: Likwise.
19879 * sysdeps/i386/configure: Likewise.
19881 * elf/dl-open.c: Comment fixes.
19883 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19885 * Makefile [CXX] (check-data): Remove.
19886 [CXX] (c++-types.data): New vpath directive.
19887 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19888 vpath. Do not allow for C++ type data being missing.
19889 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19890 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19891 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19892 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19893 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19894 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19895 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19898 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19901 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19904 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19907 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19910 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19913 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19916 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19919 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19920 definitions to architecture-specific files.
19921 (TLS_IE): Likewise.
19922 (TLS_LD): Likewise.
19923 (TLS_GD): Likewise.
19924 * sysdeps/i386/tls-macros.h: New file.
19925 * sysdeps/powerpc/tls-macros.h: Likewise.
19926 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19927 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19928 * sysdeps/sh/tls-macros.h: Likewise.
19929 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19930 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19931 * sysdeps/x86_64/tls-macros.h: Likewise.
19933 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19935 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19936 zero value for regular exit case.
19938 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19939 (__start_context): Preserve zero value for regular exit case.
19941 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19942 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19944 * manual/setjmp.texi (setcontext): Clarify normal process
19945 termination when uc_link is the null pointer.
19946 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19949 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19951 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19952 preprocessor. Test for each exception mask separately.
19954 2012-07-16 Andreas Jaeger <aj@suse.de>
19956 * po/ru.po: Update from translation team.
19958 2012-07-15 Joseph Myers <joseph@codesourcery.com>
19960 * conform/data/string.h-data (NULL): Use macro-constant. Require
19962 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19963 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19964 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19965 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19968 2012-07-13 Andreas Jaeger <aj@suse.de>
19970 * po/fr.po: Update from translation team.
19972 2012-07-12 Marek Polacek <polacek@redhat.com>
19975 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19979 2012-07-12 Joseph Myers <joseph@codesourcery.com>
19982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19983 Change to 2.4.1 where previously 2.4.0.
19984 * sysdeps/unix/sysv/linux/configure: Regenerated.
19985 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19986 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19988 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19989 (__ASSUME_AT_CLKTCK): Remove.
19990 (__ASSUME_AT_PAGESIZE): Likewise.
19991 (__ASSUME_AT_XID): Likewise.
19992 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19993 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19994 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19996 (HAVE_AUX_PAGESIZE): Likewise.
19997 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19998 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19999 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20001 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20005 the temporary buffer used to invoke __gethostbyname2_r,
20006 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20007 host_data / struct gaih_addrtuple.
20008 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20009 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20010 header file nss/nsswitch.h.
20011 * nss/nsswitch.h (global scope): Add definition of implementation
20012 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20013 resolv/nss_dns/dns-host.c).
20015 2012-07-11 Andreas Jaeger <aj@suse.de>
20017 * po/fr.po: Update from translation team.
20019 * po/sv.po: Update from translation team
20020 * po/fr.po: Another update from translation team.
20022 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20024 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20025 for subnormals or multiply small sinh result by itself.
20026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20029 2012-07-11 David S. Miller <davem@davemloft.net>
20031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20033 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20036 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20037 (INTERNAL_MARK): Shift it here.
20039 2012-07-10 Marek Polacek <polacek@redhat.com>
20042 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20043 libc_cv_asm_global_directive with .globl.
20044 * configure: Regenerated.
20045 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20047 * sysdeps/i386/configure: Regenerated.
20048 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20050 * sysdeps/x86_64/configure: Regenerated.
20051 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20052 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20053 * elf/tst-unique2mod2.c: Likewise.
20054 * elf/tst-unique2mod1.c: Likewise.
20055 * elf/tst-unique1mod2.c: Likewise.
20056 * elf/tst-unique1mod1.c: Likewise.
20057 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20058 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20059 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20060 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20061 * sysdeps/mach/sysdep.h: Likewise.
20062 * sysdeps/i386/sysdep.h: Likewise.
20063 * sysdeps/i386/i386-mcount.S: Likewise.
20064 * sysdeps/x86_64/_mcount.S: Likewise.
20065 * sysdeps/x86_64/sysdep.h: Likewise.
20066 * sysdeps/sh/_mcount.S: Likewise.
20067 * sysdeps/sh/sysdep.h: Likewise.
20068 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20069 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20070 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20071 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20072 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20073 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20074 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20075 * locale/localeinfo.h: Likewise.
20076 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20077 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20079 2012-07-09 Roland McGrath <roland@hack.frob.com>
20082 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20084 * manual/message.texi (The Uniforum approach): Likewise.
20085 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20086 (glibc iconv Implementation): Likewise.
20088 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20091 * math/s_clog.c (__clog): Avoid scaling a value down where that
20092 could result in underflow.
20093 * math/s_clog10.c (__clog10): Likewise.
20094 * math/s_clog10f.c (__clog10f): Likewise.
20095 * math/s_clog10l.c (__clog10l): Likewise.
20096 * math/s_clogf.c (__clogf): Likewise.
20097 * math/s_clogl.c (__clogl): Likewise.
20098 * math/libm-test.inc (clog_test): Add more tests.
20099 (clog10_test): Likewise.
20100 * sysdeps/i386/fpu/libm-test-ulps: Update.
20101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20103 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20106 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20107 by 7 not 8 to examine high bit of fractional part.
20110 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20111 for call to __mcount_internal.
20112 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20113 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20114 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20116 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20119 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20120 approximation for values within 0x1p-13f of an odd multiple of
20122 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20123 exception. Add more tests.
20124 * sysdeps/i386/fpu/libm-test-ulps: Update.
20127 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20128 inputs and return -1 for them. Do not check for +Inf in case not
20129 reachable for +Inf.
20130 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20131 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20132 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20133 and return -1 for them. Do not check for +Inf in case not
20134 reachable for +Inf.
20135 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20137 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20138 and return -1 for them. Do not check for +Inf in case not
20139 reachable for +Inf.
20140 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20141 spurious underflow.
20142 * sysdeps/i386/fpu/libm-test-ulps: Update.
20143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20145 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20147 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20149 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20153 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20154 could result in spurious underflow. Scale down values above
20155 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20156 * math/s_csqrtf.c (__csqrtf): Likewise.
20157 * math/s_csqrtl.c (__csqrtl): Likewise.
20158 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20159 spurious underflow.
20160 * sysdeps/i386/fpu/libm-test-ulps: Update.
20161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20163 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20165 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20167 * catgets/xopen-msg.awk: New file.
20168 * catgets/xopen-msg.sed: Removed.
20170 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20172 * intl/po2test.awk: New file.
20173 * intl/po2test.sed: Removed.
20175 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20178 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20179 or multiply small sinh result by itself.
20180 * math/s_ctanf.c (__ctanf): Likewise.
20181 * math/s_ctanh.c (__ctanh): Likewise.
20182 * math/s_ctanhf.c (__ctanhf): Likewise.
20183 * math/s_ctanhl.c (__ctanhl): Likewise.
20184 * math/s_ctanl.c (__ctanl): Likewise.
20185 * math/libm-test.inc (ctan_test_tonearest): New function.
20186 (ctan_test_towardzero): Likewise.
20187 (ctan_test_downward): Likewise.
20188 (ctan_test_upward): Likewise.
20189 (ctanh_test_tonearest): Likewise.
20190 (ctanh_test_towardzero): Likewise.
20191 (ctanh_test_downward): Likewise.
20192 (ctanh_test_upward): Likewise.
20193 (main): Call these new functions.
20194 * sysdeps/i386/fpu/libm-test-ulps: Update.
20195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20197 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20199 * .gitignore: Delete /ports entry.
20201 2012-07-03 Andreas Jaeger <aj@suse.de>
20203 * po/bg.po: Update from translation team.
20204 * po/cs.po: Likewise.
20205 * po/de.po: Likewise.
20206 * po/hr.po: Likewise.
20207 * po/nl.pl: Likewise.
20208 * po/pl.po: Likewise.
20209 * po/vi.po: Likewise.
20211 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20213 * Makeconfig [!+link] (+link-before-libc): New variable.
20214 [!+link] (+link-after-libc): Likewise.
20215 [!+link] (+link-tests): Likewise.
20216 [!+link] (+link): Define in terms of $(+link-before-libc) and
20217 $(+link-after-libc).
20218 [!+link-static] (+link-static-before-libc): New variable.
20219 [!+link-static] (+link-static-after-libc): Likewise.
20220 [!+link-static] (+link-static-tests): Likewise.
20221 [!+link-static] (+link-static): Define in terms of
20222 $(+link-static-before-libc) and $(+link-static-after-libc).
20223 [build-shared] (link-libc-before-gnulib): New variable.
20224 [build-shared] (link-libc-tests): Likewise.
20225 [build-shared] (link-libc): Define in terms of
20226 $(link-libc-before-gnulib).
20227 [!build-shared] (link-libc-tests): New variable.
20228 (link-libc-static-tests): New variable.
20229 [!gnulib] (gnulib-arch): New variable.
20230 [!gnulib] (gnulib-tests): Likewise.
20231 [!gnulib] (static-gnulib-arch): Likewise.
20232 [!gnulib] (static-gnulib-tests): Likewise.
20233 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20234 Define with "=" instead of ":=".
20235 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20236 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20237 * Rules (binaries-all-notests): New variable.
20238 (binaries-all-tests): Likewise.
20239 (binaries-static-notests): Likewise.
20240 (binaries-static-tests): Likewise.
20241 (binaries-all): Define using $(binaries-all-notests) and
20242 $(binaries-all-tests).
20243 (binaries-static): Define using $(binaries-static-notests) and
20244 $(binaries-static-tests).
20245 (binaries-shared-tests): New variable.
20246 (binaries-shared-notests): Likewise.
20247 (binaries-shared): Remove variable.
20248 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20249 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20250 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20251 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20252 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20253 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20254 * elf/Makefile (sln-modules): New variable.
20255 (extra-objs): Add $(sln-modules:=.o).
20256 (ldconfig-modules): Add static-stubs.
20257 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20258 * elf/static-stubs.c: New file.
20261 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20262 by 7 not 8 to examine high bit of fractional part. Use volatile
20263 variables when splitting into final array of floats if
20264 __FLT_EVAL_METHOD__ != 0.
20265 * math/libm-test.inc (cos_test): Add another test.
20266 (sin_test): Likewise.
20267 * sysdeps/i386/fpu/libm-test-ulps: Update.
20270 * math/libm-test.inc (cosh_test): Add more tests.
20272 * version.h (RELEASE): Set to "development".
20273 (VERSION): Set to "2.16.90".
20275 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20277 * NEWS: Update copyright. Remove last-updated date.
20278 Mention math library bug fixes and timezone data changes.
20279 * README: Mention GNU/Hurd, x32, and HPPA support status.
20281 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20283 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20285 2012-06-27 Andreas Jaeger <aj@suse.de>
20287 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20289 2012-06-25 Andreas Jaeger <aj@suse.de>
20291 * sysdeps/s390/fpu/libm-test-ulps: Update.
20293 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20294 Thomas Schwinge <thomas@codesourcery.com>
20296 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20297 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20301 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20303 * sysdeps/mach/start.c: Remove file.
20304 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20305 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20306 * sysdeps/sh/init-first.c: Likewise.
20308 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20309 registers for frame unwinding purposes, add CFI directives.
20310 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20311 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20312 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20315 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20316 __fortify_fail returning.
20317 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20319 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20320 sysdeps/sh/____longjmp_chk.S.
20321 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20322 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20323 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20324 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20326 * sysdeps/sh/abort-instr.h: New file.
20327 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20328 process in case exit returns.
20330 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20331 initialize the GOT register before use.
20333 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20334 calculation of ARGC > 4.
20336 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20337 meaningful names to some local labels.
20339 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20340 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20342 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20343 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20344 (__arch_compare_and_exchange_val_16_acq): Likewise.
20345 (__arch_compare_and_exchange_val_32_acq): Likewise.
20346 (atomic_exchange_and_add): Fix gUSA sequence.
20347 (atomic_add): Likewise.
20348 (atomic_add_negative): Likewise.
20349 (atomic_add_zero): Likewise.
20350 (atomic_bit_test_set): Likewise.
20352 2012-06-22 Andreas Schwab <schwab@redhat.com>
20355 * include/link.h (struct link_map): Add l_free_initfini.
20356 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20358 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20359 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20360 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20363 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20365 * configure.in: Use AC_LANG_SOURCE.
20366 * configure: Regenerate.
20368 2012-06-22 Roland McGrath <roland@hack.frob.com>
20370 * configure.in (libc_cv_localstatedir): New substituted variable.
20371 * configure: Regenerated.
20372 * config.make.in (localstatedir): New variable, substituted from
20373 libc_cv_localstatedir.
20374 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20375 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20376 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20377 * sysdeps/gnu/configure: Regenerated.
20379 2012-06-21 Jeff Law <law@redhat.com>
20382 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20383 free. Simplify list management for _LIBC case.
20385 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20389 Clear sign bit of 64-bit integer value before comparing against
20392 * sysdeps/mach/configure: Regenerated.
20394 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20397 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20399 2012-06-21 Jeff Law <law@redhat.com>
20402 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20403 uint16_t for elements in the "seen" array to avoid char overflows.
20404 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20405 * elf/dl-open.c (dl_open_worker): Likewise.
20407 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20409 * scripts/list-sources.sh: Scan PORTS for translations.
20410 * po/libc.pot: Regenerated.
20412 2012-06-21 Andreas Jaeger <aj@suse.de>
20415 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20417 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20418 * bits/byteswap-16.h (__bswap_16): Likewise.
20419 * bits/byteswap.h (__bswap_constant_16): Likewise.
20421 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20424 * sysdeps/i386/fpu_control.h: Removed.
20425 * sysdeps/x86_64/fpu_control.h: Moved to ...
20426 * sysdeps/x86/fpu_control.h: Here.
20428 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20429 (_FPU_SETCW): Likewise.
20431 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20434 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20435 * sysdeps/x86/fpu/bits/mathinline.h: This.
20436 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20440 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20441 functions if __x86_64__ is defined.
20443 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20445 * string/endian.h: Add !__ASSEMBLER__ condition for including
20446 conversion interfaces.
20448 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20452 of ABS(x) in calculating zero to negative powers other than odd
20454 * math/libm-test.inc (pow_test): Add more tests.
20456 2012-06-15 Andreas Jaeger <aj@suse.de>
20458 * manual/contrib.texi (Contributors): Update entry of Liubov
20459 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20462 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20464 * string/string.h: Add __wur to GNU version of strerror_r.
20466 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20469 * string/Makefile (tests): Add tst-strtok_r.
20470 * string/tst-strtok_r.c: New file.
20471 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20472 RAX_LP/RDX_LP on SAVE_PTR.
20474 2012-06-14 Roland McGrath <roland@hack.frob.com>
20476 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20478 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20480 * libm_test.inc (csqrt_test): Allow more spurious underflow
20482 (j0_test): Likewise.
20483 (j1_test): Likewise.
20484 (y0_test): Likewise.
20485 (y1_test): Likewise.
20487 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20489 * po/Makefile (libc.pot): Use UTF-8 charset.
20491 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20494 Suppress sign-conversion warning from FD_SET.
20495 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20496 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20497 not unsigned long int.
20498 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20500 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20504 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20505 __extern_always_inline instead of __extern_inline.
20506 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20507 (__signbit): Likewise.
20508 (__signbitl): Support C++ namespace.
20509 (lrintf): New inline function.
20511 (llrintf): Likewise.
20512 (llrint): Likewise.
20522 (floorf): Likewise.
20523 (nearbyint): Likewise.
20524 (nearbyintf): Likewise.
20526 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20529 non-default versions.
20531 2012-06-11 Roland McGrath <roland@hack.frob.com>
20534 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20536 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20538 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20539 (FE_UPWARD, FE_DOWNWARD): Don't define.
20540 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20541 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20545 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20546 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20548 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20550 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20552 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20553 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20555 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20558 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20559 * sysdeps/i386/fpu/Implies: New file.
20560 * sysdeps/x86_64/fpu/Implies: Likewise.
20561 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20562 * sysdeps/x86/fpu/bits/fenv.h: This.
20564 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20567 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20570 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20571 character 0xffff that matches the last element of the
20574 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20579 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20582 values higher than 25.6283.
20584 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20587 subnormal exponent extraction and add some __builtin_expect.
20588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20589 Fix for subnormal mantissa calculation.
20591 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20593 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20594 cpu2 is -1 and errno is not ENOSYS.
20596 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20599 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20600 * sysdeps/x86/bits/string.h: This.
20601 * sysdeps/x86_64/bits/string.h: Removed.
20603 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20604 if not compiling for x86-64, but compiling for >= i486.
20606 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20607 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20609 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20610 New macro from Linux kernel 3.4.0.
20611 (FP_XSTATE_MAGIC2): Likewise.
20612 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20613 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20614 (struct _fpx_sw_bytes): New struct.
20615 (struct _xsave_hdr): Likewise.
20616 (struct _ymmh_state): Likewise.
20617 (struct _xstate): Likewise.
20619 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20620 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20621 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20622 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20623 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20624 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20626 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20627 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20628 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20629 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20630 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20631 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20633 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20636 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20637 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20638 (sysdep_headers): Include sys/platform/ppc.h.
20639 * sysdeps/powerpc/test-gettimebase.c: Test for
20640 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20641 * manual/Makefile (appendices): Include platform.texi.
20642 * manual/contrib.texi (Contributors): Update @node pointers.
20643 * manual/maint.texi (Maintenance): Likewise.
20644 (Platform): New node.
20645 * manual/platform.texi: New file. Document the new features.
20647 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20648 Jakub Jelinek <jakub@redhat.com>
20651 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20652 where __builtin_expect is unavailable.
20654 2012-06-03 David S. Miller <davem@davemloft.net>
20656 * stdlib/longlong.h: Updated from GCC.
20658 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20661 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20662 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20665 (GLIBC_2.16): Likewise.
20667 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20669 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20671 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20674 (default-abi): New variable.
20675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20676 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20678 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20680 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20682 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20685 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20686 definition. Document in comment.
20688 2012-06-01 David S. Miller <davem@davemloft.net>
20690 * stdlib/longlong.h: Updated from GCC.
20692 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20695 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20696 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20697 sys/debugreg.h sys/io.h here.
20698 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20699 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20701 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20702 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20703 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20704 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20705 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20706 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20708 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20709 Define only if __x86_64__ is defined.
20711 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20715 Use int64_t for variable i.
20716 * math/libm-test.inc (fmod_test): Add more tests.
20718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20719 z computation is not scheduled after fetestexcept.
20720 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20721 Use math_force_eval instead of asm to ensure calculation scheduled
20722 before exception test.
20723 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20724 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20726 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20729 computation is not scheduled after fetestexcept.
20731 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20734 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20735 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20737 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20739 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20740 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20742 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20745 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20747 (__WCHAR_MIN): Support __WORDSIZE == 64.
20748 (__WCHAR_MAX): Likewise.
20750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20751 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20754 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20755 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20758 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20759 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20761 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20762 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20764 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20765 Defined to 1 if __x86_64__ isn't defined.
20766 (_STAT_VER_LINUX_OLD): New.
20767 (st_atime): Remove duplicate.
20768 (st_mtime): Likewise.
20769 (st_ctime): Likewise.
20771 2012-05-31 David S. Miller <davem@davemloft.net>
20773 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20776 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20778 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20782 * elf/dl-reloc.c: Include <_itoa.h>.
20783 (_dl_reloc_bad_type): Remove use of INTUSE.
20784 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20785 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20786 * stdio-common/psiginfo.c (psiginfo): Likewise.
20787 * stdio-common/psignal.c (psignal): Likewise.
20788 * string/strsignal.c (strsignal): Likewise.
20789 * include/signal.h (_sys_siglist): Declare hidden proto.
20790 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20791 INTVARDEF with libc_hidden_data_def.
20792 * stdio-common/itoa-udigits.c: Likewise.
20793 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20794 (_itoa_lower_digits_internal): Remove declaration.
20795 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20796 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20797 (_sys_sigabbrev_internal): Remove aliases.
20798 (_sys_siglist): Define hidden alias.
20800 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20805 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20808 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20809 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20811 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20812 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20813 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20814 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20816 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20818 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20819 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20820 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20822 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20831 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20834 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20835 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20837 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20838 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20839 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20841 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20842 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20844 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20845 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20849 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20851 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20852 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20854 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20856 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20857 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20858 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20860 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20862 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20864 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20866 * math/math.h (M_El): Use two more decimal places.
20867 (M_LOG2El): Likewise.
20868 (M_LOG10El): Likewise.
20869 (M_LN2l): Likewise.
20870 (M_LN10l): Likewise.
20872 (M_PI_2l): Likewise.
20873 (M_PI_4l): Likewise.
20874 (M_1_PIl): Likewise.
20875 (M_2_PIl): Likewise.
20876 (M_2_SQRTPIl): Likewise.
20877 (M_SQRT2l): Likewise.
20878 (M_SQRT1_2l): Likewise.
20880 2012-05-31 David S. Miller <davem@davemloft.net>
20882 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20883 values between float registers.
20884 * sysdeps/sparc/sparc64/memset.S: Likewise.
20885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20887 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20889 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20890 -D_FORTIFY_SOURCE=1.
20891 (CPPFLAGS-tst-longjmp_chk.c): Define.
20892 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20893 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20894 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20895 CFLAGS-tst-wchar-h.c.
20897 2012-05-31 Marek Polacek <polacek@redhat.com>
20900 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20901 __endmntent_internal): Remove declaration.
20902 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20903 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20904 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20906 2012-05-30 David S. Miller <davem@davemloft.net>
20908 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20909 (___Q_simulate_exceptions): Use real FP ops rather than writing
20911 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20914 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20917 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20918 * sysdeps/x86/bits/xtitypes.h: This.
20920 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20921 * sysdeps/x86/bits/wordsize.h: This.
20923 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20924 * sysdeps/x86/bits/huge_vall.h: This.
20926 * sysdeps/i386/bits/select.h: Removed.
20927 * sysdeps/x86_64/bits/select.h: Renamed to ...
20928 * sysdeps/x86/bits/select.h: This.
20930 * sysdeps/i386/bits/setjmp.h: Removed.
20931 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20932 * sysdeps/x86/bits/setjmp.h: This.
20934 * sysdeps/i386/bits/mathdef.h: Removed.
20935 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20936 * sysdeps/x86/bits/mathdef.h: This.
20938 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20941 * include/sys/socket.h (__connect_internal)
20942 (__libc_sa_len_internal): Remove declaration.
20943 (__connect, __libc_sa_len): Declare hidden_proto.
20944 (SA_LEN): Remove use of INTUSE.
20945 * socket/connect.c: Add libc_hidden_def.
20946 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20947 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20948 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20950 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20951 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20952 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20953 of adding _internal alias.
20955 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20958 * sysdeps/i386/bits/link.h: Removed.
20959 * sysdeps/i386/bits/linkmap.h: Likewise.
20960 * sysdeps/x86_64/bits/link.h: Renamed to ...
20961 * sysdeps/x86/bits/link.h: This.
20962 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20963 * sysdeps/x86/bits/linkmap.h: This.
20965 * sysdeps/i386/bits/endian.h: Removed.
20966 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20967 * sysdeps/x86/bits/endian.h: This.
20969 * sysdeps/i386/bits/byteswap.h: Removed.
20970 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20971 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20972 * sysdeps/x86/bits/byteswap.h: This.
20973 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20974 * sysdeps/x86/bits/byteswap-16.h: This.
20975 * sysdeps/i386/Implies: Add x86.
20976 * sysdeps/x86_64/Implies: Likewise.
20978 2012-05-30 David S. Miller <davem@davemloft.net>
20980 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20981 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20982 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20983 (FP_TRAPPING_EXCEPTIONS): Define.
20984 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20985 (FP_TRAPPING_EXCEPTIONS): Define.
20986 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20987 subnormals only when inexact has been signalled or underflow
20988 exceptions are enabled.
20989 (_FP_PACK_CANONICAL): Likewise.
20991 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20995 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20997 2012-05-30 Richard Henderson <rth@twiddle.net>
20999 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21000 with #ifndef NOT_IN_libc.
21002 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21003 marked to avoid plt entry.
21005 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21008 * Makeconfig (default-abi): New macro.
21009 (abi-includes): Likewise.
21010 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21011 $(abi-$(default-abi)-lib-soname) for soname if defined.
21012 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21014 * Makefile (installed-stubs): Likewise.
21015 * include/stubs-biarch.h: Removed.
21016 * scripts/lib-names.awk: Only handle one library at a time.
21017 * scripts/soversions.awk: Remove WORDSIZE support.
21018 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21020 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21022 (syscall-list-default-condition): Likewise.
21023 (syscall-list-default-condition): Likewise.
21024 (syscall-list-includes): Likewise.
21025 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21026 syscall-list-* with abi-*. Handle undefined abi-variants.
21027 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21028 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21029 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21030 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21031 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21032 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21034 (syscall-list-32-options): Likewise.
21035 (syscall-list-32-condition): Likewise.
21036 (syscall-list-64-options): Likewise.
21037 (syscall-list-64-condition): Likewise.
21038 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21040 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21043 (abi-64-ld-soname): New macro.
21044 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21045 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21048 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21049 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21051 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21053 * sysdeps/unix/sysv/linux/kernel-features.h
21054 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21055 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21056 include <kernel-features.h>.
21057 [!__NR_ftruncate64]: Remove conditional code.
21058 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21059 [__NR_ftruncate64]: Make code unconditional.
21060 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21061 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21062 include <kernel-features.h>.
21063 [!__NR_ftruncate64]: Remove conditional code.
21064 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21065 [__NR_ftruncate64]: Make code unconditional.
21066 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21068 include <kernel-features.h>.
21069 [!__NR_ftruncate64]: Remove conditional code.
21070 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21071 [__NR_ftruncate64]: Make code unconditional.
21072 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21074 include <kernel-features.h>.
21075 [!__NR_ftruncate64]: Remove conditional code.
21076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21077 [__NR_ftruncate64]: Make code unconditional.
21078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21080 * configure.in (libc_cv_fpie): Weaken to a compile test using
21081 LIBC_TRY_CC_OPTION.
21082 * configure: Regenerated.
21084 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21099 2012-05-27 David S. Miller <davem@davemloft.net>
21101 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21103 (__Q_simulate_exceptions): Return void. Change to simulate
21104 exceptions by writing into the %fsr.
21105 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21106 (__Qp_handle_exceptions): Likewise.
21108 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21109 __Qp_handle_exceptions.
21110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21111 __Qp_handle_exceptions.
21112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21113 as unused and give dummy FP_RND_NEAREST initializer.
21114 (FP_INHIBIT_RESULTS): Define.
21115 (___Q_simulate_exceptions): Update declaration.
21116 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21119 as unused and give dummy FP_RND_NEAREST initializer.
21120 (__Qp_handle_exceptions): Update declaration.
21121 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21124 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21126 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21127 the temporary FPU control word.
21128 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21129 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21130 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21131 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21132 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21133 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21134 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21135 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21136 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21137 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21138 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21140 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21142 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21145 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21147 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21148 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21149 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21150 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21152 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21153 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21156 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21158 * po/h.po: Update from translation team.
21160 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21162 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21164 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21165 handling of denormals.
21166 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21167 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21168 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21169 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21175 2012-05-26 Marek Polacek <polacek@redhat.com>
21178 * math/libm-test.inc (fma_test): Don't always expect underflow
21181 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21184 * elf/tst-execstack.c: Include stackinfo.h.
21185 (do_test): Adjust test case to ensure that pthread_getattr_np
21186 behaviour remains the same after marking stack executable.
21188 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21190 * sysdeps/unix/sysv/linux/kernel-features.h
21191 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21192 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21194 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21195 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21196 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21198 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21199 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21201 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21203 * configure.in: Define the default includes to being none.
21204 * configure: Regenerated.
21206 2012-05-25 Roland McGrath <roland@hack.frob.com>
21208 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21209 * sysdeps/x86_64/setjmp.S: Likewise.
21210 * sysdeps/i386/bsd-setjmp.S: Likewise.
21211 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21212 * sysdeps/i386/setjmp.S: Likewise.
21213 * sysdeps/i386/__longjmp.S: Likewise.
21214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21215 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21217 * include/stap-probe.h: New file.
21218 * configure.in: Handle --enable-systemtap.
21219 * configure: Regenerated.
21220 * config.h.in (USE_STAP_PROBE): New #undef.
21221 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21222 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21223 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21225 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21229 to 2.4.0 where earlier.
21230 * sysdeps/unix/sysv/linux/configure: Regenerated.
21231 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21232 <kernel-features.h>.
21233 [__ASSUME_32BITUIDS]: Make code unconditional.
21234 [!__ASSUME_32BITUIDS]: Remove conditional code.
21235 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21236 <kernel-features.h>.
21237 [__ASSUME_32BITUIDS]: Make code unconditional.
21238 [!__ASSUME_32BITUIDS]: Remove conditional code.
21239 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21240 [__ASSUME_32BITUIDS]: Make code unconditional.
21241 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21242 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21243 <kernel-features.h>.
21244 [__ASSUME_32BITUIDS]: Make code unconditional.
21245 [!__ASSUME_32BITUIDS]: Remove conditional code.
21246 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21247 <kernel-features.h>.
21248 [__ASSUME_32BITUIDS]: Make code unconditional.
21249 [!__ASSUME_32BITUIDS]: Remove conditional code.
21250 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21251 <kernel-features.h>.
21252 [__ASSUME_32BITUIDS]: Make code unconditional.
21253 [!__ASSUME_32BITUIDS]: Remove conditional code.
21254 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21255 <kernel-features.h>.
21256 [__ASSUME_32BITUIDS]: Make code unconditional.
21257 [!__ASSUME_32BITUIDS]: Remove conditional code.
21258 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21259 <kernel-features.h>.
21260 [__ASSUME_32BITUIDS]: Make code unconditional.
21261 [!__ASSUME_32BITUIDS]: Remove conditional code.
21262 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21263 <kernel-features.h>.
21264 [__ASSUME_32BITUIDS]: Make code unconditional.
21265 [!__ASSUME_32BITUIDS]: Remove conditional code.
21266 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21267 <kernel-features.h>.
21268 [__ASSUME_32BITUIDS]: Make code unconditional.
21269 [!__ASSUME_32BITUIDS]: Remove conditional code.
21270 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21271 <kernel-features.h>.
21272 [__ASSUME_32BITUIDS]: Make code unconditional.
21273 [!__ASSUME_32BITUIDS]: Remove conditional code.
21274 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21275 <kernel-features.h>.
21276 [__ASSUME_32BITUIDS]: Make code unconditional.
21277 [!__ASSUME_32BITUIDS]: Remove conditional code.
21278 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21279 <kernel-features.h>.
21280 [__ASSUME_32BITUIDS]: Make code unconditional.
21281 [!__ASSUME_32BITUIDS]: Remove conditional code.
21282 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21283 <kernel-features.h>.
21284 [__NR_setresgid] (__setresgid): Do not declare.
21285 [__ASSUME_32BITUIDS]: Make code unconditional.
21286 [!__ASSUME_32BITUIDS]: Remove conditional code.
21287 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21288 <kernel-features.h>.
21289 [__NR_setresuid] (__setresuid): Do not declare.
21290 [__ASSUME_32BITUIDS]: Make code unconditional.
21291 [!__ASSUME_32BITUIDS]: Remove conditional code.
21292 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21293 <kernel-features.h>.
21294 [__ASSUME_32BITUIDS]: Make code unconditional.
21295 [!__ASSUME_32BITUIDS]: Remove conditional code.
21296 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21297 <kernel-features.h>.
21298 [__ASSUME_32BITUIDS]: Make code unconditional.
21299 [!__ASSUME_32BITUIDS]: Remove conditional code.
21300 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21301 <kernel-features.h>.
21302 [__ASSUME_32BITUIDS]: Make code unconditional.
21303 [!__ASSUME_32BITUIDS]: Remove conditional code.
21304 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21305 <kernel-features.h>.
21306 [__ASSUME_32BITUIDS]: Make code unconditional.
21307 [!__ASSUME_32BITUIDS]: Remove conditional code.
21308 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21309 <kernel-features.h>.
21310 [__ASSUME_32BITUIDS]: Make code unconditional.
21311 [!__ASSUME_32BITUIDS]: Remove conditional code.
21312 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21313 <kernel-features.h>.
21314 [__ASSUME_32BITUIDS]: Make code unconditional.
21315 [!__ASSUME_32BITUIDS]: Remove conditional code.
21316 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21317 <kernel-features.h>.
21318 [__ASSUME_32BITUIDS]: Make code unconditional.
21319 [!__ASSUME_32BITUIDS]: Remove conditional code.
21320 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21321 <kernel-features.h>.
21322 [__ASSUME_32BITUIDS]: Make code unconditional.
21323 [!__ASSUME_32BITUIDS]: Remove conditional code.
21324 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21325 <kernel-features.h>.
21326 [__ASSUME_32BITUIDS]: Make code unconditional.
21327 [!__ASSUME_32BITUIDS]: Remove conditional code.
21328 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21329 <kernel-features.h>.
21330 [__ASSUME_32BITUIDS]: Make code unconditional.
21331 [!__ASSUME_32BITUIDS]: Remove conditional code.
21332 * sysdeps/unix/sysv/linux/kernel-features.h
21333 (__ASSUME_SETRESUID_SYSCALL): Remove.
21334 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21335 (__ASSUME_32BITUIDS): Likewise.
21336 (__ASSUME_LDT_WORKS): Likewise.
21337 (__ASSUME_O_DIRECTORY): Likewise.
21338 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21339 architecture but not kernel version.
21340 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21341 (__ASSUME_MMAP2_SYSCALL): Likewise.
21342 (__ASSUME_STAT64_SYSCALL): Likewise.
21343 (__ASSUME_IPC64): Likewise.
21344 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21345 <kernel-features.h>.
21346 [__ASSUME_32BITUIDS]: Make code unconditional.
21347 [!__ASSUME_32BITUIDS]: Remove conditional code.
21348 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21349 <kernel-features.h>.
21350 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21351 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21352 132096]: Remove conditional code.
21353 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21354 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21355 <kernel-features.h>.
21356 [__ASSUME_32BITUIDS]: Make code unconditional.
21357 [!__ASSUME_32BITUIDS]: Remove conditional code.
21358 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21359 <kernel-features.h>.
21360 [__ASSUME_32BITUIDS]: Make code unconditional.
21361 [!__ASSUME_32BITUIDS]: Remove conditional code.
21362 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21363 <kernel-features.h>.
21364 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21366 (__setresgid): Do not declare.
21367 [__ASSUME_32BITUIDS]: Make code unconditional.
21368 [!__ASSUME_32BITUIDS]: Remove conditional code.
21369 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21370 <kernel-features.h>.
21371 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21373 (__setresuid): Do not declare.
21374 [__ASSUME_32BITUIDS]: Make code unconditional.
21375 [!__ASSUME_32BITUIDS]: Remove conditional code.
21376 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21377 <kernel-features.h>.
21378 [__ASSUME_32BITUIDS]: Make code unconditional.
21379 [!__ASSUME_32BITUIDS]: Remove conditional code.
21380 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21381 <kernel-features.h>.
21382 [__ASSUME_32BITUIDS]: Make code unconditional.
21383 [!__ASSUME_32BITUIDS]: Remove conditional code.
21385 2012-05-25 Richard Henderson <rth@twiddle.net>
21387 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21388 dl_hwcap to ifunc resolver.
21389 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21391 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21392 dl_hwcap to ifunc resolver.
21393 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21395 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21398 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21399 for |x| <= 2**-26, not 2**-57.
21400 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21403 2012-05-24 Jeff Law <law@redhat.com>
21405 * stdio-common/Makefile (tests): Add bug25.
21406 * stdio-common/bug25.c: New test.
21408 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21411 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21412 multiple of MALLOC_ALIGNMENT in size.
21413 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21415 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21417 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21419 (FILENAME_MAX): Use macro-int-constant.
21420 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21421 (_IOFBF): Use macro-int-constant.
21422 (_IOLBF): Likewise.
21423 (_IONBF): Likewise.
21424 (SEEK_CUR): Likewise.
21425 (SEEK_END): Likewise.
21426 (SEEK_SET): Likewise.
21427 (TMP_MAX): Likewise.
21428 (EOF): Use macro-int-constant. Require < 0.
21429 (NULL): Use macro-constant. Require == 0.
21430 (stdin): Require type to be FILE *.
21431 (stdout): Likewise.
21432 (stderr): Likewise.
21433 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21434 macro-int-constant.
21435 (EXIT_SUCCESS): Likewise.
21436 (NULL): Use macro-constant. Require == 0.
21437 (RAND_MAX): Use macro-int-constant.
21438 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21439 [C99-based standards] (strtof): Require function.
21440 [C99-based standards] (strtold): Likewise.
21441 [C99-based standards] (strtoll): Likewise.
21442 [C99-based standards] (strtoull): Likewise.
21443 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21444 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21445 [ISO || ISO99 || ISO11] (math.h): Likewise.
21446 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21447 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21450 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21453 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21454 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21455 * intl/dgettext.c (DCGETTEXT): Likewise.
21456 * intl/gettext.c (DCGETTEXT): Likewise.
21457 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21458 * posix/regex_internal.h (gettext): Likewise.
21459 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21460 Remove declaration.
21461 * include/argz.h (__argz_count_internal)
21462 (__argz_stringify_internal): Remove declaration.
21463 (__argz_count, __argz_stringify): Declare hidden proto.
21464 * intl/dcgettext.c: Remove use of INTDEF.
21465 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21466 * string/argz-stringify.c: Likewise.
21467 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21468 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21469 Declare hidden proto.
21470 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21471 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21472 Declare hidden proto.
21473 * include/stdio.h (__asprintf_internal): Don't declare.
21474 (__asprintf): Don't define as macro. Declare hidden proto.
21475 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21476 (__fsetlocking): Declare hidden proto.
21477 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21478 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21480 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21481 (_IO_setlinebuf): Remove use of INTUSE.
21482 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21483 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21484 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21485 Remove declaration.
21486 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21487 (_IO_do_flush): Remove use of INTUSE.
21488 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21489 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21490 (_IO_adjust_column, _IO_least_wmarker)
21491 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21492 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21493 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21494 (_IO_default_doallocate, _IO_wdefault_doallocate)
21495 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21496 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21497 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21498 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21499 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21500 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21501 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21502 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21503 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21504 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21505 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21506 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21507 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21509 (_IO_flush_all_internal, _IO_adjust_column_internal)
21510 (_IO_default_uflow_internal, _IO_default_finish_internal)
21511 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21512 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21513 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21514 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21515 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21516 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21517 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21518 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21519 (_IO_file_close_internal, _IO_file_close_it_internal)
21520 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21521 (_IO_file_init_internal, _IO_file_attach_internal)
21522 (_IO_file_fopen_internal, _IO_file_read_internal)
21523 (_IO_file_sync_internal, _IO_file_seek_internal)
21524 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21525 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21526 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21527 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21528 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21529 (_IO_list_all_internal, _IO_link_in_internal)
21530 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21531 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21532 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21533 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21534 (_IO_do_write_internal, _IO_padn_internal)
21535 (_IO_getline_info_internal, _IO_getline_internal)
21536 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21537 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21538 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21539 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21540 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21541 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21542 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21543 with libc_hidden_ver, remove use of INTUSE.
21544 * libio/genops.c: Likewise.
21545 * libio/freopen.c: Likewise.
21546 * libio/freopen64.c: Likewise.
21547 * libio/iofclose.c: Likewise.
21548 * libio/iofdopen.c: Likewise.
21549 * libio/iofflush.c: Likewise.
21550 * libio/iofflush_u.c: Likewise.
21551 * libio/iofgets.c: Likewise.
21552 * libio/iofgets_u.c: Likewise.
21553 * libio/iofopen.c: Likewise.
21554 * libio/iofopncook.c: Likewise.
21555 * libio/iofread.c: Likewise.
21556 * libio/iofread_u.c: Likewise.
21557 * libio/ioftell.c: Likewise.
21558 * libio/iofwrite.c: Likewise.
21559 * libio/iogetline.c: Likewise.
21560 * libio/iogets.c: Likewise.
21561 * libio/iogetwline.c: Likewise.
21562 * libio/iopadn.c: Likewise.
21563 * libio/iopopen.c: Likewise.
21564 * libio/ioseekoff.c: Likewise.
21565 * libio/ioseekpos.c: Likewise.
21566 * libio/iosetbuffer.c: Likewise.
21567 * libio/iosetvbuf.c: Likewise.
21568 * libio/ioungetc.c: Likewise.
21569 * libio/ioungetwc.c: Likewise.
21570 * libio/iovdprintf.c: Likewise.
21571 * libio/iovsprintf.c: Likewise.
21572 * libio/iovsscanf.c: Likewise.
21573 * libio/memstream.c: Likewise.
21574 * libio/obprintf.c: Likewise.
21575 * libio/oldfileops.c: Likewise.
21576 * libio/oldiofclose.c: Likewise.
21577 * libio/oldiofdopen.c: Likewise.
21578 * libio/oldiofopen.c: Likewise.
21579 * libio/oldiopopen.c: Likewise.
21580 * libio/oldstdfiles.c: Likewise.
21581 * libio/putc.c: Likewise.
21582 * libio/setbuf.c: Likewise.
21583 * libio/setlinebuf.c: Likewise.
21584 * libio/stdfiles.c: Likewise.
21585 * libio/strops.c: Likewise.
21586 * libio/vasprintf.c: Likewise.
21587 * libio/vscanf.c: Likewise.
21588 * libio/vsnprintf.c: Likewise.
21589 * libio/vswprintf.c: Likewise.
21590 * libio/wfiledoalloc.c: Likewise.
21591 * libio/wfileops.c: Likewise.
21592 * libio/wgenops.c: Likewise.
21593 * libio/wmemstream.c: Likewise.
21594 * libio/wstrops.c: Likewise.
21595 * libio/__fpurge.c: Likewise.
21596 * libio/__fsetlocking.c: Likewise.
21597 * assert/assert.c: Likewise.
21598 * debug/fgets_chk.c: Likewise.
21599 * debug/fgets_u_chk.c: Likewise.
21600 * debug/fread_chk.c: Likewise.
21601 * debug/fread_u_chk.c: Likewise.
21602 * debug/gets_chk.c: Likewise.
21603 * debug/obprintf_chk.c: Likewise.
21604 * debug/vasprintf_chk.c: Likewise.
21605 * debug/vdprintf_chk.c: Likewise.
21606 * debug/vsnprintf_chk.c: Likewise.
21607 * debug/vsprintf_chk.c: Likewise.
21608 * malloc/mtrace.c: Likewise.
21609 * misc/error.c: Likewise.
21610 * misc/syslog.c: Likewise.
21611 * stdio-common/asprintf.c: Likewise.
21612 * stdio-common/fxprintf.c: Likewise.
21613 * stdio-common/getw.c: Likewise.
21614 * stdio-common/isoc99_fscanf.c: Likewise.
21615 * stdio-common/isoc99_scanf.c: Likewise.
21616 * stdio-common/isoc99_vfscanf.c: Likewise.
21617 * stdio-common/isoc99_vscanf.c: Likewise.
21618 * stdio-common/isoc99_vsscanf.c: Likewise.
21619 * stdio-common/printf-prs.c: Likewise.
21620 * stdio-common/printf_fp.c: Likewise.
21621 * stdio-common/printf_fphex.c: Likewise.
21622 * stdio-common/printf_size.c: Likewise.
21623 * stdio-common/putw.c: Likewise.
21624 * stdio-common/scanf.c: Likewise.
21625 * stdio-common/sprintf.c: Likewise.
21626 * stdio-common/tmpfile.c: Likewise.
21627 * stdio-common/vfprintf.c: Likewise.
21628 * stdio-common/vfscanf.c: Likewise.
21629 * stdlib/strfmon_l.c: Likewise.
21630 * sunrpc/openchild.c: Likewise.
21631 * sunrpc/xdr_stdio.c: Likewise.
21632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21633 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21635 2012-05-24 Roland McGrath <roland@hack.frob.com>
21637 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21639 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21640 in the third column, to generate for the shared library an IFUNC
21641 that uses _dl_vdso_vsym.
21642 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21643 * Makeconfig (object-suffixes-noshared): New variable.
21645 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21646 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21647 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21648 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21651 * include/sys/time.h (__gettimeofday): Remove macro.
21652 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21653 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21655 (__gettimeofday): Add libc_hidden_def.
21656 (gettimeofday): Add libc_hidden_weak.
21657 * sysdeps/mach/gettimeofday.c: Likewise.
21658 * sysdeps/posix/gettimeofday.c: Likewise.
21659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21660 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21662 (__gettimeofday_internal): Remove strong_alias.
21663 (__gettimeofday): Add libc_hidden_def.
21664 (gettimeofday): Add libc_hidden_weak.
21665 * sysdeps/unix/syscalls.list (gettimeofday):
21666 Remove __gettimeofday_internal alias.
21668 2012-05-24 Daniel Jacobowitz <drow@false.org>
21669 H.J. Lu <hongjiu.lu@intel.com>
21672 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21673 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21674 (largebin_index_32_big): New.
21675 (largebin_index): Use it for 16-byte alignment.
21676 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21677 correction with front_misalign.
21679 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21707 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21708 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21710 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21714 * math/libm-test.inc (exp_test): Add test from bug 14036.
21715 (pow_test): Add test from bug 10846.
21717 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21719 (special_function): Do not include flags in test name.
21720 (parse_args): Likewise.
21721 * sysdeps/i386/fpu/libm-test-ulps: Update.
21722 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21723 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21724 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21727 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21729 * math/libm-test.inc ("Philosophy"): Update comment about
21731 (UNDERFLOW_EXCEPTION): New macro.
21732 (UNDERFLOW_EXCEPTION_OK): Likewise.
21733 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21734 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21735 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21736 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21737 (INVALID_EXCEPTION_OK): Update value.
21738 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21739 (OVERFLOW_EXCEPTION_OK): Likewise.
21740 (IGNORE_ZERO_INF_SIGN): Likewise.
21741 (test_exceptions): Handle underflow exceptions.
21742 (acos_test): Update for underflow exception expectations.
21743 (cexp_test): Likewise.
21744 (clog_test): Likewise.
21745 (clog10_test): Likewise.
21746 (csqrt_test): Likewise.
21747 (ctan_test): Likewise.
21748 (ctanh_test): Likewise.
21749 (exp_test): Likewise.
21750 (exp10_test): Likewise.
21751 (exp2_test): Likewise.
21752 (expm1_test): Likewise.
21753 (fma_test): Likewise.
21754 (j0_test): Likewise.
21755 (jn_test): Likewise.
21756 (nexttoward_test): Likewise.
21757 (pow_test): Likewise.
21758 (scalbn_test): Likewise.
21759 (scalbln_test): Likewise.
21760 (tan_test): Likewise.
21761 (y1_test): Likewise.
21762 * sysdeps/i386/fpu/libm-test-ulps: Update.
21763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21765 2012-05-23 David S. Miller <davem@davemloft.net>
21767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21768 (__libc_sigaction): Remove unused local variables.
21770 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21772 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21774 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21776 mktime: avoid signed integer overflow
21777 * time/mktime.c (__mktime_internal): Do not mishandle the case
21778 where diff == INT_MIN.
21780 mktime: simplify computation of average
21781 * time/mktime.c (ranged_convert): Use new time_t_avg function
21782 instead of rolling our own (probably-slower) code.
21784 mktime: do not assume signed right shift propagates sign bit
21785 * time/mktime.c (isdst_differ): New static function.
21786 (__mktime_internal): No need to normalize tm_isdst now.
21787 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21790 mktime: merge another wrapv change from gnulib
21791 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21792 from some compilers.
21794 mktime: remove incorrect attempt at unusual arithmetics
21795 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21796 The code didn't really work on such machines anyway.
21797 (TYPE_MINIMUM): Assume two's complement.
21798 (twos_complement_arithmetic): Verify that long_int and time_t
21799 are two's complement (or unsigned, in the latter case).
21801 mktime: check signed shifts on long_int and time_t, too
21802 * time/mktime.c (SHR): Check that shifts work as desired
21803 on the types long_int and time_t too, as SHR is used on
21806 mktime: do not assume 'long' is wide enough
21807 * time/mktime.c (verify): Move decl up.
21808 (long_int): New type.
21809 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21810 to remove assumption in the code that 'long' is wide enough to
21811 store year values. This assumption is not true on x32 and on
21812 some non-glibc platforms.
21814 mktime: merge wrapv change from gnulib
21815 * time/mktime.c (WRAPV): New macro.
21816 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21817 (guess_time_tm, __mktime_internal): Do not assume that signed
21818 integer overflow wraps around; modern compilers generate code
21819 where this assumption is no longer valid.
21821 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21823 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21824 Replace "jmp L(pseudo_end)" with "ret".
21825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21828 2012-05-23 Andreas Jaeger <aj@suse.de>
21830 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21831 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21833 2012-05-23 Andreas Jaeger <aj@suse.de>
21834 Maximilian Attems <max@stro.at>
21836 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21839 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21842 code so that pseudo_end is just ret and the stack pointer is
21843 correct also for static library in error case.
21845 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21847 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21848 move to syscalls.list.
21849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21854 * manual/install.texi (Running make install): Do not mention Linux
21855 kernel version for which pt_chown is not needed.
21856 (Linux): Do not mention problems with nscd with 2.0 kernels.
21857 * INSTALL: Regenerated.
21859 2012-05-23 Andreas Jaeger <aj@suse.de>
21861 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21862 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21864 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21865 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21866 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21868 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21874 * sysdeps/unix/sysv/linux/bits/in.h
21875 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21877 2012-05-22 Roland McGrath <roland@hack.frob.com>
21879 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21880 (PREPARE_VERSION): Just use assert instead, it will be elided
21881 under [NDEBUG] anyway.
21883 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21885 * sysdeps/unix/sysv/linux/Makefile: Include
21886 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21887 (sysdep_routines): Remove sysctl.
21888 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21889 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21890 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21891 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21892 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21894 2012-05-22 Andreas Jaeger <aj@suse.de>
21896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21897 that pseudo_end is just ret and the stack pointer is correct also
21898 for static library in error case.
21900 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21903 * nss/nsswitch.c (defconfig_entries): New variable.
21904 (__nss_database_lookup): Don't leak defconfig entries.
21905 (nss_parse_service_list): Don't leak on error paths.
21906 (free_database_entries): New function.
21907 (free_defconfig): New function.
21908 (free_mem): Move common code to free_database_entries.
21910 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21912 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21914 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21916 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21917 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21920 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21921 (INTERNAL_SYSCALL_TYPES): Likewise.
21922 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21923 (LOAD_REGS_TYPES_[1-6]): Likewise.
21924 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21925 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21927 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21929 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21930 copysignl for GLIBC_2_0.
21931 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21932 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21934 logbl for GLIBC_2_0.
21935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21936 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21938 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21941 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21943 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21946 * time/mktime.c: Update copyright years.
21948 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21950 mktime: merge comment-quoting-style change from gnulib
21951 * time/mktime.c: Quote 'like this' in comments.
21952 The GNU coding standards suggest that we no longer quote `like this',
21953 as "`" and "'" are typically rendered asymmetrically nowadays.
21954 The typical gnulib style is to quote 'like this' when quoting
21955 code, and "like this" when quoting English.
21957 * time/mktime.c (compile-command): Add "-I.".
21959 mktime: merge mktime-internal.h change from gnulib
21960 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21962 mktime: merge time_r change from gnulib
21963 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21965 mktime: merge DEBUG change from gnulib
21966 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21967 case system <time.h> has a #define.
21969 mktime: merge <sys/types.h> change from gnulib
21970 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21971 since <time.t> is now guaranteed to define time_t.
21973 mktime: merge HAVE_CONFIG_H change from gnulib
21974 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21976 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21983 (struct rusage): Use anonymous union to pad each field to
21986 2012-05-21 David S. Miller <davem@davemloft.net>
21988 * Makefules (o-iterator): Remove .s cases.
21989 (compile-command.s): Delete.
21990 (COMPILE.s): Delete.
21991 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21993 2012-05-21 Joseph Myers <joseph@codesourcery.com>
21995 * configure.in (libc_cv_predef_stack_protector): Only consider
21996 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21997 * configure: Regenerated.
21999 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22002 New macro. Use R*LP on int and pointer.
22003 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22004 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22005 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22006 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22008 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22009 [__WORDSIZE_TIME64_COMPAT32] instead of
22010 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22011 (struct utmp): Likewise.
22012 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22013 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22015 (__WORDSIZE_TIME64_COMPAT32): This.
22016 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22017 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22018 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22019 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22020 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22021 (__WORDSIZE_TIME64_COMPAT32): New macro.
22023 2012-05-21 Andreas Jaeger <aj@suse.de>
22025 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22026 only if [SHARED]. Add prototype for __wcschr_ia32.
22028 2012-05-21 Roland McGrath <roland@hack.frob.com>
22030 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22031 of %rbp unmolested in the jmp_buf while mangling the low bits.
22032 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22033 unmolested high bits of %rbp while demangling the low bits.
22034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22036 2012-05-21 Andreas Jaeger <aj@suse.de>
22038 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22039 * sunrpc/svc_simple.c: Use it for registerrpc.
22040 * sunrpc/xcrypt.c: Use it for passwd2des.
22042 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22044 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22046 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22047 Don't define if [__SYSCALL_WORDSIZE != 32].
22048 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22051 2012-05-21 Bruno Haible <bruno@clisp.org>
22052 Andreas Jaeger <aj@suse.de>
22054 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22055 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22056 inptr and inend for must_buffer_ch.
22057 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22058 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22059 * stdio-common/Makefile (tests): Remove bug15.
22060 (bug15-ENV): Remove macro.
22061 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22064 2012-05-19 Andreas Jaeger <aj@suse.de>
22065 Roland McGrath <roland@hack.frob.com>
22067 * manual/contrib.texi: Completely rewritten. It contains now an
22068 alphabetical list of contributors and their contributions.
22070 2012-05-21 Richard Henderson <rth@twiddle.net>
22072 * misc/getauxval.c (__getauxval): Use unsigned long int.
22073 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22074 (getauxval): Use unsigned long int.
22076 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22078 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22080 2012-05-21 Roland McGrath <roland@hack.frob.com>
22082 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22083 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22084 __alignof__ (long double).
22086 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22090 2012-05-20 Richard Henderson <rth@twiddle.net>
22092 * misc/getauxval.c: New file.
22093 * misc/sys/auxv.h: New file.
22094 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22095 (routines): Add getauxval.
22096 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22097 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22098 * elf/dl-sysdep.c (_dl_auxv): Remove.
22099 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22100 * elf/dl-support.c (_dl_auxv): New variable.
22101 (_dl_aux_init): Initialize it.
22102 * manual/startup.texi (Auxiliary Vector): New node.
22103 * sysdeps/generic/bits/hwcap.h: New file.
22104 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22105 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22106 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22107 * sysdeps/sparc/sysdep.h: ... here. Include it.
22108 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22121 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22125 2012-05-19 David S. Miller <davem@davemloft.net>
22127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22129 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22132 * math/s_ccosh.c: Include <float.h>
22133 (__ccosh): Avoid internal overflow calculating sinh and cosh
22134 values before multiplying by sin and cos values.
22135 * math/s_ccoshf.c: Likewise.
22136 * math/s_ccoshl.c: Likewise.
22137 * math/s_csin.c: Likewise.
22138 * math/s_csinf.c: Likewise.
22139 * math/s_csinl.c: Likewise.
22140 * math/s_csinh.c: Likewise.
22141 * math/s_csinhf.c: Likewise.
22142 * math/s_csinhl.c: Likewise.
22143 * math/libm-test.inc (ccos_test): Add more tests.
22144 (ccosh_test): Likewise.
22145 (csin_test): Likewise.
22146 (csinh_test): Likewise.
22147 * sysdeps/i386/fpu/libm-test-ulps: Update.
22148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22150 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22152 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22153 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22155 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22157 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22159 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22160 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22161 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22162 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22163 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22164 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22165 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22166 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22167 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22168 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22169 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22170 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22171 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22172 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22173 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22174 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22175 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22176 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22177 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22178 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22179 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22180 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22181 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22182 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22183 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22184 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22185 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22186 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22187 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22188 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22189 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22191 2012-05-18 Andreas Jaeger <aj@suse.de>
22193 * csu/.gitignore: Delete.
22195 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22197 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22198 (timex): Use __syscall_slong_t.
22200 2012-05-18 Andreas Jaeger <aj@suse.de>
22201 Carlos O'Donell <carlos_odonell@mentor.com>
22203 * manual/install.texi (Configuring and compiling): Update
22204 description about files modified in the source directory.
22205 * INSTALL: Regenerated.
22207 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22209 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22210 value. Use "or" to set return value to -1.
22211 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22212 negate return value.
22214 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22216 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22217 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22218 failure if the compiler has Graphite support disabled.
22219 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22221 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22222 CFLAGS-memmove.c): Likewise.
22223 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22226 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22228 * sysdeps/x86_64/x32/_itoa.h: New file.
22230 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22231 getdents system call only if kernel and user dirents have the
22232 same d_ino and d_off.
22234 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22235 LLONG_MAX != LONG_MAX.
22236 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22237 (_fitoa_word): Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22241 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22242 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22243 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22245 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22246 include <bits/wordsize.h>. Check __x86_64__ instead of
22248 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22249 if __x86_64__ is defined. Use anonymous union on fpstate.
22251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22254 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22256 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22257 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22258 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22259 Refer to _rtld_local_ro instead of _rtld_global_ro.
22260 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22262 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22264 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22266 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22267 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22268 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22270 * sysdeps/powerpc/powerpc32/dl-machine.c
22271 (__elf_machine_runtime_setup) [PROF]: Don't reference
22274 2012-05-18 Andreas Jaeger <aj@suse.de>
22276 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22277 function only available for GCCs before 3.4 since GCC 3.4
22278 introduced a builtin.
22280 (llrintf): Likewise.
22281 (llrint): Likewise.
22288 (nearbyint): Likewise.
22289 (nearbyintf): Likewise.
22293 (floorf): Likewise.
22295 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22297 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22298 on both fields and cast pointer to __syscall_ulong_t.
22300 * bits/types.h (__fsword_t): New type.
22301 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22302 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22304 (__FSWORD_T_TYPE): Likewise.
22305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22306 (__FSWORD_T_TYPE): Likewise.
22307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22308 (__FSWORD_T_TYPE): Likewise.
22309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22310 (__FSWORD_T_TYPE): Likewise.
22311 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22312 __SWORD_TYPE with __fsword_t.
22313 (statfs64): Likewise.
22315 2012-05-17 David S. Miller <davem@davemloft.net>
22317 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22319 2012-05-17 Andreas Jaeger <aj@suse.de>
22321 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22324 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22326 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22328 2012-05-17 Andreas Jaeger <aj@suse.de>
22330 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22333 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22335 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22337 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22339 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22340 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22342 2012-05-17 Andreas Jaeger <aj@suse.de>
22343 Carlos O'Donell <carlos_odonell@mentor.com>
22346 * sysdeps/x86_64/multiarch/init-arch.h
22347 (bit_YMM_Usable): Rename to...
22348 (bit_AVX_Usable): ... this.
22349 (bit_FMA4_Usable): New macro.
22350 (bit_XMM_state): New macro.
22351 (bit_YMM_state): New macro.
22352 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22353 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22354 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22355 (CPUID_OSXSAVE): New macro.
22356 (CPUID_AVX): New macro.
22357 (CPUID_FMA4): New macro.
22358 (index_YMM_Usable): Rename to...
22359 (index_AVX_Usable): ... this.
22360 (HAS_AVX): Use HAS_ARCH_FEATURE.
22361 (HAS_FMA4): Likewise.
22362 (HAS_YMM_USABLE): Remove.
22363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22364 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22366 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22367 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22368 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22369 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22370 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22372 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22374 * math/libm-test.c: Support platforms without multiple rounding modes.
22375 * math/bug-nextafter.c: Support platforms without FP exceptions.
22376 * math/bug-nexttoward.c: Likewise.
22377 * math/test-fenv.c: Likewise.
22378 * math/test-misc.c: Likewise.
22379 * stdlib/bug-getcontext.c: Likewise.
22381 2012-05-17 Andreas Jaeger <aj@suse.de>
22383 * manual/examples/search.c (critter_cmp): Change signature to
22385 * manual/string.texi (Collation Functions): Likewise.
22387 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22389 * bits/types.h: Fold copyright years.
22390 * bits/typesizes.h: Likewise.
22391 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22395 * time/time.h: Likewise.
22397 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22400 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22401 in instead of returning them. Return void.
22402 (__libc_mallinfo): Accumulate over all arenas.
22403 (__malloc_stats): Adjust for change in int_mallinfo interface.
22405 2012-05-16 Roland McGrath <roland@hack.frob.com>
22408 * configure.in (NM): Add AC_CHECK_TOOL for it.
22409 (libc_extra_cflags): New substituted variable.
22410 Check for -fstack-protector being used implicitly.
22411 * configure: Regenerated.
22412 * config.make.in (config-extra-cflags): New variable,
22413 gets @libc_extra_cflags@.
22414 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22417 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22418 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22419 * configure: Regenerated.
22420 * config.make.in (CPPUNDEFS): New substituted variable.
22421 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22422 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22423 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22425 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22427 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22428 (mq_attr): Use __syscall_slong_t.
22430 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22432 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22433 Check __x86_64__ instead of __WORDSIZE.
22434 (_STAT_VER_LINUX): Likewise.
22435 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22436 __syscall_ulong_t and __syscall_slong_t.
22437 (stat64): Likewise.
22439 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22441 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22443 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22445 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22447 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22449 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22452 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22453 include <bits/wordsize.h>. Check __x86_64__ instead of
22455 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22457 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22460 include <bits/wordsize.h>. Check __x86_64__ instead of
22462 (user_regs_struct): Use "__extension__ unsigned long long"
22463 instead of "unsigned long" if __x86_64__ is defined.
22464 (user): Likewise. Pad after pointer field if __ILP32__ is
22467 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22469 * configure.in (makeinfo): Require version 4.5 or later. Allow
22471 * configure: Regenerated.
22472 * manual/install.texi (texinfo): Increase version requirement to
22474 * INSTALL: Regenerated.
22476 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22480 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22482 * sysdeps/x86_64/x32/ffs.c: New file.
22484 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22486 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22487 defined. Use __syscall_ulong_t.
22488 (shminfo): Use __syscall_ulong_t.
22489 (shm_info): Likewise.
22491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22494 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22496 (msgqnum_t): Use __syscall_ulong_t.
22497 (msglen_t): Likewise.
22498 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22501 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22504 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22506 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22507 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22509 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22513 include <bits/wordsize.h>. Check __x86_64__ instead of
22516 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22517 "unsigned long long int" if __x86_64__ is defined.
22518 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22521 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22522 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22524 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22526 (GET_PC): Cast to uintptr_t first.
22527 (GET_FRAME): Likewise.
22528 (GET_STACK): Likewise.
22530 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22531 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22536 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22537 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22538 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22539 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22540 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22541 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22543 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22545 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22549 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22551 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22553 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22555 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22556 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22557 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22560 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22562 * Makerules (+depfiles): Also collect depfiles from .oS in
22564 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22565 .oS, $(libnldbl-routines)).
22567 * Makerules (native-compile-mkdep-flags): Define.
22568 * sunrpc/Makefile (extra-objs): Add $(addprefix
22569 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22570 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22571 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22572 calling $(make-target-directory).
22574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22576 * bits/types.h (__snseconds_t): Removed.
22577 * time/time.h (struct timespec): Replace __snseconds_t with
22579 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22580 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22583 (__SNSECONDS_T_TYPE): Likewise.
22584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22585 (__SNSECONDS_T_TYPE): Likewise.
22586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22587 (__SNSECONDS_T_TYPE): Likewise.
22589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22591 * sysdeps/mach/hurd/bits/typesizes.h
22592 (__SYSCALL_SLONG_TYPE): New macro.
22593 (__SYSCALL_ULONG_TYPE): Likewise.
22595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22597 * bits/types.h (__syscall_slong_t): New type.
22598 (__syscall_ulong_t): Likewise.
22600 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22601 (__SYSCALL_ULONG_TYPE): Likewise.
22602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22603 (__SYSCALL_SLONG_TYPE): Likewise.
22604 (__SYSCALL_ULONG_TYPE): Likewise.
22605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22606 (__SYSCALL_SLONG_TYPE): Likewise.
22607 (__SYSCALL_ULONG_TYPE): Likewise.
22608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22609 (__SYSCALL_SLONG_TYPE): Likewise.
22610 (__SYSCALL_ULONG_TYPE): Likewise.
22612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22614 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22615 Add sigaltstack-offsets.sym.
22616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22617 <sigaltstack-offsets.h>.
22618 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22619 longjmp_msg pointer.
22620 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22621 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22623 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22625 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22627 * elf/stackguard-macros.h: Remove file.
22628 * sysdeps/generic/stackguard-macros.h: New file.
22629 * sysdeps/i386/stackguard-macros.h: Likewise.
22630 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22631 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22632 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22633 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22634 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22635 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22636 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22637 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22638 <elf/stackguard-macros.h>.
22641 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22642 __aligned__ in attribute.
22643 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22644 (gregset_t): Likewise.
22646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22648 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22649 * sysdeps/x86_64/64/Implies-after: Here. New file.
22650 * sysdeps/x86_64/x32/Implies-after: New file.
22652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22654 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22655 and access return value for _dl_profile_fixup. Use R10_LP to
22658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22660 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22664 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22665 * sysdeps/x86_64/x32/sysdep.h: New file.
22667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22669 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22670 * sysdeps/x86_64/setjmp.S: Likewise.
22672 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22676 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22677 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22678 remove unused global constant.
22680 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22682 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22683 include of <not-cancel.h>.
22685 2012-05-15 Roland McGrath <roland@hack.frob.com>
22687 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22689 2012-05-15 Jeff Law <law@redhat.com>
22690 Andreas Jaeger <aj@suse.de>
22693 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22695 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22696 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22697 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22698 code changing __hst_map_handle.map.
22700 2012-05-15 Roland McGrath <roland@hack.frob.com>
22702 * configure.in (sysnames): Look for Implies-before and Implies-after
22704 * configure: Regenerated.
22706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22708 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22709 8-byte data alignment with LP_SIZE alignment.
22711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22713 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22718 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22722 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22723 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22724 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22726 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22730 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22731 (stackinfo_sub_sp): Likewise.
22733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22750 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22754 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22755 into R11_LP and load __x86_64_shared_cache_size_half into
22758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22760 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22763 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22772 powerpc32/power7/fpu/s_logb.c via #include.
22773 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22774 powerpc32/power7/fpu/s_logbf.c via #include.
22775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22776 powerpc32/power7/fpu/s_logbl.c via #include.
22778 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22780 * README.libm: Remove file.
22782 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22784 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22785 count for x32. Use R*_LP and omit operand-size suffix.
22787 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22789 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22790 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22791 * sysdeps/x86_64/x32/shlib-versions: New file.
22793 2012-05-14 Roland McGrath <roland@hack.frob.com>
22795 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22796 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22797 Use _dl_fatal_printf instead.
22799 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22801 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22802 set if not set by the user. Do not allow for being unset.
22803 * sysdeps/unix/sysv/linux/configure: Regenerated.
22805 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22807 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22808 the `q' suffix from lea and replace .quad with ASM_ADDR.
22810 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22813 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22815 (PTR_DEMANGLE): Likewise.
22817 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22819 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22821 (ASM_ADDR): Likewise.
22822 (RAX_LP): Likewise.
22823 (RBP_LP): Likewise.
22824 (RBX_LP): Likewise.
22825 (RCX_LP): Likewise.
22826 (RDI_LP): Likewise.
22827 (RSI_LP): Likewise.
22828 (RSP_LP): Likewise.
22831 (R10_LP): Likewise.
22832 (R10_LP): Likewise.
22833 (R11_LP): Likewise.
22834 (R12_LP): Likewise.
22835 (R13_LP): Likewise.
22836 (R14_LP): Likewise.
22837 (R15_LP): Likewise.
22839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22841 * sysdeps/x86_64/x32/dl-machine.h: New file.
22843 2012-05-14 Andreas Jaeger <aj@suse.de>
22845 * manual/Makefile (subdir): Remove export of subdir.
22846 (all): Remove target.
22847 (.PHONY): Remove all from list.
22848 (mkinstalldirs): Remove.
22849 (.PHONY): Remove installdirs from list.
22850 ($(inst_infodir)/libc.info): Use make-target-directory.
22851 (installdirs): Remove.
22852 (subdir_%): Remove.
22853 (glibc-targets): Remove.
22856 ($(objpfx)stubs ../po/manual.pot): Remove.
22857 ($(objpfx)stamp%): Remove.
22858 (make-target-directory): Remove.
22859 (subdir_install): Remove.
22860 (routines): Remove.
22867 * manual/.gitignore: Remove, it's not needed anymore.
22868 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22870 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22872 (texis): Renamed to $(objpfx)texis.
22873 (texis-path): New, contains path to generated files.
22874 (chapters.%): Use texis-path for complete path, add extra argument
22876 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22877 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22878 (summary,texi, stamp-summary): Use complete path of
22879 files. Generate files in build dir.
22880 (dir-add.texi): Build in build dir.
22881 (libm-err.texi,stamp-libm-err): Likewise.
22882 (version.texi, stamp-version): Likewise.
22883 (.%c.texi): Likewise.
22884 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22885 (mostlyclean): Remove target.
22886 (realclean): Remove target.
22887 (generated): Add new variable with contents from mostlyclean and
22888 realclean, remove entries duplicated in common-mostlyclean, add
22889 stamp-libm-err and stamp-version.
22890 (generated-dirs): Add libc directory.
22891 ($(inst_infodir)/libc.info): Install files from build dir.
22893 * manual/install.texi (Configuring and compiling): Adjust since
22894 the info files are not part of the tar ball anymore.
22896 2012-05-14 Andreas Jaeger <aj@suse.de>
22898 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22901 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22905 to 2.2.0 where earlier.
22906 * sysdeps/unix/sysv/linux/configure: Regenerated.
22907 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22908 Remove conditional code.
22909 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22910 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22911 Remove conditional code.
22912 [!__NR_lchown]: Likewise.
22913 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22914 [__NR_lchown]: Likewise.
22915 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22916 comment referencing __ASSUME_LCHOWN_SYSCALL.
22917 * sysdeps/unix/sysv/linux/i386/sigaction.c
22918 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22919 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22920 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22921 Remove conditional code.
22922 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22923 (__protocol_available): Remove #if 0 code.
22924 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22926 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22927 * sysdeps/unix/sysv/linux/kernel-features.h
22928 (__ASSUME_GETCWD_SYSCALL): Don't define.
22929 (__ASSUME_REALTIME_SIGNALS): Likewise.
22930 (__ASSUME_PREAD_SYSCALL): Likewise.
22931 (__ASSUME_PWRITE_SYSCALL): Likewise.
22932 (__ASSUME_POLL_SYSCALL): Likewise.
22933 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22934 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22936 (__ASSUME_SIOCGIFNAME): Don't define.
22937 (__ASSUME_MSG_NOSIGNAL): Likewise.
22938 (__ASSUME_SENDFILE): Define unconditionally.
22939 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22940 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22942 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22943 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22944 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22945 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22946 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22947 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22948 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22950 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22951 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22953 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22954 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22956 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22957 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22959 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22960 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22962 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22965 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22966 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22968 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22971 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22973 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22974 Remove conditional code.
22975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22976 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22977 Remove conditional code.
22978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22979 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22980 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22981 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22982 Remove conditional code.
22983 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22984 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22985 Remove conditional code.
22986 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22987 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22988 Remove conditional code.
22989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22990 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22991 Remove conditional code.
22992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22993 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22994 Remove conditional code.
22995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22996 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22999 * sysdeps/unix/sysv/linux/sigaction.c
23000 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23001 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23002 * sysdeps/unix/sysv/linux/sigpending.c
23003 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23004 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23005 * sysdeps/unix/sysv/linux/sigprocmask.c
23006 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23007 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23008 * sysdeps/unix/sysv/linux/sigsuspend.c
23009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23011 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23012 (__libc_missing_rt_sigs): Remove.
23013 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23014 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23015 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23016 Remove conditional code.
23017 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23018 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23021 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23022 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23023 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23025 2012-05-14 Andreas Jaeger <aj@suse.de>
23027 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23028 it's not used in glibc.
23029 (__coshm1): Likewise.
23030 (__acosh1p): Likewise.
23033 * manual/string.texi (Copying and Concatenation): Add missing
23034 variable in concat example.
23035 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23037 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23041 __builtin_clzl with __builtin_clzll.
23043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23046 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23049 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23051 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23052 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23053 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23054 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23056 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23058 * NEWS: Update ia64 info.
23060 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23062 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23065 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23067 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23068 * sysdeps/unix/syscalls.list (dup3): Likewise.
23069 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23070 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23072 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23074 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23075 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23077 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23079 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23081 (TLS_IE): Use mov/add instead of movq/addq to load thread
23083 (TLS_GD_PREFIX): New.
23086 2012-05-11 David S. Miller <davem@davemloft.net>
23088 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23089 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23090 (_FPU_SETCW): Likewise.
23092 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23094 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23095 is 32-byte aligned.
23097 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23100 * iconvdata/gb18030.c: Update tables.
23101 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23102 characters specially.
23103 (BODY for TO_LOOP): Add encoding of missing ranges.
23105 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23108 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23109 * sysdeps/mach/hurd/dup3.c: Likewise.
23110 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23111 * sysdeps/powerpc/memmove.c:: Likewise.
23113 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23116 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23118 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23120 * elf/elf.h (R_X86_64_RELATIVE64): New.
23121 (R_X86_64_NUM): Updated.
23122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23123 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23124 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23125 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23126 tst-quad1pie tst-quad2pie
23127 (modules-names): Add tst-quadmod1 tst-quadmod2.
23128 ($(objpfx)tst-quad1): New dependency.
23129 ($(objpfx)tst-quad2): Likewise.
23130 ($(objpfx)tst-quad1pie): Likewise.
23131 ($(objpfx)tst-quad2pie): Likewise.
23132 * sysdeps/x86_64/tst-quad1.c: New file.
23133 * sysdeps/x86_64/tst-quad1pie.c: New file.
23134 * sysdeps/x86_64/tst-quad2.c: Likewise.
23135 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23136 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23137 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23138 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23139 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23143 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23144 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23145 * streams/stropts.h (t_scalar_t): Define type.
23147 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23148 (_PATH_PRESERVE): Set to "/var/lib".
23149 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23151 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23154 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23155 if __dir_mkfile succeeded.
23157 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23158 checking for _hurd_dtablesize. Unlock it right after having
23159 finished _hurd_dtable allocation.
23161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23163 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23164 * sysdeps/mach/hurd/configure: Regenerated.
23165 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23166 special-casing to...
23167 * sysdeps/gnu/configure.in: ... this new file.
23168 * sysdeps/unix/sysv/linux/configure: Regenerated.
23169 * sysdeps/gnu/configure: New generated file.
23171 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23172 for Linux: use nsec instead of usec, as well as:
23173 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23174 members of type struct timespec.
23175 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23177 (struct stat64): Likewise.
23178 (_STATBUF_ST_NSEC): New macro.
23179 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23181 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23182 __strtoul_internal rather than strtoul.
23184 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23186 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23189 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23191 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23192 which preserves existing values.
23193 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23195 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23197 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23198 TIMEOUT values. Return EINVAL for NFDS values either negative or
23199 greater than FD_SETSIZE.
23201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23203 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23204 allocated, call __vm_protect to finish enabling the existing space, and
23205 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23206 allocate the remainder.
23208 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23210 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23211 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23213 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23215 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23216 sysdeps/mach/hurd/readlink.c.
23218 * posix/tst-sysconf.c (posix_options): Only use
23219 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23220 _POSIX_SYNCHRONIZED_IO when they are defined
23221 * sysdeps/mach/hurd/bits/posix_opt.h:
23222 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23223 (_XOPEN_REALTIME): Undefine macro.
23224 (_XOPEN_REALTIME_THREADS): Undefine macro.
23225 (_XOPEN_SHM): Undefine macro.
23226 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23228 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23230 (_POSIX_ASYNC_IO): Undefine macro.
23231 (_POSIX_PRIORITIZED_IO): Undefine macro.
23232 (_POSIX_SPIN_LOCKS): Define macro to -1.
23234 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23235 SA_NODEFER, SA_RESETHAND.
23236 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23237 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23242 * elf/Makefile (pldd-modules): Define unconditionally.
23244 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23246 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23250 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23251 Return ENOENT when name is empty.
23252 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23254 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23256 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23258 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23262 Fix mlock in all cases except non-readable pages.
23263 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23264 instead of VM_PROT_ALL as parameter to __vm_wire function.
23266 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23267 (__mkdir): When path is `/', just fail with EEXIST.
23268 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23270 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23272 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23273 <sys/uio.h> (for writev).
23274 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23275 and <sys/param.h> (for MIN).
23277 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23279 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23280 REQUESTED_TIME. Properly set the remaining time and return EINTR
23283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23285 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23286 Depend on against $(link-rpcuserlibs).
23288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23290 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23291 (__libc_stack_end): Do not use attribute_relro.
23292 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23293 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23294 to libthread-provided value.
23295 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23298 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23301 * bits/libc-lock.h (__libc_once_get): New macro.
23302 * sysdeps/mach/bits/libc-lock.h: Likewise.
23303 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23305 instead of using implementation details.
23307 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23308 * libio/freopen.c: Likewise.
23309 * libio/freopen64.c: Likewise.
23310 * misc/syslog.c: Likewise.
23311 * nscd/connections.c: Likewise.
23312 * nscd/netgroupcache.c: Likewise.
23313 * sysdeps/posix/getcwd.c: Likewise.
23315 2012-05-10 Roland McGrath <roland@hack.frob.com>
23317 * math/w_ilogbf.c: Add #include <limits.h>.
23319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23321 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23322 path instead of returning without unlocking.
23324 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23325 immediate-write ioctls.
23326 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23330 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23331 __builtin_frame_address instead of making assumptions about the
23332 location of the return address relative to DATA. Force early load of
23333 the return address.
23334 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23335 __builtin_frame_address.
23338 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23339 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23340 implement dup3 and do some further code clean-ups.
23341 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23342 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23346 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23348 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23349 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23350 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23351 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23352 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23355 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23356 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23357 when handler == SIG_ERR, not when handler != SIG_ERR.
23359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23361 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23362 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23365 accept4 for GNU Hurd.
23366 * include/sys/socket.h (__libc_accept4): New prototype.
23367 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23368 to implement __libc_accept4.
23369 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23371 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23373 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23374 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23375 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23376 signal-defines.sym.
23378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23380 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23384 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23385 assertion on O_CLOEXEC flag.
23386 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23387 * hurd/intern-fd.c: Likewise.
23388 * hurd/port2fd.c: Likewise.
23390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23393 * bits/in.h (IPV6_PKTINFO): Define new macro.
23394 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23396 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23401 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23403 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23404 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23407 * math/libm-test.inc (logb_test) : Additional logb tests.
23409 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23410 Andreas Jaeger <aj@suse.de>
23412 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23413 * configure: Regenerated.
23414 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23415 * config.make.in (link-obsolete-rpc): New substituted variable.
23416 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23417 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23418 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23419 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23420 so that libc.a contains the symbols.
23421 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23422 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23423 * sunrpc/auth_none.c: Likewise.
23424 * sunrpc/auth_unix.c: Likewise.
23425 * sunrpc/authdes_prot.c: Likewise.
23426 * sunrpc/authuxprot.c: Likewise.
23427 * sunrpc/clnt_gen.c: Likewise.
23428 * sunrpc/clnt_perr.c: Likewise.
23429 * sunrpc/clnt_raw.c: Likewise.
23430 * sunrpc/clnt_simp.c: Likewise.
23431 * sunrpc/clnt_tcp.c: Likewise.
23432 * sunrpc/clnt_udp.c: Likewise.
23433 * sunrpc/clnt_unix.c: Likewise.
23434 * sunrpc/des_crypt.c: Likewise.
23435 * sunrpc/des_soft.c: Likewise.
23436 * sunrpc/get_myaddr.c: Likewise.
23437 * sunrpc/key_call.c: Likewise.
23438 * sunrpc/key_prot.c: Likewise.
23439 * sunrpc/netname.c: Likewise.
23440 * sunrpc/pm_getmaps.c: Likewise.
23441 * sunrpc/pm_getport.c: Likewise.
23442 * sunrpc/pmap_clnt.c: Likewise.
23443 * sunrpc/pmap_prot.c: Likewise.
23444 * sunrpc/pmap_prot2.c: Likewise.
23445 * sunrpc/pmap_rmt.c: Likewise.
23446 * sunrpc/publickey.c: Likewise.
23447 * sunrpc/rpc_cmsg.c: Likewise.
23448 * sunrpc/rpc_common.c: Likewise.
23449 * sunrpc/rpc_dtable.c: Likewise.
23450 * sunrpc/rpc_prot.c: Likewise.
23451 * sunrpc/rpc_thread.c: Likewise.
23452 * sunrpc/rtime.c: Likewise.
23453 * sunrpc/svc.c: Likewise.
23454 * sunrpc/svc_auth.c: Likewise.
23455 * sunrpc/svc_raw.c: Likewise.
23456 * sunrpc/svc_run.c: Likewise.
23457 * sunrpc/svc_tcp.c: Likewise.
23458 * sunrpc/svc_udp.c: Likewise.
23459 * sunrpc/svc_unix.c: Likewise.
23460 * sunrpc/svcauth_des.c: Likewise.
23461 * sunrpc/xcrypt.c: Likewise.
23462 * sunrpc/xdr.c: Likewise.
23463 * sunrpc/xdr_array.c: Likewise.
23464 * sunrpc/xdr_float.c: Likewise.
23465 * sunrpc/xdr_intXX_t.c: Likewise.
23466 * sunrpc/xdr_mem.c: Likewise.
23467 * sunrpc/xdr_rec.c: Likewise.
23468 * sunrpc/xdr_ref.c: Likewise.
23469 * sunrpc/xdr_sizeof.c: Likewise.
23470 * sunrpc/xdr_stdio.c: Likewise.
23472 2012-05-10 Roland McGrath <roland@hack.frob.com>
23474 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23475 change. Update copyright years.
23477 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23479 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23481 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23482 Joseph Myers <joseph@codesourcery.com>
23483 Paul Pluzhnikov <ppluzhnikov@google.com>
23486 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23488 [cross-compiling] (extra-libs): Likewise.
23489 [cross-compiling] (extra-libs-others): Likewise.
23490 [cross-compiling] (librpcsvc-routines): Likewise.
23491 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23492 [cross-compiling] (omit-deps): Likewise.
23493 (sunrpc-CPPFLAGS): New variable.
23494 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23495 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23496 (cross-rpcgen-objs): New variable.
23497 (extra-objs): Append $(cross-rpcgen-objs).
23498 ($(cross-rpcgen-objs)): New rule.
23499 ($(objpfx)cross-rpcgen): Likewise.
23500 (rpcgen-cmd): Define to use $(built-program-file). Expand
23502 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23503 ($(objpfx)x%.stmp): Likewise.
23504 * sunrpc/proto.h [IS_IN_build] (_): Define.
23505 [IS_IN_build] (_libc_intl_domainname): Likewise.
23507 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23510 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23511 and R_X86_64_TPOFF64.
23513 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23515 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23516 sysdeps/unix/sysv/syscalls.list.
23519 * sysdeps/unix/sysv/syscalls.list: Remove file.
23521 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23524 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23525 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23526 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23527 (__LC_IDENTIFICATION): Make these macros useful in #if
23528 expressions, as required by C99.
23530 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23532 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23533 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23536 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23538 * stdlib/longlong.h: Updated from GCC.
23540 2012-05-09 Andreas Jaeger <aj@suse.de>
23542 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23543 default is first entry.
23544 (run_mode): Set type.
23545 (main): Remove informal message about syslog.
23546 (options): Fix typo.
23549 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23552 (llrintf): Likewise.
23553 (llrint): Likewise.
23556 (nearbyint): Likewise.
23557 (nearbyintf): Likewise.
23559 2012-05-09 Andreas Jaeger <aj@suse.de>
23560 Pedro Alves <palves@redhat.com>
23562 * nscd/nscd.c (run_mode): Use enum.
23563 (main): Cleanup coding style issue.
23565 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23566 Andreas Jaeger <aj@suse.de>
23568 * nscd/nscd.c (go_background): Replaced with...
23569 (run_mode): ... this.
23570 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23571 (options): Add -F --foreground.
23572 (main): Implement it.
23573 (parse_opt): Parse it.
23575 2012-05-09 Andreas Jaeger <aj@suse.de>
23578 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23579 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23580 -Wconversion warning.
23581 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23584 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23586 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23588 (LC_ALL): Use macro-int-constant.
23589 (LC_COLLATE): Likewise.
23590 (LC_CTYPE): Likewise.
23591 (LC_MESSAGES): Likewise.
23592 (LC_MONETARY): Likewise.
23593 (LC_NUMERIC): Likewise.
23594 (LC_TIME): Likewise.
23595 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23596 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23598 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23600 [C99-based standards] (float_t): Expect type.
23601 [C99-based standards] (double_t): Expect type.
23602 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23604 [C99-based standards] (HUGE_VALL): Likewise.
23605 [C99-based standards] (INFINITY): Likewise.
23606 [C99-based standards] (NAN): Likewise.
23607 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23608 [C99-based standards] (FP_NAN): Likewise.
23609 [C99-based standards] (FP_NORMAL): Likewise.
23610 [C99-based standards] (FP_SUBNORMAL): Likewise.
23611 [C99-based standards] (FP_ZERO): Likewise.
23612 [C99-based standards] (FP_FAST_FMA): Use
23613 optional-macro-int-constant. Specify type. Require == 1.
23614 [C99-based standards] (FP_FAST_FMAF): Likewise.
23615 [C99-based standards] (FP_FAST_FMAL): Likewise.
23616 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23617 [C99-based standards] (FP_ILOGBNAN): Likewise.
23618 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23620 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23621 [C99-based standards] (math_errhandling): Specify type.
23622 [ISO99 || ISO11] (signgam): Do not allow.
23623 [non-C99-based standards] (copysignf): Do not allow.
23624 [non-C99-based standards] (exp2f): Likewise.
23625 [non-C99-based standards] (log2f): Likewise.
23626 [non-C99-based standards] (modff): Allow.
23627 [non-C99-based standards] (erff): Do not allow.
23628 [non-C99-based standards] (erfcf): Likewise.
23629 [non-C99-based standards] (gammaf): Likewise.
23630 [non-C99-based standards] (hypotf): Likewise.
23631 [non-C99-based standards] (j0f): Likewise.
23632 [non-C99-based standards] (j1f): Likewise.
23633 [non-C99-based standards] (jnf): Likewise.
23634 [non-C99-based standards] (lgammaf): Likewise.
23635 [non-C99-based standards] (tgammaf): Likewise.
23636 [non-C99-based standards] (y0f): Likewise.
23637 [non-C99-based standards] (y1f): Likewise.
23638 [non-C99-based standards] (ynf): Likewise.
23639 [non-C99-based standards] (isnanf): Likewise.
23640 [non-C99-based standards] (acoshf): Likewise.
23641 [non-C99-based standards] (asinhf): Likewise.
23642 [non-C99-based standards] (atanhf): Likewise.
23643 [non-C99-based standards] (cbrtf): Likewise.
23644 [non-C99-based standards] (expm1f): Likewise.
23645 [non-C99-based standards] (ilogbf): Likewise.
23646 [non-C99-based standards] (log1pf): Likewise.
23647 [non-C99-based standards] (logbf): Likewise.
23648 [non-C99-based standards] (nextafterf): Likewise.
23649 [non-C99-based standards] (remainderf): Likewise.
23650 [non-C99-based standards] (rintf): Likewise.
23651 [non-C99-based standards] (scalbf): Likewise.
23652 [non-C99-based standards] (copysignl): Likewise.
23653 [non-C99-based standards] (exp2l): Likewise.
23654 [non-C99-based standards] (log2l): Likewise.
23655 [non-C99-based standards] (modfl): Allow.
23656 [non-C99-based standards] (erfl): Do not allow.
23657 [non-C99-based standards] (erfcl): Likewise.
23658 [non-C99-based standards] (gammal): Likewise.
23659 [non-C99-based standards] (hypotl): Likewise.
23660 [non-C99-based standards] (j0l): Likewise.
23661 [non-C99-based standards] (j1l): Likewise.
23662 [non-C99-based standards] (jnl): Likewise.
23663 [non-C99-based standards] (lgammal): Likewise.
23664 [non-C99-based standards] (tgammal): Likewise.
23665 [non-C99-based standards] (y0l): Likewise.
23666 [non-C99-based standards] (y1l): Likewise.
23667 [non-C99-based standards] (ynl): Likewise.
23668 [non-C99-based standards] (isnanl): Likewise.
23669 [non-C99-based standards] (acoshl): Likewise.
23670 [non-C99-based standards] (asinhl): Likewise.
23671 [non-C99-based standards] (atanhl): Likewise.
23672 [non-C99-based standards] (cbrtl): Likewise.
23673 [non-C99-based standards] (expm1l): Likewise.
23674 [non-C99-based standards] (ilogbl): Likewise.
23675 [non-C99-based standards] (log1pl): Likewise.
23676 [non-C99-based standards] (logbl): Likewise.
23677 [non-C99-based standards] (nextafterl): Likewise.
23678 [non-C99-based standards] (remainderl): Likewise.
23679 [non-C99-based standards] (rintl): Likewise.
23680 [non-C99-based standards] (scalbl): Likewise.
23681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23682 [non-C99-based standards] (FP_*): Do not allow.
23683 [C99-based standards] (FP_*): Change to
23684 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23685 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23687 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23688 (SIG_ERR): Likewise.
23689 [X/Open-based standards] (SIG_HOLD): Likewise.
23690 (SIG_IGN): Likewise.
23691 (SIGABRT): Use macro-int-constant. Specify type. Require
23693 (SIGFPE): Likewise.
23694 (SIGILL): Likewise.
23695 (SIGINT): Likewise.
23696 (SIGSEGV): Likewise.
23697 (SIGTER): Likewise.
23698 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23699 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23700 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23701 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23702 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23703 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23704 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23705 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23706 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23707 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23708 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23709 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23710 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23711 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23712 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23713 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23714 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23715 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23716 [X/Open-based standards] (SIGTRAP): Likewise.
23717 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23718 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23719 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23720 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23721 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23724 2012-05-08 Ian Wienand <ianw@vmware.com>
23727 * time/tzset.c (__tzset_parse_tz): Update default rules for
23728 daylight time changes in the Energy Policy Act of 2005.
23730 2012-05-09 Andreas Jaeger <aj@suse.de>
23733 * elf/ldconfig.c (parse_conf): Change string to make clear that
23734 ldconfig only issued a warning if ld.so.conf does not exist.
23736 2012-05-08 David S. Miller <davem@davemloft.net>
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23739 movxtod instead of popping the value on the stack.
23741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23743 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23745 * config.h.in: Add HAVE_ARM_PCS_VFP.
23747 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
23750 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23751 checking but the checks are disabled for any reason.
23753 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23755 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23756 and ELF64_R_TYPE with ELFW(R_TYPE).
23758 2012-05-08 Joseph Myers <joseph@codesourcery.com>
23760 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23761 (ulimit): Likewise.
23763 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23764 (settimeofday): Likewise.
23766 2012-05-08 Mike Frysinger <vapier@gentoo.org>
23768 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23769 a struct th_u2 inside the union, and move tu_block/tu_code into
23770 a new th_u3 union of tu_block/tu_code inside of that. Move
23771 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23772 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23773 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23774 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23775 (th_stuff): Change to th_u1.tu_stuff.
23777 (th_msg): Change to th_u1.th_u2.tu_data.
23779 2012-05-07 David S. Miller <davem@davemloft.net>
23781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23784 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23785 (SETUP_PIC_REG): Use it.
23786 (SETUP_PIC_REG_LEAF): Use it.
23788 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23792 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23794 (EXPL_FINITE): Likewise.
23795 (FLDLOG): Likewise.
23796 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23797 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23799 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23801 (EXPL_FINITE): Likewise.
23802 (FLDLOG): Likewise.
23803 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23804 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23806 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23807 test of -max_value argument for long double.
23808 * sysdeps/i386/fpu/libm-test-ulps: Update.
23809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23811 2012-05-06 David S. Miller <davem@davemloft.net>
23813 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23814 quad soft-float symbols whose references which are compiler
23816 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23818 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23822 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23824 (EXPL_FINITE): Likewise.
23825 (FLDLOG): Likewise.
23828 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23829 Adjust comments for base varying.
23830 (__expl_finite): Change alias to EXPL_FINITE.
23831 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23833 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23834 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23836 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23837 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23839 (EXPL_FINITE): Likewise.
23840 (FLDLOG): Likewise.
23843 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23844 Adjust comments for base varying.
23845 (__expl_finite): Change alias to EXPL_FINITE.
23846 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23851 * math/libm-test.inc (check_float_internal): Correct ulp
23852 calculation for subnormal expected results.
23854 2012-05-06 Andreas Jaeger <aj@suse.de>
23856 * Makeconfig (+math-flags): New, set to -frounding-math.
23857 (+cflags): Add +math-flags so that all of glibc gets compiled with
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23862 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23864 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23870 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23871 (__ieee754_expl): Allow for and saturate large arguments.
23872 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23873 (u_threshold): Likewise.
23874 (__exp): Call __ieee754_exp before checking for overflow and
23876 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23877 (u_threshold): Likewise.
23878 (__expf): Call __ieee754_expf before checking for overflow and
23880 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23881 (u_threshold): Likewise.
23882 (__expl): Call __ieee754_expl before checking for overflow and
23884 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23885 (__ieee754_expl): Allow for and saturate large arguments.
23886 * math/libm-test.inc (exp_test): Add another test. Do not allow
23887 missing overflow exception on overflow.
23888 (expm1_test): Do not allow missing overflow exception on overflow.
23890 * sysdeps/i386/fpu/e_expl.c: Move to ...
23891 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23892 rather than using inline asm.
23893 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23894 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23895 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23897 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23900 (signal): Likewise.
23904 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23906 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23907 sysdeps/unix/common/syscalls.list.
23908 (fchmod): Likewise.
23909 (fchown): Likewise.
23910 (ftruncate): Likewise.
23911 (getrusage): Likewise.
23912 (gettimeofday): Likewise.
23913 (setpgid): Likewise.
23914 (setregid): Likewise.
23915 (setreuid): Likewise.
23916 (sigaction): Likewise.
23917 (truncate): Likewise.
23918 (vhangup): Likewise.
23919 * sysdeps/unix/common/syscalls.list: Remove file.
23920 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23921 * sysdeps/unix/sysv/linux/Implies: Likewise.
23923 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23925 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23927 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23931 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23934 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23937 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23940 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23943 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23946 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23949 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23953 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23957 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23960 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23964 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23968 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23970 * sysdeps/unix/common/bits/dirent.h: Remove file.
23971 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23973 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23974 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23975 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23976 * sysdeps/unix/bsd/isatty.c: Likewise.
23977 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23978 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23979 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23981 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23984 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23985 long double comparison inaccuracies.
23986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23989 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23991 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23994 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23998 nonzero digits before rounding a hex value.
23999 * stdlib/tst-strtod.c (tests): Add another test.
24001 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24003 * sysdeps/s390/fpu/libm-test-ulps: Update.
24005 2012-05-03 Andreas Jaeger <aj@suse.de>
24007 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24008 does not get optimized out.
24009 (malloc_opt_barrier): New.
24011 2012-05-03 Andreas Jaeger <aj@suse.de>
24012 Roland McGrath <roland@hack.frob.com>
24014 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24015 intermediate file deletion.
24016 (generated): Add .symlist files.
24018 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24021 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24022 Redirect under this condition.
24023 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24024 [__USE_GNU] (__dprintf_chk): Not under this condition.
24025 [__USE_GNU] (__vdprintf_chk): Likewise.
24026 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24027 under this condition.
24028 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24029 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24030 [__USE_XOPEN2K8] (vdprintf): Likewise.
24031 [__USE_GNU] (__dprintf_chk): Not under this condition.
24032 [__USE_GNU] (__vdprintf_chk): Likewise.
24033 [__USE_GNU] (dprintf): Likewise.
24034 [__USE_GNU] (vdprintf): Likewise.
24036 2012-05-03 Roland McGrath <roland@hack.frob.com>
24038 * elf/Makefile (common-generated): Set this instead of generated for
24039 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24040 $(all-built-dso)-derived lists.
24042 2012-05-03 Andreas Jaeger <aj@suse.de>
24044 * sysdeps/i386/fpu/libm-test-ulps: Update.
24047 * FAQ.in: Likewise.
24048 * scripts/gen-FAQ.pl: Likewise.
24049 * manual/install.texi (Installation): Point to online location of
24051 * Makefile (files-for-dist): Remove FAQ.
24054 2012-05-02 Allan McRae <allan@archlinux.org>
24056 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24057 (LDFLAGS-reldepmod5.so): Likewise.
24058 (LDFLAGS-reldep6mod1.so): Likewise.
24059 (LDFLAGS-reldep6mod4.so): Likewise.
24060 (LDFLAGS-reldep8mod3.so): Likewise.
24061 (LDFLAGS-unload4mod1.so): Likewise.
24062 (LDFLAGS-unload4mod2.so): Likewise.
24063 (LDFLAGS-tst-initorder): Likewise.
24064 (LDFLAGS-tst-initordera2.so): Likewise.
24065 (LDFLAGS-tst-initordera3.so): Likewise.
24066 (LDFLAGS-tst-initordera4.so): Likewise.
24067 (LDFLAGS-tst-initorderb2.so): Likewise.
24068 (LDFLAGS-noload): Likewise.
24069 (LDFLAGS-next): Likewise.
24070 (LDFLAGS-order2mod1.so): Likewise.
24071 (LDFLAGS-order2mod2.so): Likewise.
24072 (LDFLAGS-tst-initorder2): Likewise.
24073 (LDFLAGS-tst-initorder2a.so): Likewise.
24074 (LDFLAGS-tst-initorder2b.so): Likewise.
24075 (LDFLAGS-tst-initorder2c.so): Likewise.
24076 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24078 2012-05-02 David S. Miller <davem@davemloft.net>
24080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24082 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24085 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24087 2012-05-02 Andreas Jaeger <aj@suse.de>
24089 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24090 since we manipulate rounding mode.
24091 (CPPFLAGS-test-idouble.c): Likewise.
24092 (CPPFLAGS-test-ifloat.c): Likewise.
24093 (CFLAGS-test-ldouble.c): Likewise.
24094 (CFLAGS-test-double.c): Likewise.
24095 (CFLAGS-test-float.c): Likewise.
24096 (CFLAGS-test-misc.c): Likewise.
24097 (CFLAGS-test-test-fenv.c): Likewise.
24099 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24103 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24104 comparisons to determine direction to adjust input.
24106 2012-05-01 Roland McGrath <roland@hack.frob.com>
24108 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24109 output to the target.
24111 * scripts/localplt.awk: New file.
24112 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24113 (check-localplt-CFLAGS): Variable removed.
24114 ($(all-built-dso:=.jmprel)): New static pattern rule.
24115 (generated): Add those targets.
24116 (localplt-built-dso): New variable.
24117 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24119 * elf/check-localplt.c: File removed.
24121 * scripts/check-execstack.awk: New file.
24122 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24123 (check-execstack-CFLAGS): Variable removed.
24124 ($(objpfx)check-execstack.h): Target removed.
24125 ($(objpfx)execstack-default): New target.
24126 (generated): Add that instead of check-execstack.h.
24127 ($(all-built-dso:=.phdr)): New static pattern rule.
24128 (generated): Add those targets.
24129 * elf/check-execstack.c: File removed.
24131 * scripts/check-textrel.awk: New file.
24132 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24133 (check-textrel-CFLAGS): Variable removed.
24134 (all-built-dso): Use := to define.o
24135 ($(all-built-dso:=.dyn)): New static pattern rule.
24136 (generated): Add those targets.
24137 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24138 * config.make.in (READELF): New substituted variable.
24139 * elf/check-textrel.c: File removed.
24141 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24143 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24145 * conform/data/ctype.h-data [C99-based standards] (isblank):
24147 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24148 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24150 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24151 Specify type. Require positive value.
24152 (EILSEQ): Likewise.
24153 (ERANGE): Likewise.
24154 [ISO || POSIX] (EILSEQ): Do not expect.
24155 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24156 Specify type. Require positive value.
24157 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24184 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24185 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24186 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24187 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24188 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24189 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24190 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24191 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24192 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24193 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24194 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24195 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24196 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24197 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24198 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24199 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24200 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24201 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24202 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24203 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24204 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24205 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24206 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24207 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24208 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24209 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24210 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24211 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24212 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24213 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24214 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24215 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24216 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24217 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24218 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24219 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24220 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24221 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24222 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24223 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24224 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24225 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24226 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24227 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24228 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24229 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24230 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24231 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24232 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24233 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24235 (FLT_ROUNDS): Expect as macro, not constant.
24236 (FLT_MANT_DIG): Use macro-int-constant.
24237 (DBL_MANT_DIG): Likewise.
24238 (LDBL_MANT_DIG): Likewise.
24239 (FLT_DIG): Likewise.
24240 (DBL_DIG): Likewise.
24241 (LDBL_DIG): Likewise.
24242 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24243 (DBL_MIN_EXP): Likewise.
24244 (LDBL_MIN_EXP): Likewise.
24245 (FLT_MAX_EXP): Use macro-int-constant.
24246 (DBL_MAX_EXP): Likewise.
24247 (LDBL_MAX_EXP): Likewise.
24248 (FLT_MAX_10_EXP): Likewise.
24249 (DBL_MAX_10_EXP): Likewise.
24250 (LDBL_MAX_10_EXP): Likewise.
24251 (FLT_MAX): Use macro-constant.
24252 (DBL_MAX): Likewise.
24253 (LDBL_MAX): Likewise.
24254 (FLT_EPSILON): Use macro-constant. Give upper bound.
24255 (DBL_EPSILON): Likewise.
24256 (LDBL_EPSILON): Likewise.
24257 (FLT_MIN): Likewise.
24258 (DBL_MIN): Likewise.
24259 (LDBL_MIN): Likewise.
24260 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24261 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24262 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24263 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24264 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24265 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24266 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24267 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24268 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24269 [ISO11] (FLT_TRUE_MIN): Likewise.
24270 [ISO11] (LDBL_TRUE_MIN): Likewise.
24271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24272 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24273 (SCHAR_MIN): Use macro-int-constant. Specify type.
24274 (SCHAR_MAX): Likewise.
24275 (UCHAR_MAX): Likewise.
24276 (CHAR_MIN): Likewise.
24277 (CHAR_MAX): Likewise.
24278 (MB_LEN_MAX): Use macro-int-constant.
24279 (SHRT_MIN): Use macro-int-constant. Specify type.
24280 (SHRT_MAX): Likewise.
24281 (USHRT_MAX): Likewise.
24282 (INT_MAX): Likewise.
24283 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24285 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24287 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24289 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24290 bound negative. Suffix upper bound with "L".
24291 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24293 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24295 [C99-based standards] (LLONG_MAX): Likewise.
24296 [C99-based standards] (ULLONG_MAX): Likewise.
24297 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24299 [ISO11] (max_align_t): Require type.
24300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24302 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24303 from $CFLAGS, without defining away __attribute__ calls.
24304 (checknamespace): Use $CFLAGS_namespace.
24306 * conform/conformtest.pl (@keywords): Only include C99 keywords
24307 for standards based on C99 or C11.
24309 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24311 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24314 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24315 usability of symbols in #if.
24317 * conform/conformtest.pl: If macro or constant types start
24318 "promoted:", expect the symbol to be of the following type
24319 promoted by the integer promotions.
24321 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24322 in one place. Also handle "macro-constant".
24324 * conform/conformtest.pl: Only accept expected macro values with
24325 "==". Parse all "macro" lines in one place.
24326 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24328 * conform/conformtest.pl: Handle braced types on "constant" lines
24329 instead of handling "typed-constant".
24330 * conform/data/signal.h-data: Use "constant" instead of
24333 * conform/conformtest.pl: Handle "optional-" at start of lines in
24334 one place rather than duplicating several cases. Handle each
24335 format of "macro" line with initial "optional-".
24337 * conform/conformtest.pl: Only accept expected constant or
24338 optional-constant values with "==". Parse all "constant" lines in
24339 one place. Parse all "optional-constant" lines in one place.
24340 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24341 * conform/data/fmtmsg.h-data: Likewise.
24342 * conform/data/netinet/in.h-data: Likewise.
24343 * conform/data/tar.h-data: Likewise.
24344 * conform/data/limits.h-data: Use "==" form on "constant" and
24345 "optional-constant" lines.
24347 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24348 Use -std=c99 for XOPEN2K.
24349 (@knownproblems): Remove.
24350 (newtoken): Don't check %isknown.
24352 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24353 Do not expect macro.
24354 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24355 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24356 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24357 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24358 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24359 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24360 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24361 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24362 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24363 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24364 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24365 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24366 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24367 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24368 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24369 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24370 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24371 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24372 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24373 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24374 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24375 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24376 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24378 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24379 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24380 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24381 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24382 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24383 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24384 [XPG3] (acosh): Likewise.
24385 [XPG3] (asinh): Likewise.
24386 [XPG3] (atanh): Likewise.
24387 [XPG3] (cbrt): Likewise.
24388 [XPG3] (expm1): Likewise.
24389 [XPG3] (ilogb): Likewise.
24390 [XPG3] (log1p): Likewise.
24391 [XPG3] (logb): Likewise.
24392 [XPG3] (nextafter): Likewise.
24393 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24394 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24395 [XPG3] (remainder): Likewise.
24396 [XPG3] (rint): Likewise.
24397 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24398 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24399 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24400 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24401 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24402 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24403 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24404 [UNIX98 || XOPEN2K] (scalb): Expect.
24405 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24406 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24407 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24408 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24409 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24410 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24411 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24412 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24413 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24414 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24415 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24416 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24417 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24418 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24419 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24420 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24421 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24422 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24423 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24424 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24425 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24426 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24427 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24428 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24429 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24430 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24431 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24432 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24433 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24434 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24435 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24436 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24437 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24438 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24439 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24440 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24441 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24442 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24443 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24444 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24445 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24446 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24447 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24448 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24449 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24450 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24451 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24452 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24453 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24454 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24455 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24456 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24457 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24458 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24459 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24460 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24461 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24462 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24463 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24464 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24465 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24466 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24467 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24468 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24469 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24470 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24471 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24472 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24473 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24474 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24475 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24476 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24477 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24478 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24479 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24480 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24481 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24482 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24483 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24484 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24485 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24486 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24487 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24488 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24489 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24490 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24491 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24492 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24493 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24494 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24495 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24496 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24497 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24498 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24499 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24500 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24501 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24502 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24503 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24504 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24505 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24506 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24507 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24508 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24509 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24510 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24511 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24512 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24513 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24514 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24515 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24516 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24517 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24518 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24519 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24520 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24521 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24522 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24523 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24524 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24525 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24526 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24527 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24528 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24529 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24530 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24531 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24532 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24533 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24534 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24535 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24536 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24537 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24538 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24539 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24540 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24541 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24543 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24544 _XOPEN_SOURCE_EXTENDED for XPG4.
24546 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24548 * Makeconfig (localtime): Remove variable.
24549 (inst_localtime-file): Likewise.
24551 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24572 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24576 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24577 comparisons to determine direction to adjust input.
24578 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24579 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24586 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24589 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24591 * math/libm-test.inc (nexttoward_test): Add more tests.
24593 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24596 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24597 in version GLIBC_2.1, not GLIBC_2.0.
24598 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24601 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24604 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24606 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24607 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24608 * math/libm-test.inc (acos_test): Add more tests.
24609 (asin_test): Likewise.
24610 * sysdeps/i386/fpu/libm-test-ulps: Update.
24611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24614 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24616 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24617 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24618 * math/libm-test.inc (acos_test_tonearest): New function.
24619 (acos_test_towardzero): Likewise.
24620 (acos_test_downward): Likewise.
24621 (acos_test_upward): Likewise.
24622 (asin_test_tonearest): Likewise.
24623 (asin_test_towardzero): Likewise.
24624 (asin_test_downward): Likewise.
24625 (asin_test_upward): Likewise.
24626 (main): Call the new functions.
24627 * sysdeps/i386/fpu/libm-test-ulps: Update.
24628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24632 * math/e_exp10.c: Include <float.h>.
24633 (__ieee754_exp10): Handle underflow here rather than multiplying
24634 large negative argument by M_LN10.
24635 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24637 * math/e_exp10l.c: Include <float.h>.
24638 (__ieee754_exp10l): Handle underflow here rather than multiplying
24639 large negative argument by M_LN10l.
24640 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24641 spurious overflow exception on underflow.
24643 2012-04-29 Marek Polacek <polacek@redhat.com>
24645 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24646 (__fortify_function): New macro.
24647 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24648 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24649 __extern_always_inline.
24650 * libio/bits/stdio2.h: Likewise.
24651 * libio/bits/stdio.h: Likewise.
24652 * string/string.h: Likewise.
24653 * string/bits/string3.h: Likewise.
24654 * include/stdio.h: Likewise.
24655 * stdlib/bits/stdlib.h: Likewise.
24656 * stdlib/stdlib.h: Likewise.
24657 * rt/bits/mqueue2.h: Likewise.
24658 * rt/mqueue.h: Likewise.
24659 * posix/bits/unistd.h: Likewise.
24660 * posix/unistd.h: Likewise.
24661 * io/bits/poll2.h: Likewise.
24662 * io/bits/fcntl2.h: Likewise.
24663 * io/fcntl.h: Likewise.
24664 * io/sys/poll.h: Likewise.
24665 * misc/bits/syslog.h: Likewise.
24666 * misc/bits/syslog-ldbl.h: Likewise.
24667 * misc/sys/syslog.h: Likewise.
24668 * socket/bits/socket2.h: Likewise.
24669 * socket/sys/socket.h: Likewise.
24670 * debug/tst-chk1.c: Likewise.
24671 * wcsmbs/bits/wchar2.h: Likewise.
24672 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24673 * wcsmbs/wchar.h: Likewise.
24675 2012-04-29 Andreas Jaeger <aj@suse.de>
24677 * Makerules (tests): Remove enable-check-abi protection.
24678 (check-abi-warn): Remove.
24679 (check-abi-%): Remove check-abi-warn usage.
24681 * configure.in: Remove check-abi configure option.
24682 * configure: Regenerated.
24683 * config.make.in (enable-check-abi): Remove.
24685 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24688 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24689 double functions to double *_finite functions.
24692 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24693 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24695 * stdio-common/Makefile (tests): Add tst-sprintf3.
24696 * stdio-common/tst-sprintf3.c: New file.
24698 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24699 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24701 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24703 * conform/conformtest.pl: Remove duplicate typed-constant
24706 2012-04-28 David S. Miller <davem@davemloft.net>
24708 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24709 (check-abi-%): Remove AWK script prerequisite and explicit
24711 (check-abi): Rewrite to just diff the symlist with the abilist.
24712 (config-tls, config-abi-config): Delete, no longer used.
24713 (update-abi-%): Remove AWK script and explicit abilist directory.
24714 (update-abi): Rewrite to simply compare and conditionally copy the
24715 symlist and the sysdep abilist file. Remove update-abi-config
24717 * abilist/ld.abilist: Remove.
24718 * abilist/libBrokenLocale.abilist: Remove.
24719 * abilist/libanl.abilist: Remove.
24720 * abilist/libcrypt.abilist: Remove.
24721 * abilist/libdl.abilist: Remove.
24722 * abilist/librt.abilist: Remove.
24723 * abilist/libthread_db.abilist: Remove.
24724 * abilist/libutil.abilist: Remove.
24725 * scripts/extract-abilist.awk: Remove.
24726 * scripts/merge-abilist.awk: Remove.
24727 * sysdeps/generic/libcidn.abilist: New file.
24728 * sysdeps/generic/libnss_compat.abilist: New file.
24729 * sysdeps/generic/libnss_db.abilist: New file.
24730 * sysdeps/generic/libnss_dns.abilist: New file.
24731 * sysdeps/generic/libnss_files.abilist: New file.
24732 * sysdeps/generic/libnss_hesiod.abilist: New file.
24733 * sysdeps/generic/libnss_nis.abilist: New file.
24734 * sysdeps/generic/libnss_nisplus.abilist: New file.
24735 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24736 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24737 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24739 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24740 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24741 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24742 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24743 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24744 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24745 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24746 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24747 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24749 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24750 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24752 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24755 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24756 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24757 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24758 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24759 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24761 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24762 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24763 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24765 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24868 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24869 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24870 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24873 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24874 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24875 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24876 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24877 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24878 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24879 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24880 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24933 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24935 * conform/conformtest.pl: Fix typo in handling typed-constant from
24938 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24940 * README: Cut down references to pre-2.6 Linux kernels and
24941 Linuxthreads. Update lists of configurations in libc and ports
24942 and sort alphabetically. Say "or newer" with Linux kernel version
24945 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24947 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24950 * math/libm-test.inc (logb_test_downward): New test to expose
24951 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24954 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24957 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24959 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24960 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24962 2012-04-26 Joseph Myers <joseph@codesourcery.com>
24964 * sysdeps/unix/i386/brk.S: Remove file.
24965 * sysdeps/unix/i386/dl-brk.S: Likewise.
24966 * sysdeps/unix/i386/pipe.S: Likewise.
24967 * sysdeps/unix/i386/sigreturn.S: Likewise.
24968 * sysdeps/unix/i386/syscall.S: Likewise.
24969 * sysdeps/unix/i386/vfork.S: Likewise.
24970 * sysdeps/unix/i386/wait.S: Likewise.
24972 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24973 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24975 * configure.in (arm*-none*): Do not allow without
24976 --enable-hacker-mode.
24977 (netbsd*): Remove case setting base_os.
24978 (386bsd*): Likewise.
24979 (freebsd*): Likewise.
24982 (sunos*): Likewise.
24983 (ultrix*): Likewise.
24984 (newsos*): Likewise.
24985 (dynix*): Likewise.
24991 (minix*): Likewise.
24992 (irix4*): Likewise.
24993 (irix6*): Likewise.
24994 (solaris[2-9]*): Likewise.
24996 * configure: Regenerated.
24998 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25001 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25002 overflow or cancellation in calculating denominator.
25003 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25005 down expression to avoid unexpected rounding in newer GCCs.
25006 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25008 2012-04-26 David S. Miller <davem@davemloft.net>
25010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25011 long-double compat symbols.
25012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25026 2012-04-25 David S. Miller <davem@davemloft.net>
25028 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25029 HWCAP_* values only after the memory barriers have been defined.
25030 (atomic_full_barrier): Define.
25031 (atomic_read_barrier): Define.
25032 (atomic_write_barrier): Define.
25034 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25036 * shlib-versions: Add libgcc_s version information.
25037 * sysdeps/generic/libgcc_s.h: Remove.
25038 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25040 * sysdeps/gnu/unwind-resume.c: Likewise.
25041 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25043 2012-04-25 David S. Miller <davem@davemloft.net>
25045 * sysdeps/unix/sparc/brk.S: Delete.
25046 * sysdeps/unix/sparc/dl-brk.S: Delete.
25047 * sysdeps/unix/sparc/pipe.S: Delete.
25048 * sysdeps/unix/sparc/sysdep.S: Delete.
25049 * sysdeps/unix/sparc/sysdep.h: Delete.
25050 * sysdeps/unix/sparc/vfork.S: Delete.
25051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25052 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25054 ret_ERRVAL, r0, r1, MOVE): Define.
25055 (JUMPTARGET): Remove.
25056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25057 sysdeps/unix/sparc/sysdep.h
25058 (ENTRY, END): Remove.
25059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25061 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25063 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25064 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25067 * timezone/README: Update upstream location and email address for
25069 * timezone/zdump.c: Update from tzcode 2012b.
25070 * timezone/zic.c: Likewise.
25072 * configure.in (libc_cv_as_needed): Remove test.
25073 * configure: Regenerated.
25074 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25075 conditional definition.
25076 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25077 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25078 * config.make.in (have-as-needed): Remove variable.
25080 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25081 Paul Pluzhnikov <ppluzhnikov@google.com>
25083 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25086 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25088 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25089 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25090 * sysdeps/sh/strlen.S: Likewise.
25092 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25094 * sysdeps/unix/fork.S: Remove file.
25095 * sysdeps/unix/i386/fork.S: Likewise.
25096 * sysdeps/unix/sparc/fork.S: Likewise.
25098 * sysdeps/unix/system.c: Remove file.
25099 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25101 * sysdeps/unix/getegid.S: Remove file.
25102 * sysdeps/unix/geteuid.S: Likewise.
25104 2012-04-24 Roland McGrath <roland@hack.frob.com>
25106 * scripts/check-localplt.awk: New file.
25107 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25109 * scripts/data/localplt-generic.data: Add a comment.
25111 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25112 NODE when __dir_mkfile failed.
25113 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25114 Reported by Ludovic Courtès <ludo@gnu.org>.
25116 2012-04-24 Andreas Jaeger <aj@suse.de>
25118 * Makerules (common-clean): Also remove gen-as-const-headers
25121 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25123 * Makerules (native-compile): Do not change working directory for
25124 build. Use $(OUTPUT_OPTION) in command.
25125 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25127 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25130 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25131 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25132 * math/libm-test.inc (floor_test): Add more tests.
25133 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25135 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25137 * sysdeps/unix/getdents.c: Remove file.
25138 * sysdeps/unix/sysv/getdents.c: Likewise.
25139 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25141 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25142 sysdeps/unix/mman/syscalls.list.
25144 (mprotect): Likewise.
25146 (munmap): Likewise.
25147 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25148 * sysdeps/unix/mman/syscalls.list: Remove.
25149 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25151 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25152 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25153 * configure: Regenerated.
25154 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25155 $(libgcc_s_suffix).
25156 * config.make.in (libgcc_s_suffix): Remove variable.
25158 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25160 * sysdeps/unix/sysv/gethostname.c: Move to ...
25161 * sysdeps/posix/gethostname.c: ... here.
25163 * sysdeps/unix/execve.S: Remove file.
25165 * sysdeps/unix/_exit.S: Remove file.
25167 2012-04-23 Andreas Jaeger <aj@suse.de>
25170 * manual/Makefile: Remove make dist support, there's no
25171 need for a stand-alone documentation tar ball.
25172 (TEXI2DVI): Define always, it's not in Makeconfig.
25175 (edition): Removed.
25176 (glibc-doc-$(edition).tar): Removed
25180 (ETAGS): Remove, it's in Makeconfig.
25181 (move-if-change): Remove, it's in Makeconfig.
25183 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25186 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25187 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25188 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25189 (strtod_l, strtof_l, strtold_l): Remove __wur.
25190 It is not necessarily an error to ignore strtol's return value.
25191 One can reliably look at the stored endptr to decide whether
25192 the number had valid syntax.
25194 2012-04-21 Andreas Jaeger <aj@suse.de>
25197 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25199 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25201 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25202 * sysdeps/unix/sysv/Versions: Remove file.
25204 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25209 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25213 version from __vm86.
25215 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25217 * sysdeps/unix/common/lxstat.c: Remove file.
25218 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25220 * sysdeps/unix/sysv/Makefile: Remove file.
25222 * sysdeps/unix/sysv/direct.h: Remove file.
25224 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25225 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25226 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25227 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25228 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25229 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25230 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25232 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25234 * sysdeps/unix/xmknod.c: Remove file.
25235 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25237 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25239 * sysdeps/unix/sysv/i386/time.S: Remove file.
25241 * sysdeps/unix/fxstat.c: Remove file.
25242 * sysdeps/unix/xstat.c: Likewise.
25243 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25245 * sysdeps/unix/sysv/sigaction.c: Remove file.
25247 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25248 (sysdep_headers): Remove variable.
25249 [termio.h not in sysdep_headers] (generated): Likewise.
25250 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25251 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25252 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25253 * sysdeps/unix/sysv/tcflow.c: Likewise.
25254 * sysdeps/unix/sysv/tcflush.c: Likewise.
25255 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25256 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25257 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25258 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25259 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25261 * sysdeps/unix/siglist.c: Remove file.
25263 * sysdeps/unix/getppid.S: Remove file.
25265 * sysdeps/unix/mkdir.c: Remove file.
25266 * sysdeps/unix/rmdir.c: Likewise.
25268 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25270 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25272 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25273 errlist-compat value.
25275 2012-04-18 David S. Miller <davem@davemloft.net>
25277 * sysdeps/generic/memcopy.h (reg_char): Delete.
25278 * debug/strcat_chk.c: Use char, not reg_char.
25279 * debug/strcpy_chk.c: Likewise.
25280 * debug/strncat_chk.c: Likewise.
25281 * debug/strncpy_chk.c: Likewise.
25282 * string/memchr.c: Likewise.
25283 * string/memrchr.c: Likewise.
25284 * string/rawmemchr.c: Likewise.
25285 * string/strcat.c: Likewise.
25286 * string/strchr.c: Likewise.
25287 * string/strchrnul.c: Likewise.
25288 * string/strcmp.c: Likewise.
25289 * string/strcpy.c: Likewise.
25290 * string/strncat.c: Likewise.
25291 * string/strncmp.c: Likewise.
25292 * string/strncpy.c: Likewise.
25294 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25296 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25297 __builtin_memcopy is called when src and dest ranges are known to not
25300 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25302 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25303 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25304 fwd_align_merge macro call.
25305 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25306 bwd_align_merge macro call.
25307 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25309 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25311 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25312 bwd_align_merge macros.
25313 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25314 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25315 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25317 2012-04-18 David S. Miller <davem@davemloft.net>
25319 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25321 2012-04-18 Andreas Jaeger <aj@suse.de>
25324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25325 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25326 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25328 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25329 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25330 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25332 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25333 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25334 Adjust for changed ldbl-128 files.
25336 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25337 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25338 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25340 2012-04-17 David S. Miller <davem@davemloft.net>
25342 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25344 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25346 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25347 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25348 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25349 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25350 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25351 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25353 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25356 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25357 * math/libm-test.inc: Add ilogb errno and exception tests.
25358 * math/w_ilogb.c: New file: ilogb wrapper.
25359 * math/w_ilogbf.c: New file: ilogbf wrapper.
25360 * math/w_ilogbl.c: New file: ilogbl wrapper.
25361 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25362 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25363 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25364 exception being thrown with 0.0 as argument.
25365 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25366 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25367 exception being thrown with 0.0 as argument.
25368 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25369 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25370 exception being thrown with 0.0 as argument.
25371 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25372 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25373 exception being thrown with 0.0 as argument.
25374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25375 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25376 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25377 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25378 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25379 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25380 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25381 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25382 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25384 2012-04-17 Petr Baudis <pasky@ucw.cz>
25386 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25389 2012-04-16 Marek Polacek <polacek@redhat.com>
25391 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25393 2012-04-16 Marek Polacek <polacek@redhat.com>
25395 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25396 operands of fdivp instruction.
25398 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25400 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25401 * elf/tst-auditmod3b.c: Likewise.
25402 * elf/tst-auditmod4b.c: Likewise.
25403 * elf/tst-auditmod5b.c: Likewise.
25404 * elf/tst-auditmod6b.c: Likewise.
25405 * elf/tst-auditmod6c.c: Likewise.
25406 * elf/tst-auditmod7b.c: Likewise.
25407 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25408 * sysdeps/x86_64/preconfigure.in: Likewise.
25409 * sysdeps/x86_64/preconfigure: Regenerated.
25411 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25413 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25416 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25419 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25421 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25424 * locale/iso-639.def: Fix gl language name. Spotted by
25427 2012-04-12 Roland McGrath <roland@hack.frob.com>
25430 * libio/libio.h (__io_write_fn): Update comment.
25432 2012-04-12 Petr Baudis <pasky@ucw.cz>
25435 * stdio.texi (Hook Functions): The user provided writer function
25436 is not allowed to return -1.
25438 2012-04-11 David S. Miller <davem@davemloft.net>
25440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25442 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25444 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25445 Add a leading slash to rtkaio.
25447 2012-04-11 Jim Meyering <meyering@redhat.com>
25450 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25451 It is not necessarily an error to ignore fwrite's return
25452 value. One can reliably use ferror to test for errors after
25455 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25457 * bits/types.h (__snseconds_t): New type.
25458 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25460 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25461 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25462 (__SNSECONDS_T_TYPE): Likewise.
25463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25464 (__SNSECONDS_T_TYPE): Likewise.
25465 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25466 (__SNSECONDS_T_TYPE): Likewise.
25468 2012-04-10 Andreas Jaeger <aj@suse.de>
25471 * manual/time.texi (Processor Time): Return type of times is
25472 elapsed real time since an arbitrary point in the past.
25473 (CPU Time): Move CLK_TCK from here...
25474 (Processor Time): ...to here. Correct description.
25475 * manual/conf.texi (Constants for Sysconf): Correct description of
25478 2012-04-10 David S. Miller <davem@davemloft.net>
25481 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25482 where the is a gap between DT_REL(A) and DT_JMPREL.
25484 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25486 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25487 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25488 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25490 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25492 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25493 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25494 (dl_main): Handle --inhibit-cache.
25495 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25497 * elf/dl-load.c (_dl_map_object): Use it.
25498 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25500 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25503 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25504 (__ieee754_powl): Saturate large exponents rather than testing for
25505 overflow of y*log2(x).
25506 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25507 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25511 * math/s_ctan.c: Include <float.h>.
25512 (__ctan): Avoid internal overflow or cancellation in calculating
25514 * math/s_ctanf.c: Likewise.
25515 * math/s_ctanl.c: Likewise.
25516 * math/s_ctanh.c: Likewise.
25517 * math/s_ctanhf.c: Likewise.
25518 * math/s_ctanhl.c: Likewise.
25519 * math/libm-test.inc (ctan_test): Add more tests.
25520 (ctanh_test): Likewise.
25521 * sysdeps/i386/fpu/libm-test-ulps: Update.
25522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25524 2012-04-09 Andreas Jaeger <aj@suse.de>
25527 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25528 is an optional BSD extension.
25531 * manual/stdio.texi (Opening Streams): Document additional fopen
25534 2012-04-09 Roland McGrath <roland@hack.frob.com>
25536 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25537 %eax without telling the compiler.
25539 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25542 * manual/install.texi: Use sourceware.org.
25544 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25547 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25548 (__ieee754_pow): Generate overflow and underflow using huge*huge
25549 and tiny*tiny rather than just returning constant infinity or zero
25550 for large exponents.
25551 * math/libm-test.inc (pow_test): Require overflow exceptions for
25552 applicable cases of large exponents.
25555 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25556 (__ieee754_pow): Use iterative multiplication algorithm only for
25557 integer exponents with absolute value below 1024. Check for odd
25558 integer exponents when using algorithm for real exponents.
25559 * math/libm-test.inc (pow_test): Add more tests.
25560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25562 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25565 * math/libm-test.inc (exp_test): Do not allow overflow exception
25568 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25571 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25572 instead of __kernel_standard_f.
25574 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25576 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25577 * sysdeps/x86_64/memset_chk.S: Likewise.
25579 2012-04-08 Andreas Jaeger <aj@suse.de>
25582 * manual/startup.texi (Environment Access): Describe return value
25583 for putenv and setenv.
25586 * manual/filesys.texi (Directory Entries): Add description for
25590 * manual/filesys.texi (Directory Entries): Clarify that it's file
25591 system not operating system in the description of DT_UNKNOWN.
25594 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25596 2012-04-08 Stephen Compall <s11@member.fsf.org>
25599 * manual/llio.texi (Opening and Closing Files): Add cross
25600 reference to explain mode argument.
25602 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25604 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25605 * sysdeps/x86_64/memset_chk.S: Likewise.
25607 2012-04-07 David S. Miller <davem@davemloft.net>
25609 * elf/elf.h (R_SPARC_WDISP10): Define.
25610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25613 R_SPARC_SIZE64 and R_SPARC_H34.
25615 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25618 conditions and remove no longer applicable assertion.
25620 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25622 * bits/byteswap.h: Include <features.h>.
25623 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25624 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25626 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25628 * bits/byteswap.h (__bswap_16): Removed.
25629 Include <bits/byteswap-16.h> to get __bswap_16.
25630 * sysdeps/i386/bits/byteswap.h: Likewise.
25631 * sysdeps/s390/bits/byteswap.h: Likewise.
25632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25633 * bits/byteswap-16.h: New file.
25634 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25635 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25636 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25637 * string/Makefile (headers): Add bits/byteswap-16.h.
25639 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25642 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25644 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25645 * nss/tst-nss-static.c: New.
25647 2012-04-06 Robert Millan <rmh@gnu.org>
25650 * manual/llio.texi (File Position Primitive): lseek
25651 refers to WHENCE when it really means OFFSET.
25653 2012-04-06 Andreas Jaeger <aj@suse.de>
25655 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25656 strncmp declarations.
25658 * abilist/libc.abilist: Add __poll and __ppoll.
25660 2012-04-05 David S. Miller <davem@davemloft.net>
25662 * scripts/check-local-headers.sh: Accept a host triplet in the
25663 path matched by the exclude regexp.
25665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25667 * sysdeps/powerpc/powerpc32/dl-machine.h
25668 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25669 * sysdeps/s390/s390-32/dl-machine.h
25670 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25671 * sysdeps/sparc/sparc32/dl-machine.h
25672 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25673 * sysdeps/sparc/sparc64/dl-machine.h
25674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25676 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25678 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25679 undefined symbol errors.
25681 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25684 2012-04-05 Michael Matz <matz@suse.de>
25687 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25689 2012-04-05 Andreas Jaeger <aj@suse.de>
25692 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25695 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25697 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25698 which ROUND is no valid rounding mode.
25700 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25702 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25704 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25706 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25708 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25709 an exception using FPU order intentionally.
25711 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25713 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25714 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25715 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25716 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25718 2012-04-05 Simon Josefsson <simon@josefsson.org>
25721 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25722 EINVAL when BUFLEN is too smal.
25724 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25727 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25728 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25730 2012-04-03 Andreas Jaeger <aj@suse.de>
25733 * manual/setjmp.texi (System V contexts): Fix sentence.
25736 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25737 New macro for this case.
25738 [!__GNUC__] (__bswap_64): New inline function for this case.
25739 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25740 * bits/byteswap.h: Likewise.
25741 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25742 ull, guard with __GLIBC_HAVE_LONG_LONG.
25744 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25745 __GLIBC_HAVE_LONG_LONG.
25747 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25748 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25750 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25753 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25754 inptr and inend, rather than using last_ch.
25756 2012-04-02 David S. Miller <davem@davemloft.net>
25758 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25759 * stdio-common/printf-parse.h (read_int): Change return type to
25760 'int', return -1 on INT_MAX overflow.
25761 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25762 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25763 overflows INT_MAX. Check for overflow of in-format-string precision
25764 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25765 SIZE_MAX not INT_MAX for integer overflow test.
25766 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25767 skip the construct in the format string but do not record anything.
25768 * stdio-common/bug22.c: Adjust to test both width/prevision
25769 INT_MAX overflow as well as total length INT_MAX overflow. Check
25770 explicitly for proper errno values.
25772 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25774 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25776 * string/test-strcmp.c [! WIDE]: Likewise.
25777 * time/tst-mktime2.c: Likewise for INT_MAX.
25778 * string/test-string.h: #include <sys/param.h> for MIN.
25780 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25781 * sysdeps/i386/init-first.c (init): Likewise.
25782 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25783 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25784 * sysdeps/sh/init-first.c (init): Likewise.
25786 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25788 * po/ru.po: Update from translation team.
25789 * po/vi.po: Likewise.
25791 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25793 * resolv/nss_dns/dns-host.c: Merge copyright years.
25795 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25797 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25798 Optimize memcpy with prefetch if
25799 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25800 src, dst pointers have unequal 16 byte alignments.
25802 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25805 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25806 from a CNAME entry and return the minimum ttl for the query.
25807 (gaih_getanswer_slice): Likewise.
25809 2012-03-30 Jeff Law <law@redhat.com>
25811 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25813 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25814 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25816 * resolv/nss_dns/dns-host.c: Update copyright year.
25818 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25820 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25821 requests to save a system call. Fix check that all bytes are sent.
25823 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25824 comments for sendmmsg.
25826 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25829 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25830 with only 1 character between 0x0041 and 0x01b0.
25831 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25832 * wcsmbs/tst-mbsnrtowcs.c: New file.
25834 2012-03-29 David S. Miller <davem@davemloft.net>
25836 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25837 small copies by hand.
25839 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25842 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25843 _nss_compat_initgroups_dyn): Fall back to malloc/free
25844 for large group memberships.
25846 2012-03-28 David S. Miller <davem@davemloft.net>
25848 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25849 that branches into memcpy.
25850 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25853 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25856 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25857 implementation too.
25858 * sysdeps/sparc/mempcpy.S: New file.
25860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25861 the IFUNC routine in the libc case.
25862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25864 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25865 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25866 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25867 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25868 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25869 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25870 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25871 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25873 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25874 loop to 256 bytes instead of 64 bytes and fix test signedness.
25876 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25877 * sysdeps/sparc/sparc32/Makefile: rather than here...
25878 * sysdeps/sparc/sparc64/Makefile: and here.
25880 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25882 * malloc/mallocbug.c: Avoid warnings about unused variables.
25884 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25887 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25888 in the right place. Discard and retry query if response is
25889 larger than input buffer size.
25891 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25896 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25897 x for large integer exponent.
25898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25899 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25900 sign of result as needed afterwards.
25901 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25902 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25903 result for underflowing pow the same as for overflow.
25904 (__kernel_standard_l): Handle powl overflow and underflow here
25905 rather than calling __kernel_standard.
25906 * math/libm-test.inc (pow_test): Add more tests.
25921 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25922 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25923 (__kernel_standard_l): New function.
25924 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25926 * math/w_acosl.c (__acosl): Likewise.
25927 * math/w_asinl.c (__asinl): Likewise.
25928 * math/w_atan2l.c (__atan2l): Likewise.
25929 * math/w_atanhl.c (__atanhl): Likewise.
25930 * math/w_coshl.c (__coshl): Likewise.
25931 * math/w_exp10l.c (__exp10l): Likewise.
25932 * math/w_exp2l.c (__exp2l): Likewise.
25933 * math/w_fmodl.c (__fmodl): Likewise.
25934 * math/w_hypotl.c (__hypotl): Likewise.
25935 * math/w_j0l.c (__j0l, __y0l): Likewise.
25936 * math/w_j1l.c (__j1l, __y1l): Likewise.
25937 * math/w_jnl.c (__jnl, __ynl): Likewise.
25938 * math/w_lgammal.c (__lgammal): Likewise.
25939 * math/w_log10l.c (__log10l): Likewise.
25940 * math/w_log2l.c (__log2l): Likewise.
25941 * math/w_logl.c (__logl): Likewise.
25942 * math/w_powl.c (__powl): Likewise.
25943 * math/w_remainderl.c (__remainderl): Likewise.
25944 * math/w_scalbl.c (sysv_scalbl): Likewise.
25945 * math/w_sinhl.c (__sinhl): Likewise.
25946 * math/w_sqrtl.c (__sqrtl): Likewise.
25947 * math/w_tgammal.c (__tgammal): Likewise.
25948 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25949 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25950 * math/libm-test.inc (acos_test): Add more tests.
25951 (acosh_test): Likewise.
25952 (asin_test): Likewise.
25953 (atanh_test): Likewise.
25954 (exp_test): Likewise.
25955 (exp10_test): Likewise.
25956 (exp2_test): Likewise.
25957 (expm1_test): Likewise.
25958 (lgamma_test): Likewise.
25959 (log_test): Likewise.
25960 (log10_test): Likewise.
25961 (log1p_test): Likewise.
25962 (log2_test): Likewise.
25963 (pow_test): Do not allow some spurious overflow exceptions.
25964 (sqrt_test): Add more tests.
25965 (tgamma_test): Likewise.
25966 (y0_test): Likewise.
25967 (y1_test): Likewise.
25968 (yn_test): Likewise.
25970 2012-03-27 Anton Blanchard <anton@samba.org>
25972 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25974 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25975 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25976 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25978 2012-03-27 David S. Miller <davem@davemloft.net>
25980 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25982 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25983 have-as-vis3 check.
25985 2012-03-27 Andreas Jaeger <aj@suse.de>
25987 * sysdeps/x86_64/elf/configure.in: Moved to ...
25988 * sysdeps/x86_64/configure.in: ... here.
25989 * sysdeps/x86_64/elf/start.S: Moved to ...
25990 * sysdeps/x86_64/start.S: ... here.
25991 * sysdeps/x86_64/elf/configure: Delete.
25993 * sysdeps/x86_64/configure.in: Merge contents from
25994 sysdeps/i386/configure.in (without i686 check).
25996 * sysdeps/i386/elf/Versions: Merge into ...
25997 * sysdeps/i386/Versions: ... this.
25998 * sysdeps/i386/elf/Versions: Delete file.
25999 * sysdeps/i386/elf/start.S: Moved to ...
26000 * sysdeps/i386/start.S: ...here.
26001 * sysdeps/i386/elf/configure.in: Merge into...
26002 * sysdeps/i386/configure.in: ...here.
26003 * sysdeps/i386/elf/configure.in: Delete file.
26004 * sysdeps/i386/elf/configure: Delete file.
26006 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26007 * debug/backtracesyms.c: ... here.
26008 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26009 * debug/backtracesymsfd.c: ... here.
26010 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26011 * sysdeps/generic/ifunc-sel.h: ... here.
26013 * sysdeps/unix/i386/start.c: Delete file.
26014 * sysdeps/unix/sparc/start.c: Delete file.
26015 * sysdeps/unix/start.c: Delete file.
26017 * sysdeps/sh/elf/configure.in: Moved to ...
26018 * sysdeps/sh/configure.in: ... here.
26019 * sysdeps/sh/elf/start.S: Moved to ...
26020 * sysdeps/sh/start.S: ... here.
26021 * sysdeps/sh/elf/configure: Delete file.
26023 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26024 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26025 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26026 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26027 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26028 * sysdeps/powerpc/powerpc64/start.S: here.
26029 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26030 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26031 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26032 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26033 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26035 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26036 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26037 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26038 * sysdeps/powerpc/powerpc32/start.S: ... here.
26039 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26040 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26041 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26043 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26044 * sysdeps/powerpc/ifunc-sel.h: ... here.
26045 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26046 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26048 * sysdeps/sparc/elf/configure.in: Moved to ...
26049 * sysdeps/sparc/configure.in: ... here.
26050 * sysdeps/sparc/elf/configure: Delete file.
26051 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26052 * sysdeps/sparc/sparc32/start.S: ... here.
26053 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26054 * sysdeps/sparc/sparc64/start.S: ... here.
26055 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26056 * sysdeps/sparc/sparc32/Makefile: ... this.
26057 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26058 * sysdeps/sparc/sparc64/Makefile: ... this.
26060 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26061 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26062 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26063 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26064 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26065 * sysdeps/s390/s390-32/setjmp.S: ... here.
26066 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26067 * sysdeps/s390/s390-32/configure.in: ... here.
26068 * sysdeps/s390/s390-32/elf/configure: Delete file.
26069 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26070 * sysdeps/s390/s390-32/start.S: ... here.
26072 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26073 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26074 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26075 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26076 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26077 * sysdeps/s390/s390-64/setjmp.S: ... here.
26078 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26079 * sysdeps/s390/s390-64/configure.in: ... here
26080 * sysdeps/s390/s390-64/elf/configure: Delete file.
26081 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26082 * sysdeps/s390/s390-64/start.S: ... here.
26083 * sysdeps/s390/s390-64/elf/configure: Delete.
26085 * configure.in: Remove support for elf directories in sysdeps.
26087 * configure: Regenerated.
26088 * sysdeps/i386/configure: Regenerated.
26089 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26090 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26091 * sysdeps/s390/s390-32/configure: Regenerated.
26092 * sysdeps/s390/s390-64/configure: Regenerated.
26093 * sysdeps/sh/configure: Regenerated.
26094 * sysdeps/sparc/configure: Regenerated.
26095 * sysdeps/x86_64/configure: Regenerated.
26097 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26102 denormal result into account.
26104 2012-03-25 Roland McGrath <roland@hack.frob.com>
26106 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26107 Reported by Allan McRae <allan@archlinux.org>.
26109 2012-03-23 Jeff Law <law@redhat.com>
26111 * nss/getnssent.c (__nss_getent): Fix typo.
26113 2012-03-23 David S. Miller <davem@davemloft.net>
26115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26117 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26119 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26120 to pad to uint64_t for each field.
26121 (dl_tls_index): Replace unsigned long with uint64_t.
26123 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26124 Paul Pluzhnikov <ppluzhnikov@google.com>
26127 * grp/Makefile (otherlibs): Don't set it.
26128 * inet/Makefile (otherlibs): Likewise.
26129 * login/Makefile (otherlibs): Likewise.
26130 * nscd/Makefile (otherlibs): Likewise.
26131 * posix/Makefile (otherlibs): Likewise.
26132 * pwd/Makefile (otherlibs): Likewise.
26133 * rt/Makefile (otherlibs): Likewise.
26134 * sunrpc/Makefile (otherlibs): Likewise.
26135 * nss/Makefile (otherlibs): Likewise.
26136 Add libnss_files to routines and static-only-routines.
26137 ($(objpfx)getent): Remove rule.
26138 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26139 static-only-routines.
26141 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26144 * math/s_cexp.c: Include <float.h>.
26145 (__cexp): Handle exp result overflowing not necessarily
26146 overflowing both real and imaginary parts of result.
26147 * math/s_cexpf.c: Likewise.
26148 * math/s_cexpl.c: Likewise.
26149 * math/libm-test.inc (cexp_test): Add more tests.
26150 * sysdeps/i386/fpu/libm-test-ulps: Update.
26151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26153 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26155 * include/link.h (ELFW): New macro.
26156 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26157 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26159 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26161 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26164 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26166 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26168 (struct La_x32_retval): Likewise.
26170 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26172 * sysdeps/x86_64/preconfigure.in: New file.
26173 * sysdeps/x86_64/preconfigure: New generated file.
26175 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26178 * math/e_exp2l.c: Include <float.h>.
26179 (__ieee754_exp2l): Handle overflow and underflow cases
26180 separately. Only pass fractional part of argument to
26182 * math/libm-test.inc (exp2_test): Add more tests.
26184 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26185 negating x to take absolute value.
26186 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26188 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26189 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26191 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26192 computing low part if x was negated.
26193 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26195 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26197 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26198 la_x32_gnu_pltexit.
26199 (pltexit): Cast int_retval to ptrdiff_t.
26200 * elf/tst-auditmod3b.c: Likewise.
26201 * elf/tst-auditmod4b.c: Likewise.
26202 * elf/tst-auditmod5b.c: Likewise.
26203 * elf/tst-auditmod6b.c: Likewise.
26204 * elf/tst-auditmod6c.c: Likewise.
26205 * elf/tst-auditmod7b.c: Likewise.
26207 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26208 and x32_gnu_pltexit.
26210 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26211 __ELF_NATIVE_CLASS.
26212 (La_x32_regs): New macro.
26213 (La_x32_retval): Likewise.
26214 (la_x32_gnu_pltenter): New function prototype.
26215 (la_x32_gnu_pltexit): Likewise.
26217 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26224 * configure.in (libc_cv_cc_nofma): Check for option to disable
26225 generation of FMA instructions.
26226 * configure: Regenerate.
26227 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26228 * sysdeps/ieee754/dbl-64/Makefile: New file.
26229 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26230 Remove brandred-fma4.
26231 (CFLAGS-brandred-fma4.c): Remove.
26232 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26233 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26235 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26238 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26240 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26241 LLONG_MAX != LONG_MAX.
26242 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26243 (_fitoa_word): Likewise.
26244 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26245 LLONG_MAX != LONG_MAX.
26246 * stdio-common/_itowa.h: Include <_itoa.h>.
26247 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26248 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26249 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26250 only if not defined.
26251 (_ITOA_WORD_TYPE): Likewise.
26252 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26253 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26255 2012-03-21 David S. Miller <davem@davemloft.net>
26257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26259 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26261 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26262 of x86_64 when setting libc_cv_slibdir, libdir and
26264 * sysdeps/unix/sysv/linux/configure: Regenerated.
26266 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26268 * manual/lang.texi (Old Varargs): Remove section.
26269 (How Variadic): Update menu.
26270 (va_start): Do not mention varargs.h.
26272 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26273 Joseph Myers <joseph@codesourcery.com>
26275 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26277 * configure: Regenerated.
26279 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26281 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26282 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26285 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26288 * Makefile (files-for-dist): Remove NOTES.
26289 (NOTES): Remove rule.
26290 * README: Don't refer to NOTES.
26291 * manual/creature.texi: Don't include macros.texi.
26292 * manual/intro.texi (creature.texi): Remove comment referring to
26295 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26296 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26297 * configure: Regenerated.
26298 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26299 LIBC_TRY_CC_OPTION.
26300 (libc_cv_as_i686): Likewise.
26301 (libc_cv_cc_avx): Likewise.
26302 (libc_cv_cc_sse2avx): Likewise.
26303 (libc_cv_cc_fma4): Likewise.
26304 (libc_cv_cc_novzeroupper): Likewise.
26305 * sysdeps/i386/configure: Regenerated.
26308 * sysdeps/i386/fpu/s_cexp.S: Remove.
26309 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26310 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26311 * math/libm-test.inc (cexp_test): Add more tests.
26312 * sysdeps/i386/fpu/libm-test-ulps: Update.
26313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26315 2012-03-21 Allan McRae <allan@archlinux.org>
26317 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26319 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26322 * math/w_exp2.c: Do not include <float.h>.
26323 (o_threshold, u_threshold): Remove.
26324 (__exp2): Calculate result before checking finiteness and calling
26326 * math/w_exp2f.c: Likewise.
26327 * math/w_exp2l.c: Likewise.
26328 * math/libm-test.inc (exp2_test): Require overflow exception for
26332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26333 range of signed 64-bit integers before using fistpll. Remove
26334 checks for whether integers fit in mantissa bits.
26335 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26336 the range of signed 32-bit integers before using fistpl. Remove
26337 checks for whether integers fit in mantissa bits.
26338 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26339 (__ieee754_powl): Test for y outside the range of signed 64-bit
26340 integers before using fistpll. Reduce 64-bit values to 63-bit
26342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26343 divide-by-zero is raised for zero to large negative powers.
26344 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26345 (__ieee754_powl): Test for y outside the range of signed 64-bit
26346 integers before using fistpll. Reduce 64-bit values to 63-bit
26348 * math/libm-test.inc (pow_test): Add more tests.
26350 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26352 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26353 <stdio-common/_itoa.h>.
26354 * debug/segfault.c: Likewise.
26355 * elf/dl-cache.c: Likewise.
26356 * elf/dl-minimal.c: Likewise.
26357 * elf/dl-misc.c: Likewise.
26358 * elf/dl-sysdep.c: Likewise.
26359 * elf/dl-version.c: Likewise.
26360 * elf/rtld.c: Likewise.
26361 * hurd/hurdsock.c: Likewise.
26362 * hurd/lookup-retry.c: Likewise.
26363 * malloc/malloc.c: Likewise.
26364 * malloc/mtrace.c: Likewise.
26365 * nscd/nscd_getgr_r.c: Likewise.
26366 * nscd/nscd_getpw_r.c: Likewise.
26367 * nscd/nscd_getserv_r.c: Likewise.
26368 * posix/getopt_init.c: Likewise.
26369 * posix/wordexp.c: Likewise.
26370 * stdio-common/_itoa.c: Likewise.
26371 * stdio-common/printf_fphex.c: Likewise.
26372 * stdio-common/vfprintf.c: Likewise.
26373 * string/_strerror.c: Likewise.
26374 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26375 * sysdeps/i386/i686/hp-timing.h: Likewise.
26376 * sysdeps/mach/_strerror.c: Likewise.
26377 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26378 * sysdeps/mach/hurd/sethostid.c: Likewise.
26379 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26380 * sysdeps/mach/xpg-strerror.c: Likewise.
26381 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26383 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26384 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26385 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26386 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26387 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26388 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26389 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26390 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26391 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26392 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26393 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26394 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26395 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26396 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26397 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26398 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26399 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26400 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26401 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26403 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26405 * stdio-common/_itoa.h: Moved to ...
26406 * sysdeps/generic/_itoa.h: Here.
26408 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26410 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26411 instead of "_itoa.h" and "_itowa.h".
26412 * stdio-common/vfprintf.: Likewise.
26414 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26416 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26418 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26419 (__signbit): Likwise.
26420 (llrintf): Likwise.
26423 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26425 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26428 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26430 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26431 OVERFLOW_EXCEPTION_OK.
26432 * math/libm-test.inc ("Philosophy"): Update comment about
26434 (OVERFLOW_EXCEPTION): Define.
26435 (OVERFLOW_EXCEPTION_OK): Likewise.
26436 (INVALID_EXCEPTION_OK): Renumber.
26437 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26438 (IGNORE_ZERO_INF_SIGN): Likewise.
26439 (test_exceptions): Handle FE_OVERFLOW.
26440 (exp10_test): Expect overflow exceptions.
26441 (exp2_test): Likewise.
26442 (expm1_test): Likewise.
26443 (nextafter_test): Likewise.
26444 (pow_test): Likewise.
26445 (scalbn_test): Likewise.
26446 (scalbln_test): Likewise.
26448 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26450 * sysdeps/x86_64/bits/atomic.h
26451 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26453 (atomic_exchange_acq): Likewise.
26454 (__arch_exchange_and_add_body): Likewise.
26455 (__arch_add_body): Likewise.
26456 (atomic_add_negative): Likewise.
26457 (atomic_add_zero): Likewise.
26459 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26461 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26462 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26464 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26466 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26467 Check __x86_64__ instead of __WORDSIZE.
26469 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26471 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26473 2012-03-19 David S. Miller <davem@davemloft.net>
26475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26477 * sysdeps/sparc/fpu/fenv_private.h: New file.
26478 * sysdeps/sparc/fpu/math_private.h: Use it.
26479 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26481 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26482 (libc_feholdexcept_setroundl): Remove.
26483 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26485 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26486 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26488 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26490 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26491 int64_t instead of long int.
26492 (INSERT_WORDS64): Likwise.
26494 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26496 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26497 _Unwind_GetCFA return to _Unwind_Ptr first.
26499 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26502 * math/s_clog.c: Include <float.h>.
26503 (__clog): Scale large or subnormal inputs.
26504 * math/s_clogf.c: Likewise.
26505 * math/s_clogl.c: Likewise.
26506 * math/s_clog10.c: Include <float.h>.
26507 (M_LOG10_2): Define.
26508 (__clog10): Scale large or subnormal inputs.
26509 * math/s_clog10f.c: Likewise.
26510 * math/s_clog10l.c: Likewise.
26511 * math/libm-test.inc (clog_test): Add more tests.
26512 (clog10_test): Likewise.
26513 * sysdeps/i386/fpu/libm-test-ulps: Update.
26514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26517 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26519 * math/libm-test.inc (atan2_test): Add another test.
26521 * Makerules (common-objdir-compile): Remove.
26522 * sysdeps/unix/Makefile (config-generated): Do not add
26523 $(unix-generated) to variable.
26524 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26525 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26527 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26529 [generic bits/local_lim.h] (before-compile): Do not append to
26531 [generic bits/local_lim.h] (common-generated): Likewise.
26532 [generic sys/param.h] (before-compile): Do not append to variable.
26533 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26534 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26535 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26536 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26538 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26539 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26540 [generic sys/param.h] ($(addprefix
26541 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26542 [generic sys/param.h] (common-generated): Do not append to
26544 [generic sys/param.h] (sysdep_headers): Likewise.
26545 [generic bits/errno.h] (before-compile): Do not append to
26547 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26549 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26550 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26551 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26552 [generic bits/errno.h] (common-generated): Do not append to
26554 [generic bits/ioctls.h] (before-compile): Do not append to
26556 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26558 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26559 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26560 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26562 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26563 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26564 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26565 [generic bits/ioctls.h] (common-generated): Do not append to
26567 [generic sys/syscall.h] (syscall.h): Remove variable.
26568 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26570 [generic sys/syscall.h] (before-compile): Do not append to
26572 [generic sys/syscall.h] (common-generated): Likewise.
26573 * sysdeps/unix/errnos-tmpl.c: Remove file.
26574 * sysdeps/unix/errnos.awk: Likewise.
26575 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26576 * sysdeps/unix/ioctls.awk: Likewise.
26577 * sysdeps/unix/mk-local_lim.c: Likewise.
26578 * sysdeps/unix/snarf-ioctls: Likewise.
26580 2012-03-19 Richard Henderson <rth@twiddle.net>
26582 * sysdeps/i386/fpu/fenv_private.h: New file.
26583 * sysdeps/i386/fpu/math_private.h: Use it.
26584 (math_opt_barrier, math_force_eval): Remove.
26585 (libc_feholdexcept_setround_53bit): Remove.
26586 (libc_feupdateenv_53bit): Remove.
26587 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26588 (math_opt_barrier, math_force_eval): Remove.
26589 (libc_feholdexcept): Remove.
26590 (libc_feholdexcept_setround): Remove.
26591 (libc_fetestexcept, libc_fesetenv): Remove.
26592 (libc_feupdateenv_test): Remove.
26593 (libc_feupdateenv, libc_feholdsetround): Remove.
26594 (libc_feresetround): Remove.
26596 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26597 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26599 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26600 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26601 (libc_feupdateenv_testl): New.
26602 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26603 (libc_feupdateenv_testf): New.
26604 (libc_feupdateenv): Use libc_feupdateenv_test.
26605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26608 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26609 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26610 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26611 (libc_feresetround_noex): New.
26612 (libc_feresetround_noexf): New.
26613 (libc_feresetround_noexl): New.
26614 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26615 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26616 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26617 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26622 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26624 SET_RESTORE_ROUND_NOEX.
26625 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26626 SET_RESTORE_ROUND_NOEXF.
26627 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26628 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26629 (libc_feholdsetroundf): New.
26630 (libc_feresetround, libc_feresetroundf): New.
26632 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26633 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26634 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26636 * sysdeps/generic/math_private.h: Include <fenv.h>.
26637 (default_libc_feholdexcept): New.
26638 (default_libc_feholdexcept_setround): New.
26639 (default_libc_fesetenv, default_libc_feupdateenv): New.
26640 (libc_feholdexcept): Only define if undefined.
26641 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26642 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26643 (libc_feholdexcept_setroundl): Likewise.
26644 (libc_feholdexcept_setround_53bit): Likewise.
26645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26646 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26647 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26648 (libc_feupdateenv_53bit): Likewise.
26649 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26650 (libc_feholdexcept): Convert from macro to inline function.
26651 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26652 (libc_fesetenv, libc_feupdateenv): Likewise.
26654 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26655 not previously defined.
26656 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26657 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26658 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26659 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26660 * sysdeps/ieee754/flt-32/math_private.h: New file.
26661 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26662 math_private.h below SET_FLOAT_WORD.
26663 (__isnan, __isinf_ns, __finite): Remove.
26664 (__isnanf, __isinf_nsf, __finitef): Remove.
26666 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26670 2012-03-17 David S. Miller <davem@davemloft.net>
26673 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26676 2012-03-16 David S. Miller <davem@davemloft.net>
26678 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26682 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26684 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26685 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26686 sysdep_routines when subdir is sysvipc.
26687 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26688 __getshmlba helper.
26690 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26692 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26694 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26697 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26699 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26700 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26701 (__lround): Renamed to ...
26702 (__llround): This. Replace long int with long long int.
26703 Define lround functions as aliases of llround functions.
26704 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26706 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26708 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26709 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26710 adresses to uintptr_t. Replace "long int" and "unsigned long
26711 int" with "greg_t" on va_arg.
26713 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26715 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26716 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26718 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26719 Move e_machine check before EI_CLASS check. Handle x32
26720 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26721 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26722 SKIP_EM_IA_64 and include
26723 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26725 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26726 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26727 (add_system_dir): New macro.
26729 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26730 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26732 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26743 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26745 * math/w_j0f.c (j0f): Likewise.
26747 * math/w_j0l.c (__j0l): Likewise.
26749 * math/w_j1.c (j1): Likewise.
26751 * math/w_j1f.c (j1f): Likewise.
26753 * math/w_j1l.c (__j1l): Likewise.
26755 * math/w_jn.c (jn): Likewise.
26757 * math/w_jnf.c (jnf): Likewise.
26759 * math/w_jnl.c (__jnl): Likewise.
26761 * math/libm-test.inc (j0_test): Add more tests.
26762 (j1_test): Likewise.
26763 (jn_test): Likewise. Add trailing semicolon to existing test.
26764 (y0_test): Likewise.
26765 (y1_test): Likewise.
26766 * sysdeps/i386/fpu/libm-test-ulps: Update.
26767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26771 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26772 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26773 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26775 (__tanl): Set errno for infinite argument.
26776 * sysdeps/i386/fpu/mptan.c: Remove.
26777 * sysdeps/i386/fpu/s_tan.S: Likewise.
26778 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26779 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26780 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26781 * math/libm-test.inc (tan_test): Add more tests and enable more
26782 tests for double and long double.
26783 * sysdeps/i386/fpu/libm-test-ulps: Update.
26784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26786 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26788 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26789 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26791 2012-03-16 Roland McGrath <roland@hack.frob.com>
26793 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26794 * configure.in: Use it for both main tree and add-ons.
26795 * configure: Regenerated.
26797 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26799 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26801 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26803 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26807 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26808 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26813 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26815 != 0 for prec == 2.
26816 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26817 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26818 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26819 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26820 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26821 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26822 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26823 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26824 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26825 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26826 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26827 * math/libm-test.inc (cos_test): Add more tests and enable more
26828 tests for long double.
26829 (sin_test): Likewise.
26830 (sincos_test): Likewise.
26831 * sysdeps/i386/fpu/libm-test-ulps: Update.
26832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26834 2012-03-16 David S. Miller <davem@davemloft.net>
26836 * sysdeps/sparc/fpu/math_private.h: New file.
26838 2012-03-15 David S. Miller <davem@davemloft.net>
26840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26854 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26855 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26857 * sysdeps/sparc/sparc-ifunc.h: New file.
26858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26903 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26905 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26909 2012-03-15 Andreas Jaeger <aj@suse.de>
26912 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26913 ieee754/flt-32 implementation for sin, cos and sincos.
26914 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26915 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26916 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26917 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26918 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26919 ieee754/flt-32 implementation for tan.
26921 * math/libm-test.inc (cos_test): Enable some large input tests for
26923 (sin_test): Likewise.
26924 (sincos_test): Likewise.
26925 (tan_test): Add tests for large input.
26927 * sysdeps/i386/fpu/libm-test-ulps: Update.
26929 2012-03-15 Andreas Jaeger <aj@suse.de>
26932 * math/libm-test.inc (cos_test): Add more test cases.
26933 (sin_test): Likewise.
26934 (sincos_test): Likewise.
26936 2012-03-15 Andreas Jaeger <aj@suse.de>
26939 * math/libm-test.inc (cos_test): Add a test case for large input
26941 (sin_test): Likewise.
26942 (sincos_test): Likewise.
26944 2012-03-15 Andreas Jaeger <aj@suse.de>,
26945 Joseph Myers <joseph@codesourcery.com>
26948 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26949 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26950 * sysdeps/i386/fpu/branred.c: Likewise.
26951 * sysdeps/i386/fpu/dosincos.c: Likewise.
26952 * sysdeps/i386/fpu/mpa.c: Likewise.
26953 * sysdeps/i386/fpu/s_cos.S: Likewise.
26954 * sysdeps/i386/fpu/s_sin.S: Likewise.
26955 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26956 * sysdeps/i386/fpu/sincos32.c: Likewise.
26958 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26960 (libc_feupdateenv_53bit): Define.
26961 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26963 (libc_feupdateenv_53bit): Define.
26965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26966 53 bit (without extend i386 double precision).
26968 * math/libm-test.inc (sincos_test): Add tests for large input.
26972 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26974 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26978 2012-03-15 David S. Miller <davem@davemloft.net>
26980 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26981 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26982 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26983 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27008 fmin/fmax sysdep routines.
27009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27011 2012-03-14 David S. Miller <davem@davemloft.net>
27013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27033 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27085 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27090 * sysdeps/sparc/configure.in: New file.
27091 * sysdeps/sparc/configure: Generate.
27092 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27093 * configure: Regenerate.
27094 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27095 * config.make.in (have-as-vis3): New.
27096 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27097 available use -Av9d instead of -Av9a.
27098 * sysdeps/sparc/sparc64/Makefile: Likewise.
27099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27114 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27115 fzeros/fnegs to load 0x80000000 into a float register instead of
27117 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27119 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27123 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27124 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27125 ($(inst_includedir)/bits/syscall.h): Remove rule.
27126 ($(objpfx)bits/syscall.d): Include instead of
27127 $(objpfx)syscall-list.d.
27128 (generated): Change syscall-list.h and syscall-list.d to
27129 bits/syscall.h and bits/syscall.d.
27131 2012-03-14 Roland McGrath <roland@hack.frob.com>
27134 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27136 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27139 * math/s_csqrt.c: Include <float.h>.
27140 (__csqrt): Scale large or subnormal inputs.
27141 * math/s_csqrtf.c: Likewise.
27142 * math/s_csqrtl.c: Likewise.
27143 * math/libm-test.inc (csqrt_test): Add more tests.
27144 * sysdeps/i386/fpu/libm-test-ulps: Update.
27145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27148 * math/libm-test.inc (hypot_test): Add more tests.
27150 2012-03-13 David S. Miller <davem@davemloft.net>
27153 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27154 double-precision for the calculation instead of scaling.
27156 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27158 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27159 manipulate bits before adding and subtracting TWO52[sx].
27160 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27163 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27165 2012-03-13 David S. Miller <davem@davemloft.net>
27167 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27168 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27170 rtld-global-offsets.h
27171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27173 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27176 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27178 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27179 'err' in the ifdef scope in which it is actually used.
27181 * nss/nss_db/db-init.c: Include string.h
27183 2012-03-12 David S. Miller <davem@davemloft.net>
27185 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27186 masking out of the most significant byte of random value used.
27187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27188 Fix coding style in previous change.
27190 * sysdeps/unix/sysv/linux/kernel-features.h
27191 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27192 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27194 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27197 2012-03-11 David S. Miller <davem@davemloft.net>
27199 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27200 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27202 for 'resultvar' otherwise things get truncated on 64-bit.
27204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27205 Fix masking out of the most significant byte of random value used.
27207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27209 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27213 2012-03-09 David S. Miller <davem@davemloft.net>
27215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27216 variables with appropriate CPP guards.
27217 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27218 frame pointer, not the stack pointer. Correct layout comments. Fix test
27219 on resulting framesize and the management of the outregs buffer for pltexit.
27220 Preserve floating point return values across _dl_call_pltexit call.
27221 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27222 framesize and the management of the outregs buffer for pltexit.
27223 Preserve floating point return values across _dl_call_pltexit
27225 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27226 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27227 (print_exit): Fix format string for return register value.
27229 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27231 * sunrpc/Makefile (others): Add rpcgen.
27232 ($(objpfx)rpcgen): Remove special build rule and dependency on
27234 * sunrpc/rpcgen.c: New file.
27236 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27239 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27240 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27241 * sysdeps/i386/crti.S: Likewise.
27242 * sysdeps/i386/crtn.S: Likewise.
27243 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27244 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27245 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27246 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27247 * sysdeps/sh/crti.S: Likewise.
27248 * sysdeps/sh/crtn.S: Likewise.
27249 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27252 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27254 * locale/programs/locfile-kw.gperf: Likewise.
27255 * locale/programs/charmap-kw.h: Regenerated.
27256 * locale/programs/locfile-kw.h: Likewise.
27259 * intl/plural.y: Replace FSF snail mail address with URL.
27260 * intl/plural.c: Regenerated.
27262 2012-03-09 Richard Henderson <rth@twiddle.net>
27264 * include/math_private.h: Remove file.
27265 * math/math_private.h: Move file ...
27266 * sysdeps/generic/math_private.h: ... here.
27268 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27269 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27270 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27272 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27273 and <math_private.h>.
27274 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27275 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27276 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27277 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27278 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27296 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27299 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27300 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27301 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27304 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27305 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27306 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27307 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27308 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27309 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27310 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27311 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27312 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27314 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27315 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27316 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27317 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27318 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27319 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27320 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27321 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27323 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27324 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27325 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27326 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27327 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27328 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27329 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27330 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27331 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27332 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27333 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27339 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27344 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27352 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27353 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27354 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27362 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27363 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27364 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27365 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27367 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27368 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27369 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27370 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27371 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27372 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27373 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27374 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27375 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27376 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27377 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27378 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27379 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27380 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27381 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27382 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27383 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27384 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27385 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27386 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27387 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27388 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27389 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27390 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27391 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27392 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27393 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27394 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27395 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27396 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27397 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27398 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27399 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27400 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27401 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27402 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27403 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27404 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27405 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27406 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27407 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27408 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27409 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27410 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27411 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27412 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27413 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27414 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27415 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27416 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27417 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27418 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27419 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27420 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27421 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27422 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27423 * sysdeps/ieee754/k_standard.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27450 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27451 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27466 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27475 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27476 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27479 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27497 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27501 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27508 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27509 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27513 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27514 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27515 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27517 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27536 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27539 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27543 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27546 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27551 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27552 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27555 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27556 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27557 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27558 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27570 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27571 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27572 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27573 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27574 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27579 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27583 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27584 * sysdeps/ieee754/s_lib_version.c: Likewise.
27585 * sysdeps/ieee754/s_matherr.c: Likewise.
27586 * sysdeps/ieee754/s_signgam.c: Likewise.
27587 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27588 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27589 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27590 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27591 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27592 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27593 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27594 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27595 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27596 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27597 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27598 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27599 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27600 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27601 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27602 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27603 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27604 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27605 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27609 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27611 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27612 * sunrpc/rpc_main.c: Likewise.
27613 * sunrpc/rpc_svcout.c: Likewise.
27615 2012-03-09 David S. Miller <davem@davemloft.net>
27617 * include/math_private.h: New file.
27619 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27621 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27622 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27623 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27624 from <bits/socket_type.h>.
27625 (enum __socket_type): Don't define here.
27626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27628 bits/socket_type.h.
27631 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27632 checking __USE_GNU.
27634 * Makerules ($(inst_includedir)/%.h): New rule.
27635 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27636 (install-others): Remove variable setting.
27637 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27639 2012-03-08 Richard Henderson <rth@twiddle.net>
27641 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27642 from macro to inline function; merge with the
27643 !__LIBC_INTERNAL_MATH_INLINES version.
27644 (__ieee754_sqrtf): Likewise.
27646 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27647 to inline function.
27648 (__rintf, __floor, __floorf): Likewise.
27650 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27651 macro to inline function.
27652 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27655 not <math/math_private.h>.
27657 2012-03-08 David S. Miller <davem@davemloft.net>
27659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27661 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27663 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27665 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27667 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27668 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27670 2012-03-08 Ulrich Drepper <drepper@gmail.com>
27672 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27673 be defined individually, they must be defined as a block. Define
27674 S for printing a string instead of hidint the different by using a
27675 macro for adding the 'l'.
27676 * stdio-common/tst-fphex-wide.c: Adjust.
27678 2012-03-07 Marek Polacek <polacek@redhat.com>
27680 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27682 2012-03-08 Marek Polacek <polacek@redhat.com>
27685 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27686 * stdio-common/tst-fphex.c: Define a few macros to make the
27687 test reusable. Use them.
27688 * stdio-common/tst-fphex-wide.c: New file.
27690 2012-03-08 Joseph Myers <joseph@codesourcery.com>
27693 * manual/macros.texi (gnusystems): New macro.
27694 (nongnusystems): Likewise.
27695 (gnulinuxhurdsystems): Likewise.
27696 (gnuhurdsystems): Likewise..
27697 (gnulinuxsystems): Likewise.
27698 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27699 variants of the GNU system, not "GNU system".
27700 * manual/conf.texi: Likewise.
27701 * manual/errno.texi: Likewise. Update example of errno macro
27703 * manual/filesys.texi: Likewise.
27704 (getumask): Document as specific to GNU/Hurd.
27705 * manual/install.texi: Likewise. Reword some references to
27707 * manual/intro.texi: Likewise.
27708 * manual/io.texi: Likewise.
27709 (File Name Portability): Detail which constraints are inapplicable
27710 to all GNU systems and which are only inapplicable to GNU/Hurd.
27711 * manual/job.texi: Likewise.
27712 * manual/llio.texi: Likewise.
27713 (O_NOCTTY): Document as present on GNU/Linux.
27714 * manual/maint.texi: Likewise.
27715 * manual/memory.texi: Likewise.
27716 * manual/pattern.texi: Likewise.
27717 * manual/pipe.texi: Likewise.
27718 * manual/process.texi: Likewise.
27719 * manual/resource.texi: Likewise.
27720 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27722 * manual/setjmp.texi: Likewise.
27723 * manual/signal.texi: Likewise.
27724 * manual/startup.texi: Likewise.
27725 * manual/stdio.texi: Likewise.
27726 * manual/terminal.texi: Likewise.
27727 (ONLCR): Document as POSIX.
27728 (OXTABS): Document availability on GNU/Linux as XTABS.
27729 (ONOEOT): Document availability separately from other bits.
27730 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27731 * manual/time.texi: Likewise.
27732 * manual/users.texi: Likewise.
27733 * INSTALL: Regenerated.
27734 * sysdeps/gnu/errlist.c: Regenerated.
27736 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27737 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27738 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27740 * configure: Regenerated.
27742 2012-03-07 Joseph Myers <joseph@codesourcery.com>
27744 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27745 default includes instead of AC_HEADER_CHECK.
27746 * sysdeps/i386/configure: Regenerated.
27749 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27750 * math/s_cacoshf.c (__cacoshf): Likewise.
27751 * math/s_cacoshl.c (__cacoshl): Likewise.
27752 * math/s_casinh.c (__casinh): Set signs of result from argument.
27753 * math/s_casinhf.c (__casinhf): Likewise.
27754 * math/s_casinhl.c (__casinhl): Likewise.
27755 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27756 (casinh_test): Add more tests.
27757 * sysdeps/i386/fpu/libm-test-ulps: Update.
27758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27760 2012-03-07 Ulrich Drepper <drepper@gmail.com>
27762 * po/zh_TW.po: Update from translation team.
27764 * login/Makefile (distribute): Remove variable.
27765 * catgets/Makefile: Likewise.
27766 * mach/Makefile: Likewise.
27767 * malloc/Makefile: Likewise.
27768 * misc/Makefile: Likewise.
27769 * iconv/Makefile: Likewise.
27770 * nscd/Makefile: Likewise.
27771 * hurd/Makefile: Likewise.
27772 * manual/Makefile: Likewise.
27773 * locale/Makefile: Likewise.
27774 * intl/Makefile: Likewise.
27775 * conform/Makefile: Likewise.
27776 * nss/Makefile: Likewise.
27777 * time/Makefile: Likewise.
27778 * soft-fp/Makefile: Likewise.
27779 * dirent/Makefile: Likewise.
27780 * gmon/Makefile: Likewise.
27781 * po/Makefile: Likewise.
27782 * rt/Makefile: Likewise.
27783 * socket/Makefile: Likewise.
27784 * math/Makefile: Likewise.
27785 * signal/Makefile: Likewise.
27786 * debug/Makefile: Likewise.
27787 * elf/Makefile: Likewise.
27788 * timezone/Makefile: Likewise.
27789 * stdlib/Makefile: Likewise.
27790 * iconvdata/Makefile: Likewise.
27791 * sunrpc/Makefile: Likewise.
27792 * io/Makefile: Likewise.
27793 * argp/Makefile: Likewise.
27794 * inet/Makefile: Likewise.
27795 * hesiod/Makefile: Likewise.
27796 * grp/Makefile: Likewise.
27797 * csu/Makefile: Likewise.
27798 * wctype/Makefile: Likewise.
27799 * crypt/Makefile: Likewise.
27800 * libio/Makefile: Likewise.
27801 * string/Makefile: Likewise.
27802 * nis/Makefile: Likewise.
27803 * resolv/Makefile: Likewise.
27804 * stdio-common/Makefile: Likewise.
27805 * wcsmbs/Makefile: Likewise.
27806 * dlfcn/Makefile: Likewise.
27807 * posix/Makefile: Likewise.
27810 * timezone/Makefile: Don't install timezone files, just the programs
27813 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27815 * nss/databases.def: Add missing gshadow entry.
27817 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27819 2012-03-06 Marek Polacek <polacek@redhat.com>
27822 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27823 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27824 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27825 * stdio-common/tst-long-dbl-fphex.c: New file.
27827 2012-03-06 David S. Miller <davem@davemloft.net>
27829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27830 (set_obp_int): New function.
27831 (get_obp_int): New function.
27832 (__get_clockfreq_via_dev_openprom): Likewise.
27833 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27834 Avoid unused variable warnings on 'val' and use builtin_expect.
27835 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27837 (INLINE_CLONE_SYSCALL): Likewise.
27839 2012-03-05 David S. Miller <davem@davemloft.net>
27841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27843 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27848 only for |x| >= 40.
27849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27851 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27854 Replace gettimeofday with __vdso_gettimeofday.
27856 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27857 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27858 __vdso_clock_gettime and __vdso_getcpu.
27860 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27861 time with __vdso_time.
27863 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27865 * manual/lang.texi (size_t): Note types to which size_t may be
27866 equivalent with the GNU C Library, but do not describe when
27867 differences between them are significant.
27869 2012-03-05 Andreas Jaeger <aj@suse.de>
27871 * sysdeps/i386/fpu/libm-test-ulps: Update.
27873 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27876 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27877 (__ieee754_pow): Save and restore rounding mode and use
27878 round-to-nearest for main computations.
27879 * math/libm-test.inc (pow_test_tonearest): New function.
27880 (pow_test_towardzero): Likewise.
27881 (pow_test_downward): Likewise.
27882 (pow_test_upward): Likewise.
27883 (main): Call the new functions.
27884 * sysdeps/i386/fpu/libm-test-ulps: Update.
27885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27888 * math/libm-test.inc (cosh_test_tonearest): New function.
27889 (cosh_test_towardzero): Likewise.
27890 (cosh_test_downward): Likewise.
27891 (cosh_test_upward): Likewise.
27892 (sinh_test_tonearest): Likewise.
27893 (sinh_test_towardzero): Likewise.
27894 (sinh_test_downward): Likewise.
27895 (sinh_test_upward): Likewise.
27896 (main): Call the new functions.
27897 * sysdeps/i386/fpu/libm-test-ulps: Update.
27898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27900 2012-03-05 Tom de Vries <tom@codesourcery.com>
27902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27903 default stack guard is set in last bytes.
27904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27906 2012-03-05 Kees Cook <keescook@chromium.org>
27908 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27911 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27912 possibly allocate from heap instead of stack.
27913 * stdio-common/bug-vfprintf-nargs.c: New file.
27914 * stdio-common/Makefile (tests): Add nargs overflow test.
27916 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27920 2012-03-03 Marek Polacek <polacek@redhat.com>
27922 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27923 * math/math_private.h: Likewise.
27924 * stdlib/tst-strtod.c: Likewise.
27925 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27926 * sysdeps/x86_64/bits/atomic.h: Likewise.
27928 2012-03-02 David S. Miller <davem@davemloft.net>
27930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27934 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27935 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27936 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27937 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27939 2012-03-02 Roland McGrath <roland@hack.frob.com>
27942 * manual/examples/README: New file, says the example source files
27943 can be used under GPL>=2.
27944 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27945 line containing just "*/".
27946 * manual/examples/add.c: Add copyright header (GPL>=2).
27947 * manual/examples/argp-ex1.c: Likewise.
27948 * manual/examples/argp-ex2.c: Likewise.
27949 * manual/examples/argp-ex3.c: Likewise.
27950 * manual/examples/argp-ex4.c: Likewise.
27951 * manual/examples/atexit.c: Likewise.
27952 * manual/examples/db.c: Likewise.
27953 * manual/examples/dir.c: Likewise.
27954 * manual/examples/dir2.c: Likewise.
27955 * manual/examples/execinfo.c: Likewise.
27956 * manual/examples/filecli.c: Likewise.
27957 * manual/examples/filesrv.c: Likewise.
27958 * manual/examples/fmtmsgexpl.c: Likewise.
27959 * manual/examples/genpass.c: Likewise.
27960 * manual/examples/inetcli.c: Likewise.
27961 * manual/examples/inetsrv.c: Likewise.
27962 * manual/examples/isockad.c: Likewise.
27963 * manual/examples/longopt.c: Likewise.
27964 * manual/examples/memopen.c: Likewise.
27965 * manual/examples/memstrm.c: Likewise.
27966 * manual/examples/mkfsock.c: Likewise.
27967 * manual/examples/mkisock.c: Likewise.
27968 * manual/examples/mygetpass.c: Likewise.
27969 * manual/examples/pipe.c: Likewise.
27970 * manual/examples/popen.c: Likewise.
27971 * manual/examples/rprintf.c: Likewise.
27972 * manual/examples/search.c: Likewise.
27973 * manual/examples/select.c: Likewise.
27974 * manual/examples/setjmp.c: Likewise.
27975 * manual/examples/sigh1.c: Likewise.
27976 * manual/examples/sigusr.c: Likewise.
27977 * manual/examples/stpcpy.c: Likewise.
27978 * manual/examples/strdupa.c: Likewise.
27979 * manual/examples/strftim.c: Likewise.
27980 * manual/examples/strncat.c: Likewise.
27981 * manual/examples/subopt.c: Likewise.
27982 * manual/examples/swapcontext.c: Likewise.
27983 * manual/examples/termios.c: Likewise.
27984 * manual/examples/testopt.c: Likewise.
27985 * manual/examples/testpass.c: Likewise.
27986 * manual/examples/timeval_subtract.c: Likewise.
27989 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27991 * manual/timeval_subtract.c.texi: ... here, new file.
27993 2012-03-02 David S. Miller <davem@davemloft.net>
27995 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27997 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28000 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28001 (__sin): Save and restore rounding mode and use round-to-nearest
28002 for all computations.
28003 (__cos): Save and restore rounding mode and use round-to-nearest
28004 for all computations.
28005 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28007 (tan): Save and restore rounding mode and use round-to-nearest for
28009 * math/libm-test.inc (cos_test_tonearest): New function.
28010 (cos_test_towardzero): Likewise.
28011 (cos_test_downward): Likewise.
28012 (cos_test_upward): Likewise.
28013 (sin_test_tonearest): Likewise.
28014 (sin_test_towardzero): Likewise.
28015 (sin_test_downward): Likewise.
28016 (sin_test_upward): Likewise.
28017 (tan_test_tonearest): Likewise.
28018 (tan_test_towardzero): Likewise.
28019 (tan_test_downward): Likewise.
28020 (tan_test_upward): Likewise.
28021 (main): Call the new functions.
28022 * sysdeps/i386/fpu/libm-test-ulps: Update.
28023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28026 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28027 small n, then large n, before computing and testing k+n.
28028 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28033 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28034 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28035 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28036 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28039 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28040 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28041 * math/libm-test.inc (scalbn_test): Add more tests.
28042 (scalbln_test): Likewise.
28044 * manual/filesys.texi (mode_t): Describe constraints on size and
28045 signedness, not exact equivalence to a particular type.
28047 (ino64_t): Likewise.
28049 (nlink_t): Likewise.
28050 (blkcnt_t): Likewise.
28051 (blkcnt64_t): Likewise.
28052 * manual/llio.texi (off_t): Likewise.
28055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28056 (__ieee754_exp): Save and restore rounding mode and use
28057 round-to-nearest for all computations.
28058 * math/libm-test.inc (exp_test_tonearest): New function.
28059 (exp_test_towardzero): Likewise.
28060 (exp_test_downward): Likewise.
28061 (exp_test_upward): Likewise.
28062 (main): Call the new functions.
28063 * sysdeps/i386/fpu/libm-test-ulps: Update.
28064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28066 2012-03-01 Chris Demetriou <cgd@google.com>
28068 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28069 have predictable order.
28071 2012-03-01 David S. Miller <davem@davemloft.net>
28073 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28075 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28076 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28077 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28078 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28080 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28081 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28082 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28084 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28085 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28086 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28087 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28088 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28092 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28093 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28094 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28096 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28097 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28098 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28099 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28100 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28103 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28104 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28105 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28106 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28110 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28112 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28113 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28114 * sysdeps/sparc/elf/configure: Regenerated.
28116 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28118 * configure.in (AS, LD): Require binutils 2.20 or later.
28119 * configure: Regenerated.
28120 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28121 as required minimum version.
28122 * INSTALL: Regenerated.
28126 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28127 before squaring exponent.
28128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28129 bottom long double and 27 bits of top long double before squaring
28131 * math/libm-test.inc (erfc_test): Add more tests.
28132 * sysdeps/i386/fpu/libm-test-ulps: Update.
28133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28136 2012-03-01 Kai Tietz <ktietz@redhat.com>
28138 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28139 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28140 containing bit-fields.
28141 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28142 * soft-fp/single.h (_FP_UNION_S): Likewise.
28143 * soft-fp/double.h (_FP_UNION_D): Likewise.
28145 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28148 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28149 not include ../strcmp.S.
28150 [USE_AS_STRNCASECMP_L]: Likewise.
28151 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28152 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28153 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28154 (__strncasecmp_l_ia32): Define as alias to
28155 __strncasecmp_l_nonascii.
28158 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28159 * sysdeps/i386/fpu/libm-test-ulps: Update.
28160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28162 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165 2012-02-29 Jeff Law <law@redhat.com>
28167 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28168 out of bounds read.
28170 2012-02-29 Marek Polacek <polacek@redhat.com>
28173 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28174 * elf/Makefile: Add rules to run tst-unused-dep.out.
28176 2012-02-28 David S. Miller <davem@davemloft.net>
28178 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28179 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28182 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28183 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28185 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28187 * math/libm-test.inc (llround_test): Move one test from
28188 lround_test. Use TEST_f_L in moved test.
28189 (lround_test): Move misplaced test to llround_test. Add testcase
28192 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28194 * sysdeps/x86_64/fpu/e_expf.S: New file.
28195 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28197 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28200 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28201 of remain_len that may cause incomplete multi-byte character and
28203 * posix/bug-regex33.c: New file.
28204 * posix/Makefile (tests): Add bug-regex33.
28206 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28208 * manual/macros.texi: New file.
28209 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28210 * manual/libc.texinfo: Include macros.texi.
28211 * manual/creatute.texi: Likewise.
28212 * manual/install.texi: Likewise.
28213 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28214 @glibcadj{} in references to the GNU C Library.
28215 * manual/charset.texi: Likewise.
28216 * manual/conf.texi: Likewise.
28217 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28218 when not using those macros.
28219 * manual/creature.texi: Likewise.
28220 * manual/crypt.texi: Likewise.
28221 * manual/errno.texi: Likewise.
28222 * manual/filesys.texi: Likewise.
28223 * manual/header.texi: Likewise.
28224 * manual/install.texi: Likewise.
28225 * manual/intro.texi: Likewise.
28226 * manual/io.texi: Likewise.
28227 * manual/job.texi: Likewise.
28228 * manual/lang.texi: Likewise.
28229 * manual/libc.texiinfo: Likewise.
28230 * manual/llio.texi: Likewise.
28231 * manual/locale.texi: Likewise.
28232 * manual/maint.texi: Likewise.
28233 * manual/math.texi: Likewise.
28234 * manual/memory.texi: Likewise.
28235 * manual/message.texi: Likewise.
28236 * manual/nss.texi: Likewise.
28237 * manual/pattern.texi: Likewise.
28238 * manual/process.texi: Likewise.
28239 * manual/resource.texi: Likewise.
28240 * manual/search.texi: Likewise.
28241 * manual/setjmp.texi: Likewise.
28242 * manual/signal.texi: Likewise.
28243 * manual/socket.texi: Likewise.
28244 * manual/startup.texi: Likewise.
28245 * manual/stdio.texi: Likewise.
28246 * manual/string.texi: Likewise.
28247 * manual/sysinfo.texi: Likewise.
28248 * manual/syslog.texi: Likewise.
28249 * manual/terminal.texi: Likewise.
28250 * manual/time.texi: Likewise.
28251 * manual/users.texi: Likewise.
28252 * INSTALL: Regenerated.
28253 * NOTES: Regenerated.
28254 * sysdeps/gnu/errlist.c: Regenerated.
28256 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28258 * include/dirent.h: Include <dirstream.h> before
28261 2012-02-28 David S. Miller <davem@davemloft.net>
28263 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28264 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28265 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28266 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28268 2012-02-27 David S. Miller <davem@davemloft.net>
28270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28272 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28273 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28276 frame pointer instead of stack pointer relative arg slot.
28277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28278 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28279 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28281 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28284 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28286 2012-02-27 David S. Miller <davem@davemloft.net>
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28292 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28293 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28294 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28295 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28297 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28299 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28300 later. Allow versions 5-9.
28301 * configure: Regenerated.
28302 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28303 required minimum version and 4.6 as recommended version. Do not
28304 mention bugs in GCC 2.7 and 2.8.
28305 * INSTALL: Regenerated.
28307 2012-02-27 David S. Miller <davem@davemloft.net>
28309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28314 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28319 manipulate bits before adding and subtracting TWO112[sx].
28320 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28322 2012-02-27 Roland McGrath <roland@hack.frob.com>
28325 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28326 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28327 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28328 being in POSIX, because they are in 1003.1-2008.
28330 * rt/tst-aio.c: Include <fcntl.h>.
28331 * rt/tst-aio7.c: Likewise.
28332 * rt/tst-aio64.c: Likewise.
28334 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28336 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28338 * manual/install.texi (--with-headers): Describe headers as
28339 interface headers, not private headers.
28340 (Specific advice for GNU/Linux systems): Describe use of headers
28341 from "make headers_install", not private headers from older
28343 * INSTALL: Regenerated.
28344 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28346 * sysdeps/unix/sysv/linux/configure: Regenerated.
28348 * manual/llio.texi (fclean): Remove documentation.
28350 * manual/Makefile (libc-texi-generated): New variable. Include
28352 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28353 $(libc-texi-generated), not duplicated list of files.
28354 (version.texi, stamp-version): New rules.
28355 (realclean): Remove $(libc-texi-generated), not individual files
28356 from that list. Do not remove dir-add.texinfo.
28357 * manual/libc.texinfo: Comment out uses of edition numbers and
28358 references to printed manual. Remove last-updated dates.
28359 (EDITION): Comment out.
28361 (VERSION, UPDATED): Remove.
28362 (version.texi): Include.
28364 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28366 * sysdeps/posix/spawni.c: Include <signal.h>.
28367 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28368 * sysdeps/pthread/aio_fsync.c: Likewise.
28370 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28372 * conform/Makefile (tests): Run only when not cross-compiling and
28373 when fast-check is not defined.
28375 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28376 * conform/data/limits.h-data: Fixes for POSIX2008.
28377 * conform/run-conformtest.sh: Run all tests.
28378 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28380 * include/bits/dlfcn.h: Likewise.
28381 * include/langinfo.h: Likewise.
28382 * include/monetary.h: Likewise.
28383 * include/sys/poll.h: Likewise.
28385 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28387 * posix/spawn.h: Define __need_sigset_t.
28388 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28389 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28390 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28391 to get sigevent_t only.
28392 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28393 only for __USE_GNU.
28394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28395 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28396 process_vm_writev only for __USE_GNU.
28397 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28399 * conform/Makefile: For now ignore errors from run-conformtest.
28400 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28401 POSIX to avoid namespace pollution. Don't prepend headers.
28402 * conform/data/aio.h-data: Fixes for POSIX testing.
28403 * conform/data/fcntl.h-data: Likewise.
28404 * conform/data/glob.h-data: Likewise.
28405 * conform/data/grp.h-data: Likewise.
28406 * conform/data/pthread.h-data: Likewise.
28407 * conform/data/pwd.h-data: Likewise.
28408 * conform/data/signal.h-data: Likewise.
28409 * conform/data/spawn.h-data: Likewise.
28410 * conform/data/stdio.h-data: Likewise.
28411 * conform/data/stdlib.h-data: Likewise.
28412 * conform/data/stropts.h-data: Likewise.
28413 * conform/data/sys/mman.h-data: Likewise.
28414 * conform/data/sys/stat.h-data: Likewise.
28415 * conform/data/sys/types.h-data: Likewise.
28416 * conform/data/sys/wait.h-data: Likewise.
28417 * conform/data/time.h-data: Likewise.
28418 * conform/data/unistd.h-data: Likewise.
28419 * conform/data/utime.h-data: Likewise.
28421 * io/sys/stat.h: fchmod was always in POSIX.
28422 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28423 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28424 * rt/aio.h: Define __need_timespec before including <time.h>.
28425 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28426 struct. Add forward declaration of pthread_attr_t and use it in
28428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28429 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28430 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28431 always remove CLK_TCK definition.
28433 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28435 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28437 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28439 * conform/run-conformtest.sh: New file.
28440 * conform/Makefile: Run run-conformtest for tests.
28441 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28444 * conform/data/uchar.h-data: New file.
28445 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28446 * conform/data/arpa/inet.h-data: Likewise.
28447 * conform/data/assert.h-data: Likewise.
28448 * conform/data/complex.h-data: Likewise.
28449 * conform/data/cpio.h-data: Likewise.
28450 * conform/data/ctype.h-data: Likewise.
28451 * conform/data/dirent.h-data: Likewise.
28452 * conform/data/dlfcn.h-data: Likewise.
28453 * conform/data/errno.h-data: Likewise.
28454 * conform/data/fcntl.h-data: Likewise.
28455 * conform/data/float.h-data: Likewise.
28456 * conform/data/fmtmsg.h-data: Likewise.
28457 * conform/data/fnmatch.h-data: Likewise.
28458 * conform/data/ftw.h-data: Likewise.
28459 * conform/data/glob.h-data: Likewise.
28460 * conform/data/grp.h-data: Likewise.
28461 * conform/data/iconv.h-data: Likewise.
28462 * conform/data/inttypes.h-data: Likewise.
28463 * conform/data/langinfo.h-data: Likewise.
28464 * conform/data/libgen.h-data: Likewise.
28465 * conform/data/limits.h-data: Likewise.
28466 * conform/data/locale.h-data: Likewise.
28467 * conform/data/math.h-data: Likewise.
28468 * conform/data/monetary.h-data: Likewise.
28469 * conform/data/mqueue.h-data: Likewise.
28470 * conform/data/ndbm.h-data: Likewise.
28471 * conform/data/net/if.h-data: Likewise.
28472 * conform/data/netdb.h-data: Likewise.
28473 * conform/data/netinet/in.h-data: Likewise.
28474 * conform/data/nl_types.h-data: Likewise.
28475 * conform/data/poll.h-data: Likewise.
28476 * conform/data/pthread.h-data: Likewise.
28477 * conform/data/pwd.h-data: Likewise.
28478 * conform/data/regex.h-data: Likewise.
28479 * conform/data/sched.h-data: Likewise.
28480 * conform/data/search.h-data: Likewise.
28481 * conform/data/semaphore.h-data: Likewise.
28482 * conform/data/setjmp.h-data: Likewise.
28483 * conform/data/signal.h-data: Likewise.
28484 * conform/data/spawn.h-data: Likewise.
28485 * conform/data/stdarg.h-data: Likewise.
28486 * conform/data/stdio.h-data: Likewise.
28487 * conform/data/stdlib.h-data: Likewise.
28488 * conform/data/string.h-data: Likewise.
28489 * conform/data/strings.h-data: Likewise.
28490 * conform/data/stropts.h-data: Likewise.
28491 * conform/data/sys/ipc.h-data: Likewise.
28492 * conform/data/sys/mman.h-data: Likewise.
28493 * conform/data/sys/msg.h-data: Likewise.
28494 * conform/data/sys/resource.h-data: Likewise.
28495 * conform/data/sys/select.h-data: Likewise.
28496 * conform/data/sys/sem.h-data: Likewise.
28497 * conform/data/sys/shm.h-data: Likewise.
28498 * conform/data/sys/socket.h-data: Likewise.
28499 * conform/data/sys/stat.h-data: Likewise.
28500 * conform/data/sys/statvfs.h-data: Likewise.
28501 * conform/data/sys/time.h-data: Likewise.
28502 * conform/data/sys/timeb.h-data: Likewise.
28503 * conform/data/sys/times.h-data: Likewise.
28504 * conform/data/sys/types.h-data: Likewise.
28505 * conform/data/sys/uio.h-data: Likewise.
28506 * conform/data/sys/un.h-data: Likewise.
28507 * conform/data/sys/utsname.h-data: Likewise.
28508 * conform/data/sys/wait.h-data: Likewise.
28509 * conform/data/syslog.h-data: Likewise.
28510 * conform/data/tar.h-data: Likewise.
28511 * conform/data/termios.h-data: Likewise.
28512 * conform/data/utime.h-data: Likewise.
28513 * conform/data/utmpx.h-data: Likewise.
28514 * conform/data/varargs.h-data: Likewise.
28515 * conform/data/wchar.h-data: Likewise.
28516 * conform/data/wctype.h-data: Likewise.
28517 * conform/data/wordexp.h-data: Likewise.
28519 * include/stropts.h: New file.
28520 * include/uchar.h: New file.
28521 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28522 * include/assert.h: Likewise.
28523 * include/ctype.h: Likewise.
28524 * include/dirent.h: Likewise.
28525 * include/dlfcn.h: Likewise.
28526 * include/fcntl.h: Likewise.
28527 * include/fnmatch.h: Likewise.
28528 * include/glob.h: Likewise.
28529 * include/grp.h: Likewise.
28530 * include/libio.h: Likewise.
28531 * include/locale.h: Likewise.
28532 * include/math.h: Likewise.
28533 * include/net/if.h: Likewise.
28534 * include/netdb.h: Likewise.
28535 * include/netinet/in.h: Likewise.
28536 * include/pthread.h: Likewise.
28537 * include/pwd.h: Likewise.
28538 * include/regex.h: Likewise.
28539 * include/sched.h: Likewise.
28540 * include/search.h: Likewise.
28541 * include/setjmp.h: Likewise.
28542 * include/signal.h: Likewise.
28543 * include/stdio.h: Likewise.
28544 * include/stdlib.h: Likewise.
28545 * include/string.h: Likewise.
28546 * include/sys/cdefs.h: Likewise.
28547 * include/sys/mman.h: Likewise.
28548 * include/sys/msg.h: Likewise.
28549 * include/sys/resource.h: Likewise.
28550 * include/sys/select.h: Likewise.
28551 * include/sys/socket.h: Likewise.
28552 * include/sys/stat.h: Likewise.
28553 * include/sys/statvfs.h: Likewise.
28554 * include/sys/time.h: Likewise.
28555 * include/sys/times.h: Likewise.
28556 * include/sys/uio.h: Likewise.
28557 * include/sys/utsname.h: Likewise.
28558 * include/sys/wait.h: Likewise.
28559 * include/termios.h: Likewise.
28560 * include/time.h: Likewise.
28561 * include/ulimit.h: Likewise.
28562 * include/unistd.h: Likewise.
28563 * include/utime.h: Likewise.
28564 * include/wchar.h: Likewise.
28565 * include/wctype.h: Likewise.
28566 * include/wordexp.h: Likewise.
28568 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28570 * time/time.h: TIME_UTC must be a macro.
28571 Make timespec_get available for ISO C11 only as well.
28573 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28575 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28576 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28578 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28580 * configure.in: Use -o not -a in test for unsupported multi-arch.
28582 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28584 * manual/texinfo.tex: Update to version 2012-01-19.16.
28586 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28588 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28590 2012-02-24 Roland McGrath <roland@hack.frob.com>
28593 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28594 * manual/fdl-1.3.texi: New file.
28595 * manual/fdl-1.1.texi: File removed.
28598 * manual/libc.texinfo (FDL_VERSION): New @set.
28599 Use it for mention of FDL in cover text.
28600 (Documentation License): Use it in @include file name.
28602 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28603 Roland McGrath <roland@hack.frob.com>
28606 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28607 not LONG_LONG_MAX and LONG_LONG_MIN.
28608 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28609 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28611 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28613 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28617 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28618 manipulate bits before adding and subtracting TWO23[sx].
28619 * math/libm-test.inc (nearbyint_test): Add more tests.
28621 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28624 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28625 bits before adding and subtracting TWO23[sx].
28626 * math/libm-test.inc (rint_test): Add more tests.
28627 (rint_test_tonearest): Likewise.
28628 (rint_test_towardzero): Likewise.
28629 (rint_test_downward): Likewise.
28630 (rint_test_upward: Likewise.
28632 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28635 * include/stdc-predef.h: New file. Extracted from features.h.
28636 * include/features.h: Include stdc-predef.h.
28637 * Makefile (headers): Add stdc-predef.h.
28638 * CONFORMANCE (Compiler limitations): Update.
28640 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28642 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28644 2012-02-21 David S. Miller <davem@davemloft.net>
28646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28649 2012-02-20 David S. Miller <davem@davemloft.net>
28651 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28652 using a normal save/restore sequence, rather than allocating a
28653 dummy stack frame just to store a frame pointer and restore.
28654 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28656 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28658 * manual/install.texi: Fix stray word in line-wrapped comment.
28660 2012-02-20 David S. Miller <davem@davemloft.net>
28662 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28663 both binutils and gcc support GOTDATA.
28665 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28666 "rd %pc" in the PIC register setup sequences.
28668 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28669 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28670 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28671 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28672 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28677 (SYSCALL_ERROR_HANDLER): Likewise.
28678 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28679 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28680 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28681 (SYSCALL_ERROR_HANDLER): Likewise.
28683 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28684 (HAVE_GCC_GOTDATA): New.
28685 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28686 relocation support in both binutils and gcc.
28687 * sysdeps/sparc/elf/configure: Regenerate.
28689 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28690 * sysdeps/sparc/sparc32/elf/configure: Delete.
28691 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28692 * sysdeps/sparc/sparc64/elf/configure: Delete.
28693 * sysdeps/sparc/elf/configure.in: New file.
28694 * sysdeps/sparc/elf/configure: Generate.
28696 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28697 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28698 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28699 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28700 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28702 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28704 * manual/install.texi: Do not mention specific glibc version
28706 * manual/libc.texinfo (VERSION, UPDATED): Update.
28707 (@copying): Use @copyright{} and range of years.
28709 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28712 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28713 [crti.S not in sysdirs] (generated): Do not append.
28714 [crti.S not in sysdirs] (omit-deps): Likewise.
28715 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28716 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28717 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28718 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28719 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28721 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28722 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28723 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28724 * csu/defs.awk: Remove file.
28725 * sysdeps/generic/initfini.c: Likewise.
28726 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28728 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28731 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28733 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28734 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28735 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28736 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28738 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28740 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28741 (__EPOLL_PACKED): Define to empty if not defined by
28743 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28747 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28749 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28750 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28751 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28752 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28754 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28758 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28760 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28763 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28764 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28767 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28769 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28770 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28772 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28774 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28775 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28777 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28779 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28782 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28784 * math/w_acos.c: Use non-signaling floating-point comparisons.
28785 * math/w_acosf.c: Likewise.
28786 * math/w_acosh.c: Likewise.
28787 * math/w_acoshf.c: Likewise.
28788 * math/w_acoshl.c: Likewise.
28789 * math/w_acosl.c: Likewise.
28790 * math/w_asin.c: Likewise.
28791 * math/w_asinf.c: Likewise.
28792 * math/w_asinl.c: Likewise.
28793 * math/w_atanh.c: Likewise.
28794 * math/w_atanhf.c: Likewise.
28795 * math/w_atanhl.c: Likewise.
28796 * math/w_exp2.c: Likewise.
28797 * math/w_exp2f.c: Likewise.
28798 * math/w_exp2l.c: Likewise.
28799 * math/w_j0.c: Likewise.
28800 * math/w_j0f.c: Likewise.
28801 * math/w_j0l.c: Likewise.
28802 * math/w_j1.c: Likewise.
28803 * math/w_j1f.c: Likewise.
28804 * math/w_j1l.c: Likewise.
28805 * math/w_jn.c: Likewise.
28806 * math/w_jnf.c: Likewise.
28807 * math/w_log.c: Likewise.
28808 * math/w_log10.c: Likewise.
28809 * math/w_log10f.c: Likewise.
28810 * math/w_log10l.c: Likewise.
28811 * math/w_log2.c: Likewise.
28812 * math/w_log2f.c: Likewise.
28813 * math/w_log2l.c: Likewise.
28814 * math/w_logf.c: Likewise.
28815 * math/w_logl.c: Likewise.
28816 * math/w_sqrt.c: Likewise.
28817 * math/w_sqrtf.c: Likewise.
28818 * math/w_sqrtl.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28821 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28822 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28823 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28825 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28828 * manual/string.texi (strnlen): Use correct parameter name in
28829 equivalent expression.
28831 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28834 * manual/users.texi (seteuid): Consistently use neweuid for
28837 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28840 * manual/nss.texi (Services in the NSS configuration): Correct
28841 list of services in example configuration file.
28843 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28846 * manual/arith.texi: Remove statements about negative zero
28847 behaving identically to zero.
28849 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28852 * manual/install.texi: Do not document upgrading from libc5.
28854 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28857 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28859 2012-02-18 David S. Miller <davem@davemloft.net>
28861 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28862 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28863 %o7 across the call.
28864 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28867 SETUP_PIC_REG_LEAF.
28868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28869 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28870 * sysdeps/sparc/crtn.S: Likewise.
28872 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28874 * aout/Makefile: Remove.
28876 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28879 * manual/examples/argp-ex1.c (main): Format definition in GNU
28881 * manual/examples/argp-ex2.c (main): Likewise.
28882 * manual/examples/argp-ex3.c (main): Likewise.
28883 * manual/examples/argp-ex4.c (main): Likewise.
28884 * manual/examples/longopt.c (main): Use new-style prototype
28886 * manual/examples/strncat.c (main): Specify return type and use
28887 (void) for arguments.
28888 * manual/examples/subopt.c (main): Use char **argv argument.
28890 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28893 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28896 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28899 * manual/string.texi (strchr): Change when strchrnul is
28902 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28905 * manual/locale.texi (setlocale): Document LOCPATH.
28907 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28910 * manual/process.texi (execle): Move @dots{} before last argument.
28912 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28915 * manual/charset.texi (Generic Charset Conversion): Fix typo
28916 (LC_TYPE -> LC_CTYPE).
28918 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28921 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28922 (scalbnf): Likewise.
28923 (scalbnl): Likewise.
28924 (scalbln): Likewise.
28925 (scalblnf): Likewise.
28926 (scalblnl): Likewise.
28927 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28928 (vwarnx): Likewise.
28931 * manual/filesys.texi (telldir): Use braces around return type.
28932 * manual/llio.texi (mmap): Add space after comma.
28933 (mmap64): Likewise.
28934 * manual/math.texi (jn): Use @var{} on parameter names.
28940 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28942 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28944 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28945 (sched_get_priority_max): Likewise.
28946 * manual/signal.texi (sigvec): Add space after comma.
28947 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28949 (if_indextoname): Likewise.
28950 (if_freenameindex): Likewise.
28951 (sendto): Use ',' instead of '.' in prototype.
28952 * manual/startup.texi (syscall): Use @dots{} instead of literal
28954 * manual/stdio.texi (__fpending): Separate initial words of
28955 paragraph from @deftypefun line.
28956 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28958 (vsyslog): Use @var{} on parameter names.
28959 * manual/terminal.texi (stty): Use @var{} on parameter names.
28960 * manual/users.texi (getutmp): Use @var{} on parameter names.
28961 (getutmpx): Likewise.
28963 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28966 * manual/stdio.texi (fopen): Fix typos in description of
28969 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28972 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28973 get clock_id definition.
28975 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
28978 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28979 (madvise): Cast every argument to void on its own.
28981 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28984 * manual/startup.texi (Exit Status): Fix typo.
28986 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28989 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28990 * manual/examples/argp-ex2.c: Likewise.
28991 * manual/examples/argp-ex3.c: Likewise.
28993 2012-02-16 Richard Henderson <rth@redhat.com>
28995 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28996 * sysdeps/s390/s390-32/initfini.c: Remove.
28997 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28998 * sysdeps/s390/s390-64/initfini.c: Remove.
29000 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29002 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29003 compiler output for sysdeps/generic/initfini.c.
29004 * sysdeps/sh/elf/initfini.c: Remove file.
29006 2012-02-16 David S. Miller <davem@davemloft.net>
29009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29011 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29012 * sysdeps/sparc/crti.S: New file.
29013 * sysdeps/sparc/crtn.S: New file.
29014 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29015 * sysdeps/sparc/sparc64/Makefile: Likewise.
29017 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29020 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29022 2012-02-15 Roland McGrath <roland@hack.frob.com>
29025 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29027 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29028 (write, read, close): Likewise.
29029 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29031 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29033 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29034 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29035 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29036 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29038 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29042 2012-02-14 Marek Polacek <polacek@redhat.com>
29044 * sysdeps/x86_64/crti.S: New file.
29045 * sysdeps/x86_64/crtn.S: New file.
29046 * sysdeps/x86_64/elf/initfini.c: Remove file.
29048 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29050 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29051 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29052 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29053 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29055 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29059 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29061 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29062 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29063 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29064 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29066 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29070 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29072 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29073 __feraiseexcept instead of feraiseexcept.
29075 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29076 nanosleep invocations.
29077 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29078 strings, and add error checking for a nanosleep invocations.
29080 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29082 Replace FSF snail mail address with URLs, as per GNU coding standards.
29083 Most of the snail mail addresses were wrong anyway, and omitting
29084 them makes the source code easier to maintain. Almost all of the
29085 changes are to license notices and to locale LC_IDENTIFICATION
29086 addresses, except for this one:
29087 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29088 not its snail mail address.
29090 2012-02-09 Richard Henderson <rth@twiddle.net>
29092 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29093 of kernel-features.h.
29095 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29097 2012-02-08 Marek Polacek <polacek@redhat.com>
29099 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29100 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29101 * sysdeps/gnu/_G_config.h: Likewise.
29102 * sysdeps/generic/_G_config.h: Likewise.
29104 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29106 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29110 * sysdeps/powerpc/powerpc32/crti.S: New file.
29111 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29112 * sysdeps/powerpc/powerpc64/crti.S: New file.
29113 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29115 * Makeconfig (have-initfini): Don't set.
29116 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29117 * configure.in (nopic_initfini): Don't substitute.
29118 * config.h.in (HAVE_INITFINI): Don't #undef.
29119 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29120 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29122 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29124 Support crti.S and crtn.S provided directly by architectures.
29125 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29126 [crti.S in sysdirs] (omit-deps): Likewise.
29127 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29128 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29129 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29130 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29131 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29132 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29133 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29134 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29135 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29136 compiler output for sysdeps/generic/initfini.c.
29137 * sysdeps/i386/elf/Makefile: Remove file.
29138 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29140 2012-02-07 Marek Polacek <polacek@redhat.com>
29142 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29143 * sysdeps/gnu/_G_config.h: Likewise.
29144 * sysdeps/mach/hurd/_G_config.h: Likewise.
29146 2012-02-07 Marek Polacek <polacek@redhat.com>
29148 * math/Makefile (tests): Add tst-CMPLX2.
29149 * math/tst-CMPLX2.c: New file.
29151 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29153 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29155 * math/libm-test.inc (jn_test): Add missing L suffix.
29157 2012-02-06 Marek Polacek <polacek@redhat.com>
29159 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29160 * sysdeps/i386/fpu/e_powf.S: Likewise.
29161 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29162 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29163 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29164 * sysdeps/i386/fpu/e_pow.S: Likewise.
29165 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29166 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29167 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29168 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29169 * sysdeps/i386/fpu/e_log2.S: Likewise.
29170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29172 * sysdeps/i386/fpu/e_powl.S: Likewise.
29173 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29174 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29175 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29176 * sysdeps/i386/fpu/e_logl.S: Likewise.
29177 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29178 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29179 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29180 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29181 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29182 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29183 * sysdeps/i386/fpu/e_log.S: Likewise.
29184 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29185 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29186 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29187 * sysdeps/i386/fpu/e_logf.S: Likewise.
29188 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29189 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29190 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29191 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29192 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29193 * sysdeps/i386/fpu/e_log10.S: Likewise.
29194 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29195 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29196 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29197 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29198 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29199 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29200 * sysdeps/i386/asm-syntax.h: Likewise.
29201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29203 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29204 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29205 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29206 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29207 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29208 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29209 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29210 * sysdeps/powerpc/sysdep.h: Likewise.
29211 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29212 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29214 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29217 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29219 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29221 * sysdeps/i386/sysdep.h: Include <features.h>.
29222 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29225 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29227 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29229 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29232 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29234 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29235 (SETUP_PIC_REG): Use GET_PC_THUNK.
29236 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29239 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29241 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29242 for non-PIC compilation.
29243 (SETUP_PIC_REG): Add .p2align directive.
29244 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29245 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29246 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29247 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29248 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29249 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29250 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29251 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29252 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29253 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29254 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29255 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29256 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29257 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29258 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29259 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29260 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29261 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29262 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29263 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29264 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29266 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29267 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29270 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29272 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29273 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29274 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29275 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29276 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29277 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29278 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29279 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29280 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29281 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29282 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29283 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29284 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29286 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29288 * math/tst-CMPLX.c: Include <stdio.h>.
29290 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29292 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29294 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29295 * sysdeps/sparc/bits/mathdef.h: Likewise.
29297 2012-01-31 Marek Polacek <polacek@redhat.com>
29299 * libio/libio.h: Don't define _PARAMS.
29300 * locale/programs/config.h: Don't define PARAMS.
29301 * stdlib/strtol_l.c: Likewise.
29302 (__strtol_l): Remove PARAMS from the prototype.
29304 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29306 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29307 names. Just use the correct names. Remove unnecessary wrapper
29309 * malloc/arena.c: Likewise.
29310 * malloc/hooks.c: Likewise.
29312 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29313 ARENA_TEST says not to. Simplify test for creation of a new arena.
29314 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29316 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29318 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29320 (update_get_addr): New function.
29321 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29322 GET_ADDR_MODULE parameter.
29324 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29326 * crypt/cert.c: Remove __STDC__ conditionals.
29327 * crypt/crypt-entry.c: Likewise.
29328 * crypt/crypt_util.c: Likewise.
29329 * libio/filedoalloc.c: Likewise.
29330 * libio/fileops.c: Likewise.
29331 * libio/genops.c: Likewise.
29332 * libio/iofclose.c: Likewise.
29333 * libio/iofdopen.c: Likewise.
29334 * libio/iofopen.c: Likewise.
29335 * libio/iofopen64.c: Likewise.
29336 * libio/iogetdelim.c: Likewise.
29337 * libio/iopopen.c: Likewise.
29338 * libio/obprintf.c: Likewise.
29339 * libio/oldfileops.c: Likewise.
29340 * libio/oldiofclose.c: Likewise.
29341 * libio/oldiofdopen.c: Likewise.
29342 * libio/oldiofopen.c: Likewise.
29343 * libio/oldiopopen.c: Likewise.
29344 * libio/wfiledoalloc.c: Likewise.
29345 * libio/wgenops.c: Likewise.
29346 * locale/programs/xmalloc.c: Likewise.
29347 * misc/syslog.c: Likewise.
29348 * stdio-common/xbug.c: Likewise.
29349 * string/memchr.c: Likewise.
29350 * string/memcmp.c: Likewise.
29351 * string/memrchr.c: Likewise.
29352 * string/rawmemchr.c: Likewise.
29353 * sysdeps/posix/getcwd.c: Likewise.
29354 * time/strftime_l.c: Likewise.
29356 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29358 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29359 * config.make.in (config-cflags-sse2avx): Define.
29360 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29363 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29365 * scripts/config.guess: Update from upstream config git repository.
29366 * scripts/config.sub: Likewise.
29368 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29370 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29372 (R_TILEPRO_*, R_TILEGX_*): New macros.
29374 * scripts/firstversions.awk: Fix bug in version range handling.
29376 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29378 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29380 * include/sys/epoll.h: New file.
29381 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29384 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29386 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29387 Avoid unnecessary __WORDSIZE == 64 test.
29388 (fmaxf): Use VEX format if possible.
29393 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29394 * math/math_private.h: Remove libc_fegetround* and
29396 * sysdeps/i386/configure.in: Check for -msse2avx.
29397 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29398 also if SSE2AVX is defined.
29399 Remove libc_fegetround* and libc_fesetround*.
29400 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29401 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29405 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29406 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29408 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29410 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29412 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29414 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29416 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29418 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29421 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29423 * Makeconfig (libm): Define.
29424 * elf/Makefile: Add rules to build and run tst-relsort1.
29425 * elf/tst-relsort1.c: New file.
29426 * elf/tst-relsort1mod1.c: New file.
29427 * elf/tst-relsort1mod2.c: New file.
29429 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29431 * math/s_ldexp.c: Remove __STDC__ conditionals.
29432 * math/s_ldexpf.c: Likewise.
29433 * math/s_ldexpl.c: Likewise.
29434 * math/s_nextafter.c: Likewise.
29435 * math/s_nexttowardf.c: Likewise.
29436 * math/s_significand.c: Likewise.
29437 * math/s_significandf.c: Likewise.
29438 * math/s_significandl.c: Likewise.
29439 * math/w_jnl.c: Likewise.
29440 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29441 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29442 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29443 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29444 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29446 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29447 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29448 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29449 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29450 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29452 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29453 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29454 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29455 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29456 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29457 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29458 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29459 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29460 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29461 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29462 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29463 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29464 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29465 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29468 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29469 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29470 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29471 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29472 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29473 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29474 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29475 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29476 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29477 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29478 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29479 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29480 * sysdeps/ieee754/k_standard.c: Likewise.
29481 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29485 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29490 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29497 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29500 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29502 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29512 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29515 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29516 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29517 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29518 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29519 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29520 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29521 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29523 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29524 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29525 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29526 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29528 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29529 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29530 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29531 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29535 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29537 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29539 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29540 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29541 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29542 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29543 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29544 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29545 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29546 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29547 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29548 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29549 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29550 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29551 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29552 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29553 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29556 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29557 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29558 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29559 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29560 * sysdeps/ieee754/s_matherr.c: Likewise.
29561 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29562 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29566 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29568 * crypt/md5.h: Remove __STDC__ conditionals.
29569 * libio/libioP.h: Likewise.
29570 * locale/programs/config.h: Likewise.
29571 * sysdeps/generic/sysdep.h: Likewise.
29572 * sysdeps/i386/asm-syntax.h: Likewise.
29573 * sysdeps/s390/asm-syntax.h: Likewise.
29574 * sysdeps/unix/sysdep.h: Likewise.
29575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29578 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29580 * libio/libio.h: Remove __STDC__ conditionals.
29581 * malloc/obstack.h: Likewise.
29582 * math/complex.h: Likewise.
29583 * math/math.h: Likewise.
29584 * sysdeps/generic/_G_config.h: Likewise.
29585 * sysdeps/gnu/_G_config.h: Likewise.
29586 * sysdeps/mach/hurd/_G_config.h: Likewise.
29587 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29588 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29589 * sysdeps/sparc/bits/mathdef.h: Likewise.
29591 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29594 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29595 Clean up HAS_* macros.
29596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29597 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29601 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29602 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29603 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29604 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29605 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29607 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29609 * elf/tst-unique3.cc (gets): Remove declaration.
29610 * elf/tst-unique3lib.cc (gets): Likewise.
29611 * elf/tst-unique3lib2.cc (gets): Likewise.
29612 * elf/tst-unique4.cc (gets): Likewise.
29614 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29616 * include/stdio.h: Add C++ protection. Add gets declarations and
29618 * debug/tst-chk1.c: Don't declare gets here.
29619 * stdio-common/tst-gets.c: Likewise.
29621 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29623 * posix/glob: Remove directory.
29625 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29627 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29629 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29631 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29632 of the non-standard EPFNOSUPPORT.
29634 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29636 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29637 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29638 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29640 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29642 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29644 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29646 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29648 * nscd/grpcache.c (cache_addgr): Likewise.
29649 * nscd/hstcache.c (cache_addhst): Likewise.
29650 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29651 * nscd/pwdcache.c (cache_addpw): Likewise.
29652 * nscd/servicescache.c (cache_addserv): Likewise.
29654 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29656 * malloc/malloc.c: Various cleanups.
29657 * malloc/hooks.c: Likewise.
29659 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29660 * stdlib/bug-fmtmsg1.c: New file.
29662 * stdlib/fmtmsg.c (init): Add missing unlock.
29663 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29665 2012-01-12 Marek Polacek <polacek@redhat.com>
29667 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29670 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29672 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29673 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29674 macro to ensure uniqueness of label name.
29675 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29676 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29678 2012-01-11 Ulrich Drepper <drepper@gmail.com>
29680 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29682 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29683 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29684 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29687 2012-01-10 Ulrich Drepper <drepper@gmail.com>
29689 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29691 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29692 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29693 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29695 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29697 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29698 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29699 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29702 * math/bits/math-finite.h: Add ldexp support.
29704 2012-01-10 Marek Polacek <polacek@redhat.com>
29706 * locale/programs/localedef.h (show_archive_content): Add noreturn
29709 2012-01-09 Ulrich Drepper <drepper@gmail.com>
29711 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29713 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29715 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29717 * io/Makefile (headers): Add bits/poll2.h.
29719 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29722 typo #include statement.
29724 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29726 * include/sys/cdefs.h: Define __attribute_alloc_size.
29727 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29728 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29729 * elf/pldd.c: Likewise.
29730 * iconv/iconv_charmap.c: Likewise.
29731 * iconv/iconvconfig.c: Likewise.
29732 * iconv/strtab.c: Likewise.
29733 * locale/programs/locale.c: Likewise.
29734 * locale/programs/localedef.h: Likewise.
29735 * locale/programs/simple-hash.c: Likewise.
29736 * nscd/nscd.h: Likewise.
29737 * nss/makedb.c: Likewise.
29738 * sysdeps/generic/ldconfig.h: Likewise.
29739 * locale/programs/localedef.c: Remove xmalloc prototype.
29740 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29742 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29744 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29747 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29749 * math/Makefile (tests): Add tst-CMPLX.
29750 * math/tst-CMPLX.c: New file.
29752 * math/complex.h (CMPLXL): Fix typo.
29754 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29755 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29757 * debug/tst-chk1.c: Add poll and ppoll tests.
29758 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29759 * include/sys/poll.h: Add hidden proto for ppoll.
29760 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29761 * sysdeps/mach/hurd/ppoll.c: Likewise.
29762 * io/ppoll.c: Likewise.
29763 * debug/poll_chk.c: New file.
29764 * debug/ppoll_chk.c: New file.
29765 * include/bits/poll2.h: New file.
29766 * io/bits/poll2.h: New file.
29769 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29771 * configure.in: static is always set to yes. Remove.
29772 * config.make.in: Don't set build-static.
29773 * Makeconfig: Remove use of build-static.
29774 * dlfcn/Makefile: Likewise.
29775 * elf/Makefile: Likewise.
29776 * math/Makefile: Likewise.
29777 * misc/Makefile: Likewise.
29778 * nptl/Makefile: Likewise.
29779 * sysdeps/mach/hurd/Makefile: Likewise.
29781 * configure.in: PWD_P is not used anymore.
29782 * config.make.in: Remove PWD_P entry.
29784 * configure.in: Remove last remnants of RANLIB.
29785 No need to check for signed size_t anymore.
29786 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29788 Remove __builtin_expect test because we require at least gcc 3.4.
29789 * aclocal.m4: Likewise.
29791 * wcsmbs/mbrtoc16.c: Implement using towc function.
29792 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29793 * wcsmbs/wcsmbsload.c: Likewise.
29794 * iconv/gconv_simple.c: Likewise.
29795 * iconv/gconv_int.h: Likewise.
29796 * iconv/gconv_builtin.h: Likewise.
29797 * iconv/iconv_prog.c: Remove CHAR16 handling.
29799 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29801 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29803 * configure.in: Remove --with-elf and --enable-bounded options.
29804 Dont set base_machine for ia64. More non-ELF conditions removed.
29805 Remove testing and setting of leading underscore information.
29806 * config.make.in (build-bounded): Set to no.
29807 * config.h.in: Remove NO_UNDERSCORES entry.
29808 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29810 * csu/start.c: Remove !NO_UNDERSCORE code.
29811 * locale/localeinfo.h: Likewise.
29812 * sysdeps/generic/machine-gmon.h: Likewise.
29813 * sysdeps/generic/sysdep.h: Likewise.
29814 * sysdeps/i386/sysdep.h: Likewise.
29815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29816 * sysdeps/mach/sysdep.h: Likewise.
29817 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29819 * sysdeps/sh/sysdep.h: Likewise.
29820 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29821 * sysdeps/unix/i386/sysdep.S: Likewise.
29822 * sysdeps/unix/sparc/start.c: Likewise.
29823 * sysdeps/unix/sparc/sysdep.S: Likewise.
29824 * sysdeps/unix/sparc/sysdep.h: Likewise.
29825 * sysdeps/unix/start.c: Likewise.
29826 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29827 * sysdeps/x86_64/sysdep.h: Likewise.
29829 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29832 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29834 * argp/argp-fmtstream.h: Use const instead __const.
29835 * argp/argp.h: Likewise.
29836 * assert/assert.h: Likewise.
29837 * bits/fenv.h: Likewise.
29838 * bits/sched.h: Likewise.
29839 * bits/sigset.h: Likewise.
29840 * bits/sigthread.h: Likewise.
29841 * catgets/nl_types.h: Likewise.
29842 * conform/data/pthread.h-data: Likewise.
29843 * crypt/crypt-private.h: Likewise.
29844 * crypt/crypt.h: Likewise.
29845 * crypt/crypt_util.c: Likewise.
29846 * ctype/ctype.h: Likewise.
29847 * debug/execinfo.h: Likewise.
29848 * debug/mbsnrtowcs_chk.c: Likewise.
29849 * debug/mbsrtowcs_chk.c: Likewise.
29850 * debug/wcsnrtombs_chk.c: Likewise.
29851 * debug/wcsrtombs_chk.c: Likewise.
29852 * debug/wcstombs_chk.c: Likewise.
29853 * dirent/dirent.h: Likewise.
29854 * dlfcn/dlfcn.h: Likewise.
29855 * elf/neededtest4.c: Likewise.
29856 * grp/grp.h: Likewise.
29857 * gshadow/gshadow.h: Likewise.
29858 * iconv/gconv.h: Likewise.
29859 * iconv/gconv_int.h: Likewise.
29860 * iconv/gconv_simple.c: Likewise.
29861 * iconv/iconv.h: Likewise.
29862 * iconv/loop.c: Likewise.
29863 * iconv/skeleton.c: Likewise.
29864 * include/aio.h: Likewise.
29865 * include/aliases.h: Likewise.
29866 * include/argz.h: Likewise.
29867 * include/arpa/inet.h: Likewise.
29868 * include/assert.h: Likewise.
29869 * include/dirent.h: Likewise.
29870 * include/dlfcn.h: Likewise.
29871 * include/execinfo.h: Likewise.
29872 * include/fcntl.h: Likewise.
29873 * include/fenv.h: Likewise.
29874 * include/glob.h: Likewise.
29875 * include/grp.h: Likewise.
29876 * include/libintl.h: Likewise.
29877 * include/mntent.h: Likewise.
29878 * include/netdb.h: Likewise.
29879 * include/pwd.h: Likewise.
29880 * include/rpc/netdb.h: Likewise.
29881 * include/sched.h: Likewise.
29882 * include/search.h: Likewise.
29883 * include/shadow.h: Likewise.
29884 * include/signal.h: Likewise.
29885 * include/stdio.h: Likewise.
29886 * include/stdlib.h: Likewise.
29887 * include/string.h: Likewise.
29888 * include/sys/socket.h: Likewise.
29889 * include/sys/stat.h: Likewise.
29890 * include/sys/statfs.h: Likewise.
29891 * include/sys/statvfs.h: Likewise.
29892 * include/sys/syslog.h: Likewise.
29893 * include/sys/time.h: Likewise.
29894 * include/sys/uio.h: Likewise.
29895 * include/time.h: Likewise.
29896 * include/unistd.h: Likewise.
29897 * include/utmp.h: Likewise.
29898 * include/wchar.h: Likewise.
29899 * include/wctype.h: Likewise.
29900 * inet/aliases.h: Likewise.
29901 * inet/arpa/inet.h: Likewise.
29902 * inet/netinet/ether.h: Likewise.
29903 * inet/netinet/in.h: Likewise.
29904 * intl/libintl.h: Likewise.
29905 * io/bits/fcntl2.h: Likewise.
29906 * io/fcntl.h: Likewise.
29907 * io/ftw.h: Likewise.
29908 * io/sys/poll.h: Likewise.
29909 * io/sys/stat.h: Likewise.
29910 * io/sys/statfs.h: Likewise.
29911 * io/sys/statvfs.h: Likewise.
29912 * io/utime.h: Likewise.
29913 * libio/bits/stdio.h: Likewise.
29914 * libio/bits/stdio2.h: Likewise.
29915 * libio/libio.h: Likewise.
29916 * libio/libioP.h: Likewise.
29917 * libio/stdio.h: Likewise.
29918 * locale/lc-ctype.c: Likewise.
29919 * locale/locale.h: Likewise.
29920 * login/utmp.h: Likewise.
29921 * malloc/arena.c: Likewise.
29922 * malloc/malloc.c: Likewise.
29923 * malloc/malloc.h: Likewise.
29924 * malloc/mcheck.c: Likewise.
29925 * malloc/mtrace.c: Likewise.
29926 * math/bits/mathcalls.h: Likewise.
29927 * math/fenv.h: Likewise.
29928 * math/math_private.h: Likewise.
29929 * misc/bits/error.h: Likewise.
29930 * misc/bits/syslog.h: Likewise.
29931 * misc/err.h: Likewise.
29932 * misc/error.h: Likewise.
29933 * misc/fstab.h: Likewise.
29934 * misc/mntent.h: Likewise.
29935 * misc/regexp.h: Likewise.
29936 * misc/search.h: Likewise.
29937 * misc/sgtty.h: Likewise.
29938 * misc/sys/mman.h: Likewise.
29939 * misc/sys/syslog.h: Likewise.
29940 * misc/sys/uio.h: Likewise.
29941 * misc/sys/xattr.h: Likewise.
29942 * misc/ttyent.h: Likewise.
29943 * nis/rpcsvc/ypclnt.h: Likewise.
29944 * nss/nss.h: Likewise.
29945 * posix/bits/unistd.h: Likewise.
29946 * posix/fnmatch.h: Likewise.
29947 * posix/glob.h: Likewise.
29948 * posix/sched.h: Likewise.
29949 * posix/spawn.h: Likewise.
29950 * posix/sys/wait.h: Likewise.
29951 * posix/unistd.h: Likewise.
29952 * posix/wordexp.h: Likewise.
29953 * pwd/pwd.h: Likewise.
29954 * resolv/netdb.h: Likewise.
29955 * resource/sys/resource.h: Likewise.
29956 * rt/aio.h: Likewise.
29957 * rt/bits/mqueue2.h: Likewise.
29958 * rt/mqueue.h: Likewise.
29959 * shadow/shadow.h: Likewise.
29960 * signal/signal.h: Likewise.
29961 * socket/send.c: Likewise.
29962 * socket/sendto.c: Likewise.
29963 * socket/sys/socket.h: Likewise.
29964 * stdio-common/printf.h: Likewise.
29965 * stdlib/bits/stdlib.h: Likewise.
29966 * stdlib/fmtmsg.h: Likewise.
29967 * stdlib/monetary.h: Likewise.
29968 * stdlib/stdlib.h: Likewise.
29969 * stdlib/ucontext.h: Likewise.
29970 * streams/stropts.h: Likewise.
29971 * string/argz.h: Likewise.
29972 * string/bits/string2.h: Likewise.
29973 * string/string.h: Likewise.
29974 * string/strings.h: Likewise.
29975 * sunrpc/rpc/auth.h: Likewise.
29976 * sunrpc/rpc/auth_des.h: Likewise.
29977 * sunrpc/rpc/clnt.h: Likewise.
29978 * sunrpc/rpc/netdb.h: Likewise.
29979 * sunrpc/rpc/pmap_clnt.h: Likewise.
29980 * sunrpc/rpc/xdr.h: Likewise.
29981 * sysdeps/generic/inttypes.h: Likewise.
29982 * sysdeps/generic/net/if.h: Likewise.
29983 * sysdeps/generic/sys/swap.h: Likewise.
29984 * sysdeps/gnu/net/if.h: Likewise.
29985 * sysdeps/gnu/utmpx.h: Likewise.
29986 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29987 * sysdeps/i386/i486/bits/string.h: Likewise.
29988 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29989 * sysdeps/s390/bits/string.h: Likewise.
29990 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29991 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29992 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29993 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29994 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29995 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29996 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29997 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29998 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29999 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30000 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30001 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30002 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30003 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30004 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30005 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30006 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30008 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30011 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30012 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30013 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30014 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30015 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30016 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30018 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30019 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30020 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30021 * sysvipc/sys/ipc.h: Likewise.
30022 * sysvipc/sys/msg.h: Likewise.
30023 * sysvipc/sys/sem.h: Likewise.
30024 * sysvipc/sys/shm.h: Likewise.
30025 * termios/termios.h: Likewise.
30026 * time/sys/time.h: Likewise.
30027 * time/time.h: Likewise.
30028 * wcsmbs/bits/wchar2.h: Likewise.
30029 * wcsmbs/uchar.h: Likewise.
30030 * wcsmbs/wchar.h: Likewise.
30031 * wctype/wctype.h: Likewise.
30034 * Makeconfig: Remove all but ELF support including AIX support.
30035 * Makerules: Likewise.
30036 * config.h.in: Likewise.
30037 * config.make.in: Likewise.
30038 * configure: Likewise.
30039 * configure.in: Likewise.
30040 * csu/Makefile: Likewise.
30041 * csu/version.c: Likewise.
30042 * debug/Makefile: Likewise.
30043 * dlfcn/Makefile: Likewise.
30044 * elf/Makefile: Likewise.
30045 * extra-lib.mk: Likewise.
30046 * iconv/Makefile: Likewise.
30047 * include/libc-symbols.h: Likewise.
30048 * include/shlib-compat.h: Likewise.
30049 * resolv/Makefile: Likewise.
30050 * resolv/res_libc.c: Likewise.
30051 * rt/Makefile: Likewise.
30052 * sysdeps/i386/asm-syntax.h: Likewise.
30053 * sysdeps/i386/sysdep.h: Likewise.
30054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30055 * sysdeps/mach/sysdep.h: Likewise.
30056 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30057 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30058 * sysdeps/s390/asm-syntax.h: Likewise.
30059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30061 * sysdeps/sh/sysdep.h: Likewise.
30062 * sysdeps/unix/sparc/sysdep.h: Likewise.
30063 * sysdeps/wordsize-32/divdi3.c: Likewise.
30064 * sysdeps/x86_64/sysdep.h: Likewise.
30066 * argp/Versions: Remove _argp_unlock_xxx.
30069 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30070 * abilist/libBrokenLocale.abilist: Likewise.
30071 * abilist/libanl.abilist: Likewise.
30072 * abilist/libc.abilist: Likewise.
30073 * abilist/libcrypt.abilist: Likewise.
30074 * abilist/libdl.abilist: Likewise.
30075 * abilist/libm.abilist: Likewise.
30076 * abilist/libnsl.abilist: Likewise.
30077 * abilist/libpthread.abilist: Likewise.
30078 * abilist/libresolv.abilist: Likewise.
30079 * abilist/librt.abilist: Likewise.
30080 * abilist/libthread_db.abilist: Likewise.
30081 * abilist/libutil.abilist: Likewise.
30082 * abilist/libnss_db.abilist: New file.
30084 * scripts/abilist.awk: Add support for indirect functions.
30086 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30088 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30090 * shlib-versions: Remove entries for ports architectures.
30092 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30094 * elf/stackguard-macros.h: Remove support for IA-64.
30095 * elf/tst-auditmod1.c: Likewise.
30096 * sysdeps/generic/ldsodefs.h: Likewise.
30098 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30099 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30103 * configure.in: Remove --enable-omitfp support.
30105 * config.make.in: Likewise.
30106 * Makeconfig: Likewise.
30107 * manual/install.texi: Likewise.
30109 In case anyone cares, the IA-64 architecture could move to ports.
30110 * sysdeps/ia64/*: Removed.
30111 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30112 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30115 * configure.in: Remove entries for unsupported architectures.
30118 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30119 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30121 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30122 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30123 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30124 fall back to using wcrtomb.
30125 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30126 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30128 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30129 * wcsmbs/tst-c16c32-1.c: New file.
30131 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30134 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30136 * elf/tst-unique3.cc: Add explicit declaration of gets.
30137 * elf/tst-unique3lib.cc: Likewise.
30138 * elf/tst-unique3lib2.cc: Likewise.
30139 * elf/tst-unique4.cc: Likewise.
30141 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30143 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30146 * assert/assert.h (static_assert): Don't define for C++.
30147 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30148 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30150 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30152 * iconv/loop.c (single loop): Fix assertion in storing of
30155 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30157 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30159 * posix/getconf.c: Update copyright year.
30160 * nss/getent.c: Likewise.
30161 * nss/makedb.c: Likewise.
30162 * iconv/iconvconfig.c: Likewise.
30163 * iconv/iconv_prog.c: Likewise.
30164 * elf/ldconfig.c: Likewise.
30165 * elf/pldd.c: Likewise.
30166 * elf/sotruss.ksh: Likewise.
30167 * catgets/gencat.c: Likewise.
30168 * csu/version.c: Likewise.
30169 * elf/ldd.bash.in: Likewise.
30170 * elf/sprof.c (print_version): Likewise.
30171 * locale/programs/locale.c: Likewise.
30172 * locale/programs/localedef.c: Likewise.
30173 * login/programs/pt_chown.c: Likewise.
30174 * nscd/nscd.c (print_version): Likewise.
30175 * debug/xtrace.sh: Likewise.
30176 * malloc/memusage.sh: Likewise.
30177 * malloc/mtrace.pl: Likewise.
30178 * debug/catchsegv.sh: Likewise.
30180 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30182 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30185 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30188 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30189 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30191 * iconv/gconv_int.h: Likewise.
30192 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30193 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30194 from libc for GLIBC_2.16.
30195 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30196 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30197 * wcsmbs/uchar.h: Really define mbstate_t.
30198 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30199 * wcsmbs/c16rtomb.c: New file.
30200 * wcsmbs/mbrtoc16.c: New file.
30201 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30202 for C/POSIX locale.
30203 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30204 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30206 * wcsmbs/wchar.h: Add missing __restrict.
30208 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30211 * time/Makefile (routines): Add timespec_get.
30212 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30213 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30214 timespec for ISO C11.
30215 * time/timespec_get.c: New file.
30216 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30217 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30220 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30221 * stdlib/stdlib.h: Declare aligned_alloc.
30222 * Versions.def: Add GLIBC_2.16 for libc.
30223 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30226 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30229 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30233 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30236 * assert/assert.h (static_assert): Define.
30238 * version.h: Update for 2.16 development version.
30241 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30244 * version.h (RELEASE): Bump for 2.15 release.
30245 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30247 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30248 Patch by Marek Polacek <mpolacek@redhat.com>.
30250 * bits/byteswap.h: Protect long long constants with __extension__.
30251 * sysdeps/i386/bits/byteswap.h: Likewise.
30252 * sysdeps/ia64/bits/byteswap.h: Likewise.
30253 * sysdeps/s390/bits/byteswap.h: Likewise.
30254 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30256 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30260 destination buffer.
30261 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30263 2011-12-23 Marek Polacek <polacek@redhat.com>
30265 * elf/dl-addr.c (determine_info): Add inline keyword.
30266 * elf/tst-auditmod4b.c (check_avx): Likewise.
30267 * elf/tst-auditmod6b.c (check_avx): Likewise.
30268 * elf/tst-auditmod6c.c (check_avx): Likewise.
30269 * elf/tst-auditmod7b.c (check_avx): Likewise.
30271 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30273 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30276 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30279 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30280 processing for last bytes.
30282 2011-08-06 Bruno Haible <bruno@clisp.org>
30285 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30286 U+0385, not to U+1FEE.
30289 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30290 entry for U+00A5 U+0301.
30292 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30295 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30296 buffer for the output is too small.
30298 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30302 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30303 SSE flags if possible.
30305 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30309 processing for last bytes.
30311 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30313 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30314 (syscall-list-default-options, syscall-list-default-condition)
30315 (syscall-list-includes): Define.
30316 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30317 list of ABIs and options and #if conditions for each ABI. Do not
30318 handle common syscalls between ABIs specially.
30319 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30321 (syscall-list-variants, syscall-list-32bit-options)
30322 (syscall-list-32bit-condition, syscall-list-64bit-options)
30323 (syscall-list-64bit-condition): Define.
30324 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30325 (syscall-list-variants, syscall-list-32bit-options)
30326 (syscall-list-32bit-condition, syscall-list-64bit-options)
30327 (syscall-list-64bit-condition): Define.
30328 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30330 (syscall-list-variants, syscall-list-32bit-options)
30331 (syscall-list-32bit-condition, syscall-list-64bit-options)
30332 (syscall-list-64bit-condition): Define.
30333 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30335 (syscall-list-variants, syscall-list-32bit-options)
30336 (syscall-list-32bit-condition, syscall-list-64bit-options)
30337 (syscall-list-64bit-condition): Define.
30339 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30341 * locale/iso-639.def: Add brx entry.
30344 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30345 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30347 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30348 __feraiseexcept_renamed.
30350 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30353 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30354 EPOLLET with unsigned values.
30355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30356 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30358 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30359 to large cancellation.
30360 * math/s_cacoshf.c: Likewise.
30361 * math/s_cacoshl.c: Likewise.
30363 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30367 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30368 * math/s_cacoshf.c: Likewise.
30369 * math/s_cacoshl.c: Likewise.
30371 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30374 * iconv/gconv.h: Define __GCONV_SWAP.
30375 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30376 * iconvdata/utf-16.c: Likewise.
30377 * iconvdata/utf-32.c: Likewise.
30379 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30383 numerator after shifting it by one limb.
30385 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30388 under [__USE_EXTERN_INLINES].
30390 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30393 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30395 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30397 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30398 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30400 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30401 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30402 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30403 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30404 for strncasecmp/strncasecmp_l compilation.
30405 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30406 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30408 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30411 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30414 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30417 * time/tzfile.c (__tzfile_read): Check values from file header.
30419 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30421 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30422 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30423 * powerpc/powerpc32/dl-start.S: Likewise.
30424 * powerpc/powerpc32/elf/start.S: Likewise.
30425 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30426 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30427 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30428 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30429 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30430 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30431 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30432 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30433 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30434 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30435 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30436 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30437 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30438 * powerpc/powerpc32/memset.S: Likewise.
30439 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30440 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30441 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30442 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30443 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30444 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30445 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30446 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30447 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30448 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30449 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30450 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30451 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30453 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30455 * math/libm-test.inc: Added more nearbyint tests.
30456 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30461 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30463 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30466 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30468 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30469 Add wcscpy-ssse3 wcscpy-c.
30470 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30471 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30472 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30473 * sysdeps/x86_64/wcschr.S: New file.
30474 * sysdeps/x86_64/wcsrchr.S: New file.
30475 * string/test-strcmp.c: Remove checking of wcscmp function for
30477 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30478 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30479 wcsrchr-sse2 wcsrchr-c.
30480 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30481 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30482 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30483 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30484 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30485 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30486 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30487 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30488 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30489 * wcsmbc/wcschr.c (WCSCHR): New macro.
30491 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30493 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30494 * wcsmbs/test-wcsrchr.c: New file.
30495 * string/test-strrchr.c: Add wcsrchr support.
30497 * wcsmbs/test-wcscpy.c: New file.
30498 * string/test-strcpy.c: Add wcscpy support.
30501 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30503 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30506 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30509 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30511 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30513 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30514 Minor optimizations.
30516 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30517 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30518 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30520 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30522 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30523 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30524 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30525 for gcc to avoid warnings.
30526 * inet/Makefile (tests): Add tst-checks.
30527 * inet/tst-checks.c: New file.
30529 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30532 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30535 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30536 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30538 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30540 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30542 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30545 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30547 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30549 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30550 conditional on GCC version.
30551 (__arch_compare_and_exchange_val_8_acq)
30552 (__arch_compare_and_exchange_val_16_acq)
30553 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30554 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30555 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30557 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30559 * sysdeps/sh/backtrace.c: New file.
30561 2011-12-02 Andreas Schwab <schwab@redhat.com>
30563 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30566 2011-12-01 Andreas Schwab <schwab@redhat.com>
30568 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30569 falling back to utime.
30571 2011-11-30 Andreas Schwab <schwab@redhat.com>
30573 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30574 expectations for float.
30576 2011-11-29 Andreas Schwab <schwab@redhat.com>
30578 * locale/weight.h (findidx): Add parameter len.
30579 * locale/weightwc.h (findidx): Likewise.
30580 * posix/fnmatch_loop.c (FCT): Adjust caller.
30581 * posix/regcomp.c (build_equiv_class): Likewise.
30582 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30583 * posix/regexec.c (check_node_accept_bytes): Likewise.
30584 * string/strcoll_l.c (STRCOLL): Likewise.
30585 * string/strxfrm_l.c (STRXFRM): Likewise.
30587 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30589 * Makefile.in: Remove CVSOPT handling.
30590 * configure.in: Remove use of AC_REVISION.
30591 * iconvdata/Makefile (distribute): No need to filter out CVS.
30592 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30595 2011-11-16 Andreas Schwab <schwab@redhat.com>
30597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30598 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30599 [USE_AS_STRNCASECMP_L]: Likewise.
30600 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30601 NO_TLS_DIRECT_SEG_REFS.
30602 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30603 Fix argument offsets for non-PIC.
30604 [USE_AS_STRNCASECMP_L]: Likewise.
30605 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30606 NO_TLS_DIRECT_SEG_REFS.
30608 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30610 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30612 * locale/loadlocale.c (_nl_load_locale): Likewise.
30614 2011-11-15 Andreas Schwab <schwab@redhat.com>
30616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30617 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30618 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30619 (SYSCALL_GETTIME): Set errno on error.
30621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30622 count references to noai6ai_cached.
30624 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30626 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30628 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30629 FD_CLOEXEC for /proc/self/maps.
30631 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30632 FD_CLOEXEC for /proc/meminfo.
30634 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30637 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30638 FD_CLOEXEC for given file.
30640 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30642 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30643 FD_CLOEXEC for /etc/hosts.
30644 (_gethtent): Likewise.
30646 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30648 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30649 cancellation and set FD_CLOEXEC for /etc/netgroup.
30651 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30652 reading /etc/publickey.
30654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30655 allow cancellation when reading /etc/group.
30657 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30659 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30661 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30662 when using data file.
30664 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30666 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30667 (write_nis_obj): Use "c" and "e" in fopen.
30669 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30671 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30673 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30675 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30677 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30680 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30682 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30684 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30686 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30687 file parsing and set FD_CLOEXEC.
30689 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30691 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30693 2011-11-14 Andreas Schwab <schwab@redhat.com>
30695 * malloc/arena.c (arena_get2): Don't call reused_arena when
30696 _int_new_arena failed.
30698 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30700 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30701 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30702 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30703 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30705 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30706 to compile strcasecmp and strncasecmp.
30707 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30708 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30712 2011-11-13 Ulrich Drepper <drepper@gmail.com>
30714 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30715 locale-defines.sym to gen-as-const-headers.
30716 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30717 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30719 to compile strcasecmp and strncasecmp.
30720 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30721 strcasecmp_l and strncasecmp_l.
30722 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30723 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30724 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30725 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30726 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30727 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30728 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30729 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30730 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30731 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30732 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30734 2011-11-12 Ulrich Drepper <drepper@gmail.com>
30736 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30737 result of SYSDEP_GETTIME_CPU to retval.
30738 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30739 parameter list to macro. Remove trailing semicolon. Adjust users.
30741 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30744 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30746 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30748 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30749 from unused variable.
30751 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30753 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30756 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30759 * sunrpc/rpc_prot.c (rejected): Fix case value.
30761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30762 unsigned long long int to avoid warnings in shift.
30764 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30766 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30770 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30771 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30773 * nis/nis_table.c (nis_list): Use variable of correct type for
30774 result of __follow_path call.
30776 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30778 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30779 of math functions ceil, trunc, floor, round, and sqrt, when
30780 avaliable on the platform.
30781 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30783 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30784 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30785 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30787 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30789 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30790 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30792 2011-11-11 Roland McGrath <roland@hack.frob.com>
30794 * include/unistd.h: Fix __readlink return type.
30795 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30797 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30799 * stdlib/ucontext.h: Undo last change for makecontext.
30801 2011-11-11 Andreas Schwab <schwab@redhat.com>
30803 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30805 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30806 * setjmp/setjmp.h: Mark functions as non-leaf.
30807 * setjmp/bits/setjmp2.h: Likewise.
30808 * stdlib/ucontext.h: Likewise.
30810 2011-11-10 Andreas Schwab <schwab@redhat.com>
30812 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30813 (reused_arena): Don't check arena limit.
30814 (arena_get2): Atomically check arena limit.
30816 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30818 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30819 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30824 2011-11-07 Andreas Schwab <schwab@redhat.com>
30826 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30827 handler when locking.
30829 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30830 Fix size of allocated buffer.
30832 2011-11-04 Andreas Schwab <schwab@redhat.com>
30835 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30836 declarations for long double functions.
30837 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30839 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30841 2011-11-03 Andreas Schwab <schwab@redhat.com>
30843 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30846 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30849 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30851 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30853 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30855 * include/alloca.h (stackinfo_alloca_round): Define.
30856 (extend_alloca): Use it.
30857 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30858 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30861 * scripts/check-local-headers.sh: Ignore libaudit.h.
30863 * nscd/Makefile (extra-objs): Make recursively expanded.
30865 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30867 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30870 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30871 * posix/tst-rfc3484-2.c: Likewise.
30872 * posix/tst-rfc3484-3.c: Likewise.
30874 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30876 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30878 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30879 process_vm_writev from libc using GLIBC_2.15 version.
30881 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30883 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30885 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30888 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30891 * nss/getent.c (initgroups_keys): Show error message in case no group
30894 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30895 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30896 __bump_nl_timestamp.
30897 * nscd/connections (nscd_init): When host database is served open
30898 netlink socket and request notification about configuration changes.
30899 (main_loop_poll): Track netlink file descriptor and bump timestamp
30900 in case data becomes available.
30901 (main_loop_epoll): Likewise.
30902 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30903 (database_pers_head): Add extra_data fileds.
30904 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30905 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30906 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30909 in6ai data, call __free_in6ai.
30910 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30911 Add -DHAVE_NETLINK.
30912 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30913 interface information. Reuse previous data if netlink timestamp
30915 (__bump_nl_timestamp): New function.
30916 (__free_in6ai): New function.
30918 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30920 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30921 close_not_cancel_no_status here.
30922 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30924 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30927 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30930 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30931 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30932 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30934 2011-07-03 Andreas Jaeger <aj@suse.de>
30937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30938 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30939 * math/libm-test.inc (sin_test): Add test case.
30941 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30944 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30945 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30947 * elf/chroot_canon.c (chroot_canon): Cleanups.
30949 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30952 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30953 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30955 * string/test-strchr.c: Make usable for strchrnul testing.
30956 * string/test-strchrnul.c: New file.
30957 * string/Makefile (strop-tests): Add strchrnul.
30959 * po/it.po: Update from translation team.
30960 * po/es.po: Likewise.
30962 2011-10-28 Ulrich Drepper <drepper@gmail.com>
30964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30965 the three constants needed as parameters. Drop the others.
30966 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30967 __m128i_strloadu_tolower.
30968 Create and initialize variable zero and use it in all the places
30969 where _mm_setzero_si128 was used.
30971 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30972 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30973 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30974 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30976 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30977 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30978 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30979 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30980 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30981 __mpranred, __mptan.
30982 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30983 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30984 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30985 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30986 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30987 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30989 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30990 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30992 2011-10-28 Andreas Schwab <schwab@redhat.com>
30994 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30995 redefine if SHARED.
30996 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30999 wide char related routines to wcsmbs subdir.
31001 2011-10-27 Andreas Schwab <schwab@redhat.com>
31004 * misc/sys/cdefs.h (__THROWNL): Define.
31005 * posix/unistd.h: Use __THREADNL instead of __THREAD
31006 for memory synchronization functions.
31008 2011-10-26 Roland McGrath <roland@hack.frob.com>
31011 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31013 * manual/stdio.texi (Obstack Streams): Node removed.
31015 2011-10-26 Andreas Schwab <schwab@redhat.com>
31017 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31018 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31019 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31021 * math/math_private.h (math_force_eval): Allow non-addressable
31023 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31025 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31028 file is not needed.
31030 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31033 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31035 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31036 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31037 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31043 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31044 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31045 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31047 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31048 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31049 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31050 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31052 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31053 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31054 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31055 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31056 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31057 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31059 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31060 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31063 place. Use VEX encoding when compiling for AVX.
31065 2011-10-25 Andreas Schwab <schwab@redhat.com>
31067 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31068 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31070 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31072 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31074 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31075 useless if() expression.
31076 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31077 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31078 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31079 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31080 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31082 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31084 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31088 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31090 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31091 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31094 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31096 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31098 2011-10-25 Andreas Schwab <schwab@redhat.com>
31100 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31102 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31104 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31106 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31107 .text section. Avoid duplicate constants.
31108 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31113 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31114 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31116 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31117 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31118 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31119 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31120 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31121 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31122 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31123 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31124 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31125 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31126 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31128 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31129 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31130 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31131 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31132 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31133 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31134 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31135 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31137 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31138 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31139 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31140 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31141 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31142 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31143 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31144 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31146 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31147 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31148 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31150 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31151 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31152 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31154 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31156 * sysdeps/x86_64/dla.h: Move to ...
31157 * sysdeps/x86_64/fpu/dla.h: ...here.
31158 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31159 situations. Use __builtin_fma only for gcc 4.6 and up.
31161 * config.make.in: Add have-mfma4 entry.
31162 * configure.in: Substitute libc_cv_cc_fma4.
31163 * math/Makefile (dbl-only-routines): Add sincostab.
31164 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31165 Use __sincostab not sincos.
31166 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31168 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31173 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31174 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31175 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31176 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31178 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31179 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31181 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31182 define aliases when function name is a macro.
31183 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31184 sysdeps/ieee754/dbl-64/sincos.tbl.
31185 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31186 fma4-enabled routines.
31187 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31188 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31189 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31190 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31191 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31194 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31195 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31196 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31197 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31198 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31199 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31200 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31201 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31202 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31203 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31204 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31205 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31206 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31207 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31208 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31209 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31214 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31215 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31216 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31218 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31229 2011-10-24 Andreas Schwab <schwab@redhat.com>
31231 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31233 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31235 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31237 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31241 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31242 Remove unused variable magic_bits.
31243 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31245 * string/strnlen.c: Define and use STRNLEN macro.
31246 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31247 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31249 * wcsmbs/wcslen.c: Define and use WCSLEN.
31250 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31251 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31252 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31253 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31254 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31255 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31256 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31258 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31261 strnlen-sse2-no-bsf.
31262 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31263 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31264 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31265 Add strnlen support.
31266 (USE_AS_STRNLEN): New macro.
31267 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31268 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31269 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31270 * sysdeps/x86_64/wcslen.S: New file.
31272 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31274 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31275 XMM-moves are used for copying on small sizes.
31277 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31279 * wcsmbs/Makefile (strop-tests): Add wcschr.
31280 * wcsmbs/test-wcschr.c: New file.
31281 * string/test-strchr.c: Update.
31282 Add wcschr support.
31285 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31287 * wcsmbs/Makefile (strop-tests): Add wcslen.
31288 * wcsmbs/test-wcslen.c: New file.
31289 * string/test-strlen.c: Update.
31290 Add wcslen support.
31293 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31295 * po/it.po: Update from translation team.
31297 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31299 * sysdeps/x86_64/wcscmp.S: Update.
31300 Fix wrong comparison semantics.
31301 wcscmp shall use signed comparison not unsigned.
31302 Don't use substraction to avoid overflow bug.
31303 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31304 * wcsmbc/wcscmp.c: Likewise.
31305 * string/test-strcmp.c: Likewise.
31306 Add new tests to check cases with negative values.
31308 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31310 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31311 * sysdeps/x86_64/dla.h: ...here. New file.
31312 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31319 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31322 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31325 __ynl_finite aliases.
31327 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31331 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31333 [DLA_FMA] (EMULV): Use DLA_FMA.
31334 [DLA_FMA] (MUL12): Use EMULV.
31335 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31336 that are not needed.
31337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31345 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31347 * math/s_nan.c: Undef __nan.
31348 * math/s_nanf.c: Undef __nanf.
31349 * math/s_nanl.c: Undef __nanl.
31350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31353 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31355 * math/s_catan.c: Add branch predictions.
31356 * math/s_catanf.c: Likewise.
31357 * math/s_catanh.c: Likewise.
31358 * math/s_catanhf.c: Likewise.
31359 * math/s_catanhl.c: Likewise.
31360 * math/s_catanl.c: Likewise.
31361 * math/s_cexp.c: Likewise.
31362 * math/s_cexpf.c: Likewise.
31363 * math/s_cexpl.c: Likewise.
31364 * math/s_clog.c: Likewise.
31365 * math/s_clog10.c: Likewise.
31366 * math/s_clog10f.c: Likewise.
31367 * math/s_clog10l.c: Likewise.
31368 * math/s_clogf.c: Likewise.
31369 * math/s_clogl.c: Likewise.
31370 * math/s_csqrt.c: Likewise.
31371 * math/s_csqrtf.c: Likewise.
31372 * math/s_csqrtl.c: Likewise.
31373 * math/s_ctanf.c: Likewise.
31374 * math/s_ctanh.c: Likewise.
31375 * math/s_ctanhf.c: Likewise.
31376 * math/s_ctanhl.c: Likewise.
31377 * math/s_ctanl.c: Likewise.
31379 * math/math_private.h: Define __nan, __nanf, __nanl.
31380 * math/s_cacosh.c: Include <math_private.h>.
31381 * math/s_cacoshl.c: Likewise.
31382 * math/s_casinh.c: Likewise.
31383 * math/s_casinhf.c: Likewise.
31384 * math/s_casinhl.c: Likewise.
31385 * math/s_ccos.c: Rely entire on ccosh.
31386 * math/s_ccosf.c: Rely entire on ccoshf.
31387 * math/s_ccosl.c: Rely entirely on ccoshl.
31388 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31389 Remove tests for FE_INVALID.
31390 * math/s_ccoshf.c: Likewise.
31391 * math/s_ccoshl.c: Likewise.
31392 * math/s_csin.c: Likewise.
31393 * math/s_csinf.c: Likewise.
31394 * math/s_csinh.c Likewise.
31395 * math/s_csinhf.c: Likewise.
31396 * math/s_csinhl.c: Likewise.
31397 * math/s_csinl.c: Likewise.
31398 * math/s_ctan.c: Likewise.
31399 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31400 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31401 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31403 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31406 compilation problems.
31408 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31411 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31413 * sysdeps/i386/configure.in: Test for -mfma4 option.
31414 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31415 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31416 COMMON_CPUID_INDEX_80000001.
31417 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31418 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31419 use it if FMA3 is not supported.
31420 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31422 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31423 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31425 2011-10-20 Andreas Schwab <schwab@redhat.com>
31428 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31429 it would create a cycle with a link time dependency.
31431 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31433 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31435 * string/Makefile (strop-tests): Add rawmemchr.
31436 * string/test-rawmemchr.c: New file.
31438 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31440 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31441 when compiling str{,n}casecmp and when AVX is available. Hook up
31442 new optimized code in initializers.
31444 2011-10-19 Andreas Schwab <schwab@redhat.com>
31446 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31447 __feraiseexcept instead of feraiseexcept.
31449 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31451 * math/math_private.h: Define defaults for libc_fetestexcept and
31453 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31454 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31455 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31456 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31457 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31458 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31459 libc_fetestexcept and libc_feupdateenv.
31461 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31462 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31463 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31464 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31465 libc_feholdexcept_setround.
31467 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31468 Add s_nearbyint-c and s_nearbyintf-c.
31469 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31470 nearbyintf inlines.
31471 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31472 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31473 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31474 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31476 * math/math_private.h: Define defaults for libc_fegetround,
31477 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31478 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31479 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31480 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31481 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31482 standard functions.
31483 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31484 Remove comments and hacks for old compiler versions.
31485 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31486 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31487 libc_feholdexceptl.
31489 2011-10-18 Andreas Schwab <schwab@redhat.com>
31491 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31492 (__feraiseexcept_renamed): Add __NTH.
31493 (feraiseexcept): Add __NTH. Rename local variables to fix
31494 namespace violations.
31496 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31498 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31500 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31502 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31503 recently added interfaces.
31504 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31506 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31507 about macro parameter expansion.
31509 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31510 __NO_MATH_INLINES is defined. Cleanups.
31512 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31513 and __floorf is target has SSE4.1.
31514 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31515 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31516 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31517 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31519 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31521 (floorf): Likewise.
31523 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31525 2011-10-17 Andreas Schwab <schwab@redhat.com>
31527 * misc/sys/cdefs.h: Fix last change.
31529 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31532 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31534 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31536 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31537 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31538 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31541 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31543 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31544 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31545 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31546 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31547 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31548 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31549 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31550 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31551 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31552 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31553 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31554 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31555 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31556 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31557 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31559 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31560 ceil, ceilf, floor, floorf.
31562 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31563 Perform IRELATIVE relocations last.
31565 * elf/do-rel.h: Add another parameter nrelative, replacing the
31566 local variable with the same name. Change name of the function
31567 to end in Rel or Rela (uppercase).
31568 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31569 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31570 elf_dynamic_do_##reloc function.
31572 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31574 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31575 is sufficient, at least on modern CPUs.
31577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31579 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31580 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31582 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31584 * math/bits/math-finite.h: Add entries for exp.
31585 * math/e_expl.c: Add __*_finite alias.
31586 * sysdeps/i386/fpu/e_exp.S: Likewise.
31587 * sysdeps/i386/fpu/e_expf.S: Likewise.
31588 * sysdeps/i386/fpu/e_expl.c: Likewise.
31589 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31590 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31591 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31593 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31594 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31595 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31597 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31598 is sufficient, at least on modern CPUs.
31600 * ctype/ctype-info.c (__ctype_init): Define.
31601 * include/ctype.h (__ctype_init): Declare.
31602 (__ctype_b_loc): The variable is always initialized.
31603 (__ctype_toupper_loc): Likewise.
31604 (__ctype_tolower_loc): Likewise.
31605 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31606 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31608 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31610 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31612 * configure.in: Also look in $cxxmachine/include for C++ system
31615 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31617 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31618 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31619 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31620 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31621 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31622 (USE_AS_WMEMCMP): New macro.
31624 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31625 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31626 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31627 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31629 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31630 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31631 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31632 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31633 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31634 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31635 (USE_AS_WMEMCMP): New macro.
31636 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31637 * sysdeps/string/test-memcmp.c: Update.
31638 Fix simple_wmemcmp.
31640 * wcsmbs/wmemcmp.c: Update.
31641 (WMEMCMP): New macro.
31644 2011-10-12 Andreas Jaeger <aj@suse.de>
31647 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31649 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31651 * libio/iofwide.c (do_length): Avoid warning.
31653 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31655 2011-10-14 Ulrich Drepper <drepper@gmail.com>
31657 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31659 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31660 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31661 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31662 * sysdeps/i386/i686/fpu/e_log.S: New file.
31663 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31664 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31666 * ctype/ctype.h: Add support for inlined isXXX functions when
31667 compiling C++ code.
31669 2011-10-14 Andreas Schwab <schwab@redhat.com>
31671 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31673 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31675 2011-10-13 Roland McGrath <roland@hack.frob.com>
31678 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31680 2011-10-13 Andreas Schwab <schwab@redhat.com>
31682 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31683 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31686 * sysdeps/x86_64/memrchr.S: Check for zero size.
31688 * string/stratcliff.c: Add memrchr tests.
31690 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31693 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31694 rawmemchr-sse2 rawmemchr-sse2-bsf.
31695 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31696 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31697 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31698 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31699 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31700 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31701 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31702 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31703 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31704 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31705 * string/memrchr.c (MEMRCHR): New macro.
31707 2011-10-12 Ulrich Drepper <drepper@gmail.com>
31709 Add integration with gcc's -ffinite-math-only and optimize wrapper
31711 * Versions.def: Define GLIBC_2.15 version for libm.
31712 * math/Makefile (headers): Add bits/math-finite.h.
31713 * math/bits/math-finite.h: New file.
31714 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31715 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31716 * math/e_acoshl.c: Add __*_finite alias.
31717 * math/e_acosl.c: Likewise.
31718 * math/e_asinl.c: Likewise.
31719 * math/e_atan2l.c: Likewise.
31720 * math/e_atanhl.c: Likewise.
31721 * math/e_coshl.c: Likewise.
31722 * math/e_exp10.c: Likewise.
31723 * math/e_exp10f.c: Likewise.
31724 * math/e_exp10l.c: Likewise.
31725 * math/e_exp2l.c: Likewise.
31726 * math/e_fmodl.c: Likewise.
31727 * math/e_gammal_r.c: Likewise.
31728 * math/e_hypotl.c: Likewise.
31729 * math/e_j0l.c: Likewise.
31730 * math/e_j1l.c: Likewise.
31731 * math/e_jnl.c: Likewise.
31732 * math/e_lgammal_r.c: Likewise.
31733 * math/e_log10l.c: Likewise.
31734 * math/e_log2l.c: Likewise.
31735 * math/e_logl.c: Likewise.
31736 * math/e_powl.c: Likewise.
31737 * math/e_sinhl.c: Likewise.
31738 * math/e_sqrtl.c: Likewise.
31739 * math/e_scalb.c: Completely rewritten and optimized.
31740 * math/e_scalbf.c: Likewise.
31741 * math/e_scalbl.c: Likewise.
31742 * math/w_acos.c: Likewise.
31743 * math/w_acosf.c: Likewise.
31744 * math/w_acosl.c: Likewise.
31745 * math/w_acosh.c: Likewise.
31746 * math/w_acoshf.c: Likewise.
31747 * math/w_acoshl.c: Likewise.
31748 * math/w_asin.c: Likewise.
31749 * math/w_asinf.c: Likewise.
31750 * math/w_asinl.c: Likewise.
31751 * math/w_atan2.c: Likewise.
31752 * math/w_atan2f.c: Likewise.
31753 * math/w_atan2l.c: Likewise.
31754 * math/w_atanh.c: Likewise.
31755 * math/w_atanhf.c: Likewise.
31756 * math/w_atanhl.c: Likewise.
31757 * math/w_exp10.c: Likewise.
31758 * math/w_exp10f.c: Likewise.
31759 * math/w_exp10l.c: Likewise.
31760 * math/w_fmod.c: Likewise.
31761 * math/w_fmodf.c: Likewise.
31762 * math/w_fmodl.c: Likewise.
31763 * math/w_j0.c: Likewise.
31764 * math/w_j0f.c: Likewise.
31765 * math/w_j0l.c: Likewise.
31766 * math/w_j1.c: Likewise.
31767 * math/w_j1f.c: Likewise.
31768 * math/w_j1l.c: Likewise.
31769 * math/w_jn.c: Likewise.
31770 * math/w_jnf.c: Likewise.
31771 * math/w_log.c: Likewise.
31772 * math/w_logf.c: Likewise.
31773 * math/w_logl.c: Likewise.
31774 * math/w_log10.c: Likewise.
31775 * math/w_log10f.c: Likewise.
31776 * math/w_log10l.c: Likewise.
31777 * math/w_log2.c: Likewise.
31778 * math/w_log2f.c: Likewise.
31779 * math/w_log2l.c: Likewise.
31780 * math/w_pow.c: Likewise.
31781 * math/w_powf.c: Likewise.
31782 * math/w_powl.c: Likewise.
31783 * math/w_remainder.c: Likewise.
31784 * math/w_remainderf.c: Likewise.
31785 * math/w_remainderl.c: Likewise.
31786 * math/w_scalb.c: Likewise.
31787 * math/w_scalbf.c: Likewise.
31788 * math/w_scalbl.c: Likewise.
31789 * math/w_sqrt.c: Likewise.
31790 * math/w_sqrtf.c: Likewise.
31791 * math/w_sqrtl.c: Likewise.
31792 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31793 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31795 * math/math_private.h: Declare __kernel_standard_f.
31796 * math/w_cosh.c: Remove cruft and optimize a bit.
31797 * math/w_coshf.c: Likewise.
31798 * math/w_coshl.c: Likewise.
31799 * math/w_exp2.c: Likewise.
31800 * math/w_exp2f.c: Likewise.
31801 * math/w_exp2l.c: Likewise.
31802 * math/w_hypot.c: Likewise.
31803 * math/w_hypotf.c: Likewise.
31804 * math/w_hypotl.c: Likewise.
31805 * math/w_lgamma.c: Likewise.
31806 * math/w_lgamma_r.c: Likewise.
31807 * math/w_lgammaf.c: Likewise.
31808 * math/w_lgammaf_r.c: Likewise.
31809 * math/w_lgammal.c: Likewise.
31810 * math/w_lgammal_r.c: Likewise.
31811 * math/w_sinh.c: Likewise.
31812 * math/w_sinhf.c: Likewise.
31813 * math/w_sinhl.c: Likewise.
31814 * math/w_tgamma.c: Likewise.
31815 * math/w_tgammaf.c: Likewise.
31816 * math/w_tgammal.c: Likewise.
31817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31818 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31819 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31820 Minor optimizations. Pretty printing. Remove cruft.
31821 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31822 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31823 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31824 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31825 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31826 * sysdeps/i386/fpu/e_asin.S: Likewise.
31827 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31828 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31829 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31830 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31832 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31833 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31834 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31835 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31836 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31837 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31838 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31839 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31840 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31841 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31842 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31843 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31844 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31845 * sysdeps/i386/fpu/e_log.S: Likewise.
31846 * sysdeps/i386/fpu/e_log10.S: Likewise.
31847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31848 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31849 * sysdeps/i386/fpu/e_log2.S: Likewise.
31850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31851 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31852 * sysdeps/i386/fpu/e_logf.S: Likewise.
31853 * sysdeps/i386/fpu/e_logl.S: Likewise.
31854 * sysdeps/i386/fpu/e_pow.S: Likewise.
31855 * sysdeps/i386/fpu/e_powf.S: Likewise.
31856 * sysdeps/i386/fpu/e_powl.S: Likewise.
31857 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31858 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31859 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31860 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31861 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31862 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31863 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31864 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31865 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31866 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31869 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31870 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31871 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31872 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31873 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31874 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31876 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31877 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31880 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31882 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31883 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31886 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31891 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31892 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31894 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31895 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31896 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31897 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31898 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31899 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31900 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31901 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31902 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31903 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31907 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31908 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31909 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31911 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31912 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31913 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31914 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31915 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31916 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31917 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31918 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31920 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31921 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31922 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31923 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31924 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31925 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31926 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31927 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31929 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31930 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31931 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31932 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31934 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31935 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31940 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31942 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31943 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31945 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31947 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31948 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31949 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31950 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31951 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31952 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31953 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31954 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31955 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31956 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31957 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31958 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31959 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31960 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31961 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31962 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31963 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31964 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31965 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31966 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31967 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31968 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31969 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31970 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31971 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31972 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31973 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31974 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31975 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31976 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31977 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31978 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31979 (__isnanf): Likewise.
31980 (__isinf_ns): Likewise.
31981 (__isinf_nsf): Likewise.
31982 (__finite): Likewise.
31983 (__finitef): Likewise.
31984 (__ieee754_sqrt): Define as macro.
31985 (__ieee754_sqrtf): Define as macro.
31986 (__ieee754_sqrtl): Define as macro.
31987 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31989 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31990 __FINITE_MATH_ONLY__ consistent.
31991 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31993 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31995 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31998 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32000 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32002 * po/ja.po: Update from translation team.
32004 2011-10-08 Roland McGrath <roland@hack.frob.com>
32006 * locale/programs/locarchive.c (prepare_address_space): New function.
32007 (create_archive, enlarge_archive, open_archive): Use it.
32009 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32010 inside [SHARED], where it is used.
32012 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32014 * nss/getent.c (netgroup_keys): Remove unused variable.
32015 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32017 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32019 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32022 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32023 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32024 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32025 * math/Makefile (libm-calls): Add s_isinf_ns.
32026 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32027 * math/multc3.c: Likewise.
32028 * math/s_casin.c: Likewise.
32029 * math/s_casinf.c: Likewise.
32030 * math/s_casinl.c: Likewise.
32031 * math/s_ccos.c: Likewise.
32032 * math/s_ccosf.c: Likewise.
32033 * math/s_ccosl.c: Likewise.
32034 * math/s_ctan.c: Likewise.
32035 * math/s_ctanf.c: Likewise.
32036 * math/s_ctanh.c: Likewise.
32037 * math/s_ctanhf.c: Likewise.
32038 * math/s_ctanhl.c: Likewise.
32039 * math/s_ctanl.c: Likewise.
32040 * math/w_fmod.c: Likewise.
32041 * math/w_fmodf.c: Likewise.
32042 * math/w_fmodl.c: Likewise.
32043 * math/w_remainder.c: Likewise.
32044 * math/w_remainderf.c: Likewise.
32045 * math/w_remainderl.c: Likewise.
32046 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32047 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32048 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32050 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32051 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32052 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32053 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32055 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32057 * stdio-common/printf_fphex.c: Likewise.
32058 * stdio-common/printf_size.c: Likewise.
32060 * math/e_exp10.c: Include math_private.h using <...> not "...".
32061 * math/e_exp10f.c: Likewise.
32062 * math/e_exp10l.c: Likewise.
32063 * math/e_exp2l.c: Likewise.
32064 * math/e_j0l.c: Likewise.
32065 * math/e_j1l.c: Likewise.
32066 * math/e_jnl.c: Likewise.
32067 * math/e_lgammal_r.c: Likewise.
32068 * math/e_rem_pio2l.c: Likewise.
32069 * math/e_scalb.c: Likewise.
32070 * math/e_scalbf.c: Likewise.
32071 * math/e_scalbl.c: Likewise.
32072 * math/k_cosl.c: Likewise.
32073 * math/k_sinl.c: Likewise.
32074 * math/k_tanl.c: Likewise.
32075 * math/s_cacoshf.c: Likewise.
32076 * math/s_catan.c: Likewise.
32077 * math/s_catanf.c: Likewise.
32078 * math/s_catanh.c: Likewise.
32079 * math/s_catanhf.c: Likewise.
32080 * math/s_catanhl.c: Likewise.
32081 * math/s_catanl.c: Likewise.
32082 * math/s_ccosh.c: Likewise.
32083 * math/s_ccoshf.c: Likewise.
32084 * math/s_ccoshl.c: Likewise.
32085 * math/s_cexp.c: Likewise.
32086 * math/s_cexpf.c: Likewise.
32087 * math/s_cexpl.c: Likewise.
32088 * math/s_clog.c: Likewise.
32089 * math/s_clog10.c: Likewise.
32090 * math/s_clog10f.c: Likewise.
32091 * math/s_clog10l.c: Likewise.
32092 * math/s_clogf.c: Likewise.
32093 * math/s_clogl.c: Likewise.
32094 * math/s_csin.c: Likewise.
32095 * math/s_csinf.c: Likewise.
32096 * math/s_csinh.c: Likewise.
32097 * math/s_csinhf.c: Likewise.
32098 * math/s_csinhl.c: Likewise.
32099 * math/s_csinl.c: Likewise.
32100 * math/s_csqrt.c: Likewise.
32101 * math/s_csqrtf.c: Likewise.
32102 * math/s_csqrtl.c: Likewise.
32103 * math/s_ctan.c: Likewise.
32104 * math/s_ctanf.c: Likewise.
32105 * math/s_ctanh.c: Likewise.
32106 * math/s_ctanhf.c: Likewise.
32107 * math/s_ctanhl.c: Likewise.
32108 * math/s_ctanl.c: Likewise.
32109 * math/s_ldexp.c: Likewise.
32110 * math/s_ldexpf.c: Likewise.
32111 * math/s_ldexpl.c: Likewise.
32112 * math/s_significand.c: Likewise.
32113 * math/s_significandf.c: Likewise.
32114 * math/s_significandl.c: Likewise.
32115 * math/w_acos.c: Likewise.
32116 * math/w_acosf.c: Likewise.
32117 * math/w_acosh.c: Likewise.
32118 * math/w_acoshf.c: Likewise.
32119 * math/w_acoshl.c: Likewise.
32120 * math/w_acosl.c: Likewise.
32121 * math/w_asin.c: Likewise.
32122 * math/w_asinf.c: Likewise.
32123 * math/w_asinl.c: Likewise.
32124 * math/w_atan2.c: Likewise.
32125 * math/w_atan2f.c: Likewise.
32126 * math/w_atan2l.c: Likewise.
32127 * math/w_atanh.c: Likewise.
32128 * math/w_atanhf.c: Likewise.
32129 * math/w_atanhl.c: Likewise.
32130 * math/w_cosh.c: Likewise.
32131 * math/w_coshf.c: Likewise.
32132 * math/w_coshl.c: Likewise.
32133 * math/w_dremf.c: Likewise.
32134 * math/w_exp10.c: Likewise.
32135 * math/w_exp10f.c: Likewise.
32136 * math/w_exp10l.c: Likewise.
32137 * math/w_exp2.c: Likewise.
32138 * math/w_exp2f.c: Likewise.
32139 * math/w_fmod.c: Likewise.
32140 * math/w_fmodf.c: Likewise.
32141 * math/w_fmodl.c: Likewise.
32142 * math/w_hypot.c: Likewise.
32143 * math/w_hypotf.c: Likewise.
32144 * math/w_hypotl.c: Likewise.
32145 * math/w_j0.c: Likewise.
32146 * math/w_j0f.c: Likewise.
32147 * math/w_j0l.c: Likewise.
32148 * math/w_j1.c: Likewise.
32149 * math/w_j1f.c: Likewise.
32150 * math/w_j1l.c: Likewise.
32151 * math/w_jn.c: Likewise.
32152 * math/w_jnf.c: Likewise.
32153 * math/w_jnl.c: Likewise.
32154 * math/w_lgamma.c: Likewise.
32155 * math/w_lgamma_r.c: Likewise.
32156 * math/w_lgammaf.c: Likewise.
32157 * math/w_lgammaf_r.c: Likewise.
32158 * math/w_lgammal.c: Likewise.
32159 * math/w_lgammal_r.c: Likewise.
32160 * math/w_log.c: Likewise.
32161 * math/w_log10.c: Likewise.
32162 * math/w_log10f.c: Likewise.
32163 * math/w_log10l.c: Likewise.
32164 * math/w_log2.c: Likewise.
32165 * math/w_log2f.c: Likewise.
32166 * math/w_log2l.c: Likewise.
32167 * math/w_logf.c: Likewise.
32168 * math/w_logl.c: Likewise.
32169 * math/w_pow.c: Likewise.
32170 * math/w_powf.c: Likewise.
32171 * math/w_powl.c: Likewise.
32172 * math/w_remainder.c: Likewise.
32173 * math/w_remainderf.c: Likewise.
32174 * math/w_remainderl.c: Likewise.
32175 * math/w_scalb.c: Likewise.
32176 * math/w_scalbf.c: Likewise.
32177 * math/w_scalbl.c: Likewise.
32178 * math/w_sinh.c: Likewise.
32179 * math/w_sinhf.c: Likewise.
32180 * math/w_sinhl.c: Likewise.
32181 * math/w_sqrt.c: Likewise.
32182 * math/w_sqrtf.c: Likewise.
32183 * math/w_sqrtl.c: Likewise.
32184 * math/w_tgamma.c: Likewise.
32185 * math/w_tgammaf.c: Likewise.
32186 * math/w_tgammal.c: Likewise.
32188 * po/ja.po: Update from translation team.
32190 2011-09-29 Andreas Jaeger <aj@suse.de>
32193 * sunrpc/netname.c (netname2host): Fix logic.
32197 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32199 * math/w_remainder.c (__remainder): Likewise.
32200 * math/w_remainderf.c (__remainderf): Likewise.
32201 * math/libm-test.inc (remainder_test): Add test cases.
32203 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32205 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32208 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32210 * string/test-memcmp.c: Avoid unncessary #defines.
32211 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32213 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32215 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32216 Use new sse2 version for core i3 - i7 as it's faster
32217 than sse42 version.
32218 (bit_Prefer_PMINUB_for_stringop): New.
32219 * sysdeps/x86_64/rawmemchr.S: Update.
32220 Replace with faster SSE2 version.
32221 * sysdeps/x86_64/memrchr.S: New file.
32222 * sysdeps/x86_64/memchr.S: Update.
32223 Replace with faster SSE2 version.
32225 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32227 * elf/dl-load.c (lose): Add cast to avoid warning.
32229 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32231 * po/ca.po: Update from translation team.
32233 * inet/getnetgrent_r.c: Hook up nscd.
32234 * nscd/Makefile (routines): Add nscd_netgroup.
32235 (nscd-modules): Add netgroupcache.
32236 (CFLAGS-netgroupcache.c): Define.
32237 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32238 (cache_search): Add const to second parameter.
32239 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32241 (dbs): Add netgrdb entry.
32242 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32243 (verify_persistent_db): Handle netgrdb.
32244 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32245 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32247 (netgroup_response_header): Define.
32248 (innetgroup_response_header): Define.
32249 (datahead): Add netgroup_response_header and innetgroup_response_header
32251 * nscd/nscd.conf: Add entries for netgroup cache.
32252 * nscd/nscd.h (dbtype): Add netgrdb.
32253 (_PATH_NSCD_NETGROUP_DB): Define.
32254 (netgroup_iov_disabled): Declare.
32255 (xmalloc, xcalloc, xrealloc): Move declarations here.
32256 (cache_search): Adjust prototype.
32257 Add netgroup-related prototypes.
32258 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32259 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32260 (__nscd_innetgr): Declare.
32261 * nscd/selinux.c (perms): Use access_vector_t as element type and
32262 add netgroup-related initializers.
32263 * nscd/netgroupcache.c: New file.
32264 * nscd/nscd_netgroup.c: New file.
32265 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32266 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32267 For four parameters use innetgr.
32268 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32269 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32270 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32271 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32273 * nscd/connections.c (register_traced_file): Don't register file
32274 for disabled databases.
32276 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32278 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32280 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32281 from tree and freeing node.
32283 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32285 * nss/nsswitch.c (__nss_database_lookup): Handle
32286 nss_parse_service_list out of memory case.
32288 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32290 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32291 out of memory case.
32293 2011-10-04 Andreas Schwab <schwab@redhat.com>
32295 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32296 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32298 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32299 elf_machine_rela, elf_machine_lazy_rel.
32300 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32301 (ELF_DYNAMIC_DO_REL): Likewise.
32302 (ELF_DYNAMIC_DO_RELA): Likewise.
32303 (ELF_DYNAMIC_RELOCATE): Likewise.
32304 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32305 to ELF_DYNAMIC_DO_REL.
32306 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32307 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32308 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32311 skip_ifunc, don't call ifunc function if non-zero.
32312 (elf_machine_rela): Likewise.
32313 (elf_machine_lazy_rel): Likewise.
32314 (elf_machine_lazy_rela): Likewise.
32315 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32316 (elf_machine_lazy_rel): Likewise.
32317 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32319 (elf_machine_lazy_rel): Likewise.
32320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32322 (elf_machine_lazy_rel): Likewise.
32323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32324 (elf_machine_lazy_rel): Likewise.
32325 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32326 (elf_machine_lazy_rel): Likewise.
32327 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32328 (elf_machine_lazy_rel): Likewise.
32329 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32330 (elf_machine_lazy_rel): Likewise.
32331 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32332 (elf_machine_lazy_rel): Likewise.
32333 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32334 (elf_machine_lazy_rel): Likewise.
32336 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32338 * nss/nss_files/files-init.c (_nss_files_init): Use static
32339 initialization for all the *_traced_file variables.
32341 2011-09-28 Andreas Schwab <schwab@redhat.com>
32343 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32345 2011-09-27 Roland McGrath <roland@hack.frob.com>
32348 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32350 2011-09-27 Andreas Schwab <schwab@redhat.com>
32352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32353 Reread the line before reparsing it.
32355 2011-09-26 Andreas Schwab <schwab@redhat.com>
32357 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32359 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32360 Maxim Kuvyrkov <maxim@codesourcery.com>
32361 Joseph Myers <joseph@codesourcery.com>
32363 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32364 if needed for __stack_chk_guard.
32366 2011-09-19 Roland McGrath <roland@hack.frob.com>
32368 * sysdeps/posix/spawni.c (script_execute): Always define it.
32369 It will be optimized away if unused.
32370 (maybe_script_execute): New function.
32371 (__spawni): Call it.
32373 * Makerules: Don't include tls.make.
32374 (config-tls): Always set to thread.
32375 * tls.make.c: File removed.
32377 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32379 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32380 * config.make.in (CPPFLAGS-config): New substituted variable.
32382 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32384 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32387 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32388 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32390 2011-09-15 Roland McGrath <roland@hack.frob.com>
32392 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32393 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32395 (CALL_FAIL): Likewise.
32396 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32397 (CALL_FAIL): Macro removed.
32398 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32400 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32402 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32403 for __FINITE_MATH_ONLY__ == 1.
32405 2011-09-15 Andreas Schwab <schwab@redhat.com>
32407 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32408 __ieee754_sqrt instead of sqrt.
32409 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32410 __ieee754_sqrtf instead of sqrtf.
32411 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32412 __floorf instead of floorf.
32413 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32414 __floorf, __truncf instead of floorf, truncf.
32416 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32418 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32420 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32421 __extern_always_inline.
32422 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32425 2011-09-14 Andreas Schwab <schwab@redhat.com>
32427 * elf/rtld.c (dl_main): Also relocate in dependency order when
32428 doing symbol dependency testing.
32430 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32433 Always define `refsym'.
32435 2011-09-13 Andreas Schwab <schwab@redhat.com>
32437 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32438 (__FD_ELT): Renamed from __FDELT.
32439 * misc/bits/select2.h (__FD_ELT): Likewise.
32440 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32441 __FD_MASK instead of __FDELT, __FDMASK.
32442 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32444 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32447 * elf/Makefile (gen-ldd): Fix pattern.
32449 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32450 (init_tls): Likewise.
32452 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32456 2011-09-12 Andreas Schwab <schwab@redhat.com>
32458 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32459 `struct cmsghdr *' instead of `void *'.
32460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32463 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32465 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32467 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32468 ldd_rewrite_script.
32470 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32472 * configure.in: Remove --with-tls option.
32473 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32474 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32475 out in case it is missing.
32476 * sysdeps/ia64/elf/configure.in: Likewise.
32477 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32478 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32479 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32480 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32481 * sysdeps/sh/elf/configure.in: Likewise.
32482 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32483 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32484 * sysdeps/x86_64/elf/configure.in: Likewise.
32485 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32486 * sysdeps/mach/hurd/tls.h: Likewise.
32489 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32492 * configure.in: Fix use of AC_INIT.
32494 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32496 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32498 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32500 * malloc/hooks.c: Likewise.
32503 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32504 variables statically.
32505 (narenas): Initialize.
32506 (list_lock): Initialize.
32507 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32508 initializtion of main_arena and list_lock. Small cleanups.
32509 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32510 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32511 Add initializers to main_arena and mp_.
32512 (malloc_state): Remove pagesize member. Change all users to use
32515 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32516 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32517 is always initialized.
32519 * malloc/malloc.c: Removed unused configurations and dead code.
32520 * malloc/arena.c: Likewise.
32521 * malloc/hooks.c: Likewise.
32522 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32524 * include/tls.h: Removed. USE___THREAD must always be defined.
32525 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32526 * elf/dl-libc.c: Likewise.
32527 * elf/dl-tsd.c: Likewise.
32528 * include/errno.h: Likewise.
32529 * include/netdb.h: Likewise.
32530 * include/resolv.h: Likewise.
32531 * inet/herrno-loc.c: Likewise.
32532 * inet/herrno.c: Likewise.
32533 * malloc/arena.c: Likewise.
32534 * malloc/hooks.c: Likewise.
32535 * malloc/malloc.c: Likewise.
32536 * resolv/res-state.c: Likewise.
32537 * resolv/res_libc.c: Likewise.
32538 * sysdeps/i386/dl-machine.h: Likewise.
32539 * sysdeps/ia64/dl-machine.h: Likewise.
32540 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32541 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32542 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32543 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32544 * sysdeps/sh/dl-machine.h: Likewise.
32545 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32546 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32547 * sysdeps/unix/i386/sysdep.S: Likewise.
32548 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32549 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32554 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32559 * sysdeps/x86_64/dl-machine.h: Likewise.
32560 * tls.make.c: Likewise.
32562 * configure.in: Remove --with-__thread option. Make tests for
32563 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32564 tls_model attribute fail if no support is available. Remove
32566 * Makeconfig: Adjust for dropped configure option. All features are
32568 * Makerules: Likewise.
32569 * Versions.def: Likewise.
32570 * argp/argp-fmtstream.c: Likewise.
32571 * argp/argp-fmtstream.h: Likewise.
32572 * argp/argp-help.c: Likewise.
32573 * assert/assert.c: Likewise.
32574 * config.h.in: Likewise.
32575 * config.make.in: Likewise.
32576 * configure: Likewise.
32577 * configure.in: Likewise.
32578 * csu/Versions: Likewise.
32579 * csu/init.c: Likewise.
32580 * elf/tst-audit2.c: Likewise.
32581 * elf/tst-tls10.c: Likewise.
32582 * elf/tst-tls10.h: Likewise.
32583 * elf/tst-tls11.c: Likewise.
32584 * elf/tst-tls12.c: Likewise.
32585 * elf/tst-tls14.c: Likewise.
32586 * elf/tst-tlsmod11.c: Likewise.
32587 * elf/tst-tlsmod12.c: Likewise.
32588 * elf/tst-tlsmod13.c: Likewise.
32589 * elf/tst-tlsmod13a.c: Likewise.
32590 * elf/tst-tlsmod14a.c: Likewise.
32591 * elf/tst-tlsmod15b.c: Likewise.
32592 * elf/tst-tlsmod16a.c: Likewise.
32593 * elf/tst-tlsmod16b.c: Likewise.
32594 * elf/tst-tlsmod7.c: Likewise.
32595 * elf/tst-tlsmod8.c: Likewise.
32596 * elf/tst-tlsmod9.c: Likewise.
32597 * gmon/gmon.c: Likewise.
32598 * grp/fgetgrent_r.c: Likewise.
32599 * grp/putgrent.c: Likewise.
32600 * hurd/fopenport.c: Likewise.
32601 * include/libc-symbols.h: Likewise.
32602 * include/tls.h: Likewise.
32603 * intl/gettextP.h: Likewise.
32604 * intl/loadinfo.h: Likewise.
32605 * locale/global-locale.c: Likewise.
32606 * locale/localeinfo.h: Likewise.
32607 * mach/devstream.c: Likewise.
32608 * malloc/arena.c: Likewise.
32609 * malloc/set-freeres.c: Likewise.
32610 * misc/err.c: Likewise.
32611 * misc/getttyent.c: Likewise.
32612 * misc/mntent_r.c: Likewise.
32613 * posix/getopt.c: Likewise.
32614 * posix/wordexp.c: Likewise.
32615 * pwd/fgetpwent_r.c: Likewise.
32616 * resolv/Versions: Likewise.
32617 * resolv/res_hconf.c: Likewise.
32618 * shadow/fgetspent_r.c: Likewise.
32619 * shadow/putspent.c: Likewise.
32620 * stdio-common/printf_fphex.c: Likewise.
32621 * stdio-common/tmpfile.c: Likewise.
32622 * stdlib/abort.c: Likewise.
32623 * stdlib/fmtmsg.c: Likewise.
32624 * sunrpc/auth_unix.c: Likewise.
32625 * sunrpc/clnt_perr.c: Likewise.
32626 * sunrpc/clnt_tcp.c: Likewise.
32627 * sunrpc/clnt_udp.c: Likewise.
32628 * sunrpc/clnt_unix.c: Likewise.
32629 * sunrpc/openchild.c: Likewise.
32630 * sunrpc/svc_simple.c: Likewise.
32631 * sunrpc/svc_tcp.c: Likewise.
32632 * sunrpc/svc_udp.c: Likewise.
32633 * sunrpc/svc_unix.c: Likewise.
32634 * sunrpc/xdr.c: Likewise.
32635 * sunrpc/xdr_array.c: Likewise.
32636 * sunrpc/xdr_rec.c: Likewise.
32637 * sunrpc/xdr_ref.c: Likewise.
32638 * sunrpc/xdr_stdio.c: Likewise.
32640 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32642 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32644 2011-07-03 Andreas Jaeger <aj@suse.de>
32646 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32647 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32648 regenerate with gen-libm-tests.pl.
32650 2010-05-12 Petr Baudis <pasky@suse.cz>
32653 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32654 around j0() zero points by switching to j1().
32655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32660 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32662 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32664 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32667 Patch in part by Pavel Roskin <proski@gnu.org>.
32670 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32672 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32673 Free memory block if necessary.
32676 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32677 be NULL. Don't lock in this case.
32679 2011-09-09 Roland McGrath <roland@hack.frob.com>
32681 * elf/elf.h (ELFOSABI_GNU): New macro.
32682 (ELFOSABI_LINUX): Define to that.
32684 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32686 * string/strncat.c (strncat): Undef the symbol in case it has been
32687 defined in bits/string.h.
32689 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32691 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32693 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32696 2011-08-17 Andreas Jaeger <aj@suse.de>
32698 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32700 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32701 Ian Lance Taylor <iant@google.com>
32703 * math/libm-test.inc (lround_test): New testcase.
32704 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32706 2011-09-08 Ulrich Drepper <drepper@gmail.com>
32708 * Makefile: Remove support for automatic cvs check-ins.
32709 * Makerules: Likewise.
32710 * config.make.in: Likewise.
32711 * configure.in: Likewise.
32712 * intl/Makefile: Likewise.
32713 * locale/Makefile: Likewise.
32714 * po/Makefile: Likewise.
32715 * posix/Makefile: Likewise.
32716 * sysdeps/gnu/Makefile: Likewise.
32717 * sysdeps/mach/hurd/Makefile: Likewise.
32718 * sysdeps/sparc/sparc32/Makefile: Likewise.
32721 * posix/Makefile (bug-regex32-ENV): Define.
32722 Patch by John Stanley <jpsinthemix@verizon.net>.
32724 * misc/Makefile (headers): Add bits/select2.h.
32725 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32726 * misc/bits/select2.h: New file.
32727 * include/bits/select2.h: New file.
32728 * debug/Makefile (routines): Add fdelt_chk.
32729 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32730 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32732 * debug/fdelt_chk.c: New file.
32734 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32735 * wcsmbs/test-wmemcmp.c: Likewise.
32736 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32737 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32739 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32741 * string/Makefile (strop-tests): Add memcmp.
32742 * string/test-wmemcmp.c: New file.
32743 * string/test-memcmp.c: Add wmemcmp support.
32745 2011-09-08 Roland McGrath <roland@hack.frob.com>
32748 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32751 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32752 garbage value in a __mach_port_mod_refs call in the cases of the
32753 task-self and thread-self ports.
32755 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32757 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32759 2011-09-08 Andreas Schwab <schwab@redhat.com>
32761 * elf/dl-load.c (lose): Check for non-null L.
32763 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32765 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32767 * elf/dl-libc.c (dlerror_run): Pass back error code from
32771 * elf/dl-load.c (lose): Free l_origin if it is valid.
32773 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32775 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32779 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32780 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32782 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32784 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32785 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32786 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32787 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32788 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32789 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32790 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32791 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32792 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32793 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32795 2011-08-15 Alan Modra <amodra@gmail.com>
32798 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32799 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32800 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32801 ppc_mcount to static-only-routines.
32802 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32804 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32805 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32807 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32809 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32810 for finite and infinity parameters.
32812 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32815 and add nop instructions for throughput optimization.
32816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32818 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32820 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32821 aligned copy for power7 with vector-scalar instructions.
32822 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32824 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32829 2011-09-07 Andreas Schwab <schwab@redhat.com>
32832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32835 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32837 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32838 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32839 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32843 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32845 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32846 Forgot to demangle the pointer.
32848 * sysdeps/i386/sysdep.h: Define atom_text_section.
32849 * sysdeps/x86_64/sysdep.h: Likewise.
32850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32851 section with atom_text_section.
32852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32853 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32854 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32856 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32858 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32860 already be defined. Change to take two parameters and don't assign
32861 result to variable. Adjust all users.
32862 Define INTERNAL_GETTIME if not already defined.
32863 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32866 HAVE_CLOCK_GETTIME_VSYSCALL.
32867 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32870 gettimeofday vsyscall, just use time.
32872 2011-09-06 Andreas Schwab <schwab@redhat.com>
32874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32877 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32879 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32883 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32884 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32885 syscall if possible.
32887 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32889 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32890 e_ident. Don't pass to find_mapsXX.
32891 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32893 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32896 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32897 * sysdeps/x86_64/multiarch/strchr.S: Update.
32898 Check bit_slow_BSF bit.
32899 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32900 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32901 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32903 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32906 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32908 (tryshell): Define.
32909 (__spawni): Change last parameter to be flag. Test
32910 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32911 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32912 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32913 * posix/spawni.c: Likewise.
32914 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32915 * posix/spawnp.c: Likewise. Change normal version to use
32916 SPAWN_XFLAGS_USE_PATH.
32917 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32918 SPAWN_XFLAGS_TRY_SHELL.
32921 * posix/glob.h: Remove gcc 1.x support.
32924 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32926 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32929 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32931 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32932 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32933 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32934 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32935 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32936 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32938 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32940 * sysdeps/x86_64/wcscmp.S: New file.
32942 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32943 wcscmp-c wcscmp-sse2
32944 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32945 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32946 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32947 * wcsmbs/wcscmp.c: Allow renaming.
32949 2011-09-05 David S. Miller <davem@davemloft.net>
32951 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32952 stack slot, rather than the struct return pointer slot.
32953 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32954 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32956 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32958 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32960 * po/ja.po: Update from translation team.
32963 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32964 kernel in 64-bit binaries.
32966 2011-09-01 David S. Miller <davem@davemloft.net>
32968 * elf/elf.h (HWCAP_SPARC_*): Move to..
32969 * sysdeps/sparc/sysdep.h: this new file and add new values.
32970 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32971 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32972 _DL_HWCAP_COUNT to 24.
32973 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32975 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32976 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32977 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32979 instead of magic constants.
32980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32982 2011-08-31 David S. Miller <davem@davemloft.net>
32984 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32986 Reimplement to do errno handling inline.
32987 (SYSCALL_ERROR_HANDLER): New macro.
32988 (__SYSCALL_STRING): Do not do errno handling in asm.
32989 (__CLONE_SYSCALL_STRING): Delete.
32990 (__INTERNAL_SYSCALL_STRING): Delete.
32991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32992 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32993 (PSEUDO): Reimplement to do errno handling inline.
32994 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32995 (SYSCALL_ERROR_HANDLER): New macro.
32996 (__SYSCALL_STRING): Do not do errno handling in asm.
32997 (__CLONE_SYSCALL_STRING): Delete.
32998 (__INTERNAL_SYSCALL_STRING): Delete.
32999 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33000 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33002 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33003 (inline_syscall*): Add 'err' argument.
33004 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33005 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33006 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33007 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33009 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33010 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33012 2011-08-30 Andreas Schwab <schwab@redhat.com>
33014 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33016 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33018 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33021 2011-08-24 David S. Miller <davem@davemloft.net>
33023 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33025 2011-08-24 Andreas Schwab <schwab@redhat.com>
33027 * elf/Makefile: Add rules to build and run unload8 test.
33028 * elf/unload8.c: New file.
33029 * elf/unload8mod1.c: New file.
33030 * elf/unload8mod1x.c: New file.
33031 * elf/unload8mod2.c: New file.
33032 * elf/unload8mod3.c: New file.
33034 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33037 2011-08-23 David S. Miller <davem@davemloft.net>
33039 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33040 subtract stack bias.
33041 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33042 %sp not %fp in calculations.
33043 (_JMPBUF_UNWINDS_ADJ): Likewise.
33045 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33046 (aio_suspend): Call it to force an exception region around the
33047 AIO_MISC_WAIT() invocation.
33049 2011-08-23 Andreas Schwab <schwab@redhat.com>
33051 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33054 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33056 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33058 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33059 and <dl-machine.h>.
33060 (Elf64_FuncDesc): Remove.
33062 2011-08-22 David S. Miller <davem@davemloft.net>
33064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33065 sigaltstack check, add missing cfi directives.
33066 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33067 missing cfi directives, and sigaltstack handling.
33069 2011-08-16 Andreas Schwab <schwab@redhat.com>
33072 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33073 object is seen twice.
33074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33076 * elf/Makefile (distribute): Add tst-initorder2.c.
33077 (tests): Add tst-initorder2.
33078 (modules-names): Add tst-initorder2a tst-initorder2b
33079 tst-initorder2c tst-initorder2d. Add rules to build them.
33080 ($(objpfx)tst-initorder2.out): New rule.
33081 * elf/tst-initorder2.c: New file.
33082 * elf/tst-initorder2.exp: New file.
33084 2011-08-22 Andreas Schwab <schwab@redhat.com>
33086 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33088 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33089 dependencies back to end of function.
33091 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33092 $(elfobjdir)/ld.so.
33094 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33097 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33099 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33100 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33101 of __vdso_gettimeofday.
33102 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33103 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33105 (_libc_vdso_platform_setup): Remove initialization of
33106 __vdso_gettimeofday and __vdso_time.
33108 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33110 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33111 and fgetc_unlocked.
33112 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33115 * elf/dl-open.c (add_to_global): Report additions to the global scope
33116 for LD_DEBUG=scopes.
33117 (dl_open_worker): Also print scope of newly loaded dependencies.
33118 (_dl_show_scope): Indicate if there is no scope.
33121 * stdio-common/Makefile (tests): Add bug24.
33122 * stdio-common/bug24.c: New file.
33124 2011-08-19 Andreas Jaeger <aj@suse.de>
33127 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33128 non-existant file when using close-on-exec mode.
33130 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33133 the very first instruction.
33135 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33136 the CFI state in the end.
33137 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33138 inclusion of dl-trampoline.h.
33139 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33141 2011-08-19 Andreas Schwab <schwab@redhat.com>
33143 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33144 expectations for long double.
33146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33147 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33149 2011-08-14 David S. Miller <davem@davemloft.net>
33151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33152 artificual limit depends upon the system page size.
33154 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33156 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33157 * resolv/Makefile: Define CFLAGS-libresolv.
33159 2011-08-17 Andreas Schwab <schwab@redhat.com>
33161 * nss/makedb.c (compute_tables): Make variables used in nested
33164 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33166 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33167 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33168 if buffer was too small.
33170 * elf/pldd.c (main): Attach to all threads in the process.
33171 Rewrite /proc handling to use *at functions.
33173 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33175 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33176 specifies first scope to show.
33177 (dl_open_worker): Update callers. Move printing scope of new
33178 object to before the relocation.
33179 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33180 * sysdeps/generic/ldsodefs.h: Update declaration.
33182 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33183 string for the scope number.
33185 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33187 * nscd/servicescache.c (cache_addserv): Make sure written is always
33190 2011-08-14 Roland McGrath <roland@hack.frob.com>
33192 * sysdeps/i386/i486/bits/atomic.h
33193 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33194 statement expression, so as to suppress "set but not used" warning.
33195 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33197 * string/strncat.c (STRNCAT): Use prototype definition.
33199 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33200 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33202 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33203 (localedef-modules): Add localedef.
33204 (locale-modules): Add locale.
33206 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33207 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33208 to avoid a warning.
33210 2011-08-14 David S. Miller <davem@davemloft.net>
33212 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33213 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33215 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33217 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33218 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33219 * elf/rtld.c (dl_main): Set l_name of vDSO.
33220 Call _dl_show_scope when DL_DEBUG_SCOPES.
33221 (process_dl_debug): Recognize scopes flag and also set it for all.
33222 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33223 Declare _dl_show_scope.
33225 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33226 (do_dlopen): Pass caller_dlopen to dl_open.
33227 (__libc_dlopen_mode): Initialize caller_dlopen.
33229 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33230 of libc. Make tolower call locale-independent. Optimize a bit by
33231 using isdigit instead of isalnum.
33232 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33234 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33236 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33237 was a dependency or dynamically loaded.
33239 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33241 * intl/l10nflist.c: Allow architecture-specific pop function.
33242 * sysdeps/x86_64/l10nflist.c: New file.
33244 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33247 2011-08-10 Andreas Schwab <schwab@redhat.com>
33249 * include/dirent.h: Add libc_hidden_proto for scandirat and
33250 scandirat64. Don't declare __scandirat64.
33251 * dirent/scandirat.c: Add libc_hidden_def.
33252 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33253 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33255 2011-08-10 David S. Miller <davem@davemloft.net>
33257 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33259 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33261 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33263 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33265 * Versions.def [libc]: Add GLIBC_2.15.
33266 * dirent/Makefile (routines): Add scandirat and scandirat64.
33267 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33269 * dirent/dirent.h: Declare scandirat and scandirat64.
33270 * dirent/scandirat.c: New file.
33271 * dirent/scandirat64.c: New file.
33272 * sysdeps/wordsize-64/scandirat.c: New file.
33273 * sysdeps/wordsize-64/scandirat64.c: New file.
33274 * dirent/opendir.c: Define opendirat.
33275 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33277 * dirent/scandir64.c: Adjust for scandir.c change.
33278 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33279 __scandirat64, and __scandir_cancel_handler.
33280 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33281 additional parameter and use openat instead of open (outside of ld.so).
33282 Add new __opendir as wrapper around __opendirat.
33283 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33284 here without requiring old scandirat implementation.
33286 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33288 * dirent/scandir.c (cancel_handler): Renamed to
33289 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33290 defined. Adjust users.
33291 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33292 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33294 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33296 * string/test-string.h (IMPL): Use __STRING to expand name and then
33299 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33302 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33304 * string/Makefile: Update.
33305 (strop-tests): Append strncat.
33306 * string/test-wcscmp.c: New file.
33307 New comprehensive test for wcscmp.
33308 * string/test-strcmp.c: Update.
33309 (WIDE): New define.
33311 2011-07-22 Andreas Schwab <schwab@redhat.com>
33313 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33316 2011-07-26 Andreas Schwab <schwab@redhat.com>
33318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33319 encoding to ACE if AI_IDN.
33321 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33324 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33326 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33329 Fix overflow bug in strncat.
33330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33332 * string/test-strncat.c: Update.
33333 Add new tests for checking overflow bugs.
33335 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33338 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33339 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33340 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33341 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33342 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33343 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33344 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33345 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33348 (USE_AS_STRCAT): Define.
33349 Add strcat and strncat support.
33350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33352 2011-07-25 Andreas Schwab <schwab@redhat.com>
33354 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33355 __n bigger than INT_MAX+1.
33356 (__strncmp_g): Likewise.
33358 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33360 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33361 * libio/stido.h: Likewise.
33363 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33368 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33371 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33372 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33375 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33378 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33380 (_dl_x86_64_save_sse): Likewise.
33382 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33386 (_dl_x86_64_save_sse): Likewise.
33388 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33390 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33392 2011-07-21 Andreas Schwab <schwab@redhat.com>
33394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33396 (_dl_x86_64_save_sse): Use correct AVX check.
33398 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33400 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33401 bug in strncpy/strncat.
33402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33404 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33406 * string/tester.c (test_strcat): Add tests for different alignments
33407 of source and destination.
33408 (test_strncat): Likewise.
33410 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33413 * posix/glob.c (glob): Check passed in values before using them in
33414 expressions to avoid some overflows.
33415 (glob_in_dir): Likewise.
33418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33419 check for AVX enablement so that we don't crash with old kernels and
33421 * elf/tst-audit4.c: Add same checks here.
33422 * elf/tst-audit6.c: Likewise.
33424 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33426 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33428 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33430 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33432 * po/cs.po: Update from translation team.
33433 * po/bg.po: Likewise.
33435 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33437 * misc/sys/cdefs.h: Add support for const attribute.
33438 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33439 to gnu_dev_{major,minor,makedev} functions.
33441 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33443 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33445 2011-07-20 Andreas Schwab <schwab@redhat.com>
33447 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33450 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33453 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33454 register in order to avoid conflicts with the soft frame pointer
33455 being held in r11 when necessary.
33456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33457 (INTERNAL_VSYSCALL_NCS): Likewise.
33459 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33461 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33462 * elf/dl-fini.c (_dl_fini): Adjust caller.
33463 * elf/dl-close.c (_dl_close_worker): Likewise.
33464 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33466 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33468 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33469 "aux_cache->nlibs < 0".
33471 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33472 in the reload-count case.
33474 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33477 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33478 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33479 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33480 * sysdeps/x86_64/multiarch/strcat.S: New file.
33481 * sysdeps/x86_64/multiarch/strncat.S: New file.
33482 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33484 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33485 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33486 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33487 (USE_AS_STRCAT): Define.
33488 Add strcat and strncat support.
33489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33490 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33491 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33492 * string/strncat.c: Update.
33493 (USE_AS_STRNCAT): Define.
33494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33495 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33497 * sysdeps/x86_64/multiarch/init-arch.h
33498 (bit_Prefer_PMINUB_for_stringop): New.
33499 (index_Prefer_PMINUB_for_stringop): Likewise.
33500 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33501 bit_Prefer_PMINUB_for_stringop.
33503 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33505 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33507 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33508 of casting of buffer.
33509 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33510 buffer32 and buffer64.
33511 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33512 writes instead of casting of buffer.
33513 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33515 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33518 2011-07-19 Andreas Schwab <schwab@redhat.com>
33520 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33522 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33524 * nscd/nscd.c (termination_handler): Don't do anything for a database
33525 if it has not yet been initialized.
33527 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33529 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33531 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33533 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33535 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33537 * po/nl.po: Update from translation team.
33538 * po/sv.po: Likewise.
33540 2011-07-16 Roland McGrath <roland@hack.frob.com>
33542 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33543 now disallowed by GCC.
33545 * configure.in (use-default-link): Default to yes if a test -shared
33546 link meets our qualifications.
33547 * configure: Regenerated.
33549 * config.make.in (output-format): New variable.
33550 * configure.in: Check for ld --print-output-format support.
33551 * configure: Regenerated.
33552 * Makerules ($(common-objpfx)format.lds)
33553 [$(output-format) != unknown]: Just use $(output-format),
33554 instead of the linker-script munging.
33556 2011-07-14 Roland McGrath <roland@hack.frob.com>
33558 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33559 of $(common-objpfx)shlib.lds.
33560 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33562 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33563 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33565 * configure.in (-z relro check): Adjust test code to add a large
33566 writable data section after it.
33567 * configure: Regenerated.
33569 2011-07-11 Roland McGrath <roland@hack.frob.com>
33571 * configure.in (-z relro check): Fix test code to make the variable
33573 * configure: Regenerated.
33575 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33577 * nscd/nscd.h (struct traced_file): Define.
33578 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33579 elements. Add traced_files.
33580 (inotify_fd): Declare.
33581 (register_traced_file): Declare.
33582 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33583 (inotify_fd): Export.
33584 (resolv_conf_descr): Remove.
33585 (nscd_init): Move inotify descriptor creation to main.
33586 Don't register files for notification here.
33587 (register_traced_file): New function.
33588 (invalidate_cache): Don't use reset_res to determine whether to call
33589 res_init, go through the list of registered files.
33590 (main_loop_poll): The inotify descriptors are now stored in the
33591 structures for the traced files.
33592 (main_loop_epoll): Likewise
33593 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33594 to __nss_disable_nscd.
33595 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33596 for a database anymore. Check the records for all the registered
33598 * nss/Makefile (libnss_files-routines): Add files-init.
33599 (libnss_db-routines): Add db-init.
33600 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33601 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33602 * nss/nss_db/db-init.c: New file.
33603 * nss/nss_files/files-init.c: New file.
33604 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33605 __nss_lookup_function.
33606 (__nss_lookup_function): Call nss_load_library.
33607 (nss_load_all_libraries): New function.
33608 (__nss_disable_nscd): Take parameter with callback function for files
33609 to register. Set is_nscd. Load all the DSOs for the NSS modules
33610 used for the cached services.
33611 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33612 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33613 options for features to all the files in nscd.
33615 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33617 2011-07-10 Roland McGrath <roland@hack.frob.com>
33619 * csu/elf-init.c (__libc_csu_init): Comment typo.
33621 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33623 * po/pl.po: Update from translation team.
33624 * po/ja.po: Likewise.
33625 * po/ru.po: Likewise.
33626 * po/ko.po: Likewise.
33627 * po/fr.po: Likewise.
33629 2011-07-09 Roland McGrath <roland@hack.frob.com>
33631 * configure.in (.ctors/.dtors header and trailer check):
33632 Use an empirical test on a built program.
33633 * configure: Regenerated.
33635 * configure.in (-z relro check): Use an empirical test on a built DSO.
33636 Detect, but do not require, on ia64.
33637 * configure: Regenerated.
33639 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33640 Update tests that use readelf to use $READELF instead.
33641 * configure: Regenerated.
33643 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33645 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33646 if the result is not used.
33648 2011-07-05 Andreas Jaeger <aj@suse.de>
33651 * stdlib/tst-strtod.c: Add testcase.
33653 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33655 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33656 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33657 The latter has a higher limit. Take additional parameter to pass to
33659 (__pathconf): Pass file to __statfs_link_max.
33660 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33662 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33666 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33667 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33670 (__statfs_filesize_max): Likewise.
33671 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33673 2011-07-05 Andreas Jaeger <aj@suse.de>
33675 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33677 2011-07-06 Marek Polacek <mpolacek@redhat.com>
33679 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33681 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33684 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33686 * Makefile (strop-tests): Add strncat.
33687 * string/test-strncat.c: New file.
33689 2011-06-30 Marek Polacek <mpolacek@redhat.com>
33691 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33693 2011-06-21 Andreas Jaeger <aj@suse.de>
33695 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33696 Copy rule from iconvdata/Makefile.
33698 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33701 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33702 but no long options are defined, just return 'W'.
33704 2011-06-22 Marek Polacek <mpolacek@redhat.com>
33707 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33709 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33711 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33713 (innetgr): Likewise.
33715 2011-07-05 Roland McGrath <roland@hack.frob.com>
33717 * config.make.in (install_root): Default to $(DESTDIR).
33719 2011-07-05 Ulrich Drepper <drepper@gmail.com>
33721 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33723 2011-07-02 Roland McGrath <roland@hack.frob.com>
33725 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33727 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33728 containing directory rather than embedding absolute directory names.
33730 * scripts/check-local-headers.sh: Rewritten using awk.
33731 Match by word, not by line. Print error messages for matches.
33732 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33734 * Makerules [shlib-lds-flags empty]:
33735 ($(common-objpfx)libc_pic.opts): New target.
33736 ($(common-objpfx)libc_pic.os.clean): New target.
33737 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33739 * config.make.in (OBJCOPY): New variable.
33740 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33741 * configure: Regenerated.
33743 * config.make.in (use-default-link): New variable.
33744 * configure.in (use_default_link): Grok --with-default-link to set it.
33745 * configure: Regenerated.
33746 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33747 (shlib-lds, shlib-lds-flags): Define to empty.
33749 * Makerules (shlib-lds): New variable.
33750 (shlib-lds-flags): New variable.
33751 (build-shlib, build-moduile, build-module-asneeded): Use it.
33752 ($(common-objpfx)libc.so): Use $(shlib-lds).
33753 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33754 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33756 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33757 DT_FLAGS/DT_FLAGS_1 with zero flags.
33759 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33760 linker script munging.
33762 2011-07-02 Ulrich Drepper <drepper@gmail.com>
33764 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33766 * crypt/sha512.c (sha512_process_block): Perform total addition using
33767 128-bit if possible.
33768 (__sha512_finish_ctx): Likewise.
33769 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33771 * crypt/sha256.c (SWAP64): Define.
33772 (sha256_process_block): Perform total addition using 64-bit if
33774 (__sha256_finish_ctx): Likewise.
33776 2011-07-01 Ulrich Drepper <drepper@gmail.com>
33778 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33780 * nscd/hstcache.c (cache_addhst): Likewise.
33781 * nscd/grpcache.c (cache_addgr): Likewise.
33782 * nscd/aicache.c (addhstaiX): Likewise
33783 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33785 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33787 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33789 * nscd/hstcache.c (cache_addhst): Likewise.
33790 * nscd/grpcache.c (cache_addgr): Likewise.
33791 * nscd/aicache.c (addhstaiX): Likewise
33793 2011-07-01 Andreas Schwab <schwab@redhat.com>
33795 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33796 domain only when needed.
33798 2011-06-30 Andreas Schwab <schwab@redhat.com>
33800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33801 is always restored.
33803 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33805 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33806 are re-adding the entry.
33807 * nscd/servicescache.c (cache_addserv): Likewise.
33809 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33811 * sysdeps/generic/dl-irel.h: fix protection against multiple
33813 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33815 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33818 * malloc/memusage.sh: Fix quoting in message.
33819 * debug/xtrace.sh: Likewise.
33821 * configure.in: Remove support for --experimental-malloc option, make
33823 * config.make.in: Likewise.
33824 * malloc/Makefile: Likewise.
33826 2011-06-27 Andreas Schwab <schwab@redhat.com>
33828 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33829 two-byte characters.
33831 2011-06-27 Roland McGrath <roland@hack.frob.com>
33833 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33834 AC_CACHE_CHECK invocation.
33835 * configure: Regenerated.
33837 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33839 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33842 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33843 bit from old_res_options.
33845 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33847 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33848 value type for setfct.
33850 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33853 __gettimeofday instead of gettimeofday.
33855 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33857 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33859 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33861 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33863 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33866 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33869 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33870 strcpy-sse2-unaligned strncpy-sse2-unaligned
33871 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33872 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33873 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33874 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33875 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33876 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33878 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33879 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33880 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33881 (STRCPY): Support SSE2 and SSSE3 versions.
33883 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33887 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33888 kernels which artificially limit size of requests.
33890 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33893 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33894 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33895 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33896 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33897 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33898 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33899 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33902 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33903 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33904 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33905 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33906 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33908 Enable unaligned load optimization for Intel Core i3, i5 and i7
33910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33912 (index_Fast_Unaligned_Load): Define.
33913 (HAS_FAST_UNALIGNED_LOAD): Define.
33915 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33917 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33919 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33923 until it is clear that the information is realy needed.
33924 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33926 2011-06-22 Andreas Schwab <schwab@redhat.com>
33928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33930 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33933 /sys/devices/system/cpu/online if it is usable.
33935 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33936 reading the information from the /proc filesystem to once a second.
33938 2011-06-21 Andreas Jaeger <aj@suse.de>
33940 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33941 NULL after inclusion of kernel headers.
33943 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33945 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33946 calls to internal_setent.
33949 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33950 addresses using gethostbyname4_r ignore IPv4 addresses.
33952 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33953 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33955 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33957 2011-06-20 David S. Miller <davem@davemloft.net>
33959 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33961 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33963 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33964 (elf_irel): Use it.
33965 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33966 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33967 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33968 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33969 * sysdeps/x86_64/dl-irel.h: Likewise.
33971 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33972 * elf/dl-sym.c: Likewise.
33974 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33976 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33977 need to dereference resplen2.
33979 2011-06-14 Andreas Schwab <schwab@redhat.com>
33981 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33983 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33985 * Makeconfig: Define vardbdir and inst_vardbdir.
33986 * nss/Makefile: Add rules to install db-Makefile.
33988 * nss/nss_db/db-XXX.c: Cleanup.
33990 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33991 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33993 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33994 * nss/makedb.c: Implement -g option to specify that value strings
33995 are generated and should not be added to table iterated over for
33997 * nss/nss_db/db-initgroups.c: New file.
33999 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34002 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34003 (internal_getgrouplist): Adjust to name change.
34004 Update use_initgroups_entry if this is not the first call.
34005 * nss/databases.def: Add initgroups entry.
34007 * nss/makedb.c (compute_tables): Check result of multiple hash table
34008 sizes to minimize maximum chain length.
34010 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34012 * Versions.def: Add entry for libnss_db.
34013 * shlib-versions: Likewise.
34014 * nss/Makefile: Add rules to build libnss_db.
34015 * nss/Versions: Add libnss_db information. Organize libnss_files
34017 * nss/db-Makefile: Add gshadow support. Change rules for the new
34018 makedb progra. Some minor improvements to generate smaller files.
34019 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34021 * nss/makedb.c: ...here.
34022 Improve database format to be smaller and require less memory at
34024 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34026 * nss/nss_db/db-netgrp.c: Likewise.
34027 * nss/nss_db/db-open.c: Likewise.
34028 * nss/nss_files/flies-XXX.x: Adjust comments.
34029 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34030 * nss/nss_files/files-grp.c: Likewise.
34031 * nss/nss_files/files-hosts.c: Likewise.
34032 * nss/nss_files/files-network.c: Likewise.
34033 * nss/nss_files/files-proto.c: Likewise.
34034 * nss/nss_files/files-pwd.c: Likewise.
34035 * nss/nss_files/files-rpc.c: Likewise.
34036 * nss/nss_files/files-service.c: Likewise.
34037 * nss/nss_files/files-sgrp.c: Likewise.
34038 * nss/nss_files/files-spwd.c: Likewise.
34039 * nss/nss_db/db-alias.c: Removed.
34040 * nss/nss_db/dummy-db.h: Removed.
34042 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34044 * nss/makedb.c: Rewritten to not use database library.
34045 * nss/Makefile: Update to build new makedb program.
34047 2011-06-14 Andreas Jaeger <aj@suse.de>
34049 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34050 memset declaration.
34052 2011-06-10 Andreas Schwab <schwab@redhat.com>
34054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34057 2011-06-10 Roland McGrath <roland@hack.frob.com>
34059 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34060 * elf/Makefile ($(objpfx)ld.so): Likewise.
34062 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34063 Don't list ld.so twice in dependencies.
34065 * posix/bug-regex31.c: Include <stdlib.h>.
34067 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34069 * nis/nss_compat/compat-spwd.c
34070 (getspent_next_nss_netgr): Remove unused variable.
34071 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34073 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34074 nonmembers" output to use the right array.
34076 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34078 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34080 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34081 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34082 * catgets/gencat.c (read_input_file): Likewise.
34083 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34085 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34086 variable definition inside #if's controlling its use.
34088 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34090 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34092 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34094 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34097 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34099 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34100 * configure: Regenerated.
34102 * Makerules: Revert last change.
34103 * elf/Makefile: Likewise.
34105 2011-06-09 Roland McGrath <roland@hack.frob.com>
34107 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34108 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34109 (reloc-link): Likewise.
34111 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34113 * elf/Makefile: Add rules to build pldd.
34114 * elf/pldd.c: New file.
34115 * elf/pldd-xx.c: New file.
34117 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34119 * version.h: Update for 2.15 development version.
34121 2011-06-07 David S. Miller <davem@davemloft.net>
34123 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34126 elf_machine_lazy_rel): Likewise.
34127 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34128 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34129 elf_machine_lazy_rel): Likewise.
34130 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34131 dl_hwcap via passed in argument.
34132 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34135 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34137 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34139 2011-06-06 Roland McGrath <roland@hack.frob.com>
34142 * manual/fdl-1.1.texi: New file, verbatim from:
34143 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34144 * manual/lgpl-2.1.texi: New file, verbatim from:
34145 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34146 * manual/Makefile (licenses): New variable, list those new file names.
34148 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34150 * manual/fdl.texi: File removed.
34151 * manual/lesser.texi: File removed.
34152 * manual/libc.texinfo (Copying, Documentation License):
34153 Use new @include file names, put @appendix directive before @include.
34155 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34158 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34159 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34160 (mq_open): Add __NTH.
34162 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34165 Assume Intel Core i3/i5/i7 processor if AVX is available.
34167 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34172 2011-05-31 Andreas Schwab <schwab@redhat.com>
34174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34175 memory. Use alloca_account. Fix memory leak when retrying.
34177 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34179 * version.h (RELEASE): Bump for 2.14 release.
34180 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34182 * config.make.in (RANLIB): Remove entry.
34184 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34186 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34187 (libc.pot): Work around missing support for .ksh extension in xgettext.
34190 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34191 if both request failed.
34192 (send_dg): In case of server errors clear resplen or *resplen2.
34195 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34196 when there are multiple maps.
34197 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34198 (_dl_fini): Remove test here.
34200 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34202 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34205 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34206 bit from old_res_options.
34207 (gaih_inet): Likewise.
34210 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34213 * resolv/res_init.c (res_setoptions): Make the code more compact.
34216 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34220 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34222 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34225 * malloc/malloc.h: Declare malloc hook variables as volatile.
34227 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34231 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34232 raise in the comment.
34233 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34235 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34237 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34240 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34241 grow the buffers more if it already has to be sufficient.
34242 (build_wcs_upper_buffer): Likewise.
34243 * posix/regexec.c (check_matching): Likewise.
34244 (clean_state_log_if_needed): Likewise.
34245 (extend_buffers): Don't enlarge buffers beyond size of the input
34247 Patches mostly by Emil Wojak <emil@wojak.eu>.
34248 * posix/bug-regex32.c: New file.
34249 * posix/Makefile (tests): Add bug-regex32.
34251 * locale/findlocale.c (_nl_find_locale): Return right away if
34252 _nl_explode_name failed.
34253 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34255 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34257 * debug/xtrace.sh: Unify messages.
34258 * malloc/memusage.sh: Likewise.
34261 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34262 time symbol from vDSO. Substitute with vsyscall if not available.
34263 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34266 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34267 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34268 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34269 Add sendmmsg and internal_sendmmsg.
34270 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34271 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34272 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34274 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34275 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34278 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34281 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34282 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34284 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34288 * iconvdata/Makefile (tests): Add bug-iconv9.
34289 * iconvdata/bug-iconv9.c: New file.
34291 2011-05-27 Andreas Schwab <schwab@redhat.com>
34294 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34296 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34299 (struct user_regs_struct): Change intcs field back to cs.
34301 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34303 * po/ja.po: Update from translation team.
34305 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34308 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34309 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34311 2011-05-20 Andreas Schwab <schwab@redhat.com>
34313 * stdlib/longlong.h: Update from GCC.
34315 2011-05-23 Andreas Schwab <schwab@redhat.com>
34317 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34319 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34320 Add parameter name.
34321 (__sysconf): Pass it down.
34323 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34326 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34329 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34330 add in in __libc_use_alloca calls. Adjust callers.
34331 (glob): Use malloc in some situations.
34333 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34334 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34337 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34339 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34340 and CLOCK_BOOTTIME_ALARM.
34343 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34346 * string/_strerror.c (__strerror_r): Print negative errors as signed
34350 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34351 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34352 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34354 * configure.in: Fix typo in redirection and correct removal of test
34355 files in two cases.
34358 * locale/setlocale.c (new_composite_name): Fix test to check for
34359 identical name of all categories.
34362 * libio/filedoalloc.c (local_isatty): New function.
34363 (_IO_file_doallocate): Use local_isatty.
34364 * stdio-common/perror.c (perror): In case a new stream is used
34365 forward the stream error.
34366 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34369 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34374 * include/alloca.h (extend_alloca_account): Define.
34377 * posix/regex.h: Fix comments with documentation of user-accessible
34378 fields after compilation and describe correct free'ing of pattern
34379 after re_compile_pattern.
34380 Patch by Reuben Thomas <rrt@sc3d.org>.
34382 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34384 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34385 and -mno-altivec to prevent the compiler from using Altivec and/or
34386 VSX instructions when the corresponding registers are not available.
34388 2011-05-19 Andreas Schwab <schwab@redhat.com>
34390 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34392 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34394 * libio/freopen.c (freopen): Use __dup2, not dup2.
34395 * libio/freopen64.c (freopen64): Likewise.
34397 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34400 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34401 * math/Makefile (tests): Add test-powl.
34402 (CFLAGS-test-powl.c): Define.
34403 * math/test-powl.c: New file.
34405 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34407 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34409 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34412 * iconvdata/gb18030.c: Update to GB18020-2005.
34414 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34416 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34417 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34418 Patch by Aharon Robbins <arnold@skeeve.com>.
34421 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34425 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34426 through underflows.
34429 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34430 point to strings before performing equality test for error_one_per_line
34434 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34438 (struct user_fpregs_struct): Avoid __uint*_t types.
34441 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34442 symbol info. Use it instead of calling _dl_addr locally.
34443 (lock_and_info): New function.
34444 (tr_freehook): Call lock_and_info and pass symbol info as additional
34445 parameter to tr_where.
34446 (tr_mallochook): Likewise.
34447 (tr_reallochook): Likewise.
34448 (tr_memalignhook): Likewise.
34450 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34451 used and couldn't be at all thread-safe.
34453 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34455 * libio/freopen.c (freopen): Don't close old file descriptor
34456 before the new one is opened. Instead dup the new file descriptor
34457 to the old one after the new stream is created.
34458 * libio/freopen64.c (freopen64): Likewise.
34459 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34460 * libio/fileops.c (_IO_new_file_close_it): Handle new
34461 _IO_FLAGS2_NOCLOSE flag.
34462 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34463 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34464 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34465 _IO_FLAGS2_NOCLOSE flag.
34466 * include/unistd.h: Add hidden_proto for dup3.
34467 Define __have_dup3.
34468 * io/dup3.c: Define hidden symbol.
34469 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34472 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34473 when an incomplete long option is used.
34474 * posix/tst-getopt_long1.c: New file.
34475 * posix/Makefile (tests): Add tst-getopt_long1.
34478 * scripts/config.guess: Update from autoconf-2.68.
34479 * scripts/config.sub: Likewise.
34482 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34484 (has_cpuclock): ...this. New function.
34485 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34486 macro here based on has_cpuclock code.
34489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34490 First byte (not low byte) is now always NUL.
34491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34494 Use non-cancelable interfaces.
34497 * locale/iso-639.def: Add entry for Sorani.
34500 * include/stdlib.h: Move include protection to the right place.
34501 Define abort_msg_s. Declare __abort_msg with it.
34502 * stdlib/abort.c (__abort_msg): Adjust type.
34503 * assert/assert.c (__assert_fail_base): New function. Majority
34504 of code from __assert_fail. Allocate memory for __abort_msg with
34506 (__assert_fail): Now call __assert_fail_base.
34507 * assert/assert-perr.c: Remove bulk of implementation. Use
34508 __assert_fail_base.
34509 * include/assert.hL Declare __assert_fail_base.
34510 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34512 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34514 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34518 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34519 until all modules are registered in the DTV.
34520 * elf/Makefile: Add rules to build and run tst-tls19.
34521 * elf/tst-tls19.c: New file.
34522 * elf/tst-tls19mod1.c: New file.
34523 * elf/tst-tls19mod2.c: New file.
34524 * elf/tst-tls19mod3.c: New file.
34525 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34528 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34532 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34533 two-byte sequence errors.
34534 * iconvdata/Makefile (tests): Add bug-iconv8.
34535 * iconvdata/bug-iconv8.c: New file.
34538 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34541 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34544 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34545 (dummy_getcfa): New function.
34546 (init): Get _Unwind_GetCFA address, use dummy if not found.
34547 (backtrace_helper): In recursion check, also check whether CFA changes.
34548 (__backtrace): Completely initialize arg.
34550 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34551 storing incomplete byte sequence in state object. Avoid testing for
34552 guaranteed too small input if we know there is enough data available.
34554 2011-05-11 Andreas Schwab <schwab@redhat.com>
34556 * Makeconfig (+link-pie): Indent.
34557 * Rules (binaries-pie): Define if $(have-fpie) and
34559 (binaries-shared): Also filter out $(binaries-pie).
34560 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34561 * nscd/Makefile (others-pie): Add nscd.
34562 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34563 ($(objpfx)nscd): Remove command override.
34564 * login/Makefile (others-pie): Add pt_chown.
34565 ($(objpfx)pt_chown): Remove command override.
34566 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34567 remove command overrides.
34569 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34571 * libio/tst_putwc.c: Fix error messages.
34574 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34575 currently writing and seek to current position when not.
34576 * libio/Makefile (tests): Add bug-fclose1.
34577 * libio/bug-fclose1.c: New file.
34579 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34582 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34583 don't set DF_1_NODELETE here.
34584 (do_lookup_x): When entering new entry test for copy relocation
34585 and if necessary set DF_1_NODELETE flag.
34586 * elf/tst-unique4.cc: New file.
34587 * elf/tst-unique4.h: New file.
34588 * elf/tst-unique4lib.cc: New file.
34589 * elf/Makefile: Add rules to build and run tst-unique4.
34590 Patch by Piotr Bury <pbury@goahead.com>.
34592 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34595 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34598 * misc/mntent_r.c (addmntent): Flush the stream after the output
34601 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34602 (is_trusted_path_normalize): Skip initial colon. Append slash
34603 to empty buffer. Duplicate is_trusted_path code but allow
34604 constructed patch to be prefix.
34605 (is_dst): Allow $ORIGIN followed by /.
34606 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34607 Correct testing of result of is_trusted_path_normalize
34608 (decompose_rpath): Fix warning.
34610 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34613 * grp/initgroups.c (internal_getgrouplist): When we found the service
34614 list through the initgroups entry in nsswitch.conf do not always
34615 continue on a successful lookup. Don't always use the
34616 __nss_group_database value if it is set.
34617 * nss/nsswitch.conf (initgroups): Change action for successful db
34618 lookup to continue for compatibility.
34620 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34623 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34625 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34627 * iconvdata/tst-tables.sh: Likewise.
34628 * iconvdata/cp770.c: New file.
34629 * iconvdata/cp771.c: New file.
34630 * iconvdata/cp772.c: New file.
34631 * iconvdata/cp773.c: New file.
34632 * iconvdata/cp774.c: New file.
34633 * iconvdata/testdata/CP770: New file.
34634 * iconvdata/testdata/CP770..UTF8: New file.
34635 * iconvdata/testdata/CP771: New file.
34636 * iconvdata/testdata/CP771..UTF8: New file.
34637 * iconvdata/testdata/CP772: New file.
34638 * iconvdata/testdata/CP772..UTF8: New file.
34639 * iconvdata/testdata/CP773: New file.
34640 * iconvdata/testdata/CP773..UTF8: New file.
34641 * iconvdata/testdata/CP774: New file.
34642 * iconvdata/testdata/CP774..UTF8: New file.
34644 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34646 * iconvdata/gen-8bit-gap.sh: Likewise.
34647 * iconvdata/gen-8bit.sh: Likewise.
34649 * locale/iso-639.def: Add ary entry.
34652 * locale/C-translit.h.in: Add U20A1 transliteration.
34655 * locale/iso-639.def: Add wae entry.
34656 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34659 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34663 * locale/C-translit.h.in: Add entry for U20B9.
34664 Patch by pravin.d.s@gmail.com.
34666 2011-05-08 Ulrich Drepper <drepper@gmail.com>
34669 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34670 ENAMETOOLONG use generic getcwd.
34671 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34672 in rtld. Use *stat64.
34673 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34674 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34675 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34676 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34677 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34678 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34679 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34680 __fstatat64 macros.
34681 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34682 * dirent/rewinddir.c: Add libc_hidden_def.
34683 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34684 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34686 * include/dirent.h (__alloc_dir): Add flags parameter.
34687 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34688 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34690 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34691 from fdopendir if O_CLOEXEC is already set.
34693 2011-03-15 Alan Modra <amodra@gmail.com>
34695 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34696 l_tls_firstbyte_offset non-zero. Save padding offset in
34697 l_tls_firstbyte_offset for later use.
34698 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34699 freeing static tls block.
34701 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34703 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34704 where #ifdef was intended. The intent is to prevent ARG_MAX from
34705 being defined by the kernel headers.
34707 2011-05-07 Ulrich Drepper <drepper@gmail.com>
34710 * resolv/resolv.h: Define RES_NOTLDQUERY.
34711 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34712 no-tld-query and set RES_NOTLDQUERY.
34713 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34714 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34715 modern BIND to search name as TLD unless forbidden.
34717 2011-05-07 Petr Baudis <pasky@suse.cz>
34718 Ulrich Drepper <drepper@gmail.com>
34721 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34722 (is_trusted_path): ...to here.
34723 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34724 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34725 using is_trusted_path_normalize() in setuid scripts.
34727 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34730 __BEGIN/__END_DECLS.
34732 2011-05-06 Ulrich Drepper <drepper@gmail.com>
34734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34735 NSS_STATUS_NOTFOUND if no record was found.
34737 2011-05-05 Andreas Schwab <schwab@redhat.com>
34739 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34740 (headers-not-in-tirpc): Remove rpc/netdb.h
34741 * resolv/netdb.h: Revert last change.
34743 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34745 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34746 circular dependency between libgcc.a and libc.a.
34748 2011-05-05 Andreas Schwab <schwab@redhat.com>
34750 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34751 * nis/Makefile: Don't install rpcsvc/*.
34752 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34753 instead of <rpc/types.h>.
34754 (MAXHOSTNAMELEN): Define.
34756 2011-05-03 Andreas Schwab <schwab@redhat.com>
34758 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34760 2011-04-28 Maciej Babinski <mbabinski@google.com>
34763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34764 gethostbyname4_r when IPv6 results are possible.
34766 2011-05-02 Ulrich Drepper <drepper@gmail.com>
34769 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34770 _PC_PIPE_BUF handling.
34772 2011-04-30 Bruno Haible <bruno@clisp.org>
34775 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34776 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34778 * inet/getnameinfo.c (getnameinfo): Likewise.
34780 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34782 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34783 to groups setting in database lookup.
34784 * nss/nsswitch.conf: Add initgroups entry.
34786 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34789 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34791 Patch by Eric Blake <eblake@redhat.com>.
34793 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34795 * sunrpc/Makefile (need-export-routines): Add svc_run.
34796 (routines): Remove svc_run.
34797 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34798 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34799 * sunrpc/svc_run.c (svc_run): Likewise.
34800 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34802 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34805 problem in reallocation in last patch.
34807 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34809 * sunrpc/Makefile: Move inclusion of Rules.
34811 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34813 * nss/nss_files/files-initgroups.c: New file.
34814 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34815 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34816 _nss_files_initgroups_dyn.
34818 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34820 * elf/elf.h (R_ARM_IRELATIVE): Define.
34822 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34824 * po/ru.po: Update from translation team.
34826 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34828 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34831 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34834 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34835 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34837 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34838 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34840 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34842 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34844 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34848 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34851 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34853 * stdlib/bug-getcontext.c: New file.
34854 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34856 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34858 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34859 instructions into .machine "z9-109".
34860 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34861 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34863 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34865 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34866 between environment variables and auxiliary vector.
34868 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34870 * Makefile: Add rules to build linkobj/libc.so.
34871 * include/libc-symbols.h: Define libc_hidden_nolink.
34872 * include/rpc/auth.h: Mark functions which are to be hidden.
34873 * include/rpc/auth_des.h: Likewise.
34874 * include/rpc/auth_unix.h: Likewise.
34875 * include/rpc/clnt.h: Likewise.
34876 * include/rpc/des_crypt.h: Likewise.
34877 * include/rpc/key_prot.h: Likewise.
34878 * include/rpc/pmap_clnt.h: Likewise.
34879 * include/rpc/pmap_prot.h: Likewise.
34880 * include/rpc/pmap_rmt.h: Likewise.
34881 * include/rpc/rpc_msg.h: Likewise.
34882 * include/rpc/svc.h: Likewise.
34883 * include/rpc/svc_auth.h: Likewise.
34884 * include/rpc/xdr.h: Likewise.
34885 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34886 * nss/Makefile: Likewise.
34887 * sunrpc/Makefile: Don't install headers. Build library with normal
34888 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34889 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34890 for the compat linking library. Remove use of INTDEF/INTUSE.
34891 * sunrpc/auth_none.c: Likewise.
34892 * sunrpc/auth_unix.c: Likewise.
34893 * sunrpc/authdes_prot.c: Likewise.
34894 * sunrpc/authuxprot.c: Likewise.
34895 * sunrpc/clnt_gen.c: Likewise.
34896 * sunrpc/clnt_perr.c: Likewise.
34897 * sunrpc/clnt_raw.c: Likewise.
34898 * sunrpc/clnt_simp.c: Likewise.
34899 * sunrpc/clnt_tcp.c: Likewise.
34900 * sunrpc/clnt_udp.c: Likewise.
34901 * sunrpc/clnt_unix.c: Likewise.
34902 * sunrpc/des_crypt.c: Likewise.
34903 * sunrpc/des_soft.c: Likewise.
34904 * sunrpc/get_myaddr.c: Likewise.
34905 * sunrpc/key_call.c: Likewise.
34906 * sunrpc/key_prot.c: Likewise.
34907 * sunrpc/netname.c: Likewise.
34908 * sunrpc/pm_getmaps.c: Likewise.
34909 * sunrpc/pm_getport.c: Likewise.
34910 * sunrpc/pmap_clnt.c: Likewise.
34911 * sunrpc/pmap_prot.c: Likewise.
34912 * sunrpc/pmap_prot2.c: Likewise.
34913 * sunrpc/pmap_rmt.c: Likewise.
34914 * sunrpc/publickey.c: Likewise.
34915 * sunrpc/rpc_cmsg.c: Likewise.
34916 * sunrpc/rpc_common.c: Likewise.
34917 * sunrpc/rpc_dtable.c: Likewise.
34918 * sunrpc/rpc_prot.c: Likewise.
34919 * sunrpc/rpc_thread.c: Likewise.
34920 * sunrpc/rtime.c: Likewise.
34921 * sunrpc/svc.c: Likewise.
34922 * sunrpc/svc_auth.c: Likewise.
34923 * sunrpc/svc_authux.c: Likewise.
34924 * sunrpc/svc_raw.c: Likewise.
34925 * sunrpc/svc_run.c: Likewise.
34926 * sunrpc/svc_simple.c: Likewise.
34927 * sunrpc/svc_tcp.c: Likewise.
34928 * sunrpc/svc_udp.c: Likewise.
34929 * sunrpc/svc_unix.c: Likewise.
34930 * sunrpc/svcauth_des.c: Likewise.
34931 * sunrpc/xcrypt.c: Likewise.
34932 * sunrpc/xdr.c: Likewise.
34933 * sunrpc/xdr_array.c: Likewise.
34934 * sunrpc/xdr_float.c: Likewise.
34935 * sunrpc/xdr_intXX_t.c: Likewise.
34936 * sunrpc/xdr_mem.c: Likewise.
34937 * sunrpc/xdr_rec.c: Likewise.
34938 * sunrpc/xdr_ref.c: Likewise.
34939 * sunrpc/xdr_sizeof.c: Likewise.
34940 * sunrpc/xdr_stdio.c: Likewise.
34942 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34945 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34946 * sysdeps/ia64/dl-tls.h: Likewise.
34947 * sysdeps/powerpc/dl-tls.h: Likewise.
34948 * sysdeps/s390/dl-tls.h: Likewise.
34949 * sysdeps/sh/dl-tls.h: Likewise.
34950 * sysdeps/sparc/dl-tls.h: Likewise.
34951 * sysdeps/x86_64/dl-tls.h: Likewise.
34952 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34954 2011-03-14 Andreas Schwab <schwab@redhat.com>
34956 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34957 rpath element also skip the following colon.
34958 (expand_dynamic_string_token): Add is_path parameter and pass
34959 down to DL_DST_REQUIRED and _dl_dst_substitute.
34960 (decompose_rpath): Call expand_dynamic_string_token with
34961 non-zero is_path. Ignore empty rpaths.
34962 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34965 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34970 2011-04-09 Ulrich Drepper <drepper@gmail.com>
34973 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34974 Patch by Filipe David Manana <fdmanana@apache.org>.
34976 2011-04-07 Andreas Schwab <schwab@redhat.com>
34978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34979 Maintain aligned stack.
34980 (CHECK_RSP): Remove unused macro.
34982 2011-04-03 Ulrich Drepper <drepper@gmail.com>
34984 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34985 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34987 2011-04-02 Ulrich Drepper <drepper@gmail.com>
34989 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34991 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34993 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34996 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34997 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34998 * sysdeps/x86_64/memmove.c: New file.
34999 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35000 (memcpy): Renamed to ...
35001 (__new_memcpy): This.
35002 (memcpy): Provide GLIBC_2_14 memcpy.
35003 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35004 (memcpy): Provide GLIBC_2_2_5 memcpy.
35006 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35009 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35011 2011-03-30 Andreas Schwab <schwab@redhat.com>
35013 * misc/syncfs.c: New file.
35014 * misc/Makefile (routines): Add syncfs.
35015 * posix/unistd.h: Declare syncfs.
35016 * sysdeps/unix/syscalls.list: Add syncfs.
35018 2011-04-01 Andreas Schwab <schwab@redhat.com>
35020 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35023 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35025 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35027 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35030 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35033 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35034 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35040 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35041 sync_file_range.c with -fexceptions.
35042 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35043 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35044 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35045 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35046 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35047 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35049 sync_file_range as cancellation point
35050 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35051 now a wrapper around __call_sync_file_range with cancellation handling.
35052 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35053 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35054 function name to __call_sync_file_range.
35055 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35056 Add call_sync_file_range.
35058 2011-04-01 Andreas Schwab <schwab@redhat.com>
35060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35063 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35065 * iconv/iconv.h: Fix typo in comment.
35066 * io/fcntl.h: Likewise.
35067 * libio/stdio.h: Likewise.
35068 * posix/spawn.h: Likewise.
35069 * posix/unistd.h: Likewise.
35070 * stdlib/stdlib.h: Likewise.
35071 * time/time.h: Likewise.
35072 * wcsmbs/wchar.h: Likewise.
35074 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35075 open_by_handle): Add.
35076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35077 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35078 Augment a few comments.
35079 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35081 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35084 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35087 * io/fcntl.h (AT_EMPTY_PATH): Define.
35089 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35091 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35092 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35093 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35095 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35096 * Versions.def: Add GLIBC_2.14.
35097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35100 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35102 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35104 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35106 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35109 * string/test-strncmp.c (do_page_test): New function.
35110 (check2): Likewise.
35111 (test_main): Call check2.
35112 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35114 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35117 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35118 Handle cache information in CPU leaf 4.
35119 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35121 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35124 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35125 character representation.
35126 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35128 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35130 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35131 END(__isnan) to END(__isnanf) to match function entry point/label
35132 EALIGN(__isnanf,...).
35134 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35136 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35138 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35141 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35142 copy from the symbol referenced in the relocation to initialize the
35144 Patch by Piotr Bury <pbury@goahead.com>.
35145 * elf/Makefile: Add rules to build and tst-unique3.
35146 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35147 * elf/tst-unique3.cc: New file.
35148 * elf/tst-unique3.h: New file.
35149 * elf/tst-unique3lib.cc: New file.
35150 * elf/tst-unique3lib2.cc: New file.
35152 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35154 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35156 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35157 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35160 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35162 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35163 to-be-loaded object along a path to loader is ld.so.
35165 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35166 Ulrich Drepper <drepper@gmail.com>
35168 * sysdeps/x86_64/memset.S: After aligning destination, code
35169 branches to different locations depending on the value of
35170 misalignment, when multiarch is enabled. Fix this.
35172 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35174 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35175 Set _x86_64_preferred_memory_instruction for AMD processsors.
35176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35177 Set bit_Prefer_SSE_for_memop for AMD processors.
35179 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35181 * libio/fmemopen.c (fmemopen): Optimize a bit.
35183 2011-03-03 Andreas Schwab <schwab@redhat.com>
35185 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35187 2011-03-03 Roland McGrath <roland@redhat.com>
35189 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35191 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35193 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35194 __bzero_ultra1 instead of __memset_ultra1.
35196 2011-02-23 Andreas Schwab <schwab@redhat.com>
35197 Ulrich Drepper <drepper@gmail.com>
35200 * include/link.h (struct link_map): Add l_orig_initfini.
35201 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35202 returning unsuccessfully.
35203 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35204 close of a file loaded at startup, restore the original l_initfini
35206 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35207 list, store the pointer.
35208 * elf/Makefile ($(objpfx)noload-mem): New rule.
35209 (noload-ENV): Define.
35210 (tests): Add $(objpfx)noload-mem.
35211 * elf/noload.c: Include <memcheck.h>.
35212 (main): Call mtrace. Close all opened handles.
35214 2011-02-17 Andreas Schwab <schwab@redhat.com>
35217 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35218 dependencies are missing.
35220 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35222 Fix __if_freereq crash: Unlike the generic version which uses free,
35224 * sysdeps/mach/hurd/ifreq.h: New file.
35226 2011-01-27 Petr Baudis <pasky@suse.cz>
35227 Ulrich Drepper <drepper@gmail.com>
35230 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35231 to extend_alloca().
35232 * stdio-common/bug23.c: New file.
35233 * stdio-common/Makefile (tests): Add bug23.
35235 2010-09-28 Andreas Schwab <schwab@redhat.com>
35236 Ulrich Drepper <drepper@gmail.com>
35239 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35240 before performing relro protection. At old place add assertion
35241 to make sure nothing changed.
35243 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35244 Glauber de Oliveira Costa <glommer@gmail.com>
35246 * elf/elf.h: Add new ARM TLS relocs.
35248 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35251 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35253 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35255 * sysdeps/wordsize-64/tst-writev.c: New file.
35257 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35259 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35260 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35261 insns in _dl_start to prevent a TOC reference before relocs are
35264 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35267 * Makeconfig: Remove RANLIB definition.
35268 * Makerules: Don't use RANLIB.
35269 * aclocal.m4: Remove ranlib test.
35270 * configure.in: No need to check for ranlib.
35271 * elf/rtld-Rules: Don't use RANLIB.
35273 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35275 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35277 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35278 inclusion protection macro.
35280 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35281 SIGRTMIN and SIGRTMAX and print information in that case only when
35282 SIGRTMIN is defined.
35284 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35286 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35287 arginfo fn returning -1.
35289 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35290 and thousands string is zero terminated.
35292 2011-02-03 Andreas Schwab <schwab@redhat.com>
35294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35295 sysdeps/unix/sysv/linux/bits/socket.h.
35297 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35299 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35300 (__CPU_COUNT): Remove old macros.
35301 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35302 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35303 (__CPU_ALLOC, __CPU_FREE): Add macros.
35304 (__sched_cpualloc, __sched_cpufree): Add declarations.
35306 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35308 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35309 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35310 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35311 (readdhstai): Return value of addhstaiX call.
35312 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35313 (addgrbyX): Return value returned by cache_addgr.
35314 (readdgrbyname): Return value returned by addgrbyX.
35315 (readdgrbygid): Likewise.
35316 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35317 (addpwbyX): Return value returned by cache_addpw.
35318 (readdpwbyname): Return value returned by addhstbyX.
35319 (readdpwbyuid): Likewise.
35320 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35321 (addservbyX): Return value returned by cache_addserv.
35322 (readdservbyname): Return value returned by addservbyX:
35323 (readdservbyport): Likewise.
35324 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35325 (addhstbyX): Return value returned by cache_addhst.
35326 (readdhstbyname): Return value returned by addhstbyX.
35327 (readdhstbyaddr): Likewise.
35328 (readdhstbynamev6): Likewise.
35329 (readdhstbyaddrv6): Likewise.
35330 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35331 (readdinitgroups): Return value returned by addinitgroupsX.
35332 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35333 (prune_cache): Keep track of timeout value of re-added entries.
35334 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35335 * nscd/nscd.h: Adjust prototypes of readd* functions.
35337 2011-02-04 Roland McGrath <roland@redhat.com>
35339 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35340 (nis_stats): Likewise.
35341 * nis/nis_modify.c (nis_modify): Likewise.
35342 * nis/nis_remove.c (nis_remove): Likewise.
35343 * nis/nis_add.c (nis_add): Likewise.
35345 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35347 * posix/fnmatch_loop.c: Add some consts.
35349 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35351 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35354 * config.make.in (config-cflags-novzeroupper): Define.
35355 * configure.in: Substitute libc_cv_cc_novzeroupper.
35356 * elf/Makefile (AVX-CFLAGS): Define.
35357 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35358 (CFLAGS-tst-auditmod4a.c): Likewise.
35359 (CFLAGS-tst-auditmod4b.c): Likewise.
35360 (CFLAGS-tst-auditmod6b.c): Likewise.
35361 (CFLAGS-tst-auditmod6c.c): Likewise.
35362 (CFLAGS-tst-auditmod7b.c): Likewise.
35363 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35365 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35367 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35368 function to the callback.
35369 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35371 2011-02-02 Andreas Schwab <schwab@redhat.com>
35373 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35376 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35379 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35381 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35383 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35386 * elf/Makefile: Add rules to build and run new test.
35387 * elf/tst-initorder.c: New file.
35388 * elf/tst-initorder.exp: New file.
35389 * elf/tst-initordera1.c: New file.
35390 * elf/tst-initordera2.c: New file.
35391 * elf/tst-initordera3.c: New file.
35392 * elf/tst-initordera4.c: New file.
35393 * elf/tst-initorderb1.c: New file.
35394 * elf/tst-initorderb2.c: New file.
35395 * elf/tst-order-a1.c: New file.
35396 * elf/tst-order-a2.c: New file.
35397 * elf/tst-order-a3.c: New file.
35398 * elf/tst-order-a4.c: New file.
35399 * elf/tst-order-b1.c: New file.
35400 * elf/tst-order-b2.c: New file.
35401 * elf/tst-order-main.c: New file.
35402 New test case by George Gensure <werkt0@gmail.com>.
35404 2010-10-01 Andreas Schwab <schwab@redhat.com>
35406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35407 decoding ACE if AI_CANONIDN.
35409 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35411 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35413 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35415 * version.h (RELEASE): Bump for 2.13 release.
35416 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35418 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35420 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35422 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35425 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35429 * posix/getconf.c: Update copyright year.
35430 * catgets/gencat.c: Likewise.
35431 * csu/version.c: Likewise.
35432 * debug/catchsegv.sh: Likewise.
35433 * debug/xtrace.sh: Likewise.
35434 * elf/ldconfig.c: Likewise.
35435 * elf/ldd.bash.in: Likewise.
35436 * elf/sprof.c (print_version): Likewise.
35437 * iconv/iconv_prog.c: Likewise.
35438 * iconv/iconvconfig.c: Likewise.
35439 * locale/programs/locale.c: Likewise.
35440 * locale/programs/localedef.c: Likewise.
35441 * malloc/memusage.sh: Likewise.
35442 * malloc/mtrace.pl: Likewise.
35443 * nscd/nscd.c (print_version): Likewise.
35444 * nss/getent.c: Likewise.
35446 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35447 PF_CAIF, and PF_ALG.
35448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35450 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35452 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35453 (modules-names): Use them.
35454 (ifunc-test-modules, ifunc-pie-tests): Define.
35455 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35456 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35457 (test-extras): Likewise.
35458 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35459 $(compile-command.c).
35460 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35461 (all-built-dso): Define.
35462 (check-textrel.out, check-execstack.out): Depend on it.
35464 * configure.in: Don't override --enable-multi-arch.
35466 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35469 * nscd/hstcache.c (tryagain): Define.
35470 (cache_addhst): Return tryagain not notfound for temporary errors.
35471 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35474 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35477 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35478 to make the syscall.
35479 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35482 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35483 and fall back to matching as normal character if the string ends before
35484 the matching ']' is found. This is what POSIX requires.
35485 * posix/testfnm.c: Adjust test result.
35486 * posix/globtest.sh: Adjust test result. Add new test.
35487 * posix/tst-fnmatch.input: Likewise.
35488 * posix/tst-fnmatch2.c: Add new test.
35490 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35492 * elf/Makefile (check-execstack): Revert last change. Depend on
35494 (check-execstack.h): New target.
35495 (generated): Add check-execstack.h.
35496 * elf/check-execstack.c: Include "check-execstack.h".
35497 (main): Revert last change.
35498 (handle_file): Return zero if GNU_STACK is absent and
35499 DEFAULT_STACK_PERMS doesn't include PF_X.
35501 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35503 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35504 in child fails because the descriptor is already closed.
35505 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35506 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35507 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35510 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35514 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35515 temporary buffer used to handle multi lookups locally.
35516 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35518 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35520 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35523 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35525 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35526 alignment for SSE2.
35528 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35531 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35532 characters. When rounding increased number of integer digits recompute
35534 * stdio-common/tst-grouping.c: New file.
35535 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35537 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35539 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35540 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35542 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35544 * bits/select.h: Likewise.
35546 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35548 * po/ja.po: Update from translation team.
35550 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35553 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35554 implementation just like for lxstat, fxstatat, et al.
35556 2010-12-27 Jim Meyering <meyering@redhat.com>
35559 * posix/regexec.c (build_trtable): Return failure indication upon
35560 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35562 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35565 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35566 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35567 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35568 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35571 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35574 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35575 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35577 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35579 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35580 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35581 script has SORT_BY_INIT_PRIORITY.
35582 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35583 NO_CTORS_DTORS_SECTIONS is defined.
35584 * elf/soinit.c: Likewise.
35585 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35586 NO_CTORS_DTORS_SECTIONS is defined.
35587 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35588 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35589 * sysdeps/sh/init-first.c: Likewise.
35590 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35592 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35594 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35595 always use the slow path.
35597 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35599 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35600 similar rule which adds the sysdep directories to the header search in
35601 order to pick up the correct platform stackinfo.h.
35602 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35603 perform test if it is, otherwise return successfully without testing.
35604 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35605 DEFAULT_STACK_PERMS define in stackinfo.h.
35606 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35607 defined in stackinfo.h.
35608 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35609 DEFAULT_STACK_PERMS defined in stackinfo.h.
35610 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35611 * sysdeps/ia64/stackinfo.h: Likewise.
35612 * sysdeps/s390/stackinfo.h: Likewise.
35613 * sysdeps/sh/stackinfo.h: Likewise.
35614 * sysdeps/sparc/stackinfo.h: Likewise.
35615 * sysdeps/x86_64/stackinfo.h: Likewise.
35616 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35617 PF_X for powerpc64. Retain PF_X for powerpc32.
35619 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35621 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35623 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35624 GETDENTS_64BIT_ALIGNED.
35626 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35628 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35630 2010-12-10 Andreas Schwab <schwab@redhat.com>
35632 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35635 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35636 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35638 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35639 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35641 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35644 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35647 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35649 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35651 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35653 * po/it.po: Update from translation team.
35655 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35660 2010-11-30 Ulrich Drepper <drepper@gmail.com>
35662 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35664 2010-11-24 Andreas Schwab <schwab@redhat.com>
35666 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35668 (gaih_getanswer_slice): Likewise.
35670 2010-10-20 Jakub Jelinek <jakub@redhat.com>
35672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35674 2010-05-31 Petr Baudis <pasky@suse.cz>
35677 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35678 silently even in the chroot mode.
35680 2010-11-22 Ulrich Drepper <drepper@gmail.com>
35682 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35683 last patch a bit. Pretty printing
35685 2010-05-31 Petr Baudis <pasky@suse.cz>
35688 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35689 initialization of skip_initgroups_dyn.
35691 2010-11-19 Ulrich Drepper <drepper@gmail.com>
35693 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35696 2010-11-16 Ulrich Drepper <drepper@gmail.com>
35698 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35700 2010-11-11 Andreas Schwab <schwab@redhat.com>
35702 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35703 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35704 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35705 ($(objpfx)tst-fnmatch-mem): New rule.
35706 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35707 * posix/tst-fnmatch.c (main): Call mtrace.
35709 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35712 Support Intel processor model 6 and model 0x2c.
35714 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
35716 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35719 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35722 * string/test-strncasecmp.c (check_result): New function.
35723 (do_one_test): Use it.
35724 (check1): New function.
35725 (test_main): Use it.
35726 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35727 Support strcasecmp and strncasecmp.
35729 2010-11-08 Ulrich Drepper <drepper@gmail.com>
35732 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35733 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35735 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35737 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35741 * sysdeps/x86_64/multiarch/bzero.S: New file.
35742 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35743 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35744 * sysdeps/x86_64/multiarch/memset.S: New file.
35745 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35747 Set bit_Prefer_SSE_for_memop for Intel processors.
35748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35750 (index_Prefer_SSE_for_memop): Define.
35751 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35753 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35755 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35756 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35758 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35761 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35762 (__x86_64_raw_data_cache_size_half): Likewise.
35763 (__x86_64_raw_shared_cache_size): Likewise.
35764 (__x86_64_raw_shared_cache_size_half): Likewise.
35766 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35767 (__x86_64_raw_data_cache_size_half): Likewise.
35768 (__x86_64_raw_shared_cache_size): Likewise.
35769 (__x86_64_raw_shared_cache_size_half): Likewise.
35770 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35771 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35772 and __x86_64_raw_shared_cache_size_half. Round
35773 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35774 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35775 to multiple of 256 bytes.
35777 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35780 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35781 of inacessible symlinks. Verify result of symlink before returning it.
35782 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35783 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35785 2010-10-28 Erich Ritz <erichritz@gmail.com>
35787 * math/math.h (isinf): Fix typo in comment.
35789 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35791 * po/da.po: Update from translation team.
35793 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35795 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35796 is added to the list.
35798 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35799 Ulrich Drepper <drepper@gmail.com>
35801 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35802 the global list here. Move code to...
35803 (_dl_add_to_namespace_list): ...here. New function.
35804 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35805 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35806 * elf/dl-load.c (lose): Don't remove the element from the list.
35807 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35808 (_dl_map_object): Likewise.
35810 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35813 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35814 into all bytes of SSE register.
35815 Patch by Richard Li <richardpku@gmail.com>.
35817 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35820 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35823 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35825 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35826 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35827 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35828 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35833 2010-10-22 Andreas Schwab <schwab@redhat.com>
35835 * include/dlfcn.h (__RTLD_SECURE): Define.
35836 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35837 mode & __RTLD_SECURE instead.
35838 (open_path): Rename preloaded parameter to secure.
35839 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35840 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35841 * elf/dl-deps.c (openaux): Likewise.
35842 * elf/rtld.c (struct map_args): Remove is_preloaded.
35843 (map_doit): Don't use it.
35844 (dl_main): Likewise.
35845 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35846 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35848 2010-09-09 Andreas Schwab <schwab@redhat.com>
35850 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35851 (sysd-rules-targets): Remove duplicates.
35852 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35853 rtld-%.$o dependency.
35855 2010-10-18 Andreas Schwab <schwab@redhat.com>
35857 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35858 _dl_map_object do it.
35860 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35862 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35863 fast fma builtins, define the macros in the C99 standard.
35864 (FP_FAST_FMAF): Likewise.
35865 (FP_FAST_FMAL): Likewise.
35866 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35868 * bits/mathdef.h: Update copyright year.
35869 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35871 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35873 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35874 builtins, define the macros in the C99 standard.
35875 (FP_FAST_FMAF): Likewise.
35876 (FP_FAST_FMAL): Likewise.
35877 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35879 (FP_FAST_FMAF): Likewise.
35881 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35884 * math/libm-test.inc (fma_test): Some new testcases.
35885 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35887 y and infinite z. Do multiplication by C already in long double.
35888 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35890 y and infinite z. Do bitwise or of inexact bit into u.d.
35891 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35892 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35893 * sysdeps/i386/fpu/s_fma.S: Removed.
35894 * sysdeps/i386/fpu/s_fmal.S: Removed.
35896 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35899 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35901 computation is not scheduled after fetestexcept. Fix value
35902 of minimum denormal long double.
35904 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35907 * math/libm-test.inc (fma_test): Add some more tests.
35908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35911 2010-10-15 Andreas Schwab <schwab@redhat.com>
35913 * scripts/data/localplt-s390-linux-gnu.data: New file.
35914 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35916 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35919 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35920 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35922 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35924 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35926 if one of x and y is very large and the other is subnormal.
35927 * sysdeps/s390/fpu/s_fmaf.c: New file.
35928 * sysdeps/s390/fpu/s_fma.c: New file.
35929 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35930 * sysdeps/powerpc/fpu/s_fma.S: New file.
35931 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35932 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35933 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35935 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35938 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35940 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35941 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35942 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35943 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35944 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35945 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35946 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35948 2010-10-12 Ulrich Drepper <drepper@redhat.com>
35951 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35952 * posix/bug-regex31.input: Add test case.
35954 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35956 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35957 * posix/bug-regex31.input: New file.
35960 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35961 (parse_sub_exp): Fix last change, use postorder.
35963 * posix/bug-regex31.c: New file.
35964 * posix/Makefile: Add rules to build and run bug-regex31.
35966 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35969 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35972 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35973 to have entries in sys_siglist.
35976 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35979 2010-10-07 Jakub Jelinek <jakub@redhat.com>
35982 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35983 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35984 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35985 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35986 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35987 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35988 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35989 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35990 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35991 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35992 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35993 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35994 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35995 * math/ftestexcept.c (fetestexcept): Likewise.
35996 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35997 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35998 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35999 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36000 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36001 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36002 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36004 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36007 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36010 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36012 * string/bug-strstr1.c: New file.
36013 * string/Makefile: Add rules to build and run bug-strstr1.
36015 2010-10-05 Eric Blake <eblake@redhat.com>
36018 * string/str-two-way.h (two_way_long_needle): Always clear memory
36019 when skipping input due to the shift table.
36021 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36024 * malloc/mcheck.c: Handle large requests.
36027 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36028 for strncmp and strncasecmp.
36029 * string/stratcliff.c: Add tests for strcmp and strncmp.
36030 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36032 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36034 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36037 2010-09-30 Andreas Jaeger <aj@suse.de>
36039 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36040 (CGROUP_SUPER_MAGIC): Define.
36041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36042 Handle btrfs and cgroup file systems.
36043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36046 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36048 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36049 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36051 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36054 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36055 trying to locate the ELF header.
36057 2010-09-27 Andreas Schwab <schwab@redhat.com>
36060 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36061 Mask out sign-bit copies when constructing f_fsid.
36063 2010-09-24 Petr Baudis <pasky@suse.cz>
36065 * debug/stack_chk_fail_local.c: Add missing licence exception.
36066 * debug/warning-nop.c: Likewise.
36068 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36070 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36071 implementing getdents64 using getdents syscall, set d_type if
36072 __ASSUME_GETDENTS32_D_TYPE.
36074 2010-09-16 Andreas Schwab <schwab@redhat.com>
36076 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36077 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36079 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36082 * posix/unistd.h: Undo change of feature selection for ftruncate from
36085 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36087 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36090 2010-09-20 Andreas Schwab <schwab@redhat.com>
36092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36094 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36096 2010-09-14 Andreas Schwab <schwab@redhat.com>
36098 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36099 variables after CHECK_SP call.
36100 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36102 2010-09-13 Andreas Schwab <schwab@redhat.com>
36103 Ulrich Drepper <drepper@redhat.com>
36105 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36106 re-relocationg ld.so.
36107 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36108 _dl_init_paths call.
36109 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36112 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36114 * resolv/res_init.c (__res_vinit): Count the default server we added.
36116 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36117 Ulrich Drepper <drepper@redhat.com>
36120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36121 (____longjmp_chk): Use %ebx for saving value across system call.
36124 2010-09-06 Andreas Schwab <schwab@redhat.com>
36126 * manual/Makefile: Don't mix pattern rules with normal rules.
36128 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36130 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36132 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36133 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36134 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36135 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36139 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36142 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36143 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36145 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36147 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36148 * sysdeps/x86_64/addmul_1.S: Likewise.
36149 * sysdeps/x86_64/lshift.S: Likewise.
36150 * sysdeps/x86_64/mul_1.S: Likewise.
36151 * sysdeps/x86_64/rshift.S: Likewise.
36152 * sysdeps/x86_64/sub_n.S: Likewise.
36153 * sysdeps/x86_64/submul_1.S: Likewise.
36155 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36157 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36158 Define __sched_param instead of SCHED_* and sched_param when
36159 <bits/sched.h> is included with __need_schedparam defined.
36160 * bits/sched.h [__need_schedparam]
36161 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36162 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36163 (__defined_schedparam): Define to 1.
36164 (__sched_param): New structure, identical to sched_param.
36165 (__need_schedparam): Undefine.
36167 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36169 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36170 (epoll_create1): Declare.
36172 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36174 2010-08-31 Andreas Schwab <schwab@redhat.com>
36177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36178 shifting retval into place.
36180 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36182 * nis/rpcsvc/nis.h: Update copyright notice.
36183 * nis/rpcsvc/nis.x: Likewise.
36184 * nis/rpcsvc/nis_callback.h: Likewise.
36185 * nis/rpcsvc/nis_callback.x: Likewise.
36186 * nis/rpcsvc/nis_object.x: Likewise.
36187 * nis/rpcsvc/nis_tags.h: Likewise.
36188 * nis/rpcsvc/yp.h: Likewise.
36189 * nis/rpcsvc/yp.x: Likewise.
36190 * nis/rpcsvc/ypupd.h: Likewise.
36191 * nis/yp_xdr.c: Likewise.
36192 * nis/ypupdate_xdr.c: Likewise.
36194 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36195 mainly the body of pmap_getport. Add parameters to specify timeouts.
36196 (pmap_getport): Use __libc_rpc_getport.
36197 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36198 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36199 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36201 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36206 2010-08-27 Roland McGrath <roland@redhat.com>
36208 * sysdeps/i386/i686/multiarch/Makefile
36209 (CFLAGS-varshift.c): New variable.
36211 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36213 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36214 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36216 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36218 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36220 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36222 * sysdeps/x86_64/strlen.S: Unroll the loop.
36223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36224 strlen-sse2 strlen-sse2-bsf.
36225 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36226 __strlen_no_bsf if bit_Slow_BSF is set.
36227 (__strlen_sse42): Removed.
36228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36229 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36231 2010-08-25 Roland McGrath <roland@redhat.com>
36233 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36234 * sysdeps/x86_64/multiarch/varshift.c: New file.
36235 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36236 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36237 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36238 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36240 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36243 strlen-sse2 strlen-sse2-bsf.
36244 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36245 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36246 (__strlen_sse2): Removed.
36247 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36250 bit_Slow_BSF for Atom.
36251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36252 (index_Slow_BSF): Define.
36253 (HAS_SLOW_BSF): Define.
36255 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36258 * resolv/res_init.c (__res_vinit): When no server address at all
36259 is given default to loopback.
36261 2010-08-24 Roland McGrath <roland@redhat.com>
36263 * configure.in: Remove config-name.h generation.
36264 * configure: Regenerated.
36265 * config-name.in: File removed.
36266 * scripts/config-uname.sh: New file.
36267 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36268 ($(objdir)config-name.h): New target.
36270 * sunrpc/rpc_parse.h: Avoid nested comment.
36272 2010-08-24 Richard Henderson <rth@redhat.com>
36273 Ulrich Drepper <drepper@redhat.com>
36274 H.J. Lu <hongjiu.lu@intel.com>
36276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36278 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36279 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36280 _mm_alignr_epi8 with _mm_loadu_si128.
36281 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36282 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36283 (__m128i_shift_right): Removed.
36284 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36285 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36286 * sysdeps/x86_64/multiarch/varshift.h: New file.
36287 * sysdeps/x86_64/multiarch/varshift.S: New file.
36289 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36291 * configure.in: Move assembler checks to before sysdep dir checking.
36293 2010-08-20 Petr Baudis <pasky@suse.cz>
36295 * LICENSES: Sync the sunrpc license.
36297 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36299 * sunrpc/auth_des.c: Update copyright notice once again.
36300 * sunrpc/auth_none.c: Likewise.
36301 * sunrpc/auth_unix.c: Likewise.
36302 * sunrpc/authdes_prot.c: Likewise.
36303 * sunrpc/authuxprot.c: Likewise.
36304 * sunrpc/bindrsvprt.c: Likewise.
36305 * sunrpc/clnt_gen.c: Likewise.
36306 * sunrpc/clnt_perr.c: Likewise.
36307 * sunrpc/clnt_raw.c: Likewise.
36308 * sunrpc/clnt_simp.c: Likewise.
36309 * sunrpc/clnt_tcp.c: Likewise.
36310 * sunrpc/clnt_udp.c: Likewise.
36311 * sunrpc/clnt_unix.c: Likewise.
36312 * sunrpc/des_crypt.c: Likewise.
36313 * sunrpc/des_soft.c: Likewise.
36314 * sunrpc/get_myaddr.c: Likewise.
36315 * sunrpc/getrpcport.c: Likewise.
36316 * sunrpc/key_call.c: Likewise.
36317 * sunrpc/key_prot.c: Likewise.
36318 * sunrpc/openchild.c: Likewise.
36319 * sunrpc/pm_getmaps.c: Likewise.
36320 * sunrpc/pm_getport.c: Likewise.
36321 * sunrpc/pmap_clnt.c: Likewise.
36322 * sunrpc/pmap_prot.c: Likewise.
36323 * sunrpc/pmap_prot2.c: Likewise.
36324 * sunrpc/pmap_rmt.c: Likewise.
36325 * sunrpc/rpc/auth.h: Likewise.
36326 * sunrpc/rpc/auth_unix.h: Likewise.
36327 * sunrpc/rpc/clnt.h: Likewise.
36328 * sunrpc/rpc/des_crypt.h: Likewise.
36329 * sunrpc/rpc/key_prot.h: Likewise.
36330 * sunrpc/rpc/netdb.h: Likewise.
36331 * sunrpc/rpc/pmap_clnt.h: Likewise.
36332 * sunrpc/rpc/pmap_prot.h: Likewise.
36333 * sunrpc/rpc/pmap_rmt.h: Likewise.
36334 * sunrpc/rpc/rpc.h: Likewise.
36335 * sunrpc/rpc/rpc_des.h: Likewise.
36336 * sunrpc/rpc/rpc_msg.h: Likewise.
36337 * sunrpc/rpc/svc.h: Likewise.
36338 * sunrpc/rpc/svc_auth.h: Likewise.
36339 * sunrpc/rpc/types.h: Likewise.
36340 * sunrpc/rpc/xdr.h: Likewise.
36341 * sunrpc/rpc_clntout.c: Likewise.
36342 * sunrpc/rpc_cmsg.c: Likewise.
36343 * sunrpc/rpc_common.c: Likewise.
36344 * sunrpc/rpc_cout.c: Likewise.
36345 * sunrpc/rpc_dtable.c: Likewise.
36346 * sunrpc/rpc_hout.c: Likewise.
36347 * sunrpc/rpc_main.c: Likewise.
36348 * sunrpc/rpc_parse.c: Likewise.
36349 * sunrpc/rpc_parse.h: Likewise.
36350 * sunrpc/rpc_prot.c: Likewise.
36351 * sunrpc/rpc_sample.c: Likewise.
36352 * sunrpc/rpc_scan.c: Likewise.
36353 * sunrpc/rpc_scan.h: Likewise.
36354 * sunrpc/rpc_svcout.c: Likewise.
36355 * sunrpc/rpc_tblout.c: Likewise.
36356 * sunrpc/rpc_util.c: Likewise.
36357 * sunrpc/rpc_util.h: Likewise.
36358 * sunrpc/rpcinfo.c: Likewise.
36359 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36360 * sunrpc/rpcsvc/key_prot.x: Likewise.
36361 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36362 * sunrpc/rpcsvc/mount.x: Likewise.
36363 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36364 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36365 * sunrpc/rpcsvc/rex.x: Likewise.
36366 * sunrpc/rpcsvc/rstat.x: Likewise.
36367 * sunrpc/rpcsvc/rusers.x: Likewise.
36368 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36369 * sunrpc/rpcsvc/spray.x: Likewise.
36370 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36371 * sunrpc/rtime.c: Likewise.
36372 * sunrpc/svc.c: Likewise.
36373 * sunrpc/svc_auth.c: Likewise.
36374 * sunrpc/svc_authux.c: Likewise.
36375 * sunrpc/svc_raw.c: Likewise.
36376 * sunrpc/svc_run.c: Likewise.
36377 * sunrpc/svc_simple.c: Likewise.
36378 * sunrpc/svc_tcp.c: Likewise.
36379 * sunrpc/svc_udp.c: Likewise.
36380 * sunrpc/svc_unix.c: Likewise.
36381 * sunrpc/svcauth_des.c: Likewise.
36382 * sunrpc/xcrypt.c: Likewise.
36383 * sunrpc/xdr.c: Likewise.
36384 * sunrpc/xdr_array.c: Likewise.
36385 * sunrpc/xdr_float.c: Likewise.
36386 * sunrpc/xdr_mem.c: Likewise.
36387 * sunrpc/xdr_rec.c: Likewise.
36388 * sunrpc/xdr_ref.c: Likewise.
36389 * sunrpc/xdr_sizeof.c: Likewise.
36390 * sunrpc/xdr_stdio.c: Likewise.
36392 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36395 2010-08-19 Andreas Schwab <schwab@redhat.com>
36397 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36399 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36401 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36402 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36403 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36404 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36405 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36406 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36407 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36408 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36409 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36410 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36411 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36412 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36413 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36414 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36416 2010-07-26 Anton Blanchard <anton@samba.org>
36418 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36419 * malloc/arena.c (heap_trim): Likewise.
36421 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36423 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36426 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36428 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36430 * sysdeps/i386/elf/Makefile: New file.
36432 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36434 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36435 from fanotify_init.
36436 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36439 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36441 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36443 * sysdeps/multiarch/strcmp.S: Likewise.
36445 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36447 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36448 strncase_l-nonascii.
36449 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36450 Add strncase_l-ssse3.
36451 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36452 * sysdeps/x86_64/strcmp.S: Likewise.
36453 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36454 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36455 * sysdeps/x86_64/strncase.S: New file.
36456 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36457 * sysdeps/x86_64/strncase_l.S: New file.
36458 * string/Makefile (strop-tests): Add strncasecmp.
36459 * string/test-strncasecmp.c: New file.
36461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36464 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36465 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36467 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36469 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36471 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36473 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36474 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36475 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36477 2010-05-01 Alan Modra <amodra@gmail.com>
36479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36480 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36481 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36482 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36483 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36484 tidying. Don't tail-call __sigjmp_save for static lib.
36485 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36487 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36488 (CALL_MCOUNT): Add eh info, and nop after bl.
36489 (TAIL_CALL_SYSCALL_ERROR): New macro.
36490 (PSEUDO_RET): Use it.
36491 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36492 Correct save location of integer regs and cr.
36493 (_dl_profile_resolve): Correct cr save location. Delete nops
36494 after bl when SHARED. Reduce cfi size a little by better
36495 placement of cfi directives.
36496 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36497 make a stack frame. Instead use parm save area as a temp.
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36499 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36501 Don't make a stack frame for parent, use parm save area.
36502 Increase child stack frame to 112 bytes. Don't save unused reg,
36503 and adjust reg usage. Set up cfi on error recovery and
36504 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36506 (__makecontext): Add dummy nop after jump to exit.
36507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36508 Use correct parm save area and cr save, reduce stack frame.
36509 Correct cfi for possible PSEUDO_RET frame setup.
36510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36511 Branch to local label emitted by PSEUDO_RET rather than
36514 2010-08-12 Andreas Schwab <schwab@redhat.com>
36517 * locale/programs/locale.c (print_assignment): New function.
36518 (show_locale_vars): Use it.
36520 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36522 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36524 (struct statfs64): Likewise.
36525 (_STATFS_F_FLAGS): Define.
36526 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36528 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36529 (ST_VALID): Define locally.
36530 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36531 __statvfs_getflags, use the provided value.
36532 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36533 __ASSUME_STATFS_F_FLAGS.
36535 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36537 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36538 Add sys/fanotify.h.
36539 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36540 fanotify_mask for GLIBC_2.13.
36541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36542 fanotify_init and fanotify_mark.
36543 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36544 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36546 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36548 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36549 prlimit64 for GLIBC_2.13.
36550 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36555 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36556 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36557 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36560 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36563 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36564 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36566 * nss/Makefile: Add rules to build and run tst-nss-test1.
36567 * shlib-versions: Add entry for libnss_test1.
36568 * nss/nss_test1.c: New file.
36569 * nss/tst-nss-test1.c: New file.
36571 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36572 (__nss_configure_lookup): Set appropriate entry in
36573 __nss_configure_lookup to true.
36574 * nss/nsswitch.h: Define enum with indeces of databases in
36575 databases and __nss_database_custom arrays. Declare
36576 __nss_database_custom.
36577 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36578 to avoid using nscd when custom rules are installed.
36579 * nss/getXXbyYY_r.c: Likewise.
36580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36582 * nss/nss_files/files-parse.c: Whitespace fixes.
36584 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36587 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36588 * posix/fnmatch_loop.c: Likewise.
36590 2010-07-17 Andi Kleen <ak@linux.intel.com>
36592 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36593 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36594 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36595 * Versions.def [GLIBC_2.13]: Add.
36597 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36600 Also fail if tpwd after pwuid call is NULL.
36602 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36604 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36605 when converting to ms.
36607 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36609 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36610 EOPNOTSUPP errors with ENOTTY.
36611 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36612 EOPNOTSUPP errors with ENOTTY.
36614 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36616 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36617 Add strcasecmp_l-ssse3.
36618 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36620 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36621 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36622 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36624 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36626 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36628 * string/Makefile (strop-tests): Add strcasecmp.
36629 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36630 strcasecmp_l-nonascii.
36631 (gen-as-const-headers): Add locale-defines.sym.
36632 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36633 * sysdeps/x86_64/strcasecmp.S: New file.
36634 * sysdeps/x86_64/strcasecmp_l.S: New file.
36635 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36636 * sysdeps/x86_64/locale-defines.sym: New file.
36637 * string/test-strcasecmp.c: New file.
36639 * string/test-strcasestr.c: Test both ends of the range of characters.
36640 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36642 2010-07-29 Roland McGrath <roland@redhat.com>
36645 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36647 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36649 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36652 2010-07-27 Andreas Schwab <schwab@redhat.com>
36654 * manual/memory.texi (Malloc Tunable Parameters): Document
36657 2010-07-26 Roland McGrath <roland@redhat.com>
36660 * configure.in (-fgnu89-inline check): Set and substitute
36661 gnu89_inline, not libc_cv_gnu89_inline.
36662 * configure: Regenerated.
36663 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36665 2010-07-26 Ulrich Drepper <drepper@redhat.com>
36667 * string/test-strnlen.c: New file.
36668 * string/Makefile (strop-tests): Add strnlen.
36669 * string/tester.c (test_strnlen): Add a few more test cases.
36670 * string/tst-strlen.c: Better error reporting.
36672 * sysdeps/x86_64/strnlen.S: New file.
36674 2010-07-24 Ulrich Drepper <drepper@redhat.com>
36676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36677 lower-latency instructions.
36679 2010-07-23 Ulrich Drepper <drepper@redhat.com>
36681 * string/test-strcasestr.c: New file.
36682 * string/test-strstr.c: New file.
36683 * string/Makefile (strop-tests): Add strstr and strcasestr.
36684 * string/str-two-way.h: Don't undefine MAX.
36685 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36687 2010-07-21 Andreas Schwab <schwab@redhat.com>
36689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36690 strcasestr-nonascii.
36691 (CFLAGS-strcasestr-nonascii.c): Define.
36692 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36693 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36694 Remove unused attribute.
36696 2010-07-20 Roland McGrath <roland@redhat.com>
36698 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36699 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36700 ld.so.cache was broken. With it, there is no way to disable dsocaps
36701 like LD_HWCAP_MASK can disable hwcaps.
36703 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36705 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36707 2010-07-16 Ulrich Drepper <drepper@redhat.com>
36709 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36710 call in strcasestr.
36711 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36712 __strcasestr_sse42_nonascii.
36713 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36714 strcasestr-nonascii.c.
36715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36717 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
36719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36721 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36724 2010-07-09 Ulrich Drepper <drepper@redhat.com>
36726 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36729 2010-07-06 Andreas Schwab <schwab@redhat.com>
36732 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36735 2010-07-06 Ulrich Drepper <drepper@redhat.com>
36737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36738 _PC_PIPE_BUF using F_GETPIPE_SZ.
36740 2010-07-05 Roland McGrath <roland@redhat.com>
36742 * manual/arith.texi (Rounding Functions): Fix rint description
36743 implicit in round description.
36745 2010-07-02 Ulrich Drepper <drepper@redhat.com>
36747 * elf/Makefile: Fix linking for a few tests to make recent linker
36750 2010-06-30 Andreas Schwab <schwab@redhat.com>
36752 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36753 $(common-objpfx)libc_nonshared.a.
36755 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
36757 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36758 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36759 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36760 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36761 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36762 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36763 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36764 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36779 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36780 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36781 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36782 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36783 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36784 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36785 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36786 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36787 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36788 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36789 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36790 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36806 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36808 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36809 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36810 * string/memmove.c (memmove): Renamed to ...
36811 (MEMMOVE): ...this. Default to memmove.
36812 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36813 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36816 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36817 mempcpy-ssse3-back memmove-ssse3-back.
36818 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36821 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36822 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36823 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36824 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36825 * sysdeps/x86_64/multiarch/memmove.c: New file.
36826 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36827 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36828 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36829 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36830 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36833 (index_Fast_Copy_Backward): Define.
36834 (HAS_ARCH_FEATURE): Define.
36835 (HAS_FAST_REP_STRING): Define.
36836 (HAS_FAST_COPY_BACKWARD): Define.
36838 2010-06-21 Andreas Schwab <schwab@redhat.com>
36840 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36841 Restore proper fallback handling.
36843 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36846 * posix/group_member.c (__group_member): Correct checking loop.
36848 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36849 OOM in getpwuid_r correctly. Return error number when the caller
36850 should return, otherwise -1.
36851 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36852 call returning > 0 value.
36853 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36855 2010-06-07 Andreas Schwab <schwab@redhat.com>
36857 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36858 libc_nonshared.a from targets in modules-names.
36860 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36862 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36865 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36867 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36869 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36870 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36872 2010-06-02 Andreas Schwab <schwab@redhat.com>
36874 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36876 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36878 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36884 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36887 2010-06-14 Roland McGrath <roland@redhat.com>
36889 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36891 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36893 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36894 __REDIRECT followed by __THROW.
36895 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36896 * posix/getopt.h (getopt): Likewise.
36898 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36900 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36901 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36902 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36904 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36905 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36907 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36909 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36911 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36915 Properly check family and model.
36917 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36919 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36921 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36923 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36925 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36927 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36930 2010-05-19 Andreas Schwab <schwab@redhat.com>
36932 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36935 2010-05-21 Andreas Schwab <schwab@redhat.com>
36937 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36938 and internal_recvmmsg.
36939 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36940 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36941 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36942 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36944 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36945 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36946 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36948 2010-05-20 Andreas Schwab <schwab@redhat.com>
36950 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36952 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
36954 POWER7 optimizations.
36955 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36956 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36958 2010-05-19 Ulrich Drepper <drepper@redhat.com>
36960 * version.h: Update for 2.13 development version.
36962 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
36964 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36965 exceptions. Return 0.
36967 2010-05-07 Roland McGrath <roland@redhat.com>
36969 * elf/ldconfig.c (main): Add a const.
36971 2010-05-06 Ulrich Drepper <drepper@redhat.com>
36973 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36974 (args_options): Add no-idn option.
36975 (ahosts_keys_int): Add idn_flags to ai_flags.
36976 (parse_option): Handle 'i' option to clear idn_flags.
36978 * malloc/malloc.c (_int_free): Possible race in the most recently
36979 added check. Only act on the data if no current modification
36982 See ChangeLog.17 for earlier changes.