1 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4 multiarch implementation.
5 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12 multiarch isnan for PPC64.
13 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14 multiarch isnanf for PPC64.
16 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35 multiarch implementations.
36 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37 (__libc_ifunc_impl_list): Likewise.
38 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41 multiarch stpcpy for PPC64.
43 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46 multiarch implementations.
47 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48 (__libc_ifunc_impl_list): Likewise.
49 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52 multiarch strcpy for PPC64.
54 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57 redefine function name.
58 (_wordcopy_fwd_dest_aligned): Likewise.
59 (_wordcopy_bwd_aligned): Likewise.
60 (_wordcopy_bwd_dest_aligned): Likewise.
61 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
62 multiarch implementations.
63 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
64 (__libc_ifunc_impl_list): Likewise.
65 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
66 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
67 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
68 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
69 multiarch wcscpy for PPC64.
71 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
74 multiarch implementations.
75 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
76 (__libc_ifunc_impl_list): Likewise.
77 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
78 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
79 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
80 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
81 multiarch wcscpy for PPC64.
83 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
86 multiarch implementations.
87 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
88 (__libc_ifunc_impl_list): Likewise.
89 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
90 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
91 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
92 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
93 multiarch wcsrchr for PPC64.
95 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
98 multiarch implementations.
99 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
100 (__libc_ifunc_impl_list): Likewise.
101 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
102 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
103 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
104 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
105 multiarch wcschr for PPC64.
107 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
110 multiarch implementations.
111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
112 (__libc_ifunc_impl_list): Likewise.
113 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
114 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
115 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
116 multiarch strchrnul for PPC64.
118 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
123 (__libc_ifunc_impl_list): Likewise.
124 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
125 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
126 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
127 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
130 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
135 (__libc_ifunc_impl_list): Likewise.
136 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
137 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
138 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
139 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
142 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
145 multiarch implementations.
146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
147 (__libc_ifunc_impl_list): Likewise.
148 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
149 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
150 strncasecmp for PPC64.
151 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
152 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
153 multiarch strncasecmp_l for PPC64.
155 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
158 multiarch implementations.
159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
160 (__libc_ifunc_impl_list): Likewise.
161 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
162 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
163 multiarch strcasecmp for PPC64.
164 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
166 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
167 multiarch strcasecmp_l for PPC64.
169 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
174 (__libc_ifunc_impl_list): Likewise.
175 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
176 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
177 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
180 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
185 (__libc_ifunc_impl_list): Likewise.
186 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
187 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
188 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
191 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
196 (__libc_ifunc_impl_list): Likewise.
197 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
198 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
199 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
200 rawmemrchr for PPC64.
202 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
207 (__libc_ifunc_impl_list): Likewise.
208 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
209 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
210 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
213 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
218 (__libc_ifunc_impl_list): Likewise.
219 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
220 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
221 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
224 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
229 (__libc_ifunc_impl_list): Likewise.
230 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
231 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
232 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
235 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
238 avoid cretion of __bzero symbol.
239 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
241 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
243 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
246 multiarch implementations.
247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
248 (__libc_ifunc_impl_list): Likewise.
249 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
250 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
251 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
252 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
254 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
255 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
256 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
257 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
258 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
260 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
262 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
264 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
268 (__libc_ifunc_impl_list): Likewise.
269 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
270 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
271 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
272 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
275 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
278 multiarch for POWER/PPC64.
279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
280 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
287 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
290 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
292 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
293 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
294 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
295 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
296 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
297 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
298 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
299 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
300 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
301 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
302 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
303 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
304 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
305 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
306 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
315 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
317 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
319 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
321 * benchtests/Makefile (bench): Add exp2 and log2.
322 (LDLIBS-bench-exp2): Add -lm.
323 (LDLIBS-bench-log2): Likewise.
324 * benchtests/exp2-inputs: New inputs file.
325 * benchtests/log2-inputs: New inputs file.
326 * benchtests/log-inputs: Add new inputs.
327 * benchtests/tan-inputs: Likewise.
329 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
331 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
333 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
334 csloww1, csloww2): ... from here.
336 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
337 instead of structures.
338 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
339 (POLYNOMIAL): Likewise.
340 (TAYLOR_SLOW): Likewise.
355 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
357 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
358 (__malloc_assert, __libc_realloc, __libc_calloc,
359 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
361 * malloc/hooks.c (realloc_check): Likewise.
363 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
365 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
366 * malloc/arena.c: Remove PER_THREAD conditional.
367 [!PER_THREAD]: Remove code.
368 (ptmalloc_unlock_all2): Likewise.
369 (ptmalloc_init): Likewise.
370 (_int_new_arena): Likewise.
371 (arena_get2): Likewise.
372 * malloc/hooks.c (__malloc_get_state): Likewise.
373 (__malloc_set_state): Likewise.
374 * malloc/malloc.c: Likewise.
375 (struct malloc_state): Likewise.
376 (struct malloc_par): Likewise.
377 (__libc_realloc): Likewise.
378 (__libc_mallopt): Likewise.
380 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
382 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
384 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
386 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
387 macro to a function. Check for zero perturb_byte.
388 (_int_malloc, _int_free): Remove zero perturb_byte checks.
390 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
392 * malloc/malloc.c: (force_reg): Remove.
393 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
394 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
395 force_reg by atomic_forced_read.
396 * malloc/arena.c (ptmalloc_init): Likewise.
397 * malloc/hooks.c (top_check): Likewise.
399 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
403 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
407 2013-12-08 Joseph Myers <joseph@codesourcery.com>
409 * math/auto-libm-test-in: Add tests of lgamma.
410 * math/auto-libm-test-out: Regenerated.
411 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
412 (M_LOG_2_SQRT_PIl): Likewise.
413 (lgamma_test_data): Use AUTO_TESTS_f_f1.
414 * math/gen-auto-libm-tests.c (func_calc_method): Add value
416 (func_calc_desc): Add mpfr_f_f1 union field.
425 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
426 (test_functions): Add lgamma.
427 (calc_generic_results): Handle mpfr_f_f1.
428 * sysdeps/i386/fpu/libm-test-ulps: Update.
429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
431 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
434 __mpn_add_n for PowerPC64/POWER7.
435 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
436 __mpn_sub_n for PowerPC64/POWER7.
438 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
440 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
441 __mpn_addmul_1 for PowerPC64.
442 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
443 __mpn_submul_1 for PowerPC64.
444 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
446 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
449 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
452 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
454 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
458 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
460 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
461 add multiarch folders.
462 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
463 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
464 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
465 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
466 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
467 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
468 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
469 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
470 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
471 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
472 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
480 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
483 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
489 multiarch __ieee754_hypot for PowerPC32.
490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
495 multiarch __ieee754_hypotf for PowerPC32.
497 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
500 long_double_symbol only if __logbl is defined.
501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
502 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
504 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
506 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
508 path for implementation.
509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
512 logb, and logbl multiarch implementations for PowerPC32.
513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
518 multiarch logb for PowerPC32.
519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
524 multiarch logbf for PowerPC32.
525 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
529 multiarch logbl implementation for PowerPC32.
531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
534 and modff multiarch implementations.
535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
540 multiarch modf for PowerPC32.
541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
546 multiarch modff for PowerPC32.
548 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
551 and lrintf multiarch implementations.
552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
557 multiarch lrint for PowerPC32.
558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
559 file: multiarch lrintf for PowerPC32.
561 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
564 and lroundf multiarch implementations.
565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
572 multiarch lround for PowerPC32.
573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
574 file: multiarch lroundf for PowerPC32.
576 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
579 copysign and copysignf multiarch implementations.
580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
585 file: multiarch copysign for PowerPC32.
586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
587 file: multiarch copysignf for PowerPC32.
589 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
592 and truncf multiarch implementations.
593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
598 multiarch trunc for PowerPC32.
599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
604 multiarch truncf for PowerPC32.
606 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
609 and roundf multiarch implementations.
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
615 multiarch round for PowerPC32.
616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
621 multiarch roundf for PowerPC32.
623 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
626 and floorf multiarch implementations.
627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
632 multiarch floor for PowerPC32.
633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
638 multiarch floorf for PowerPC32.
640 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
643 and ceilf multiarch implementations.
644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
649 multiarch ceil for PowerPC32.
650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
655 multiarch ceilf for PowerPC32.
657 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
659 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
661 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
664 and finitef multiarch implementations.
665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
670 multiarch finite for PowerPC32.
671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
674 file: multiarch finitef for PowerPC32.
676 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
679 and isinff multiarch implementations.
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
685 multiarch isinf for PowerPC32.
686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
689 multiarch isinff for PowerPC32.
691 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
694 alias when __isnan is defined.
695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
696 and isnanf multiarch implementations.
697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
706 multiarch isnan for PowerPC32.
707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
712 multiarch isnanf for PowerPC32.
714 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
717 and sqrtf multiarch implementations.
718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
723 multiarch sqrt for PowerPC32.
724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
729 multiarch sqrtf for PowerPC32.
731 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
734 and llroundf multiarch implementations.
735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
742 file: multiarch llround for PowerPC32.
743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
744 file: multiarch llroundf for PowerPC32.
746 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
749 multiarch PowerPC32 fpu implementations.
750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
755 multiarch llrint for PowerPC32.
756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
767 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
769 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
771 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
773 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
775 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
776 multiarch wordcopy for PPC32.
777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
780 (__libc_ifunc_impl_list): Likewise.
781 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
782 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
783 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
784 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
786 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
788 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
798 multiarch wcscpy for PPC32.
799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
802 (__libc_ifunc_impl_list): Likewise.
803 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
804 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
805 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
806 sysdeps/powerpc/power6/wcscpy.c.
808 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
810 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
818 multiarch wcsrchr for PPC32.
819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
822 (__libc_ifunc_impl_list): Likewise.
823 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
824 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
825 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
826 sysdeps/powerpc/power6/wcsrchr.c.
828 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
836 multiarch wcschr for PPc32.
837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
840 (__libc_ifunc_impl_list): Likewise.
841 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
842 * sysdeps/powerpc/power6/wcschr.c: ... to here.
843 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
844 sysdeps/powerpc/power6/wcschr.c.
846 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
849 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
851 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
852 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
853 file: multiarch strchr for PPC32.
854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
857 (__libc_ifunc_impl_list): Likewise.
859 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
861 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
863 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
865 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
867 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
868 multiarch strchrnul for PPC32.
869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
872 (__libc_ifunc_impl_list): Likewise.
874 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
876 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
878 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
879 multiarch strncasecmp for PPC32.
880 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
882 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
883 multiarch strncasecmp_l for PPC32.
884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
885 strncasecmp multiarch objects.
886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
887 (__libc_ifunc_impl_list): Likewise.
889 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
893 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
894 multiarch strncasecmp for PPC32.
895 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
897 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
898 multiarch strcasecmp_l for PPC32.
899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
902 (__libc_ifunc_impl_list): Likewise.
904 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
906 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
908 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
911 multiarch strncmp for PPC32.
912 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
914 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
915 (__libc_ifunc_impl_list): Likewise.
917 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
920 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
922 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
923 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
927 (__libc_ifunc_impl_list): Likewise.
929 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
931 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
933 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
935 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
939 (__libc_ifunc_impl_list): Likewise.
941 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
943 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
945 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
948 multiarch rawmemchr for PPC32.
949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
952 (__libc_ifunc_impl_list): Likewise.
954 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
956 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
960 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
961 file: memrchr multiarch for PPC32.
962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
965 (__libc_ifunc_impl_list): Likewise.
967 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
969 * string/memchr.c (__memchr): Using macro to redefine symbol name.
970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
973 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
974 multiarch memchr for PPC32.
975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
978 (__libc_ifunc_impl_list): Likewise.
980 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
982 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
983 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
985 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
987 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
988 file: multiarch mempcpy for PPC32.
989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
992 (__libc_ifunc_impl_list): Likewise.
994 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1000 multiarch bzero for PPC32.
1001 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1003 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1006 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1007 file: multiarch memset for PPC32.
1008 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1010 memset multiarch objects.
1011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1012 (__libc_ifunc_impl_list): Likewise.
1014 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1021 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1025 (__libc_ifunc_impl_list): Likewise.
1027 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1038 multiarch memcpy for PPC32.
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1042 (__libc_ifunc_impl_list): Likewise.
1044 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1047 support multiarch for POWER/PPC32.
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1050 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1052 Implies file to make multiarch folder appers before the fpu and
1053 default folder for power4 configuration.
1055 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1057 * scripts/bench.pl: Append volatile keyword to type.
1059 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1061 * sysdeps/sh/sotruss-lib.c: New file.
1062 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1064 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1068 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1071 * math/w_tgamma.c: Include <errno.h>.
1072 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1073 * math/w_tgammaf.c: Include <errno.h>.
1074 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1075 * math/w_tgammal.c: Include <errno.h>.
1076 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1077 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1078 underflow. Add more tgamma tests.
1079 * math/auto-libm-test-out: Regenerated.
1080 * sysdeps/i386/fpu/libm-test-ulps: Update.
1081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1083 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1084 sin, sinh, tan, tanh, tgamma, y0 and y1.
1085 * math/auto-libm-test-out: Regenerated.
1086 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1087 (TEST_COND_x86): Likewise.
1088 (M_E2l): Remove macro.
1090 (M_2_SQRT_PIl): Likewise.
1091 (M_SQRT_PIl): Likewise.
1092 (M_1_DIV_El): Likewise.
1093 (log_test_data): Use AUTO_TESTS_f_f.
1094 (log10_test_data): Likewise.
1095 (log1p_test_data): Likewise.
1096 (log2_test_data): Likewise.
1097 (sin_test_data): Likewise.
1098 (sin_tonearest_test_data): Likewise.
1099 (sin_towardzero_test_data): Likewise.
1100 (sin_downward_test_data): Likewise.
1101 (sin_upward_test_data): Likewise.
1102 (sinh_test_data): Likewise.
1103 (sinh_tonearest_test_data): Likewise.
1104 (sinh_towardzero_test_data): Likewise.
1105 (sinh_downward_test_data): Likewise.
1106 (sinh_upward_test_data): Likewise.
1107 (tan_test_data): Likewise.
1108 (tan_tonearest_test_data): Likewise.
1109 (tan_towardzero_test_data): Likewise.
1110 (tan_downward_test_data): Likewise.
1111 (tan_upward_test_data): Likewise.
1112 (tanh_test_data): Likewise.
1113 (tgamma_test_data): Likewise.
1114 (y0_test_data): Likewise.
1115 (y1_test_data): Likewise.
1116 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1117 (special_real_inputs): Add pi/4.
1118 * sysdeps/i386/fpu/libm-test-ulps: Update.
1119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1121 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1124 "longjmp_target" static probes.
1125 (__longjmp): Rename to __longjmp_symbol.
1126 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1127 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1128 on which longjmp to generate.
1129 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1130 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1132 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1133 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1134 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1135 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1136 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1137 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1139 __longjmp_symbol based on which __longjmp to generate.
1140 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1142 (setjmp): Rename to setjmp_symbol.
1143 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1144 (_setjmp): Rename to _setjmp_symbol.
1145 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1146 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1147 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1148 which setjmp to generate.
1149 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1150 "longjmp_target" static probes.
1152 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1154 * benchtests/README: Add note about output arguments.
1155 * benchtests/bench-sincos.c: Remove file.
1156 * benchtests/sincos-inputs: New file.
1157 * scripts/bench.pl: Identify output arguments and define
1158 static variables for them.
1160 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1163 * Makefile (INSTALL): Add install-plain.texi as the primary
1165 * manual/install-plain.texi: New file.
1166 * manual/install.texi: Include node directive only for
1167 non-plaintext output.
1169 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1171 * stdlib/longlong.h: Update from GCC.
1175 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1176 * math/w_j0f.c (y0f): Likewise.
1177 * math/w_j0l.c (__y0l): Likewise.
1178 * math/w_j1.c (y1): Likewise.
1179 * math/w_j1f.c (y1f): Likewise.
1180 * math/w_j1l.c (__y1l): Likewise
1181 * math/w_jn.c (yn): Likewise.
1182 * math/w_jnf.c (ynf): Likewise.
1183 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1184 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1185 value for Bessel function domain errors outside _SVID_ mode.
1186 Adjust sign of return value for yn (negative integer, 0).
1187 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1188 by zero in return for negative x and set sign appropriately for
1190 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1192 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1193 expectations in error cases.
1194 (y1_test_data): Likewise.
1195 (yn_test_data): Likewise.
1196 * sysdeps/i386/fpu/libm-test-ulps: Update.
1197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1201 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1202 "64" to "64-v1". Add "64-v2".
1203 (abi-64-options): Rename to ...
1204 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1205 (abi-64-condition): Rename to ...
1206 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1207 (abi-64-ld-soname): Rename to ...
1208 (abi-64-v1-ld-soname): ... this.
1209 (abi-64-v2-options): Define.
1210 (abi-64-v2-condition): Likewise.
1211 (abi-64-v2-ld-soname): Likewise.
1212 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1213 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1218 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1219 Alan Modra <amodra@gmail.com>
1221 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1222 New versions for use with the ELFv2 ABI.
1223 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1224 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1226 (struct La_ppc64v2_retval): Likewise.
1227 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1228 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1229 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1230 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1231 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1233 Do not save or restore CR.
1234 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1235 (_dl_profile_resolve): Do no save or restore CR. Support extended
1236 return values for ELFv2 ABI. Fix location of FPR return registers.
1237 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1238 updated values for _CALL_ELF == 2.
1239 (La_regs, La_retval, int_retval): Likewise.
1241 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1243 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1244 (FRAME_MIN_SIZE_PARM): Likewise.
1245 (FRAME_BACKCHAIN): Likewise.
1246 (FRAME_CR_SAVE): Likewise.
1247 (FRAME_LR_SAVE): Likewise.
1248 (FRAME_TOC_SAVE): Likewise.
1249 (FRAME_PARM_SAVE): Likewise.
1250 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1251 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1252 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1253 (call_mcount_parm_offset): New macro.
1254 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1255 (PROF): Use symbolic stack frame offsets.
1256 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1257 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1258 Redefine in terms of FRAME_MIN_SIZE.
1259 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1260 (_dl_profile_resolve): Likewise. Update comment.
1261 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1262 symbols stack frame offsets.
1263 (__sigsetjmp): Likewise.
1264 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1265 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1266 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1267 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1270 (FRAME_BACKCHAIN): Remove.
1271 (FRAME_CR_SAVE): Likewise.
1272 (FRAME_LR_SAVE): Likewise.
1273 (FRAME_COMPILER_DW): Likewise.
1274 (FRAME_LINKER_DW): Likewise.
1275 (FRAME_TOC_SAVE): Likewise.
1276 (FRAME_PARM_SAVE): Likewise.
1277 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1278 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1279 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1281 (CHECK_SP): Use symbolic stack frame offsets.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1283 zone" instead of caller's parameter save area for temp storage.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1285 Likewise. Also, use symbolic stack frame offsets.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1287 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1288 our own stack frame instead of the caller's.
1289 (__socket): Use symbolic stack frame offsets.
1291 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1292 Alan Modra <amodra@gmail.com>
1294 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1296 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1297 PPC64_LOCAL_ENTRY_OFFSET): Define.
1298 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1300 (elf_machine_fixup_plt): Call it.
1301 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1303 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1304 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1305 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1306 r2 before calling target.
1308 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1309 Alan Modra <amodra@gmail.com>
1311 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1312 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1313 versions of macros to support ELFv2 ABI.
1314 (LOCALENTRY): New macro.
1315 (ENTRY, EALIGN): Use it.
1316 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1317 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1318 fall through into ENTRY entry point.
1319 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1320 Only define if _CALL_ELF != 2.
1322 (elf_machine_matches_host): Verify ABI version matches.
1323 (RTLD_START): Use LOCALENTRY.
1324 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1325 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1326 (PLT_ENTRY_WORDS): New macro.
1327 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1328 (elf_machine_runtime_setup): Support ELFv2 ABI.
1329 (elf_machine_fixup_plt): Likewise.
1330 (elf_machine_plt_conflict): Likewise.
1331 (resolve_ifunc): Likewise.
1332 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1336 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1338 (makecontext): Support ELFv2 ABI.
1339 * elf/elf.h (EF_PPC64_ABI): Define.
1341 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1343 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1344 New assembler macro.
1345 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1346 [ASSEMBLER] (ENTRY): ... but instead here ...
1347 [ASSEMBLER] (EALIGN): ... and here.
1348 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1349 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1350 [!ASSEMBLER] (ENTRY_2): Use it.
1351 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1352 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1353 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1354 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1355 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1357 Use PPC64_LOAD_FUNCPTR.
1359 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1361 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1363 2013-12-04 Alan Modra <amodra@gmail.com>
1365 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1366 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1367 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1368 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1370 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1371 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1372 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1373 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1374 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1375 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1377 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1380 (__makecontext): Fix incorrect CFI when backtracing out of
1381 context created via makecontext.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1383 (__setcontext): Fix incorrect CFI during switch to new context.
1384 (__novec_setcontext): Likewise.
1386 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1389 * time/strptime_l.c (__strptime_internal): Allow modifiers
1391 * time/tst-strptime.c (day_tests): Add testcase.
1394 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1396 * scripts/bench.pl: Skip over blank lines.
1398 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1401 * manual/time.texi (Calendar Time): Clarify what timezone functions
1404 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1408 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1410 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1412 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1413 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1414 * debug/memset_chk.c (__memset_chk): Likewise.
1415 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1416 * debug/strncpy_chk.c: Likewise.
1418 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1423 (__ieee754_exp): For possibly underflowing results, check size of
1424 result and force underflow exception if required.
1425 * math/auto-libm-test-in: Add more tests of exp.
1426 * math/auto-libm-test-out: Regenerated.
1427 * sysdeps/i386/fpu/libm-test-ulps: Update.
1428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1431 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1432 * math/w_exp2f.c (__exp2f): Likewise.
1433 * math/w_exp2l.c (__exp2l): Likewise.
1434 * math/auto-libm-test-in: Do not allow missing errno on exp2
1436 * math/auto-libm-test-out: Regenerated.
1438 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1441 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1442 handle filename validation.
1443 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1446 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1449 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1450 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1451 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1453 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1455 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1457 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1459 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1460 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1461 Add more erfc tests.
1462 * math/auto-libm-test-out: Regenerated.
1463 * sysdeps/i386/fpu/libm-test-ulps: Update.
1464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1466 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1467 exp2, expm1, j0 and j1.
1468 * math/auto-libm-test-out: Regenerated.
1469 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1470 (erfc_test_data): Likewise.
1471 (exp_test_data): Likewise.
1472 (exp_tonearest_test_data): Likewise.
1473 (exp_towardzero_test_data): Likewise.
1474 (exp_downward_test_data): Likewise.
1475 (exp_upward_test_data): Likewise.
1476 (exp10_test_data): Likewise.
1477 (exp2_test_data): Likewise.
1478 (expm1_test_data): Likewise.
1479 (j0_test_data): Likewise.
1480 (j1_test_data): Likewise.
1481 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1482 (input_flag_type): Add flag_xfail_rounding.
1483 (input_flags): Add xfail-rounding.
1484 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1485 (output_for_one_input_case): Handle flag_xfail_rounding.
1486 * sysdeps/i386/fpu/libm-test-ulps: Update.
1487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1489 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1492 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1495 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1498 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1499 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1500 (STAP_PROBE0): New macro.
1501 (STAP_PROBE1): Likewise.
1502 (STAP_PROBE2): Likewise.
1503 (STAP_PROBE3): Likewise.
1504 (STAP_PROBE4): Likewise.
1506 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1508 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1510 2013-12-02 Steve Ellcey <sellcey@mips.com>
1512 * benchtests/Makefile (bench): Add sqrt.
1513 (LDLIBS-bench-sqrt): New.
1514 * benchtests/sqrt-input: New.
1516 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1518 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1519 (GAIH_EAI): Likewise.
1520 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1521 (gaih_inet): Likewise.
1522 (getaddrinfo): Don't use GAIH_EAI.
1524 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1525 (struct gaih): Remove definition.
1527 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1529 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1530 Use HERRNOP directly.
1532 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1536 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1538 * math/gen-auto-libm-tests.c (test_functions): Add more
1539 single-argument functions.
1540 (special_fill_pi_2): New function.
1541 (special_fill_minus_pi_2): Likewise.
1542 (special_fill_pi_6): Likewise.
1543 (special_fill_minus_pi_6): Likewise.
1544 (special_fill_pi_3): Likewise.
1545 (special_fill_2pi_3): Likewise.
1546 (special_fill_e): Likewise.
1547 (special_fill_1_e): Likewise.
1548 (special_fill_e_minus_1): Likewise.
1549 (special_real_inputs): Add more special inputs.
1550 (output_for_one_input_case): Do not require ERANGE on underflow to
1551 zero if round-to-nearest result does not underflow to zero, unless
1552 exact results required.
1553 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1554 atan, atanh, cbrt, cos and cosh.
1555 * math/auto-libm-test-out: Regenerated.
1556 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1557 (acos_tonearest_test_data): Likewise.
1558 (acos_towardzero_test_data): Likewise.
1559 (acos_downward_test_data): Likewise.
1560 (acos_upward_test_data): Likewise.
1561 (acosh_test_data): Likewise.
1562 (asin_test_data): Likewise.
1563 (asin_tonearest_test_data): Likewise.
1564 (asin_towardzero_test_data): Likewise.
1565 (asin_upward_test_data): Likewise.
1566 (asinh_test_data): Likewise.
1567 (atan_test_data): Likewise.
1568 (atanh_test_data): Likewise.
1569 (cbrt_test_data): Likewise.
1570 (cos_test_data): Likewise.
1571 (cos_tonearest_test_data): Likewise.
1572 (cos_towardzero_test_data): Likewise.
1573 (cos_downward_test_data): Likewise.
1574 (cos_upward_test_data): Likewise.
1575 (cosh_test_data): Likewise.
1576 (cosh_tonearest_test_data): Likewise.
1577 (cosh_towardzero_test_data): Likewise.
1578 (cosh_downward_test_data): Likewise.
1579 (cosh_upward_test_data): Likewise.
1580 * sysdeps/i386/fpu/libm-test-ulps: Update.
1581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1583 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1586 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1587 * math/w_exp10f.c (__exp10f): Likewise.
1588 * math/w_exp10l.c (__exp10l): Likewise.
1589 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1590 errno settings in existing tests.
1593 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1594 precision control set to double precision.
1595 * sysdeps/i386/fpu/w_sqrt.c: New file.
1596 * math/auto-libm-test-in: Add more tests.
1597 * math/auto-libm-test-out: Update.
1599 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1600 (sqrt_test_tonearest): New function.
1601 (sqrt_towardzero_test_data): New variable.
1602 (sqrt_test_towardzero): New function.
1603 (sqrt_downward_test_data): New variable.
1604 (sqrt_test_downward): New function.
1605 (sqrt_upward_test_data): New variable.
1606 (sqrt_test_upward): New function.
1607 (main): Call the new functions.
1609 * math/gen-auto-libm-tests.c: New file.
1610 * math/auto-libm-test-in: Likewise.
1611 * math/auto-libm-test-out: New generated file.
1612 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1614 (%beautify): Add generated representations of zero.
1615 (top level): Set $auto_input and call parse_auto_input.
1616 (beautify): Remove trailing "f" from hex float constants.
1617 (parse_args): Handle XFAIL_TEST.
1618 (convert_condition): New function.
1619 (or_value): Likewise.
1620 (or_cond_value): Likewise.
1621 (generate_testfile): Handle AUTO_TESTS_* lines.
1622 (parse_auto_input): New function.
1623 * math/libm-test.inc (XFAIL_TEST): New macro.
1624 (ERRNO_UNCHANGED): Update value.
1625 (ERRNO_EDOM): Likewise.
1626 (ERRNO_ERANGE): Likewise.
1627 (IGNORE_RESULT): Likewise.
1628 (TEST_COND_flt_32): New macro.
1629 (TEST_COND_dbl_64): Likewise.
1630 (TEST_COND_ldbl_96_intel): Likewise.
1631 (TEST_COND_ldbl_96_m68k): Likewise.
1632 (TEST_COND_ldbl_128): Likewise.
1633 (TEST_COND_ldbl_128ibm): Likewise.
1634 (TEST_COND_long32): Likewise.
1635 (TEST_COND_long64): Likewise.
1636 (TEST_COND_before_rounding): Likewise.
1637 (TEST_COND_after_rounding): Likewise.
1638 (enable_test): Handle XFAIL_TEST flag.
1639 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1640 with finite results.
1641 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1644 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1645 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1648 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1649 __tls_get_addr_internal instead of __tls_get_offset in order to
1650 avoid GOT pointer dependency. Make rtld export
1651 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1652 __tls_get_addr since we are a __tls_get_offset platform.
1653 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1654 GOT pointer being set up before.
1655 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1657 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1659 * manual/math.texi (Errors in Math Functions): Document accuracy
1663 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1664 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1667 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1669 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1680 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1681 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1682 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1683 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1684 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1686 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1688 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1690 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1692 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1693 atomic-feupdateenv and flt-rounds.
1694 * sysdeps/powerpc/nofpu/Versions (libc): Add
1695 __atomic_feholdexcept, __atomic_feclearexcept,
1696 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1697 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1698 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1699 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1700 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1705 * manual/arith.texi (FP Exceptions): Document that exceptions may
1706 not be raised when matherr is used.
1707 (Math Error Reporting): Document overflow in directed rounding
1708 modes. Document that errno may not be set when finite values are
1709 returned on overflow. Document intent to set errno on underflow
1710 only for underflow to zero.
1713 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1714 round-to-nearest then adjust result for other rounding modes.
1715 * include/fenv.h (fegetround): Use libm_hidden_proto.
1716 * math/fegetround.c (fegetround): Use libm_hidden_def.
1717 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1718 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1719 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1722 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1724 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1725 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1727 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1730 * nss/Versions (libnss_files): Add
1731 _nss_files_gethostbyname3_r.
1732 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1734 (HOST_DB_LOOKUP): Remove macro.
1735 (_nss_files_gethostbyname_r): Implement function without the
1736 HOST_DB_LOOKUP macro.
1737 (_nss_files_gethostbyname2_r): Likewise.
1739 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1741 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1743 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1745 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1746 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1749 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1751 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1752 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1753 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1754 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1755 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1756 __fe_nomask_env_priv and attribute_hidden.
1757 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1758 (libc_feupdateenv_test_ppc): Likewise.
1759 (libc_feresetround_ppc): Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1761 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1762 compat_symbol macro.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1764 (__fe_nomask_env): Likewise.
1765 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1767 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1769 * string/Makefile: Remove ifunc tests.
1770 * string/test-string.h: Define TEST_IFUNC.
1771 * string/test-bcopy-ifunc.c: Remove.
1772 * string/test-bzero-ifunc.c: Likewise.
1773 * string/test-memccpy-ifunc.c: Likewise.
1774 * string/test-memchr-ifunc.c: Likewise.
1775 * string/test-memcmp-ifunc.c: Likewise.
1776 * string/test-memcpy-ifunc.c: Likewise.
1777 * string/test-memmem-ifunc.c: Likewise.
1778 * string/test-memmove-ifunc.c: Likewise.
1779 * string/test-mempcpy-ifunc.c: Likewise.
1780 * string/test-memrchr-ifunc.c: Likewise.
1781 * string/test-memset-ifunc.c: Likewise.
1782 * string/test-rawmemchr-ifunc.c: Likewise.
1783 * string/test-stpcpy-ifunc.c: Likewise.
1784 * string/test-stpncpy-ifunc.c: Likewise.
1785 * string/test-strcasecmp-ifunc.c: Likewise.
1786 * string/test-strcasestr-ifunc.c: Likewise.
1787 * string/test-strcat-ifunc.c: Likewise.
1788 * string/test-strchr-ifunc.c: Likewise.
1789 * string/test-strchrnul-ifunc.c: Likewise.
1790 * string/test-strcmp-ifunc.c: Likewise.
1791 * string/test-strcpy-ifunc.c: Likewise.
1792 * string/test-strcspn-ifunc.c: Likewise.
1793 * string/test-strlen-ifunc.c: Likewise.
1794 * string/test-strncasecmp-ifunc.c: Likewise.
1795 * string/test-strncat-ifunc.c: Likewise.
1796 * string/test-strncmp-ifunc.c: Likewise.
1797 * string/test-strncpy-ifunc.c: Likewise.
1798 * string/test-strnlen-ifunc.c: Likewise.
1799 * string/test-strpbrk-ifunc.c: Likewise.
1800 * string/test-strrchr-ifunc.c: Likewise.
1801 * string/test-strspn-ifunc.c: Likewise.
1802 * string/test-strstr-ifunc.c: Likewise.
1804 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1806 * benchtests/Makefile: Remove ifunc tests.
1807 * benchtests/bench-string.h: Define TEST_IFUNC.
1808 * benchtests/bench-bcopy-ifunc.c: Remove.
1809 * benchtests/bench-bzero-ifunc.c: Likewise.
1810 * benchtests/bench-memccpy-ifunc.c: Likewise.
1811 * benchtests/bench-memchr-ifunc.c: Likewise.
1812 * benchtests/bench-memcmp-ifunc.c: Likewise.
1813 * benchtests/bench-memcpy-ifunc.c: Likewise.
1814 * benchtests/bench-memmem-ifunc.c: Likewise.
1815 * benchtests/bench-memmove-ifunc.c: Likewise.
1816 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1817 * benchtests/bench-memrchr-ifunc.c: Likewise.
1818 * benchtests/bench-memset-ifunc.c: Likewise.
1819 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1820 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1821 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1822 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1823 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1824 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1825 * benchtests/bench-strcat-ifunc.c: Likewise.
1826 * benchtests/bench-strchr-ifunc.c: Likewise.
1827 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1828 * benchtests/bench-strcmp-ifunc.c: Likewise.
1829 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1830 * benchtests/bench-strcpy-ifunc.c: Likewise.
1831 * benchtests/bench-strcspn-ifunc.c: Likewise.
1832 * benchtests/bench-strlen-ifunc.c: Likewise.
1833 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1834 * benchtests/bench-strncat-ifunc.c: Likewise.
1835 * benchtests/bench-strncmp-ifunc.c: Likewise.
1836 * benchtests/bench-strncpy-ifunc.c: Likewise.
1837 * benchtests/bench-strnlen-ifunc.c: Likewise.
1838 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1839 * benchtests/bench-strrchr-ifunc.c: Likewise.
1840 * benchtests/bench-strsep-ifunc.c: Likewise.
1841 * benchtests/bench-strspn-ifunc.c: Likewise.
1842 * benchtests/bench-strstr-ifunc.c: Likewise.
1844 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1846 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1848 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1850 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1851 * rt/aio.h: Likewise.
1852 * sysdeps/gnu/bits/utmp.h: Likewise.
1853 * sysdeps/gnu/bits/utmpx.h: Likewise.
1854 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1855 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1856 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1857 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1858 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1859 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1860 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1861 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1862 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1863 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1864 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1865 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1866 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1869 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1870 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1871 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1872 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1873 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1874 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1875 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1876 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1877 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1878 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1881 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1884 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1885 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1886 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1887 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1888 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1889 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1890 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1891 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1893 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1894 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1895 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1897 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1900 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1901 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1903 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1905 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1909 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1912 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1913 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1914 (__fesetround): Remove define.
1915 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1916 rounding and exceptions handling.
1917 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1918 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1919 (__fe_nomask_env): Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1921 __fegetround instead of fegetround.
1922 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1925 2013-11-21 Roland McGrath <roland@hack.frob.com>
1927 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1930 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1932 2013-11-21 Meador Inge <meadori@codesourcery.com>
1935 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1936 (encrypt_r): Likewise.
1937 * malloc/obstack.h (obstack_free): Likewise.
1938 * posix/unistd.h (encrypt): Likewise.
1940 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1942 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1943 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1944 DL_CALL_DT_FINI() that call the functions directly.
1945 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1946 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1947 * elf/dl-fini.c: Likewise.
1949 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
1951 * malloc/hooks.c (memalign_check): Add alignment rounding.
1952 * malloc/malloc.c (_mid_memalign): New function.
1953 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1954 Implement by calling _mid_memalign.
1955 * manual/probes.texi (Memory Allocation Probes): Remove
1956 memory_valloc_retry and memory_pvalloc_retry.
1958 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1960 * locale/programs/locarchive.c (open_archive): Add const
1961 qualifier to ARCHIVEFNAME and copy default fname to
1965 * libio/tst-widetext.input: Rename Oriya to Odia.
1966 * locale/iso-639.def: Likewise.
1968 * manual/probes.texi (Mathematical Function Probes): Add
1969 documentation for sin, cos, asin and acos probes.
1970 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1971 (__sin32): Add slowasin probe.
1972 (__cos32): Add slowacos probe.
1973 (__mpsin): Add slowsin probe.
1974 (__mpcos): Add slowcos probe.
1976 2013-11-19 Joseph Myers <joseph@codesourcery.com>
1979 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1980 thread-local __sim_exceptions_thread and global
1981 __sim_exceptions_global.
1982 (__sim_disabled_exceptions): Change to thread-local
1983 __sim_disabled_exceptions_thread and global
1984 __sim_disabled_exceptions_global.
1985 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1986 and global __sim_round_mode_global.
1987 (__simulate_exceptions): Use thread-local floating-point state and
1988 set global state from it as needed.
1989 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1990 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1991 __sim_round_mode_thread.
1992 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1993 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1994 and global __sim_exceptions_global.
1995 (__sim_disabled_exceptions): Change to thread-local
1996 __sim_disabled_exceptions_thread and global
1997 __sim_disabled_exceptions_global.
1998 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1999 and global __sim_round_mode_global.
2000 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2001 (SIM_SET_GLOBAL): Likewise.
2002 * sysdeps/powerpc/soft-fp/sfp-machine.h
2003 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2004 __sim_round_mode_thread.
2005 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2006 __sim_disabled_exceptions_thread.
2007 (__sim_exceptions): Change to __sim_exceptions_thread.
2008 (__sim_disabled_exceptions): Change to
2009 __sim_disabled_exceptions_thread.
2010 (__sim_round_mode): Change to __sim_round_mode_thread.
2011 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2012 thread-local floating-point state and set global state from it as
2014 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2015 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2016 (__sim_disabled_exceptions): Remove extern declaration.
2017 (feenableexcept): Use thread-local floating-point state and set
2018 global state from it as needed.
2019 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2021 (__sim_disabled_exceptions): Likewise.
2022 (__sim_round_mode): Likewise.
2023 (__fegetenv): Use thread-local floating-point state.
2024 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2025 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2026 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2027 floating-point state and set global state from it as needed.
2028 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2029 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2030 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2032 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2033 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2035 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2036 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2037 Use __sim_round_mode_thread.
2038 * math/test-fenv-tls.c: New file.
2039 * math/Makefile (tests): Add test-fenv-tls.
2040 ($(objpfx)test-fenv-tls): Depend on
2041 $(common-objpfx)nptl/libpthread.so.
2043 2013-11-19 Andreas Schwab <schwab@suse.de>
2045 * locale/programs/locale.c (show_info): Decode wordarray elements.
2046 * locale/categories.def (LC_MONETARY): Add element for
2047 _NL_MONETARY_CRNCYSTR.
2048 * locale/C-monetary.c (conversion_rate): New variable.
2049 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2052 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2054 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2055 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2057 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2059 * elf/Makefile (tst-auxv): New test.
2060 * elf/tst-auxv.c: New
2061 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2063 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2065 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2066 (hidden_proto): Caller changed.
2067 (hidden_tls_proto): New macro.
2068 (libc_hidden_tls_proto): Likewise.
2069 (rtld_hidden_tls_proto): Likewise.
2070 (libm_hidden_tls_proto): Likewise.
2071 (libresolv_hidden_tls_proto): Likewise.
2072 (librt_hidden_tls_proto): Likewise.
2073 (libdl_hidden_tls_proto): Likewise.
2074 (libnss_files_hidden_tls_proto): Likewise.
2075 (libnsl_hidden_tls_proto): Likewise.
2076 (libnss_nisplus_hidden_tls_proto): Likewise.
2077 (libutil_hidden_tls_proto): Likewise.
2079 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2082 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2083 (decompose_rpath): Defer expansion to fillin_rpath.
2084 (_dl_init_paths): Pass linkmap to fillin_rpath.
2086 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2088 * benchtests/Makefile: Add strsep.
2089 * benchtests/bench-strsep.c: New file: strsep benchtest.
2090 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2092 2013-11-18 Andreas Schwab <schwab@suse.de>
2094 * locale/programs/locale.c (show_info) [case byte]: Check for
2095 '\377' instead of '\177'.
2096 * locale/C-monetary.c (not_available): Always use "\377".
2097 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2098 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2099 detect unavailable sign_posn locale elements.
2100 * locale/localeconv.c (__localeconv): For grouping and
2101 mon_grouping handle "\177" and "\377" like no grouping.
2102 (INT_ELEM): New macro. Use it to set all numeric members.
2103 * locale/programs/ld-monetary.c (monetary_read)
2104 <tok_mon_grouping>: Normalize single -1 to the empty string.
2105 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2108 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2112 when we match (nil).
2113 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2115 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2117 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2118 (NO_TEST_INLINE): Update value.
2119 (ERRNO_UNCHANGED): Likewise.
2120 (ERRNO_EDOM): Likewise.
2121 (ERRNO_ERANGE): Likewise.
2122 (IGNORE_RESULT): Likewise.
2123 (check_float_internal): Check signs of NaN results if
2125 (check_complex): Pass TEST_NAN_SIGN flag through to second
2126 check_float_internal call.
2127 (copysign_test_data): Add tests with quiet NaNs as second
2128 argument. Use TEST_NAN_SIGN.
2129 (fabs_test_data): Add test of negative quiet NaN argument. Use
2131 (signbit_test_data): Add tests of quiet NaN argument.
2132 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2134 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2136 (parse_args): Handle function results specified as IGNORE.
2137 * math/libm-test.inc (IGNORE_RESULT): New macro.
2138 (check_float_internal): Do not check numerical result if flag
2140 (check_complex): Pass through IGNORE_RESULT to second
2141 check_float_internal call.
2142 (check_int): Do not check numerical result if flag IGNORE_RESULT
2144 (check_long): Likewise.
2145 (check_bool): Likewise.
2146 (check_longlong): Likewise.
2147 (lrint_test_data): Add tests of infinite and NaN arguments.
2148 (lrint_tonearest_test_data): Likewise.
2149 (lrint_towardzero_test_data): Likewise.
2150 (lrint_downward_test_data): Likewise.
2151 (lrint_upward_test_data): Likewise.
2152 (llrint_test_data): Likewise.
2153 (llrint_tonearest_test_data): Likewise.
2154 (llrint_towardzero_test_data): Likewise.
2155 (llrint_downward_test_data): Likewise.
2156 (llrint_upward_test_data): Likewise.
2157 (lround_test_data): Likewise.
2158 (llround_test_data): Likewise.
2160 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2161 (ERRNO_UNCHANGED): Update value.
2162 (ERRNO_EDOM): Likewise.
2163 (ERRNO_ERANGE): Likewise.
2164 (NO_TEST_INLINE_FLOAT): New macro.
2165 (NO_TEST_INLINE_DOUBLE): Likewise.
2166 (enable_test): New function.
2167 (RUN_TEST_f_f): Check enable_test before running test.
2168 (RUN_TEST_2_f): Likewise.
2169 (RUN_TEST_fff_f): Likewise.
2170 (RUN_TEST_c_f): Likewise.
2171 (RUN_TEST_f_f1): Likewise.
2172 (RUN_TEST_fF_f1): Likewise.
2173 (RUN_TEST_fI_f1): Likewise.
2174 (RUN_TEST_ffI_f1): Likewise.
2175 (RUN_TEST_c_c): Likewise.
2176 (RUN_TEST_cc_c): Likewise.
2177 (RUN_TEST_f_i): Likewise.
2178 (RUN_TEST_f_i_tg): Likewise.
2179 (RUN_TEST_ff_i_tg): Likewise.
2180 (RUN_TEST_f_b): Likewise.
2181 (RUN_TEST_f_b_tg): Likewise.
2182 (RUN_TEST_f_l): Likewise.
2183 (RUN_TEST_f_L): Likewise.
2184 (RUN_TEST_fFF_11): Likewise.
2185 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2187 (cosh_test_data): Likewise.
2188 (exp_test_data): Likewise.
2189 (expm1_test_data): Likewise.
2190 (hypot_test_data): Likewise.
2191 (pow_test_data): Likewise.
2192 (sinh_test_data): Likewise.
2193 (tanh_test_data): Likewise.
2194 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2197 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2198 tests with quiet NaN input and output.
2199 (acosh_test_data): Likewise.
2200 (asin_test_data): Likewise.
2201 (asinh_test_data): Likewise.
2202 (atan_test_data): Likewise.
2203 (atanh_test_data): Likewise.
2204 (atan2_test_data): Likewise.
2205 (cbrt_test_data): Likewise.
2206 (cos_test_data): Likewise.
2207 (cosh_test_data): Likewise.
2208 (erf_test_data): Likewise.
2209 (erfc_test_data): Likewise.
2210 (exp_test_data): Likewise.
2211 (exp10_test_data): Likewise.
2212 (exp2_test_data): Likewise.
2213 (expm1_test_data): Likewise.
2214 (hypot_test_data): Likewise.
2215 (j0_test_data): Likewise.
2216 (j1_test_data): Likewise.
2217 (jn_test_data): Likewise.
2218 (lgamma_test_data): Likewise.
2219 (log_test_data): Likewise.
2220 (log10_test_data): Likewise.
2221 (log1p_test_data): Likewise.
2222 (log2_test_data): Likewise.
2223 (pow_test_data): Likewise.
2224 (scalb_test_data): Likewise.
2225 (sin_test_data): Likewise.
2226 (sincos_test_data): Likewise.
2227 (sinh_test_data): Likewise.
2228 (tan_test_data): Likewise.
2229 (tanh_test_data): Likewise.
2230 (tgamma_test_data): Likewise.
2231 (y0_test_data): Likewise.
2232 (y1_test_data): Likewise.
2233 (yn_test_data): Likewise.
2236 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2237 argument being NaN and avoid computations with second argument in
2239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2240 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2241 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2243 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2245 * locale/iso-639.def: Add Chitwani Tharu (the).
2247 2013-11-14 Andreas Schwab <schwab@suse.de>
2249 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2250 word instead of empty string.
2252 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2255 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2257 (__fe_nomask_env): Likewise.
2259 2013-11-13 Steve Ellcey <sellcey@mips.com>
2261 * benchtests/bench-timing.h: Include time.h.
2263 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2266 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2268 * sysdeps/unix/sysv/linux/configure: Regenerated.
2270 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2273 * stdlib/strtod_l.c (round_and_return): Do not consider
2274 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2275 exponent one less than half the least subnormal exponent.
2276 * stdlib/test-strtod-round-data: Add more tests.
2277 * stdlib/tst-strtod-round.c (tests): Regenerated.
2279 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2282 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2283 (__fe_mask_env): Likewise.
2284 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2285 libm_hidden_proto and add function prototype.
2286 (__fe_mask_env): Add function prototype.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2288 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2290 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2292 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2294 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2296 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2297 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2299 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2301 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2302 of htab_find_slot().
2304 2013-11-11 David S. Miller <davem@davemloft.net>
2307 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2308 symbol in the non-vis3 case in static builds.
2309 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2311 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2312 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2314 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2317 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2320 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322 * benchtests/Makefile: Add bench-strtod.
2323 * benchtests/bench-strtod.c: New file: strtod benchtest
2325 2013-11-11 Andreas Schwab <schwab@suse.de>
2328 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2329 terminating NUL in key length.
2331 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2334 Add artificial ODP entry for vDSO symbol for PPC64.
2335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2336 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2338 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2341 * nss/getent.c (services_keys): Recognize services starting with digit.
2343 2013-11-06 David S. Miller <davem@davemloft.net>
2346 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2347 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2349 2013-11-06 Will Newton <will.newton@linaro.org>
2351 * manual/memory.texi (Malloc Examples): Remove register
2352 keyword from examples.
2354 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2356 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2358 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2360 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2361 depending on [__GCC_IEC_559 > 0].
2362 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2363 depending on [__GCC_IEC_559_COMPLEX > 0].
2365 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2367 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2370 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2372 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2374 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2377 * malloc/malloc (malloc_info): Do not handle first bin as
2380 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2382 * locale/iso-639.def: Add Central Nahuatl (nhn).
2384 2013-11-01 Bruno Haible <bruno@clisp.org>
2387 * manual/math.texi (BSD Random): Specify range upper bound as
2390 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2392 * locale/iso-639.def: Add Meadow Mari (mhr).
2394 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2396 [BZ #14752], [BZ #15763]
2397 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2399 * rt/tst_shm.c: Add test for escaping directory.
2401 2013-10-31 Andreas Schwab <schwab@suse.de>
2404 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2405 followed by 'x' as part of digit sequence.
2406 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2408 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2411 * configure.ac: allow GNU Make 4.0 and greater.
2412 * configure: Regenerated.
2414 2013-10-30 Will Newton <will.newton@linaro.org>
2417 * malloc/hooks.c (memalign_check): Limit alignment to the
2418 maximum representable power of two.
2419 * malloc/malloc.c (__libc_memalign): Likewise.
2420 * malloc/tst-memalign.c (do_test): Add test for very
2421 large alignment values.
2422 * malloc/tst-posix_memalign.c (do_test): Likewise.
2424 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2427 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2428 (munmap_chunk): Likewise.
2429 (mremap_chunk): Likewise.
2431 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2434 * stdlib/div.c (div): Remove obsolete code.
2435 * stdlib/ldiv.c (ldiv): Likewise.
2436 * stdlib/lldiv.c (lldiv): Likewise.
2438 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2441 * nss/nss_files/files-XXX.c (get_contents_ret): New
2443 (get_contents): New function.
2444 (internal_getent): Use it. Expand size of LINEBUFLEN.
2446 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2448 * configure.in: Moved to ...
2449 * configure.ac: ... here. Change reference to configure.in
2451 * sysdeps/arm/preconfigure.ac: ... here.
2452 configure.in to configure.ac.
2453 * sysdeps/gnu/configure.in: Moved to ...
2454 * sysdeps/gnu/configure.ac: ... here.
2455 * sysdeps/i386/configure.in: Moved to ...
2456 * sysdeps/i386/configure.ac: ... here.
2457 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2458 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2459 * sysdeps/mach/configure.in: Moved to ...
2460 * sysdeps/mach/configure.ac: ... here.
2461 * sysdeps/mach/hurd/configure.in: Moved to ...
2462 * sysdeps/mach/hurd/configure.ac: ... here.
2463 * sysdeps/powerpc/configure.in: Moved to ...
2464 * sysdeps/powerpc/configure.ac: ... here.
2465 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2466 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2467 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2468 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2469 * sysdeps/s390/s390-32/configure.in: Moved to ...
2470 * sysdeps/s390/s390-32/configure.ac: ... here.
2471 * sysdeps/s390/s390-64/configure.in: Moved to ...
2472 * sysdeps/s390/s390-64/configure.ac: ... here.
2473 * sysdeps/sh/configure.in: Moved to ...
2474 * sysdeps/sh/configure.ac: ... here.
2475 * sysdeps/sparc/configure.in: Moved to ...
2476 * sysdeps/sparc/configure.ac: ... here.
2477 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2478 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2479 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2480 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2481 * sysdeps/x86_64/configure.in: Moved to ...
2482 * sysdeps/x86_64/configure.ac: ... here.
2483 * sysdeps/x86_64/preconfigure.in: Moved to ...
2484 * sysdeps/x86_64/preconfigure.ac: ... here.
2485 * aclocal.m4: Change reference to configure.in to configure.ac.
2486 * config.h.in: Likewise.
2487 * manual/install.texi: Likewise.
2488 * manual/maint.texi: Likewise.
2489 * Makefile: Likewise.
2490 * malloc/Makefile: Likewise.
2491 * nscd/Makefile: Likewise.
2492 * Makeconfig: Change reference to configure.in and
2493 preconfigure.in to configure.ac and preconfigure.ac
2495 * INSTALL: Regenerated.
2496 * configure: Likewise.
2497 * sysdeps/gnu/configure: Likewise.
2498 * sysdeps/i386/configure: Likewise.
2499 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2500 * sysdeps/mach/configure: Likewise.
2501 * sysdeps/mach/hurd/configure: Likewise.
2502 * sysdeps/powerpc/configure: Likewise.
2503 * sysdeps/powerpc/powerpc32/configure: Likewise.
2504 * sysdeps/powerpc/powerpc64/configure: Likewise.
2505 * sysdeps/s390/s390-32/configure: Likewise.
2506 * sysdeps/s390/s390-64/configure: Likewise.
2507 * sysdeps/sh/configure: Likewise.
2508 * sysdeps/sparc/configure: Likewise.
2509 * sysdeps/unix/sysv/linux/configure: Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2511 * sysdeps/x86_64/configure: Likewise.
2512 * sysdeps/x86_64/preconfigure: Likewise.
2514 2013-10-29 Andreas Schwab <schwab@suse.de>
2516 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2518 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2520 * benchtests/pow-inputs: Add new inputs.
2522 * benchtests/exp-inputs: Add new inputs.
2524 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2525 conditional check for return value.
2526 (__cos32): Likewise.
2528 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2530 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2531 to provide a boost for large inputs with word alignment.
2532 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2533 implementation based on optimized PPC64 strcpy.
2534 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2535 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2536 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2537 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2539 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2542 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2544 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2547 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2548 * time/tst-strptime.c (day_tests): Add testcase.
2550 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2553 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2555 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2558 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2559 MAP_FAILED on error.
2561 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2564 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2565 heap for large requests.
2567 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2570 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2571 result if the result has no associated interface.
2572 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2573 interface for all 127.X.Y.Z addresses.
2575 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2577 * locale/iso-639.def: Add Ligurian (lij)
2579 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2582 * sunrpc/rpc_main.c: Document rpcgen -5.
2584 2013-10-19 Michael Stahl <mstahl@redhat.com>
2586 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2588 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2591 * posix/glob.c: Match only directories when trailing slash is present.
2592 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2593 (main): Add testcase.
2595 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2598 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2600 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2602 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2603 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2604 AUTH_DES and cindex for FIPS 140-2.
2605 (DES Encryption): Add cindex FIPS 46-3.
2607 * locale/locarchive.h (struct locarhandle): Add fname.
2608 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2609 if an optional argument was specified to --list-archive,
2611 * locale/programs/locarchive.c (show_archive_content): Take new
2612 argument fname and pass it via ah.fname to open_archive.
2613 * locale/programs/localedef.h: Update decl.
2614 (open_archive): If AH->fname is non-null, open that file
2615 rather than the default file name, and don't ignore ENOENT.
2616 (create_archive): Set AH.fname to NULL.
2617 (delete_locales_from_archive): Likewise.
2618 (add_locales_to_archive): Likewise.
2619 * locale/programs/locfile.c (write_all_categories): Likewise.
2621 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2622 Aldy Hernandez <aldyh@redhat.com>
2624 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2625 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2626 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2627 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2628 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2629 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2630 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2632 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2633 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2634 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2635 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2636 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2637 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2638 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2640 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2642 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2644 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2646 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2647 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2649 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2650 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2651 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2652 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2654 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2655 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2656 * sysdeps/powerpc/preconfigure: Likewise.
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2659 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2660 Replace contents of file by #include of <fenv_libc.h>.
2661 * sysdeps/powerpc/soft-fp/sfp-machine.h
2662 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2664 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2671 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2677 Allow copysignl PLT reference to be missing.
2679 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2680 Joseph Myers <joseph@codesourcery.com
2683 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2685 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2687 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2689 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2690 * elf/tst-tls1.c: Likewise.
2691 * elf/tst-tls10.h: Likewise.
2692 * elf/tst-tls14.c: Likewise.
2693 * elf/tst-tls2.c: Likewise.
2694 * elf/tst-tls3.c: Likewise.
2695 * elf/tst-tls4.c: Likewise.
2696 * elf/tst-tls5.c: Likewise.
2697 * elf/tst-tls6.c: Likewise.
2698 * elf/tst-tls7.c: Likewise.
2699 * elf/tst-tls8.c: Likewise.
2700 * elf/tst-tls9.c: Likewise.
2701 * elf/tst-tlsmod1.c: Likewise.
2702 * elf/tst-tlsmod13.c: Likewise.
2703 * elf/tst-tlsmod13a.c: Likewise.
2704 * elf/tst-tlsmod14a.c: Likewise.
2705 * elf/tst-tlsmod16a.c: Likewise.
2706 * elf/tst-tlsmod16b.c: Likewise.
2707 * elf/tst-tlsmod2.c: Likewise.
2708 * elf/tst-tlsmod3.c: Likewise.
2709 * elf/tst-tlsmod4.c: Likewise.
2710 * elf/tst-tlsmod5.c: Likewise.
2711 * elf/tst-tlsmod6.c: Likewise.
2713 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2716 * malloc/malloc.c: remove checks for statistics.
2718 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2721 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2722 * inet/tst-network.c: Add testcase.
2724 2013-10-17 Andreas Schwab <schwab@suse.de>
2727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2728 to determine canonical name.
2730 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2732 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2733 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2756 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2757 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2762 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2763 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2764 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2765 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2766 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2767 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2768 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2769 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2770 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2772 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2791 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2794 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2795 make result into a quiet NaN.
2797 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2799 * soft-fp/adddf3.c: Fix horizontal whitespace.
2800 * soft-fp/addsf3.c: Likewise.
2801 * soft-fp/addtf3.c: Likewise.
2802 * soft-fp/divdf3.c: Likewise.
2803 * soft-fp/divsf3.c: Likewise.
2804 * soft-fp/divtf3.c: Likewise.
2805 * soft-fp/double.h: Likewise.
2806 * soft-fp/eqdf2.c: Likewise.
2807 * soft-fp/eqsf2.c: Likewise.
2808 * soft-fp/eqtf2.c: Likewise.
2809 * soft-fp/extenddftf2.c: Likewise.
2810 * soft-fp/extended.h: Likewise.
2811 * soft-fp/extendsfdf2.c: Likewise.
2812 * soft-fp/extendsftf2.c: Likewise.
2813 * soft-fp/extendxftf2.c: Likewise.
2814 * soft-fp/fixdfdi.c: Likewise.
2815 * soft-fp/fixdfsi.c: Likewise.
2816 * soft-fp/fixdfti.c: Likewise.
2817 * soft-fp/fixsfdi.c: Likewise.
2818 * soft-fp/fixsfsi.c: Likewise.
2819 * soft-fp/fixsfti.c: Likewise.
2820 * soft-fp/fixtfdi.c: Likewise.
2821 * soft-fp/fixtfsi.c: Likewise.
2822 * soft-fp/fixtfti.c: Likewise.
2823 * soft-fp/fixunsdfdi.c: Likewise.
2824 * soft-fp/fixunsdfsi.c: Likewise.
2825 * soft-fp/fixunsdfti.c: Likewise.
2826 * soft-fp/fixunssfdi.c: Likewise.
2827 * soft-fp/fixunssfsi.c: Likewise.
2828 * soft-fp/fixunssfti.c: Likewise.
2829 * soft-fp/fixunstfdi.c: Likewise.
2830 * soft-fp/fixunstfsi.c: Likewise.
2831 * soft-fp/fixunstfti.c: Likewise.
2832 * soft-fp/floatdidf.c: Likewise.
2833 * soft-fp/floatdisf.c: Likewise.
2834 * soft-fp/floatditf.c: Likewise.
2835 * soft-fp/floatsidf.c: Likewise.
2836 * soft-fp/floatsisf.c: Likewise.
2837 * soft-fp/floatsitf.c: Likewise.
2838 * soft-fp/floattidf.c: Likewise.
2839 * soft-fp/floattisf.c: Likewise.
2840 * soft-fp/floattitf.c: Likewise.
2841 * soft-fp/floatundidf.c: Likewise.
2842 * soft-fp/floatundisf.c: Likewise.
2843 * soft-fp/floatunditf.c: Likewise.
2844 * soft-fp/floatunsidf.c: Likewise.
2845 * soft-fp/floatunsisf.c: Likewise.
2846 * soft-fp/floatunsitf.c: Likewise.
2847 * soft-fp/floatuntidf.c: Likewise.
2848 * soft-fp/floatuntisf.c: Likewise.
2849 * soft-fp/floatuntitf.c: Likewise.
2850 * soft-fp/fmadf4.c: Likewise.
2851 * soft-fp/fmasf4.c: Likewise.
2852 * soft-fp/fmatf4.c: Likewise.
2853 * soft-fp/gedf2.c: Likewise.
2854 * soft-fp/gesf2.c: Likewise.
2855 * soft-fp/getf2.c: Likewise.
2856 * soft-fp/ledf2.c: Likewise.
2857 * soft-fp/lesf2.c: Likewise.
2858 * soft-fp/letf2.c: Likewise.
2859 * soft-fp/muldf3.c: Likewise.
2860 * soft-fp/mulsf3.c: Likewise.
2861 * soft-fp/multf3.c: Likewise.
2862 * soft-fp/negdf2.c: Likewise.
2863 * soft-fp/negsf2.c: Likewise.
2864 * soft-fp/negtf2.c: Likewise.
2865 * soft-fp/op-1.h: Likewise.
2866 * soft-fp/op-2.h: Likewise.
2867 * soft-fp/op-4.h: Likewise.
2868 * soft-fp/op-8.h: Likewise.
2869 * soft-fp/op-common.h: Likewise.
2870 * soft-fp/quad.h: Likewise.
2871 * soft-fp/single.h: Likewise.
2872 * soft-fp/soft-fp.h: Likewise.
2873 * soft-fp/sqrtdf2.c: Likewise.
2874 * soft-fp/sqrtsf2.c: Likewise.
2875 * soft-fp/sqrttf2.c: Likewise.
2876 * soft-fp/subdf3.c: Likewise.
2877 * soft-fp/subsf3.c: Likewise.
2878 * soft-fp/subtf3.c: Likewise.
2879 * soft-fp/truncdfsf2.c: Likewise.
2880 * soft-fp/trunctfdf2.c: Likewise.
2881 * soft-fp/trunctfsf2.c: Likewise.
2882 * soft-fp/trunctfxf2.c: Likewise.
2883 * soft-fp/unorddf2.c: Likewise.
2884 * soft-fp/unordsf2.c: Likewise.
2885 * soft-fp/unordtf2.c: Likewise.
2887 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2889 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2890 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2892 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2894 * elf/dl-libc.c: Clear initfini list after freeing.
2896 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2898 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2899 * soft-fp/addsf3.c: Likewise.
2900 * soft-fp/addtf3.c: Likewise.
2901 * soft-fp/divdf3.c: Likewise.
2902 * soft-fp/divsf3.c: Likewise.
2903 * soft-fp/divtf3.c: Likewise.
2904 * soft-fp/double.h: Likewise.
2905 * soft-fp/eqdf2.c: Likewise.
2906 * soft-fp/eqsf2.c: Likewise.
2907 * soft-fp/eqtf2.c: Likewise.
2908 * soft-fp/extenddftf2.c: Likewise.
2909 * soft-fp/extended.h: Likewise.
2910 * soft-fp/extendsfdf2.c: Likewise.
2911 * soft-fp/extendsftf2.c: Likewise.
2912 * soft-fp/extendxftf2.c: Likewise.
2913 * soft-fp/fixdfdi.c: Likewise.
2914 * soft-fp/fixdfsi.c: Likewise.
2915 * soft-fp/fixdfti.c: Likewise.
2916 * soft-fp/fixsfdi.c: Likewise.
2917 * soft-fp/fixsfsi.c: Likewise.
2918 * soft-fp/fixsfti.c: Likewise.
2919 * soft-fp/fixtfdi.c: Likewise.
2920 * soft-fp/fixtfsi.c: Likewise.
2921 * soft-fp/fixtfti.c: Likewise.
2922 * soft-fp/fixunsdfdi.c: Likewise.
2923 * soft-fp/fixunsdfsi.c: Likewise.
2924 * soft-fp/fixunsdfti.c: Likewise.
2925 * soft-fp/fixunssfdi.c: Likewise.
2926 * soft-fp/fixunssfsi.c: Likewise.
2927 * soft-fp/fixunssfti.c: Likewise.
2928 * soft-fp/fixunstfdi.c: Likewise.
2929 * soft-fp/fixunstfsi.c: Likewise.
2930 * soft-fp/fixunstfti.c: Likewise.
2931 * soft-fp/floatdidf.c: Likewise.
2932 * soft-fp/floatdisf.c: Likewise.
2933 * soft-fp/floatditf.c: Likewise.
2934 * soft-fp/floatsidf.c: Likewise.
2935 * soft-fp/floatsisf.c: Likewise.
2936 * soft-fp/floatsitf.c: Likewise.
2937 * soft-fp/floattidf.c: Likewise.
2938 * soft-fp/floattisf.c: Likewise.
2939 * soft-fp/floattitf.c: Likewise.
2940 * soft-fp/floatundidf.c: Likewise.
2941 * soft-fp/floatundisf.c: Likewise.
2942 * soft-fp/floatunsidf.c: Likewise.
2943 * soft-fp/floatunsisf.c: Likewise.
2944 * soft-fp/floatuntidf.c: Likewise.
2945 * soft-fp/floatuntisf.c: Likewise.
2946 * soft-fp/floatuntitf.c: Likewise.
2947 * soft-fp/fmadf4.c: Likewise.
2948 * soft-fp/fmasf4.c: Likewise.
2949 * soft-fp/fmatf4.c: Likewise.
2950 * soft-fp/gedf2.c: Likewise.
2951 * soft-fp/gesf2.c: Likewise.
2952 * soft-fp/getf2.c: Likewise.
2953 * soft-fp/ledf2.c: Likewise.
2954 * soft-fp/lesf2.c: Likewise.
2955 * soft-fp/letf2.c: Likewise.
2956 * soft-fp/muldf3.c: Likewise.
2957 * soft-fp/mulsf3.c: Likewise.
2958 * soft-fp/multf3.c: Likewise.
2959 * soft-fp/negdf2.c: Likewise.
2960 * soft-fp/negsf2.c: Likewise.
2961 * soft-fp/negtf2.c: Likewise.
2962 * soft-fp/op-1.h: Likewise.
2963 * soft-fp/op-2.h: Likewise.
2964 * soft-fp/op-4.h: Likewise.
2965 * soft-fp/op-8.h: Likewise.
2966 * soft-fp/op-common.h: Likewise.
2967 * soft-fp/quad.h: Likewise.
2968 * soft-fp/single.h: Likewise.
2969 * soft-fp/soft-fp.h: Likewise.
2970 * soft-fp/sqrtdf2.c: Likewise.
2971 * soft-fp/sqrtsf2.c: Likewise.
2972 * soft-fp/sqrttf2.c: Likewise.
2973 * soft-fp/subdf3.c: Likewise.
2974 * soft-fp/subsf3.c: Likewise.
2975 * soft-fp/subtf3.c: Likewise.
2976 * soft-fp/truncdfsf2.c: Likewise.
2977 * soft-fp/trunctfdf2.c: Likewise.
2978 * soft-fp/trunctfsf2.c: Likewise.
2979 * soft-fp/trunctfxf2.c: Likewise.
2980 * soft-fp/unorddf2.c: Likewise.
2981 * soft-fp/unordsf2.c: Likewise.
2982 * soft-fp/unordtf2.c: Likewise.
2984 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
2987 * misc/error.c (error_tail): Fix possible buffer overflow.
2989 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2992 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2995 2013-10-14 P. J. McDermott <pj@pehjota.net>
2998 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2999 testing pipefail option.
3001 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3003 * soft-fp/double.h: Indent preprocessor directives inside #if.
3004 * soft-fp/extended.h: Likewise.
3005 * soft-fp/op-2.h: Likewise.
3006 * soft-fp/op-4.h: Likewise.
3007 * soft-fp/op-common.h: Likewise.
3008 * soft-fp/quad.h: Likewise.
3009 * soft-fp/single.h: Likewise.
3010 * soft-fp/soft-fp.h: Likewise.
3012 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3014 * iconv/iconv_prog.c: Fix typos.
3015 * stdio-common/psiginfo-data.h: Likewise.
3017 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3020 * locale/setlocale.c: Fix typo.
3022 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3025 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3026 signaling NaN arguments.
3027 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3028 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3031 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3033 * soft-fp/gesf2.c (__gesf2): Likewise.
3034 * soft-fp/getf2.c (__getf2): Likewise.
3035 * soft-fp/ledf2.c (__ledf2): Likewise.
3036 * soft-fp/lesf2.c (__lesf2): Likewise.
3037 * soft-fp/letf2.c (__letf2): Likewise.
3039 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3040 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3041 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3042 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3043 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3044 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3045 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3046 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3047 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3048 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3049 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3050 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3051 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3052 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3053 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3054 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3055 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3056 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3057 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3058 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3059 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3060 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3061 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3062 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3063 * soft-fp/floattidf.c (__floattidf): Likewise.
3064 * soft-fp/floattisf.c (__floattisf): Likewise.
3065 * soft-fp/floattitf.c (__floattitf): Likewise.
3066 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3067 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3068 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3069 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3070 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3071 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3072 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3073 * soft-fp/gesf2.c (__gesf2): Likewise.
3074 * soft-fp/getf2.c (__getf2): Likewise.
3075 * soft-fp/ledf2.c (__ledf2): Likewise.
3076 * soft-fp/lesf2.c (__lesf2): Likewise.
3077 * soft-fp/letf2.c (__letf2): Likewise.
3079 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3080 Undefine and redefine.
3081 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3082 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3083 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3084 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3085 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3086 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3087 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3088 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3089 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3090 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3091 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3092 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3093 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3094 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3095 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3098 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3099 without decrementing exponent if mantissa >= that for the
3101 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3102 denominator, not >. Decrement exponent in < case instead of
3103 incrementing in >= case.
3104 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3105 without decrementing exponent if mantissa >= that for the
3108 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3109 computing saturated result for unsigned overflow.
3111 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3112 Jeff Law <law@redhat.com>
3114 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3115 (atan2Mp): Add systemtap probe marker.
3116 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3117 (__ieee754_log): Add systemtap probe marker.
3118 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3119 (atanMp): Add systemtap probe marker.
3120 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3121 (tanMp): Add systemtap probe marker.
3122 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3123 (__slowexp): Add systemtap probe marker.
3124 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3125 (__slowpow): Add systemtap probe marker.
3126 * manual/probes.texi: Document probes.
3128 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3131 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3133 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3135 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3136 written to buffer but not flushed.
3137 * libio/iofwrite_u.c: Likewise.
3138 * libio/iopadn.c: Return bytes returned even if EOF was
3140 * libio/iowpadn.c: Likewise.
3141 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3142 if _IO_padn does not write the whole buffer.
3143 [!COMPILE_WPRINTF] (PAD): Likewise.
3145 2013-10-10 David S. Miller <davem@davemloft.net>
3147 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3150 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3152 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3153 instead of FSF address.
3154 * soft-fp/fixdfti.c: Likewise.
3155 * soft-fp/fixsfti.c: Likewise.
3156 * soft-fp/fixtfti.c: Likewise.
3157 * soft-fp/fixunsdfti.c: Likewise.
3158 * soft-fp/fixunssfti.c: Likewise.
3159 * soft-fp/fixunstfti.c: Likewise.
3160 * soft-fp/floattidf.c: Likewise.
3161 * soft-fp/floattisf.c: Likewise.
3162 * soft-fp/floattitf.c: Likewise.
3163 * soft-fp/floatuntidf.c: Likewise.
3164 * soft-fp/floatuntisf.c: Likewise.
3165 * soft-fp/floatuntitf.c: Likewise.
3166 * soft-fp/trunctfxf2.c: Likewise.
3168 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3169 * soft-fp/fixdfti.c: Likewise.
3170 * soft-fp/fixsfti.c: Likewise.
3171 * soft-fp/fixtfti.c: Likewise.
3172 * soft-fp/fixunsdfti.c: Likewise.
3173 * soft-fp/fixunssfti.c: Likewise.
3174 * soft-fp/fixunstfti.c: Likewise.
3175 * soft-fp/floattidf.c: Likewise.
3176 * soft-fp/floattisf.c: Likewise.
3177 * soft-fp/floattitf.c: Likewise.
3178 * soft-fp/floatuntidf.c: Likewise.
3179 * soft-fp/floatuntisf.c: Likewise.
3180 * soft-fp/floatuntitf.c: Likewise.
3181 * soft-fp/trunctfxf2.c: Likewise.
3183 2013-10-10 David S. Miller <davem@davemloft.net>
3185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3187 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3189 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3190 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3191 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3198 for NaNs before doing comparisons on argument.
3199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3202 2013-10-10 Will Newton <will.newton@linaro.org>
3204 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3205 passed to _int_memalign does not overflow.
3207 2013-10-10 Torvald Riegel <triegel@redhat.com>
3209 * scripts/bench.pl: Add include-sources directive.
3210 * benchtests/README: Update documentation.
3212 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3214 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3215 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3216 instead of FP_INIT_ROUNDMODE.
3217 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3218 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3221 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3222 copy class of input value.
3223 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3224 not handle exceptions.
3225 * soft-fp/negsf2.c (__negsf2): Likewise.
3226 * soft-fp/negtf2.c (__negtf2): Likewise.
3227 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3229 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3231 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3232 semicolon. From Linux kernel.
3234 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3236 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3238 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3241 * manual/socket.texi: Added statement about buffer
3242 for gethostbyname2_r.
3244 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3246 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3247 Use .p2align directive instead, throughout.
3248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3249 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3250 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3251 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3253 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3254 * sysdeps/x86_64/strchr.S: Likewise.
3255 * sysdeps/x86_64/strrchr.S: Likewise.
3257 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3259 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3261 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3263 * sysdeps/generic/math_private.h (__mpsin1): Remove
3265 (__mpcos1): Likewise.
3266 (__mpsin): New argument __range_reduce.
3267 (__mpcos): Likewise.
3268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3269 (slow): Use __mpsin and __mpcos.
3276 (bsloww1): Likewise.
3277 (bsloww2): Likewise.
3280 (csloww1): Likewise.
3281 (csloww2): Likewise.
3282 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3283 range_reduce. Merge in __mpsin1.
3284 (__mpcos): Likewise.
3286 (__mpcos1): Likewise.
3288 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3290 * locale/loadlocale.c (_nl_intern_locale_data): Use
3292 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3293 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3294 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3295 obstack data is appropriately aligned.
3296 (obstack_int32_grow_fast): Likewise.
3297 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3298 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3299 (add_locale_uint32_array): Likewise.
3301 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3303 * benchtests/Makefile: Remove ARGLIST and RET variables.
3304 ($(objpfx)bench-%.c): Pass only function name to the script.
3305 * benchtests/README: Update documentation.
3306 * benchtests/acos-inputs: Add new directives.
3307 * benchtests/acosh-inputs: Likewise.
3308 * benchtests/asin-inputs: Likewise.
3309 * benchtests/asinh-inputs: Likewise.
3310 * benchtests/atan-inputs: Likewise.
3311 * benchtests/atanh-inputs: Likewise.
3312 * benchtests/cos-inputs: Likewise.
3313 * benchtests/cosh-inputs: Likewise.
3314 * benchtests/exp-inputs: Likewise.
3315 * benchtests/log-inputs: Likewise.
3316 * benchtests/pow-inputs: Likewise.
3317 * benchtests/rint-inputs: Likewise.
3318 * benchtests/sin-inputs: Likewise.
3319 * benchtests/sinh-inputs: Likewise.
3320 * benchtests/tan-inputs: Likewise.
3321 * benchtests/tanh-inputs: Likewise.
3322 * scripts/bench.pl: Add support for new directives.
3324 2013-10-07 Alan Modra <amodra@gmail.com>
3326 * README: Fix careless merge.
3328 2013-10-05 Alan Modra <amodra@gmail.com>
3330 * NEWS: Mention powerpc64le support and bugs fixed.
3331 * README: Both big-endian and little-endian powerpc64 supported.
3333 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3335 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3336 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3337 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3338 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3340 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3342 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3345 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3347 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3348 Move -mhard-float appending from
3349 ports/sysdeps/powerpc/powerpc32/Makefile.
3350 [$(with-fp) = yes] (ASFLAGS): Likewise.
3351 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3352 * sysdeps/powerpc/nofpu: Move directory from
3353 ports/sysdeps/powerpc/nofpu.
3354 * sysdeps/powerpc/soft-fp: Move directory from
3355 ports/sysdeps/powerpc/soft-fp.
3356 * sysdeps/powerpc/powerpc32/405: Move directory from
3357 ports/sysdeps/powerpc/powerpc32/405.
3358 * sysdeps/powerpc/powerpc32/440: Move directory from
3359 ports/sysdeps/powerpc/powerpc32/440.
3360 * sysdeps/powerpc/powerpc32/464: Move directory from
3361 ports/sysdeps/powerpc/powerpc32/464.
3362 * sysdeps/powerpc/powerpc32/476: Move directory from
3363 ports/sysdeps/powerpc/powerpc32/476.
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3365 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3367 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3369 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3371 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3373 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3374 * README: Update for powerpc-*-linux-gnu software floating point
3377 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3378 case to powerpc/powerpc32*.
3379 * sysdeps/unix/sysv/linux/configure: Regenerated.
3381 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3382 (_FPU_MASK_OM): Define as 0x04.
3383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3391 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3394 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3397 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3398 and setcontext_e500.
3400 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3402 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3404 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3406 * manual/threads.texi (Default Thread Attributes): Fix typo.
3408 2013-10-04 Will Newton <will.newton@linaro.org>
3410 * malloc/Makefile: Add tst-memalign.
3411 * malloc/tst-memalign.c: New file.
3413 * malloc/tst-posix_memalign.c: Add comments.
3414 (do_test): Add comments and call free on all potentially
3415 allocated pointers. Add space after cast.
3417 * malloc/tst-pvalloc.c: Add comments.
3418 (do_test): Add comments and call free on all potentially
3419 allocated pointers. Remove duplicate check for NULL pointer.
3420 Add space after cast.
3422 * malloc/tst-valloc.c: Add comments.
3423 (do_test): Add comments and call free on all potentially
3424 allocated pointers. Remove duplicate check for NULL pointer.
3425 Add space after cast.
3427 2013-10-04 Alan Modra <amodra@gmail.com>
3429 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3430 Use stdint types in rather than __attribute__((mode())).
3431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3433 2013-10-04 Alan Modra <amodra@gmail.com>
3435 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3436 Correct handling of unaligned relocs for little-endian.
3437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3439 2013-10-04 Alan Modra <amodra@gmail.com>
3441 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3442 * configure: Regenerate.
3443 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3444 * shlib-versions: Likewise.
3446 2013-10-04 Alan Modra <amodra@gmail.com>
3448 * string/tester.c (test_memrchr): Increment reported test cycle.
3450 2013-10-04 Alan Modra <amodra@gmail.com>
3452 * string/test-memcpy.c (do_one_test): When reporting errors, print
3453 string address and don't overrun end of string.
3455 2013-10-04 Alan Modra <amodra@gmail.com>
3457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3458 insrdi. Make better use of reg selection to speed exit slightly.
3459 Schedule entry path a little better. Remove useless "are we done"
3460 checks on entry to main loop. Handle wrapping around zero address.
3461 Correct main loop count. Handle single left-over word from main
3462 loop inline rather than by using loop_small. Remove extra word
3463 case in loop_small caused by wrong loop count. Add little-endian
3465 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3468 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3469 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3470 support. Avoid rlwimi.
3471 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3473 2013-10-04 Alan Modra <amodra@gmail.com>
3475 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3477 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3478 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3479 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3480 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3481 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3482 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3484 2013-10-04 Alan Modra <amodra@gmail.com>
3486 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3489 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3490 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3492 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3493 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3494 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3495 use of regs. Use power7 mtocrf. Tidy function tails.
3497 2013-10-04 Alan Modra <amodra@gmail.com>
3499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3500 Formatting. Consistently use rXXX register defines or rN defines.
3501 Use early exit labels that avoid restoring unused non-volatile regs.
3502 Make cr field use more consistent with rWORDn compares. Rename
3503 regs used as shift registers for unaligned loop, using rN defines
3504 for short lifetime/multiple use regs.
3505 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3506 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3507 addi 1,1,64 to pop stack frame. Simplify return value code.
3508 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3510 2013-10-04 Alan Modra <amodra@gmail.com>
3512 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3513 support. Correct typos, formatting. Optimize tail. Use insrdi
3515 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3516 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3517 little-endian support. Correct typos.
3518 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3520 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3521 in loop and entry code to keep "and." results.
3522 (strchr): Add little-endian support. Comment. Move cntlzd
3524 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3526 2013-10-04 Alan Modra <amodra@gmail.com>
3528 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3529 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3530 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3531 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3533 2013-10-04 Alan Modra <amodra@gmail.com>
3535 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3536 (rTMP): Define as r11.
3537 (strcmp): Add little-endian support. Optimise tail.
3538 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3540 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3544 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3546 2013-10-04 Alan Modra <amodra@gmail.com>
3548 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3549 little-endian support. Remove unnecessary "are we done" tests.
3550 Handle "s" wrapping around zero and extremely large "size".
3551 Correct main loop count. Handle single left-over word from main
3552 loop inline rather than by using small_loop. Correct comments.
3553 Delete "zero" tail, use "end_max" instead.
3554 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3556 2013-10-04 Alan Modra <amodra@gmail.com>
3558 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3559 support. Don't branch over align.
3560 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3561 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3562 support. Rearrange tmp reg use to suit. Comment.
3563 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3565 2013-10-04 Alan Modra <amodra@gmail.com>
3567 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3569 2013-10-04 Alan Modra <amodra@gmail.com>
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3572 conditional form of branch and link when obtaining pc.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3575 2013-10-04 Alan Modra <amodra@gmail.com>
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3582 2013-10-04 Alan Modra <amodra@gmail.com>
3584 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3585 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3586 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3590 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3591 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3592 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3593 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3595 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3596 Alistair Popple <alistair@ozlabs.au.ibm.com>
3597 Alan Modra <amodra@gmail.com>
3600 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3602 _dl_hwcap access for little-endian.
3603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3604 destroy vmx regs when saving unaligned.
3605 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3607 destroy vmx regs when saving unaligned.
3609 2013-10-04 Alan Modra <amodra@gmail.com>
3611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3612 Don't use a union to pack hi/low value.
3614 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3616 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3618 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3620 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3621 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3622 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3624 2013-10-04 Alan Modra <amodra@gmail.com>
3626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3627 constants to usual value for .cst8 section, and remove redundant
3629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3630 constant for 0x1p52. Load little-endian words of double from
3631 correct stack offsets.
3633 2013-10-04 Alan Modra <amodra@gmail.com>
3635 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3636 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3637 words of double from correct stack offsets.
3638 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3639 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3640 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3641 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3645 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3646 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3650 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3651 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3652 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3653 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3654 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3656 2013-10-04 Alan Modra <amodra@gmail.com>
3658 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3659 64-bit int/double union.
3660 (_FPU_SETCW): Likewise.
3661 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3662 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3664 2013-10-04 Alan Modra <amodra@gmail.com>
3666 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3667 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3669 2013-10-04 Alan Modra <amodra@gmail.com>
3671 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3672 use vector int constants.
3673 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3675 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3677 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3678 array with long long.
3679 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3680 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3681 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3682 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3683 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3684 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3685 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3686 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3687 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3688 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3689 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3690 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3693 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3695 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3696 (__signbit): Likewise. Correct for little-endian.
3697 (__signbitl): Call __signbit.
3698 (lrint): Correct for little-endian.
3699 (lrintf): Call lrint.
3701 2013-10-04 Alan Modra <amodra@gmail.com>
3703 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3704 union 32-bit int array member with 64-bit int array.
3705 (t515, tm256): Double rather than long double.
3706 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3708 2013-10-04 Alan Modra <amodra@gmail.com>
3710 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3712 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3713 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3714 version of math_ldbl.h.
3716 2013-10-04 Alan Modra <amodra@gmail.com>
3718 [BZ #15734], [BZ #15735]
3719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3720 all uses of ieee875 long double macros and unions. Simplify test
3721 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3722 ldbl_extract_mantissa value for ix,iy exponents. Properly
3723 normalize after ldbl_extract_mantissa, and don't add hidden bit
3724 already handled. Don't treat low word of ieee854 mantissa like
3725 low word of IBM long double and mask off bit when testing for
3727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3728 all uses of ieee875 long double macros and unions. Simplify tests
3729 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3730 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3731 two1022, instead use their values. Recognise that tests for large
3732 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3733 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3734 Rewrite all uses of ieee875 long double macros and unions. Simplify
3735 test for 0.0L and nan. Correct negation.
3736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3737 ieee875 long double macros and unions. Correct output for large
3738 magnitude x. Correct absolute value calculation.
3739 (__erfcl): Likewise.
3740 * math/libm-test.inc: Add tests for errors discovered in IBM long
3741 double versions of fmodl, remainderl, erfl and erfcl.
3743 2013-10-04 Alan Modra <amodra@gmail.com>
3745 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3746 all uses of ieee854 long double macros and unions. Simplify tests
3747 for long doubles that are fully specified by the high double.
3748 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3750 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3751 Remove dead code too.
3752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3753 (__ieee754_ynl): Likewise.
3754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3755 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3757 Remove dead code too.
3758 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3768 Comment on variable precision.
3769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3772 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3776 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3778 2013-10-04 Alan Modra <amodra@gmail.com>
3780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3781 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3782 all uses of ieee854 long double macros and unions.
3783 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3784 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3786 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3794 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3795 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3796 Simplify sign and nan test too.
3797 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3798 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3799 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3802 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3803 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3805 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3806 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3807 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3808 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3809 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3812 2013-10-04 Alan Modra <amodra@gmail.com>
3814 * stdio-common/printf_size.c (__printf_size): Don't use
3815 union ieee854_long_double in fpnum union.
3816 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3817 signbit macro to retrieve sign from long double.
3818 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3819 retrieve sign from long double.
3820 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3821 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3822 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3823 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3824 * math/test-misc.c (main): Don't use union ieee854_long_double.
3826 2013-10-04 Alan Modra <amodra@gmail.com>
3829 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3830 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3831 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3832 calculation. Remove unnecessary test for denormal exponent.
3833 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3834 Correct handling of denormals. Avoid undefined shift behaviour.
3835 Correct normalisation of low mantissa when low double is denormal.
3836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3837 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3838 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3839 Correct normalisation of low mantissa. Test for overflow of high
3840 mantissa and normalise.
3841 (ldbl_nearbyint): Use more readable constant for two52.
3842 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3843 (__mpn_construct_long_double): Fix test for overflow of high
3844 mantissa and correct normalisation. Avoid undefined shift.
3846 2013-10-04 Alan Modra <amodra@gmail.com>
3848 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3849 (union ibm_extended_long_double): Define as an array of ieee754_double.
3850 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3851 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3852 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3853 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3862 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3864 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3865 page size instead of calling getpagesize.
3867 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3868 (LOCFILE_ALIGN_MASK): Likewise.
3869 (LOCFILE_ALIGN_UP): Likewise.
3870 (LOCFILE_ALIGNED_P): Likewise.
3871 * locale/programs/ld-collate.c (collate_output): Use the new
3872 macros instead of __alignof__ (int32_t).
3873 * locale/weight.h (findidx): Likewise.
3875 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3878 * manual/string.texi: Fix strncat and wcsncat.
3880 2013-10-03 Brooks Moses <bmoses@google.com>
3883 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3884 * Makerules: ...here, and adjust associated comments.
3886 2013-10-02 Will Newton <will.newton@linaro.org>
3888 * malloc/Makefile: Add tst-pvalloc.
3889 * malloc/tst-pvalloc.c: New file.
3891 2013-10-02 Will Newton <will.newton@linaro.org>
3893 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3894 improve test coverage.
3896 2013-10-02 Will Newton <will.newton@linaro.org>
3898 * malloc/Makefile: Add tst-posix_memalign.
3899 * malloc/tst-posix_memalign.c: New file.
3901 2013-10-01 Eric Blake <eblake@redhat.com>
3903 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3904 Use __THROWNL rather than __THROW on static functions.
3906 2013-09-30 Petr Machata <pmachata@redhat.com>
3908 * elf/elf.h (R_AARCH64_ABS16): New macro.
3909 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3910 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3911 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3912 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3913 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3914 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3915 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3916 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3917 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3918 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3919 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3920 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3921 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3922 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3923 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3924 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3925 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3926 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3927 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3928 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3929 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3930 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3931 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3932 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3933 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3934 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3935 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3936 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3937 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3938 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3939 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3940 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3941 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3942 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3943 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3944 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3945 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3946 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3947 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3948 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3949 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3950 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3951 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3952 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3953 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3954 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3955 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3956 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3957 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3958 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3959 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3960 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3961 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3962 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3963 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3964 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3965 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3966 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3967 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3968 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3969 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3970 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3971 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3972 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3973 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3974 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3975 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3976 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3977 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3978 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3979 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3980 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3981 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3982 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3983 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3984 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3985 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3986 (R_AARCH64_TLSDESC_LDR): Likewise.
3987 (R_AARCH64_TLSDESC_ADD): Likewise.
3988 (R_AARCH64_TLSDESC_CALL): Likewise.
3990 2013-09-30 Andreas Schwab <schwab@suse.de>
3993 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3994 the nss database lookup.
3995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3998 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4000 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4002 2013-09-28 P. J. McDermott <pj@pehjota.net>
4004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4005 ${Bash-specific parameter/pattern/string} parameter expansion.
4006 * sysdeps/unix/make-syscalls.sh: Likewise.
4008 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4010 * sysdeps/sh/stackguard-macros.h: New file.
4012 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4016 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4017 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4018 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4019 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4021 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4023 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4024 Fix thread ID register.
4026 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4028 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4029 [POSIX || UNIX98]: Require rather than permitting all symbols from
4031 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4032 element of struct sched_param.
4033 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4034 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4035 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4036 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4039 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4041 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4042 argument calculation.
4044 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4046 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4048 [POSIX] (pthread_attr_t): Do not require type.
4049 [POSIX] (pthread_cond_t): Likewise.
4050 [POSIX] (pthread_condattr_t): Likewise.
4051 [POSIX] (pthread_key_t): Likewise.
4052 [POSIX] (pthread_mutex_t): Likewise.
4053 [POSIX] (pthread_mutexattr_t): Likewise.
4054 [POSIX] (pthread_once_t): Likewise.
4055 [POSIX] (pthread_t): Likewise.
4056 [POSIX-based standards] (pthread_atfork): Expect function.
4058 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4059 Richard Sandiford <richard@codesourcery.com>
4061 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4062 (swap_endianness_p): New extern variable.
4063 (set_big_endian): New inline function.
4064 (maybe_swap_uint32): Likewise.
4065 (maybe_swap_uint32_array): Likewise.
4066 (maybe_swap_uint32_obstack): Likewise.
4067 * locale/programs/locfile.c: Include <stdbool.h>.
4068 (swap_endianness_p): New variable.
4069 (add_locale_uint32): Call maybe_swap_uint32.
4070 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4071 (write_locale_data): Call maybe_swap_uint32_array.
4072 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4074 (obstack_int32_grow_fast): Likewise.
4075 (output_weightwc): Call maybe_swap_uint32_obstack.
4076 (collate_output): Likewise.
4077 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4078 (OPT_LITTLE_ENDIAN): Likewise.
4079 (options): Add --little-endian and --big-endian options.
4080 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4081 * locale/programs/locarchive.c: Include "locfile.h".
4085 (create_archive): Use the new macros to access fields of
4086 structures directly mapped from or written to locale archives.
4087 (oldlocrecentcmp): Likewise.
4088 (enlarge_archive): Likewise.
4089 (insert_name): Likewise.
4090 (add_alias): Likewise.
4091 (add_locale): Likewise.
4092 (delete_locales_from_archive): Likewise.
4093 (show_archive_content): Likewise.
4094 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4097 2013-09-24 Roland McGrath <roland@hack.frob.com>
4099 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4100 http://www.gnu.org/doc/freemanuals.texi.
4101 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4103 2013-09-24 Will Newton <will.newton@linaro.org>
4105 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4108 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4110 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4113 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4115 * manual/threads.texi (POSIX Threads): Fix a typo.
4117 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4120 * string/tst-strcoll-overflow.c: New test case.
4121 * string/Makefile (xtests): Add tst-strcoll-overflow.
4122 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4123 cache if string sizes may cause integer overflow.
4126 * string/strcoll_l.c (coll_seq): New members rule, idx,
4127 save_idx and back_us.
4128 (get_next_seq_nocache): New function.
4129 (do_compare_nocache): New function.
4130 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4133 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4136 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4137 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4138 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4141 * elf/Makefile (tests): Add tst-ptrguard1.
4142 (tests-static): Add tst-ptrguard1-static.
4143 (tst-ptrguard1-ARGS): Define.
4144 (tst-ptrguard1-static-ARGS): Define.
4145 * elf/tst-ptrguard1.c: New file.
4146 * elf/tst-ptrguard1-static.c: New file.
4147 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4148 * sysdeps/i386/stackguard-macros.h: Likewise.
4149 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4150 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4151 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4152 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4153 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4154 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4156 2013-09-23 Hector Marco <hecmargi@upv.es>
4157 Ismael Ripoll <iripoll@disca.upv.es>
4158 Carlos O'Donell <carlos@redhat.com>
4161 * sysdeps/generic/stackguard-macros.h: Define
4162 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4163 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4164 Define __pointer_chk_guard_local.
4165 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4166 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4168 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4171 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4173 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4175 * include/string.h (__ffs): Declare as hidden.
4176 * string/ffs.c (__ffs): Define as hidden.
4177 * sysdeps/i386/ffs.c (__ffs): Likewise.
4178 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4179 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4180 * sysdeps/s390/ffs.c (__ffs): Likewise.
4181 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4183 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4185 * NEWS: Mention malloc probes.
4187 * malloc/arena.c (new_heap): New memory_heap_new probe.
4188 (grow_heap): New memory_heap_more probe.
4189 (shrink_heap): New memory_heap_less probe.
4190 (heap_trim): New memory_heap_free probe.
4191 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4192 (systrim): New memory_sbrk_less probe.
4193 * manual/probes.texi: Document them.
4195 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4196 * manual/probes.texi: Document it.
4198 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4199 (__libc_realloc): Add memory_realloc_retry probe.
4200 (__libc_memalign): Add memory_memalign_retry probe.
4201 (__libc_valloc): Add memory_valloc_retry probe.
4202 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4203 (__libc_calloc): Add memory_calloc_retry probe.
4204 * manual/probes.texi: Document them.
4206 * malloc/arena.c (get_free_list): Add probe
4207 memory_arena_reuse_free_list.
4208 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4209 and memory_arena_reuse.
4210 (arena_get2) [!PER_THREAD]: Likewise.
4211 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4212 memory_arena_reuse_realloc.
4213 * manual/probes.texi: Document them.
4215 * malloc/malloc.c (__libc_free): Add
4216 memory_mallopt_free_dyn_thresholds probe.
4217 (__libc_mallopt): Add multiple memory_mallopt probes.
4218 * manual/probes.texi: Document them.
4220 * malloc/malloc.c: Include stap-probe.h.
4221 (__libc_mallopt): Add memory_mallopt probe.
4222 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4223 * manual/probes.texi: New.
4224 * manual/Makefile (chapters): Add probes.
4225 * manual/threads.texi: Set next node.
4227 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4230 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4231 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4232 Add `Chinese' to `nan' entry name.
4234 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4236 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4237 (POLYNOMIAL): Likewise.
4238 (TAYLOR_SINCOS): Likewise.
4239 (TAYLOR_SLOW): Likewise.
4240 (__sin): Use TAYLOR_SINCOS.
4242 (slow): Use TAYLOR_SLOW.
4247 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4249 * stdlib/strtod_l.c: Fix buffer overrun.
4251 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4253 * benchtests/Makefile (bench): Add sincos.
4254 * benchtests/bench-sincos.c: New file.
4256 * math/libm-test.inc (cos_test_data): New test inputs.
4257 (sin_test_data): Likewise.
4259 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4267 (bsloww1): Likewise.
4268 (bsloww2): Likewise.
4270 (csloww1): Likewise.
4271 (csloww2): Likewise.
4273 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4282 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4284 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4285 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4286 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4287 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4288 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4289 * elf/cache.c (print_entry): Handle the new cache flags.
4291 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4292 Aldy Hernandez <aldyh@redhat.com>
4294 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4295 Change condition to [_SOFT_FLOAT].
4296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4308 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4311 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4314 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4316 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4317 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4318 (__longjmp): Use LOAD_GP to load saved GPRs.
4319 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4320 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4321 (__sigsetjmp): Use SAVE_GP to save GPRs.
4323 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4324 Do not append -msoft-float.
4325 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4327 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4329 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4331 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4334 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4335 (_FPU_GETCW): Use initial "__" on variable and field names but not
4336 on macro parameter name.
4337 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4338 parentheses around reference to macro parameter.
4340 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4342 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4344 (ctype_startup): Use uint32_t in cast and sizeof for
4347 2013-09-11 Jia Liu <proljc@gmail.com>
4349 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4351 [__FreeBSD__]: Likewise.
4353 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4356 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4357 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4358 (strchr): Remove __strchr_sse42 ifunc selection.
4359 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4360 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4362 2013-09-11 Will Newton <will.newton@linaro.org>
4364 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4365 parameter to RES. Remove hardcoded 1000 value.
4366 * benchtests/bench-skeleton.c (main): Pass RES parameter
4367 to TIMING_INIT and multiply result by 1000.
4369 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4373 2013-09-11 Andreas Schwab <schwab@suse.de>
4375 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4377 (O_TMPFILE) [__USE_GNU]: Define.
4378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4381 2013-09-11 Will Newton <will.newton@linaro.org>
4384 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4387 2013-09-11 Will Newton <will.newton@linaro.org>
4390 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4393 2013-09-11 Will Newton <will.newton@linaro.org>
4396 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4399 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4401 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4407 2013-09-10 Allan McRae <allan@archlinux.org>
4410 * manual/arith.texi (Parsing of Floats): Clarify
4414 * manual/install.texi (Running make install): Mention
4416 * INSTALL: Regenerated.
4418 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4420 * csu/init-first.c (_init): Remove the !SHARED condition around
4421 FPU control word initialization.
4422 * elf/dl-support.c (_dl_fpu_control): New variable.
4423 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4424 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4425 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4426 * math/test-fpucw-static.c: New file.
4427 * math/test-fpucw-ieee.c: New file.
4428 * math/test-fpucw-ieee-static.c: New file.
4429 * math/Makefile (tests): Add `test-fpucw-ieee' and
4431 (tests-static): New variable.
4432 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4434 [($(build-shared),yes)]
4435 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4437 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4440 2013-09-09 Allan McRae <allan@archlinux.org>
4443 * manual/string.texi (Collation Functions): Fix typo in
4445 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4448 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4451 * libio/memstream.c (open_memstream): Fix memory leak.
4452 * libio/wmemstream.c (open_wmemstream): Likewise.
4455 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4457 2013-09-09 Will Newton <will.newton@linaro.org>
4459 * malloc/Makefile: Add tst-realloc to tests.
4460 * malloc/tst-realloc.c: New file.
4462 2013-09-09 Allan McRae <allan@archlinux.org>
4465 * COPYING: Update from GNU website to fix FSF address.
4466 * COPYING.LIB: Likewise.
4468 2013-09-06 David S. Miller <davem@davemloft.net>
4470 * po/zh_TW.po: Update Chinese (traditional) translation from
4471 translation project.
4473 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4474 Joseph Myers <joseph@codesourcery.com>
4476 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4478 (obstack_chunk_alloc): New macro.
4479 (obstack_chunk_free): Likewise.
4480 (record_offset): New function.
4481 (init_locale_data): Likewise.
4482 (align_locale_data): Likewise.
4483 (add_locale_empty): Likewise.
4484 (add_locale_raw_data): Likewise.
4485 (add_locale_raw_obstack): Likewise.
4486 (add_locale_string): Likewise.
4487 (add_locale_wstring): Likewise.
4488 (add_locale_uint32): Likewise.
4489 (add_locale_uint32_array): Likewise.
4490 (add_locale_char): Likewise.
4491 (start_locale_structure): Likewise.
4492 (end_locale_structure): Likewise.
4493 (start_locale_prelude): Likewise.
4494 (end_locale_prelude): Likewise.
4495 (write_locale_data): Take locale_file structure rather than an
4497 * locale/programs/locfile.h: Include "obstack.h".
4498 (struct locale_file): Change to store locale file contents instead
4500 (init_locale_data): New prototype.
4501 (align_locale_data): Likewise.
4502 (add_locale_empty): Likewise.
4503 (add_locale_raw_data): Likewise.
4504 (add_locale_raw_obstack): Likewise.
4505 (add_locale_string): Likewise.
4506 (add_locale_wstring): Likewise.
4507 (add_locale_uint32): Likewise.
4508 (add_locale_uint32_array): Likewise.
4509 (add_locale_char): Likewise.
4510 (start_locale_structure): Likewise.
4511 (end_locale_structure): Likewise.
4512 (start_locale_prelude): Likewise.
4513 (end_locale_prelude): Likewise.
4514 (write_locale_data): Update prototype.
4515 * locale/programs/3level.h (struct TABLE): Remove result field.
4516 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4517 Use new locale_file interface.
4518 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4519 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4520 * locale/programs/ld-address.c (address_output): Use new
4521 locale_file interface.
4522 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4524 (collate_finish): Don't call collseq_table_finalize.
4525 (collate_output): Use new locale_file interface.
4526 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4528 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4529 (TABLE): Move defines earlier in file.
4530 (ELEMENT): Likewise.
4531 (DEFAULT): Likewise.
4532 (wctrans_table_add): Move macro and inline function earlier in
4534 (struct wctype_table): Move type earlier in file.
4535 (add_locale_wctype_table): New static prototype.
4536 (struct locale_ctype_t): Use logical types instead of struct iovec
4537 pointers for members.
4538 (ctype_output): Use new locale_file interface.
4539 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4540 new locale_file interface.
4541 (allocate_arrays): Update for use of new locale_file interface.
4542 * locale/programs/ld-identification.c (identification_output): Use
4543 new locale_file interface.
4544 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4545 * locale/programs/ld-messages.c (messages_output): Likewise.
4546 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4547 * locale/programs/ld-name.c (name_output): Likewise.
4548 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4549 * locale/programs/ld-paper.c (paper_output): Likewise.
4550 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4551 * locale/programs/ld-time.c (time_output): Likewise.
4553 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4555 * benchtests/Makefile: Add memrchr benchmark.
4556 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4557 benchmark as memrchr.
4558 * benchtests/bench-memrchr-ifunc.c: New file.
4559 * benchtests/bench-memrchr.c: New file.
4561 2013-09-06 Will Newton <will.newton@linaro.org>
4563 * benchtests/Makefile (string-bench): Add memcpy.
4565 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4566 Cong Wang <amwang@redhat.com>
4568 * sysdeps/unix/sysv/linux/bits/in.h
4569 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4570 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4571 before __USE_KERNEL_IPV6_DEFS uses.
4572 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4574 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4575 sockaddr_in6, or ipv6_mreq.
4577 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4579 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4580 memory access for final bytes in some large inputs.
4581 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4583 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4585 * string/test-memrchr.c: New file.
4586 * string/test-memrchr-ifunc.c: New file.
4587 * string/Makefile: Add new memrchr testcase.
4589 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4591 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4592 fanotify_init returns EPERM.
4594 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4596 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4598 (top level): Treat second token from macro or constant entries for
4599 allowed headers as allowed.
4600 * include/complex.h: Condition internal declarations on
4602 * include/fenv.h: Condition include of <stdbool.h> and internal
4603 declarations on [!_ISOMAC].
4605 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4608 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4610 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4612 * configure.in (--enable-versioning): Remove configure option.
4613 (libc_cv_asm_symver_directive): Remove configure test.
4614 (libc_cv_ld_version_script_option): Likewise.
4615 (VERSIONING): Remove variable and AC_SUBST.
4616 (DO_VERSIONING): Remove AC_DEFINE.
4617 * configure: Regenerated.
4618 * config.h.in (DO_VERSIONING): Remove macro.
4619 * Makerules [$(versioning) = yes]: Change conditionals to
4620 [$(build-shared) = yes].
4621 * config.make.in (versioning): Remove variable.
4622 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4623 [$(build-shared) = yes].
4624 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4625 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4626 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4627 [$(build-shared) = yes].
4628 * extra-lib.mk [$(versioning) = yes]: Likewise.
4629 * hurd/Makefile [$(versioning) = yes]: Likewise.
4630 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4632 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4634 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4635 [SHARED && !NO_HIDDEN].
4636 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4638 [SHARED && DO_VERSIONING]: Likewise..
4639 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4640 [$(build-shared) = yes].
4641 * manual/install.texi (--disable-versioning): Remove
4643 * INSTALL: Regenerated.
4644 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4646 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4647 [$(build-shared) = yes].
4648 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4649 * sysdeps/i386/i686/multiarch/strstr-c.c
4650 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4651 [SHARED && !NO_HIDDEN].
4652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4653 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4654 * sysdeps/powerpc/powerpc32/dl-machine.c
4655 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4656 * sysdeps/powerpc/powerpc32/sysdep.h
4657 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4658 to [SHARED && PIC && !NO_HIDDEN].
4659 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4660 conditional to [SHARED].
4662 2013-09-04 Will Newton <will.newton@linaro.org>
4664 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4665 * benchtests/bench-string.h: Include bench-timing.h instead
4666 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4667 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4668 call to HP_TIMING_DIFF_INIT.
4669 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4670 instead of hp-timing.h macros.
4671 * benchtests/bench-memchr.c: Likewise.
4672 * benchtests/bench-memcmp.c: Likewise.
4673 * benchtests/bench-memcpy.c: Likewise.
4674 * benchtests/bench-memmem.c: Likewise.
4675 * benchtests/bench-memmove.c: Likewise.
4676 * benchtests/bench-memset.c: Likewise.
4677 * benchtests/bench-rawmemchr.c: Likewise.
4678 * benchtests/bench-strcasecmp.c: Likewise.
4679 * benchtests/bench-strcasestr.c: Likewise.
4680 * benchtests/bench-strcat.c: Likewise.
4681 * benchtests/bench-strchr.c: Likewise.
4682 * benchtests/bench-strcmp.c: Likewise.
4683 * benchtests/bench-strcpy.c: Likewise.
4684 * benchtests/bench-strcpy_chk.c: Likewise.
4685 * benchtests/bench-strlen.c: Likewise.
4686 * benchtests/bench-strncasecmp.c: Likewise.
4687 * benchtests/bench-strncat.c: Likewise.
4688 * benchtests/bench-strncmp.c: Likewise.
4689 * benchtests/bench-strncpy.c: Likewise.
4690 * benchtests/bench-strnlen.c: Likewise.
4691 * benchtests/bench-strpbrk.c: Likewise.
4692 * benchtests/bench-strrchr.c: Likewise.
4693 * benchtests/bench-strspn.c: Likewise.
4694 * benchtests/bench-strstr.c: Likewise.
4696 2013-09-04 Will Newton <will.newton@linaro.org>
4698 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4700 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4703 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4704 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4705 * math/libm-test.inc (lgamma_test_data): Add more tests.
4706 * sysdeps/i386/fpu/libm-test-ulps: Update.
4707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4711 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4715 Add strcmp-sse2-unaligned
4716 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4718 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4720 * Versions.def (libc): Add GLIBC_2.19.
4722 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4724 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4725 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4727 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4730 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4731 intermediate calculations in recurrence.
4732 (__ieee754_ynf): Likewise.
4733 * math/libm-test.inc (jn_test_data): Do not allow spurious
4734 underflow exception. Add more tests.
4735 (yn_test_data): Add more tests.
4736 * sysdeps/i386/fpu/libm-test-ulps: Update.
4737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4743 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4745 * csu/init-first.c: Fix then/than typos.
4746 * locale/programs/ld-collate.c: Likewise.
4747 * locale/programs/linereader.h: Likewise.
4748 * manual/charset.texi: Likewise.
4749 * manual/filesys.texi: Likewise.
4750 * manual/stdio.texi: Likewise.
4751 * manual/string.texi: Likewise.
4752 * stdlib/fmtmsg.c: Likewise.
4753 * sysdeps/i386/stpncpy.S: Likewise.
4754 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4755 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4756 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4757 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4759 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4761 * elf/dl-open.c: Fix typos.
4762 * iconvdata/gbbig5.c: Likewise.
4763 * iconvdata/iso-2022-jp.c: Likewise.
4764 * iconv/gconv_int.h: Likewise.
4765 * iconv/loop.c: Likewise.
4766 * nis/rpcsvc/nis.h: Likewise.
4767 * resolv/ns_name.c: Likewise.
4768 * stdio-common/vfscanf.c: Likewise.
4769 * streams/stropts.h: Likewise.
4770 * sunrpc/rpc_thread.c: Likewise.
4771 * sysdeps/i386/strpbrk.S: Likewise.
4772 * sysdeps/ieee754/k_standard.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4775 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4776 * sysdeps/mach/hurd/profil.c: Likewise.
4777 * sysdeps/s390/dl-procinfo.h: Likewise.
4778 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4779 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4780 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4781 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4784 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4786 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4789 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4791 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4793 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4796 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4797 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4798 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4799 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4800 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4802 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4803 Roland McGrath <roland@hack.frob.com>
4805 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4806 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4808 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4810 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4811 __executable_start symbol instead of _start.
4813 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4815 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4816 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4818 * sysdeps/gnu/ldsodefs.h: ... this new file.
4820 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4821 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4822 instead of ELFOSABI_LINUX.
4824 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4825 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4826 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4827 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4829 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4830 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4833 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4834 (ibm_extended_long_double): Add ieee_nan member.
4835 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4836 (do_test): New function.
4838 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4840 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4841 functions, renamed from truncdfsf_test, trunctfsf_test,
4843 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4845 (do_test): Run all these.
4847 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4849 * argp/argp-help.c: Fix typos.
4850 * argp/argp-parse.c: Likewise.
4851 * debug/backtracesyms.c: Likewise.
4852 * elf/elf.h: Likewise.
4853 * malloc/malloc.c: Likewise.
4854 * nis/nis_print.c: Likewise.
4855 * resolv/res_comp.c: Likewise.
4856 * stdlib/stdlib.h: Likewise.
4857 * sunrpc/clnt_tcp.c: Likewise.
4858 * sunrpc/clnt_udp.c: Likewise.
4859 * sunrpc/clnt_unix.c: Likewise.
4860 * sysdeps/unix/bsd/ptsname.c: Likewise.
4861 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4869 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4871 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4873 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4876 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4879 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4880 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4881 ($(objpfx)bug-dl-leaf): New rule.
4882 ($(objpfx)bug-dl-leaf.so): Likewise.
4883 ($(objpfx)bug-dl-leaf.out): Likewise.
4884 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4885 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4886 * dlfcn/bug-dl-leaf.c: New test.
4887 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4888 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4889 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4890 (dlclose): Likewise.
4891 (dlmopen): Likewise.
4893 2013-08-27 Roland McGrath <roland@hack.frob.com>
4895 * include/netdb.h [!_ISOMAC]:
4896 Don't include <tls.h>.
4897 (h_errno, __libc_h_errno): Move declaration and macros out of
4900 * include/resolv.h [_RESOLV_H_]:
4901 Don't include <tls.h>.
4902 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4903 * resolv/res_libc.c: Don't include <tls.h>.
4904 (_res): Use __attribute__ ((nocommon)) in place of
4905 __attribute__ ((section (".bss"))).
4907 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4908 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4910 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4912 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4913 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4915 * resolv/res_mkquery.c: Include <sys/time.h>.
4917 * inet/ifreq.c: Moved to ...
4918 * sysdeps/unix/ifreq.c: ... here.
4919 * inet/ifreq.c: New file, true stub version.
4921 * socket/sa_len.c: New file.
4922 * socket/Makefile (aux): Add it.
4923 * sysdeps/unix/sysv/linux/Makefile
4924 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4925 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4926 and #include <socket/sa_len.c>.
4927 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4928 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4930 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4931 * bits/socket.h: ... here.
4933 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4934 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4935 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4937 2013-08-27 Andreas Schwab <schwab@suse.de>
4940 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4941 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4942 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4943 * string/test-strcasecmp.c (test_main): Run tests in several
4945 * string/test-strncasecmp.c (test_main): Likewise.
4947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4948 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4949 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4951 (__strncasecmp_ssse3) [PIC]: Likewise.
4953 2013-08-26 Roland McGrath <roland@hack.frob.com>
4955 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4957 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4958 instead of explicitly declaring xdecrypt.
4959 * nis/nss_nis/nis-publickey.c: Likewise.
4961 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4964 * nscd/aicache.c: Include res_hconf.h.
4965 (addhstaiX): Initialize res_hconf.
4967 2013-08-26 Andreas Schwab <schwab@suse.de>
4969 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4970 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4972 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4974 * nscd/aicache.c (addhstaiX): Fix indentation.
4976 2013-08-25 Mike Frysinger <vapier@gentoo.org>
4978 * configure.ac: Quote $build_pt_chown test.
4979 * configure: Regenerated.
4981 2013-08-23 Joseph Myers <joseph@codesourcery.com>
4984 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4985 * math/s_cexpf.c (__cexpf): Likewise.
4986 * math/s_cexpl.c (__cexpl): Likewise.
4987 * math/libm-test.inc (cexp_test_data): Correct expected return
4988 value for NaN + i0. Add another test.
4990 2013-08-22 David S. Miller <davem@davemloft.net>
4992 * po/ca.po: Update Catalan translation from translation project.
4993 * po/uk.po: Add Ukrainian translations from translation project.
4995 2013-08-21 Joseph Myers <joseph@codesourcery.com>
4998 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4999 is infinite, not alongside NaN test.
5000 * math/s_fdimf.c (__fdimf): Likewise.
5001 * math/s_fdiml.c (__fdiml): Likewise.
5002 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5005 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5007 * argp/argp-help.c: Fix typos.
5008 * crypt/speeds.c: Likewise.
5009 * csu/check_fds.c: Likewise.
5010 * elf/dl-load.c: Likewise.
5011 * elf/dl-open.c: Likewise.
5012 * elf/reldep3.c: Likewise.
5013 * elf/reldep.c: Likewise.
5014 * elf/sprof.c: Likewise.
5015 * iconv/iconv_charmap.c: Likewise.
5016 * iconv/skeleton.c: Likewise.
5017 * iconv/strtab.c: Likewise.
5018 * io/lockf64.c: Likewise.
5019 * libio/libioP.h: Likewise.
5020 * resolv/gai_notify.c: Likewise.
5021 * resolv/ns_name.c: Likewise.
5022 * resolv/ns_samedomain.c: Likewise.
5023 * resolv/res_send.c: Likewise.
5024 * stdlib/random.c: Likewise.
5025 * sunrpc/rpc/xdr.h: Likewise.
5026 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5027 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5028 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5029 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5034 * sysdeps/mach/hurd/check_fds.c: Likewise.
5035 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5036 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5037 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5038 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5040 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5041 * sysdeps/pthread/aio_notify.c: Likewise.
5042 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5043 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5044 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5045 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5046 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5048 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5050 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5051 version if bit_Slow_SSE4_2 is set.
5052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5053 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5055 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5058 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5059 trampoline stack frame information.
5060 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5062 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5063 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5064 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5065 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5066 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5067 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5069 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5070 interrupting a syscall and set with option SA_SIGINFO.
5072 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5075 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5076 argument is infinite.
5077 * math/s_cprojf.c (__cprojf): Likewise.
5078 * math/s_cprojl.c (__cprojl): Likewise.
5079 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5080 * math/libm-test.inc (cproj_test_data): Add more tests.
5082 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5084 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5085 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5086 size. Use __ffs to determine corresponding shift.
5088 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5089 Roland McGrath <roland@hack.frob.com>
5091 * Makefile (INSTALL): Remove trailing blank lines from output of
5094 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5096 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5097 Align 32 bit compat elf_greg to 8 bytes.
5099 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5101 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5103 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5105 * string/strcoll_l.c (coll_seq): New structure.
5106 (get_next_seq_cached): New function.
5107 (get_next_seq): New function.
5108 (do_compare): New function.
5109 (STRCOLL): Use GNU style definition. Simplify implementation
5110 by using get_next_seq, get_next_seq_cached and do_compare.
5112 2013-08-16 Florian Weimer <fweimer@redhat.com>
5116 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5118 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5120 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5121 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5122 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5124 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5125 GETDENTS_64BIT_ALIGNED.
5126 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5127 * manual/filesys.texi (Reading/Closing Directory): Document
5128 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5130 * manual/conf.texi (Limits for Files): Add portability note to
5132 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5134 2013-08-13 Andreas Schwab <schwab@suse.de>
5137 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5139 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5140 LDBL_MAX_EXP >= 16384]: Add tests for it.
5142 2013-08-12 David S. Miller <davem@davemloft.net>
5144 * version.h (RELEASE): Set to "development".
5145 (VERSION): Set to "2.18.90".
5146 * NEWS: Add 2.19 section.
5148 2013-08-03 David S. Miller <davem@davemloft.net>
5150 * po/ko.po: Update Korean translation from translation project.
5152 2013-08-01 David S. Miller <davem@davemloft.net>
5154 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5155 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5158 2013-07-30 David S. Miller <davem@davemloft.net>
5160 * po/fr.po: Update French translation from translation project.
5162 2013-07-28 David S. Miller <davem@davemloft.net>
5164 * po/cs.po: Update Czech translation from translation project.
5166 * po/sv.po: Update Swedish translation from translation project.
5168 2013-07-27 David S. Miller <davem@davemloft.net>
5170 * po/eo.po: Update Esperanto translation from translation project.
5172 * po/vi.po: Update Vietnamese translation from translation project.
5174 * po/de.po: Update German translation from translation project.
5176 2013-07-26 David S. Miller <davem@davemloft.net>
5178 * po/bg.po: Update Bulgarian translation from translation project.
5180 * po/nl.po: Update Dutch translation from translation project.
5181 * po/pl.po: Update Polish translation from translation project.
5182 * po/ru.po: Update Russian translation from translation project.
5184 2013-07-24 David S. Miller <davem@davemloft.net>
5186 * po/libc.pot: Update.
5188 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5190 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5192 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5193 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5194 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5196 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5198 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5200 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5201 Andreas Schwab <schwab@suse.de>
5202 Roland McGrath <roland@hack.frob.com>
5203 Joseph Myers <joseph@codesourcery.com>
5204 Carlos O'Donell <carlos@redhat.com>
5207 * config.h.in: Define HAVE_PT_CHOWN.
5208 * config.make.in (build-pt-chown): New variable.
5209 * configure.in (--enable-pt_chown): New configure option.
5210 * configure: Regenerate.
5211 * login/Makefile: Include Makeconfig. Build pt_chown only if
5212 build-pt-chown is enabled.
5213 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5214 pt_chown to fix pty ownership.
5215 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5217 * manual/install.texi (Configuring and compiling): Mention
5218 --enable-pt_chown. Add @findex for grantpt.
5219 * INSTALL: Regenerate.
5221 2013-07-20 David S. Miller <davem@davemloft.net>
5223 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5224 difference between 32-bit and 64-bit.
5226 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5229 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5230 Avoid system header dependency with -ffreestanding.
5231 ($(objpfx)bits/syscall%d): Likewise.
5233 2013-07-13 David S. Miller <davem@davemloft.net>
5235 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5236 underflows from atanl/atan2l due to bug 15319.
5237 (casinh_test_data): Likewise.
5239 2013-07-07 David S. Miller <davem@davemloft.net>
5241 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5243 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5245 * sysdeps/i386/fpu/libm-test-ulps: Update.
5246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5248 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5250 * configure.in (--enable-lock-elision): Fix message text.
5251 * INSTALL: Regenerate.
5252 * configure: Regenerate.
5254 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5258 2013-07-03 Andreas Jaeger <aj@suse.de>
5260 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5262 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5263 (ptrace_peeksiginfo_args): Add.
5264 (__ptrace_peeksiginfo_flags): Add.
5265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5266 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5269 2013-07-03 Allan McRae <allan@archlinux.org>
5271 * sysdeps/i386/fpu/libm-test-ulps: Update.
5273 2013-07-02 David S. Miller <davem@davemloft.net>
5275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5277 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5281 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5283 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5286 2013-07-02 Andi Kleen <ak@linux.intel.com>
5288 * config.h.in (ENABLE_LOCK_ELISION): Add.
5289 * configure.in (--enable-lock-elision): Add option.
5290 * manual/install.texi: Document --enable lock elision.
5291 * configure: Regenerate
5292 * INSTALL: Regenerate.
5294 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5296 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5297 SSE4.2 strcasecmp for libc.a.
5298 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5300 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5303 * soft-fp/op-common.h (_FP_FMA): New macro.
5304 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5305 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5306 (_FP_MUL_MEAT_1_imm): ... here.
5307 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5308 (_FP_MUL_MEAT_1_wide): ... here.
5309 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5310 (_FP_MUL_MEAT_1_hard): ... here.
5311 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5312 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5313 (_FP_MUL_MEAT_2_wide): ... here.
5314 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5315 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5316 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5317 (_FP_MUL_MEAT_2_gmp): ... here.
5318 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5319 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5320 (_FP_MUL_MEAT_4_wide): ... here.
5321 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5322 (_FP_MUL_MEAT_4_gmp): ... here.
5323 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5324 (_FP_WFRACBITS_DW_S): Likewise.
5325 (_FP_WFRACXBITS_DW_S): Likewise.
5326 (_FP_HIGHBIT_DW_S): Likewise.
5327 (FP_FMA_S): Likewise.
5328 (_FP_FRAC_HIGH_DW_S): Likewise.
5329 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5330 (_FP_WFRACBITS_DW_D): Likewise.
5331 (_FP_WFRACXBITS_DW_D): Likewise.
5332 (_FP_HIGHBIT_DW_D): Likewise.
5333 (FP_FMA_D): Likewise.
5334 (_FP_FRAC_HIGH_DW_D): Likewise.
5335 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5336 (_FP_WFRACBITS_DW_E): Likewise.
5337 (_FP_WFRACXBITS_DW_E): Likewise.
5338 (_FP_HIGHBIT_DW_E): Likewise.
5339 (FP_FMA_E): Likewise.
5340 (_FP_FRAC_HIGH_DW_E): Likewise.
5341 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5342 (_FP_WFRACBITS_DW_Q): Likewise.
5343 (_FP_WFRACXBITS_DW_Q): Likewise.
5344 (_FP_HIGHBIT_DW_Q): Likewise.
5345 (FP_FMA_Q): Likewise.
5346 (_FP_FRAC_HIGH_DW_Q): Likewise.
5347 * soft-fp/fmasf4.c: New file.
5348 * soft-fp/fmadf4.c: Likewise.
5349 * soft-fp/fmatf4.c: Likewise.
5351 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5354 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5358 (index_Slow_SSE4_2): Likewise.
5359 (index_Prefer_PMINUB_for_stringop): Likewise.
5360 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5361 bit_Slow_SSE4_2 is set.
5362 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5363 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5365 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5367 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5368 rtld_global._dl_hwcap2.
5369 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5371 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5372 POWER8 feature descriptions defined in _dl_hwcap2.
5373 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5374 string handling for POWER8 feature bits.
5375 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5376 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5377 _dl_powerpc_cap_flags.
5378 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5379 * sysdeps/powerpc/rtld-global-offsets.sym
5380 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5381 _dl_hwcap2 in the rtld_global_ro structure.
5383 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5385 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5386 hardware capabilities in support of AT_HWCAP2.
5387 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5388 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5390 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5391 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5392 explicitly the unknown a_type display mechanism is used.
5393 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5394 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5396 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5397 to macro prototype for AT_HWCAP2 support.
5398 * sysdeps/i386/dl-procinfo.h: Likewise.
5399 * sysdeps/s390/dl-procinfo.h: Likewise.
5400 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5401 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5402 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5403 return -1 for unknown a_type display fallback.
5404 * sysdeps/sparc/dl-procinfo.h: Likewise.
5405 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5406 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5408 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5410 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5411 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5413 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5416 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5417 mprotect making __stack_prot writable.
5419 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5420 Joseph Myers <joseph@codesourcery.com>
5422 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5423 as being properly aligned.
5425 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5427 * dlfcn/modstatic5.c: New file.
5428 * dlfcn/tststatic5.c: New file.
5429 * dlfcn/Makefile (tests): Add tststatic5.
5430 (tests-static): Likewise.
5431 (modules-names): Add modstatic5.
5432 (tststatic5-ENV): New variable.
5433 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5436 * elf/dl-support.c (_dl_main_map): New variable.
5437 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5438 (_dl_nns, _dl_load_adds): Set to 1.
5439 (_dl_initial_searchlist): Refer to _dl_main_map.
5440 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5441 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5442 call to _dl_get_origin.
5443 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5445 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5446 * dlfcn/modstatic3.c: New file.
5447 * dlfcn/tststatic3.c: New file.
5448 * dlfcn/tststatic4.c: New file.
5449 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5450 (tests-static): Likewise.
5451 (modules-names): Add modstatic3.
5452 (tststatic3-ENV, tststatic4-ENV): New variables.
5453 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5454 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5456 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5458 * configure.in (CC): Require GCC version 4.4 or later.
5459 * configure: Regenerated.
5460 * manual/install.texi (Tools for Compilation): Update GCC version
5462 * INSTALL: Regenerated.
5464 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5467 * string/test-memcmp.c (check2): New.
5468 (main): Call check2.
5470 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5472 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5475 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5477 (dl_open_worker) [!SHARED]: ... here.
5479 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5481 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5483 2013-06-25 Richard Henderson <rth@redhat.com>
5485 * locale/programs/locarchive.c: Include <libc-internal.h>
5487 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5489 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5490 trailing whitespace removed.
5492 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5495 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5496 * locale/programs/locarchive.c: Include libc-mmap.h.
5497 (prepare_address_space): Take two new outputs (the mmap base and len).
5498 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5500 (create_archive): Declare new mmap base and len values for
5501 prepare_address_space, and store the result in ah.
5502 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5503 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5504 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5505 Declare new mmap base and len values for
5506 prepare_address_space, and store the result in new_ah.
5507 (open_archive): Declare new mmap base and len values for
5508 prepare_address_space, and store the result in ah.
5509 (close_archive): If ah->mmap_base is not NULL, use that and
5510 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5511 * sysdeps/generic/libc-mmap.h: New file.
5513 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5515 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5516 (ALIGN_UP): Likewise.
5517 (PTR_ALIGN_DOWN): Likewise.
5518 (PTR_ALIGN_UP): Likewise.
5520 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5522 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5523 entry mapped to PPC_PLATFORM_POWER8.
5524 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5526 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5527 (_dl_string_platform): Add case for exporting platform position for
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5530 search path to sysdeps/powerpc/powerpc32/power8 directory.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5532 search path to sysdeps/powerpc/powerpc64/power8 directory.
5533 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5535 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5538 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5540 * INSTALL: Regenerate.
5542 * nscd/connections.c (nscd_init): Fix comment.
5544 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5546 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5549 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5550 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5552 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5554 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5556 (DL_DST_REQ_STATIC): Remove macro.
5558 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5561 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5562 with a shift of 0 bits.
5564 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5566 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5569 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5572 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5574 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5577 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5578 accepts -fno-tree-loop-distribute-patterns.
5579 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5580 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5582 * string/memset.c (memset): Likewise.
5583 * string/test-memmove.c (simple_memmove): Disable loop transformation
5585 * string/test-memset.c (simple_memset): Likewise.
5586 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5587 * benchtests/bench-memset.c (simple_memset): Likewise.
5588 * configure: Regenerated.
5590 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5592 * math/test-misc.c (main): Ignore fesetround failure when failures
5593 of subsequent rounding tests would be ignored.
5596 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5597 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5598 * math/fegetenv.c (__fegetenv): Return 0.
5599 * math/fegetexcept.c (fegetexcept): Return 0.
5600 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5602 * math/feholdexcpt.c (feholdexcept): Return 0.
5603 * math/fesetenv.c (__fesetenv): Return 0.
5604 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5605 argument FE_TONEAREST.
5606 * math/feupdateenv.c (__feupdateenv): Return 0.
5607 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5609 2013-06-18 Roland McGrath <roland@hack.frob.com>
5611 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5612 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5613 ($(objpfx)rtld-%.os rules): Use them.
5615 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5617 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5620 2013-06-17 Roland McGrath <roland@hack.frob.com>
5622 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5623 length of target pattern, then descending length of dependency pattern.
5624 * configure.in (AWK): Require gawk 3.1.2 or newer.
5625 * manual/install.texi (Tools for Compilation): Say that we do.
5626 * configure: Regenerated.
5628 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5629 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5630 * scripts/sysd-rules.awk: ... this new script.
5631 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5632 than a glob-style pattern.
5634 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5636 * math/test-misc.c (main): Do not treat incorrectly rounded
5637 conversions as failure unless ROUNDING_TESTS passes.
5639 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5642 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5643 restore exception state around main square root computation, then
5644 check for inexactness explicitly.
5646 * math/libm-test.inc (fma_test_data): Add another test.
5648 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5650 * manual/threads.texi (Non-POSIX Extensions): New document
5651 node. Document pthread_getattr_default_np and
5652 pthread_setattr_default_np.
5654 * Versions.def (libpthread): Add GLIBC_2.18.
5655 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5664 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5675 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5678 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5680 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5681 H.J. Lu <hjl.tools@gmail.com>
5684 * sysdeps/x86_64/rtld-memset.c: Remove file.
5685 * sysdeps/x86_64/rtld-memset.S: New file.
5687 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5689 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5690 (test_in_one_mode): Take arguments for whether the rounding mode
5691 is supported for each floating-point type.
5692 (do_test): Pass new arguments to test_in_one_mode using
5695 2013-06-13 Roland McGrath <roland@hack.frob.com>
5697 * posix/tst-waitid.c (do_test): Distinguish different instances of
5698 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5699 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5700 before entering the kernel for waitpid.
5702 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5704 * NEWS: Fix note on clock function precision. Text by Roland
5707 2013-06-13 Roland McGrath <roland@hack.frob.com>
5709 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5710 it into place only when and if the sanity check passes.
5712 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5714 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5715 output for whether conversion result is exact. Take argument
5716 indicating whether type is IBM long double.
5717 (round_for_all): Change need_exact field to ibm_ld.
5718 * stdlib/tst-strtod-round.c (struct exactness): New type.
5719 (struct test): Change bool ld_ok field to struct exactness exact.
5720 (TEST): Update all definitions for change to field.
5721 (tests): Regenerate array contents.
5722 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5723 field value. Check for IBM long double here.
5724 (do_test): Update calls to test_in_one_mode.
5726 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5729 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5730 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5732 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5736 generated by the compiler on loop optimizations.
5737 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5738 general definitions.
5740 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5742 * math/bug-nextafter.c: Include <math-tests.h>.
5743 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5745 * math/bug-nexttoward.c: Include <math-tests.h>.
5746 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5748 * math/test-misc.c: Include <math-tests.h>.
5749 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5752 2013-06-12 Andreas Jaeger <aj@suse.de>
5754 * po/ia.po: Update Interlingua translation from translation
5757 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5759 * include/fenv.h: Include stdbool.h.
5760 (struct rm_ctx): New structure.
5761 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5763 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5764 (SET_RESTORE_ROUNDF): Likewise.
5765 (SET_RESTORE_ROUNDL): Likewise.
5766 (SET_RESTORE_ROUND_NOEX): Likewise.
5767 (SET_RESTORE_ROUND_NOEXF): Likewise.
5768 (SET_RESTORE_ROUND_NOEXL): Likewise.
5769 (SET_RESTORE_ROUND_53BIT): Likewise.
5770 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5771 (libc_feresetround_noexf_ctx): Likewise.
5772 (libc_feresetround_noexl_ctx): Likewise.
5773 (libc_feholdsetround_53bit_ctx): Likewise.
5774 (libc_feresetround_53bit_ctx): Likewise.
5775 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5776 (libc_feholdexcept_setround_sse_ctx): New function.
5777 (libc_fesetenv_sse_ctx): Likewise.
5778 (libc_feupdateenv_sse_ctx): Likewise.
5779 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5780 (libc_feholdexcept_setround_387_ctx): Likewise.
5781 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5782 (libc_feholdsetround_387_prec_ctx): Likewise.
5783 (libc_feholdsetround_387_ctx): Likewise.
5784 (libc_feholdsetround_387_53bit_ctx): Likewise.
5785 (libc_feholdsetround_sse_ctx): Likewise.
5786 (libc_feresetround_sse_ctx): Likewise.
5787 (libc_feresetround_387_ctx): Likewise.
5788 (libc_feupdateenv_387_ctx): Likewise.
5789 (libc_feholdexcept_setroundf_ctx): Define macro.
5790 (libc_fesetenvf_ctx): Likewise.
5791 (libc_feupdateenvf_ctx): Likewise.
5792 (libc_feholdsetroundf_ctx): Likewise.
5793 (libc_feresetroundf_ctx): Likewise.
5794 (libc_feholdexcept_setround_ctx): Likewise.
5795 (libc_fesetenv_ctx): Likewise.
5796 (libc_feupdateenv_ctx): Likewise.
5797 (libc_feholdsetround_ctx): Likewise.
5798 (libc_feresetround_ctx): Likewise.
5799 (libc_feholdexcept_setroundl_ctx): Likewise.
5800 (libc_feupdateenvl_ctx): Likewise.
5801 (libc_feholdsetroundl_ctx): Likewise.
5802 (libc_feresetroundl_ctx): Likewise.
5803 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5804 (libc_feresetround_53bit_ctx): Likewise.
5806 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5808 * locale/iso-639.def: Convert to UTF-8.
5810 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5812 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5813 (EXCEPTION_TESTS_double): Likewise.
5814 (EXCEPTION_TESTS_long_double): Likewise.
5815 (EXCEPTION_TESTS): Likewise.
5816 * math/libm-test.inc (test_exceptions): Only test exceptions if
5817 EXCEPTION_TESTS (FLOAT).
5819 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5821 * benchtests/Makefile (string-bench): Add strcpy_chk and
5823 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5824 * benchtests/bench-stpcpy_chk.c: New file.
5825 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5826 * benchtests/bench-strcpy_chk.c: New file.
5827 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5829 (do_test): Likewise.
5831 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5833 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5834 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5835 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5836 with tabs where appropriate.
5837 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5839 [PPC_PLATFORM_PPC440]: Likewise.
5840 [PPC_PLATFORM_PPC464]: Likewise.
5841 [PPC_PLATFORM_PPC476]: Likewise.
5842 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5843 ppc464, and ppc476 platform strings merging from ports/
5846 2013-06-11 Andreas Schwab <schwab@suse.de>
5849 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5850 (from_ucs4_idx): Regenerate.
5851 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5852 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5853 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5854 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5855 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5856 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5857 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5858 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5859 from FROM_LOOP and TO_LOOP specific macros.
5860 (BODY): Handle combining characters.
5861 * iconvdata/BIG5HKSCS.irreversible: Update.
5862 * iconvdata/BIG5HKSCS.precomposed: New file.
5863 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5865 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5867 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5869 * include/sys/time.h: Fix indentation and add copyright header.
5871 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5872 (do_test): Likewise.
5873 * string/test-memchr.c (do_one_test): Likewise.
5874 (do_test): Likewise.
5875 * string/test-memcmp.c (do_one_test): Likewise.
5876 (do_test): Likewise.
5877 * string/test-memcpy.c (do_one_test): Likewise.
5878 (do_test): Likewise.
5879 * string/test-memmem.c (do_one_test): Likewise.
5880 (do_test): Likewise.
5881 (do_random_tests): Likewise.
5882 * string/test-memmove.c (do_one_test): Likewise.
5883 (do_test): Likewise.
5884 * string/test-memset.c (do_one_test): Likewise.
5885 (do_test): Likewise.
5886 * string/test-rawmemchr.c (do_one_test): Likewise.
5887 (do_test): Likewise.
5888 * string/test-strcasecmp.c (do_one_test): Likewise.
5889 (do_test): Likewise.
5890 * string/test-strcasestr.c (do_one_test): Likewise.
5891 (do_test): Likewise.
5892 * string/test-strcat.c (do_one_test): Likewise.
5893 (do_test): Likewise.
5894 * string/test-strchr.c (do_one_test): Likewise.
5895 (do_test): Likewise.
5896 * string/test-strcmp.c (do_one_test): Likewise.
5897 (do_test): Likewise.
5898 * string/test-strcpy.c (do_one_test): Likewise.
5899 (do_test): Likewise.
5900 * string/test-string.h: Likewise.
5901 (test_init): Likewise.
5902 * string/test-strlen.c (do_one_test): Likewise.
5903 (do_test): Likewise.
5904 * string/test-strncasecmp.c (do_one_test): Likewise.
5905 (do_test): Likewise.
5906 * string/test-strncat.c (do_one_test): Likewise.
5907 (do_test): Likewise.
5908 * string/test-strncmp.c (do_one_test): Likewise.
5909 (do_test_limit): Likewise.
5910 (do_test): Likewise.
5911 * string/test-strncpy.c (do_one_test): Likewise.
5912 (do_test): Likewise.
5913 * string/test-strnlen.c (do_one_test): Likewise.
5914 (do_test): Likewise.
5915 * string/test-strpbrk.c (do_one_test): Likewise.
5916 (do_test): Likewise.
5917 * string/test-strrchr.c (do_one_test): Likewise.
5918 (do_test): Likewise.
5919 * string/test-strspn.c (do_one_test): Likewise.
5920 (do_test): Likewise.
5921 * string/test-strstr.c (do_one_test): Likewise.
5922 (do_test): Likewise.
5924 * benchtests/Makefile (string-bench): Add string benchmarks.
5925 * benchtests/bench-bcopy-ifunc.c: New file.
5926 * benchtests/bench-bcopy.c: New file.
5927 * benchtests/bench-bzero-ifunc.c: New file.
5928 * benchtests/bench-bzero.c: New file.
5929 * benchtests/bench-memccpy-ifunc.c: New file.
5930 * benchtests/bench-memccpy.c: New file.
5931 * benchtests/bench-memchr-ifunc.c: New file.
5932 * benchtests/bench-memchr.c: New file.
5933 * benchtests/bench-memcmp-ifunc.c: New file.
5934 * benchtests/bench-memcmp.c: New file.
5935 * benchtests/bench-memmem-ifunc.c: New file.
5936 * benchtests/bench-memmem.c: New file.
5937 * benchtests/bench-memmove-ifunc.c: New file.
5938 * benchtests/bench-memmove.c: New file.
5939 * benchtests/bench-mempcpy-ifunc.c: New file.
5940 * benchtests/bench-mempcpy.c: New file.
5941 * benchtests/bench-memset-ifunc.c: New file.
5942 * benchtests/bench-memset.c: New file.
5943 * benchtests/bench-rawmemchr-ifunc.c: New file.
5944 * benchtests/bench-rawmemchr.c: New file.
5945 * benchtests/bench-stpcpy-ifunc.c: New file.
5946 * benchtests/bench-stpcpy.c: New file.
5947 * benchtests/bench-stpncpy-ifunc.c: New file.
5948 * benchtests/bench-stpncpy.c: New file.
5949 * benchtests/bench-strcasecmp-ifunc.c: New file.
5950 * benchtests/bench-strcasecmp.c: New file.
5951 * benchtests/bench-strcasestr-ifunc.c: New file.
5952 * benchtests/bench-strcasestr.c: New file.
5953 * benchtests/bench-strcat-ifunc.c: New file.
5954 * benchtests/bench-strcat.c: New file.
5955 * benchtests/bench-strchr-ifunc.c: New file.
5956 * benchtests/bench-strchr.c: New file.
5957 * benchtests/bench-strchrnul-ifunc.c: New file.
5958 * benchtests/bench-strchrnul.c: New file.
5959 * benchtests/bench-strcmp-ifunc.c: New file.
5960 * benchtests/bench-strcmp.c: New file.
5961 * benchtests/bench-strcpy-ifunc.c: New file.
5962 * benchtests/bench-strcpy.c: New file.
5963 * benchtests/bench-strcspn-ifunc.c: New file.
5964 * benchtests/bench-strcspn.c: New file.
5965 * benchtests/bench-strlen-ifunc.c: New file.
5966 * benchtests/bench-strlen.c: New file.
5967 * benchtests/bench-strncasecmp-ifunc.c: New file.
5968 * benchtests/bench-strncasecmp.c: New file.
5969 * benchtests/bench-strncat-ifunc.c: New file.
5970 * benchtests/bench-strncat.c: New file.
5971 * benchtests/bench-strncmp-ifunc.c: New file.
5972 * benchtests/bench-strncmp.c: New file.
5973 * benchtests/bench-strncpy-ifunc.c: New file.
5974 * benchtests/bench-strncpy.c: New file.
5975 * benchtests/bench-strnlen-ifunc.c: New file.
5976 * benchtests/bench-strnlen.c: New file.
5977 * benchtests/bench-strpbrk-ifunc.c: New file.
5978 * benchtests/bench-strpbrk.c: New file.
5979 * benchtests/bench-strrchr-ifunc.c: New file.
5980 * benchtests/bench-strrchr.c: New file.
5981 * benchtests/bench-strspn-ifunc.c: New file.
5982 * benchtests/bench-strspn.c: New file.
5983 * benchtests/bench-strstr-ifunc.c: New file.
5984 * benchtests/bench-strstr.c: New file.
5986 * benchtests/Makefile: Disable parallel execution of targets.
5987 (string-bench): Add memcpy.
5988 (benchset): New variable to store a list of benchmark sets.
5989 (bench-func): Renamed from bench.
5990 (bench-set): New target.
5991 (bench): Depend on bench-func and bench-set.
5992 * benchtests/README: Add section on benchmark sets.
5993 * benchtests/bench-memcpy-ifunc.c: New file.
5994 * benchtests/bench-memcpy.c: New file.
5995 * benchtests/bench-string.h: New file.
5997 2013-06-11 Andreas Schwab <schwab@suse.de>
6000 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6001 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6002 values in the triple.
6003 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6004 terminator in the group key.
6006 2013-06-11 Andreas Jaeger <aj@suse.de>
6008 * po/zh_TW.po: Update Chinese (traditional) translation from
6009 translation project.
6011 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6013 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6014 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6015 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6016 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6017 (clock_getcpuclockid): Likewise.
6018 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6019 Add weak_alias and libc_hidden_def.
6020 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6021 * rt/clock_gettime.c (clock_gettime): Rename to
6022 __clock_gettime. Add weak_alias and libc_hidden_def.
6023 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6024 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6025 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6026 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6027 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6029 * rt/clock_settime.c (clock_settime): Rename to
6030 __clock_settime. Add weak_alias and libc_hidden_def.
6031 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6033 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6035 * mach/err_boot.sub: Remove trailing whitespace.
6036 * mach/err_ipc.sub: Likewise.
6037 * mach/err_mach.sub: Likewise.
6039 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6040 (ROUNDING_TESTS_double): Likewise.
6041 (ROUNDING_TESTS_long_double): Likewise.
6042 (ROUNDING_TESTS): Likewise.
6043 * math/libm-test.inc: Include <math-tests.h>.
6044 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6045 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6046 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6047 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6049 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6054 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6056 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6057 otherwise empty TRANS lines.
6058 * sysdeps/gnu/errlist.c: Regenerated.
6060 * catgets/gencat.c (error_print): Use (void) in function
6062 * crypt/crypt_util.c (__init_des): Likewise.
6063 * crypt/speeds.c (Stop): Likewise.
6065 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6066 * inet/ruserpass.c (token): Likewise.
6067 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6068 * intl/localealias.c (extend_alias_table): Likewise.
6069 * intl/plural-exp.c (init_germanic_plural): Likewise.
6070 * libio/fcloseall.c (__fcloseall): Likewise.
6071 * libio/genops.c (_IO_flush_all): Likewise.
6072 (_IO_flush_all_linebuffered): Likewise.
6073 (_IO_cleanup): Likewise.
6074 (_IO_iter_begin): Likewise.
6075 (_IO_iter_end): Likewise.
6076 (_IO_list_lock): Likewise.
6077 (_IO_list_unlock): Likewise.
6078 (_IO_list_resetlock): Likewise.
6079 * libio/getchar.c (getchar): Likewise.
6080 * libio/getchar_u.c (getchar_unlocked): Likewise.
6081 * libio/getwchar.c (getwchar): Likewise.
6082 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6083 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6084 * login/getpt.c (__getpt): Likewise.
6085 * login/tst-utmp.c (main): Likewise.
6086 * malloc/hooks.c (__malloc_check_init): Likewise.
6087 * malloc/malloc.c (__malloc_stats): Likewise.
6088 * malloc/mtrace.c (tr_break): Likewise.
6090 (muntrace): Likewise.
6091 * misc/fstab.c (endfsent): Likewise.
6092 * misc/getclktck.c (__getclktck): Likewise.
6093 * misc/getdtsz.c (__getdtablesize): Likewise.
6094 * misc/gethostid.c (gethostid): Likewise.
6095 * misc/getpagesize.c (__getpagesize): Likewise.
6096 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6097 (__get_nprocs): Likewise.
6098 (__get_phys_pages): Likewise.
6099 (__get_avphys_pages): Likewise.
6100 * misc/getttyent.c (getttyent): Likewise.
6101 (setttyent): Likewise.
6102 (endttyent): Likewise.
6103 * misc/getusershell.c (getusershell): Likewise.
6104 (endusershell): Likewise.
6105 (setusershell): Likewise.
6106 (initshells): Likewise.
6107 * misc/hsearch.c (__hdestroy): Likewise.
6108 * misc/sync.c (sync): Likewise.
6109 * misc/syslog.c (closelog_internal): Likewise.
6110 (closelog): Likewise.
6111 * misc/ttyslot.c (ttyslot): Likewise.
6112 * misc/vhangup.c (vhangup): Likewise.
6113 * posix/fork.c (__fork): Likewise.
6114 * posix/getegid.c (__getegid): Likewise.
6115 * posix/geteuid.c (__geteuid): Likewise.
6116 * posix/getgid.c (__getgid): Likewise.
6117 * posix/getpid.c (__getpid): Likewise.
6118 * posix/getppid.c (__getppid): Likewise.
6119 * posix/getuid.c (__getuid): Likewise.
6120 * posix/pause.c (pause): Likewise.
6121 * posix/setpgrp.c (setpgrp): Likewise.
6122 * posix/setsid.c (__setsid): Likewise.
6123 * posix/test-vfork.c (noop): Likewise.
6124 * resolv/gethnamaddr.c (_endhtent): Likewise.
6125 (_gethtent): Likewise.
6126 (ht_endhostent): Likewise.
6127 (gethostent): Likewise.
6128 (dns_service): Likewise.
6129 * stdlib/drand48.c (drand48): Likewise.
6130 * stdlib/lrand48.c (lrand48): Likewise.
6131 * stdlib/mrand48.c (mrand48): Likewise.
6132 * stdlib/rand.c (rand): Likewise.
6133 * stdlib/random.c (__random): Likewise.
6134 * stdlib/setenv.c (clearenv): Likewise.
6135 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6136 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6137 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6138 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6139 (__get_nprocs): Likewise.
6140 (__get_phys_pages): Likewise.
6141 (__get_avphys_pages): Likewise.
6142 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6143 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6144 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6145 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6146 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6147 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6148 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6149 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6150 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6151 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6152 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6153 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6154 * sysdeps/posix/clock.c (clock): Likewise.
6155 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6156 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6157 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6158 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6159 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6161 (__get_nprocs_conf): Likewise.
6162 (__get_phys_pages): Likewise.
6163 (__get_avphys_pages): Likewise.
6164 * time/clock.c (clock): Likewise.
6165 * time/tzset.c (__tzname_max): Likewise.
6167 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6169 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6170 (__bswap_32): Do not use "register".
6171 * crypt/crypt.c (_ufc_doit_r): Likewise.
6172 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6173 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6174 * gmon/gmon.c (__monstartup): Likewise.
6175 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6176 * hurd/hurdmalloc.c (more_memory): Likewise.
6179 (realloc): Likewise.
6180 (malloc_fork_prepare): Likewise.
6181 (malloc_fork_parent): Likewise.
6182 (malloc_fork_child): Likewise.
6183 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6184 (_svcauth_des): Likewise.
6185 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6186 * inet/inet_net.c (inet_network): Likewise.
6187 * inet/inet_netof.c (inet_netof): Likewise.
6188 * inet/rcmd.c (__validuser2_sa): Likewise.
6189 * io/fts.c (fts_open): Likewise.
6190 (fts_load): Likewise.
6191 (fts_close): Likewise.
6192 (fts_read): Likewise.
6193 (fts_children): Likewise.
6194 (fts_build): Likewise.
6195 (fts_stat): Likewise.
6196 (fts_sort): Likewise.
6197 (fts_alloc): Likewise.
6198 (fts_lfree): Likewise.
6199 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6200 (_IO_file_xsgetn): Likewise.
6201 (_IO_file_xsgetn_mmap): Likewise.
6202 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6203 (_IO_cookie_write): Likewise.
6204 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6205 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6206 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6207 * malloc/obstack.c (_obstack_begin): Likewise.
6208 (_obstack_begin_1): Likewise.
6209 (_obstack_newchunk): Likewise.
6210 (_obstack_allocated_p): Likewise.
6211 (obstack_free): Likewise.
6212 (_obstack_memory_used): Likewise.
6213 * misc/getttyent.c (getttynam): Likewise.
6214 (getttyent): Likewise.
6217 * misc/getusershell.c (initshells): Likewise.
6218 * misc/syslog.c (__vsyslog_chk): Likewise.
6219 * misc/ttyslot.c (ttyslot): Likewise.
6220 * nis/nis_hash.c (__nis_hash): Likewise.
6221 * posix/fnmatch_loop.c (FCT): Likewise.
6222 * posix/getconf.c (print_all): Likewise.
6224 * posix/getopt.c (exchange): Likewise.
6225 * posix/glob.c (globfree): Likewise.
6226 (prefix_array): Likewise.
6227 (__glob_pattern_type): Likewise.
6228 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6229 (NS_GET32): Likewise.
6230 (NS_PUT16): Likewise.
6231 (NS_PUT32): Likewise.
6232 * resolv/gethnamaddr.c (getanswer): Likewise.
6233 (gethostbyname2): Likewise.
6234 (gethostbyaddr): Likewise.
6235 (_gethtent): Likewise.
6236 (_gethtbyname2): Likewise.
6237 (_gethtbyaddr): Likewise.
6238 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6239 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6240 * resolv/res_init.c (__res_vinit): Likewise.
6241 (net_mask): Likewise.
6242 * resolv/res_mkquery.c (outchar): Likewise.
6244 * stdio-common/printf_fp.c (outchar): Likewise.
6246 * stdio-common/printf_fphex.c (outchar): Likewise.
6248 * stdio-common/printf_size.c (outchar): Likewise.
6250 * stdio-common/test_rdwr.c (main): Likewise.
6251 * stdio-common/tfformat.c (matches): Likewise.
6252 * stdio-common/vfprintf.c (outchar): Likewise.
6253 (printf_unknown): Likewise.
6254 (buffered_vfprintf): Likewise.
6255 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6256 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6257 (ReadFile): Likewise.
6258 * stdlib/qsort.c (SWAP): Likewise.
6259 (_quicksort): Likewise.
6260 * stdlib/setenv.c (__add_to_environ): Likewise.
6261 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6262 * stdlib/strtol_l.c (__strtol_l): Likewise.
6263 * stdlib/tst-strtod.c (main): Likewise.
6264 * stdlib/tst-strtol.c (main): Likewise.
6265 * stdlib/tst-strtoll.c (main): Likewise.
6266 * string/bits/string2.h (__strcmp_cc): Likewise.
6267 (__strcmp_cg): Likewise.
6268 (__strcspn_c1): Likewise.
6269 (__strcspn_c2): Likewise.
6270 (__strcspn_c3): Likewise.
6271 (__strspn_c1): Likewise.
6272 (__strspn_c2): Likewise.
6273 (__strspn_c3): Likewise.
6274 (__strsep_1c): Likewise.
6275 (__strsep_2c): Likewise.
6276 (__strsep_3c): Likewise.
6277 * string/memccpy.c (__memccpy): Likewise.
6278 * string/stpcpy.c (__stpcpy): Likewise.
6279 * string/strcmp.c (strcmp): Likewise.
6280 * string/strrchr.c (strrchr): Likewise.
6281 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6283 * sysdeps/mach/hurd/getcwd.c
6284 (_hurd_canonicalize_directory_name_internal): Likewise.
6285 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6286 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6288 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6289 Likewise, in both definitions.
6290 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6292 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6293 64] (__bswap_64): Likewise.
6294 * time/test_time.c (main): Likewise.
6295 * time/tzfile.c (__tzfile_read): Likewise.
6296 (__tzfile_compute): Likewise.
6297 * time/tzset.c (__tzset_parse_tz): Likewise.
6298 (tzset_internal): Likewise.
6299 (compute_change): Likewise.
6300 * wcsmbs/wcscat.c (__wcscat): Likewise.
6301 * wcsmbs/wcschr.c (wcschr): Likewise.
6302 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6303 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6304 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6305 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6306 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6307 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6308 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6309 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6310 * wcsmbs/wmemset.c (wmemset): Likewise.
6312 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6314 * scripts/config.guess: Update to version 2013-05-16.
6315 * scripts/config.sub: Update to version 2013-04-24.
6316 * scripts/install-sh: Update to version 2011-11-20.07.
6317 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6318 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6320 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6322 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6323 * elf/sln.c: Likewise.
6324 * hurd/hurd/ioctl.h: Likewise.
6325 * hurd/hurdmalloc.c: Likewise.
6326 * hurd/xattr.c: Likewise.
6327 * include/shlib-compat.h: Likewise.
6328 * inet/ruserpass.c: Likewise.
6329 * libio/iofgets_u.c: Likewise.
6330 * libio/iofgetws_u.c: Likewise.
6331 * locale/programs/ld-identification.c: Likewise.
6332 * locale/programs/ld-time.c: Likewise.
6333 * mach/msg-destroy.c: Likewise.
6334 * nss/nss_files/files-netgrp.c: Likewise.
6335 * resolv/res_data.c: Likewise.
6336 * soft-fp/op-1.h: Likewise.
6337 * soft-fp/op-2.h: Likewise.
6338 * soft-fp/op-4.h: Likewise.
6339 * soft-fp/op-common.h: Likewise.
6340 * stdio-common/printf_fphex.c: Likewise.
6341 * stdlib/strtod_l.c: Likewise.
6342 * sunrpc/rpc/clnt.h: Likewise.
6343 * sysdeps/generic/framestate.c: Likewise.
6344 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6345 * sysdeps/i386/bsd-setjmp.S: Likewise.
6346 * sysdeps/i386/__longjmp.S: Likewise.
6347 * sysdeps/i386/setjmp.S: Likewise.
6348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6366 * sysdeps/ieee754/support.c: Likewise.
6367 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6368 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6369 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6370 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6371 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6372 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6373 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6374 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6375 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6376 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6377 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6378 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6379 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6380 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6382 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6383 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6386 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6388 * posix/transbug.c: Remove executable mode.
6390 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6392 * crypt/speeds.c: Remove trailing whitespace.
6393 * dlfcn/default.c: Likewise.
6394 * elf/ifuncdep2.c: Likewise.
6395 * elf/ifuncmain1.c: Likewise.
6396 * elf/ifuncmain1vis.c: Likewise.
6397 * elf/testobj.h: Likewise.
6398 * elf/tst-stackguard1.c: Likewise.
6399 * gmon/sys/gmon.h: Likewise.
6400 * hurd/hurdmsg.c: Likewise.
6401 * hurd/new-fd.c: Likewise.
6402 * hurd/ports-get.c: Likewise.
6403 * iconvdata/ibm1008_420.c: Likewise.
6404 * inet/tst-getni1.c: Likewise.
6405 * inet/tst-getni2.c: Likewise.
6406 * libio/ioungetc.c: Likewise.
6407 * libio/wfiledoalloc.c: Likewise.
6408 * manual/libm-err-tab.pl: Likewise.
6409 * math/w_dremf.c: Likewise.
6410 * misc/ftruncate.c: Likewise.
6411 * posix/bug-glob2.c: Likewise.
6412 * posix/tst-pcre.c: Likewise.
6413 * posix/wait4.c: Likewise.
6414 * resolv/README: Likewise.
6415 * resolv/res_debug.h: Likewise.
6416 * resolv/tst-inet_ntop.c: Likewise.
6417 * setjmp/bug269-setjmp.c: Likewise.
6418 * soft-fp/extended.h: Likewise.
6419 * soft-fp/op-1.h: Likewise.
6420 * soft-fp/op-2.h: Likewise.
6421 * soft-fp/op-4.h: Likewise.
6422 * soft-fp/op-8.h: Likewise.
6423 * soft-fp/testit.c: Likewise.
6424 * stdio-common/bug16.c: Likewise.
6425 * stdlib/random.c: Likewise.
6426 * sunrpc/rpcsvc/rquota.x: Likewise.
6427 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6428 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6429 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6430 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6431 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6432 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6433 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6434 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6436 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6437 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6454 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6456 * sysdeps/ieee754/s_lib_version.c: Likewise.
6457 * sysdeps/mach/hurd/check_fds.c: Likewise.
6458 * sysdeps/mach/hurd/getsockname.c: Likewise.
6459 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6460 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6461 * sysdeps/powerpc/bits/link.h: Likewise.
6462 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6463 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6464 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6465 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6466 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6467 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6468 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6469 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6470 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6471 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6472 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6473 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6474 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6475 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6476 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6477 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6479 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6483 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6485 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6486 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6488 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6489 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6490 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6495 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6496 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6497 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6498 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6499 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6500 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6501 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6502 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6503 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6504 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6505 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6506 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6507 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6508 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6509 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6510 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6511 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6512 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6514 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6515 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6516 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6517 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6518 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6520 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6521 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6522 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6523 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6524 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6525 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6526 * sysdeps/powerpc/sysdep.h: Likewise.
6527 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6528 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6529 * sysdeps/sh/dl-trampoline.S: Likewise.
6530 * sysdeps/sh/memset.S: Likewise.
6531 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6532 * sysdeps/sh/strlen.S: Likewise.
6533 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6534 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6535 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6536 * sysdeps/sparc/sparc32/rem.S: Likewise.
6537 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6538 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6539 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6540 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6541 * sysdeps/sparc/sparc32/urem.S: Likewise.
6542 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6543 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6544 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6545 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6547 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6548 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6549 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6550 * sysdeps/unix/bsd/times.c: Likewise.
6551 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6552 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6556 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6557 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6559 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6561 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6562 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6563 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6564 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6565 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6566 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6568 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6569 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6570 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6571 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6572 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6573 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6574 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6575 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6576 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6577 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6579 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6580 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6581 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6582 * sysdeps/x86_64/strcspn.S: Likewise.
6584 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6586 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6587 generated file. Regenerate properly from gen-translit.pl.
6588 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6589 locale/C-translit.h.
6591 2013-06-05 Andreas Schwab <schwab@suse.de>
6594 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6595 week as 6 instead of -1.
6596 * time/tst-strptime.c (day_tests): Add test case.
6598 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6600 * sysdeps/generic/math_private.h
6601 (libc_feholdexcept_setround_53bit): Replace with
6602 libc_feholdsetround_53bit.
6603 (libc_feupdateenv_53bit): Replace with
6604 libc_feresetround_53bit.
6605 (SET_RESTORE_ROUND_53BIT): Adjust.
6607 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6609 * string/test-strchrnul.c: Add copyright header.
6611 * posix/tst-getaddrinfo4.c: Increase test timeout.
6613 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6616 * math/libm-test.inc (MAX_EXP): Remove
6618 (ulp): Use MIN_EXP - MANT_DIG.
6619 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6621 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6623 * po/be.po: Revert last change.
6624 * po/zh_CN.po: Likewise.
6625 * po/header.pot: Likewise.
6627 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6629 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6630 link-libc-deps to empty as target-specific variable.
6631 * Makerules (link-libc-args): New variable.
6632 (libc-for-link): Likewise.
6633 (link-libc-deps): Likewise.
6634 (lib%.so): Depend on $(link-libc-deps). Link with
6636 (build-module): Link with $(link-libc-args).
6637 (build-module-asneeded): Likewise.
6638 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6640 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6641 target-specific variable.
6642 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6643 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6644 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6646 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6648 ($(objpfx)libpcprofile.so): Likewise.
6649 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6651 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6652 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6653 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6655 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6656 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6657 * login/Makefile ($(objpfx)libutil.so): Likewise.
6658 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6659 * math/Makefile ($(objpfx)libm.so): Likewise.
6660 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6661 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6662 variable instead of depending directly on libc.
6663 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6664 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6666 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6668 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6669 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6670 ($(objpfx)libanl.so): Likewise.
6671 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6673 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6675 * sysdeps/i386/fpu/Makefile: Remove file.
6676 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6677 ($(objpfx)libm.so): Remove dependency on ld.so.
6679 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6682 * nis/yp_xdr.c (XDRMAXNAME): Define.
6683 (XDRMAXRECORD): Define.
6684 (xdr_domainname): Use XDRMAXNAME.
6685 (xdr_mapname): Likewise.
6686 (xdr_peername): Likewise.
6687 (xdr_keydat): Use XDRMAXRECORD.
6688 (xdr_valdat): Likewise.
6690 2013-05-30 Jeff Law <law@redhat.com>
6693 * manual/errno.texi (ESTALE): Update to account for more than
6694 just NFS file systems.
6695 * sysdeps/gnu/errlist.c: Regenerated.
6697 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6700 * elf/Makefile (tests): Add tst-null-argv.
6701 (modules-names): Add tst-null-argv-lib.
6702 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6703 (tst-null-argv-ENV): Set environment for tst-null-argv.
6704 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6705 (RTLD_PROGNAME): New macro.
6706 * elf/tst-null-argv.c: New test case.
6707 * elf/tst-null-argv-lib.c: Library for test case.
6708 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6709 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6710 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6711 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6712 * elf/dl-init.c (call_init): Likewise.
6713 (_dl_init): Likewise.
6714 * elf/dl-load.c (print_search_path): Likewise.
6715 (_dl_map_object): Likewise.
6716 * elf/dl-lookup.c (do_lookup_x): Likewise.
6717 (add_dependency): Likewise.
6718 (_dl_lookup_symbol_x): Likewise.
6719 (_dl_debug_bindings): Likewise.
6720 * elf/dl-open.c (_dl_show_scope): Likewise.
6721 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6722 * elf/dl-version.c (match_symbol): Likewise.
6723 (_dl_check_map_versions): Likewise.
6724 * elf/rtld.c (dl_main): Likewise.
6725 (print_unresolved): Use RTLD_PROGNAME.
6726 (print_missing_version): Likewise.
6727 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6728 (elf_machine_rela): Likewise.
6729 * sysdeps/powerpc/powerpc32/dl-machine.c
6730 (__process_machine_rela): Likewise.
6731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6735 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6737 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6738 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6740 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6742 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6744 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6746 * po/be.po: Add descriptive title.
6747 * po/zh_CN.po: Likewise.
6748 * po/header.pot: Likewise.
6750 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6752 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6754 (enlarge_archive): Likewise.
6756 2013-05-28 Ben North <ben@redfrontdoor.org>
6758 * manual/arith.texi (frexp): It is the magnitude of the return
6759 value which lies in [0.5, 1), not the return value itself.
6761 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6765 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6767 * stdio-common/bug26.c (main): Correct fscanf template.
6769 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6770 declare _dl_skip_args.
6772 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6775 * manual/platform.texi: Add missing @end deftypefun.
6777 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6780 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6781 bit of mantissa of 2^16382.
6782 * math/libm-test.inc (hypot_test_data): Add more tests.
6784 * math/libm-test.inc: Add drem and pow10 to list of tested
6786 (pow10_test): New function.
6787 (drem_test): Likewise.
6788 (drem_test_tonearest): Likewise.
6789 (drem_test_towardzero): Likewise.
6790 (drem_test_downward): Likewise.
6791 (drem_test_upward): Likewise.
6792 (main): Call the new functions.
6794 * math/libm-test.inc (finite_test_data): Remove.
6795 (finite_test): Run tests from isfinite_test_data.
6796 (gamma_test_data): Remove.
6797 (gamma_test): Run tests from lgamma_test_data.
6798 * sysdeps/i386/fpu/libm-test-ulps: Update.
6799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6801 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803 * manual/platform.texi: Add PowerPC PPR function set documentation.
6804 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6807 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6809 * math/libm-test.inc (MAX_EXP): Define.
6811 (ulp): New function.
6812 (check_float_internal): Use ULPDIFF.
6813 (cpow_test): Disable failing test.
6814 (check_ulp): Test ulp() implemetnation.
6815 (main): Call check_ulp before starting tests.
6817 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6819 * math/gen-libm-test.pl (generate_testfile): Do not handle
6820 START_DATA and END_DATA.
6821 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6823 (acos_tonearest_test_data): Likewise.
6824 (acos_towardzero_test_data): Likewise.
6825 (acos_downward_test_data): Likewise.
6826 (acos_upward_test_data): Likewise.
6827 (acosh_test_data): Likewise.
6828 (asin_test_data): Likewise.
6829 (asin_tonearest_test_data): Likewise.
6830 (asin_towardzero_test_data): Likewise.
6831 (asin_downward_test_data): Likewise.
6832 (asin_upward_test_data): Likewise.
6833 (asinh_test_data): Likewise.
6834 (atan_test_data): Likewise.
6835 (atanh_test_data): Likewise.
6836 (atan2_test_data): Likewise.
6837 (cabs_test_data): Likewise.
6838 (cacos_test_data): Likewise.
6839 (cacosh_test_data): Likewise.
6840 (carg_test_data): Likewise.
6841 (casin_test_data): Likewise.
6842 (casinh_test_data): Likewise.
6843 (catan_test_data): Likewise.
6844 (catanh_test_data): Likewise.
6845 (cbrt_test_data): Likewise.
6846 (ccos_test_data): Likewise.
6847 (ccosh_test_data): Likewise.
6848 (ceil_test_data): Likewise.
6849 (cexp_test_data): Likewise.
6850 (cimag_test_data): Likewise.
6851 (clog_test_data): Likewise.
6852 (clog10_test_data): Likewise.
6853 (conj_test_data): Likewise.
6854 (copysign_test_data): Likewise.
6855 (cos_test_data): Likewise.
6856 (cos_tonearest_test_data): Likewise.
6857 (cos_towardzero_test_data): Likewise.
6858 (cos_downward_test_data): Likewise.
6859 (cos_upward_test_data): Likewise.
6860 (cosh_test_data): Likewise.
6861 (cosh_tonearest_test_data): Likewise.
6862 (cosh_towardzero_test_data): Likewise.
6863 (cosh_downward_test_data): Likewise.
6864 (cosh_upward_test_data): Likewise.
6865 (cpow_test_data): Likewise.
6866 (cproj_test_data): Likewise.
6867 (creal_test_data): Likewise.
6868 (csin_test_data): Likewise.
6869 (csinh_test_data): Likewise.
6870 (csqrt_test_data): Likewise.
6871 (ctan_test_data): Likewise.
6872 (ctan_tonearest_test_data): Likewise.
6873 (ctan_towardzero_test_data): Likewise.
6874 (ctan_downward_test_data): Likewise.
6875 (ctan_upward_test_data): Likewise.
6876 (ctanh_test_data): Likewise.
6877 (ctanh_tonearest_test_data): Likewise.
6878 (ctanh_towardzero_test_data): Likewise.
6879 (ctanh_downward_test_data): Likewise.
6880 (ctanh_upward_test_data): Likewise.
6881 (erf_test_data): Likewise.
6882 (erfc_test_data): Likewise.
6883 (exp_test_data): Likewise.
6884 (exp_tonearest_test_data): Likewise.
6885 (exp_towardzero_test_data): Likewise.
6886 (exp_downward_test_data): Likewise.
6887 (exp_upward_test_data): Likewise.
6888 (exp10_test_data): Likewise.
6889 (exp2_test_data): Likewise.
6890 (expm1_test_data): Likewise.
6891 (fabs_test_data): Likewise.
6892 (fdim_test_data): Likewise.
6893 (finite_test_data): Likewise.
6894 (floor_test_data): Likewise.
6895 (fma_test_data): Likewise.
6896 (fma_towardzero_test_data): Likewise.
6897 (fma_downward_test_data): Likewise.
6898 (fma_upward_test_data): Likewise.
6899 (fmax_test_data): Likewise.
6900 (fmin_test_data): Likewise.
6901 (fmod_test_data): Likewise.
6902 (fpclassify_test_data): Likewise.
6903 (frexp_test_data): Likewise.
6904 (gamma_test_data): Likewise.
6905 (hypot_test_data): Likewise.
6906 (ilogb_test_data): Likewise.
6907 (isfinite_test_data): Likewise.
6908 (isgreater_test_data): Likewise.
6909 (isgreaterequal_test_data): Likewise.
6910 (isinf_test_data): Likewise.
6911 (isless_test_data): Likewise.
6912 (islessequal_test_data): Likewise.
6913 (islessgreater_test_data): Likewise.
6914 (isnan_test_data): Likewise.
6915 (isnormal_test_data): Likewise.
6916 (issignaling_test_data): Likewise.
6917 (isunordered_test_data): Likewise.
6918 (j0_test_data): Likewise.
6919 (j1_test_data): Likewise.
6920 (jn_test_data): Likewise.
6921 (ldexp_test_data): Likewise.
6922 (lgamma_test_data): Likewise.
6923 (lrint_test_data): Likewise.
6924 (lrint_tonearest_test_data): Likewise.
6925 (lrint_towardzero_test_data): Likewise.
6926 (lrint_downward_test_data): Likewise.
6927 (lrint_upward_test_data): Likewise.
6928 (llrint_test_data): Likewise.
6929 (llrint_tonearest_test_data): Likewise.
6930 (llrint_towardzero_test_data): Likewise.
6931 (llrint_downward_test_data): Likewise.
6932 (llrint_upward_test_data): Likewise.
6933 (log_test_data): Likewise.
6934 (log10_test_data): Likewise.
6935 (log1p_test_data): Likewise.
6936 (log2_test_data): Likewise.
6937 (logb_test_data): Likewise.
6938 (logb_downward_test_data): Likewise.
6939 (lround_test_data): Likewise.
6940 (llround_test_data): Likewise.
6941 (modf_test_data): Likewise.
6942 (nearbyint_test_data): Likewise.
6943 (nextafter_test_data): Likewise.
6944 (nexttoward_test_data): Likewise.
6945 (pow_test_data): Likewise.
6946 (pow_tonearest_test_data): Likewise.
6947 (pow_towardzero_test_data): Likewise.
6948 (pow_downward_test_data): Likewise.
6949 (pow_upward_test_data): Likewise.
6950 (remainder_test_data): Likewise.
6951 (remainder_tonearest_test_data): Likewise.
6952 (remainder_towardzero_test_data): Likewise.
6953 (remainder_downward_test_data): Likewise.
6954 (remainder_upward_test_data): Likewise.
6955 (remquo_test_data): Likewise.
6956 (rint_test_data): Likewise.
6957 (rint_tonearest_test_data): Likewise.
6958 (rint_towardzero_test_data): Likewise.
6959 (rint_downward_test_data): Likewise.
6960 (rint_upward_test_data): Likewise.
6961 (round_test_data): Likewise.
6962 (scalb_test_data): Likewise.
6963 (scalbn_test_data): Likewise.
6964 (scalbln_test_data): Likewise.
6965 (signbit_test_data): Likewise.
6966 (sin_test_data): Likewise.
6967 (sin_tonearest_test_data): Likewise.
6968 (sin_towardzero_test_data): Likewise.
6969 (sin_downward_test_data): Likewise.
6970 (sin_upward_test_data): Likewise.
6971 (sincos_test_data): Likewise.
6972 (sinh_test_data): Likewise.
6973 (sinh_tonearest_test_data): Likewise.
6974 (sinh_towardzero_test_data): Likewise.
6975 (sinh_downward_test_data): Likewise.
6976 (sinh_upward_test_data): Likewise.
6977 (sqrt_test_data): Likewise.
6978 (tan_test_data): Likewise.
6979 (tan_tonearest_test_data): Likewise.
6980 (tan_towardzero_test_data): Likewise.
6981 (tan_downward_test_data): Likewise.
6982 (tan_upward_test_data): Likewise.
6983 (tanh_test_data): Likewise.
6984 (tgamma_test_data): Likewise.
6985 (trunc_test_data): Likewise.
6986 (y0_test_data): Likewise.
6987 (y1_test_data): Likewise.
6988 (yn_test_data): Likewise.
6989 (significand_test_data): Likewise.
6991 * math/gen-libm-test.pl (@functions): Remove variable.
6992 (generate_testfile): Don't handle START and END lines.
6993 * math/libm-test.inc (START): New macro.
6995 (END_COMPLEX): Likewise.
6996 (acos_test): Use END macro without arguments.
6997 (acos_test_tonearest): Likewise.
6998 (acos_test_towardzero): Likewise.
6999 (acos_test_downward): Likewise.
7000 (acos_test_upward): Likewise.
7001 (acosh_test): Likewise.
7002 (asin_test): Likewise.
7003 (asin_test_tonearest): Likewise.
7004 (asin_test_towardzero): Likewise.
7005 (asin_test_downward): Likewise.
7006 (asin_test_upward): Likewise.
7007 (asinh_test): Likewise.
7008 (atan_test): Likewise.
7009 (atanh_test): Likewise.
7010 (atan2_test): Likewise.
7011 (cabs_test): Likewise.
7012 (cacos_test): Use END_COMPLEX macro without arguments.
7013 (cacosh_test): Likewise.
7014 (carg_test): Use END macro without arguments.
7015 (casin_test): Use END_COMPLEX macro without arguments.
7016 (casinh_test): Likewise.
7017 (catan_test): Likewise.
7018 (catanh_test): Likewise.
7019 (cbrt_test): Use END macro without arguments.
7020 (ccos_test): Use END_COMPLEX macro without arguments.
7021 (ccosh_test): Likewise.
7022 (ceil_test): Use END macro without arguments.
7023 (cexp_test): Use END_COMPLEX macro without arguments.
7024 (cimag_test): Use END macro without arguments.
7025 (clog_test): Use END_COMPLEX macro without arguments.
7026 (clog10_test): Likewise.
7027 (conj_test): Likewise.
7028 (copysign_test): Use END macro without arguments.
7029 (cos_test): Likewise.
7030 (cos_test_tonearest): Likewise.
7031 (cos_test_towardzero): Likewise.
7032 (cos_test_downward): Likewise.
7033 (cos_test_upward): Likewise.
7034 (cosh_test): Likewise.
7035 (cosh_test_tonearest): Likewise.
7036 (cosh_test_towardzero): Likewise.
7037 (cosh_test_downward): Likewise.
7038 (cosh_test_upward): Likewise.
7039 (cpow_test): Use END_COMPLEX macro without arguments.
7040 (cproj_test): Likewise.
7041 (creal_test): Use END macro without arguments.
7042 (csin_test): Use END_COMPLEX macro without arguments.
7043 (csinh_test): Likewise.
7044 (csqrt_test): Likewise.
7045 (ctan_test): Likewise.
7046 (ctan_test_tonearest): Likewise.
7047 (ctan_test_towardzero): Likewise.
7048 (ctan_test_downward): Likewise.
7049 (ctan_test_upward): Likewise.
7050 (ctanh_test): Likewise.
7051 (ctanh_test_tonearest): Likewise.
7052 (ctanh_test_towardzero): Likewise.
7053 (ctanh_test_downward): Likewise.
7054 (ctanh_test_upward): Likewise.
7055 (erf_test): Use END macro without arguments.
7056 (erfc_test): Likewise.
7057 (exp_test): Likewise.
7058 (exp_test_tonearest): Likewise.
7059 (exp_test_towardzero): Likewise.
7060 (exp_test_downward): Likewise.
7061 (exp_test_upward): Likewise.
7062 (exp10_test): Likewise.
7063 (exp2_test): Likewise.
7064 (expm1_test): Likewise.
7065 (fabs_test): Likewise.
7066 (fdim_test): Likewise.
7067 (finite_test): Likewise.
7068 (floor_test): Likewise.
7069 (fma_test): Likewise.
7070 (fma_test_towardzero): Likewise.
7071 (fma_test_downward): Likewise.
7072 (fma_test_upward): Likewise.
7073 (fmax_test): Likewise.
7074 (fmin_test): Likewise.
7075 (fmod_test): Likewise.
7076 (fpclassify_test): Likewise.
7077 (frexp_test): Likewise.
7078 (gamma_test): Likewise.
7079 (hypot_test): Likewise.
7080 (ilogb_test): Likewise.
7081 (isfinite_test): Likewise.
7082 (isgreater_test): Likewise.
7083 (isgreaterequal_test): Likewise.
7084 (isinf_test): Likewise.
7085 (isless_test): Likewise.
7086 (islessequal_test): Likewise.
7087 (islessgreater_test): Likewise.
7088 (isnan_test): Likewise.
7089 (isnormal_test): Likewise.
7090 (issignaling_test): Likewise.
7091 (isunordered_test): Likewise.
7092 (j0_test): Likewise.
7093 (j1_test): Likewise.
7094 (jn_test): Likewise.
7095 (ldexp_test): Likewise.
7096 (lgamma_test): Likewise.
7097 (lrint_test): Likewise.
7098 (lrint_test_tonearest): Likewise.
7099 (lrint_test_towardzero): Likewise.
7100 (lrint_test_downward): Likewise.
7101 (lrint_test_upward): Likewise.
7102 (llrint_test): Likewise.
7103 (llrint_test_tonearest): Likewise.
7104 (llrint_test_towardzero): Likewise.
7105 (llrint_test_downward): Likewise.
7106 (llrint_test_upward): Likewise.
7107 (log_test): Likewise.
7108 (log10_test): Likewise.
7109 (log1p_test): Likewise.
7110 (log2_test): Likewise.
7111 (logb_test): Likewise.
7112 (logb_test_downward): Likewise.
7113 (lround_test): Likewise.
7114 (llround_test): Likewise.
7115 (modf_test): Likewise.
7116 (nearbyint_test): Likewise.
7117 (nextafter_test): Likewise.
7118 (nexttoward_test): Likewise.
7119 (pow_test): Likewise.
7120 (pow_test_tonearest): Likewise.
7121 (pow_test_towardzero): Likewise.
7122 (pow_test_downward): Likewise.
7123 (pow_test_upward): Likewise.
7124 (remainder_test): Likewise.
7125 (remainder_test_tonearest): Likewise.
7126 (remainder_test_towardzero): Likewise.
7127 (remainder_test_downward): Likewise.
7128 (remainder_test_upward): Likewise.
7129 (remquo_test): Likewise.
7130 (rint_test): Likewise.
7131 (rint_test_tonearest): Likewise.
7132 (rint_test_towardzero): Likewise.
7133 (rint_test_downward): Likewise.
7134 (rint_test_upward): Likewise.
7135 (round_test): Likewise.
7136 (scalb_test): Likewise.
7137 (scalbn_test): Likewise.
7138 (scalbln_test): Likewise.
7139 (signbit_test): Likewise.
7140 (sin_test): Likewise.
7141 (sin_test_tonearest): Likewise.
7142 (sin_test_towardzero): Likewise.
7143 (sin_test_downward): Likewise.
7144 (sin_test_upward): Likewise.
7145 (sincos_test): Likewise.
7146 (sinh_test): Likewise.
7147 (sinh_test_tonearest): Likewise.
7148 (sinh_test_towardzero): Likewise.
7149 (sinh_test_downward): Likewise.
7150 (sinh_test_upward): Likewise.
7151 (sqrt_test): Likewise.
7152 (tan_test): Likewise.
7153 (tan_test_tonearest): Likewise.
7154 (tan_test_towardzero): Likewise.
7155 (tan_test_downward): Likewise.
7156 (tan_test_upward): Likewise.
7157 (tanh_test): Likewise.
7158 (tgamma_test): Likewise.
7159 (trunc_test): Likewise.
7160 (y0_test): Likewise.
7161 (y1_test): Likewise.
7162 (yn_test): Likewise.
7163 (significand_test): Likewise.
7165 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7168 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7170 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7173 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7174 __ppc_mdoio and __ppc_mdoom.
7175 * manual/platform.texi: Document new functions __ppc_yield,
7176 __ppc_mdoio and __ppc_mdoom.
7178 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7180 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7181 (main): Mention "tls" pseudo-hwcap is legacy.
7182 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7184 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7186 * math/gen-libm-test.pl (parse_args): Output only string of
7187 arguments as text for test name, not full call or descriptions of
7188 tests for extra outputs.
7189 (generate_testfile): Do not pass function name to parse_args.
7190 Generate this_func variable from START.
7191 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7193 (struct test_ff_f_data): Likewise.
7194 (test_ff_f_data_nexttoward): Likewise.
7195 (struct test_fi_f_data): Likewise.
7196 (struct test_fl_f_data): Likewise.
7197 (struct test_if_f_data): Likewise.
7198 (struct test_fff_f_data): Likewise.
7199 (struct test_c_f_data): Likewise.
7200 (struct test_f_f1_data): Likewise. Remove field extra_name.
7201 (struct test_fF_f1_data): Likewise.
7202 (struct test_ffI_f1_data): Likewise.
7203 (struct test_c_c_data): Rename test_name field to arg_str.
7204 (struct test_cc_c_data): Likewise.
7205 (struct test_f_i_data): Likewise.
7206 (struct test_ff_i_data): Likewise.
7207 (struct test_f_l_data): Likewise.
7208 (struct test_f_L_data): Likewise.
7209 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7211 (COMMON_TEST_SETUP): New macro.
7212 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7213 (COMMON_TEST_CLEANUP): Likewise.
7214 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7215 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7217 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7218 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7220 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7221 (RUN_TEST_fff_f): Take argument string. Call new setup and
7223 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7224 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7226 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7227 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7229 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7230 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7232 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7233 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7235 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7236 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7238 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7239 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7241 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7242 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7244 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7245 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7247 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7248 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7250 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7251 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7253 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7254 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7256 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7257 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7259 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7260 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7262 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7263 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7265 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7266 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7268 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7270 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7272 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7273 to _sifields.sigfault.
7274 (si_addr_lsb): Define new macro.
7275 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7277 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7279 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7282 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7284 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7286 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7289 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7291 * math/gen-libm-test.pl (parse_args): Do not include expected
7292 result in test name.
7293 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7295 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7296 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7297 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7300 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7302 * benchtests/Makefile: Sort function entries.
7304 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7305 tanh, asinh, acosh, atanh.
7306 * benchtests/acos-inputs: New file.
7307 * benchtests/acosh-inputs: New file.
7308 * benchtests/asin-inputs: New file.
7309 * benchtests/asinh-inputs: New file.
7310 * benchtests/atanh-inputs: New file.
7311 * benchtests/cosh-inputs: New file.
7312 * benchtests/log-inputs: New file.
7313 * benchtests/sinh-inputs: New file.
7314 * benchtests/tanh-inputs: New file.
7316 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7319 * posix/tst-getaddrinfo4.c: New test.
7320 * posix/Makefile (tests): Add it.
7322 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7325 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7326 when no services were used.
7327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7328 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7330 2013-05-21 Andreas Schwab <schwab@suse.de>
7333 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7334 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7336 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7337 redundant variable declarations and reallocation of buffer when
7338 parsing as IPv6 address. Always set NSS status when called from
7339 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7340 buffer too small. Correct computation of needed size.
7341 * nss/Makefile (tests): Add test-digits-dots.
7342 * nss/test-digits-dots.c: New test.
7344 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7346 * benchtests/Makefile: Remove instructions for adding
7348 * benchtests/README: New file to explain how to execute and
7349 enhance the benchmark tests.
7351 2013-05-21 Andreas Schwab <schwab@suse.de>
7354 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7355 * setjmp/tst-sigsetjmp.c: New test.
7357 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7359 * sysdeps/x86_64/memset.S (memset): New implementation.
7360 (__bzero): Likewise.
7361 (__memset_tail): New function.
7363 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7365 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7366 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7367 __memcpy_sse2_unaligned ifunc selection.
7368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7369 Add memcpy-sse2-unaligned.S.
7370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7371 Add: __memcpy_sse2_unaligned.
7373 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7376 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7377 math_force_eval before restoring floating-point envrionment.
7378 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7381 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7383 (__nearbyintl): Use math_force_eval before restoring
7384 floating-point environment.
7385 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7387 * math/gen-libm-test.pl (special_functions): Remove.
7388 (parse_args): Don't handle TEST_extra. Handle functions with no
7390 * math/libm-test.inc (struct test_sincos_data): Replace with
7391 struct test_fFF_11_data.
7392 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7393 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7394 (sincos_test_data): Change element type to struct
7395 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7396 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7397 RUN_TEST_LOOP_sincos.
7398 * math/README.libm-test: Don't mention special handling of
7399 individual functions.
7400 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7401 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7402 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7403 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7404 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7407 * math/gen-libm-test.pl (get_variable): Remove function.
7408 (parse_args): Don't show pointer parameters to call in test
7409 names. Use "extra output N" in test names for extra outputs
7410 rather than naming variables.
7412 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7415 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7416 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7417 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7419 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7421 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7424 * math/gen-libm-test.pl (@tests): Remove variable.
7426 (new_test): Remove function.
7427 (show_exceptions): New function.
7428 (special_functions): Use show_exceptions instead of new_test.
7429 (parse_args): Likewise.
7430 (generate_testfile): Pass only function name in generated call to
7431 print_max_error or print_complex_max_error.
7432 (get_ulps): Do not handle complex tests specially.
7433 (output_test): Rename to ...
7434 (get_all_ulps_for_test): ... this. Return a string rather than
7435 printing to a file. Require ulps to be present.
7436 (output_ulps): Generate arrays rather than #defines.
7437 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7438 (struct ulp_data): New type.
7439 (BUILD_COMPLEX_ULP): Remove macro.
7440 (compare_ulp_data): New function.
7441 (find_ulps): Likewise.
7442 (find_test_ulps): Likewise.
7443 (find_function_ulps): Likewise.
7444 (find_complex_function_ulps): Likewise.
7445 (print_max_error): Determine allowed ulps using
7447 (print_complex_max_error): Determine allowed ulps using
7448 find_complex_function_ulps.
7449 (check_float_internal): Determine max ulps using find_test_ulps.
7450 (check_float): Do not take max_ulp parameter. Update call to
7451 check_float_internal.
7452 (check_complex): Likewise.
7453 (check_int): Do not take max_ulp parameter.
7454 (check_long): Likewise.
7455 (check_bool): Likewise.
7456 (check_longlong): Likewise.
7457 (struct test_f_f_data): Remove max_ulp field.
7458 (struct test_ff_f_data): Likewise.
7459 (struct test_ff_f_data_nexttoward): Likewise.
7460 (struct test_fi_f_data): Likewise.
7461 (struct test_fl_f_data): Likewise.
7462 (struct test_if_f_data): Likewise.
7463 (struct test_fff_f_data): Likewise.
7464 (struct test_c_f_data): Likewise.
7465 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7466 (struct test_fF_f1_data): Likewise.
7467 (struct test_ffI_f1_data): Likewise.
7468 (struct test_c_c_data): Remove max_ulp field.
7469 (struct test_cc_c_data): Likewise.
7470 (struct test_f_i_data): Likewise.
7471 (struct test_ff_i_data): Likewise.
7472 (struct test_f_l_data): Likewise.
7473 (struct test_f_L_data): Likewise.
7474 (struct test_sincos_data): Likewise.
7475 (RUN_TEST_f_f): Do not handle ulps.
7476 (RUN_TEST_LOOP_f_f): Likewise.
7477 (RUN_TEST_2_f): Likewise.
7478 (RUN_TEST_LOOP_2_f): Likewise.
7479 (RUN_TEST_fff_f): Likewise.
7480 (RUN_TEST_LOOP_fff_f): Likewise.
7481 (RUN_TEST_c_f): Likewise.
7482 (RUN_TEST_LOOP_c_f): Likewise.
7483 (RUN_TEST_f_f1): Likewise.
7484 (RUN_TEST_LOOP_f_f1): Likewise.
7485 (RUN_TEST_fF_f1): Likewise.
7486 (RUN_TEST_LOOP_fF_f1): Likewise.
7487 (RUN_TEST_fI_f1): Likewise.
7488 (RUN_TEST_LOOP_fI_f1): Likewise.
7489 (RUN_TEST_ffI_f1): Likewise.
7490 (RUN_TEST_LOOP_ffI_f1): Likewise.
7491 (RUN_TEST_c_c): Likewise.
7492 (RUN_TEST_LOOP_c_c): Likewise.
7493 (RUN_TEST_cc_c): Likewise.
7494 (RUN_TEST_LOOP_cc_c): Likewise.
7495 (RUN_TEST_f_i): Likewise.
7496 (RUN_TEST_LOOP_f_i): Likewise.
7497 (RUN_TEST_f_i_tg): Likewise.
7498 (RUN_TEST_LOOP_f_i_tg): Likewise.
7499 (RUN_TEST_ff_i_tg): Likewise.
7500 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7501 (RUN_TEST_f_b): Likewise.
7502 (RUN_TEST_LOOP_f_b): Likewise.
7503 (RUN_TEST_f_b_tg): Likewise.
7504 (RUN_TEST_LOOP_f_b_tg): Likewise.
7505 (RUN_TEST_f_l): Likewise.
7506 (RUN_TEST_LOOP_f_l): Likewise.
7507 (RUN_TEST_f_L): Likewise.
7508 (RUN_TEST_LOOP_f_L): Likewise.
7509 (RUN_TEST_sincos): Likewise.
7510 (RUN_TEST_LOOP_sincos): Likewise.
7512 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7516 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7517 main case of finite arguments, set rounding mode to FE_TONEAREST
7518 and discard exceptions.
7519 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7521 (remainder_tonearest_test_data): New variable.
7522 (remainder_test_tonearest): New function.
7523 (remainder_towardzero_test_data): New variable.
7524 (remainder_test_towardzero): New function.
7525 (remainder_downward_test_data): New variable.
7526 (remainder_test_downward): New function.
7527 (remainder_upward_test_data): New variable.
7528 (remainder_test_upward): New function.
7529 (main): Call the new test functions.
7531 * math/libm-test.inc (struct test_f_f1_data): Remove field
7533 (struct test_fF_f1_data): Likewise.
7534 (struct test_ffI_f1_data): Likewise.
7535 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7536 based on value of EXTRA_EXPECTED.
7537 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7538 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7539 EXTRA_VAR based on value of EXTRA_EXPECTED.
7540 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7541 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7542 EXTRA_VAR based on value of EXTRA_EXPECTED.
7543 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7544 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7545 EXTRA_VAR based on value of EXTRA_EXPECTED.
7546 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7547 * math/gen-libm-test.pl (parse_args): Don't output initializers
7548 for extra output values.
7550 * math/libm-test.inc (check_int): Expect result to be exactly
7551 equal to expected value and do not handle ulps.
7552 (check_long): Likewise.
7553 (check_longlong): Likewise.
7555 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7557 (cimag_test_data): Likewise.
7558 (conj_test_data): Likewise.
7559 (copysign_test_data): Likewise.
7560 (cproj_test_data): Likewise.
7561 (creal_test_data): Likewise.
7562 (fabs_test_data): Likewise.
7563 (fdim_test_data): Likewise.
7564 (finite_test_data): Likewise.
7565 (floor_test_data): Likewise.
7566 (fmax_test_data): Likewise.
7567 (fmin_test_data): Likewise.
7568 (fmod_test_data): Likewise.
7569 (fpclassify_test_data): Likewise.
7570 (frexp_test_data): Likewise.
7571 (ilogb_test_data): Likewise.
7572 (isfinite_test_data): Likewise.
7573 (isgreater_test_data): Likewise.
7574 (isgreaterequal_test_data): Likewise.
7575 (isinf_test_data): Likewise.
7576 (isless_test_data): Likewise.
7577 (islessequal_test_data): Likewise.
7578 (islessgreater_test_data): Likewise.
7579 (isnan_test_data): Likewise.
7580 (isnormal_test_data): Likewise.
7581 (issignaling_test_data): Likewise.
7582 (isunordered_test_data): Likewise.
7583 (ldexp_test_data): Likewise.
7584 (lrint_test_data): Likewise.
7585 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7586 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7587 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7588 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7589 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7590 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7592 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7593 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7594 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7595 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7597 (lrint_downward_test_data): Test for "inexact" exceptions.
7598 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7599 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7600 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7602 (lrint_upward_test_data): Test for "inexact" exceptions.
7603 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7605 (llrint_test_data): Test for "inexact" exceptions.
7606 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7607 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7608 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7609 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7610 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7611 (llrint_downward_test_data): Test for "inexact" exceptions.
7612 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7613 (llrint_upward_test_data): Test for "inexact" exceptions.
7614 (logb_test_data): Likewise.
7615 (logb_downward_test_data): Likewise.
7616 (nextafter_test_data): Likewise.
7617 (nexttoward_test_data): Likewise.
7618 (remainder_test_data): Likewise.
7619 (remquo_test_data): Likewise.
7620 (scalbn_test_data): Likewise.
7621 (scalbln_test_data): Likewise.
7622 (signbit_test_data): Likewise.
7623 (sqrt_test_data): Likewise.
7624 (significand_test_data): Likewise.
7626 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7629 * benchtests/bench-modf.c (struct args): Mark arg0 as
7631 * scripts/bench.pl: Mark members of struct args as volatile.
7633 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7636 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7637 negative infinity on POWER6 or lower.
7638 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7640 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7643 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7644 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7645 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7646 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7647 (_FP_SETQNAN): New macro.
7648 (_FP_SETQNAN_SEMIRAW): Likewise.
7649 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7650 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7651 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7652 (FP_EXTEND): Use _FP_FRAC_SNANP.
7653 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7654 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7656 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7658 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7661 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7663 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7664 with DIVIDE_BY_ZERO_EXCEPTION.
7665 (gamma_test_data): Likewise.
7666 (lgamma_test_data): Likewise.
7667 (log_test_data): Likewise.
7668 (log10_test_data): Likewise.
7669 (log2_test_data): Likewise.
7670 (tgamma_test_data): Likewise.
7672 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7673 (acos_test_tonearest): Likewise.
7674 (acos_test_towardzero): Likewise.
7675 (acos_test_downward): Likewise.
7676 (acos_test_upward): Likewise.
7677 (acosh_test): Likewise.
7678 (asin_test): Likewise.
7679 (asin_test_tonearest): Likewise.
7680 (asin_test_towardzero): Likewise.
7681 (asin_test_downward): Likewise.
7682 (asin_test_upward): Likewise.
7683 (asinh_test): Likewise.
7684 (atan_test): Likewise.
7685 (atanh_test): Likewise.
7686 (atan2_test): Likewise.
7687 (cabs_test): Likewise.
7688 (cacos_test): Likewise.
7689 (cacosh_test): Likewise.
7690 (casin_test): Likewise.
7691 (casinh_test): Likewise.
7692 (catan_test): Likewise.
7693 (catanh_test): Likewise.
7694 (cbrt_test): Likewise.
7695 (ccos_test): Likewise.
7696 (ccosh_test): Likewise.
7697 (cexp_test): Likewise.
7698 (clog_test): Likewise.
7699 (clog10_test): Likewise.
7700 (cos_test): Likewise.
7701 (cos_test_tonearest): Likewise.
7702 (cos_test_towardzero): Likewise.
7703 (cos_test_downward): Likewise.
7704 (cos_test_upward): Likewise.
7705 (cosh_test): Likewise.
7706 (cosh_test_tonearest): Likewise.
7707 (cosh_test_towardzero): Likewise.
7708 (cosh_test_downward): Likewise.
7709 (cosh_test_upward): Likewise.
7710 (cpow_test): Likewise.
7711 (csin_test): Likewise.
7712 (csinh_test): Likewise.
7713 (csqrt_test): Likewise.
7714 (ctan_test): Likewise.
7715 (ctan_test_tonearest): Likewise.
7716 (ctan_test_towardzero): Likewise.
7717 (ctan_test_downward): Likewise.
7718 (ctan_test_upward): Likewise.
7719 (ctanh_test): Likewise.
7720 (ctanh_test_tonearest): Likewise.
7721 (ctanh_test_towardzero): Likewise.
7722 (ctanh_test_downward): Likewise.
7723 (ctanh_test_upward): Likewise.
7724 (erf_test): Likewise.
7725 (erfc_test): Likewise.
7726 (exp_test): Likewise.
7727 (exp_test_tonearest): Likewise.
7728 (exp_test_towardzero): Likewise.
7729 (exp_test_downward): Likewise.
7730 (exp_test_upward): Likewise.
7731 (exp10_test): Likewise.
7732 (exp2_test): Likewise.
7733 (expm1_test): Likewise.
7734 (fmod_test): Likewise.
7735 (gamma_test): Likewise.
7736 (hypot_test): Likewise.
7737 (j0_test): Likewise.
7738 (j1_test): Likewise.
7739 (jn_test): Likewise.
7740 (lgamma_test): Likewise.
7741 (log_test): Likewise.
7742 (log10_test): Likewise.
7743 (log1p_test): Likewise.
7744 (log2_test): Likewise.
7745 (logb_test_downward): Likewise.
7746 (pow_test): Likewise.
7747 (pow_test_tonearest): Likewise.
7748 (pow_test_towardzero): Likewise.
7749 (pow_test_downward): Likewise.
7750 (pow_test_upward): Likewise.
7751 (remainder_test): Likewise.
7752 (remquo_test): Likewise.
7753 (sin_test): Likewise.
7754 (sin_test_tonearest): Likewise.
7755 (sin_test_towardzero): Likewise.
7756 (sin_test_downward): Likewise.
7757 (sin_test_upward): Likewise.
7758 (sincos_test): Likewise.
7759 (sinh_test): Likewise.
7760 (sinh_test_tonearest): Likewise.
7761 (sinh_test_towardzero): Likewise.
7762 (sinh_test_downward): Likewise.
7763 (sinh_test_upward): Likewise.
7764 (sqrt_test): Likewise.
7765 (tan_test): Likewise.
7766 (tan_test_tonearest): Likewise.
7767 (tan_test_towardzero): Likewise.
7768 (tan_test_downward): Likewise.
7769 (tan_test_upward): Likewise.
7770 (tanh_test): Likewise.
7771 (tgamma_test): Likewise.
7772 (y0_test): Likewise.
7773 (y1_test): Likewise.
7774 (yn_test): Likewise.
7776 * math/gen-libm-test.pl (adjust_arg): Remove function.
7777 (special_function): Remove argument $in_func. Only handle
7778 generating output for tables of tests, not inside functions.
7779 (parse_args): Likewise.
7780 (generate_testfile): Remove variable $in_func. Update call to
7782 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7783 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7784 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7785 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7786 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7787 (MAX_VALUE_INIT): Rename macro to max_value.
7788 (MIN_VALUE_INIT): Rename macro to min_value.
7789 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7790 (plus_zero): Remove variable.
7791 (minus_zero): Likewise.
7792 (plus_infty): Likewise.
7793 (minus_infty): Likewise.
7794 (qnan_value): Likewise.
7795 (max_value): Likewise.
7796 (min_value): Likewise.
7797 (min_subnorm_value): Likewise.
7799 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7801 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7802 uint64_t or uint32_t usage.
7803 * crypt/sha256-block.c: Likewise.
7804 * crypt/sha256-crypt.c: Likewise.
7805 * crypt/sha256.c: Likewise.
7806 * crypt/sha512-block.c: Likewise.
7807 * crypt/sha512-crypt.c: Likewise.
7808 * crypt/sha512.c: Likewise.
7809 * debug/backtrace-tst.c: Likewise.
7810 * debug/pcprofiledump.c: Likewise.
7811 * elf/cache.c: Likewise.
7812 * elf/dl-cache.c: Likewise.
7813 * elf/dl-misc.c: Likewise.
7814 * elf/dl-profile.c: Likewise.
7815 * elf/dl-support.c: Likewise.
7816 * elf/ldconfig.c: Likewise.
7817 * elf/sprof.c: Likewise.
7818 * iconv/dummy-repertoire.c: Likewise.
7819 * iconv/iconv_charmap.c: Likewise.
7820 * iconv/skeleton.c: Likewise.
7821 * iconvdata/8bit-generic.c: Likewise.
7822 * iconvdata/cp737.h: Likewise.
7823 * iconvdata/cp775.h: Likewise.
7824 * iconvdata/ibm1008.h: Likewise.
7825 * iconvdata/ibm1025.h: Likewise.
7826 * iconvdata/ibm1046.h: Likewise.
7827 * iconvdata/ibm1097.h: Likewise.
7828 * iconvdata/ibm1112.h: Likewise.
7829 * iconvdata/ibm1122.h: Likewise.
7830 * iconvdata/ibm1123.h: Likewise.
7831 * iconvdata/ibm1124.h: Likewise.
7832 * iconvdata/ibm1129.h: Likewise.
7833 * iconvdata/ibm1130.h: Likewise.
7834 * iconvdata/ibm1132.h: Likewise.
7835 * iconvdata/ibm1133.h: Likewise.
7836 * iconvdata/ibm1137.h: Likewise.
7837 * iconvdata/ibm1140.h: Likewise.
7838 * iconvdata/ibm1141.h: Likewise.
7839 * iconvdata/ibm1142.h: Likewise.
7840 * iconvdata/ibm1143.h: Likewise.
7841 * iconvdata/ibm1144.h: Likewise.
7842 * iconvdata/ibm1145.h: Likewise.
7843 * iconvdata/ibm1146.h: Likewise.
7844 * iconvdata/ibm1147.h: Likewise.
7845 * iconvdata/ibm1148.h: Likewise.
7846 * iconvdata/ibm1149.h: Likewise.
7847 * iconvdata/ibm1153.h: Likewise.
7848 * iconvdata/ibm1154.h: Likewise.
7849 * iconvdata/ibm1155.h: Likewise.
7850 * iconvdata/ibm1156.h: Likewise.
7851 * iconvdata/ibm1157.h: Likewise.
7852 * iconvdata/ibm1158.h: Likewise.
7853 * iconvdata/ibm1160.h: Likewise.
7854 * iconvdata/ibm1161.h: Likewise.
7855 * iconvdata/ibm1162.h: Likewise.
7856 * iconvdata/ibm1163.h: Likewise.
7857 * iconvdata/ibm1164.h: Likewise.
7858 * iconvdata/ibm1166.h: Likewise.
7859 * iconvdata/ibm1167.h: Likewise.
7860 * iconvdata/ibm12712.h: Likewise.
7861 * iconvdata/ibm1390.h: Likewise.
7862 * iconvdata/ibm1399.h: Likewise.
7863 * iconvdata/ibm16804.h: Likewise.
7864 * iconvdata/ibm4517.h: Likewise.
7865 * iconvdata/ibm4899.h: Likewise.
7866 * iconvdata/ibm4909.h: Likewise.
7867 * iconvdata/ibm4971.h: Likewise.
7868 * iconvdata/ibm5347.h: Likewise.
7869 * iconvdata/ibm803.h: Likewise.
7870 * iconvdata/ibm856.h: Likewise.
7871 * iconvdata/ibm901.h: Likewise.
7872 * iconvdata/ibm902.h: Likewise.
7873 * iconvdata/ibm9030.h: Likewise.
7874 * iconvdata/ibm9066.h: Likewise.
7875 * iconvdata/ibm921.h: Likewise.
7876 * iconvdata/ibm922.h: Likewise.
7877 * iconvdata/ibm9448.h: Likewise.
7878 * iconvdata/isiri-3342.h: Likewise.
7879 * iconvdata/jis0201.h: Likewise.
7880 * include/link.h: Likewise.
7881 * include/netdb.h: Likewise.
7882 * inet/check_native.c: Likewise.
7883 * inet/check_pf.c: Likewise.
7884 * inet/getipv4sourcefilter.c: Likewise.
7885 * inet/getnameinfo.c: Likewise.
7886 * inet/getsourcefilter.c: Likewise.
7887 * inet/htonl.c: Likewise.
7888 * inet/setipv4sourcefilter.c: Likewise.
7889 * inet/setsourcefilter.c: Likewise.
7890 * inet/test-inet6_opt.c: Likewise.
7891 * inet/tst-network.c: Likewise.
7892 * locale/C-collate.c: Likewise.
7893 * locale/C-ctype.c: Likewise.
7894 * locale/C-time.c: Likewise.
7895 * locale/C-translit.h: Likewise.
7896 * locale/loadarchive.c: Likewise.
7897 * locale/programs/3level.h: Likewise.
7898 * locale/programs/charmap.c: Likewise.
7899 * locale/programs/charmap.h: Likewise.
7900 * locale/programs/ld-address.c: Likewise.
7901 * locale/programs/ld-collate.c: Likewise.
7902 * locale/programs/ld-ctype.c: Likewise.
7903 * locale/programs/ld-identification.c: Likewise.
7904 * locale/programs/ld-measurement.c: Likewise.
7905 * locale/programs/ld-messages.c: Likewise.
7906 * locale/programs/ld-monetary.c: Likewise.
7907 * locale/programs/ld-name.c: Likewise.
7908 * locale/programs/ld-numeric.c: Likewise.
7909 * locale/programs/ld-paper.c: Likewise.
7910 * locale/programs/ld-telephone.c: Likewise.
7911 * locale/programs/ld-time.c: Likewise.
7912 * locale/programs/linereader.c: Likewise.
7913 * locale/programs/locale.c: Likewise.
7914 * locale/programs/locarchive.c: Likewise.
7915 * locale/programs/locfile.h: Likewise.
7916 * locale/programs/repertoire.c: Likewise.
7917 * locale/programs/simple-hash.c: Likewise.
7918 * locale/programs/simple-hash.h: Likewise.
7919 * malloc/memusage.c: Likewise.
7920 * malloc/memusagestat.c: Likewise.
7921 * nis/nis_defaults.c: Likewise.
7922 * nis/nis_hash.c: Likewise.
7923 * nis/nis_print.c: Likewise.
7924 * nis/nis_xdr.c: Likewise.
7925 * nscd/connections.c: Likewise.
7926 * nscd/hstcache.c: Likewise.
7927 * nscd/nscd_gethst_r.c: Likewise.
7928 * nscd/nscd_getserv_r.c: Likewise.
7929 * nscd/nscd_helper.c: Likewise.
7930 * nscd/servicescache.c: Likewise.
7931 * nss/makedb.c: Likewise.
7932 * nss/nss_db/db-XXX.c: Likewise.
7933 * nss/nss_db/db-initgroups.c: Likewise.
7934 * nss/nss_db/db-netgrp.c: Likewise.
7935 * nss/nss_files/files-network.c: Likewise.
7936 * nss/nss_files/files-parse.c: Likewise.
7937 * posix/bug-regex5.c: Likewise.
7938 * posix/fnmatch_loop.c: Likewise.
7939 * posix/regcomp.c: Likewise.
7940 * posix/regexec.c: Likewise.
7941 * posix/tst-rfc3484-2.c: Likewise.
7942 * posix/tst-rfc3484-3.c: Likewise.
7943 * posix/tst-rfc3484.c: Likewise.
7944 * resolv/nss_dns/dns-canon.c: Likewise.
7945 * resolv/nss_dns/dns-network.c: Likewise.
7946 * resolv/res_init.c: Likewise.
7947 * resolv/res_mkquery.c: Likewise.
7948 * resolv/tst-aton.c: Likewise.
7949 * stdlib/cxa_atexit.c: Likewise.
7950 * stdlib/cxa_finalize.c: Likewise.
7951 * stdlib/gen-fpioconst.c: Likewise.
7952 * stdlib/strtol_l.c: Likewise.
7953 * string/tst-endian.c: Likewise.
7954 * sunrpc/auth_des.c: Likewise.
7955 * sunrpc/clnt_udp.c: Likewise.
7956 * sunrpc/rtime.c: Likewise.
7957 * sunrpc/svcauth_des.c: Likewise.
7958 * sunrpc/xdr.c: Likewise.
7959 * sunrpc/xdr_intXX_t.c: Likewise.
7960 * sunrpc/xdr_rec.c: Likewise.
7961 * sysdeps/generic/ldconfig.h: Likewise.
7962 * sysdeps/generic/ldsodefs.h: Likewise.
7963 * sysdeps/generic/memusage.h: Likewise.
7964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7974 * sysdeps/posix/getaddrinfo.c: Likewise.
7975 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7976 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7977 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7978 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7979 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7980 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7981 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7982 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7983 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7985 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7986 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7987 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7988 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7989 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7990 * sysdeps/x86_64/dl-tls.h: Likewise.
7991 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7992 * time/alt_digit.c: Likewise.
7993 * time/era.c: Likewise.
7994 * wcsmbs/tst-c16c32-1.c: Likewise.
7996 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7998 * math/libm-test.inc (struct test_sincos_data): New type.
7999 (RUN_TEST_LOOP_sincos): New macro.
8000 (sincos_test_data): New variable.
8001 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8003 2013-05-16 Richard Henderson <rth@redhat.com>
8005 * math/atest-exp2.c (LIMB64): New macro.
8006 (CONSTSZ): New macro.
8007 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8009 (print_mpn_fp): ... to function scope.
8010 (read_mpn_hex): Remove.
8012 (exp2_mpn): Use mp_log2.
8013 (main): Use mp_exp1.
8015 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8017 * math/libm-test.inc: Remove comment about not testing "inexact"
8019 (INEXACT_EXCEPTION): New macro.
8020 (NO_INEXACT_EXCEPTION): Likewise.
8021 (INVALID_EXCEPTION_OK): Update value.
8022 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8023 (OVERFLOW_EXCEPTION_OK): Likewise.
8024 (UNDERFLOW_EXCEPTION_OK): Likewise.
8025 (IGNORE_ZERO_INF_SIGN): Likewise.
8026 (ERRNO_UNCHANGED): Likewise.
8027 (ERRNO_EDOM): Likewise.
8028 (ERRNO_ERANGE): Likewise.
8029 (test_exceptions): Handle testing "inexact" exceptions.
8030 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8031 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8032 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8033 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8035 (rint_towardzero_test_data): Likewise.
8036 (rint_downward_test_data): Likewise.
8037 (rint_upward_test_data): Likewise.
8039 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8040 with OVERFLOW_EXCEPTION.
8041 (exp10_test_data): Likewise.
8042 (exp2_test_data): Likewise.
8043 (expm1_test_data): Likewise.
8044 (lgamma_test_data): Likewise.
8045 (pow_test_data): Likewise.
8046 (tgamma_test_data): Likewise.
8047 (yn_test_data): Remove duplicate test of overflow.
8049 * math/libm-test.inc (struct test_cc_c_data): New type.
8050 (RUN_TEST_LOOP_cc_c): New macro.
8051 (cpow_test_data): New variable.
8052 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8054 * math/libm-test.inc (struct test_f_L_data): New type.
8055 (RUN_TEST_LOOP_f_L): New macro.
8056 (llrint_test_data): New variable.
8057 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8058 (llrint_tonearest_test_data): New variable.
8059 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8060 (llrint_towardzero_test_data): New variable.
8061 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8062 (llrint_downward_test_data): New variable.
8063 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8064 (llrint_upward_test_data): New variable.
8065 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8066 (llround_test_data): New variable.
8067 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8069 2013-05-13 Peter Collingbourne <pcc@google.com>
8071 * math/atest-exp2.c (get_log2): Remove const attribute.
8073 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8075 * math/libm-test.inc (struct test_f_l_data): New type.
8076 (RUN_TEST_LOOP_f_l): New macro.
8077 (lrint_test_data): New variable.
8078 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8079 (lrint_tonearest_test_data): New variable.
8080 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8081 (lrint_towardzero_test_data): New variable.
8082 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8083 (lrint_downward_test_data): New variable.
8084 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8085 (lrint_upward_test_data): New variable.
8086 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8087 (lround_test_data): New variable.
8088 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8090 2013-05-15 Peter Collingbourne <pcc@google.com>
8092 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8093 (EXTRACT_WORDS64) Use where appropriate.
8094 (INSERT_WORDS64) Likewise.
8096 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8097 constraints with x constraints.
8098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8100 * malloc/obstack.c (_obstack_compat): Add initializer.
8102 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8104 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8105 si_trapno and add si_addr_lsb to _sifields.sigfault.
8106 (si_trapno): Remove macro.
8107 (si_addr_lsb): Define new macro.
8108 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8110 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8112 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8113 instead of TEST_f_l.
8114 (llrint_test_tonearest): Likewise.
8115 (llrint_test_towardzero): Likewise.
8116 (llrint_test_downward): Likewise.
8117 (llrint_test_upward): Likewise.
8118 (llround_test): Likewise.
8120 * math/libm-test.inc (struct test_f_i_data): Add comment.
8121 (RUN_TEST_LOOP_f_b): New macro.
8122 (RUN_TEST_LOOP_f_b_tg): Likewise.
8123 (finite_test_data): New variable.
8124 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8125 (isfinite_test_data): New variable.
8126 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8127 (isinf_test_data): New variable.
8128 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8129 (isnan_test_data): New variable.
8130 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8131 (isnormal_test_data): New variable.
8132 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8133 (issignaling_test_data): New variable.
8134 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8135 (signbit_test_data): New variable.
8136 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8138 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8139 with INVALID_EXCEPTION.
8140 (acosh_test_data): Likewise.
8141 (asin_test_data): Likewise.
8142 (atanh_test_data): Likewise.
8143 (fmod_test_data): Likewise.
8144 (log_test_data): Likewise.
8145 (log10_test_data): Likewise.
8146 (log2_test_data): Likewise.
8147 (pow_test_data): Likewise.
8148 (sqrt_test_data): Likewise.
8149 (y0_test_data): Likewise.
8150 (y1_test_data): Likewise.
8151 (yn_test_data): Likewise.
8153 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8156 * math/libm-test.inc (struct test_ff_i_data): New type.
8157 (RUN_TEST_LOOP_ff_i_tg): New macro.
8158 (isgreater_test_data): New variable.
8159 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8160 (isgreaterequal_test_data): New variable.
8161 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8162 (isless_test_data): New variable.
8163 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8164 (islessequal_test_data): New variable.
8165 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8166 (islessgreater_test_data): New variable.
8167 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8168 (isunordered_test_data): New variable.
8169 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8171 2013-05-14 David S. Miller <davem@davemloft.net>
8173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8175 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8177 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8179 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8181 (struct test_f_i_data): Change type of max_ulp to int.
8183 * math/libm-test.inc (test_ffI_f1_data): New type.
8184 (RUN_TEST_LOOP_ffI_f1): New macro.
8185 (remquo_test_data): New variable.
8186 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8188 * setjmp/tst-setjmp-fp.c: New file.
8189 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8190 (link-libm): New variable.
8191 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8193 * math/libm-test.inc (struct test_f_i_data): New type.
8194 (RUN_TEST_LOOP_f_i): New macro.
8195 (RUN_TEST_LOOP_f_i_tg): Likewise.
8196 (fpclassify_test_data): New variable.
8197 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8198 (ilogb_test_data): New variable.
8199 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8201 * math/libm-test.inc (scalbln_test): Correct function name in END
8204 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8205 (RUN_TEST_LOOP_fI_f1): New macro.
8206 (frexp_test_data): New variable.
8207 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8209 * math/libm-test.inc (struct test_fF_f1_data): New type.
8210 (RUN_TEST_LOOP_fF_f1): New macro.
8211 (modf_test_data): New variable.
8212 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8214 * math/libm-test.inc (struct test_f_f1_data): New type.
8215 (RUN_TEST_LOOP_f_f1): New macro.
8216 (gamma_test_data): New variable.
8217 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8218 (lgamma_test_data): New variable.
8219 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8221 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8223 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8224 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8225 (main): Comment "tls" pseudo-hwcap.
8227 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8229 * math/libm-test.inc (struct test_fl_f_data): New type.
8230 (RUN_TEST_LOOP_fl_f): New variable.
8231 (scalbln_test_data): New variable.
8232 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8234 * math/libm-test.inc (struct test_fi_f_data): New type.
8235 (RUN_TEST_LOOP_fi_f): New macro.
8236 (ldexp_test_data): New variable.
8237 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8238 (scalbn_test_data): New variable.
8239 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8241 * math/libm-test.inc (struct test_c_f_data): New type.
8242 (RUN_TEST_LOOP_c_f): New macro.
8243 (cabs_test_data): New variable.
8244 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8245 (carg_test_data): New variable.
8246 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8247 (cimag_test_data): New variable.
8248 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8249 (creal_test_data): New variable.
8250 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8252 * math/libm-test.inc (struct test_if_f_data): New type.
8253 (RUN_TEST_LOOP_if_f): New macro.
8254 (jn_test_data): New variable.
8255 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8256 (yn_test_data): New variable.
8257 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8259 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8261 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8263 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8264 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8266 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8268 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8269 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8270 (bench-deps): Add bench-timing.h.
8271 * benchtests-bench-skeleton.c: Include bench-timing.h.
8272 (main): Use TIMING_* macros instead of clock_gettime.
8273 * benchtests/bench-timing.h: New file.
8276 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8277 Renamed from _LIB_VERSION.
8278 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8280 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8282 * math/libm-test.inc (struct test_fff_f_data): New type.
8283 (RUN_TEST_LOOP_fff_f): New macro.
8284 (fma_test_data): New variable.
8285 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8286 (fma_towardzero_test_data): New variable.
8287 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8288 (fma_downward_test_data): New variable.
8289 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8290 (fma_upward_test_data): New variable.
8291 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8293 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8294 (struct test_c_c_data): New type.
8295 (RUN_TEST_LOOP_c_c): New macro.
8296 (cacos_test_data): New variable.
8297 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8298 (cacosh_test_data): New variable.
8299 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8300 (casin_test_data): New variable.
8301 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8302 (casinh_test_data): New variable.
8303 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8304 (catan_test_data): New variable.
8305 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8306 (catanh_test_data): New variable.
8307 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8308 (ccos_test_data): New variable.
8309 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8310 (ccosh_test_data): New variable.
8311 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8312 (cexp_test_data): New variable.
8313 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8314 (clog_test_data): New variable.
8315 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8316 (clog10_test_data): New variable.
8317 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8318 (conj_test_data): New variable.
8319 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8320 (cproj_test_data): New variable.
8321 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8322 (csin_test_data): New variable.
8323 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8324 (csinh_test_data): New variable.
8325 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8326 (csqrt_test_data): New variable.
8327 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8328 (ctan_test_data): New variable.
8329 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8330 (ctan_tonearest_test_data): New variable.
8331 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8332 (ctan_towardzero_test_data): New variable.
8333 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8334 (ctan_downward_test_data): New variable.
8335 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8336 (ctan_upward_test_data): New variable.
8337 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8338 (ctanh_test_data): New variable.
8339 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8340 (ctanh_tonearest_test_data): New variable.
8341 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8342 (ctanh_towardzero_test_data): New variable.
8343 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8344 (ctanh_downward_test_data): New variable.
8345 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8346 (ctanh_upward_test_data): New variable.
8347 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8348 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8351 * math/libm-test.inc (struct test_ff_f_data): New type.
8352 (struct test_ff_f_data_nexttoward): Likewise.
8353 (RUN_TEST_LOOP_2_f): New macro.
8354 (RUN_TEST_LOOP_ff_f): Likewise.
8355 (atan2_test_data): New variable.
8356 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8357 (copysign_test_data): New variable.
8358 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8359 (fdim_test_data): New variable.
8360 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8361 (fmax_test_data): New variable.
8362 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8363 (fmin_test_data): New variable.
8364 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8365 (fmod_test_data): New variable.
8366 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8367 (hypot_test_data): New variable.
8368 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8369 (nextafter_test_data): New variable.
8370 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8371 (nexttoward_test_data): New variable.
8372 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8373 (pow_test_data): New variable.
8374 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8375 (pow_tonearest_test_data): New variable.
8376 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8377 (pow_towardzero_test_data): New variable.
8378 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8379 (pow_downward_test_data): New variable.
8380 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8381 (pow_upward_test_data): New variable.
8382 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8383 (remainder_test_data): New variable.
8384 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8385 (scalb_test_data): New variable.
8386 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8387 * sysdeps/i386/fpu/libm-test-ulps: Update.
8389 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8391 * math/libm-test.inc (fma_test): Use max_value instead of local
8393 (nextafter_test): Likewise.
8395 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8396 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8397 (acos_downward_test_data): New variable.
8398 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8399 (acos_upward_test_data): New variable.
8400 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8401 (acosh_test_data): New variable.
8402 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8403 (asin_test_data): New variable.
8404 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8405 (asin_tonearest_test_data): New variable.
8406 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8407 (asin_towardzero_test_data): New variable.
8408 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8409 (asin_downward_test_data): New variable.
8410 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8411 (asin_upward_test_data): New variable.
8412 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8413 (asinh_test_data): New variable.
8414 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8415 (atan_test_data): New variable.
8416 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8417 (atanh_test_data): New variable.
8418 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8419 (cbrt_test_data): New variable.
8420 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8421 (ceil_test_data): New variable.
8422 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8423 (cos_test_data): New variable.
8424 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8425 (cos_tonearest_test_data): New variable.
8426 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8427 (cos_towardzero_test_data): New variable.
8428 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8429 (cos_downward_test_data): New variable.
8430 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8431 (cos_upward_test_data): New variable.
8432 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8433 (cosh_test_data): New variable.
8434 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8435 (cosh_tonearest_test_data): New variable.
8436 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8437 (cosh_towardzero_test_data): New variable.
8438 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8439 (cosh_downward_test_data): New variable.
8440 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8441 (cosh_upward_test_data): New variable.
8442 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8443 (erf_test_data): New variable.
8444 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8445 (erfc_test_data): New variable.
8446 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8447 (exp_test_data): New variable.
8448 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8449 (exp_tonearest_test_data): New variable.
8450 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8451 (exp_towardzero_test_data): New variable.
8452 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8453 (exp_downward_test_data): New variable.
8454 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8455 (exp_upward_test_data): New variable.
8456 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8457 (exp10_test_data): New variable.
8458 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8459 (exp2_test_data): New variable.
8460 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8461 (expm1_test_data): New variable.
8462 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8463 (fabs_test_data): New variable.
8464 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8465 (floor_test_data): New variable.
8466 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8467 (j0_test_data): New variable.
8468 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8469 (j1_test_data): New variable.
8470 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8471 (log_test_data): New variable.
8472 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8473 (log10_test_data): New variable.
8474 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8475 (log1p_test_data): New variable.
8476 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8477 (log2_test_data): New variable.
8478 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8479 (logb_test_data): New variable.
8480 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8481 (logb_downward_test_data): New variable.
8482 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8483 (nearbyint_test_data): New variable.
8484 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8485 (rint_test_data): New variable.
8486 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8487 (rint_tonearest_test_data): New variable.
8488 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8489 (rint_towardzero_test_data): New variable.
8490 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8491 (rint_downward_test_data): New variable.
8492 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8493 (rint_upward_test_data): New variable.
8494 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8495 (round_test_data): New variable.
8496 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8497 (sin_test_data): New variable.
8498 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8499 (sin_tonearest_test_data): New variable.
8500 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8501 (sin_towardzero_test_data): New variable.
8502 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8503 (sin_downward_test_data): New variable.
8504 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8505 (sin_upward_test_data): New variable.
8506 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8507 (sinh_test_data): New variable.
8508 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8509 (sinh_tonearest_test_data): New variable.
8510 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8511 (sinh_towardzero_test_data): New variable.
8512 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8513 (sinh_downward_test_data): New variable.
8514 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8515 (sinh_upward_test_data): New variable.
8516 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8517 (sqrt_test_data): New variable.
8518 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8519 (tan_test_data): New variable.
8520 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8521 (tan_tonearest_test_data): New variable.
8522 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8523 (tan_towardzero_test_data): New variable.
8524 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8525 (tan_downward_test_data): New variable.
8526 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8527 (tan_upward_test_data): New variable.
8528 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8529 (tanh_test_data): New variable.
8530 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8531 (tgamma_test_data): New variable.
8532 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8533 (trunc_test_data): New variable.
8534 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8535 (y0_test_data): New variable.
8536 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8537 (y1_test_data): New variable.
8538 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8539 (significand_test_data): New variable.
8540 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8542 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8545 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8547 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8549 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8551 2013-05-10 Andreas Jaeger <aj@suse.de>
8554 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8555 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8557 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8559 * math/gen-libm-test.pl (adjust_arg): New function.
8560 (special_functions): Handle generating output in both functions
8562 (parse_args): Likewise.
8563 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8564 $in_func argument to parse_args.
8565 * math/libm-test.inc (struct test_f_f_data): New type.
8566 (IF_ROUND_INIT_): New macro.
8567 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8568 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8569 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8570 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8571 (ROUND_RESTORE_): Likewise.
8572 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8573 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8574 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8575 (ROUND_RESTORE_FE_UPWARD): Likewise.
8576 (RUN_TEST_LOOP_f_f): New macro.
8577 (acos_test_data): New variable.
8578 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8579 (acos_tonearest_test_data): New variable.
8580 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8582 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8584 * benchtests/bench-skeleton.c (startup): Fix coding style.
8586 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8589 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8590 negative infinity argument.
8591 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8592 negative infinity argument.
8593 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8594 negative infinity argument.
8595 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8598 2013-05-10 Florian Weimer <fweimer@redhat.com>
8600 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8601 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8602 * iconv/iconv_prog.c (main): Likewise.
8603 * locale/programs/charmap-dir.c (charmap_readdir)
8604 (fopen_uncompressed): Likewise.
8605 * locale/programs/locfile.c (siblings_uncached)
8606 (write_locale_data): Use lstat64 instead of lstat.
8607 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8610 2013-05-10 Andreas Jaeger <aj@suse.de>
8613 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8617 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8619 * elf/dl-close.c (_dl_close_worker): Add comments.
8621 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8624 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8626 (__ieee754_rem_pio2l): Update comments.
8629 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8631 (__ieee754_rem_pio2l): Update comments.
8633 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8634 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8636 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8639 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8640 (M_PI_34_LOG10El): Likewise.
8641 (M_PI2_LOG10El): Likewise.
8642 (M_PI4_LOG10El): Likewise.
8643 (M_PI_LOG10El): Likewise.
8645 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8649 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8651 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8652 (MINUS_ZERO_INIT): Likewise.
8653 (PLUS_INFTY_INIT): Likewise.
8654 (MINUS_INFTY_INIT): Likewise.
8655 (QNAN_VALUE_INIT): Likewise.
8656 (MAX_VALUE_INIT): Likewise.
8657 (MIN_VALUE_INIT): Likewise.
8658 (MIN_SUBNORM_VALUE_INIT): Likewise.
8659 (plus_zero): Initialize with PLUS_ZERO_INIT.
8660 (minus_zero): Initialize with MINUS_ZERO_INIT.
8661 (plus_infty): Initialize with PLUS_INFTY_INIT.
8662 (minus_infty): Initialize with MINUS_INFTY_INIT.
8663 (qnan_value): Initialize with QNAN_VALUE_INIT.
8664 (max_value): Initialize with MAX_VALUE_INIT.
8665 (min_value): Initialize with MIN_VALUE_INIT.
8666 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8668 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8669 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8670 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8671 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8673 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8674 (RUN_TEST_2_f): Likewise.
8675 (RUN_TEST_ff_f): Likewise.
8676 (RUN_TEST_fi_f): Likewise.
8677 (RUN_TEST_fl_f): Likewise.
8678 (RUN_TEST_fff_f): Likewise.
8679 (RUN_TEST_c_f): Likewise.
8680 (RUN_TEST_f_f1): Likewise.
8681 (RUN_TEST_fF_f1): Likewise.
8682 (RUN_TEST_fI_f1): Likewise.
8683 (RUN_TEST_ffI_f1): Likewise.
8684 (RUN_TEST_c_c): Likewise.
8685 (RUN_TEST_cc_c): Likewise.
8686 (RUN_TEST_f_i): Likewise.
8687 (RUN_TEST_f_i_tg): Likewise.
8688 (RUN_TEST_ff_i_tg): Likewise.
8689 (RUN_TEST_f_b): Likewise.
8690 (RUN_TEST_f_b_tg): Likewise.
8691 (RUN_TEST_f_l): Likewise.
8692 (RUN_TEST_f_L): Likewise.
8693 (RUN_TEST_sincos): Likewise.
8694 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8695 whether to show exceptions. Do not include ");\n" in return
8697 (special_functions): Output call to RUN_TEST_sincos instead of
8698 check_float calls. Update calls to new_test.
8699 (parse_args): Output call to single RUN_TEST_* macro instead of
8700 check_* calls and other assignments. Update calls to new_test.
8706 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8707 input to result for tgamma overflow.
8708 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8709 (gamma_coeff): New variable.
8710 (NCOEFF): New macro.
8711 (gamma_positive): New function.
8712 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8713 underflow here. Use gamma_positive instead of exp (lgamma) for
8715 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8716 (gamma_coeff): New variable.
8717 (NCOEFF): New macro.
8718 (gammaf_positive): New function.
8719 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8720 underflow here. Use gamma_positive instead of exp (lgamma) for
8722 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8723 (gamma_coeff): New variable.
8724 (NCOEFF): New macro.
8725 (gammal_positive): New function.
8726 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8727 underflow here. Use gamma_positive instead of exp (lgamma) for
8729 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8730 (gamma_coeff): New variable.
8731 (NCOEFF): New macro.
8732 (gammal_positive): New function.
8733 (__ieee754_gammal_r): Handle positive infinity, overflow and
8734 underflow here. Handle NaN the same as positive infinity. Remove
8735 check x < 0xffffffff for negative integers. Use gamma_positive
8736 instead of exp (lgamma) for other arguments.
8737 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8738 (gamma_coeff): New variable.
8739 (NCOEFF): New macro.
8740 (gammal_positive): New function.
8741 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8742 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8746 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8747 * sysdeps/generic/math_private.h (__gamma_productf): New
8749 (__gamma_product): Likewise.
8750 (__gamma_productl): Likewise.
8751 * math/Makefile (libm-calls): Add gamma_product.
8752 * math/libm-test.inc (tgamma_test): Add more tests.
8753 * sysdeps/i386/fpu/libm-test-ulps: Update.
8754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8758 * benchtests/bench-skeleton.c (main): Preheat CPU.
8760 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8762 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8764 2013-05-07 Roland McGrath <roland@hack.frob.com>
8766 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8767 and _dl_skip_args_internal.
8769 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8771 * manual/message.texi (Message Translation): Talk about users.
8772 Message to key mapping impacts design.
8774 2013-05-06 Roland McGrath <roland@hack.frob.com>
8776 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8778 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8780 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8781 * sysdeps/wordsize-64/glob64.c: ... here.
8783 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8784 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8787 * debug/getlogin_r_chk.c: Moved to ...
8788 * login/getlogin_r_chk.c: ... here.
8789 * debug/Makefile (routines): Move getlogin_r_chk to ...
8790 * login/Makefile (routines): ... here.
8791 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8792 * login/Versions (libc: GLIBC_2.4): ... here.
8794 * io/poll.c (__poll): Renamed from poll.
8795 Add libc_hidden_def.
8796 (poll): Define as weak alias.
8798 * debug/ptsname_r_chk.c: Moved to ...
8799 * login/ptsname_r_chk.c: ... here.
8800 * debug/Makefile (routines): Move ptsname_r_chk to ...
8801 * login/Makefile (routines): ... here.
8802 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8803 * login/Versions (libc: GLIBC_2.4): ... here.
8805 * posix/getlogin.c: Moved to ...
8806 * login/getlogin.c: ... here.
8807 * posix/getlogin_r.c: Moved to ...
8808 * login/getlogin_r.c: ... here.
8809 * posix/getlogin_r.c: Moved to ...
8810 * login/getlogin_r.c: ... here.
8811 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8812 * login/Makefile (routines): ... here.
8813 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8814 * login/Versions (libc: GLIBC_2.0): ... here.
8816 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8817 (setrlimit): Define as weak alias.
8819 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8820 Call __ names for open, ftruncate, and close.
8821 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8822 (truncate): Define as weak alias.
8824 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8826 * math/gen-libm-test.pl (parse_args): Initialize x before each
8827 test of frexp, modf and remquo.
8829 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8832 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8836 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8838 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8840 2013-05-06 Roland McGrath <roland@hack.frob.com>
8842 * elf/dl-writev.h: New file.
8843 * elf/dl-misc.c: Include it.
8844 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8845 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8847 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8849 * math/libm-test.inc (noXFails): Remove variable.
8850 (noXPasses): Likewise.
8851 (BUILD_COMPLEX_INT): Remove macro.
8852 (print_screen): Remove xfail argument.
8853 (print_screen_max_error): Likewise.
8854 (update_stats): Likewise.
8855 (print_max_error): Likewise. Update calls to other affected
8857 (print_complex_max_error): Likewise.
8858 (test_single_exception): Update calls to print_screen.
8859 (test_single_errno): Likewise.
8860 (check_float_internal): Remove xfail argument. Update calls to
8861 other affected functions.
8862 (check_float): Likewise.
8863 (check_complex): Likewise.
8864 (check_int): Likewise.
8865 (check_long): Likewise.
8866 (check_bool): Likewise.
8867 (check_longlong): Likewise.
8868 (main): Don't print noXFails and noXPasses.
8869 * math/gen-libm-test.pl (top level): Don't mention expected
8870 failure handling in comment.
8871 (new_test): Don't handle expected failures.
8872 (parse_args): Don't mention expected failure handling in comment.
8873 (generate_testfile): Don't handle expected failures.
8874 (parse_ulps): Likewise.
8875 (print_ulps_file): Likewise.
8876 (get_failure): Remove function.
8877 (output_test): Don't handle expected failures.
8878 * make/README.libm-test: Don't mention expected failure handling.
8880 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8881 (minus_zero): Likewise.
8882 (plus_infty): Likewise.
8883 (minus_infty): Likewise.
8884 (qnan_value): Likewise.
8885 (max_value): Likewise.
8886 (min_value): Likewise.
8887 (min_subnorm_value): Likewise.
8888 (initialize): Do not initialize those variables dynamically.
8890 2013-05-03 Roland McGrath <roland@hack.frob.com>
8892 * io/open.c (__open_2): Moved to ...
8893 * io/open_2.c: ... this new file.
8894 * io/open64.c (__open64_2): Moved to ...
8895 * io/open64_2.c: ... this new file.
8896 * io/openat.c (__openat_2): Moved to ...
8897 * io/openat_2.c: ... this new file.
8898 * io/openat64.c (__openat64_2): Moved to ...
8899 * io/openat64_2.c: ... this new file.
8900 * io/Makefile (routines): Add them.
8901 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8902 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8903 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8904 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8905 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8906 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8907 (__openat64): Add hidden_ver.
8908 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8909 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8911 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8912 Separately conditionalize setting of GLRO(dl_sysinfo) so
8913 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8914 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8916 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8918 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8919 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8921 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8922 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8923 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8924 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8925 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8927 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8929 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8932 * math/libm-test.inc (hypot_test): Do not use
8933 IGNORE_ZERO_INF_SIGN.
8935 2013-05-03 Andreas Jaeger <aj@suse.de>
8937 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8939 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8940 (PF_MAX): Adjust for VSOCK change.
8942 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8946 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8949 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8950 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8951 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8953 2013-05-02 David S. Miller <davem@davemloft.net>
8955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8957 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
8959 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8961 2013-05-01 Roland McGrath <roland@hack.frob.com>
8963 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8965 2013-05-01 Richard Smith <richard@metafoo.co.uk>
8968 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8969 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8970 Use __attribute__ ((__gnu_inline__)).
8971 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8972 Don't use __attribute__ ((__gnu_inline__)).
8974 2013-05-01 Joseph Myers <joseph@codesourcery.com>
8977 * math/s_catan.c (__catan): Handle small real or imaginary part of
8978 input specially to avoid spurious underflow.
8979 * math/s_catanf.c (__catanf): Likewise.
8980 * math/s_catanh.c (__catanh): Likewise.
8981 * math/s_catanhf.c (__catanhf): Likewise.
8982 * math/s_catanhl.c (__catanhl): Likewise.
8983 * math/s_catanl.c (__catanl): Likewise.
8984 * math/libm-test.inc (catan_test): Add more tests.
8985 (catanh_test): Likewise.
8986 * sysdeps/i386/fpu/libm-test-ulps: Update.
8987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8989 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8993 2013-04-30 Joseph Myers <joseph@codesourcery.com>
8996 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8997 accurately for denominator in atan2.
8998 * math/s_catanf.c (__catanf): Likewise.
8999 * math/s_catanh.c (__catanh): Likewise.
9000 * math/s_catanhf.c (__catanhf): Likewise.
9001 * math/s_catanhl.c (__catanhl): Likewise.
9002 * math/s_catanl.c (__catanl): Likewise.
9003 * math/libm-test.inc (catan_test): Add more tests.
9004 (catanh_test): Likewise.
9005 * sysdeps/i386/fpu/libm-test-ulps: Update.
9006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9010 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9012 * benchtests/Makefile (bench): Remove slow benchmarks.
9013 * benchtests/atan-inputs: Add slow benchmark inputs.
9014 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9015 (BENCH_FUNC): Accept variant offset.
9017 * benchtests/bench-skeleton.c (main): Run benchmark for each
9019 * benchtests/cos-inputs: Add slow benchmark inputs.
9020 * benchtests/exp-inputs: Likewise.
9021 * benchtests/pow-inputs: Likewise.
9022 * benchtests/sin-inputs: Likewise.
9023 * benchtests/slowatan-inputs: Remove.
9024 * benchtests/slowatan.c: Remove.
9025 * benchtests/slowcos-inputs: Remove.
9026 * benchtests/slowcos.c: Remove.
9027 * benchtests/slowexp-inputs: Remove.
9028 * benchtests/slowexp.c: Remove.
9029 * benchtests/slowpow-inputs: Remove.
9030 * benchtests/slowpow.c: Remove.
9031 * benchtests/slowsin-inputs: Remove.
9032 * benchtests/slowsin.c: Remove.
9033 * benchtests/slowtan-inputs: Remove.
9034 * benchtests/slowtan.c: Remove.
9035 * benchtests/tan-inputs: Add slow benchmark inputs.
9036 * scripts/bench.pl: Parse comments and directives.
9038 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9040 ($(objpfx)bench-%.c): Remove *-ITER.
9041 * benchtests/bench-modf.c: Remove definition of ITER.
9042 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9043 (main): Loop for DURATION seconds instead of fixed number of
9045 * scripts/bench.pl: Don't expect iterations in parameters.
9047 2013-04-29 Roland McGrath <roland@hack.frob.com>
9049 * io/fchdir.c (__fchdir): Renamed from fchdir.
9050 (fchdir): Define as weak alias.
9052 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9054 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9055 (ERRNO_EDOM): Likewise.
9056 (ERRNO_ERANGE): Likewise.
9057 (noErrnoTests): New variable.
9058 (init_max_error): Set errno to 0.
9059 (test_single_errno): New function.
9060 (test_errno): Likewise.
9061 (check_float_internal): Call test_errno. Set errno to 0.
9062 (check_complex): Refer to errno tests in comment.
9063 (check_int): Call test_errno. Set errno to 0.
9064 (check_long): Likewise.
9065 (check_bool): Likewise.
9066 (check_longlong): Likewise.
9067 (cos_test): Use ERRNO_* flags for errno tests instead of
9069 (expm1_test): Likewise.
9070 (fmod_test): Likewise.
9071 (ilogb_test): Likewise.
9072 (lgamma_test): Likewise.
9073 (pow_test): Likewise.
9074 (remainder_test): Likewise.
9075 (sin_test): Likewise.
9076 (tan_test): Likewise.
9077 (yn_test): Likewise.
9078 (initialize): Set errno to 0.
9079 (main): Print number of errno tests.
9080 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9082 2013-04-29 Andreas Jaeger <aj@suse.de>
9085 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9089 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9090 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9094 * stdlib/random.c (__initstate): Return NULL if
9098 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9099 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9102 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9106 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9108 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9109 of individual tests.
9110 (casin_test): Likewise.
9111 (casinh_test): Likewise.
9113 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9116 * math/s_catan.c (__catan): Handle arguments with large real or
9117 imaginary part separately without squaring.
9118 * math/s_catanf.c (__catanf): Likewise.
9119 * math/s_catanh.c (__catanh): Likewise.
9120 * math/s_catanhf.c (__catanhf): Likewise.
9121 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9123 (__catanhl): Handle arguments with large real or imaginary part
9124 separately without squaring.
9125 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9127 (__catanl): Handle arguments with large real or imaginary part
9128 separately without squaring.
9129 * math/libm-test.inc (catan_test): Add more tests.
9130 (catanh_test): Likewise.
9131 * sysdeps/i386/fpu/libm-test-ulps: Update.
9132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9134 2013-04-27 Andreas Jaeger <aj@suse.de>
9137 * stdlib/stdlib.h: Update guards for qecvt.
9138 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9141 2013-04-27 Allan McRae <allan@archlinux.org>
9143 * sysdeps/i386/fpu/libm-test-ulps: Update.
9145 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9148 * math/s_catan.c: Include <float.h>.
9149 (__catan): Ensure underflow exception occurs for underflowed
9151 * math/s_catanf.c: Include <float.h>.
9152 (__catanf): Ensure underflow exception occurs for underflowed
9154 * math/s_catanh.c: Include <float.h>.
9155 (__catanh): Ensure underflow exception occurs for underflowed
9157 * math/s_catanhf.c: Include <float.h>.
9158 (__catanhf): Ensure underflow exception occurs for underflowed
9160 * math/s_catanhl.c: Include <float.h>.
9161 (__catanhl): Ensure underflow exception occurs for underflowed
9163 * math/s_catanl.c: Include <float.h>.
9164 (__catanl): Ensure underflow exception occurs for underflowed
9166 * math/libm-test.inc (catan_test): Add more tests.
9167 (catanh_test): Likewise.
9170 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9172 * math/s_ccoshf.c (__ccoshf): Likewise.
9173 * math/s_ccoshl.c (__ccoshl): Likewise.
9174 * math/s_csin.c (__csin): Likewise.
9175 * math/s_csinf.c (__csinf): Likewise.
9176 * math/s_csinh.c (__csinh): Likewise.
9177 * math/s_csinhf.c (__csinhf): Likewise.
9178 * math/s_csinhl.c (__csinhl): Likewise.
9179 * math/s_csinl.c (__csinl): Likewise.
9180 * math/libm-test.inc (ccos_test): Add more tests.
9181 (ccosh_test): Likewise.
9182 (csin_test): Likewise.
9183 (csinh_test): Likewise.
9185 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9187 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9188 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9189 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9190 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9191 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9192 powerpc/power5+/fpu folders.
9193 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9196 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9200 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9202 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9203 additions to variable.
9204 [$(config-machine) = x86_64] (modules-names): Likewise.
9205 ($(objpfx)tst-audit3): Remove dependency.
9206 ($(objpfx)tst-audit3.out): Likewise.
9207 ($(objpfx)tst-audit4): Likewise.
9208 ($(objpfx)tst-audit4.out): Likewise.
9209 ($(objpfx)tst-audit5): Likewise.
9210 ($(objpfx)tst-audit5.out): Likewise.
9211 ($(objpfx)tst-audit6): Likewise.
9212 ($(objpfx)tst-audit6.out): Likewise.
9213 ($(objpfx)tst-audit7): Likewise.
9214 ($(objpfx)tst-audit7.out): Likewise.
9215 (tst-audit3-ENV): Remove variable.
9216 (tst-audit4-ENV): Likewise.
9217 (tst-audit5-ENV): Likewise.
9218 (tst-audit6-ENV): Likewise.
9219 (tst-audit7-ENV): Likewise.
9220 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9221 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9222 addition to variable.
9223 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9224 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9226 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9228 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9229 tst-audit3, tst-audit4 and tst-audit5.
9230 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9231 tst-audit6 and tst-audit7.
9232 [$(subdir) = elf] (modules-names): Add audit modules for those
9234 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9235 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9236 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9237 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9238 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9239 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9240 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9241 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9242 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9243 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9244 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9245 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9246 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9247 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9248 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9249 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9251 [$(subdir) = elf && $(config-cflags-avx) = yes]
9252 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9253 [$(subdir) = elf && $(config-cflags-avx) = yes]
9254 (CFLAGS-tst-auditmod4a.c): Likewise.
9255 [$(subdir) = elf && $(config-cflags-avx) = yes]
9256 (CFLAGS-tst-auditmod4b.c): Likewise.
9257 [$(subdir) = elf && $(config-cflags-avx) = yes]
9258 (CFLAGS-tst-auditmod6b.c): Likewise.
9259 [$(subdir) = elf && $(config-cflags-avx) = yes]
9260 (CFLAGS-tst-auditmod6c.c): Likewise.
9261 [$(subdir) = elf && $(config-cflags-avx) = yes]
9262 (CFLAGS-tst-auditmod7b.c): Likewise.
9263 * elf/tst-audit3.c: Move to ...
9264 * sysdeps/x86_64/tst-audit3.c: ... here.
9265 * elf/tst-audit4.c: Move to ...
9266 * sysdeps/x86_64/tst-audit4.c: ... here.
9267 * elf/tst-audit5.c: Move to ...
9268 * sysdeps/x86_64/tst-audit5.c: ... here.
9269 * elf/tst-audit6.c: Move to ...
9270 * sysdeps/x86_64/tst-audit6.c: ... here.
9271 * elf/tst-audit7.c: Move to ...
9272 * sysdeps/x86_64/tst-audit7.c: ... here.
9273 * elf/tst-auditmod3a.c: Move to ...
9274 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9275 * elf/tst-auditmod3b.c: Move to ...
9276 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9277 * elf/tst-auditmod4a.c: Move to ...
9278 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9279 * elf/tst-auditmod4b.c: Move to ...
9280 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9281 * elf/tst-auditmod5a.c: Move to ...
9282 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9283 * elf/tst-auditmod5b.c: Move to ...
9284 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9285 * elf/tst-auditmod6a.c: Move to ...
9286 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9287 * elf/tst-auditmod6b.c: Move to ...
9288 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9289 * elf/tst-auditmod6c.c: Move to ...
9290 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9291 * elf/tst-auditmod7a.c: Move to ...
9292 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9293 * elf/tst-auditmod7b.c: Move to ...
9294 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9296 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9299 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9300 define unconditionally.
9301 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9302 define unconditionally.
9303 (INT8_C, INT16_C, etc.): Likewise.
9305 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9307 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9308 __ehdr_start with hidden visibility.
9310 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9312 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9314 * math/libm-test.inc (cos_test): Use accurate hex constants.
9315 (sincost_test): Likewise.
9317 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9319 * math/libm-test.inc (catan_test): Add more tests.
9320 (catanh_test): Likewise.
9322 * math/s_catanf.c (__catanf): Use suffixed floating-point
9324 * math/s_catanhf.c (__catanhf): Likewise.
9325 * math/s_catanhl.c (__catanhl): Likewise.
9326 * math/s_catanl.c (__catanl): Likewise.
9329 * math/s_catan.c (__catan): Calculate imaginary part of result
9330 with log1p not log unless computing log of number close to 0.
9331 * math/s_catanf.c (__catanf): Likewise.
9332 * math/s_catanl.c (__catanl): Likewise.
9333 * math/s_catanh.c (__catanh): Calculate real part of result with
9334 log1p not log unless computing log of number close to 0.
9335 * math/s_catanhf.c (__catanhf): Likewise.
9336 * math/s_catanhl.c (__catanhl): Likewise.
9337 * math/libm-test.inc (catan_test): Add more tests.
9338 (catanh_test): Likewise.
9339 * sysdeps/i386/fpu/libm-test-ulps: Update.
9340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9342 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9344 * benchtests/Makefile: Mention files in which fast and slow
9345 paths of math functions are implemented.
9347 2013-04-23 Roland McGrath <roland@hack.frob.com>
9349 * sysdeps/posix/timespec_get.c: New file.
9351 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9353 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9355 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9357 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9358 powerpc/power5/fpu folders.
9359 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9360 * benchtests/Makefile: Add modf testcase.
9361 * benchtests/bench-modf.c: New file: Benchmark test for mo
9363 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9366 * time/Makefile (tests): Add tst-strptime-whitespace.
9367 * time/strptime_l.c (get_number): Use ISSPACE.
9368 (__strptime_internal): Likewise.
9369 * time/tst-strptime-whitespace.c: New test case.
9371 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9373 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9375 (_nss_files_init): Set it here.
9377 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9379 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9380 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9383 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9385 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9387 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9392 2013-04-21 David S. Miller <davem@davemloft.net>
9394 * po/ru.po: Update Russion translation from translation project.
9396 2013-04-17 Adam Conrad <adconrad@0c3.net>
9398 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9401 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9403 * configure.in: Remove i386 configure warning. Remove i386 case.
9404 * configure: Regenerate.
9405 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9406 Add example to error message.
9407 * sysdeps/i386/configure: Regenerate.
9409 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9411 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9413 * benchtests/cos-inputs: New file.
9414 * benchtests/slowcos-inputs: New file.
9415 * benchtests/slowcos.c: New file.
9416 * benchtests/slowtan-inputs: New file.
9417 * benchtests/slowtan.c: New file.
9418 * benchtests/tan-inputs: New file.
9420 2013-04-16 Roland McGrath <roland@hack.frob.com>
9422 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9425 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9427 * benchtests/Makefile: Include cppflags-iterator.mk to add
9428 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9430 * Makefile.in (bench-clean): New target.
9431 * benchtests/Makefile (bench-clean): Likewise.
9433 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9435 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9437 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9439 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9441 2013-04-15 Andreas Schwab <schwab@suse.de>
9443 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9445 * nscd/pwdcache.c (cache_addpw): Likewise.
9446 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9449 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9451 * benchtests/Makefile (bench): Write all output to
9452 bench-out.tmp together.
9454 2013-04-15 Andreas Schwab <schwab@suse.de>
9456 * nscd/nscd.c (main): Don't fork again after closing files.
9458 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9460 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9462 * benchtests/Rules (bench-deps): Collect dependencies into a
9463 single variable. Add Makefile to dependencies.
9464 ($(objpfx)bench-%.c): Depend on bench-deps.
9466 2013-04-12 Roland McGrath <roland@hack.frob.com>
9467 Xavier Roche <roche+kml2@exalead.com>
9470 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9471 just that it's a file descriptor.
9472 * manual/llio.texi (Synchronizing AIO Operations): Update description
9473 for EBADF error from aio_fsync.
9475 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9477 * Rules (bench): Move target definition...
9478 * benchtests/Makefile: ... here.
9480 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9482 * math/libm-test.inc (cos_test): Fix PI/2 test.
9483 (sincos_test): Likewise.
9484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9485 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9487 2013-04-11 Andreas Schwab <schwab@suse.de>
9490 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9491 accept exponent character only when digits were seen.
9492 * stdio-common/Makefile (tests): Add bug26.
9493 * stdio-common/bug26.c: New file.
9496 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9499 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9501 * Makeconfig (rtld-prefix): Define built linker prefix.
9502 * Rules (run-bench): Use it.
9503 * math/Makefile (run-regen-ulps): Likewise.
9505 * Rules (bench): Remove eval.
9507 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9508 Roland McGrath <roland@hack.frob.com>
9509 Ondrej Bilka <neleai@seznam.cz>
9512 * time/getdate.c: Include ctype.h and alloca.h.
9513 (__getdate_r): Trim leading and trailing spaces of input.
9514 * time/tst-getdate.c (tests): Add tests with leading and
9517 2013-04-08 Roland McGrath <roland@hack.frob.com>
9520 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9521 when computing value.
9523 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9525 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9526 Use testrun.sh to run libm tests.
9529 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9531 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9534 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9536 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9538 * Makefile.in (regen-ulps): New target.
9539 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9540 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9541 [ifneq (no,$(PERL)] (regen-ulps): New target.
9542 [ifeq (no,$(PERL)] (regen-ulps): New target.
9543 * math/libm-test.inc (ulps_file_name): Define.
9544 (output_dir): New variable.
9545 (options): Add "output-dir" option.
9546 (parse_opt): Handle 'o' case.
9547 (main): If output_dir is non-NULL use it as a prefix
9549 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9551 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9554 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9555 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9556 fail configure if __sync_val_compare_and_swap is not inlined.
9557 * sysdeps/i386/configure: Regenerate.
9558 * configure.in: Build for i686 when configured for i386.
9559 * configure: Regenerate.
9560 * README: Remove i386 reference.
9562 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9564 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9567 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9569 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9570 (lmsnanval): New variables.
9571 (F): Add conversion tests.
9572 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9573 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9575 * stdio-common/tstdiomisc.c (F): Properly collect individual
9579 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9580 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9581 Instead, use input NaN values or generate a qNaN by arithmetic
9582 operation. Also fix bugs to comply with the standard.
9583 * math/libm-test.inc (remainder_test): Add more tests.
9586 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9588 input NaN values or generate a qNaN by arithmetic operation.
9590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9593 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9596 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9599 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9601 * math/s_cexpf.c (__cexpf): Likewise.
9602 * math/s_cexpl.c (__cexpl): Likewise.
9603 * math/libm-test.inc (cexp_test): Add more tests.
9605 2013-04-03 Andreas Schwab <schwab@suse.de>
9608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9609 order arrays from heap if bigger than alloca cutoff.
9611 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9613 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9614 (SNAN_TESTS_double): Refer to GCC PR56831.
9615 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9618 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9620 * Rules (bench): Move bench.out after the run is complete.
9622 * Rules (bench): Echo currently running benchmark.
9624 * benchtests/Makefile (bench): Add atan and slowatan.
9625 * benchtests/atan-inputs: New file.
9626 * benchtests/slowatan-inputs: New file.
9627 * benchtests/slowatan.c: New file.
9629 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9634 * sysdeps/unix/sysv/linux/kernel-features.h
9635 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9636 __ASSUME_XFS_RESTRICTED_CHOWN.
9637 * sysdeps/unix/sysv/linux/pathconf.c
9638 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9639 Save and restore errno.
9641 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9644 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9645 arguments using __kernel_casinh.
9646 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9647 arguments using __kernel_casinhf.
9648 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9649 arguments using __kernel_casinhl.
9650 * math/libm-test.inc (cacosh_test): Add more tests.
9651 * sysdeps/i386/fpu/libm-test-ulps: Update.
9652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9654 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9656 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9657 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9659 * bench/Makefile (bench): Add sin and slowsin.
9660 * benchtests/sin-inputs: New file.
9661 * benchtests/slowsin-inputs: New file.
9662 * benchtests/slowsin.c: New file.
9664 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9665 (bench): Add slowexp and slowpow.
9666 (exp-ITER): Increase iterations.
9667 (pow-ITER): Likewise.
9668 * benchtests/exp-inputs: Change input.
9669 * benchtests/pow-inputs: Likewise.
9670 * benchtests/slowexp-inputs: New file.
9671 * benchtests/slowexp.c: New file.
9672 * benchtests/slowpow-inputs: New file.
9673 * benchtests/slowpow.c: New file.
9675 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9677 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9679 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9680 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9681 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9682 * benchtests/Makefile: Add rint benchtest.
9683 * benchtests/rint-inputs: Input for rint benchtest.
9685 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9687 * Versions.def (libm): Add GLIBC_2.18.
9688 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9689 hidden libm prototypes.
9690 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9691 * math/Makefile (libm-calls): Add s_issignaling.
9692 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9693 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9694 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9696 * math/math.h [__USE_GNU] (issignaling): New macro.
9697 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9698 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9699 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9703 * manual/arith.texi (issignaling): New section.
9704 * manual/libm-err-tab.pl (@all_functions): Update comment.
9705 * math/gen-libm-test.pl (parse_args): Apply special handling for
9707 * math/libm-test.inc (print_float, issignaling_test): New
9709 (check_float_internal): Add issignaling checks.
9710 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9712 * sysdeps/powerpc/math-tests.h: New file.
9713 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9715 * math/test-snan.c (TEST_FUNC): Likewise.
9717 2013-03-30 David S. Miller <davem@davemloft.net>
9719 * po/de.po: Update from translation team.
9721 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9724 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9725 imaginary part less than 1.0 and real part less than 0.5
9727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9729 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9730 (cacos_test): Add more tests.
9731 (casin_test): Likewise.
9732 (casinh_test): Likewise.
9733 * sysdeps/i386/fpu/libm-test-ulps: Update.
9734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9736 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9738 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9741 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9742 (__pow_mp): Replace ONE and MONE with their values.
9743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9744 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9746 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9747 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9748 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9750 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9752 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9753 (__pow_mp): Replace ZERO and MZERO with their values.
9754 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9756 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9758 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9759 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9762 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9764 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9766 2013-03-28 Roland McGrath <roland@hack.frob.com>
9768 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9769 Declare with __attribute__ ((weak)).
9770 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9771 Call __call_tls_dtors only if it's not NULL.
9773 2013-03-28 Roland McGrath <roland@hack.frob.com>
9775 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9776 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9777 magic __ehdr_start linker symbol if it's defined.
9778 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9779 them up here if it was already done.
9781 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9782 (_dl_aux_init): Use const in cast when setting it.
9783 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9784 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9785 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9787 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9789 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9790 * csu/libc-tls.c: Nor here.
9791 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9793 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9794 (__libc_message): Never call vsyslog.
9796 2013-03-28 Alan Modra <amodra@gmail.com>
9798 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9800 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9803 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9810 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9813 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9814 Don't add gid passed as argument.
9816 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9818 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9821 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9822 imaginary part between 1.0 and 1.5 and real part less than 0.5
9824 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9825 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9826 * math/libm-test.inc (cacos_test): Add more tests.
9827 (casin_test): Likewise.
9828 (casinh_test): Likewise.
9829 * sysdeps/i386/fpu/libm-test-ulps: Update.
9830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9832 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9834 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9838 (__dbl_mp): Likewise.
9839 (add_magnitudes): Likewise.
9840 (sub_magnitudes): Likewise.
9848 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9850 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9851 (__dubcos): Likewise.
9852 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9853 (__ieee754_acos): Likewise.
9854 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9857 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9860 (my_log2): Likewise.
9861 (checkint): Likewise.
9862 * sysdeps/ieee754/dbl-64/e_remainder.c
9863 (__ieee754_remainder): Likewise.
9864 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9865 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9867 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9869 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9870 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9871 MANTISSA_STORE_T to store computations on mantissa. Use
9872 macros for rounding and division.
9874 (__dbl_mp): Likewise.
9875 (add_magnitudes): Likewise.
9876 (sub_magnitudes): Likewise.
9879 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9880 powers of two in terms of TWOPOW macro.
9881 (mp_no): Make type of mantissa as MANTISSA_T.
9882 [!RADIXI]: Define RADIXI.
9883 [!TWO52]: Define TWO52.
9884 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9886 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9888 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9889 llroundl symbol when building for PPC32.
9891 2013-03-24 Mark H Weaver <mhw@netris.org>
9893 * manual/arith.texi (Normalization Functions): Fix prototypes for
9894 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9896 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9900 high value to check if expl overflow.
9901 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9902 to check for underflow and overflow.
9903 * math/libm-test.inc: Add exp test.
9905 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9908 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9911 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9913 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9916 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9918 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9919 wrap blocks consisting of several statements.
9921 * sysdeps/generic/math-tests.h: New file.
9922 * sysdeps/i386/fpu/math-tests.h: Likewise.
9923 * math/test-snan.c: Include it.
9924 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9926 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9929 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9930 (__ieee754_j0l): Do not improve calculations using cos of twice
9931 input for inputs above LDBL_MAX / 2.0L.
9932 (__ieee754_y0l): Likewise.
9933 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9934 (__ieee754_j1l): Do not improve calculations using cos of twice
9935 input for inputs above LDBL_MAX / 2.0L.
9936 (__ieee754_y1l): Likewise.
9937 * math/libm-test.inc (j0_test): Add another test.
9938 (j1_test): Likewise.
9939 (y0_test): Likewise.
9940 (y1_test): Likewise.
9941 * sysdeps/i386/fpu/libm-test-ulps: Update.
9943 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9945 * Rules ($(objpfx)bench-%.c): Include code from a C source
9948 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9951 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9952 imaginary part 1.0 and real part less than 0.5 specially.
9953 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9954 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9955 * math/libm-test.inc (cacos_test): Add more tests.
9956 (casin_test): Likewise.
9957 (casinh_test): Likewise.
9958 * sysdeps/i386/fpu/libm-test-ulps: Update.
9959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9961 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9963 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9964 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9966 2013-03-20 Joseph Myers <joseph@codesourcery.com>
9968 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9969 * config.make.in (config-cflags-sse4): Remove variable.
9970 (config-cflags-avx): Likewise.
9971 (config-cflags-sse2avx): Likewise.
9972 (config-cflags-novzeroupper): Likewise.
9973 (config-asflags-i686): Likewise.
9974 (have-mfma4): Likewise.
9975 (have-as-vis3): Likewise.
9977 * configure.in (MIG): Do not AC_SUBST.
9978 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9979 (libc_cv_cc_sse4): Do not AC_SUBST.
9980 (libc_cv_cc_avx): Likewise.
9981 (libc_cv_cc_sse2avx): Likewise.
9982 (libc_cv_cc_novzeroupper): Likewise.
9983 (libc_cv_cc_fma4): Likewise.
9984 (libc_cv_as_i686): Likewise.
9985 (libc_cv_sparc_as_vis3): Likewise.
9986 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9988 (config-asflags-i686): Likewise.
9989 (config-cflags-avx): Likewise.
9990 (config-cflags-sse2avx): Likewise.
9991 (have-mfma4): Likewise.
9992 (config-cflags-novzeroupper): Likewise.
9993 * sysdeps/mach/configure.in (MIG): Likewise.
9994 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9995 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9997 (config-cflags-avx): Likewise.
9998 (config-cflags-sse2avx): Likewise.
9999 (have-mfma4): Likewise.
10000 (config-cflags-novzeroupper): Likewise.
10001 * configure: Regenerated.
10002 * sysdeps/i386/configure: Likewise.
10003 * sysdeps/mach/configure: Likewise.
10004 * sysdeps/sparc/configure: Likewise.
10005 * sysdeps/x86_64/configure: Likewise.
10007 2013-03-20 Roland McGrath <roland@hack.frob.com>
10010 * locale/programs/localedef.c (options): Put N_ translation marker
10011 on argument names, not just descriptions.
10013 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10015 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10017 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10020 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10022 2013-03-19 Roland McGrath <roland@hack.frob.com>
10024 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10025 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10026 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10027 [!BEFORE_ABORT] (before_abort): New function.
10028 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10029 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10030 (writev_for_fatal): New function.
10031 (WRITEV_FOR_FATAL): New macro; call that.
10032 (backtrace_and_maps): New function.
10033 (BEFORE_ABORT): New macro; call that.
10034 (struct str_list): Type removed.
10035 (__libc_message, __libc_fatal): Functions removed.
10036 Include <sysdeps/posix/libc_fatal.c> instead.
10038 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10040 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10042 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10045 2013-03-19 Andreas Schwab <schwab@suse.de>
10047 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10048 * sysdeps/gnu/configure: Regenerate.
10050 * configure.in: Substitute libc_cv_rtlddir.
10051 * configure: Regenerate.
10052 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10053 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10054 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10055 * elf/Makefile (install-others, CFLAGS-interp.c)
10056 (ldso_install, common-ldd-rewrite): Likewise.
10057 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10058 $(inst_slibdir)/$(rtld-installed-name).
10059 * scripts/rellns-sh: Add -p option.
10060 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10063 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10065 * manual/nptl.texi: Renamed to ...
10066 * manual/threads.texi: ... this.
10067 * manual/Makefile (chapters): Update.
10069 2013-03-18 Roland McGrath <roland@hack.frob.com>
10072 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10073 on argument names, not just descriptions.
10074 * malloc/memusagestat.c (options): Likewise.
10075 * nss/getent.c (options): Likewise.
10077 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10080 * iconv/iconv_prog.c (options): Put N_ translation marker
10081 on argument names, not just descriptions.
10082 * iconv/iconvconfig.c (options): Likewise.
10084 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10086 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10087 implementation which is faster on all x86_64 architectures.
10088 Tested on AMD, Intel Nehalem, SNB, IVB.
10089 * sysdeps/x86_64/strnlen.S: Likewise.
10091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10092 Remove all multiarch strlen and strnlen versions.
10093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10094 Remove strlen and strnlen related parts.
10096 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10097 Inline strlen part.
10098 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10100 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10101 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10102 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10103 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10104 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10105 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10107 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10109 * manual/memory.texi (Malloc Tunable Parameters):
10110 Sort parameters alphabetically. Add comments for missing entries.
10112 2013-03-17 David S. Miller <davem@davemloft.net>
10114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10116 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10119 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10120 for arguments at most half maximum finite value.
10121 * math/libm-test.inc (j0_test): Add more tests.
10122 (j1_test): Likewise.
10123 (y0_test): Likewise.
10124 (y1_test): Likewise.
10125 * sysdeps/i386/fpu/libm-test-ulps: Update.
10126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10129 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10130 1 / x and functions P and Q for arguments above 0x1p256L.
10131 (__ieee754_y0l): Likewise.
10132 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10133 (__ieee754_y1l): Likewise.
10134 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10135 (j1_test): Likewise.
10136 (y0_test): Likewise.
10137 (y1_test): Likewise.
10139 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10141 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10144 2013-03-15 Roland McGrath <roland@hack.frob.com>
10146 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10147 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10148 zero since it's initialized to EXEC_PAGESIZE.
10150 * sysdeps/unix/sysv/linux/ldsodefs.h
10151 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10152 * sysdeps/generic/ldsodefs.h: ... here.
10154 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10156 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10158 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10160 * math/test-snan.c: Renamed from
10161 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10162 * math/Makefile (tests): Add test-snan.
10163 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10166 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10167 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10169 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10170 __builtin_nan family of functions.
10171 * math/libm-test.inc (initialize): Initialize qnan_value with
10172 __builtin_nan family of functions.
10173 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10175 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10177 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10178 storage class. Initialize qNaN_var and sNaN_var with
10179 __builtin_nan and __builtin_nans families of functions,
10182 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10183 (sqrt_test): Remove duplicate test with qNaN input.
10184 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10185 (round_test, signbit_test, significand_test): Note missing +/-Inf
10186 as well as qNaN tests.
10188 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10189 qNaN_var. Fix a few strings, too.
10190 * math/libm-test.inc (nan_value): Rename to qnan_value.
10191 * math/gen-libm-test.pl (%beautify): Adjust to that.
10192 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10193 * math/test-misc.c (main): Likewise.
10194 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10195 to __qnan_bytes, and __qnan_union, respectively.
10196 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10198 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10199 and lqnanval, respectively.
10200 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10201 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10202 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10203 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10205 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10206 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10209 * math/test-misc.c (main): Fix copy'n'pastos.
10210 * misc/tst-efgcvt.c (special): Likewise.
10212 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10213 Remove declarations.
10215 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10217 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10218 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10219 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10220 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10222 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10225 macro to return vdso values correctly in IFUNC implementations.
10226 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10227 Optimization by using IFUNC.
10229 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10230 Richard Henderson <rth@redhat.com>
10231 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10233 * Makefile.in (bench): New target.
10234 * NEWS: Mention the benchmark framework.
10235 * Rules (bench): Likewise.
10236 (binaries-bench): Generate binaries for functions to
10238 * benchtests/Makefile: New makefile for benchmark tests.
10239 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10241 * benchtests/exp-inputs: New input file for EXP function.
10242 * benchtests/pow-inputs: New input file for POW function.
10243 * scripts/bench.pl: New script to generate source files for
10244 benchmark programs.
10246 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10248 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10249 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10250 computations on mantissa. Use macros for rounding and
10252 (denorm): Likewise.
10253 (__dbl_mp): Likewise.
10254 (add_magnitudes): Likewise.
10255 (sub_magnitudes): Likewise.
10258 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10259 powers of two in terms of TWOPOW macro.
10260 (mp_no): Make type of mantissa as MANTISSA_T.
10261 [!RADIXI]: Define RADIXI.
10262 [!TWO52]: Define TWO52.
10263 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10265 * manual/nptl.texi (cindex): Modify threads to pthreads.
10267 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10269 * sysdeps/x86_64/preconfigure: Regenerated.
10271 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10274 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10276 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10277 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10279 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10280 * math/libm-test.inc (j0_test): Do not allow one spurious
10281 underflow exception.
10282 (y1_test): Likewise.
10284 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10286 * manual/Makefile (chapters): Add nptl.
10287 * manual/debug.texi (Debugging Support): Add link to Threads
10289 * manual/nptl.texi: New file.
10291 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10293 2013-03-14 Petr Baudis <pasky@ucw.cz>
10295 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10296 for non-NULL pointer before the memory validity test. Pointed
10297 out by Holger Brunck <holger.brunck@keymile.com>.
10299 2013-03-13 Andreas Schwab <schwab@suse.de>
10301 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10304 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10306 * timezone/zic.c: Update from tzcode 2013b.
10308 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10310 * manual/install.texi (Configuring and compiling):
10311 Mention i686 and i586.
10312 * INSTALL: Regenerate.
10314 2013-03-12 Roland McGrath <roland@hack.frob.com>
10316 * sysdeps/init_array/elf-init.c: New file.
10318 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10319 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10321 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10322 __gmon_start__ as global, but as static with a .preinit_array pointer.
10323 * sysdeps/init_array/gmon-start.c: New file. Use that.
10324 * sysdeps/init_array/crti.S: New file, empty except for comments.
10325 * sysdeps/init_array/crtn.S: Likewise.
10327 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10329 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10332 Remove Prefer_SSE_for_memop.
10333 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10334 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10335 HAS_PREFER_SSE_FOR_MEMOP.
10336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10339 Remove bzero, memset ifunc support.
10340 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10341 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10342 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10343 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10345 2013-03-11 Andreas Schwab <schwab@suse.de>
10348 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10351 (GLIBC_2.16): Remove pthread_atfork.
10353 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10355 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10356 (ptestcases.h): Likewise.
10358 2013-03-08 Roland McGrath <roland@hack.frob.com>
10360 * Makeconfig ($(common-objpfx)config.status): Depend on
10361 sysdeps/*/preconfigure{,.in} too.
10363 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10365 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10366 (__free_hook): Use void * instead of __malloc_ptr_t.
10367 (__malloc_hook): Likewise.
10368 (__realloc_hook): Likewise.
10369 (__memalign_hook): Likewise.
10370 (__after_morecore_hook): Likewise.
10371 * malloc/arena.c (save_malloc_hook): Likewise.
10372 (save_free_hook): Likewise.
10373 * malloc/hooks.c (malloc_hook_ini): Likewise.
10374 (realloc_hook_ini): Likewise.
10375 (memalign_hook_ini): Likewise.
10376 * malloc/malloc.c (malloc_hook_ini): Likewise.
10377 (realloc_hook_ini): Likewise.
10378 (memalign_hook_ini): Likewise.
10379 (__free_hook): Likewise.
10380 (__malloc_hook): Likewise.
10381 (__realloc_hook): Likewise.
10382 (__memalign_hook): Likewise.
10383 (__libc_malloc): Likewise.
10384 (__libc_free): Likewise.
10385 (__libc_realloc): Likewise.
10386 (__libc_memalign): Likewise.
10387 (__libc_valloc): Likewise.
10388 (__libc_pvalloc): Likewise.
10389 (__libc_calloc): Likewise.
10390 (__posix_memalign): Likewise.
10391 * malloc/morecore.c (__sbrk): Likewise.
10392 (__default_morecore): Likewise.
10394 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10396 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10397 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10398 __malloc_ptrdiff_t.
10400 * malloc/malloc.h (__malloc_size_t): Remove macro.
10401 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10403 (old_memalign_hook): Likewise.
10404 (old_realloc_hook): Likewise.
10405 (struct hdr): Likewise.
10407 (mallochook): Likewise.
10408 (memalignhook): Likewise.
10409 (reallochook): Likewise.
10410 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10411 (tr_old_realloc_hook): Likewise.
10412 (tr_old_memalign_hook): Likewise.
10413 (tr_mallochook): Likewise.
10414 (tr_reallochook): Likewise.
10415 (tr_memalignhook): Likewise.
10417 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10420 default_ldbl_pack and using as default implementation.
10421 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10423 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10424 redundant definition.
10425 (ldbl_insert_mantissa): Likewise.
10426 (ldbl_canonicalize): Likewise.
10427 (ldbl_nearbyint): Likewise.
10428 (ldbl_pack): Rename to ldbl_pack_ppc.
10429 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10430 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10431 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10433 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10436 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10437 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10438 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10440 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10441 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10442 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10444 2013-03-07 Andreas Jaeger <aj@suse.de>
10446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10449 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10451 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10452 Include mpa.h and declare __MPEXP.
10453 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10454 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10455 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10456 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10457 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10458 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10459 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10461 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10462 (__slowpow): Use long double EXPL and LOGL functions to
10464 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10465 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10466 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10467 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10468 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10469 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10472 intermediate variable to calculate exponent.
10474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10478 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10479 [!NO__SQR]: Define __sqr.
10480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10481 and NO__SQR. Remove all code except __mul and __sqr. Include
10482 sysdeps/ieee754/dbl-64/mpa.c.
10483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10486 * posix/Makefile (tests): Add tst-pathconf.
10487 * posix/tst-pathconf.c: New test case.
10488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10490 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10492 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10494 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10496 2013-03-06 Andreas Jaeger <aj@suse.de>
10498 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10499 definition via __MAP_ANONYMOUS.
10501 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10502 it's not part of Linux headers.
10504 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10505 (MAP_HUGE_MASK): Define.
10507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10509 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10512 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10513 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10515 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10518 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10520 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10521 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10522 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10523 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10524 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10525 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10530 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10531 Handle f2fs and efivarfs.
10533 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10536 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10537 (EFIVARFS_MAGIC): Add.
10538 (F2FS_LINK_MAX): Add.
10540 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10542 * stdio-common/vfprintf.c: Replace __builtin_expect with
10545 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10548 * sysdeps/generic/bp-sym.h: Remove file.
10549 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10550 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10551 <bp-sym.h> and <bp-asm.h>.
10552 (__longjmp): Don't use BP_SYM.
10553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10555 (memcpy): Don't use BP_SYM.
10556 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10557 <bp-sym.h> and <bp-asm.h>.
10558 (memcpy): Don't use BP_SYM.
10559 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10561 (memcpy): Don't use BP_SYM.
10562 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10564 (memset): Don't use BP_SYM.
10565 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10566 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10567 (__bzero): Don't use BP_SYM.
10568 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10569 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10570 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10571 <bp-sym.h> and <bp-asm.h>.
10572 (memcmp): Don't use BP_SYM. Remove comment about bounded
10574 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10575 <bp-sym.h> and <bp-asm.h>.
10576 (memcpy): Don't use BP_SYM.
10577 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10578 <bp-sym.h> and <bp-asm.h>.
10579 (memset): Don't use BP_SYM.
10580 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10581 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10582 (__bzero): Don't use BP_SYM.
10583 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10584 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10586 <bp-sym.h> and <bp-asm.h>.
10587 (strncmp): Don't use BP_SYM. Remove comment about bounded
10589 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10590 <bp-sym.h> and <bp-asm.h>.
10591 (memcpy): Don't use BP_SYM.
10592 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10593 <bp-sym.h> and <bp-asm.h>.
10594 (memset): Don't use BP_SYM.
10595 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10596 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10597 (__bzero): Don't use BP_SYM.
10598 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10599 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10600 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10601 <bp-sym.h> and <bp-asm.h>.
10602 (__memchr): Don't use BP_SYM.
10603 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10604 <bp-sym.h> and <bp-asm.h>.
10605 (memcmp): Don't use BP_SYM. Remove comment about bounded
10607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10608 <bp-sym.h> and <bp-asm.h>.
10609 (memcpy): Don't use BP_SYM.
10610 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10611 <bp-sym.h> and <bp-asm.h>.
10612 (__mempcpy): Don't use BP_SYM.
10613 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10614 <bp-sym.h> and <bp-asm.h>.
10615 (__memrchr): Don't use BP_SYM.
10616 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10617 <bp-sym.h> and <bp-asm.h>.
10618 (memset): Don't use BP_SYM.
10619 (__bzero): Likewise.
10620 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10621 <bp-sym.h> and <bp-asm.h>.
10622 (__rawmemchr): Don't use BP_SYM.
10623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10624 <bp-sym.h> and <bp-asm.h>.
10625 (__STRCMP): Don't use BP_SYM.
10626 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10627 <bp-sym.h> and <bp-asm.h>.
10628 (strchr): Don't use BP_SYM.
10629 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10630 <bp-sym.h> and <bp-asm.h>.
10631 (__strchrnul): Don't use BP_SYM.
10632 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10633 <bp-sym.h> and <bp-asm.h>.
10634 (strlen): Don't use BP_SYM.
10635 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10636 <bp-sym.h> and <bp-asm.h>.
10637 (strncmp): Don't use BP_SYM. Remove comment about bounded
10639 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10640 <bp-sym.h> and <bp-asm.h>.
10641 (__strnlen): Don't use BP_SYM.
10642 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10643 <bp-sym.h> and <bp-asm.h>.
10644 (__GI__setjmp): Don't use BP_SYM.
10645 (_setjmp): Likewise.
10646 (__sigsetjmp): Likewise.
10647 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10648 (L(start_addresses)): Don't use BP_SYM.
10649 (_start): Likewise.
10650 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10652 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10653 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10654 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10655 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10656 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10658 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10659 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10660 about bounded pointers.
10661 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10662 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10663 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10665 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10666 about bounded pointers. Remove GKM FIXME comments.
10667 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10668 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10670 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10671 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10672 Remove GKM FIXME comments.
10673 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10674 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10675 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10677 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10678 about bounded pointers. Remove GKM FIXME comment.
10679 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10681 (strncmp): Don't use BP_SYM. Remove comment about bounded
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10684 <bp-sym.h> and <bp-asm.h>.
10685 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10687 <bp-sym.h> and <bp-asm.h>.
10688 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10691 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10693 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10696 2013-03-05 David S. Miller <davem@davemloft.net>
10698 * po/es.po: Update from translation team.
10700 2013-03-05 Andreas Jaeger <aj@suse.de>
10702 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10703 <bits/mman-linux.h>.
10704 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10706 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10707 <bits/mman-linux.h> to end of file.
10708 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10710 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10711 <bits/mman-linux.h> to end of file.
10712 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10715 <bits/mman-linux.h> to end of file.
10717 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10718 (MCL_CURRENT, MCL_FUTURE): Define here.
10720 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10725 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10727 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10729 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10730 fourth parameter needed for rt_sigprocmask syscall.
10731 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10732 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10733 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10734 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10735 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10736 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10738 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10741 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10742 comment about bounded pointers.
10743 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10744 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10746 2013-03-04 Andreas Jaeger <aj@suse.de>
10748 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10749 common definitions.
10751 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10752 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10753 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10754 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10758 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10761 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10762 __ieee754_sqrl instead of __sqrl.
10764 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10766 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10767 * sysdeps/powerpc/fpu_control.h: ... here.
10768 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10769 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10770 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10771 * sysdeps/powerpc/bits/mathinline.h: ... here.
10773 2013-03-01 Roland McGrath <roland@hack.frob.com>
10775 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10776 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10777 to just [NEED_DL_SYSINFO_DSO].
10778 * elf/dl-support.c: Likewise.
10779 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10780 * elf/rtld.c (dl_main): Likewise.
10781 * elf/setup-vdso.h (setup_vdso): Likewise.
10782 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10783 * sysdeps/unix/sysv/linux/dl-sysdep.c
10784 (_dl_discover_osversion): Likewise.
10786 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10788 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10789 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10791 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10793 * NEWS: Mention libm performance improvements and non-x86 PI
10796 * csu/libc-start.c (__pthread_initialize_minimal): Change
10797 function arguments.
10798 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10800 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10803 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10804 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10805 <bp-sym.h> and <bp-asm.h>.
10806 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10807 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10809 (memcpy): Don't use BP_SYM.
10810 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10812 (__mpn_add_n): Don't use BP_SYM.
10813 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10814 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10816 (__mpn_addmul_1): Don't use BP_SYM.
10817 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10818 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10820 (_setjmp): Don't use BP_SYM.
10821 (__novmx_setjmp): Likewise.
10822 (__GI__setjmp): Likewise.
10823 (__vmx_setjmp): Likewise.
10824 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10826 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10827 (__bzero): Don't use BP_SYM.
10828 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10829 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10830 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10831 <bp-sym.h> and <bp-asm.h>.
10832 (memcpy): Don't use BP_SYM.
10833 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10834 <bp-sym.h> and <bp-asm.h>.
10835 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10836 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10837 <bp-sym.h> and <bp-asm.h>.
10838 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10839 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10841 (__mpn_lshift): Don't use BP_SYM.
10842 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10843 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10845 (memset): Don't use BP_SYM.
10846 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10847 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10848 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10850 (__mpn_mul_1): Don't use BP_SYM.
10851 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10852 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10853 <bp-sym.h> and <bp-asm.h>.
10854 (memcmp): Don't use BP_SYM.
10855 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10856 <bp-sym.h> and <bp-asm.h>.
10857 (memcpy): Don't use BP_SYM.
10858 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10859 <bp-sym.h> and <bp-asm.h>.
10860 (memset): Don't use BP_SYM.
10861 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10862 <bp-sym.h> and <bp-asm.h>.
10863 (strncmp): Don't use BP_SYM.
10864 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10865 <bp-sym.h> and <bp-asm.h>.
10866 (memcpy): Don't use BP_SYM.
10867 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10868 <bp-sym.h> and <bp-asm.h>.
10869 (memset): Don't use BP_SYM.
10870 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10871 <bp-sym.h> and <bp-asm.h>.
10872 (__memchr): Don't use BP_SYM.
10873 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10874 <bp-sym.h> and <bp-asm.h>.
10875 (memcmp): Don't use BP_SYM.
10876 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10877 <bp-sym.h> and <bp-asm.h>.
10878 (memcpy): Don't use BP_SYM.
10879 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10880 <bp-sym.h> and <bp-asm.h>.
10881 (__mempcpy): Don't use BP_SYM.
10882 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10883 <bp-sym.h> and <bp-asm.h>.
10884 (__memrchr): Don't use BP_SYM.
10885 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10886 <bp-sym.h> and <bp-asm.h>.
10887 (memset): Don't use BP_SYM.
10888 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10889 <bp-sym.h> and <bp-asm.h>.
10890 (__rawmemchr): Don't use BP_SYM.
10891 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10892 <bp-sym.h> and <bp-asm.h>.
10893 (__STRCMP): Don't use BP_SYM.
10894 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10895 <bp-sym.h> and <bp-asm.h>.
10896 (strchr): Don't use BP_SYM.
10897 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10898 <bp-sym.h> and <bp-asm.h>.
10899 (__strchrnul): Don't use BP_SYM.
10900 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10901 <bp-sym.h> and <bp-asm.h>.
10902 (strlen): Don't use BP_SYM.
10903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10904 <bp-sym.h> and <bp-asm.h>.
10905 (strncmp): Don't use BP_SYM.
10906 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10907 <bp-sym.h> and <bp-asm.h>.
10908 (__strnlen): Don't use BP_SYM.
10909 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10911 (__mpn_rshift): Don't use BP_SYM.
10912 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10913 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10914 <bp-sym.h> and <bp-asm.h>.
10915 (__sigsetjmp): Don't use BP_SYM.
10916 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10917 (L(start_addresses)): Don't use BP_SYM.
10918 (_start): Likewise.
10919 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10921 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10922 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10923 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10924 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10926 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10927 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10928 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10929 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10931 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10933 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10934 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10936 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10938 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10939 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10940 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10942 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10944 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10946 (strncmp): Don't use BP_SYM,
10947 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10949 (__mpn_sub_n): Don't use BP_SYM.
10950 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10951 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10953 (__mpn_submul_1): Don't use BP_SYM.
10954 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10956 <bp-sym.h> and <bp-asm.h>.
10957 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10959 <bp-sym.h> and <bp-asm.h>.
10960 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10963 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10966 Use ZK to minimize writes to Z.
10967 (sub_magnitudes): Simplify code a bit.
10968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10969 Use ZK to minimize writes to Z.
10970 (sub_magnitudes): Simplify code a bit.
10972 2013-02-27 Roland McGrath <roland@hack.frob.com>
10974 * csu/gmon-start.c: Add special exception to license text.
10976 2013-02-27 Richard Henderson <rth@redhat.com>
10978 * scripts/config.guess: Update from config.git.
10979 * scripts/config.sub: Likewise.
10981 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10983 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10985 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10987 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10989 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10991 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10993 2013-02-26 Roland McGrath <roland@hack.frob.com>
10995 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10996 [$(build-shared = yes].
10998 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11000 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11001 (__mul): Reduce iterations for calculating mantissa.
11003 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11005 (__mpranred): Likewise.
11008 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11009 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11011 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11013 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11014 Define __attribute__.
11016 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11018 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11020 * posix/regex_internal.h (__attribute): Remove.
11021 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11022 (re_string_context_at): Likewise.
11023 (bitset_not): Use __attribute__ and mark function as possibly
11025 (bitset_merge): Likewise.
11026 (bitset_mask): Likewise.
11027 (re_string_char_size_at): Likewise.
11028 (re_string_wchar_at): Likewise.
11029 (re_string_elem_size_at): Likewise.
11031 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11033 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11037 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11041 (denorm): Likewise.
11042 (__dbl_mp): Likewise.
11043 (add_magnitudes): Likewise.
11044 (sub_magnitudes): Likewise.
11048 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11051 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11054 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11058 up changes with default code.
11059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11062 2013-02-24 Allan McRae <allan@archlinux.org>
11064 * manual/socket.texi (The Internet Namespace): Order menu items
11065 to match that in the file.
11067 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11068 node listing of the info page menu.
11070 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11073 * sysdeps/i386/bp-asm.h: Remove file.
11074 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11075 (PARMS): Do not use macros from bp-asm.h.
11079 (__mpn_add_n): Do not use BP_SYM
11080 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11082 (PARMS): Do not use macros from bp-asm.h.
11085 (__mpn_addmul_1): Do not use BP_SYM
11086 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11088 (PARMS): Do not use macros from bp-asm.h.
11089 (SIGMSK): Likewise.
11090 (_setjmp): Likewise. Do not use BP_SYM.
11091 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11093 (PARMS): Do not use macros from bp-asm.h.
11094 (SIGMSK): Likewise.
11095 (setjmp): Likewise. Do not use BP_SYM.
11096 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11098 (PARMS): Do not use macros from bp-asm.h.
11099 (__frexp): Do not use BP_SYM.
11101 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11103 (PARMS): Do not use macros from bp-asm.h.
11104 (__frexpf): Do not use BP_SYM.
11105 (frexpf): Likewise.
11106 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11108 (PARMS): Do not use macros from bp-asm.h.
11109 (__frexpl): Do not use BP_SYM.
11110 (frexpl): Likewise.
11111 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11113 (PARMS): Do not use macros from bp-asm.h.
11114 (__remquo): Do not use BP_SYM.
11115 (remquo): Likewise.
11116 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11118 (PARMS): Do not use macros from bp-asm.h.
11119 (__remquof): Do not use BP_SYM.
11120 (remquof): Likewise.
11121 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11123 (PARMS): Do not use macros from bp-asm.h.
11124 (__remquol): Do not use BP_SYM.
11125 (remquol): Likewise.
11126 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11128 (PARMS): Do not use macros from bp-asm.h.
11131 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11132 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11134 (PARMS): Do not use macros from bp-asm.h.
11135 (strlen): Do not use BP_SYM.
11136 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11138 (PARMS): Do not use macros from bp-asm.h.
11142 (__mpn_add_n): Do not use BP_SYM.
11143 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11145 (PARMS): Do not use macros from bp-asm.h.
11148 (__mpn_addmul_1): Do not use BP_SYM.
11149 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11152 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11154 (PARMS): Do not use macros from bp-asm.h.
11157 (__mpn_lshift): Do not use BP_SYM.
11158 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11160 (PARMS): Do not use macros from bp-asm.h.
11164 (memcpy): Likewise. Do not use BP_SYM.
11165 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11166 libc_hidden_def and weak_alias.
11167 (mempcpy): Do not use BP_SYM in weak_alias.
11168 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11170 (PARMS): Do not use macros from bp-asm.h.
11173 [!BZERO_P] (CHR): Likewise.
11174 (memset): Likewise. Do not use BP_SYM.
11175 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11177 (PARMS): Do not use macros from bp-asm.h.
11180 (__mpn_mul_1): Do not use BP_SYM.
11181 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11183 (PARMS): Do not use macros from bp-asm.h.
11186 (__mpn_rshift): Do not use BP_SYM.
11187 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11189 (PARMS): Do not use macros from bp-asm.h.
11192 (strchr): Likewise. Do not use BP_SYM.
11193 (index): Do not use BP_SYM in weak_alias.
11194 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11196 (PARMS): Do not use macros from bp-asm.h.
11199 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11200 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11202 (PARMS): Do not use macros from bp-asm.h.
11203 (strlen): Do not use BP_SYM.
11204 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11206 (PARMS): Do not use macros from bp-asm.h.
11210 (__mpn_sub_n): Do not use BP_SYM.
11211 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11213 (PARMS): Do not use macros from bp-asm.h.
11216 (__mpn_submul_1): Do not use BP_SYM.
11217 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11219 (PARMS): Do not use macros from bp-asm.h.
11223 (__mpn_add_n): Do not use BP_SYM.
11224 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11227 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11229 (PARMS): Do not use macros from bp-asm.h.
11232 (memcmp): Do not use BP_SYM.
11233 (bcmp): Do not use BP_SYM in weak_alias.
11234 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11236 (PARMS): Do not use macros from bp-asm.h.
11240 (memcpy): Likewise. Do not use BP_SYM.
11241 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11243 (PARMS): Do not use macros from bp-asm.h.
11247 (memmove): Likewise. Do not use BP_SYM.
11248 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11250 (PARMS): Do not use macros from bp-asm.h.
11254 (__mempcpy): Likewise. Do not use BP_SYM.
11255 (mempcpy): Do not use BP_SYM in weak_alias.
11256 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11258 (PARMS): Do not use macros from bp-asm.h.
11261 [!BZERO_P] (CHR): Likewise.
11262 (memset): Likewise. Do not use BP_SYM.
11263 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11265 (PARMS): Do not use macros from bp-asm.h.
11267 (strcmp): Do not use BP_SYM.
11268 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11270 (PARMS): Do not use macros from bp-asm.h.
11273 [USE_AS_STRTOK_R] (SAVE): Likewise.
11274 (FUNCTION): Likewise. Do not use BP_SYM.
11275 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11277 (strtok_r): Likewise.
11278 (__GI___strtok_r): Likewise.
11279 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11280 (PARMS): Do not use macros from bp-asm.h.
11283 (__mpn_lshift): Do not use BP_SYM.
11284 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11285 (PARMS): Do not use macros from bp-asm.h.
11288 (__memchr): Do not use BP_SYM.
11289 (memchr): Do not use BP_SYM in weak_alias.
11290 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11291 (PARMS): Do not use macros from bp-asm.h.
11294 (memcmp): Do not use BP_SYM.
11295 (bcmp): Do not use BP_SYM in weak_alias.
11296 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11297 (PARMS): Do not use macros from bp-asm.h.
11300 (__mpn_mul_1): Do not use BP_SYM.
11301 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11303 (PARMS): Do not use macros from bp-asm.h.
11306 (__rawmemchr): Do not use BP_SYM.
11307 (rawmemchr): Do not use BP_SYM in weak_alias.
11308 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11309 (PARMS): Do not use macros from bp-asm.h.
11312 (__mpn_rshift): Do not use BP_SYM.
11313 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11314 (PARMS): Do not use macros from bp-asm.h.
11315 (SIGMSK): Likewise.
11316 (__sigsetjmp): Likewise. Do not use BP_SYM.
11317 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11318 (_start): Do not use BP_SYM.
11319 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11320 (PARMS): Do not use macros from bp-asm.h.
11323 (__stpcpy): Likewise. Do not use BP_SYM.
11324 (stpcpy): Do not use BP_SYM in weak_alias.
11325 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11327 (PARMS): Do not use macros from bp-asm.h.
11331 (__stpncpy): Likewise. Do not use BP_SYM.
11332 (stpncpy): Do not use BP_SYM in weak_alias.
11333 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11334 (PARMS): Do not use macros from bp-asm.h.
11337 (strchr): Likewise. Do not use BP_SYM.
11338 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11340 (PARMS): Do not use macros from bp-asm.h.
11343 (__strchrnul): Likewise. Do not use BP_SYM.
11344 (strchrnul): Do not use BP_SYM in weak_alias.
11345 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11347 (PARMS): Do not use macros from bp-asm.h.
11349 (strcspn): Do not use BP_SYM.
11350 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11352 (PARMS): Do not use macros from bp-asm.h.
11355 (strpbrk): Likewise. Do not use BP_SYM.
11356 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11358 (PARMS): Do not use macros from bp-asm.h.
11361 (strrchr): Likewise. Do not use BP_SYM.
11362 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11363 (PARMS): Do not use macros from bp-asm.h.
11365 (strspn): Do not use BP_SYM.
11366 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11367 (PARMS): Do not use macros from bp-asm.h.
11371 (FUNCTION): Likewise. Do not use BP_SYM.
11372 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11374 (strtok_r): Likewise.
11375 (__GI___strtok_r): Likewise.
11376 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11377 (PARMS): Do not use macros from bp-asm.h.
11381 (__mpn_sub_n): Do not use BP_SYM.
11382 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11384 (PARMS): Do not use macros from bp-asm.h.
11387 (__mpn_submul_1): Do not use BP_SYM.
11388 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11390 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11392 (PARMS): Do not use macros from bp-asm.h.
11397 (__clone): Do not use BP_SYM.
11398 (clone): Do not use BP_SYM in weak_alias.
11399 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11401 (PARMS): Do not use macros from bp-asm.h.
11403 (__mmap64): Do not use BP_SYM.
11404 (mmap64): Do not use BP_SYM in weak_alias.
11405 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11406 <bp-sym.h> and <bp-asm.h>.
11407 (PARMS): Do not use macros from bp-asm.h.
11408 (__posix_fadvise64_l64): Do not use BP_SYM.
11409 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11410 (PARMS): Do not use macros from bp-asm.h.
11412 (semtimedop): Do not use BP_SYM.
11413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11416 2013-02-21 Allan McRae <allan@archlinux.org>
11418 * manual/message.texi (Charset conversion in gettext):
11419 Move @end statement to beginning of line.
11421 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11428 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11429 (denorm): Likewise.
11430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11433 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11435 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11436 tail-call to the resolved function if pltexit isn't needed.
11438 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11441 or Y being zero as being unlikely.
11442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11445 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11447 * manual/nss.texi (System Databases and Name Service Switch):
11448 Remove frobnicate @pxref.
11450 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11452 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11453 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11455 2013-02-20 Petr Machata <pmachata@redhat.com>
11457 * elf/elf.h (R_ARM_TARGET1): New macro.
11458 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11459 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11460 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11461 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11462 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11463 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11464 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11465 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11466 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11467 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11468 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11469 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11470 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11471 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11472 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11473 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11474 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11475 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11476 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11477 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11478 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11479 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11480 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11481 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11482 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11483 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11484 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11485 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11486 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11487 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11488 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11489 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11490 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11491 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11492 (R_ARM_THM_GOT_BREL12): Likewise.
11493 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11494 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11495 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11496 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11497 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11498 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11499 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11500 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11501 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11503 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11505 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11506 __attribute_used__ to __attribute__ ((unused)).
11508 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11510 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11513 comment formatting.
11514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11516 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11519 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11521 (ENTER): Remove both macro definitions.
11523 (CHECK_BOUNDS_LOW): Likewise.
11524 (CHECK_BOUNDS_HIGH): Likewise.
11525 (CHECK_BOUNDS_BOTH): Likewise.
11526 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11527 (RETURN_BOUNDED_POINTER): Likewise.
11528 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11529 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11530 (POP_ERRNO_LOCATION_RETURN): Likewise.
11531 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11532 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11533 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11535 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11536 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11537 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11538 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11539 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11540 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11541 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11542 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11543 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11544 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11545 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11546 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11547 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11548 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11550 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11551 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11553 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11554 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11555 * sysdeps/i386/i586/memset.S (memset): Likewise.
11556 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11557 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11558 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11560 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11561 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11562 Change uses of L(2) to L(out).
11563 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11564 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11565 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11566 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11567 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11569 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11570 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11572 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11573 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11574 (RETURN): Do not use macro LEAVE.
11575 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11576 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11577 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11578 * sysdeps/i386/i686/memset.S (memset): Likewise.
11579 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11580 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11581 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11582 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11584 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11585 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11586 L(1_2) and L(1_3) into L(1).
11587 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11588 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11589 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11590 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11591 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11592 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11593 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11594 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11595 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11597 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11598 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11599 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11600 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11601 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11602 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11603 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11604 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11605 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11606 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11607 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11608 * sysdeps/i386/strspn.S (strspn): Likewise.
11609 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11611 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11612 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11613 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11614 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11615 L(1_3) into L(1_1).
11616 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11617 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11618 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11620 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11622 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11624 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11627 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11629 * math/atest-exp.c (exp_mpn): Remove ROUND.
11630 * math/atest-exp2.c (exp_mpn): Likewise.
11631 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11633 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11634 * stdlib/tst-tls-atexit-lib.c: Likewise.
11635 * stdlib/tst-tls-atexit.c: Likewise.
11637 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11639 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11640 and __attribute_alloc_size__.
11642 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11644 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11645 __attribute_alloc_size__.
11646 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11647 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11649 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11651 * include/programs/xmalloc.h: New file.
11652 * catgets/gencat.c: Include it.
11653 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11654 * elf/pldd.c: Likewise.
11655 * iconv/iconv_charmap.c: Likewise.
11656 * iconv/iconvconfig.c: Likewise.
11657 * iconv/strtab.c: Likewise.
11658 * locale/programs/locale.c: Likewise.
11659 * locale/programs/localedef.h: Likewise.
11660 * locale/programs/simple-hash.c: Likewise.
11661 * nscd/nscd.h: Likewise.
11662 * nss/makedb.c: Likewise.
11663 * sysdeps/generic/ldconfig.h: Likewise.
11665 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11667 * Versions.def: Add GLIBC_2.18.
11668 * include/link.h (struct link_map): New member l_tls_dtor_count.
11669 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11670 (__call_tls_dtors): Likewise.
11671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11672 __cxa_thread_atexit_impl.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11689 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11690 (tests): Add test case tst-tls-atexit.
11691 (modules-names): Add shared library for tst-tls-atexit.
11692 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11693 (GLIBC_PRIVATE): Add __call_tls_dtors.
11694 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11696 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11697 * stdlib/tst-tls-atexit.c: New test case.
11698 * stdlib/tst-tls-atexit-lib.c: New test case.
11700 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11702 * elf/Versions (ld): Add _dl_find_dso_for_object.
11703 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11704 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11705 (dl_open_worker): Use _dl_find_dso_for_object.
11706 * elf/dl-sym.c (do_sym): Likewise.
11707 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11709 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11711 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11712 Syntactic changes only.
11713 (_dl_runtime_profile): Do a tail-call to the resolved function.
11715 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11718 * sysdeps/x86_64/bp-asm.h: Remove file.
11719 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11720 <bp-sym.h> and <bp-asm.h>.
11721 (__clone): Do not use BP_SYM.
11722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11723 <bp-sym.h> and <bp-asm.h>.
11724 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11725 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11727 (_setjmp): Do not use BP_SYM.
11728 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11730 (setjmp): Do not use BP_SYM.
11731 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11733 (mempcpy): Do not use BP_SYM in weak_alias.
11734 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11736 (strchr): Do not use BP_SYM.
11737 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11739 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11740 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11741 (_start): Do not use BP_SYM.
11742 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11744 (strcat): Do not use BP_SYM.
11745 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11747 (STRCMP): Do not use BP_SYM.
11748 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11750 (STRCPY): Do not use BP_SYM.
11751 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11753 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11755 (FUNCTION): Do not use BP_SYM.
11756 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11758 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11760 2013-02-17 Andreas Jaeger <aj@suse.de>
11762 * time/Versions: Sort entries.
11763 * string/Versions: Likewise.
11764 * resolv/Versions: Likewise.
11765 * posix/Versions: Likewise.
11766 * iconv/Versions: Likewise.
11767 * elf/Versions: Likewise.
11768 * wcsmbs/Versions: Likewise.
11770 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11772 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11773 loop termination condition.
11775 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11776 variable to calculate EZ.
11779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11780 the lower precision input.
11782 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11785 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11786 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11787 (run-via-rtld-prefix): Do not handle %-bp tests.
11788 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11789 (all-object-suffixes): Remove .ob.
11790 (bppfx): Remove variable.
11791 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11792 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11793 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11794 [$(build-bounded) = yes] (libtype.ob): Likewise.
11795 * Makerules (elide-routines.ob): Remove variable.
11796 (do-tests-clean): Do not handle *-bp.out.
11797 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11798 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11799 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11800 (tests): Do not include $(tests-bp.out).
11801 (xtests): Do not include $(xtests-bp.out).
11802 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11803 [$(build-bounded) = yes] ($(addprefix
11804 $(objpfx),$(binaries-bounded))): Remove rule.
11805 ($(objpfx)%-bp.out): Remove rule.
11806 * config.make.in (build-bounded): Remove variable.
11807 * crypt/Makefile [$(build-bounded) = yes]
11808 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11809 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11810 append to variable.
11811 [$(build-bounded) = yes] (install-lib): Likewise.
11812 [$(build-bounded) = yes] (generated): Likewise.
11813 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11815 * intl/Makefile [$(build-bounded) = yes]
11816 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11817 * math/Makefile [$(build-bounded) = yes]
11818 ($(tests:%=$(objpfx)%-bp): Likewise.
11819 * misc/Makefile [$(build-bounded) = yes]
11820 ($(objpfx)tst-tsearch-bp): Likewise.
11821 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11822 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11824 * string/Makefile (o-objects.ob): Remove variable.
11825 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11826 (CFLAGS-.ob): Remove variable.
11827 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11828 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11829 both definitions of variable.
11830 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11831 (ASFLAGS-.ob): Remove variable.
11833 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11836 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11837 Remove __BOUNDED_POINTERS__ from condition.
11838 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11839 * string/bits/string2.h [!__NO_STRING_INLINES &&
11840 !__BOUNDED_POINTERS__]: Likewise.
11841 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11843 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11844 Remove conditional code.
11845 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11846 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11847 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11851 * csu/libc-start.c: Do not include <bp-sym.h>.
11852 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11853 * elf/dl-open.c: Do not include <bp-sym.h>.
11854 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11855 * math/fegetenv.c: Do not include <bp-sym.h>.
11856 (fegetenv): Do not use BP_SYM in versioned symbols.
11857 * nptl/sysdeps/pthread/bits/libc-lockP.h
11858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11861 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11863 (__pthread_mutex_destroy): Likewise.
11864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11865 (__pthread_mutex_lock): Likewise.
11866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11867 (__pthread_mutex_trylock): Likewise.
11868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11869 (__pthread_mutex_unlock): Likewise.
11870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11871 (__pthread_mutexattr_init): Likewise.
11872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11873 (__pthread_mutexattr_destroy): Likewise.
11874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11875 (__pthread_mutexattr_settype): Likewise.
11876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11877 (__pthread_rwlock_init): Likewise.
11878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11879 (__pthread_rwlock_destroy): Likewise.
11880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11881 (__pthread_rwlock_rdlock): Likewise.
11882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11883 (__pthread_rwlock_tryrdlock): Likewise.
11884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11885 (__pthread_rwlock_wrlock): Likewise.
11886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11887 (__pthread_rwlock_trywrlock): Likewise.
11888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11889 (__pthread_rwlock_unlock): Likewise.
11890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11891 (__pthread_key_create): Likewise.
11892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11893 (__pthread_setspecific): Likewise.
11894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11895 (__pthread_getspecific): Likewise.
11896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11899 (_pthread_cleanup_push_defer): Likewise.
11900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11901 (_pthread_cleanup_pop_restore): Likewise.
11902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11903 (pthread_setcancelstate): Likewise.
11904 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11906 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11907 (memchr): Do not use BP_SYM in weak_alias.
11908 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11909 (fegetenv): Do not use BP_SYM in versioned symbols.
11910 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11911 (fesetenv): Do not use BP_SYM in versioned symbols.
11912 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11913 (feupdateenv): Do not use BP_SYM in versioned symbols.
11914 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11915 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11916 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11917 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11918 (open64): Do not use BP_SYM in weak_alias.
11919 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11920 (fegetenv): Do not use BP_SYM in versioned symbols.
11921 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11922 (fesetenv): Do not use BP_SYM in versioned symbols.
11923 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11924 (feupdateenv): Do not use BP_SYM in versioned symbols.
11925 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11926 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11927 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11928 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11929 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11930 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11931 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11933 (__libc_start_main): Do not use BP_SYM.
11935 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11938 redundant return line.
11940 (denorm): Likewise.
11941 (dbl_mp): Likewise.
11942 (sub_magnitudes): Likewise.
11948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11950 (denorm): Likewise.
11951 (dbl_mp): Likewise.
11952 (sub_magnitudes): Likewise.
11959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11961 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11962 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11965 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11966 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11968 of __mul for squares.
11969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11973 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11974 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11976 2013-02-13 Joseph Myers <joseph@codesourcery.com>
11979 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11981 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11982 prototype or function definition. Rename ubp_* variables and
11983 parameters. Remove argv definitions conditional on
11984 [__BOUNDED_POINTERS__].
11985 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11986 * elf/dl-runtime.c (_dl_fixup): Likewise.
11987 * include/set-hooks.h (RUN_HOOK): Likewise.
11988 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11990 * string/strcpy.c (strcpy): Do not use __unbounded.
11991 * sysdeps/generic/frame.h (struct layout): Likewise.
11992 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11993 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11994 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11995 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11996 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11997 (__backtrace): Likewise.
11998 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12000 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12001 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12002 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12004 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12005 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12006 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12007 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12008 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12009 Do not use __unbounded.
12010 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12011 Rename __unboundedrlimits parameter to rlimits in prototype.
12012 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12013 Do not use __unbounded.
12014 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12015 not use __ptrvalue.
12016 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12017 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12018 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12019 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12020 __ptrvalue or __unbounded.
12021 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12022 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12024 (__new_msgctl): Do not use __ptrvalue.
12025 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12027 (__libc_msgrcv): Do not use __ptrvalue.
12028 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12029 startup_info): Do not use __unbounded.
12030 (__libc_start_main): Likewise. Rename ubp_* variables and
12031 parameters. Remove argv definitions conditional on
12032 [__BOUNDED_POINTERS__].
12033 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12035 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12037 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12039 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12041 (__new_shmctl): Do not use __ptrvalue.
12042 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12043 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12045 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12047 (__libc_sigaction): Likewise.
12048 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12049 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12051 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12053 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12055 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12057 * string/mempcpy.c: Implement by calling memcpy.
12059 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12067 values in the mantissa.
12069 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12070 minimize writes to Z.
12071 (sub_magnitudes): Simplify code a bit.
12073 2013-02-12 Roland McGrath <roland@hack.frob.com>
12075 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12076 from the message. The linker prefixes all warnings with that already.
12078 2013-02-12 Andreas Schwab <schwab@suse.de>
12081 * posix/regexec.c (extend_buffers): Add parameter min_len.
12082 (check_matching): Pass minimum needed length.
12083 (clean_state_log_if_needed): Likewise.
12084 (get_subexp): Likewise.
12085 * posix/Makefile (tests): Add bug-regex34.
12086 (bug-regex34-ENV): Define.
12087 * posix/bug-regex34.c: New file.
12090 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12091 elements compare against the byte sequence of it, not its name.
12092 * posix/Makefile (tests): Add bug-regex35.
12093 (bug-regex35-ENV): Define.
12094 * posix/bug-regex35.c: New file.
12096 2013-02-11 Tom de Vries <tom@codesourcery.com>
12098 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12100 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12101 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12102 (CHECK_EOL): Add undef.
12104 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12106 * bits/stdlib-bsearch.h: New file.
12107 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12108 * stdlib/stdlib.h: Likewise.
12110 2013-02-11 Roland McGrath <roland@hack.frob.com>
12112 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12113 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12115 * manual/search.texi (Array Search Function): Add missing const in
12117 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12118 declaration to use rlim_t.
12119 (Basic Scheduling Functions): Remove erroneous const from
12120 sched_getparam prototype. Remove erroneous * from
12121 sched_get_priority_max and sched_get_priority_min prototypes.
12122 (Resource Usage): Fix summary @comment on vtimes to refer to
12123 sys/vtimes.h rather than vtimes.h.
12124 Add missing *s in vtimes prototype.
12125 (Limits on Resources): Fix ulimit prototype to return long int.
12126 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12127 prototypes to use long int rather than double.
12128 (BSD Random): Fix initstate and setstate to use char *, not void *.
12129 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12130 prototype to make second argument 'struct aiocb64 *const[]'.
12131 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12132 (Status of AIO Operations): Remove erroneous const in aio_return and
12133 aio_return64 prototypes.
12134 (Synchronizing I/O): Fix sync prototype to return void.
12135 * manual/startup.texi (Suboptions): Remove an erroneous const in
12136 getsubopt prototype.
12137 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12138 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12139 use size_t rather than int.
12140 (Scanning All Users): Likewise for getpwent_r.
12141 (Setting Groups): Add missing const to setgroups prototype.
12142 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12143 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12144 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12145 'const void *' rather than 'const char *'.
12146 (Host Address Functions): Likewise for inet_ntop.
12147 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12148 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12149 ssize_t for return value.
12150 (Sending Data): Likewise for send, sendto, sendmsg.
12151 (Socket Option Functions): Add a missing const in setsockopt prototype.
12152 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12153 use wchar_t for the argument.
12154 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12155 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12157 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12158 double/float/long double for second argument.
12159 Fix return types of significand, significandf, significandl.
12160 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12161 argument in fchmod prototype.
12162 (File Owner): Use uid_t and gid_t in fchown prototype.
12163 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12164 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12165 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12166 use 'const struct dirent **' as argument types to CMP function pointer
12168 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12169 (File Times): Fix summary magic @comment for struct utimbuf and utime
12170 to refer to utime.h, not time.h.
12171 * manual/string.texi (Argz Functions): Add missing const in
12172 argz_extract and argz_next prototypes.
12173 (Finding Tokens in a String): Likewise for basename.
12174 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12175 (Copying and Concatenation): Fix typo in wmemmove prototype.
12176 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12177 (Signal Stack): Remove erroneous const in sigstack prototype.
12178 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12180 (Simple Calendar Time): Likewise for stime.
12181 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12183 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12184 say sys/sysctl.h instead.
12185 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12186 and vsyslog prototypes.
12188 2013-02-11 Tom de Vries <tom@codesourcery.com>
12190 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12193 2013-02-11 Roland McGrath <roland@hack.frob.com>
12195 * misc/sys/mman.h: Fix typo in mremap comment.
12197 2013-02-08 Roland McGrath <roland@hack.frob.com>
12199 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12200 the '\0' terminator.
12202 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12205 * debug/segfault.c: Don't include <bp-checks.h>.
12206 * sysdeps/generic/bp-checks.h: Remove file.
12207 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12208 (__GETDENTS): Don't use CHECK_N.
12209 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12210 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12211 (__getgroups): Don't use CHECK_N.
12212 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12213 (setgroups): Don't use CHECK_N.
12214 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12215 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12216 (__libc_msgrcv): Don't use CHECK_N.
12217 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12218 (__libc_msgsnd): Don't use CHECK_N.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12221 (__libc_pread): Don't use CHECK_N.
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12223 include <bp-checks.h>.
12224 (__libc_pread64): Don't use CHECK_N.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12226 include <bp-checks.h>.
12227 (__libc_pwrite): Don't use CHECK_N.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12229 include <bp-checks.h>.
12230 (__libc_pwrite64): Don't use CHECK_N.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12233 (__libc_pread): Don't use CHECK_N.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12235 include <bp-checks.h>.
12236 (__libc_pread64): Don't use CHECK_N.
12237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12238 include <bp-checks.h>.
12239 (__libc_pwrite): Don't use CHECK_N.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12241 include <bp-checks.h>.
12242 (__libc_pwrite64): Don't use CHECK_N.
12243 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12244 (do_pread): Don't use CHECK_N.
12245 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12246 (do_pread64): Don't use CHECK_N.
12247 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12248 (do_pwrite): Don't use CHECK_N.
12249 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12250 (do_pwrite64): Don't use CHECK_N.
12251 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12252 (__libc_readv): Don't use CHECK_N.
12253 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12254 (semop): Don't use CHECK_N.
12255 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12257 (semtimedop): Don't use CHECK_N.
12258 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12259 (__libc_pread): Don't use CHECK_N.
12260 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12262 (__libc_pread64): Don't use CHECK_N.
12263 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12265 (__libc_pwrite): Don't use CHECK_N.
12266 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12268 (__libc_pwrite64): Don't use CHECK_N.
12269 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12271 (__libc_msgrcv): Don't use CHECK_N.
12272 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12273 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12274 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12275 (__libc_writev): Don't use CHECK_N.
12277 2013-02-08 Roland McGrath <roland@hack.frob.com>
12279 * string/strcpy.c: Removed unused variable.
12281 * Makeconfig (+sysdep-includes): Define with := rather than =.
12282 Use an existing include/ subdir of each sysdeps dir before it.
12284 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12286 * nscd/connection.c (register_traced_file): Comment function.
12287 [HAVE_INOTIFY] (union __inev): Define.
12288 [HAVE_INOTIFY] (inotify_check_files): New function.
12289 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12290 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12292 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12294 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12296 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12297 loaded if not already and that a failure is permanent.
12299 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12302 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12303 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12305 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12308 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12309 (CHECK_1_NULL_OK): Likewise.
12310 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12311 (__fxstat): Do not use CHECK_1.
12312 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12314 (___fxstat64): Do not use CHECK_1.
12315 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12317 (__fxstatat): Do not use CHECK_1.
12318 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12320 (__fxstatat64): Do not use CHECK_1.
12321 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12323 (__fxstat): Do not use CHECK_1.
12324 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12326 (__fxstatat): Do not use CHECK_1.
12327 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12329 (__getresgid): Do not use CHECK_1.
12330 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12332 (__getresuid): Do not use CHECK_1.
12333 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12335 (__lxstat): Do not use CHECK_1.
12336 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12338 (__old_msgctl): Do not use CHECK_1.
12339 (__new_msgctl): Likewise.
12340 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12342 (__new_setrlimit): Do not use CHECK_1.
12343 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12345 (__old_shmctl): Do not use CHECK_1.
12346 (__new_shmctl): Likewise.
12347 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12349 (__xstat): Do not use CHECK_1.
12350 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12351 (__lxstat): Do not use CHECK_1.
12352 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12354 (___lxstat64): Do not use CHECK_1.
12355 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12356 (__old_msgctl): Do not use CHECK_1.
12357 (__new_msgctl): Likewise.
12358 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12360 (__gettimeofday): Do not use CHECK_1.
12361 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12362 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12363 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12365 (__gettimeofday): Do not use CHECK_1.
12366 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12367 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12368 (__new_shmctl): Do not use CHECK_1.
12369 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12371 (do_sigtimedwait): Do not use CHECK_1.
12372 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12374 (do_sigwaitinfo): Do not use CHECK_1.
12375 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12377 (msgctl): Do not use CHECK_1.
12378 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12380 (shmctl): Do not use CHECK_1.
12381 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12382 (ustat): Do not use CHECK_1.
12383 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12385 (__fxstat): Do not use CHECK_1.
12386 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12388 (__fxstatat): Do not use CHECK_1.
12389 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12391 (__lxstat): Do not use CHECK_1.
12392 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12394 (__xstat): Do not use CHECK_1.
12395 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12396 (__xstat): Do not use CHECK_1.
12397 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12398 (___xstat64): Do not use CHECK_1.
12401 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12403 (CHECK_BOUNDS_HIGH): Likewise.
12404 * string/strcpy.c: Do not include <bp-checks.h>.
12405 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12407 2013-02-07 Roland McGrath <roland@hack.frob.com>
12409 * nscd/nscd-client.h (__nscd_drop_map_ref):
12410 Add __attribute__ ((unused)).
12411 * nis/nss-nisplus.h (niserr2nss): Likewise.
12413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12414 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12416 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12417 Remove inline keyword.
12418 * include/rounding-mode.h (round_away): Likewise.
12419 * libio/wfileops.c (adjust_wide_data): Likewise.
12420 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12421 (__m128i_strloadu_tolower): Likewise.
12422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12423 (__m128i_strloadu_tolower): Likewise.
12424 * time/mktime.c (ydhms_diff): Likewise.
12425 * locale/elem-hash.h (elem_hash): Likewise.
12426 * locale/setlocale.c (setdata): Likewise.
12427 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12428 (re_string_wchar_at): Likewise.
12429 (bitset_not, bitset_merge, bitset_mask): Likewise.
12430 [!(__GNUC__ > 3)] (inline): Remove macro.
12431 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12432 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12433 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12434 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12435 * string/memcmp.c (memcmp_bytes): Likewise.
12436 * locale/programs/locarchive.c (compute_hashval): Likewise.
12437 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12438 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12439 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12440 * nss/getent.c (print_rpc, print_protocols): Likewise.
12441 (print_passwd, print_group, print_aliases): Likewise.
12442 * nis/nss-nisplus.h (niserr2nss): Likewise.
12443 * nscd/connections.c (restart_p): Likewise.
12444 Change return type to bool.
12446 2013-02-05 Roland McGrath <roland@hack.frob.com>
12448 * Makeconfig (all-Depend-files): Add existing
12449 $(sorted-subdirs:=/Depend) files.
12450 (all-subdirs): Remove nss.
12451 * sysdeps/unix/inet/Subdirs: Add it here instead.
12452 * hesiod/Depend: New file.
12454 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12455 instead of calling alloca.
12457 * io/lseek.c (__lseek): Rename to __libc_lseek.
12458 Define __lseek as an alias.
12460 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12462 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12464 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12465 else clause and remove check for non-standard endianness.
12467 2013-02-04 David S. Miller <davem@davemloft.net>
12469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12471 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12474 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12475 (__ubp_memchr): Remove prototype.
12476 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12477 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12478 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12479 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12480 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12482 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12483 (__ubp_memchr): Likewise.
12484 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12485 (__ubp_memchr): Likewise.
12486 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12487 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12488 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12489 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12491 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12492 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12493 (__getcwd): Do not use CHECK_STRING.
12494 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12496 (__real_chown): Do not use CHECK_STRING.
12497 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12499 (fchownat): Do not use CHECK_STRING.
12500 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12502 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12504 (__lchown): Do not use CHECK_STRING.
12505 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12506 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12507 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12508 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12510 include <bp-checks.h>.
12511 (truncate64): Do not use CHECK_STRING.
12512 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12514 (__real_chown): Do not use CHECK_STRING.
12515 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12517 (__lchown): Do not use CHECK_STRING.
12518 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12520 (__chown): Do not use CHECK_STRING.
12521 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12523 (truncate64): Do not use CHECK_STRING.
12524 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12526 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12527 (__xmknod): Do not use CHECK_STRING.
12528 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12530 (__xmknodat): Do not use CHECK_STRING.
12531 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12532 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12534 2013-02-04 Andreas Schwab <schwab@suse.de>
12537 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12538 * include/netdb.h: Likewise for h_errno.
12539 * elf/tst-stackguard1.c: Include <tls.h>.
12541 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12543 * elf/link.h (struct link_map): Extend the l_addr comment.
12544 * include/link.h (struct link_map): Likewise.
12546 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12549 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12550 (BOUNDED_1): Remove macro.
12551 * debug/backtrace.c: Don't include <bp-checks.h>.
12552 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12553 (__backtrace): Likewise.
12554 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12556 (__backtrace): Don't use BOUNDED_1.
12557 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12559 (__backtrace): Don't use BOUNDED_1.
12560 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12561 (__backtrace): Don't use BOUNDED_1.
12562 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12563 (shmat): Don't use BOUNDED_N.
12565 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12568 * sysdeps/generic/bp-start.h: Remove file.
12569 * csu/libc-start.c: Don't include <bp-start.h>.
12570 (LIBC_START_MAIN): Set up __environ directly instead of using
12571 INIT_ARGV_and_ENVIRON.
12572 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12576 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12578 (CHECK_FCNTL): Likewise.
12579 (CHECK_N_PAGES): Likewise.
12582 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12584 (CHECK_SIGSET_NULL_OK): Likewise.
12585 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12587 (sigpending): Don't use CHECK_SIGSET.
12588 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12590 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12591 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12593 (do_sigsuspend): Don't use CHECK_SIGSET.
12594 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12596 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12597 (do_sigwait): Don't use CHECK_SIGSET.
12598 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12600 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12601 include <bp-checks.h>.
12602 (sigpending): Don't use CHECK_SIGSET.
12603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12604 include <bp-checks.h>.
12605 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12606 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12608 (sigpending): Don't use CHECK_SIGSET.
12609 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12611 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12614 * sysdeps/generic/bp-semctl.h: Remove file.
12615 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12616 <bp-checks.h> and <bp-semctl.h>.
12617 (__old_semctl): Don't use CHECK_SEMCTL.
12618 (__new_semctl): Likewise.
12619 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12621 (__old_semctl): Don't use CHECK_SEMCTL.
12622 (__new_semctl): Likewise.
12623 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12624 <bp-checks.h> and <bp-semctl.h>.
12625 (__old_semctl): Don't use CHECK_SEMCTL.
12626 (__new_semctl): Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12628 <bp-checks.h> and <bp-semctl.h>.
12629 (semctl): Don't use CHECK_SEMCTL.
12632 * Makerules (elide-bp-thunks): Remove variable.
12633 (elide-routines.oS): Don't use $(elide-bp-thunks).
12634 (elide-routines.os): Likewise.
12635 (elide-routines.o): Likewise.
12636 (elide-routines.op): Likewise.
12637 (elide-routines.og): Likewise.
12638 (objects): Don't use $(bp-thunks).
12639 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12641 (common-generated): Do not add s-proto-bp.d.
12642 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12645 Do not generate makefile rules for bounded-pointer thunks.
12646 * sysdeps/generic/bp-thunks.h: Remove file.
12647 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12648 * sysdeps/unix/s-proto-bp.S: Likewise.
12651 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12652 parts of result separately when argument is not close to line from
12653 -i to i and one part of argument is small.
12654 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12655 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12656 * math/libm-test.inc (cacos_test): Add more tests.
12657 (casin_test): Likewise.
12658 (casinh_test): Likewise.
12659 * sysdeps/i386/fpu/libm-test-ulps: Update.
12660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12662 2013-01-31 David S. Miller <davem@davemloft.net>
12664 * po/de.po: Update from translation team.
12666 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12668 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12670 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12672 * configure.in (_AC_PROG_CC_C89): New definition.
12673 * configure: Regenerate.
12675 * configure.in (AC_PROG_CPP): New definition.
12676 * configure: Regenerate.
12678 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12680 * debug/tst-backtrace.h: New file.
12681 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12682 (ret): Remove variable.
12684 (FAIL): Remove macro.
12685 (NO_INLINE): Likewise.
12686 (fn1): Use match function instead of strstr.
12687 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12688 (ret): Remove variable.
12690 (FAIL): Remove macro.
12691 (NO_INLINE): Likewise.
12692 (fn): Use match function instead of strstr.
12693 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12694 (ret): Remove variable.
12696 (FAIL): Remove macro.
12697 (NO_INLINE): Likewise.
12698 (handle_signal): Use match function instead of strstr.
12699 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12700 (ret): Remove variable.
12702 (FAIL): Remove macro.
12703 (NO_INLINE): Likewise.
12704 (handle_signal): Use match function instead of strstr.
12706 2013-01-23 Roland McGrath <roland@hack.frob.com>
12708 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12710 2013-01-23 David S. Miller <davem@davemloft.net>
12712 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12713 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12714 argument of CAS if possible.
12715 * sysdeps/sparc/sparc64/bits/atomic.h
12716 (__arch_compare_and_exchange_val_32_acq): Likewise.
12717 (__arch_compare_and_exchange_val_64_acq): Likewise.
12719 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12721 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12722 * sysdeps/posix/ulimit.c: ... this.
12723 Include <limits.h>.
12724 * sysdeps/unix/bsd/ulimit.c: Remove file.
12726 2013-01-23 Adam Conrad <adconrad@0c3.net>
12728 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12729 (LDFLAGS-tst-array5): Likewise.
12731 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12734 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12735 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12736 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12737 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12739 2013-01-21 David S. Miller <davem@davemloft.net>
12741 * sysdeps/sparc/backtrace.c: New file.
12742 * sysdeps/sparc/sparc32/backtrace.h: New file.
12743 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12744 * sysdeps/sparc/sparc64/backtrace.h: New file.
12745 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12746 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12749 2013-01-21 Andreas Schwab <schwab@suse.de>
12752 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12755 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12761 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12762 Mark Mitchell <mark@codesourcery.com>
12763 Tom de Vries <tom@codesourcery.com>
12764 Paul Pluzhnikov <ppluzhnikov@google.com>
12766 * debug/tst-backtrace2.c: New file.
12767 * debug/tst-backtrace3.c: Likewise.
12768 * debug/tst-backtrace4.c: Likewise.
12769 * debug/tst-backtrace5.c: Likewise.
12770 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12771 (CFLAGS-tst-backtrace3.c): Likewise.
12772 (CFLAGS-tst-backtrace4.c): Likewise.
12773 (CFLAGS-tst-backtrace5.c): Likewise.
12774 (LDFLAGS-tst-backtrace2): Likewise.
12775 (LDFLAGS-tst-backtrace3): Likewise.
12776 (LDFLAGS-tst-backtrace4): Likewise.
12777 (LDFLAGS-tst-backtrace5): Likewise.
12778 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12779 tst-backtrace4 and tst-backtrace5.
12781 2013-01-18 Anton Blanchard <anton@samba.org>
12782 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12784 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12785 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12786 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12787 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12789 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12790 "+r" and remove output regs list as redundant. Add explicit inline
12791 asm to specify register of return val to work around compiler codegen
12792 bug. Remove (int) cast on return value. Add return type parameter to
12793 use in macro so that this macro does not truncate return value for
12795 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12796 pass to INTERNAL_VSYSCALL_NCS.
12797 (INLINE_VSYSCALL): Add 'long int' as return type to
12798 INTERNAL_VSYSCALL_NCS macro invocation.
12799 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12800 INTERNAL_VSYSCALL_NCS macro invocation.
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12803 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12806 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12807 Fix application of SIMD FP exception mask.
12809 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12810 mp_no from a power of two.
12811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12812 __mpexp_twomm1. Use __pow_mp.
12814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12817 2013-01-17 David S. Miller <davem@davemloft.net>
12819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12821 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12824 * include/complex.h: Condition contents on [!_COMPLEX_H].
12825 (__kernel_casinhf): New prototype.
12826 (__kernel_casinh): Likewise.
12827 (__kernel_casinhl): Likewise.
12828 * math/Makefile (libm_calls): Add k_casinh.
12829 * math/k_casinh.c: New file.
12830 * math/k_casinhf.c: Likewise.
12831 * math/k_casinhl.c: Likewise.
12832 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12833 finite nonzero arguments.
12834 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12835 finite nonzero arguments.
12836 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12837 finite nonzero arguments.
12838 * math/s_casinh.c: Do not include <float.h>.
12839 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12840 * math/s_casinhf.c: Do not include <float.h>.
12841 (__casinhf): Move code for finite nonzero arguments to
12843 * math/s_casinhl.c: Do not include <float.h>.
12844 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12846 (__casinhl): Move code for finite nonzero arguments to
12848 * math/libm-test.inc (cacos_test): Add more tests.
12849 * sysdeps/i386/fpu/libm-test-ulps: Update.
12850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12852 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12854 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12855 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12856 [!HAVE_MREMAP]: Remove [defined linux] case.
12857 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12859 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12861 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12863 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12865 * elf/elf.h (R_386_SIZE32): New relocation.
12866 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12868 (elf_machine_rela): Likewise.
12869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12870 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12872 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12874 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12875 (FP_FAST_FMA): Do not define.
12876 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12877 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12878 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12879 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12880 !_SOFT_FLOAT]: Likewise.
12881 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12884 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12885 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12886 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12887 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12888 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12889 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12892 2013-01-16 Andreas Schwab <schwab@suse.de>
12895 * include/stdlib.h (__mktemp): Add declaration.
12896 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12897 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12899 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12901 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12903 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12904 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12905 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12907 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12908 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12910 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12912 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12913 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12914 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12916 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12917 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12919 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12921 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12923 2013-01-15 David S. Miller <davem@davemloft.net>
12925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12926 trunc{,f} to libm-sysdep_routes.
12927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12937 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12938 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12939 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12940 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12941 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12942 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12945 nearbyint{,f} to libm-sysdep_routes.
12946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12963 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12964 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12966 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12967 libc_feholdexcept and libc_fesetenv.
12969 2013-01-15 Mike Frysinger <vapier@gentoo.org>
12971 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12973 2013-01-14 David S. Miller <davem@davemloft.net>
12975 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12976 (SPARC_ASM_VIS2_IFUNC): Likewise.
12977 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12979 use of 'siam' instruction.
12980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13013 routines to libm-sysdep_routines.
13014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13017 fdim/fdimf to libm-sysdep_routines.
13018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13026 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13027 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13028 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13029 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13031 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13033 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13034 to optimize copies.
13036 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13041 local variable MPTWO.
13042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13045 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13047 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13050 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13052 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13054 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13056 * manual/pattern.texi (glob_t): Document gl_flags.
13057 (glob64_t): Likewise.
13059 2013-01-11 David S. Miller <davem@davemloft.net>
13061 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13062 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13063 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13064 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13065 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13066 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13067 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13068 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13069 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13070 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13071 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13072 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13073 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13075 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13076 sparc V9 rather than using V8 code.
13077 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13078 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13080 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13082 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13085 2013-01-11 Roland McGrath <roland@hack.frob.com>
13087 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13088 not in the main loop.
13089 * configure: Regenerated.
13091 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13093 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13094 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13096 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13097 [!__GLIBC_HAVE_LONG_LONG] case.
13098 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13099 condition to just #else.
13100 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13101 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13102 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13103 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13105 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13106 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13107 #elif condition to just #else.
13108 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13109 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13110 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13111 #elif condition to just #else.
13113 2013-01-11 Steve Ellcey <sellcey@mips.com>
13115 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13116 (EF_MIPS_ARCH_64): Fix value.
13117 (EF_MIPS_ARCH_32R2): New.
13118 (EF_MIPS_ARCH_64R2): New.
13120 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13122 * Makeconfig (+link-pie-before-libc): New.
13123 (+link-pie-after-libc): Likewise.
13124 (+link-pie-tests): Likewise.
13125 (+link-pie): Rewritten.
13126 (link-before-libc): Remove $(config-LDFLAGS).
13127 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13128 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13129 (config-LDFLAGS): Renamed to ...
13130 (rtld-LDFLAGS): This.
13131 (rtld-tests-LDFLAGS): New macro.
13132 (link-libc-rpath-link): Likewise.
13133 (link-libc-tests-rpath-link): Likewise.
13134 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13135 (link-libc): Prepand $(link-libc-rpath-link).
13136 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13137 (test-program-prefix): New macro.
13138 (test-via-rtld-prefix): Likewise.
13139 (test-program-cmd): Likewise.
13140 (host-test-program-cmd): Likewise.
13141 * Makefile ($(common-objpfx)testrun.sh): Replace
13142 $(run-program-prefix) with $(test-program-prefix).
13143 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13145 ($(common-objpfx)shlib.lds): Likewise.
13146 (build-module-helper): Likewise.
13147 ($(common-objpfx)format.lds): Likewise.
13148 * Rules (binaries-pie-tests): New.
13149 (binaries-pie-notests): Likewise.
13150 (binaries-pie): Rewritten.
13151 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13152 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13153 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13154 (make-test-out): Replace $(host-built-program-cmd) with
13155 $(host-test-program-cmd).
13156 * config.make.in (build-hardcoded-path-in-tests): New variable.
13157 * configure.in (--enable-hardcoded-path-in-tests): New configure
13159 (hardcoded_path_in_tests): New AC_SUBST.
13160 * configure: Regenerated.
13161 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13162 $(built-program-cmd) with $(test-program-cmd).
13163 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13164 (test_program_cmd): This.
13165 * elf/Makefile ($(objpfx)order.out): Run test with
13166 $(test-program-prefix).
13167 ($(objpfx)order2.out): Likewise.
13168 ($(objpfx)tst-initorder.out): Likewise.
13169 ($(objpfx)tst-initorder2.out): Likewise.
13170 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13171 $(test-program-cmd).
13172 ($(objpfx)tst-array1-static.out): Likewise.
13173 ($(objpfx)tst-array2.out): Likewise.
13174 ($(objpfx)tst-array3.out): Likewise.
13175 ($(objpfx)tst-array4.out): Likewise.
13176 ($(objpfx)tst-array5.out): Likewise.
13177 ($(objpfx)tst-array5-static.out): Likewise.
13178 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13179 $(test-program-cmd).
13180 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13181 $(run-program-prefix) with $(test-program-prefix).
13182 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13183 (test_program_prefix): This.
13184 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13185 $(run-program-prefix) with $(test-program-prefix).
13186 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13187 (test_program_prefix): This.
13188 * iconvdata/tst-tables.sh: Likewise.
13189 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13190 $(run-program-prefix) with $(test-program-prefix).
13191 ($(objpfx)tst-translit.out): Likewise.
13192 ($(objpfx)tst-gettext2.out): Likewise.
13193 ($(objpfx)tst-gettext4.out): Likewise.
13194 ($(objpfx)tst-gettext6.out): Likewise.
13195 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13196 (test_program_prefix): This.
13197 * intl/tst-gettext2.sh: Likewise.
13198 * intl/tst-gettext4.sh Likewise.
13199 * intl/tst-gettext6.sh: Likewise.
13200 * intl/tst-translit.sh: Likewise.
13201 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13202 with $(test-program-cmd).
13203 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13204 $(run-program-prefix) with $(test-program-prefix).
13205 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13206 (test_program_prefix): This.
13207 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13208 $(run-program-prefix) with $(test-program-prefix).
13209 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13210 (test_program_prefix): This.
13211 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13212 * posix/Makefile ($(objpfx)globtest.out): Replace
13213 $(run-via-rtld-prefix) and $(test-wrapper) with
13214 $(test-program-prefix) and $(test-via-rtld-prefix).
13215 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13216 $(test-program-prefix).
13217 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13218 $(host-test-program-cmd).
13219 (tst-spawn-ARGS): Likewise.
13220 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13221 $(test-program-prefix).
13222 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13223 (test_via_rtld_prefix): This.
13224 (test_wrapper): Renamed to ...
13225 (test_program_prefix): This.
13226 (run_program_prefix): Replaced by test_program_prefix.
13227 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13228 (test_program_prefix): This.
13229 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13230 with $(host-test-program-cmd).
13231 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13232 $(run-program-prefix) with $(test-program-prefix).
13233 ($(objpfx)tst-printf.out): Likewise.
13234 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13235 $(test-program-cmd).
13236 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13237 (test_program_prefix): This.
13238 * stdio-common/tst-unbputc.sh: Likewise.
13239 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13240 $(run-program-prefix) with $(test-program-prefix).
13241 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13242 (test_program_prefix): This.
13243 * string/Makefile ($(objpfx)tst-svc.out): Replace
13244 $(built-program-cmd) with $(test-program-cmd).
13246 2013-01-11 Andreas Jaeger <aj@suse.de>
13249 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13250 value. Sync with Linux 3.7.
13252 2013-01-10 David S. Miller <davem@davemloft.net>
13254 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13255 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13256 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13258 2013-01-10 Roland McGrath <roland@hack.frob.com>
13260 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13262 * configure: Regenerated.
13264 2013-01-10 David S. Miller <davem@davemloft.net>
13266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13267 sparc V9 rather than using V8 code.
13268 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13269 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13271 2013-01-10 Roland McGrath <roland@hack.frob.com>
13273 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13274 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13275 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13276 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13277 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13278 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13279 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13280 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13281 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13282 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13283 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13284 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13285 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13286 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13287 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13288 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13289 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13290 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13291 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13292 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13293 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13294 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13295 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13296 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13297 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13298 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13299 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13301 2013-01-10 David S. Miller <davem@davemloft.net>
13303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13305 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13307 * posix/Makefile (tests-static): New variable.
13308 (tests): Add $(tests-static).
13309 (tst-exec-static-ARGS): New variable.
13310 (tst-spawn-static-ARGS): Likewise.
13311 * posix/tst-exec-static.c: New file.
13312 * posix/tst-spawn-static.c: Likewise.
13313 * posix/tst-exec.c: Support run directly.
13314 * posix/tst-spawn.c: Likewise.
13316 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13318 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13320 * math/bits/mathcalls.h (llrint): Likewise.
13321 (llround): Likewise.
13322 * stdlib/stdlib.h (struct drand48_data): Likewise.
13323 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13324 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13325 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13327 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13329 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13330 (elf_greg_t): Likewise.
13331 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13332 (__jmp_buf): Likewise.
13333 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13335 (llrint): Likewise, for all definitions.
13336 (llrintl): Likewise.
13338 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13339 Remove [__GNUC__] condition.
13340 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13341 condition to just [__USE_ISOC99].
13342 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13344 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13347 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13348 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13350 (_POSIX_V6_ILP32_OFF32): Likewise.
13351 (_XBS5_ILP32_OFF32): Likewise.
13352 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13353 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13355 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13357 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13360 doubles __mpexp_twomm1. Adjust usage.
13361 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13364 2013-01-10 Andreas Schwab <schwab@suse.de>
13367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13368 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13370 2013-01-09 David S. Miller <davem@davemloft.net>
13373 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13374 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13375 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13376 TCP_FASTOPEN): Define.
13377 (tcp_repair_opt): New structure.
13378 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13380 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13381 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13382 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13383 (tcp_cookie_transactions): New structure.
13385 2013-01-09 Anton Blanchard <anton@samba.org>
13387 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13388 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13389 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13390 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13392 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13394 * include/features.h (__USE_ANSI): Remove.
13396 2013-01-09 Roland McGrath <roland@hack.frob.com>
13398 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13400 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13402 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13404 * sysdeps/s390/fpu/libm-test-ulps: Update.
13406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13408 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13412 (denorm): Likewise.
13413 (__mp_dbl): Likewise.
13414 (__dbl_mp): Likewise.
13415 (add_magnitudes): Likewise.
13416 (sub_magnitudes): Likewise.
13422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13426 (denorm): Likewise.
13427 (__mp_dbl): Likewise.
13428 (__dbl_mp): Likewise.
13429 (add_magnitudes): Likewise.
13430 (sub_magnitudes): Likewise.
13436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13440 (denorm): Likewise.
13441 (__mp_dbl): Likewise.
13442 (__dbl_mp): Likewise.
13443 (add_magnitudes): Likewise.
13444 (sub_magnitudes): Likewise.
13451 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13453 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13454 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13455 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13456 2 && __USE_EXTERN_INLINES]: Likewise.
13458 2013-01-08 Andreas Jaeger <aj@suse.de>
13461 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13463 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13464 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13466 2013-01-07 Anton Blanchard <anton@samba.org>
13468 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13469 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13470 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13471 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13472 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13473 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13474 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13475 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13477 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13478 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13479 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13480 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13481 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13482 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13485 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13486 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13488 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13489 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13491 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13492 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13493 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13494 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13495 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13497 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13498 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13500 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13501 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13502 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13503 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13506 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13507 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13508 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13509 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13510 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13512 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13514 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13515 (__MALLOC_PMT): Likewise.
13516 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13517 [__GNUC__], only on [_LIBC].
13518 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13519 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13520 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13521 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13522 forward declaration.
13523 (realloc_hook_ini): Likewise.
13524 (memalign_hook_ini): Likewise.
13525 (__libc_memalign): Do not use __MALLOC_PMT in variable
13527 (__libc_valloc): Likewise.
13528 (__libc_pvalloc): Likewise.
13529 (__libc_calloc): Likewise.
13530 (__posix_memalign): Likewise.
13533 * math/s_casinh.c: Include <float.h>.
13534 (__casinh): Do not do computation with squaring and square root
13535 for large arguments.
13536 * math/s_casinhf.c: Include <float.h>.
13537 (__casinhf): Do not do computation with squaring and square root
13538 for large arguments.
13539 * math/s_casinhl.c: Include <float.h>.
13540 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13541 (__casinhl): Do not do computation with squaring and square root
13542 for large arguments.
13543 * math/libm-test.inc (casin_test): Add more tests.
13544 (casinh_test): Likewise.
13545 * sysdeps/i386/fpu/libm-test-ulps: Update.
13546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13548 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13550 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13551 (__x86_64_raw_data_cache_size): Likewise.
13552 (__x86_64_data_cache_size_half): Likewise.
13553 (__x86_64_raw_data_cache_size_half): Likewise.
13554 (__x86_64_shared_cache_size): Likewise.
13555 (__x86_64_raw_shared_cache_size): Likewise.
13556 (__x86_64_shared_cache_size_half): Likewise.
13557 (__x86_64_raw_shared_cache_size_half): Likewise.
13558 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13560 (__x86_data_cache_size): This.
13561 (__x86_64_raw_data_cache_size): Renamed to ...
13562 (__x86_raw_data_cache_size): This.
13563 (__x86_64_data_cache_size_half): Renamed to ...
13564 (__x86_data_cache_size_half): This.
13565 (__x86_64_raw_data_cache_size_half): Renamed to ...
13566 (__x86_raw_data_cache_size_half): This.
13567 (__x86_64_shared_cache_size): Renamed to ...
13568 (__x86_shared_cache_size): This.
13569 (__x86_64_raw_shared_cache_size): Renamed to ...
13570 (__x86_raw_shared_cache_size): This.
13571 (__x86_64_shared_cache_size_half): Renamed to ...
13572 (__x86_shared_cache_size_half): This.
13573 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13574 (__x86_raw_shared_cache_size_half): This.
13575 * sysdeps/x86_64/memcpy.S: Updated.
13576 * sysdeps/x86_64/memset.S: Likewise.
13577 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13578 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13581 2013-01-04 David S. Miller <davem@davemloft.net>
13583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13585 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13587 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13588 1 to avoid redefinition warning.
13589 (__USE_GNU): Don't define.
13590 (init_signaling_nan): Protoize.
13592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13594 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13596 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13598 (__cpymn): Likewise.
13599 (norm): Remove commented code.
13600 (denorm): Likewise.
13601 (__mp_dbl): Likewise.
13603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13604 (__cpymn): Likewise.
13605 (norm): Remove commented code.
13606 (denorm): Likewise.
13607 (__mp_dbl): Likewise.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13611 mp_no value for 1.0 and 2.0.
13612 (norm): Use RADIXI instead of radixi.d.
13613 (denorm): Likewise.
13614 (__mul): Use 0.0 instead of zero.d.
13615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13616 mp_no value for 1.0 and 2.0.
13617 (norm): Use RADIXI instead of radixi.d.
13618 (denorm): Likewise.
13619 (__mul): Use 0.0 instead of zero.d.
13621 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13624 * math/s_casinh.c (__casinh): Reduce finite argument to first
13625 quadrant then set signs of results at the end.
13626 * math/s_casinhf.c (__casinhf): Likewise.
13627 * math/s_casinhl.c (__casinhl): Likewise.
13628 * math/libm-test.inc (casin_test): Add more tests.
13629 (casinh_test): Likewise.
13630 * sysdeps/i386/fpu/libm-test-ulps: Update.
13631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13633 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13635 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13637 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13639 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13641 (denorm): Likewise.
13642 (__mp_dbl): Likewise.
13645 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13646 and adjust the header comment.
13648 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13649 variable name from declaration.
13651 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13654 Initialize COMMON_CPUID_INDEX_7 element.
13655 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13656 (CPUID_RTM): Likewise.
13657 (HAS_RTM): Likewise.
13658 (COMMON_CPUID_INDEX_7): New enum.
13660 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13663 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13664 size is zero, record memory as freed.
13666 2013-01-03 Andreas Jaeger <aj@suse.de>
13668 * po/ia.po: Add new Interlingua translation.
13670 2012-01-03 Allan McRae <allan@archlinux.org>
13672 * locale/programs/localedef.c: Fix description of '--posix' flag.
13674 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13676 * NEWS: Update dates in second copyright notice.
13677 * README: Update copyright dates in example.
13678 * manual/libc.texinfo: Update copyright dates.
13679 * scripts/test-installation.pl: Update copyright date in --version
13682 * hurd/ctty-input.c: Fix copyright notice formatting.
13683 * hurd/ctty-output.c: Likewise.
13684 * hurd/dtable.c: Likewise.
13685 * hurd/hurd-raise.c: Likewise.
13686 * hurd/hurdprio.c: Likewise.
13687 * hurd/msgportdemux.c: Likewise.
13688 * misc/sys/file.h: Likewise.
13689 * misc/sys/ioctl.h: Likewise.
13690 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13691 * sysdeps/mach/hurd/chdir.c: Likewise.
13692 * sysdeps/mach/hurd/fchdir.c: Likewise.
13693 * sysdeps/mach/hurd/rename.c: Likewise.
13694 * sysdeps/mach/hurd/rmdir.c: Likewise.
13695 * sysdeps/mach/hurd/seekdir.c: Likewise.
13696 * sysdeps/mach/hurd/setsid.c: Likewise.
13697 * sysdeps/posix/wait3.c: Likewise.
13699 * All files with FSF copyright notices: Update copyright dates
13700 using scripts/update-copyrights.
13701 * intl/plural.c: Regenerated.
13702 * locale/programs/charmap-kw.h: Likewise.
13703 * locale/programs/locfile-kw.h: Likewise.
13705 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13707 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13710 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13711 calculation loop and add branch prediction.
13713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13714 check access beyond bounds of m1np.
13716 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13718 (__inv): Remove local variable MPTWO to use the global
13720 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13723 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13724 MP3HALFS static const.
13726 2013-01-01 David S. Miller <davem@davemloft.net>
13728 * po/ca.po: Update from translation team.
13730 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13732 * scripts/update-copyrights: New file.
13733 * Makeconfig: Reformat copyright notice.
13734 * ctype/ctype.h: Likewise.
13735 * debug/swprintf_chk.c: Likewise.
13736 * elf/dl-cache.c: Likewise.
13737 * elf/dl-debug.c: Likewise.
13738 * elf/dl-object.c: Likewise.
13739 * grp/initgroups.c: Likewise.
13740 * hurd/Makefile: Likewise.
13741 * hurd/hurd/signal.h: Likewise.
13742 * hurd/hurdfault.c: Likewise.
13743 * hurd/hurdioctl.c: Likewise.
13744 * hurd/hurdlookup.c: Likewise.
13745 * hurd/intr-msg.c: Likewise.
13746 * iconv/gconv_open.c: Likewise.
13747 * libio/swprintf.c: Likewise.
13748 * locale/lc-ctype.c: Likewise.
13749 * locale/nl_langinfo.c: Likewise.
13750 * mach/Machrules: Likewise.
13751 * mach/Makefile: Likewise.
13752 * malloc/obstack.h: Likewise.
13753 * manual/Makefile: Likewise.
13754 * manual/tsort.awk: Likewise.
13755 * misc/bits/stab.def: Likewise.
13756 * nis/nis_print_group_entry.c: Likewise.
13757 * nis/nis_table.c: Likewise.
13758 * nis/nss_compat/compat-pwd.c: Likewise.
13759 * nis/nss_compat/compat-spwd.c: Likewise.
13760 * po/Makefile: Likewise.
13761 * posix/fnmatch.c: Likewise.
13762 * posix/regex.h: Likewise.
13763 * resolv/Makefile: Likewise.
13764 * resolv/nss_dns/dns-network.c: Likewise.
13765 * resolv/res_hconf.c: Likewise.
13766 * scripts/gen-sorted.awk: Likewise.
13767 * soft-fp/soft-fp.h: Likewise.
13768 * stdio-common/printf.h: Likewise.
13769 * stdlib/monetary.h: Likewise.
13770 * stdlib/random.c: Likewise.
13771 * stdlib/random_r.c: Likewise.
13772 * sysdeps/generic/Makefile: Likewise.
13773 * sysdeps/gnu/Makefile: Likewise.
13774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13802 * sysdeps/mach/hurd/errnos.awk: Likewise.
13803 * sysdeps/mach/hurd/fork.c: Likewise.
13804 * sysdeps/mach/hurd/getcwd.c: Likewise.
13805 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13806 * sysdeps/mach/hurd/mmap.c: Likewise.
13807 * sysdeps/mach/hurd/utimes.c: Likewise.
13808 * sysdeps/mach/hurd/xmknod.c: Likewise.
13809 * sysdeps/posix/profil.c: Likewise.
13810 * sysdeps/posix/readdir_r.c: Likewise.
13811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13812 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13813 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13814 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13816 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13818 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13820 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13821 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13822 * sysdeps/pthread/lio_listio.c: Likewise.
13823 * sysdeps/sparc/dl-procinfo.h: Likewise.
13824 * sysdeps/unix/i386/sysdep.S: Likewise.
13825 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13826 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13827 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13828 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13830 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13831 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13832 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13833 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13834 * sysdeps/wordsize-32/divdi3.c: Likewise.
13835 * time/sys/time.h: Likewise.
13836 * wcsmbs/Makefile: Likewise.
13838 2013-01-01 David S. Miller <davem@davemloft.net>
13840 * po/fr.po: Update from translation team.
13842 * catgets/gencat.c: Update copyright year.
13843 * csu/version.c: Likewise.
13844 * debug/catchsegv.sh: Likewise.
13845 * debug/pcprofiledump.c: Likewise.
13846 * debug/xtrace.sh: Likewise.
13847 * elf/ldconfig.c: Likewise.
13848 * elf/ldd.bash.in: Likewise.
13849 * elf/pldd.c: Likewise.
13850 * elf/sotruss.ksh: Likewise.
13851 * elf/sprof.c: Likewise.
13852 * iconv/iconv_prog.c: Likewise.
13853 * iconv/iconvconfig.c: Likewise.
13854 * locale/programs/locale.c: Likewise.
13855 * locale/programs/localedef.c: Likewise.
13856 * login/programs/pt_chown.c: Likewise.
13857 * malloc/memusage.sh: Likewise.
13858 * malloc/memusagestat.c: Likewise.
13859 * malloc/mtrace.pl: Likewise.
13860 * nscd/nscd.c: Likewise.
13861 * nss/getent.c: Likewise.
13862 * nss/makedb.c: Likewise.
13863 * posix/getconf.c: Likewise.
13865 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13867 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13870 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13872 * math/bits/mathcalls.h (modf): Use __nonnull.
13874 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13876 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13877 (split): Use macro CN instead of the bare value.
13878 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13881 instead of the bare value.
13882 (power1): Likewise.
13884 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13888 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13890 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13892 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13893 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13894 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13895 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13897 2012-12-28 Andreas Jaeger <aj@suse.de>
13899 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13900 values are from Linux 3.7.
13902 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13903 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13905 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13907 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13910 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13912 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13913 variables with preprocessor constants.
13914 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13915 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13916 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13918 2012-12-27 Bruno Haible <bruno@clisp.org>
13921 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13924 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13927 and use variable directly.
13928 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13930 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13932 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13933 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13935 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13937 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13938 include directive. Remove local variable MPONE.
13939 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13940 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13941 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13943 2012-12-25 David S. Miller <davem@davemloft.net>
13945 * version.h (RELEASE): Set to "development".
13946 (VERSION): Set to "2.17.90".
13947 * NEWS: Add 2.18 section.
13949 2012-12-21 David S. Miller <davem@davemloft.net>
13951 * po/hr.po: Update from translation team.
13953 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13955 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13957 2012-12-19 Steve Ellcey <sellcey@mips.com>
13959 * NEWS: Mention new memcpy for MIPS.
13961 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13963 * manual/contrib.texi (Contributors): Spelling correction.
13965 2012-12-15 David S. Miller <davem@davemloft.net>
13967 * po/ru.po: Update from translation team.
13969 2012-12-13 David S. Miller <davem@davemloft.net>
13971 * NEWS: Mention IFUNC testsuite enhancements.
13973 * po/pl.po: Update from translation team.
13974 * po/bg.po: Likewise.
13976 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13977 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13979 2012-12-11 David S. Miller <davem@davemloft.net>
13981 * po/sv.po: Update from translation team.
13983 * po/vi.po: Update from translation team.
13985 * po/cs.po: Update from translation team.
13987 * po/de.po: Update from translation team.
13988 * po/eo.po: Likewise.
13989 * po/nl.po: Likewise.
13991 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13994 * manual/argp.texi (Argp Helper Functions): Move node to follow
13995 Argp Parsing State.
13998 * manual/conf.texi (Limits on File System Capacity): Mention if
13999 terminating null is included in the max size.
14001 2012-12-10 Andreas Jaeger <aj@suse.de>
14003 * po/cs.po: Update from translation team.
14005 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14007 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14008 void pointer and cast to uintptr_t.
14009 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14011 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14012 * sysdeps/s390/s390-64/memset.S: Likewise.
14014 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14017 * menual/message.texi (Message Translation): Fix typos.
14018 (Helper programs for gettext): Likewise.
14020 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14023 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14026 2012-12-07 David S. Miller <davem@davemloft.net>
14028 * po/libc.pot: Update.
14030 2012-12-07 Richard Henderson <rth@redhat.com>
14033 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14034 normal/normal case to before the switch.
14035 (_FP_DIV): Likewise.
14037 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14038 Mike Frysinger <vapier@gentoo.org>
14040 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14041 check for __NR_fadvise64_64.
14043 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14045 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14046 0, not just to plain "0" as a statement.
14047 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14050 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14052 * NEWS: Use sourceware.org in Bugzilla URL.
14054 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14057 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14059 * stdio-common/tst-put-error.c (do_test): Add newline to the
14060 padded test to ensure flush.
14062 2012-12-05 Jeff Law <law@redhat.com>
14064 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14066 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14068 * README: Don't refer to ports add-on as distributed separately.
14069 Mention AArch64 in list of systems supported in the ports add-on.
14071 * LICENSES: Add more non-FSF copyright and license notices.
14073 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14076 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14078 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14079 10000 as width of padded output.
14081 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14083 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14085 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14086 variable LX with __attribute__ ((unused)).
14087 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14089 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14092 with __attribute__ ((unused)).
14094 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14096 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14098 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14100 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14101 (CFLAGS-nldbl-acos.c): New variable.
14102 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14103 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14104 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14105 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14106 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14107 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14108 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14109 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14110 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14111 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14112 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14113 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14114 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14115 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14116 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14117 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14118 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14119 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14120 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14121 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14122 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14123 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14124 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14125 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14126 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14127 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14128 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14129 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14130 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14131 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14132 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14133 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14134 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14135 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14136 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14137 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14138 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14139 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14140 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14141 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14142 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14143 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14144 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14145 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14146 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14147 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14148 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14149 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14150 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14151 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14152 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14153 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14154 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14155 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14156 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14157 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14158 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14159 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14160 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14161 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14162 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14163 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14164 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14165 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14166 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14167 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14168 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14169 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14170 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14171 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14172 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14173 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14174 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14175 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14176 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14177 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14178 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14179 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14180 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14181 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14182 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14183 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14184 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14185 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14186 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14187 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14188 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14189 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14190 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14191 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14192 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14193 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14194 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14195 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14196 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14197 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14198 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14201 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14205 whole low double instead of just low 47 bits when splitting values
14208 2012-12-03 Allan McRae <allan@archlinux.org>
14210 * manual/stdio.texi (Predefined Printf Handlers): Remove
14211 @hsep and @vsep usage.
14213 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14215 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14216 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14218 2012-12-03 Jeff Law <law@redhat.com>
14220 * time/sys/time.h (settimeofday): Do not mark TV argument
14223 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14225 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14226 when currently writing and seek to current position when not.
14227 * libio/Makefile (tests): Remove bug-fclose1.
14228 * libio/bug-fclose1.c: Delete.
14230 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14232 * manual/arith.texi (feenableexcept): Fix typo.
14233 (fedisableexcept): Likewise.
14235 2012-11-30 Roland McGrath <roland@hack.frob.com>
14237 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14238 second, differently-typed declaration, rather than a cast.
14240 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14242 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14243 * include/rpc/svc.h: ... here.
14245 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14248 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14249 depending n and resplen2 to catch cases where answer
14252 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14254 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14255 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14257 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14261 2012-11-29 Roland McGrath <roland@hack.frob.com>
14263 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14265 2012-11-28 Jeff Law <law@redhat.com>
14268 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14269 dataset_temporary. Track alloca usage into alloca_used.
14270 If dataset is large allocate and release it via malloc/free.
14272 2012-06-04 Florian Weimer <fweimer@redhat.com>
14275 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14277 2012-11-28 David S. Miller <davem@davemloft.net>
14279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14281 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14284 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14285 of pi/2 rounded to nearest to 64 bits.
14286 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14287 nearest to 64 bits.
14288 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14291 2012-11-28 Jeff Law <law@redhat.com>
14292 Martin Osvald <mosvald@redhat.com>
14295 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14296 * sunrpc/svc.c: Include time.h.
14297 (__svc_accept_failed): New function.
14298 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14299 any reason other than EINTR, call __svc_accept_failed.
14300 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14301 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14303 2012-11-28 Andreas Schwab <schwab@suse.de>
14305 * scripts/abilist.awk: Also handle indirect functions in .opd
14308 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14311 * sysdeps/x86/fpu/powl_helper.c: New file.
14312 * sysdeps/x86/fpu/Makefile: Likewise.
14313 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14315 (__ieee754_powl): Use __powl_helper for finite arguments except
14316 integer exponents below 8.
14317 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14319 (__ieee754_powl): Use __powl_helper for finite arguments except
14320 integer exponents below 8.
14321 * math/libm-test.inc (pow_test): Add more tests and enable some
14322 previously disabled tests.
14323 * sysdeps/i386/fpu/libm-test-ulps: Update.
14324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14326 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14327 Carlos O'Donell <carlos_odonell@mentor.com>
14329 * nss/makedb.c (is_prime): Assert that input is odd and greater
14330 than 4. Note that fact in a comment too.
14331 (next_prime): Add 4 to input.
14333 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14336 * libio/Makefile (tests): Add test case tst-fwrite-error.
14337 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14338 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14339 * libio/tst-fwrite-error.c: New test case.
14341 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14343 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14344 before casting to void *.
14345 * include/libc-internal.h (__pointer_type): New macro.
14346 (__integer_if_pointer_type_sub): Likewise.
14347 (__integer_if_pointer_type): Likewise.
14348 (cast_to_integer): Likewise.
14349 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14350 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14351 before casting to atomic64_t.
14352 (atomic_exchange_acq): Likewise.
14353 (__arch_exchange_and_add_body): Likewise.
14354 (__arch_add_body): Likewise.
14355 (atomic_add_negative): Likewise.
14356 (atomic_add_zero): Likewise.
14358 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14360 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14361 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14362 (add_fdes): Likewise.
14363 (linear_search_fdes): Likewise.
14364 (binary_search_unencoded_fdes): Likewise.
14366 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14368 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14370 2012-11-24 Adam Conrad <adconrad@0c3.net>
14372 * configure.in: Autodetect C++ header directories.
14373 * configure: Regenerated.
14375 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14377 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14379 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14383 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14385 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14386 LDBL_MANT_DIG == 106]: Disable some tests.
14387 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14389 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14393 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14394 input for small inputs. Return +/- pi/2 for large inputs.
14395 * math/libm-test.inc (atan_test): Add more tests.
14397 * sysdeps/generic/unwind-dw2-fde-glibc.c
14398 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14399 __attribute__ ((unused)).
14402 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14403 x * y if x and y are nonzero and z is zero.
14406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14407 nonzero exponents with absolute value below 0x1p-117 to +/-
14411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14412 up arguments below 2**-450, not just those below 2**-500.
14413 * math/libm-test.inc (hypot_test): Add another test.
14416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14417 Return a+b for ratio over 2**120, not 2**60.
14418 * math/libm-test.inc (hypot_test): Add another test.
14420 * math/libm-test.inc (clog_test): Use
14421 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14422 (clog10_test): Likewise.
14425 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14427 2012-11-22 Andreas Schwab <schwab@suse.de>
14429 * sysdeps/i386/fpu/libm-test-ulps: Update.
14431 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14433 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14434 printf output with newline.
14436 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14439 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14440 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14441 -z nodlopen, -z initfirst and -z execstack support.
14442 * configure: Regenerated.
14444 * elf/elf.h (DF_1_NODIRECT): New macro.
14445 (DF_1_IGNMULDEF): Likewise.
14446 (DF_1_NOKSYMS): Likewise.
14447 (DF_1_NOHDR): Likewise.
14448 (DF_1_EDITED): Likewise.
14449 (DF_1_NORELOC): Likewise.
14450 (DF_1_SYMINTPOSE): Likewise.
14451 (DF_1_GLOBAUDIT): Likewise.
14452 (DF_1_SINGLETON): Likewise.
14453 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14454 DT_1_SUPPORTED_MASK bits.
14455 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14457 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14459 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14461 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14463 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14466 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14467 (sendmmsg): Move declarations...
14468 * socket/sys/socket.h: ... here.
14469 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14470 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14472 * socket/recvmmsg.c: ... this new file.
14473 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14474 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14475 definition of __sendmmsg hidden.
14476 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14477 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14478 Move ENOSYS stub into and include it from...
14479 * socket/sendmmsg.c: ... this new file.
14480 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14481 (sysdep_routines): Move recvmmsg and sendmmsg...
14482 * socket/Makefile (routines): ... here.
14483 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14484 (GLIBC_PRIVATE): Add __sendmmsg.
14485 * include/sys/socket.h (__sendmmsg): Add declarations.
14486 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14489 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14491 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14492 variable I1 with __attribute__ ((unused)).
14493 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14495 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14497 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14498 DUMMY variables with __attribute__ ((unused)).
14500 * bits/byteswap.h: Include <bits/types.h>.
14501 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14503 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14505 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14506 string_t. Do not manually set errno.
14507 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14508 length with __strnlen. Make sure to both set errno and return it on
14511 2012-11-19 David S. Miller <davem@davemloft.net>
14513 With help from Joseph Myers.
14514 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14515 very large arguments properly.
14516 * math/libm-test.inc (atan_test): New tests.
14517 (atan2_test): New tests.
14518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14521 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14524 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14527 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14528 [POSIX] (EADDRNOTAVAIL): Likewise.
14529 [POSIX] (EAFNOSUPPORT): Likewise.
14530 [POSIX] (EALREADY): Likewise.
14531 [POSIX] (ECONNABORTED): Likewise.
14532 [POSIX] (ECONNREFUSED): Likewise.
14533 [POSIX] (ECONNRESET): Likewise.
14534 [POSIX] (EDESTADDRREQ): Likewise.
14535 [POSIX] (EDQUOT): Likewise.
14536 [POSIX] (EHOSTUNREACH): Likewise.
14537 [POSIX] (EIDRM): Likewise.
14538 [POSIX] (EISCONN): Likewise.
14539 [POSIX] (ELOOP): Likewise.
14540 [POSIX] (EMULTIHOP): Likewise.
14541 [POSIX] (ENETDOWN): Likewise.
14542 [POSIX] (ENETUNREACH): Likewise.
14543 [POSIX] (ENOBUFS): Likewise.
14544 [POSIX] (ENODATA): Likewise.
14545 [POSIX] (ENOLINK): Likewise.
14546 [POSIX] (ENOMSG): Likewise.
14547 [POSIX] (ENOPROTOOPT): Likewise.
14548 [POSIX] (ENOSR): Likewise.
14549 [POSIX] (ENOSTR): Likewise.
14550 [POSIX] (ENOTCONN): Likewise.
14551 [POSIX] (ENOTSOCK): Likewise.
14552 [POSIX] (EOPNOTSUPP): Likewise.
14553 [POSIX] (EOVERFLOW): Likewise.
14554 [POSIX] (EPROTO): Likewise.
14555 [POSIX] (EPROTONOSUPPORT): Likewise.
14556 [POSIX] (EPROTOTYPE): Likewise.
14557 [POSIX] (ESTALE): Likewise.
14558 [POSIX] (ETIME): Likewise.
14559 [POSIX] (ETXTBSY): Likewise.
14560 [POSIX] (EWOULDBLOCK): Likewise.
14561 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14562 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14563 [POSIX] (SEEK_CUR): Likewise.
14564 [POSIX] (SEEK_END): Likewise.
14565 [POSIX || UNIX98] (mode_t): Do not require.
14566 [POSIX] (off_t): Likewise.
14567 [POSIX] (pid_t): Likewise.
14568 [POSIX] (sys/stat.h): Do not allow header.
14569 [POSIX] (unistd.h): Likewise.
14570 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14571 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14572 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14573 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14575 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14576 sigevent): Specify elements.
14577 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14579 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14580 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14582 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14583 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14584 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14585 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14586 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14587 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14588 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14589 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14590 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14591 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14592 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14593 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14594 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14599 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14601 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14603 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14604 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14605 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14606 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14607 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14608 Specify lower bound on value.
14609 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14610 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14611 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14612 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14613 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14614 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14615 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14616 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14618 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14620 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14621 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14622 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14623 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14624 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14625 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14626 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14627 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14628 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14629 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14630 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14631 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14632 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14633 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14634 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14635 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14637 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14639 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14640 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14641 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14642 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14643 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14644 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14646 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14647 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14648 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14649 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14650 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14651 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14654 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14655 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14656 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14657 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14658 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14659 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14660 specify as optional.
14661 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14662 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14663 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14664 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14665 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14666 [XPG3] (NL_LANGMAX): Likewise.
14667 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14668 [POSIX || XPG3] (NL_NMAX): Likewise.
14669 [POSIX || XPG3] (NL_SETMAX): Likewise.
14670 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14671 [XPG3] (NZERO): Likewise.
14672 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14673 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14674 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14675 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14676 (REG_ERANGE): Expect.
14677 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14679 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14680 Use (void) in prototype.
14681 [POSIX] (*_t): Allow.
14682 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14683 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14684 (WRDE_BADVAL): Expect.
14686 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14688 [XPG3 || XPG4] (O_RSYNC): Likewise.
14689 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14691 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14692 [XPG3 || XPG4] (sigqueue): Likewise.
14693 [XPG3 || XPG4] (sigtimedwait): Likewise.
14694 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14695 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14696 [XPG3 || XPG4] (vsnprintf): Likewise.
14697 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14699 [XPG3 || XPG4] (blksize_t): Likewise.
14700 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14702 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14703 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14704 [XPG3 || XPG4] (struct itimerspec): Likewise.
14705 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14706 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14707 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14708 [XPG3 || XPG4] (clockid_t): Likewise.
14709 [XPG3 || XPG4] (timer_t): Likewise.
14710 [XPG3 || XPG4] (clock_getres): Likewise.
14711 [XPG3 || XPG4] (clock_gettime): Likewise.
14712 [XPG3 || XPG4] (clock_settime): Likewise.
14713 [XPG3 || XPG4] (nanosleep): Likewise.
14714 [XPG3 || XPG4] (timer_create): Likewise.
14715 [XPG3 || XPG4] (timer_delete): Likewise.
14716 [XPG3 || XPG4] (timer_gettime): Likewise.
14717 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14718 [XPG3 || XPG4] (timer_settime): Likewise.
14719 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14720 [XPG3 || XPG4] (getlogin_r): Likewise.
14721 [XPG3 || XPG4] (pread): Likewise.
14722 [XPG3 || XPG4] (pthread_atfork): Likewise.
14723 [XPG3 || XPG4] (pwrite): Likewise.
14726 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14729 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14731 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14732 finalizing MALLSTREAM.
14734 * sysdeps/mach/hurd/syncfs.c: New file.
14736 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14739 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14740 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14742 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14743 (_nss_dns_gethostbyname4_r): Likewise.
14744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14745 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14747 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14750 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14752 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14754 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14755 * elf/cache.c (print_entry): Print ",AArch64" for
14758 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14759 * elf/cache.c (print_entry): Print ",hard-float" for
14762 2012-11-18 David S. Miller <davem@davemloft.net>
14764 With help from Joseph Myers.
14765 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14767 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14769 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14770 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14772 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14773 * math/libm-test.inc (y0_test): New tests.
14774 (y1_test): New tests.
14775 * sysdeps/i386/fpu/libm-test-ulps: Update.
14776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14779 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14781 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14783 * configure: Regenerated.
14785 2012-11-17 David S. Miller <davem@davemloft.net>
14788 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14789 nonzero exponents with absolute value below 0x1p-128 to +/-
14792 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14794 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14796 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14798 * posix/getconf-speclist.c: New file.
14799 * posix/posix-envs.def: Likewise.
14800 * posix/confstr.c (START_ENV_GROUP): New macro.
14801 (END_ENV_GROUP): Likewise.
14802 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14803 (KNOWN_PRESENT_ENV_STRING): Likewise.
14804 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14805 (UNKNOWN_ENVIRONMENT): Likewise.
14806 (confstr): Include posix-envs.def instead of handling
14807 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14808 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14809 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14810 (END_ENV_GROUP): Likewise.
14811 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14812 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14813 (UNKNOWN_ENVIRONMENT): Likewise.
14814 (__sysconf): Include posix-envs.def instead of handling associated
14815 cases directly here.
14816 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14817 preprocessing getconf-speclist.c rather than running getconf or
14818 generating empty file.
14820 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14822 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14824 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14827 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14829 2012-11-16 David S. Miller <davem@davemloft.net>
14831 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14832 smaller than LDBL_EPSILON/2.0L, just return xm1.
14834 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14836 * elf/tst-array1.c (init): Set constructor priority to 1000.
14837 (fini): Set destructor priority to 1000.
14838 * elf/tst-array2dep.c: Likewise.
14840 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14843 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14844 (_IO_new_file_xsputn): Also return EOF if none of the input
14845 data was written when overflow failed.
14846 * libio/iopadn.c (_IO_padn): Likewise.
14847 * libio/iowpadn.c (_IO_wpadn): Likewise.
14848 * stdio-common/tst-put-error.c: Add copyright notice.
14849 (do_test): Add case for printing padded string.
14850 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14851 _IO_padn returned error.
14852 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14853 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14856 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14858 * libio/libioP.h: Add comment note that the references to C++
14859 bits are now obsolete.
14861 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14863 * math/libm-test.inc (check_complex): Use asprintf.
14865 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14867 * debug/pcprofiledump.c (print_version): Update copyright year.
14868 * malloc/memusagestat.c (print_version): Likewise.
14870 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14873 * elf/Makefile (tests): Add tst-audit8.
14874 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14875 ($(objpfx)tst-audit8.out): New target.
14876 (tst-audit8-ENV): New variable.
14877 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14878 audit if l_reloc_result is NULL.
14879 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14880 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14881 * elf/tst-audit8.c: New file.
14883 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14885 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14886 * misc/Makefile (CFLAGS-select.c): Define.
14887 * posix/Makefile (CFLAGS-pause.c): Define.
14889 2012-11-13 David S. Miller <davem@davemloft.net>
14891 * crypt/Makefile: Move test targets after toplevel Rules
14892 inclusion. Grab any necessary sysdep routines when linking.
14893 * crypt/md5.c (md5_process_block): Remove define, we will always
14894 name it __md5_process_block.
14895 (md5_finish_ctx): Update md5_process_block call.
14896 (md5_stream): Likewise.
14897 (md5_process_bytes): Likewise.
14898 (md5_process_block): Rename to __md5_process_block and move to ...
14899 * crypt/md5-block.c: ... here.
14900 * crypt/sha256.c (sha256_process_block): Move to ...
14901 * crypt/sha256-block.c: ... here.
14902 * crypt/sha512.c (sha512_process_block): Move to ...
14903 * crypt/sha512-block.c: ... here.
14904 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14906 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14907 * sysdeps/sparc/sparc64/multiarch/Makefile
14908 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14910 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14911 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14913 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14914 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14915 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14916 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14917 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14918 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14919 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14920 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14921 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14923 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14928 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14930 * timezone/tzselect.ksh: Update from tzcode git revision
14931 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14932 * timezone/zdump.c: Likewise.
14933 * timezone/zic.c: Likewise.
14934 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14935 in TZVERSION setting, not $(PKGVERSION).
14936 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14937 REPORT_BUGS_TO settings.
14940 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14943 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14945 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14946 detection to immediately after _FP_ROUND().
14947 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14950 2012-11-11 David S. Miller <davem@davemloft.net>
14952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14954 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14955 __close rather than their public counterparts.
14957 2012-11-10 Joseph Myers <joseph@codesourcery.com>
14959 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14961 [UNIX98] (sem_timedwait): Do not expect.
14962 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14963 [XPG4 || UNIX98] (sockatmark): Do not expect.
14964 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14965 (clock_getcpuclockid): Do not expect.
14966 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14967 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14969 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14970 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14971 [UNIX98] (vwscanf): Likewise.
14972 [UNIX98] (vswscanf): Likewise.
14974 2012-11-09 Joseph Myers <joseph@codesourcery.com>
14976 * timezone/version.h: Remove file.
14977 * timezone/README: Do not refer to version.h.
14978 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14979 $(objpfx)version.h.
14980 ($(objpfx)zdump.o): Likewise.
14981 ($(objpfx)version.h): New target.
14983 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14985 * timezone/README: Don't mention modification to tzselect.ksh.
14986 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14987 work on unmodified tzselect.ksh. Substitute version numbers in
14990 * Makefile (format-me): Remove.
14991 (INSTALL): Adjust indentation. Use commands directly instead of
14992 using $(format-me).
14994 * aclocal.m4 (ACX_PKGVERSION): New macro.
14995 (ACX_BUGURL): Likewise.
14996 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14997 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14998 (REPORT_BUGS_TO): Likewise.
14999 * configure: Regenerated.
15000 * config.h.in (PKGVERSION): New macro.
15001 (REPORT_BUGS_TO): Likewise.
15002 * config.make.in (PKGVERSION): New variable.
15003 (PKGVERSION_TEXI): Likewise.
15004 (REPORT_BUGS_TO): Likewise.
15005 (REPORT_BUGS_TEXI): Likewise.
15006 * Makefile (format-me): Use -I$(common-objpfx)manual.
15007 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15008 ($(common-objpfx)manual/%): New target.
15009 (manual/%): Remove target.
15010 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15011 (print_version): Use PKGVERSION.
15012 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15013 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15014 and REPORT_BUGS_TO.
15015 ($(objpfx)xtrace): Likewise.
15016 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15017 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15018 (print_version): Use PKGVERSION.
15019 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15020 (do_version): Use PKGVERSION.
15021 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15023 (common-ldd-rewrite): Likewise.
15024 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15025 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15026 (print_version): Use PKGVERSION.
15027 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15028 * elf/pldd.c (argp_program_bug_address): Remove variable.
15029 (more_help): New function.
15030 (argp): Use more_help.
15031 (print_version): Use PKGVERSION.
15032 * elf/sln.c (main): Use PKGVERSION.
15033 (usage): Use REPORT_BUGS_TO.
15034 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15035 (top level): Use PKGVERSION.
15036 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15037 (print_version): Use PKGVERSION.
15038 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15039 (print_version): Use PKGVERSION.
15040 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15041 (print_version): Use PKGVERSION.
15042 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15043 (print_version): Use PKGVERSION.
15044 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15045 (print_version): Use PKGVERSION.
15046 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15047 (print_version): Use PKGVERSION.
15048 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15050 ($(objpfx)memusage): Likewise.
15051 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15052 (do_version): Use PKGVERSION.
15053 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15054 (print_version): Use PKGVERSION.
15055 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15056 ($PKGVERSION): New variable.
15057 ($REPORT_BUGS_TO): Likewise.
15058 (usage): Use $REPORT_BUGS_TO.
15059 (top level): Use $PKGVERSION.
15060 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15061 ($(objpfx)pkgvers.texi): New rule.
15062 ($(objpfx)stamp-pkgvers): Likewise.
15063 * manual/install.texi: Include pkgvers.texi.
15064 (--with-pkgversion): Document new configure option.
15065 (--with-bugurl): Likewise.
15066 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15067 than necessarily for this particular distribution. Use
15068 REPORT_BUGS_TO for where to report bugs.
15069 * INSTALL: Regenerated.
15070 * manual/libc.texinfo: Include pkgvers.texi.
15071 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15072 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15073 (print_version): Use PKGVERSION.
15074 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15075 (print_version): Use PKGVERSION.
15076 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15077 (print_version): Use PKGVERSION.
15078 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15079 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15081 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15082 (print_version): Use PKGVERSION.
15083 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15084 (print_version): Use PKGVERSION.
15085 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15088 * timezone/checktab.awk: Update from tzcode 2012i.
15089 * timezone/ialloc.c: Likewise.
15090 * timezone/private.h: Likewise.
15091 * timezone/scheck.c: Likewise.
15092 * timezone/tzfile.h: Likewise.
15093 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15094 (TZVERSION): Hardcode tzcode version number.
15095 * timezone/zdump.c: Update from tzcode 2012i.
15096 * timezone/zic.c: Likewise.
15097 * timezone/version.h: New file.
15098 * timezone/README: Describe version.h. Update upstream location.
15101 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15102 (mktemp): Enable declaration.
15103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15120 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15121 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15122 for copies of such integer values.
15123 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15124 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15126 2012-11-09 Andreas Jaeger <aj@suse.de>
15128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15129 definitions and declarations that are provided by
15130 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15132 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15134 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15135 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15136 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15139 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15141 * elf/elf.h: Update comment before AArch64 relocations.
15143 2012-11-07 David S. Miller <davem@davemloft.net>
15145 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15146 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15147 (__start_context): Declare.
15148 (__makecontext_ret): Delete.
15149 (__makecontext): Hook up __start_context instead of
15151 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15152 (sysdep_routines): Add __start_context when in stdlib.
15154 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15156 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15157 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15158 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15160 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15161 (READELF): New variable. Use it instead of hardcoded "readelf".
15163 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15165 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15166 * sysdeps/x86/Makefile: Here.
15167 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15168 * sysdeps/x86/tst-xmmymm.sh: This.
15170 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15172 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15174 [UNIX98] (pthread_barrier_t): Do not expect.
15175 [UNIX98] (pthread_barrierattr_t): Likewise.
15176 [UNIX98] (pthread_spinlock_t): Likewise.
15177 [UNIX98] (pthread_barrier_destroy): Likewise.
15178 [UNIX98] (pthread_barrier_init): Likewise.
15179 [UNIX98] (pthread_barrier_wait): Likewise.
15180 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15181 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15182 [UNIX98] (pthread_barrierattr_init): Likewise.
15183 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15184 [UNIX98] (pthread_getcpuclockid): Likewise.
15185 [UNIX98] (pthread_mutex_timedlock): Likewise.
15186 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15187 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15188 [UNIX98] (pthread_sigmask): Likewise.
15189 [UNIX98] (pthread_spin_destroy): Likewise.
15190 [UNIX98] (pthread_spin_init): Likewise.
15191 [UNIX98] (pthread_spin_lock): Likewise.
15192 [UNIX98] (pthread_spin_trylock): Likewise.
15193 [UNIX98] (pthread_spin_unlock): Likewise.
15194 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15196 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15198 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15199 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15200 [XPG3 || XPG4] (pthread_key_t): Likewise.
15201 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15202 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15203 [XPG3 || XPG4] (pthread_once_t): Likewise.
15204 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15205 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15207 [XPG3 || XPG4] (pthread_t): Likewise.
15209 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15211 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15213 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15214 Change function return type to int.
15216 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15217 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15218 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15219 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15220 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15221 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15222 [!POSIX] (posix_madvise): Likewise.
15223 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15225 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15226 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15227 (mode_t): Likewise.
15228 (posix_mem_offset): Likewise.
15229 (posix_typed_mem_get_info): Likewise.
15230 (posix_typed_mem_open): Likewise.
15232 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15233 Change condition to [XOPEN2K8].
15235 * conform/conformtest.pl: Preprocess allow-header data with -x c
15236 instead of from stdin.
15237 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15238 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15239 [C99-based standards] (cerfc): Likewise.
15240 [C99-based standards] (cexp2): Likewise.
15241 [C99-based standards] (cexpm1): Likewise.
15242 [C99-based standards] (clog10): Likewise.
15243 [C99-based standards] (clog1p): Likewise.
15244 [C99-based standards] (clog2): Likewise.
15245 [C99-based standards] (clgamma): Likewise.
15246 [C99-based standards] (ctgamma): Likewise.
15247 [C99-based standards] (cerff): Likewise.
15248 [C99-based standards] (cerfcf): Likewise.
15249 [C99-based standards] (cexp2f): Likewise.
15250 [C99-based standards] (cexpm1f): Likewise.
15251 [C99-based standards] (clog10f): Likewise.
15252 [C99-based standards] (clog1pf): Likewise.
15253 [C99-based standards] (clog2f): Likewise.
15254 [C99-based standards] (clgammaf): Likewise.
15255 [C99-based standards] (ctgammaf): Likewise.
15256 [C99-based standards] (cerfl): Likewise.
15257 [C99-based standards] (cerfcl): Likewise.
15258 [C99-based standards] (cexp2l): Likewise.
15259 [C99-based standards] (cexpm1l): Likewise.
15260 [C99-based standards] (clog10l): Likewise.
15261 [C99-based standards] (clog1pl): Likewise.
15262 [C99-based standards] (clog2l): Likewise.
15263 [C99-based standards] (clgammal): Likewise.
15264 [C99-based standards] (ctgammal): Likewise.
15265 * conform/data/inttypes.h-data [C99-based standards]: Include
15266 stdint.h-data. Remove all expectations for stdint.h contents.
15267 [C99-based standards] (PRI*): Do not allow.
15268 [C99-based standards] (SCN*): Likewise.
15269 [C99-based standards] (*_t): Likewise.
15270 [C99-based-standards] (PRId8): Expect macro.
15271 [C99-based-standards] (PRIi8): Likewise.
15272 [C99-based-standards] (PRIo8): Likewise.
15273 [C99-based-standards] (PRIu8): Likewise.
15274 [C99-based-standards] (PRIx8): Likewise.
15275 [C99-based-standards] (PRIX8): Likewise.
15276 [C99-based-standards] (SCNd8): Likewise.
15277 [C99-based-standards] (SCNi8): Likewise.
15278 [C99-based-standards] (SCNo8): Likewise.
15279 [C99-based-standards] (SCNu8): Likewise.
15280 [C99-based-standards] (SCNx8): Likewise.
15281 [C99-based-standards] (PRIdLEAST8): Likewise.
15282 [C99-based-standards] (PRIiLEAST8): Likewise.
15283 [C99-based-standards] (PRIoLEAST8): Likewise.
15284 [C99-based-standards] (PRIuLEAST8): Likewise.
15285 [C99-based-standards] (PRIxLEAST8): Likewise.
15286 [C99-based-standards] (PRIXLEAST8): Likewise.
15287 [C99-based-standards] (SCNdLEAST8): Likewise.
15288 [C99-based-standards] (SCNiLEAST8): Likewise.
15289 [C99-based-standards] (SCNoLEAST8): Likewise.
15290 [C99-based-standards] (SCNuLEAST8): Likewise.
15291 [C99-based-standards] (SCNxLEAST8): Likewise.
15292 [C99-based-standards] (PRIdFAST8): Likewise.
15293 [C99-based-standards] (PRIiFAST8): Likewise.
15294 [C99-based-standards] (PRIoFAST8): Likewise.
15295 [C99-based-standards] (PRIuFAST8): Likewise.
15296 [C99-based-standards] (PRIxFAST8): Likewise.
15297 [C99-based-standards] (PRIXFAST8): Likewise.
15298 [C99-based-standards] (SCNdFAST8): Likewise.
15299 [C99-based-standards] (SCNiFAST8): Likewise.
15300 [C99-based-standards] (SCNoFAST8): Likewise.
15301 [C99-based-standards] (SCNuFAST8): Likewise.
15302 [C99-based-standards] (SCNxFAST8): Likewise.
15303 [C99-based-standards] (PRId16): Likewise.
15304 [C99-based-standards] (PRIi16): Likewise.
15305 [C99-based-standards] (PRIo16): Likewise.
15306 [C99-based-standards] (PRIu16): Likewise.
15307 [C99-based-standards] (PRIx16): Likewise.
15308 [C99-based-standards] (PRIX16): Likewise.
15309 [C99-based-standards] (SCNd16): Likewise.
15310 [C99-based-standards] (SCNi16): Likewise.
15311 [C99-based-standards] (SCNo16): Likewise.
15312 [C99-based-standards] (SCNu16): Likewise.
15313 [C99-based-standards] (SCNx16): Likewise.
15314 [C99-based-standards] (PRIdLEAST16): Likewise.
15315 [C99-based-standards] (PRIiLEAST16): Likewise.
15316 [C99-based-standards] (PRIoLEAST16): Likewise.
15317 [C99-based-standards] (PRIuLEAST16): Likewise.
15318 [C99-based-standards] (PRIxLEAST16): Likewise.
15319 [C99-based-standards] (PRIXLEAST16): Likewise.
15320 [C99-based-standards] (SCNdLEAST16): Likewise.
15321 [C99-based-standards] (SCNiLEAST16): Likewise.
15322 [C99-based-standards] (SCNoLEAST16): Likewise.
15323 [C99-based-standards] (SCNuLEAST16): Likewise.
15324 [C99-based-standards] (SCNxLEAST16): Likewise.
15325 [C99-based-standards] (PRIdFAST16): Likewise.
15326 [C99-based-standards] (PRIiFAST16): Likewise.
15327 [C99-based-standards] (PRIoFAST16): Likewise.
15328 [C99-based-standards] (PRIuFAST16): Likewise.
15329 [C99-based-standards] (PRIxFAST16): Likewise.
15330 [C99-based-standards] (PRIXFAST16): Likewise.
15331 [C99-based-standards] (SCNdFAST16): Likewise.
15332 [C99-based-standards] (SCNiFAST16): Likewise.
15333 [C99-based-standards] (SCNoFAST16): Likewise.
15334 [C99-based-standards] (SCNuFAST16): Likewise.
15335 [C99-based-standards] (SCNxFAST16): Likewise.
15336 [C99-based-standards] (PRId32): Likewise.
15337 [C99-based-standards] (PRIi32): Likewise.
15338 [C99-based-standards] (PRIo32): Likewise.
15339 [C99-based-standards] (PRIu32): Likewise.
15340 [C99-based-standards] (PRIx32): Likewise.
15341 [C99-based-standards] (PRIX32): Likewise.
15342 [C99-based-standards] (SCNd32): Likewise.
15343 [C99-based-standards] (SCNi32): Likewise.
15344 [C99-based-standards] (SCNo32): Likewise.
15345 [C99-based-standards] (SCNu32): Likewise.
15346 [C99-based-standards] (SCNx32): Likewise.
15347 [C99-based-standards] (PRIdLEAST32): Likewise.
15348 [C99-based-standards] (PRIiLEAST32): Likewise.
15349 [C99-based-standards] (PRIoLEAST32): Likewise.
15350 [C99-based-standards] (PRIuLEAST32): Likewise.
15351 [C99-based-standards] (PRIxLEAST32): Likewise.
15352 [C99-based-standards] (PRIXLEAST32): Likewise.
15353 [C99-based-standards] (SCNdLEAST32): Likewise.
15354 [C99-based-standards] (SCNiLEAST32): Likewise.
15355 [C99-based-standards] (SCNoLEAST32): Likewise.
15356 [C99-based-standards] (SCNuLEAST32): Likewise.
15357 [C99-based-standards] (SCNxLEAST32): Likewise.
15358 [C99-based-standards] (PRIdFAST32): Likewise.
15359 [C99-based-standards] (PRIiFAST32): Likewise.
15360 [C99-based-standards] (PRIoFAST32): Likewise.
15361 [C99-based-standards] (PRIuFAST32): Likewise.
15362 [C99-based-standards] (PRIxFAST32): Likewise.
15363 [C99-based-standards] (PRIXFAST32): Likewise.
15364 [C99-based-standards] (SCNdFAST32): Likewise.
15365 [C99-based-standards] (SCNiFAST32): Likewise.
15366 [C99-based-standards] (SCNoFAST32): Likewise.
15367 [C99-based-standards] (SCNuFAST32): Likewise.
15368 [C99-based-standards] (SCNxFAST32): Likewise.
15369 [C99-based-standards] (PRId64): Likewise.
15370 [C99-based-standards] (PRIi64): Likewise.
15371 [C99-based-standards] (PRIo64): Likewise.
15372 [C99-based-standards] (PRIu64): Likewise.
15373 [C99-based-standards] (PRIx64): Likewise.
15374 [C99-based-standards] (PRIX64): Likewise.
15375 [C99-based-standards] (SCNd64): Likewise.
15376 [C99-based-standards] (SCNi64): Likewise.
15377 [C99-based-standards] (SCNo64): Likewise.
15378 [C99-based-standards] (SCNu64): Likewise.
15379 [C99-based-standards] (SCNx64): Likewise.
15380 [C99-based-standards] (PRIdLEAST64): Likewise.
15381 [C99-based-standards] (PRIiLEAST64): Likewise.
15382 [C99-based-standards] (PRIoLEAST64): Likewise.
15383 [C99-based-standards] (PRIuLEAST64): Likewise.
15384 [C99-based-standards] (PRIxLEAST64): Likewise.
15385 [C99-based-standards] (PRIXLEAST64): Likewise.
15386 [C99-based-standards] (SCNdLEAST64): Likewise.
15387 [C99-based-standards] (SCNiLEAST64): Likewise.
15388 [C99-based-standards] (SCNoLEAST64): Likewise.
15389 [C99-based-standards] (SCNuLEAST64): Likewise.
15390 [C99-based-standards] (SCNxLEAST64): Likewise.
15391 [C99-based-standards] (PRIdFAST64): Likewise.
15392 [C99-based-standards] (PRIiFAST64): Likewise.
15393 [C99-based-standards] (PRIoFAST64): Likewise.
15394 [C99-based-standards] (PRIuFAST64): Likewise.
15395 [C99-based-standards] (PRIxFAST64): Likewise.
15396 [C99-based-standards] (PRIXFAST64): Likewise.
15397 [C99-based-standards] (SCNdFAST64): Likewise.
15398 [C99-based-standards] (SCNiFAST64): Likewise.
15399 [C99-based-standards] (SCNoFAST64): Likewise.
15400 [C99-based-standards] (SCNuFAST64): Likewise.
15401 [C99-based-standards] (SCNxFAST64): Likewise.
15402 [C99-based-standards] (PRIdMAX): Likewise.
15403 [C99-based-standards] (PRIiMAX): Likewise.
15404 [C99-based-standards] (PRIoMAX): Likewise.
15405 [C99-based-standards] (PRIuMAX): Likewise.
15406 [C99-based-standards] (PRIxMAX): Likewise.
15407 [C99-based-standards] (PRIXMAX): Likewise.
15408 [C99-based-standards] (SCNdMAX): Likewise.
15409 [C99-based-standards] (SCNiMAX): Likewise.
15410 [C99-based-standards] (SCNoMAX): Likewise.
15411 [C99-based-standards] (SCNuMAX): Likewise.
15412 [C99-based-standards] (SCNxMAX): Likewise.
15413 [C99-based-standards] (PRIdPTR): Likewise.
15414 [C99-based-standards] (PRIiPTR): Likewise.
15415 [C99-based-standards] (PRIoPTR): Likewise.
15416 [C99-based-standards] (PRIuPTR): Likewise.
15417 [C99-based-standards] (PRIxPTR): Likewise.
15418 [C99-based-standards] (PRIXPTR): Likewise.
15419 [C99-based-standards] (SCNdPTR): Likewise.
15420 [C99-based-standards] (SCNiPTR): Likewise.
15421 [C99-based-standards] (SCNoPTR): Likewise.
15422 [C99-based-standards] (SCNuPTR): Likewise.
15423 [C99-based-standards] (SCNxPTR): Likewise.
15424 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15426 * conform/data/stdint.h-data: Update comments to clarify
15428 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15430 [C99-based standards] (INT8_MAX): Likewise.
15431 [C99-based standards] (INT16_MIN): Likewise.
15432 [C99-based standards] (INT16_MAX): Likewise.
15433 [C99-based standards] (INT32_MIN): Likewise.
15434 [C99-based standards] (INT32_MAX): Likewise.
15435 [C99-based standards] (INT64_MIN): Likewise.
15436 [C99-based standards] (INT64_MAX): Likewise.
15437 [C99-based standards] (UINT8_MAX): Likewise.
15438 [C99-based standards] (UINT16_MAX): Likewise.
15439 [C99-based standards] (UINT32_MAX): Likewise.
15440 [C99-based standards] (UINT64_MAX): Likewise.
15441 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15442 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15443 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15444 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15445 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15446 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15447 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15448 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15449 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15450 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15451 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15452 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15453 [C99-based standards] (INT_FAST8_MIN): Likewise.
15454 [C99-based standards] (INT_FAST8_MAX): Likewise.
15455 [C99-based standards] (INT_FAST16_MIN): Likewise.
15456 [C99-based standards] (INT_FAST16_MAX): Likewise.
15457 [C99-based standards] (INT_FAST32_MIN): Likewise.
15458 [C99-based standards] (INT_FAST32_MAX): Likewise.
15459 [C99-based standards] (INT_FAST64_MIN): Likewise.
15460 [C99-based standards] (INT_FAST64_MAX): Likewise.
15461 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15462 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15463 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15464 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15465 [C99-based standards] (INTPTR_MIN): Likewise.
15466 [C99-based standards] (INTPTR_MAX): Likewise.
15467 [C99-based standards] (UINTPTR_MAX): Likewise.
15468 [C99-based standards] (INTMAX_MIN): Likewise.
15469 [C99-based standards] (INTMAX_MAX): Likewise.
15470 [C99-based standards] (UINTMAX_MAX): Likewise.
15471 [C99-based standards] (PTRDIFF_MIN): Likewise.
15472 [C99-based standards] (PTRDIFF_MAX): Likewise.
15473 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15474 [C99-based standards] (SIZE_MAX): Likewise.
15475 [C99-based standards] (WCHAR_MAX): Likewise.
15476 [C99-based standards] (WINT_MAX): Likewise.
15477 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15478 constraint on value.
15479 [C99-based standards] (WCHAR_MIN): Likewise.
15480 [C99-based standards] (WINT_MIN): Likewise.
15481 [C99-based standards] (*_t): Allow.
15482 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15483 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15484 Include math.h-data and complex.h-data. Remove all expectations
15485 of math.h and complex.h contents.
15486 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15488 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15489 (struct tm): Expect tag.
15490 [C99-based-standards] (wcstof): Expect function.
15491 [C99-based-standards] (wcstold): Likewise.
15492 [C99-based-standards] (wcstoll): Likewise.
15493 [C99-based-standards] (wcstoull): Likewise.
15494 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15495 macro-int-constant. Specify type.
15496 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15497 constraint on value.
15498 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15500 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15502 [ISO C standards]: Do not allow headers.
15503 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15504 wcs[abcdefghijklmnopqrstuvwxyz]*.
15505 [ISO C standards] (*_t): Do not allow.
15506 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15508 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15509 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15511 [ISO C standards]: Do not allow headers.
15512 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15513 is[abcdefghijklmnopqrstuvwxyz]*.
15514 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15515 to[abcdefghijklmnopqrstuvwxyz]*.
15516 [ISO C standards] (*_t): Do not allow.
15517 * conform/data/stdalign.h-data: New file.
15518 * conform/data/stdbool.h-data: Likewise.
15519 * conform/data/stdnoreturn.h-data: Likewise.
15521 2012-11-07 Roland McGrath <roland@hack.frob.com>
15524 * manual/filesys.texi (Directory Entries): Typo fix.
15525 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15527 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15529 * elf/elf.h (EM_AARCH64): New macro.
15530 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15531 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15532 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15533 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15534 (R_AARCH64_TLSDESC): Likewise.
15535 (NT_ARM_TLS): Likewise.
15536 (NT_ARM_HW_BREAK): Likewise.
15537 (NT_ARM_HW_WATCH): Likewise.
15539 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15542 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15543 (__ieee754_powl): Saturate nonzero exponents with absolute value
15544 below 0x1p-79 to +/- 0x1p-79.
15545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15546 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15547 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15548 nonzero exponents with absolute value below 0x1p-32 to +/-
15550 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15551 (__ieee754_powl): Saturate nonzero exponents with absolute value
15552 below 0x1p-79 to +/- 0x1p-79.
15553 * math/libm-test.inc (pow_test): Add more tests.
15555 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15557 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15558 _dl_s390_cap_flags with kernel. Increase string length.
15559 (_dl_s390_platforms): Add z196 and zEC12.
15561 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15563 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15564 Change XOPEN21K to XOPEN2K.
15566 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15568 * string/memmove.c: Use memcpy when possible.
15570 2012-11-06 Andreas Jaeger <aj@suse.de>
15572 * po/eo.po: Update from translation team.
15574 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15578 exponent and small x and y exponents, scale x or y up. Increase
15579 by 2 the exponent used in scaling up.
15580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15582 * math/libm-test.inc (fma_test): Add more tests.
15583 (fma_test_towardzero): Likewise.
15584 (fma_test_downward): Likewise.
15585 (fma_test_upward): Likewise.
15587 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15590 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15594 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15595 namespace for names of struct fields.
15596 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15598 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15599 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15601 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15604 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15606 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15608 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15612 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15615 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15619 definitely overflow as x * y not x * y + z.
15620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15621 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15622 * math/libm-test.inc (fma_test): Add more tests.
15623 (fma_test_towardzero): Likewise.
15624 (fma_test_downward): Likewise.
15625 (fma_test_upward): Likewise.
15627 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15631 * include/stub-tag.h: Remove file.
15632 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15634 * manual/maint.texi (Porting): Don't reference it.
15635 * Makerules ($(objpfx)stubs): Likewise.
15636 * dirent/closedir.c: Don't include <stub-tag.h>.
15637 * dirent/dirfd.c: Likewise.
15638 * dirent/fdopendir.c: Likewise.
15639 * dirent/getdents.c: Likewise.
15640 * dirent/getdents64.c: Likewise.
15641 * dirent/opendir.c: Likewise.
15642 * dirent/readdir.c: Likewise.
15643 * dirent/readdir64.c: Likewise.
15644 * dirent/readdir64_r.c: Likewise.
15645 * dirent/readdir_r.c: Likewise.
15646 * dirent/rewinddir.c: Likewise.
15647 * dirent/seekdir.c: Likewise.
15648 * dirent/telldir.c: Likewise.
15649 * gmon/profil.c: Likewise.
15650 * grp/setgroups.c: Likewise.
15651 * inet/if_index.c: Likewise.
15652 * io/access.c: Likewise.
15653 * io/chdir.c: Likewise.
15654 * io/chmod.c: Likewise.
15655 * io/chown.c: Likewise.
15656 * io/close.c: Likewise.
15657 * io/dup.c: Likewise.
15658 * io/dup2.c: Likewise.
15659 * io/dup3.c: Likewise.
15660 * io/euidaccess.c: Likewise.
15661 * io/faccessat.c: Likewise.
15662 * io/fchdir.c: Likewise.
15663 * io/fchmod.c: Likewise.
15664 * io/fchmodat.c: Likewise.
15665 * io/fchown.c: Likewise.
15666 * io/fchownat.c: Likewise.
15667 * io/fcntl.c: Likewise.
15668 * io/flock.c: Likewise.
15669 * io/fstatfs.c: Likewise.
15670 * io/fstatfs64.c: Likewise.
15671 * io/fstatvfs.c: Likewise.
15672 * io/fstatvfs64.c: Likewise.
15673 * io/futimens.c: Likewise.
15674 * io/fxstat.c: Likewise.
15675 * io/fxstat64.c: Likewise.
15676 * io/fxstatat.c: Likewise.
15677 * io/fxstatat64.c: Likewise.
15678 * io/getcwd.c: Likewise.
15679 * io/isatty.c: Likewise.
15680 * io/lchmod.c: Likewise.
15681 * io/lchown.c: Likewise.
15682 * io/link.c: Likewise.
15683 * io/linkat.c: Likewise.
15684 * io/lseek.c: Likewise.
15685 * io/lseek64.c: Likewise.
15686 * io/lxstat64.c: Likewise.
15687 * io/mkdir.c: Likewise.
15688 * io/mkdirat.c: Likewise.
15689 * io/mkfifo.c: Likewise.
15690 * io/mkfifoat.c: Likewise.
15691 * io/open.c: Likewise.
15692 * io/open64.c: Likewise.
15693 * io/openat.c: Likewise.
15694 * io/openat64.c: Likewise.
15695 * io/pipe.c: Likewise.
15696 * io/pipe2.c: Likewise.
15697 * io/poll.c: Likewise.
15698 * io/posix_fadvise.c: Likewise.
15699 * io/posix_fadvise64.c: Likewise.
15700 * io/posix_fallocate.c: Likewise.
15701 * io/posix_fallocate64.c: Likewise.
15702 * io/read.c: Likewise.
15703 * io/readlink.c: Likewise.
15704 * io/readlinkat.c: Likewise.
15705 * io/rmdir.c: Likewise.
15706 * io/sendfile.c: Likewise.
15707 * io/sendfile64.c: Likewise.
15708 * io/statfs.c: Likewise.
15709 * io/statfs64.c: Likewise.
15710 * io/statvfs.c: Likewise.
15711 * io/statvfs64.c: Likewise.
15712 * io/symlink.c: Likewise.
15713 * io/symlinkat.c: Likewise.
15714 * io/ttyname.c: Likewise.
15715 * io/ttyname_r.c: Likewise.
15716 * io/umask.c: Likewise.
15717 * io/unlink.c: Likewise.
15718 * io/unlinkat.c: Likewise.
15719 * io/utime.c: Likewise.
15720 * io/utimensat.c: Likewise.
15721 * io/write.c: Likewise.
15722 * io/xmknod.c: Likewise.
15723 * io/xmknodat.c: Likewise.
15724 * io/xstat.c: Likewise.
15725 * io/xstat64.c: Likewise.
15726 * login/getpt.c: Likewise.
15727 * login/grantpt.c: Likewise.
15728 * login/unlockpt.c: Likewise.
15729 * math/e_acoshl.c: Likewise.
15730 * math/e_acosl.c: Likewise.
15731 * math/e_asinl.c: Likewise.
15732 * math/e_atan2l.c: Likewise.
15733 * math/e_atanhl.c: Likewise.
15734 * math/e_coshl.c: Likewise.
15735 * math/e_expl.c: Likewise.
15736 * math/e_fmodl.c: Likewise.
15737 * math/e_gammal_r.c: Likewise.
15738 * math/e_hypotl.c: Likewise.
15739 * math/e_j0l.c: Likewise.
15740 * math/e_j1l.c: Likewise.
15741 * math/e_jnl.c: Likewise.
15742 * math/e_lgammal_r.c: Likewise.
15743 * math/e_log10l.c: Likewise.
15744 * math/e_log2l.c: Likewise.
15745 * math/e_logl.c: Likewise.
15746 * math/e_powl.c: Likewise.
15747 * math/e_rem_pio2l.c: Likewise.
15748 * math/e_sinhl.c: Likewise.
15749 * math/e_sqrtl.c: Likewise.
15750 * math/fclrexcpt.c: Likewise.
15751 * math/fedisblxcpt.c: Likewise.
15752 * math/feenablxcpt.c: Likewise.
15753 * math/fegetenv.c: Likewise.
15754 * math/fegetexcept.c: Likewise.
15755 * math/fegetround.c: Likewise.
15756 * math/feholdexcpt.c: Likewise.
15757 * math/fesetenv.c: Likewise.
15758 * math/fesetround.c: Likewise.
15759 * math/feupdateenv.c: Likewise.
15760 * math/fgetexcptflg.c: Likewise.
15761 * math/fraiseexcpt.c: Likewise.
15762 * math/fsetexcptflg.c: Likewise.
15763 * math/ftestexcept.c: Likewise.
15764 * math/k_cosl.c: Likewise.
15765 * math/k_rem_pio2l.c: Likewise.
15766 * math/k_sinl.c: Likewise.
15767 * math/k_tanl.c: Likewise.
15768 * math/s_asinhl.c: Likewise.
15769 * math/s_atanl.c: Likewise.
15770 * math/s_cbrtl.c: Likewise.
15771 * math/s_erfl.c: Likewise.
15772 * math/s_expm1l.c: Likewise.
15773 * math/s_log1pl.c: Likewise.
15774 * math/s_tanhl.c: Likewise.
15775 * misc/acct.c: Likewise.
15776 * misc/brk.c: Likewise.
15777 * misc/chflags.c: Likewise.
15778 * misc/chroot.c: Likewise.
15779 * misc/fchflags.c: Likewise.
15780 * misc/fgetxattr.c: Likewise.
15781 * misc/flistxattr.c: Likewise.
15782 * misc/fremovexattr.c: Likewise.
15783 * misc/fsetxattr.c: Likewise.
15784 * misc/fsync.c: Likewise.
15785 * misc/ftruncate.c: Likewise.
15786 * misc/futimes.c: Likewise.
15787 * misc/futimesat.c: Likewise.
15788 * misc/getdomain.c: Likewise.
15789 * misc/getdtsz.c: Likewise.
15790 * misc/gethostid.c: Likewise.
15791 * misc/gethostname.c: Likewise.
15792 * misc/getloadavg.c: Likewise.
15793 * misc/getpagesize.c: Likewise.
15794 * misc/getsysstats.c: Likewise.
15795 * misc/getxattr.c: Likewise.
15796 * misc/gtty.c: Likewise.
15797 * misc/ioctl.c: Likewise.
15798 * misc/lgetxattr.c: Likewise.
15799 * misc/listxattr.c: Likewise.
15800 * misc/llistxattr.c: Likewise.
15801 * misc/lremovexattr.c: Likewise.
15802 * misc/lsetxattr.c: Likewise.
15803 * misc/lutimes.c: Likewise.
15804 * misc/madvise.c: Likewise.
15805 * misc/mincore.c: Likewise.
15806 * misc/mlock.c: Likewise.
15807 * misc/mlockall.c: Likewise.
15808 * misc/mmap.c: Likewise.
15809 * misc/mprotect.c: Likewise.
15810 * misc/msync.c: Likewise.
15811 * misc/munlock.c: Likewise.
15812 * misc/munlockall.c: Likewise.
15813 * misc/munmap.c: Likewise.
15814 * misc/preadv.c: Likewise.
15815 * misc/preadv64.c: Likewise.
15816 * misc/ptrace.c: Likewise.
15817 * misc/pwritev.c: Likewise.
15818 * misc/pwritev64.c: Likewise.
15819 * misc/readv.c: Likewise.
15820 * misc/reboot.c: Likewise.
15821 * misc/remap_file_pages.c: Likewise.
15822 * misc/removexattr.c: Likewise.
15823 * misc/revoke.c: Likewise.
15824 * misc/select.c: Likewise.
15825 * misc/setdomain.c: Likewise.
15826 * misc/setegid.c: Likewise.
15827 * misc/seteuid.c: Likewise.
15828 * misc/sethostid.c: Likewise.
15829 * misc/sethostname.c: Likewise.
15830 * misc/setregid.c: Likewise.
15831 * misc/setreuid.c: Likewise.
15832 * misc/setxattr.c: Likewise.
15833 * misc/sstk.c: Likewise.
15834 * misc/stty.c: Likewise.
15835 * misc/swapoff.c: Likewise.
15836 * misc/swapon.c: Likewise.
15837 * misc/sync.c: Likewise.
15838 * misc/syncfs.c: Likewise.
15839 * misc/syscall.c: Likewise.
15840 * misc/truncate.c: Likewise.
15841 * misc/ualarm.c: Likewise.
15842 * misc/usleep.c: Likewise.
15843 * misc/ustat.c: Likewise.
15844 * misc/utimes.c: Likewise.
15845 * misc/vhangup.c: Likewise.
15846 * misc/writev.c: Likewise.
15847 * posix/_exit.c: Likewise.
15848 * posix/alarm.c: Likewise.
15849 * posix/execve.c: Likewise.
15850 * posix/fexecve.c: Likewise.
15851 * posix/fork.c: Likewise.
15852 * posix/fpathconf.c: Likewise.
15853 * posix/getaddrinfo.c: Likewise.
15854 * posix/getegid.c: Likewise.
15855 * posix/geteuid.c: Likewise.
15856 * posix/getgid.c: Likewise.
15857 * posix/getgroups.c: Likewise.
15858 * posix/getlogin.c: Likewise.
15859 * posix/getlogin_r.c: Likewise.
15860 * posix/getpgid.c: Likewise.
15861 * posix/getpid.c: Likewise.
15862 * posix/getppid.c: Likewise.
15863 * posix/getresgid.c: Likewise.
15864 * posix/getresuid.c: Likewise.
15865 * posix/getsid.c: Likewise.
15866 * posix/getuid.c: Likewise.
15867 * posix/glob64.c: Likewise.
15868 * posix/nanosleep.c: Likewise.
15869 * posix/pathconf.c: Likewise.
15870 * posix/pause.c: Likewise.
15871 * posix/posix_madvise.c: Likewise.
15872 * posix/pread.c: Likewise.
15873 * posix/pread64.c: Likewise.
15874 * posix/pwrite.c: Likewise.
15875 * posix/pwrite64.c: Likewise.
15876 * posix/sched_getaffinity.c: Likewise.
15877 * posix/sched_getp.c: Likewise.
15878 * posix/sched_gets.c: Likewise.
15879 * posix/sched_primax.c: Likewise.
15880 * posix/sched_primin.c: Likewise.
15881 * posix/sched_rr_gi.c: Likewise.
15882 * posix/sched_setaffinity.c: Likewise.
15883 * posix/sched_setp.c: Likewise.
15884 * posix/sched_sets.c: Likewise.
15885 * posix/sched_yield.c: Likewise.
15886 * posix/setgid.c: Likewise.
15887 * posix/setlogin.c: Likewise.
15888 * posix/setpgid.c: Likewise.
15889 * posix/setresgid.c: Likewise.
15890 * posix/setresuid.c: Likewise.
15891 * posix/setsid.c: Likewise.
15892 * posix/setuid.c: Likewise.
15893 * posix/sleep.c: Likewise.
15894 * posix/spawni.c: Likewise.
15895 * posix/sysconf.c: Likewise.
15896 * posix/times.c: Likewise.
15897 * posix/wait.c: Likewise.
15898 * posix/wait3.c: Likewise.
15899 * posix/wait4.c: Likewise.
15900 * posix/waitpid.c: Likewise.
15901 * resolv/gai_sigqueue.c: Likewise.
15902 * resource/getpriority.c: Likewise.
15903 * resource/getrlimit.c: Likewise.
15904 * resource/getrusage.c: Likewise.
15905 * resource/nice.c: Likewise.
15906 * resource/setpriority.c: Likewise.
15907 * resource/setrlimit.c: Likewise.
15908 * resource/ulimit.c: Likewise.
15909 * rt/aio_cancel.c: Likewise.
15910 * rt/aio_fsync.c: Likewise.
15911 * rt/aio_read.c: Likewise.
15912 * rt/aio_sigqueue.c: Likewise.
15913 * rt/aio_suspend.c: Likewise.
15914 * rt/aio_write.c: Likewise.
15915 * rt/clock_getres.c: Likewise.
15916 * rt/clock_gettime.c: Likewise.
15917 * rt/clock_nanosleep.c: Likewise.
15918 * rt/clock_settime.c: Likewise.
15919 * rt/lio_listio.c: Likewise.
15920 * rt/mq_close.c: Likewise.
15921 * rt/mq_getattr.c: Likewise.
15922 * rt/mq_notify.c: Likewise.
15923 * rt/mq_open.c: Likewise.
15924 * rt/mq_receive.c: Likewise.
15925 * rt/mq_send.c: Likewise.
15926 * rt/mq_setattr.c: Likewise.
15927 * rt/mq_timedreceive.c: Likewise.
15928 * rt/mq_timedsend.c: Likewise.
15929 * rt/mq_unlink.c: Likewise.
15930 * rt/shm_open.c: Likewise.
15931 * rt/shm_unlink.c: Likewise.
15932 * rt/timer_create.c: Likewise.
15933 * rt/timer_delete.c: Likewise.
15934 * rt/timer_getoverr.c: Likewise.
15935 * rt/timer_gettime.c: Likewise.
15936 * rt/timer_settime.c: Likewise.
15937 * setjmp/__longjmp.c: Likewise.
15938 * setjmp/setjmp.c: Likewise.
15939 * signal/kill.c: Likewise.
15940 * signal/killpg.c: Likewise.
15941 * signal/raise.c: Likewise.
15942 * signal/sigaction.c: Likewise.
15943 * signal/sigaltstack.c: Likewise.
15944 * signal/sigblock.c: Likewise.
15945 * signal/sigignore.c: Likewise.
15946 * signal/sigintr.c: Likewise.
15947 * signal/signal.c: Likewise.
15948 * signal/sigpause.c: Likewise.
15949 * signal/sigpending.c: Likewise.
15950 * signal/sigqueue.c: Likewise.
15951 * signal/sigreturn.c: Likewise.
15952 * signal/sigset.c: Likewise.
15953 * signal/sigsetmask.c: Likewise.
15954 * signal/sigstack.c: Likewise.
15955 * signal/sigsuspend.c: Likewise.
15956 * signal/sigtimedwait.c: Likewise.
15957 * signal/sigvec.c: Likewise.
15958 * signal/sigwait.c: Likewise.
15959 * signal/sigwaitinfo.c: Likewise.
15960 * signal/sysv_signal.c: Likewise.
15961 * socket/accept.c: Likewise.
15962 * socket/accept4.c: Likewise.
15963 * socket/bind.c: Likewise.
15964 * socket/connect.c: Likewise.
15965 * socket/getpeername.c: Likewise.
15966 * socket/getsockname.c: Likewise.
15967 * socket/getsockopt.c: Likewise.
15968 * socket/isfdtype.c: Likewise.
15969 * socket/listen.c: Likewise.
15970 * socket/recv.c: Likewise.
15971 * socket/recvfrom.c: Likewise.
15972 * socket/recvmsg.c: Likewise.
15973 * socket/send.c: Likewise.
15974 * socket/sendmsg.c: Likewise.
15975 * socket/sendto.c: Likewise.
15976 * socket/setsockopt.c: Likewise.
15977 * socket/shutdown.c: Likewise.
15978 * socket/sockatmark.c: Likewise.
15979 * socket/socket.c: Likewise.
15980 * socket/socketpair.c: Likewise.
15981 * stdio-common/ctermid.c: Likewise.
15982 * stdio-common/cuserid.c: Likewise.
15983 * stdio-common/remove.c: Likewise.
15984 * stdio-common/rename.c: Likewise.
15985 * stdio-common/renameat.c: Likewise.
15986 * stdio-common/tempname.c: Likewise.
15987 * stdlib/getcontext.c: Likewise.
15988 * stdlib/makecontext.c: Likewise.
15989 * stdlib/setcontext.c: Likewise.
15990 * stdlib/swapcontext.c: Likewise.
15991 * stdlib/system.c: Likewise.
15992 * streams/fattach.c: Likewise.
15993 * streams/fdetach.c: Likewise.
15994 * streams/getmsg.c: Likewise.
15995 * streams/getpmsg.c: Likewise.
15996 * streams/putmsg.c: Likewise.
15997 * streams/putpmsg.c: Likewise.
15998 * sysdeps/unix/bsd/getpt.c: Likewise.
15999 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16000 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16001 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16004 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16005 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16006 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16007 * sysvipc/msgctl.c: Likewise.
16008 * sysvipc/msgget.c: Likewise.
16009 * sysvipc/msgrcv.c: Likewise.
16010 * sysvipc/msgsnd.c: Likewise.
16011 * sysvipc/semctl.c: Likewise.
16012 * sysvipc/semget.c: Likewise.
16013 * sysvipc/semop.c: Likewise.
16014 * sysvipc/semtimedop.c: Likewise.
16015 * sysvipc/shmat.c: Likewise.
16016 * sysvipc/shmctl.c: Likewise.
16017 * sysvipc/shmdt.c: Likewise.
16018 * sysvipc/shmget.c: Likewise.
16019 * termios/tcdrain.c: Likewise.
16020 * termios/tcflow.c: Likewise.
16021 * termios/tcflush.c: Likewise.
16022 * termios/tcgetattr.c: Likewise.
16023 * termios/tcgetpgrp.c: Likewise.
16024 * termios/tcsendbrk.c: Likewise.
16025 * termios/tcsetattr.c: Likewise.
16026 * termios/tcsetpgrp.c: Likewise.
16027 * time/adjtime.c: Likewise.
16028 * time/clock.c: Likewise.
16029 * time/getitimer.c: Likewise.
16030 * time/gettimeofday.c: Likewise.
16031 * time/setitimer.c: Likewise.
16032 * time/settimeofday.c: Likewise.
16033 * time/stime.c: Likewise.
16034 * time/time.c: Likewise.
16036 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16038 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16041 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16043 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16045 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16049 FE_TONEAREST before applying Dekker multiplication and Knuth
16050 addition. Clear inexact exceptions and check for exact zero
16051 results afterwards.
16052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16053 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16055 * math/libm-test.inc (fma_test): Add more tests.
16056 (fma_test_towardzero): Likewise.
16057 (fma_test_downward): Likewise.
16058 (fma_test_upward): Likewise.
16059 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16061 (libc_fesetround): New macro.
16062 (libc_fesetroundf): Likewise.
16063 (libc_fesetroundl): Likewise.
16064 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16066 (libc_fesetround_387): Likewise.
16067 (libc_fesetroundf): New macro.
16068 (libc_fesetround): Likewise.
16069 (libc_fesetroundl): Likewise.
16070 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16072 (libc_fesetroundf): New macro.
16073 (libc_fesetround): Likewise.
16074 (libc_fesetroundl): Likewise.
16075 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16076 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16077 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16079 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16080 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16082 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16083 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16085 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16089 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16090 integer constant usable in #if and use that to give value to enum
16092 (FE_DIVBYZERO): Likewise.
16093 (FE_UNDERFLOW): Likewise.
16094 (FE_OVERFLOW): Likewise.
16095 (FE_INVALID): Likewise.
16096 (FE_INVALID_SNAN): Likewise.
16097 (FE_INVALID_ISI): Likewise.
16098 (FE_INVALID_IDI): Likewise.
16099 (FE_INVALID_ZDZ): Likewise.
16100 (FE_INVALID_IMZ): Likewise.
16101 (FE_INVALID_COMPARE): Likewise.
16102 (FE_INVALID_SOFTWARE): Likewise.
16103 (FE_INVALID_SQRT): Likewise.
16104 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16105 (FE_TONEAREST): Likewise.
16106 (FE_TOWARDZERO): Likewise.
16107 (FE_UPWARD): Likewise.
16108 (FE_DOWNWARD): Likewise.
16109 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16110 (FE_DIVBYZERO): Likewise.
16111 (FE_OVERFLOW): Likewise.
16112 (FE_UNDERFLOW): Likewise.
16113 (FE_INEXACT): Likewise.
16114 (FE_TONEAREST): Likewise.
16115 (FE_DOWNWARD): Likewise.
16116 (FE_UPWARD): Likewise.
16117 (FE_TOWARDZERO): Likewise.
16118 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16119 (FE_UNDERFLOW): Likewise.
16120 (FE_OVERFLOW): Likewise.
16121 (FE_DIVBYZERO): Likewise.
16122 (FE_INVALID): Likewise.
16123 (FE_TONEAREST): Likewise.
16124 (FE_TOWARDZERO): Likewise.
16125 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16126 (FE_OVERFLOW): Likewise.
16127 (FE_UNDERFLOW): Likewise.
16128 (FE_DIVBYZERO): Likewise.
16129 (FE_INEXACT): Likewise.
16130 (FE_TONEAREST): Likewise.
16131 (FE_TOWARDZERO): Likewise.
16132 (FE_UPWARD): Likewise.
16133 (FE_DOWNWARD): Likewise.
16134 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16135 (FE_DIVBYZERO): Likewise.
16136 (FE_OVERFLOW): Likewise.
16137 (FE_UNDERFLOW): Likewise.
16138 (FE_INEXACT): Likewise.
16139 (FE_TONEAREST): Likewise.
16140 (FE_DOWNWARD): Likewise.
16141 (FE_UPWARD): Likewise.
16142 (FE_TOWARDZERO): Likewise.
16144 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16146 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16148 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16150 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16151 commands. Quote $PWD.
16152 (blacklist_exports): Don't use remove_newlines. Replace "declare
16154 (remove_newlines): Remove.
16156 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16158 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16159 * stdlib/stdlib.h (atof): Moved to ...
16160 * include/bits/stdlib-float.h: Here. New file.
16161 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16162 * stdlib/bits/stdlib-float.h: New file.
16163 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16165 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16168 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16170 * conform/conformtest.pl (@headers): Add fenv.h.
16171 * conform/data/fenv.h-data: New file.
16172 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16173 include of <math/fenv.h>.
16175 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16176 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16177 && !UNIX98]. Enables tests for XOPEN2K8.
16178 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16179 POSIX2008]: Likewise.
16181 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16182 (struct rusage): Do not expect type or its members.
16185 * math/math.h (FP_NAN): Define macro to integer constant usable in
16186 #if and use that to give value to enum constant.
16187 (FP_INFINITE): Likewise.
16188 (FP_ZERO): Likewise.
16189 (FP_SUBNORMAL): Likewise.
16190 (FP_NORMAL): Likewise.
16192 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16194 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16195 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16198 2012-11-02 Roland McGrath <roland@hack.frob.com>
16200 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16201 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16202 autoconf-time if not.
16203 * configure.in: Remove AC_PREREQ.
16205 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16207 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16208 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16209 of the internal implementation.
16211 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16213 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16214 except include of <misc/sys/syslog.h>.
16216 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16219 function returns with a NULL context exit with zero.
16221 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16223 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16225 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16227 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16228 (run_program_cmd): This.
16229 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16230 (tst_langinfo): New variable. Use it.
16232 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16234 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16235 floating point opcodes.
16237 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16239 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16242 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16244 * sysdeps/mach/hurd/powerpc: Remove directory.
16245 * sysdeps/mach/powerpc: Likewise.
16247 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16249 * scripts/check-local-headers.sh: Ignore c++ headers.
16251 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16253 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16254 __libc_cleanup_region_start argument.
16256 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16261 x * y using scaling, not as x * y + z.
16262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16264 * math/libm-test.inc (fma_test): Add more tests.
16265 (fma_test_towardzero): Likewise.
16266 (fma_test_downward): Likewise.
16267 (fma_test_upward): Likewise.
16269 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16271 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16273 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16275 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16278 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16280 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16282 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16289 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16292 Fix the order of the list for glibc 2.17.
16293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16296 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16300 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16303 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16304 for low part of x being zero before using __atanl (y).
16305 * math/libm-test.inc (atan2_test): Add another test.
16307 * manual/install.texi (Configuring and compiling): Document
16308 general use of test-wrapper and test-wrapper-env.
16309 * INSTALL: Regenerated.
16311 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16312 (__fma): Do not extract and scale down low bits on after-rounding
16313 systems when result rounded to normal precision would have normal
16315 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16316 (__fmal): Do not extract and scale down low bits on after-rounding
16317 systems when result rounded to normal precision would have normal
16319 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16320 (__fmal): Do not extract and scale down low bits on after-rounding
16321 systems when result rounded to normal precision would have normal
16323 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16325 (fma_test): Add more tests.
16326 (fma_test_towardzero): Likewise.
16327 (fma_test_downward): Likewise.
16328 (fma_test_upward): Likewise.
16330 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16332 * sysdeps/i386/tininess.h: Renamed to ...
16333 * sysdeps/x86/tininess.h: This.
16334 * sysdeps/x86_64/tininess.h: Removed.
16336 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16338 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16339 input. Use $(build-program-cmd).
16340 ($(objpfx)tst-array1-static.out): Likewise.
16341 ($(objpfx)tst-array2.out): Likewise.
16342 ($(objpfx)tst-array3.out): Likewise.
16343 ($(objpfx)tst-array4.out): Likewise.
16344 ($(objpfx)tst-array5.out): Likewise.
16345 ($(objpfx)tst-array5-static.out): Likewise.
16347 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16349 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16352 * nss/nsswitch.h (nss_interface_function): Provide new
16353 macro for use with NSS functions.
16354 * grp/initgroups.c: Use new macro.
16355 * nss/getXXbyYY.c: Likewise.
16356 * nss/getXXbyYY_r.c: Likewise.
16357 * nss/getXXent.c: Likewise.
16358 * nss/getXXent_r.c: Likewise.
16359 * sysdeps/posix/getaddrinfo.c: Likewise.
16361 2012-10-30 Andreas Jaeger <aj@suse.de>
16363 * po/ru.po: Update Russion translation from translation project.
16365 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16370 result and shift together with sticky bit instead of replicating
16371 round-to-nearest rounding.
16372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16373 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16374 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16375 missing underflow exceptions.
16376 (fma_test_towardzero): Add more tests.
16377 (fma_test_downward): Likewise.
16378 (fma_test_upward): Likewise.
16381 * sysdeps/generic/tininess.h: New file.
16382 * sysdeps/i386/tininess.h: Likewise.
16383 * sysdeps/sh/tininess.h: Likewise.
16384 * sysdeps/x86_64/tininess.h: Likewise.
16385 * stdlib/tst-strtod-underflow.c: Likewise.
16386 * stdlib/tst-tininess.c: Likewise.
16387 * stdlib/strtod_l.c: Include <tininess.h>.
16388 (round_and_return): Do not set errno for exact underflow cases.
16389 Force an underflow exception when setting errno for underflow.
16390 Determine underflow based on rounding to normal precision if
16391 TININESS_AFTER_ROUNDING.
16392 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16393 ERANGE for exact underflow cases.
16394 * stdlib/Makefile (tests): Add tst-tininess and
16395 tst-strtod-underflow.
16396 ($(objpfx)tst-tininess): Use $(link-libm).
16397 ($(objpfx)tst-strtod-underflow): Likewise.
16399 2012-10-30 Andreas Jaeger <aj@suse.de>
16402 * elf/Makefile (tests): Remove conditional for have-initfini-array
16403 since this is now always required and the variable does not exist
16405 (tests-static): Likewise.
16406 (modules-names): Likewise.
16408 * po/eo.po: Add Esperanto translation from translation project.
16410 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16411 merged with constructor/destructor.
16412 (init_array): Likewise.
16413 * elf/tst-array2dep.c (fini_array): Likewise.
16414 (init_array): Likewise.
16416 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16418 * manual/message.texi: Delete @cartouche tags.
16420 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16422 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16424 * sysdeps/mach/hurd/fsync.c: Likewise.
16426 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16427 [_POSIX_REALTIME_SIGNALS]: Change condition to
16428 [_POSIX_REALTIME_SIGNALS > 0].
16430 2012-10-27 Andreas Jaeger <aj@suse.de>
16432 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16433 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16435 [__WORDSIZE != 64]: Likewise.
16437 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16439 * iconvdata/tst-table.sh: Remove ${SHELL}.
16440 * iconvdata/tst-tables.sh: Likewise.
16442 2012-10-25 David S. Miller <davem@davemloft.net>
16444 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16445 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16450 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16451 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16452 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16455 2012-10-25 Roland McGrath <roland@hack.frob.com>
16457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16458 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16461 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16462 Jim Blandy <jimb@codesourcery.com>
16464 * scripts/cross-test-ssh.sh: New file.
16465 * manual/install.texi (Configuring and compiling): Document use of
16467 * INSTALL: Regenerated.
16469 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16471 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16474 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16476 * Makeconfig (run-program-prefix): Fix comment.
16478 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16479 Jim Blandy <jimb@codesourcery.com>
16481 * Makeconfig (test-wrapper): New variable,
16482 (test-wrapper-env): Likewise.
16483 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16484 (run-built-tests): Define to yes.
16485 (run-program-prefix): Use $(test-wrapper).
16486 (built-program-cmd): Likewise.
16487 * Rules (make-test-out): Use $(test-wrapper-env) and
16488 $(host-built-program-cmd).
16489 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16490 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16492 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16493 $(test-wrapper-env) to tst-rtld-load-self.sh.
16494 ($(objpfx)order2.out): Use $(test-wrapper).
16495 ($(objpfx)tst-initorder.out): Likewise.
16496 ($(objpfx)tst-initorder2.out): Likewise.
16497 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16498 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16499 (test_wrapper_env): New variable. Use it to run ld.so.
16500 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16501 Use it to run ld.so.
16502 (test_wrapper_env): Likewise.
16503 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16504 $(test-wrapper) to run-iconv-test.sh.
16505 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16506 (ICONV): Use $test_wrapper.
16507 * posix/Makefile ($(objpfx)globtest.out): Pass
16508 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16509 globtest.sh, not $(run-program-prefix).
16510 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16511 (test_wrapper): Likewise.
16512 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16513 set together with run_via_rtld_prefix.
16514 (run_program_prefix): Define in terms of test_wrapper and
16515 run_via_rtld_prefix.
16517 2012-10-24 Roland McGrath <roland@hack.frob.com>
16519 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16520 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16524 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16525 Declare __clock_getres, __clock_gettime, __clock_settime,
16526 __clock_nanosleep, and __clock_getcpuclockid.
16527 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16528 Remove librt_hidden_def (clock_gettime).
16529 * sysdeps/unix/clock_gettime.c: Likewise.
16530 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16531 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16532 * rt/clock_getres.c: Define __clock_getres as an alias.
16533 * sysdeps/posix/clock_getres.c: Likewise.
16534 * rt/clock_settime.c: Define __clock_settime as an alias.
16535 * sysdeps/unix/clock_settime.c: Likewise.
16536 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16537 * sysdeps/unix/clock_nanosleep.c: Likewise.
16538 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16539 * rt/clock-compat.c: New file.
16540 * rt/Makefile (librt-routines): Add clock-compat and move
16541 $(clock-routines) to ...
16542 (routines): ... here, new variable.
16543 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16544 Don't add get_clockfreq here.
16545 * rt/Versions (libc: GLIBC_2.17): New version set.
16546 Add clock_* symbols here.
16547 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16549 (GLIBC_2.17): Add clock_* symbols.
16550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16561 * NEWS: Mention the move.
16563 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16564 Use __open, __read, __close rather than their public counterparts.
16565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16566 (__get_clockfreq_via_cpuinfo): Likewise.
16567 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16568 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16570 * config.h.in (HAVE_IFUNC): New #undef.
16571 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16573 * configure: Regenerated.
16575 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16577 * configure.in: Move READELF check to start of file.
16578 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16579 libc_cv_asm_gnu_indirect_function in the process.
16580 * configure: Regenerated.
16582 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16584 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16585 send the output to /dev/null.
16586 (libc_cv_cc_with_libunwind): Likewise.
16587 (libc_cv_as_noexecstack): Likewise.
16588 * configure: Regenerate.
16590 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16592 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16594 * posix/globtest.sh (TMPDIR): Do not set.
16595 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16596 (testout): Likewise.
16598 2012-10-24 Andreas Jaeger <aj@suse.de>
16600 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16601 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16602 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16603 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16604 posix_fadvise64, posix_fallocate64.
16606 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16607 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16608 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16610 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16612 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16615 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16616 <bits/fcntl-linux.h>.
16617 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16620 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16621 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16622 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16623 [__WORDSIZE != 64]: Likewise.
16625 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16627 * Makeconfig (run-built-tests): New variable.
16628 * Rules [$(cross-compiling) = yes]: Change condition to
16629 [$(run-built-tests) = no].
16630 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16631 to [$(run-built-tests) = yes].
16632 * elf/Makefile [$(cross-compiling) = no]: Likewise
16633 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16634 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16635 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16636 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16637 * io/Makefile [$(cross-compiling) = no]: Likewise.
16638 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16639 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16640 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16641 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16642 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16643 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16644 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16645 * string/Makefile [$(cross-compiling) = no]: Likewise.
16647 * posix/Makefile ($(objpfx)globtest.out): Pass
16648 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16649 $(rtld-installed-name).
16650 * posix/globtest.sh (elf_objpfx): Remove variable.
16651 (rtld_installed_name): Likewise.
16652 (library_path): Likewise.
16653 (run_program_prefix): New variable. Use for running globtest
16656 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16657 Joseph Myers <joseph@codesourcery.com>
16659 * Makeconfig (host-built-program-cmd): New variable.
16660 * elf/Makefile (tst-stackguard1-ARGS): Use
16661 $(host-built-program-cmd).
16662 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16663 (tst-spawn-ARGS): Likewise.
16664 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16666 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16667 Jim Blandy <jimb@codesourcery.com>
16669 * Makeconfig (run-via-rtld-prefix): New variable.
16670 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16671 (built-program-cmd): Likewise.
16673 2012-10-22 Andreas Jaeger <aj@suse.de>
16675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16676 __O_RSYNC if it exists, otherwise to O_SYNC.
16678 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16679 Joseph Myers <joseph@codesourcery.com>
16681 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16683 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16685 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16688 2012-10-22 Andreas Jaeger <aj@suse.de>
16690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16695 bits/fcntl-linux.h.
16697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16698 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16705 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16706 Joseph Myers <joseph@codesourcery.com>
16708 * config.make.in (NM): New variable.
16710 2012-10-21 Andreas Jaeger <aj@suse.de>
16712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16713 definitions and declarations that are provided by
16714 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16716 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16719 * elf/Makefile (tests-static): Add tst-leaks1-static.
16720 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16721 ($(objpfx)tst-leaks1-static): New rule.
16722 ($(objpfx)tst-leaks1-static-mem): Likewise.
16723 (tst-leaks1-static-ENV): New macro.
16724 * elf/dl-open.c (dl_open_worker): Check the main application
16725 only if SHARED is defined.
16726 * elf/tst-leaks1-static.c: New file.
16728 2012-10-20 Andreas Jaeger <aj@suse.de>
16730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16731 generic values for Linux.
16732 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16733 and declarations that are provided by <bits/fcntl-linux.h> and
16734 include <bits/fcntl-linux.h>.
16735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16738 2012-10-20 Roland McGrath <roland@hack.frob.com>
16740 * io/fcntl.h: Move include of <bits/types.h> to the top and
16741 include it unconditionally.
16743 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16745 * wcsmbs/Makefile (tests-ifunc): New variable.
16746 (tests): Add $(tests-ifunc).
16747 * wcsmbs/test-wcschr-ifunc.c: New file.
16748 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16749 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16750 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16751 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16752 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16754 * string/Makefile (tests-ifunc): New variable.
16755 (tests): Add $(tests-ifunc).
16756 * string/test-memccpy.c (TEST_NAME): New macro.
16757 * string/test-memchr.c (TEST_NAME): Likewise.
16758 * string/test-memcmp.c (TEST_NAME): Likewise.
16759 * string/test-memcpy.c (TEST_NAME): Likewise.
16760 * string/test-memmem.c (TEST_NAME): Likewise.
16761 * string/test-memmove.c (TEST_NAME): Likewise.
16762 * string/test-memset.c (TEST_NAME): Likewise.
16763 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16764 * string/test-stpcpy.c (TEST_NAME): Likewise.
16765 * string/test-stpncpy.c (TEST_NAME): Likewise.
16766 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16767 * string/test-strcasestr.c (TEST_NAME): Likewise.
16768 * string/test-strcat.c (TEST_NAME): Likewise.
16769 * string/test-strchr.c (TEST_NAME): Likewise.
16770 * string/test-strcmp.c(TEST_NAME): Likewise.
16771 * string/test-strcpy.c (TEST_NAME): Likewise.
16772 * string/test-strcspn.c (TEST_NAME): Likewise.
16773 * string/test-strlen.c (TEST_NAME): Likewise.
16774 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16775 * string/test-strncmp.c (TEST_NAME): Likewise.
16776 * string/test-strncpy.c (TEST_NAME): Likewise.
16777 * string/test-strnlen.c (TEST_NAME): Likewise.
16778 * string/test-strpbrk.c (TEST_NAME): Likewise.
16779 * string/test-strrchr.c (TEST_NAME): Likewise.
16780 * string/test-strspn.c (TEST_NAME): Likewise.
16781 * string/test-strstr.c (TEST_NAME): Likewise.
16782 * string/test-bcopy-ifunc.c: New file.
16783 * string/test-bzero-ifunc.c: Likewise.
16784 * string/test-memccpy-ifunc.c: Likewise.
16785 * string/test-memchr-ifunc.c: Likewise.
16786 * string/test-memcmp-ifunc.c: Likewise.
16787 * string/test-memcpy-ifunc.c: Likewise.
16788 * string/test-memmem-ifunc.c: Likewise.
16789 * string/test-memmove-ifunc.c: Likewise.
16790 * string/test-mempcpy-ifunc.c: Likewise.
16791 * string/test-memset-ifunc.c: Likewise.
16792 * string/test-rawmemchr-ifunc.c: Likewise.
16793 * string/test-stpcpy-ifunc.c: Likewise.
16794 * string/test-stpncpy-ifunc.c: Likewise.
16795 * string/test-strcasecmp-ifunc.c: Likewise.
16796 * string/test-strcasestr-ifunc.c: Likewise.
16797 * string/test-strcat-ifunc.c: Likewise.
16798 * string/test-strchr-ifunc.c: Likewise.
16799 * string/test-strchrnul-ifunc.c: Likewise.
16800 * string/test-strcmp-ifunc.c: Likewise.
16801 * string/test-strcpy-ifunc.c: Likewise.
16802 * string/test-strcspn-ifunc.c: Likewise.
16803 * string/test-strlen-ifunc.c: Likewise.
16804 * string/test-strncasecmp-ifunc.c: Likewise.
16805 * string/test-strncat-ifunc.c: Likewise.
16806 * string/test-strncmp-ifunc.c: Likewise.
16807 * string/test-strncpy-ifunc.c: Likewise.
16808 * string/test-strnlen-ifunc.c: Likewise.
16809 * string/test-strpbrk-ifunc.c: Likewise.
16810 * string/test-strrchr-ifunc.c: Likewise.
16811 * string/test-strspn-ifunc.c: Likewise.
16812 * string/test-strstr-ifunc.c: Likewise.
16814 * debug/Makefile (tests-ifunc): New variable.
16815 (tests): Add $(tests-ifunc).
16816 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16817 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16818 * debug/test-stpcpy_chk-ifunc.c: New file.
16819 * debug/test-strcpy_chk-ifunc.c: Likewise.
16821 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16824 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16825 header is not read in.
16827 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16829 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16830 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16831 directly. Pass built executable to script as
16832 $(built-program-cmd).
16833 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16834 $testprogram without using LD_LIBRARY_PATH and $ldso.
16836 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16837 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16838 $(rtld-installed-name).
16839 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16840 (rtld_installed_name): Likewise.
16841 (library_path): Likewise.
16842 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16843 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16844 $(run-program-prefix) to tst-tables.sh.
16845 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16846 it to run tst-table-from and tst-table-to.
16847 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16848 Pass it to tst-table.sh.
16849 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16850 $(run-program-prefix) to tst-gettext.sh.
16851 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16853 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16855 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16856 to run tst-gettext.
16857 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16858 to run tst-gettext2.
16859 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16860 to run tst-translit.
16861 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16862 $(run-program-prefix) to tst-mtrace.sh.
16863 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16865 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16866 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16867 $(rtld-installed-name).
16868 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16869 (rtld_installed_name): Likewise.
16870 (run_program_prefix): New variable. Use it to run wordexp-test.
16872 * Makeconfig (ARCH): Remove all definitions.
16873 (machine): Likewise.
16874 [ARCH]: Remove conditional code.
16875 [!objdir]: Give error.
16876 [!objdir] (objpfx): Remove.
16877 [!objdir] (common-objpfx): Likewise.
16878 [!objdir] (common-objdir): Likewise.
16879 * configure.in (config_makefile): Remove. Hardcode Makefile in
16880 AC_CONFIG_FILES call.
16881 * configure: Regenerated.
16884 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16886 (testout): Likewise.
16888 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16889 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16890 $(rtld-installed-name).
16891 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16892 (rtld_installed_name): Likwise.
16893 (runit): Remove function.
16894 (run_getconf): New variable, Use it for running getconf binary.
16896 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16899 * string/test-memmem.c (check_result): New function.
16900 (do_one_test): Use it.
16901 (check1): New function.
16902 (test_main): Use it.
16904 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16906 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16908 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16910 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16911 (_G_LSEEK64): Likewise.
16912 (_G_MMAP64): Likewise.
16913 (_G_FSTAT64): Likewise.
16914 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16915 (_G_LSEEK64): Likewise.
16916 (_G_MMAP64): Likewise.
16917 (_G_FSTAT64): Likewise.
16918 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16919 unconditional. Call __mmap64 directly.
16920 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16921 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16922 __lseek64 directly.
16923 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16924 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16926 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16927 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16928 __lseek64 directly.
16929 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16930 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16931 __lseek64 directly.
16932 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16933 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16934 __lseek64 directly.
16935 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16936 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16937 __fxstat64 directly.
16938 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16939 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16941 (freopen64) [!_G_OPEN64]: Remove conditional code.
16942 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16944 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16945 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16947 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16948 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16950 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16951 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16953 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16954 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16956 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16957 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16959 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16960 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16962 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16964 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16967 * manual/memory.texi (Malloc Tunable Parameters): Add note
16968 about free list pointers overwriting some perturb bytes.
16969 Wording suggested by Roland McGrath.
16971 2012-10-17 Joseph Myers <joseph@codesourcery.com>
16973 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16974 (lgamma_test): Likewise.
16975 (tgamma_test): Likewise.
16977 2012-10-16 Florian Weimer <fweimer@redhat.com>
16980 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16981 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16983 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16985 * NEWS: Mention BZ #14716.
16986 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16987 when removing AVAILABLE1_USES_J macro.
16989 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16991 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16992 (__bswap_64): __uint64_t for unsigned 64-bit int.
16994 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16996 * include/string.h (memmem): Declare libc hidden alias.
16997 * string/memmem.c (memmem): Define libc hidden alias.
16998 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16999 __read, __close instead of open, read, close.
17001 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17004 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17006 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17007 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17008 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17010 (__rawmemchr_sse2): Likewise.
17011 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17012 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17013 (__strchr_sse2): Likewise.
17014 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17015 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17016 (__strcasecmp_sse2): Likewise.
17017 (__strncasecmp_sse2): Likewise.
17018 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17019 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17020 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17021 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17022 (__strrchr_sse2): Likewise.
17023 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17025 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17026 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17027 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17028 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17029 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17030 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17031 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17032 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17033 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17034 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17035 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17036 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17037 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17038 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17039 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17040 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17041 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17042 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17043 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17044 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17045 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17046 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17047 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17048 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17049 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17050 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17051 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17052 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17053 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17054 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17056 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17058 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17059 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17060 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17061 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17063 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17065 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17066 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17067 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17068 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17070 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17071 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17072 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17073 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17074 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17075 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17076 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17077 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17078 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17079 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17080 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17081 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17082 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17083 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17084 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17085 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17086 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17087 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17091 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17092 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17093 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17094 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17095 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17096 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17097 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17098 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17099 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17100 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17101 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17102 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17103 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17110 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17112 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17113 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17114 * include/ifunc-impl-list.h: New file.
17115 * misc/ifunc-impl-list.c: Likewise.
17116 * misc/Makefile (routines): Add ifunc-impl-list.
17117 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17118 * string/test-string.h: Include <ifunc-impl-list.h>.
17119 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17120 impl_array): New variables.
17121 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17123 (test_init): Call __libc_ifunc_impl_list to initialize
17124 func_list if TEST_IFUNC and TEST_NAME are defined.
17126 * string/Makefile (strop-tests): Add bcopy and bzero.
17127 * string/test-bcopy.c: New file.
17128 * string/test-bzero.c: Likewise.
17129 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17131 * string/test-memset.c: Support bzero test if TEST_BZERO is
17133 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17135 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17137 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17140 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17142 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17143 * configure: Regenerated.
17145 * Makeconfig (+link-static-before-libc): Don't include
17146 $(link-static-libc).
17148 * libio/libio.h (_IO_pos_t): Remove.
17150 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17152 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17155 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17157 * crypt/crypt-entry.c: Include fips-private.h.
17158 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17159 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17160 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17161 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17163 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17165 * crypt/crypt-private.h: Include stdbool.h.
17166 (_ufc_setup_salt_r): Return bool.
17167 * crypt/crypt-entry.c: Include errno.h.
17168 (__crypt_r): Return NULL with EINVAL for bad salt.
17169 * crypt/crypt_util.c (bad_for_salt): New.
17170 (_ufc_setup_salt_r): Check that salt is long enough and within
17171 the specified alphabet.
17172 * crypt/badsalttest.c: New file.
17173 * crypt/Makefile (tests): Add it.
17174 ($(objpfx)badsalttest): New.
17176 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17178 * NEWS: Add entry for BZ #14602.
17180 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17182 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17184 * math/libm-test.inc: Update comment listing what functions and
17186 (isgreater_test): New function.
17187 (isgreaterequal_test): Likewise.
17188 (isless_test): Likewise.
17189 (islessequal_test): Likewise.
17190 (islessgreater_test): Likewise.
17191 (isunordered_test): Likewise.
17192 (main): Call the new functions.
17194 2012-10-09 Roland McGrath <roland@hack.frob.com>
17196 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17197 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17198 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17199 * sysdeps/i386/configure: Regenerated.
17200 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17201 * sysdeps/mach/configure: Regenerated.
17202 * sysdeps/mach/hurd/configure: Regenerated.
17203 * sysdeps/powerpc/configure: Regenerated.
17204 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17205 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17206 * sysdeps/s390/s390-32/configure: Regenerated.
17207 * sysdeps/s390/s390-64/configure: Regenerated.
17208 * sysdeps/sh/configure: Regenerated.
17209 * sysdeps/sparc/configure: Regenerated.
17210 * sysdeps/unix/sysv/linux/configure: Regenerated.
17211 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17212 * sysdeps/x86_64/configure: Regenerated.
17214 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17215 defined. Don't check if MAP is NULL.
17217 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17219 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17220 (_G_stat64): Likewise.
17221 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17222 (_G_stat64): Likewise.
17223 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17224 instead of struct _G_stat64.
17225 * libio/fileops.c (mmap_remap_check): Likewise.
17226 (decide_maybe_mmap): Likewise.
17227 (_IO_new_file_seekoff): Likewise.
17228 (_IO_file_stat): Likewise.
17229 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17231 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17232 instead of struct _G_stat64.
17233 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17235 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17238 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17240 (CHECK_EOL): New macro.
17241 (two_way_short_needle): Check beginning of haystack for EOL. Use
17243 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17244 Replace with CHECK_EOL.
17245 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17246 Replace with CHECK_EOL.
17248 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17250 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17252 * math/libm-test.inc: Update comment listing what functions and
17254 (finite_test): New function.
17255 (isinf_test): Likewise.
17256 (isnan_test): Likewise.
17257 (fpclassify_test): Test subnormal input.
17258 (isfinite_test): Likewise.
17259 (isnormal_test): Likewise.
17260 (main): Call the new functions.
17262 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17265 * Makerules (%.dynsym): Force C locale when running
17266 $(OBJDUMP) --dynamic-syms.
17268 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17270 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17273 2012-10-06 David S. Miller <davem@davemloft.net>
17275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17276 upper 32-bits of the length value in %o2 since we use branch-on-register
17277 tests which consider the entire 64-bit register.
17279 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17281 * string/test-strstr.c (check2): Add a test for page boundary.
17283 2012-10-05 David S. Miller <davem@davemloft.net>
17285 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17288 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17290 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17291 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17292 and bzero when HWCAP_SPARC_CRYPTO is present.
17294 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17297 * string/test-strstr.c (check2): New function.
17298 (test_main): Call check2.
17300 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17302 * string/bug-strcasestr1.c (do_test): Moved to ...
17303 * string/test-strcasestr.c (check1): Here. New function.
17304 (do_one_test): Break out result checking code into ...
17305 (check_result): This. New function.
17306 (do_one_test): Call check_result.
17307 (test_main): Call check1.
17308 * string/bug-strchr1.c (do_test): Moved to ...
17309 * string/test-strchr.c (check1): Here. New function.
17310 (do_one_test): Break out result checking code into ...
17311 (check_result): This. New function.
17312 (do_one_test): Call check_result.
17313 (test_main): Call check1.
17314 * string/bug-strstr1.c (main): Moved to ...
17315 * string/test-strstr.c (check1): Here. New function.
17316 (do_one_test): Break out result checking code into ...
17317 (check_result): This. New function.
17318 (do_one_test): Call check_result.
17319 (test_main): Call check1.
17320 * string/bug-strcasestr1.c: Removed.
17321 * string/bug-strchr1.c: Likewise.
17322 * string/bug-strstr1.c: Likewise.
17324 * elf/Makefile (dl-routines): Add hwcaps.
17325 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17326 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17327 (_dl_important_hwcaps): Moved to ...
17328 * elf/dl-hwcaps.c: Here. New file.
17329 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17332 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17333 if IS_IN_rtld isn't defined.
17335 * elf/dl-support.c (_dl_sysinfo_map): New.
17336 Include "get-dynamic-info.h" and "setup-vdso.h".
17337 (_dl_non_dynamic_init): Call setup_vdso.
17338 * elf/dynamic-link.h: Don't include <assert.h>.
17339 (elf_get_dynamic_info): Moved to ...
17340 * elf/get-dynamic-info.h: Here. New file.
17341 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17342 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17343 * elf/setup-vdso.h: Here. New file.
17344 * elf/rtld.c: Include "setup-vdso.h".
17345 (dl_main): Call setup_vdso.
17347 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17349 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17350 creal in comment listing functions tested. List finite, isinf,
17351 isnan, isless, islessequal, isgreater, isgreaterequal,
17352 islessgreater, isunordered, lgamma_r and pow10 as functions and
17353 macros not tested. Mention which functions not tested are aliases
17354 for other functions. Fix typo. Note that signs of NaNs are not
17357 * scripts/config.guess: Update from config.git.
17358 * scripts/config.sub: Likewise.
17360 2012-10-04 Roland McGrath <roland@hack.frob.com>
17362 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17363 * misc/madvise.c (madvise): Renamed to __madvise.
17364 Make madvise a weak alias.
17365 * include/sys/mman.h: Declare __madvise.
17366 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17367 * sysdeps/unix/syscalls.list
17368 (madvise): Make __madvise the strong name, and madvise a weak alias.
17369 * sysdeps/unix/sysv/linux/syscalls.list
17370 (madvise, mmap): Remove redundant entries.
17371 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17372 * malloc/malloc.c (mtrim): Likewise.
17373 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17375 2012-10-03 Roland McGrath <roland@hack.frob.com>
17377 * sysdeps/mach/hurd/dl-cache.c: File removed.
17378 * config.h.in (USE_LDCONFIG): New #undef.
17379 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17380 * configure: Regenerated.
17381 * elf/Makefile (dl-routines): Add dl-cache only under
17382 [$(use-ldconfig) = yes].
17383 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17384 cache on [USE_LDCONFIG].
17385 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17387 * elf/rtld.c (dl_main): Likewise.
17389 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17391 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17392 _SC_LEVEL4_CACHE_LINESIZE.
17394 2012-10-03 Roland McGrath <roland@hack.frob.com>
17396 * sysdeps/unix/bsd/confstr.h: File removed.
17398 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17400 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17403 2012-10-02 Roland McGrath <roland@hack.frob.com>
17405 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17406 Make 'mapoff' field ElfW(Off) rather than off_t.
17408 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17410 * nscd/Makefile: Remove nscd-cflags and all its users.
17411 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17412 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17415 * malloc.c (malloc_printerr): Clarify error message.
17417 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17421 Set bit_FMA_Usable if FMA is supported.
17422 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17424 (bit_FMA4_Usable): Updated.
17425 (index_FMA_Usable): New macro.
17426 (CPUID_FMA): Likewise
17427 (HAS_FMA): Defined with bit_FMA_Usable.
17429 2012-10-01 Roland McGrath <roland@hack.frob.com>
17431 * bits/types.h (__swblk_t): Type removed.
17432 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17433 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17435 (__SWBLK_T_TYPE): Likewise.
17436 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17437 (__SWBLK_T_TYPE): Likewise.
17438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17439 (__SWBLK_T_TYPE): Likewise.
17440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17441 (__SWBLK_T_TYPE): Likewise.
17443 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17444 Honza Horak <hhorak@redhat.com>
17446 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17447 (xdr_mapname): Use YPMAXMAP as maxsize.
17448 (xdr_peername): Use YPMAXPEER as maxsize.
17449 (xdr_keydat): Use YPAXRECORD as maxsize.
17450 (xdr_valdat): Use YPMAXRECORD as maxsize.
17452 2012-10-01 Roland McGrath <roland@hack.frob.com>
17454 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17456 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17457 * csu/init-first.c: ... here.
17458 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17459 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17460 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17461 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17462 * sysdeps/i386/init-first.c: File removed.
17463 * sysdeps/sh/init-first.c: File removed.
17465 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17469 if x * y might underflow to zero and z is zero.
17470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17472 * math/libm-test.inc (min_subnorm_value): New variable.
17473 (fma_test): Add more tests.
17474 (fma_test_towardzero): Likewise.
17475 (fma_test_downward): Likewise
17476 (fma_test_upward): Likewise.
17477 (initialize): Set min_subnorm_value.
17479 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17484 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17485 mode for addition resulting in exact zero.
17486 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17491 * math/libm-test.inc (fma_test): Add more tests.
17492 (fma_test_towardzero): New function.
17493 (fma_test_downward): Likewise.
17494 (fma_test_upward): Likewise.
17495 (main): Call the new functions.
17497 2012-09-28 David S. Miller <davem@davemloft.net>
17499 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17501 2012-09-28 Roland McGrath <roland@hack.frob.com>
17503 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17504 instead of SIGALRM.
17506 * sysdeps/gnu/_G_config.h: Moved to ...
17507 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17508 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17509 * sysdeps/generic/_G_config.h: ... here.
17511 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17513 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17515 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17516 Conditionalize target on [libnss_test1.so-version].
17518 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17520 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17521 (elfobjdir): Move out of conditionals.
17523 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17524 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17525 (__nss_lookup_function): Conditionalize label remove_from_tree on
17526 [!DO_STATIC_NSS || SHARED], matching its only use.
17528 2012-09-28 David S. Miller <davem@davemloft.net>
17530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17531 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17533 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17537 when HWCAP_SPARC_CRYPTO is present.
17539 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17541 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17543 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17546 * stdio-common/vfprintf.c (process_string_arg): Revert
17549 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17551 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17553 * stdio-common/tst-sprintf.c: Include <locale.h>
17554 (main): Test sprintf's handling of incomplete multibyte
17557 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17559 * elf/dl-runtime.c (VERSYMIDX): Removed.
17560 * elf/dl-version.c (VERSYMIDX): Likewise.
17561 * elf/do-rel.h (VERSYMIDX): Likewise.
17562 (VALIDX): Likewise.
17563 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17564 * elf/rtld.c (VALIDX): Likewise.
17565 (ADDRIDX): Likewise.
17566 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17567 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17568 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17569 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17570 (VALIDX): Likewise.
17571 (ADDRIDX): Likewise.
17573 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17575 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17577 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17580 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17582 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17583 addresses are in the same scope as 192.0.2/24.
17584 * posix/gai.conf: Document new scope table defaults.
17586 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17589 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17590 for ftell. Compute offsets from write pointers instead.
17591 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17593 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17596 * libio/Makefile (tests): New test case tst-fseek.
17597 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17598 combination works in wide mode.
17599 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17600 state when the external buffer state changes.
17602 2012-09-27 David S. Miller <davem@davemloft.net>
17605 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17606 pass reloc->r_addend in as the 'high' argument to
17607 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17611 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17613 * rt/tst-aio2.c: Include <pthread.h>.
17614 * rt/tst-aio3.c: Likewise.
17616 2012-09-27 Steve Ellcey <sellcey@mips.com>
17618 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17620 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17622 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17623 contents on [SHARED].
17625 2012-09-26 Marek Polacek <polacek@redhat.com>
17629 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17630 for C++ and GCC <4.3 as well as for non GCC compilers.
17632 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17636 2012-09-25 Roland McGrath <roland@hack.frob.com>
17638 * Makefile.in (all, install): Declare with .PHONY.
17639 Reported by Michael Hope <michael.hope@linaro.org>.
17641 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17643 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17644 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17646 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17648 (sydep_routines): Add the new and the internal functions.
17649 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17650 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17652 (GLIBC_2.17): Add the new function.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17654 (GLIBC_2.17): Likewise.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17656 (GLIBC_2.17): Likewise.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17658 (GLIBC_2.17): Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17661 2012-09-25 Alan Modra <amodra@gmail.com>
17663 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17664 Add release barrier before setting once_control to say
17665 initialisation is done. Add hints on lwarx. Use macro in
17667 (clear_once_control): Add release barrier.
17669 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17672 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17674 * math/s_clog10.c (__clog10): Likewise.
17675 * math/s_clog10f.c (__clog10f): Likewise.
17676 * math/s_clog10l.c (__clog10l): Likewise.
17677 * math/s_clogf.c (__clogf): Likewise.
17678 * math/s_clogl.c (__clogl): Likewise.
17679 * math/Makefile (libm-calls): Add x2y2m1.
17680 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17681 (__x2y2m1): Likewise.
17682 (__x2y2m1l): Likewise.
17683 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17684 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17687 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17688 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17689 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17690 * sysdeps/i386/fpu/libm-test-ulps: Update.
17691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17694 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17695 int as type of variable DEPTH.
17696 (glob): Use size_t instead of int as type of variables NEWCOUNT
17699 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17701 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17702 Add s_sincosf-sse2.
17703 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17704 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17705 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17706 macros for using routine as __sincosf_ia32.
17707 Use macro for function declaration and weak_alias.
17708 * sysdeps/i386/fpu/libm-test-ulps: Update.
17710 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17713 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17714 subnormal argument.
17715 * math/s_cexpf.c (__cexpf): Likewise.
17716 * math/s_csinf.c (__csinf): Likewise.
17717 * math/s_csinhf.c (__csinhf): Likewise.
17718 * math/s_ctanf.c (__ctanf): Likewise.
17719 * math/s_ctanhf.c (__ctanhf): Likewise.
17720 * math/s_ccosh.c (__ccoshf): Likewise.
17721 * math/s_cexp.c (__cexpl): Likewise.
17722 * math/s_csin.c (__csin): Likewise.
17723 * math/s_csinh.c (__csinh): Likewise.
17724 * math/s_ctan.c (__ctan): Likewise.
17725 * math/s_ctanh.c (ctanh): Likewise.
17726 * math/s_ccoshl.c (__ccoshl): Likewise.
17727 * math/s_cexpl.c (__cexpl): Likewise.
17728 * math/s_csinl.c (__csinl): Likewise.
17729 * math/s_csinhl.c (__csinhl): Likewise.
17730 * math/s_ctanl.c (__ctanl): Likewise.
17731 * math/s_ctanhl.c (__ctanhl): Likewise.
17733 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17735 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17736 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17737 (_IO_off_t): Define to __off_t, not _G_off_t.
17738 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17739 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17740 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17741 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17742 type of __dummy and __dummy2 fields.
17743 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17744 (_G_ssize_t): Likewise.
17745 (_G_off_t): Likewise.
17746 (_G_pid_t): Likewise.
17747 (_G_uid_t): Likewise.
17748 (_G_wchar_t): Likewise.
17749 (_G_wint_t): Likewise.
17750 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17751 (_G_ssize_t): Likewise.
17752 (_G_off_t): Likewise.
17753 (_G_pid_t): Likewise.
17754 (_G_uid_t): Likewise.
17755 (_G_wchar_t): Likewise.
17756 (_G_wint_t): Likewise.
17757 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17758 (_G_ssize_t): Likewise.
17759 (_G_off_t): Likewise.
17760 (_G_pid_t): Likewise.
17761 (_G_uid_t): Likewise.
17762 (_G_wchar_t): Likewise.
17763 (_G_wint_t): Likewise.
17765 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17767 * malloc/arena.c: Include malloc-sysdep.h.
17768 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17769 is sufficient to shrink the heap or an unmap is needed.
17770 * sysdeps/generic/malloc-sysdep.h: New file. Define
17771 new function check_may_shrink_heap.
17772 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17773 new function check_may_shrink_heap.
17775 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17777 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17780 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17782 * catgets/test-gencat.sh: Add "set -e".
17783 * elf/tst-pathopt.sh: Likewise.
17784 * grp/tst_fgetgrent.sh: Likewise.
17785 * iconvdata/run-iconv-test.sh: Likewise.
17786 * intl/tst-gettext.sh: Likewise.
17787 * intl/tst-gettext2.sh: Likewise.
17788 * intl/tst-gettext4.sh: Likewise.
17789 * intl/tst-gettext6.sh: Likewise.
17790 * intl/tst-translit.sh: Likewise.
17791 * io/ftwtest-sh: Likewise.
17792 * libio/test-freopen.sh: Likewise.
17793 * malloc/tst-mtrace.sh: Likewise.
17794 * posix/globtest.sh: Likewise.
17795 * posix/tst-getconf.sh: Likewise.
17796 * posix/wordexp-tst.sh: Likewise.
17797 * stdio-common/tst-printf.sh: Likewise.
17798 * stdio-common/tst-unbputc.sh: Likewise.
17799 * stdlib/tst-fmtmsg.sh: Likewise.
17800 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17801 * catgets/Makefile: Do not specify -e option when running
17802 testsuite shell scripts.
17803 * elf/Makefile: Likewise.
17804 * grp/Makefile: Likewise.
17805 * iconvdata/Makefile: Likewise.
17806 * intl/Makefile: Likewise.
17807 * io/Makefile: Likewise.
17808 * libio/Makefile: Likewise.
17809 * malloc/Makefile: Likewise.
17810 * posix/Makefile: Likewise.
17811 * stdio-common/Makefile: Likewise.
17812 * stdlib/Makefile: Likewise.
17813 * sysdeps/x86_64/Makefile: Likewise.
17815 * io/ftwtest-sh: Add copyright header.
17816 * posix/globtest.sh: Likewise.
17817 * posix/tst-getconf.sh: Likewise.
17818 * posix/wordexp-tst.sh: Likewise.
17819 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17821 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17824 * Makeconfig (+link): Defined as $(+link-static) if
17825 $(build-shared) isn't yes.
17826 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17828 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17830 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17833 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17834 new chunk size with MALLOC_ALIGN_MASK.
17836 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17839 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17841 (__printf_fphex): Determine rounding using get_rounding_mode and
17843 * stdio-common/tst-printf-round.c (struct hex_test): New
17845 (hex_tests): New variable.
17846 (test_hex_in_one_mode): New function.
17847 (do_test): Also run tests for hex float output.
17849 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17851 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17852 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17853 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17854 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17855 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17856 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17857 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17860 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17862 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17863 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17864 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17865 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17867 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17870 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17872 * elf/tst-rtld-load-self.sh: New test.
17873 * elf/Makefile: Run it.
17875 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17877 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17878 (tst-writev-ENV): Remove.
17879 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17881 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17883 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17885 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17887 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17889 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17891 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17892 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17893 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17896 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17899 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17900 * config.make.in (have-cpp-asm-debuginfo): Removed.
17901 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17902 * configure: Regenerated.
17904 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17907 * stdio-common/printf_fp.c: Include <stdbool.h> and
17909 (___printf_fp): Determine rounding using get_rounding_mode and
17911 * stdio-common/tst-printf-round.c: New file.
17912 * stdio-common/Makefile (tests): Add tst-printf-round.
17913 (link-libm): New variable.
17914 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17916 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17919 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17920 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17922 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17925 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17927 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17928 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17929 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17930 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17932 2012-09-12 Joseph Myers <joseph@codesourcery.com>
17935 * include/rounding-mode.h: New file.
17936 * sysdeps/generic/get-rounding-mode.h: Likewise.
17937 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17938 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17939 (MAX_VALUE): New macro.
17940 (MIN_VALUE): Likewise.
17941 (overflow_value): New function.
17942 (underflow_value): Likewise.
17943 (round_and_return): Use overflow_value and underflow_value to
17944 determine return values in overflow and underflow cases. Use
17945 round_away to determine rounding depending on rounding mode.
17946 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17947 determine return values in overflow and underflow cases.
17948 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17949 (struct test_results): New structure.
17950 (struct test): Use struct test_results to store expected results
17951 for all rounding modes.
17952 (TEST): Include expected results for all rounding modes.
17953 (test_in_one_mode): New function.
17954 (do_test): Use test_in_one_mode to compute and check results.
17955 Check results for all rounding modes.
17956 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17959 2012-12-09 Allan McRae <allan@archlinux.org>
17961 * sysdeps/i386/fpu/libm-test-ulps: Update
17963 2012-09-11 Joseph Myers <joseph@codesourcery.com>
17965 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17966 (_G_int32_t): Likewise.
17967 (_G_uint16_t): Likewise.
17968 (_G_uint32_t): Likewise.
17969 (_G_HAVE_BOOL): Likewise.
17970 (_G_HAVE_ATEXIT): Likewise.
17971 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17972 (_G_HAVE_IO_FILE_OPEN): Likewise.
17973 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17974 (_G_int32_t): Likewise.
17975 (_G_uint16_t): Likewise.
17976 (_G_uint32_t): Likewise.
17977 (_G_HAVE_BOOL): Likewise.
17978 (_G_HAVE_ATEXIT): Likewise.
17979 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17980 (_G_HAVE_IO_FILE_OPEN): Likewise.
17981 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17982 (_G_int32_t): Likewise.
17983 (_G_uint16_t): Likewise.
17984 (_G_uint32_t): Likewise.
17985 (_G_HAVE_BOOL): Likewise.
17986 (_G_HAVE_ATEXIT): Likewise.
17987 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17988 (_G_HAVE_IO_FILE_OPEN): Likewise.
17990 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17992 * csu/libc-tls.c: Update copyright years.
17994 2012-09-10 Joseph Myers <joseph@codesourcery.com>
17996 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17997 [!_G_USING_THUNKS]: Remove conditional code.
17998 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17999 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18001 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18002 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18003 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18004 (_G_VTABLE_LABEL_PREFIX): Likewise.
18005 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18006 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18008 (_G_VTABLE_LABEL_PREFIX): Likewise.
18009 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18010 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18011 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18012 (_G_VTABLE_LABEL_PREFIX): Likewise.
18013 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18015 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18017 * libio/Makefile: Include ../Makeconfig before tests.
18018 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18019 only if $(build-shared) is yes.
18021 * iconv/gconv_db.c: Update copyright years.
18023 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18025 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18026 unwind info if defined PIC. Fix special cases description.
18027 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18029 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18031 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18033 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18035 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18037 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18040 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18041 (LDLIBS-tst-chk4): This.
18042 (LDFLAGS-tst-chk5): Renamed to ...
18043 (LDLIBS-tst-chk5): This.
18044 (LDFLAGS-tst-chk6): Renamed to ...
18045 (LDLIBS-tst-chk6): This.
18046 (LDFLAGS-tst-lfschk4): Renamed to ...
18047 (LDLIBS-tst-lfschk4): This.
18048 (LDFLAGS-tst-lfschk5): Renamed to ...
18049 (LDLIBS-tst-lfschk5): This.
18050 (LDFLAGS-tst-lfschk6): Renamed to ...
18051 (LDLIBS-tst-lfschk6): This.
18053 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18054 on $(common-objpfx)soversions.mk.
18056 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18059 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18062 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18064 * malloc/arena.c (arena_get_retry): New function that gets
18065 another arena for the caller to try its request on.
18066 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18067 current arena cannot fulfill the request.
18068 (__libc_memalign): Likewise.
18069 (__libc_memalign): Likewise.
18070 (__libc_pvalloc): Likewise.
18071 (__libc_calloc): Likewise.
18073 2012-09-05 John Tobey <john.tobey@gmail.com>
18076 * manual/arith.texi (Operations on Complex): Fix description
18077 of carg branch cut.
18079 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18082 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18086 * manual/memory.texi (Memory): Make order of menu items match
18089 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18091 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18092 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18093 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18095 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18097 * csu/libc-tls.c (static_dtv): Renamed to ...
18098 (_dl_static_dtv): This. Make it global.
18099 (_dl_initial_dtv): Removed.
18100 (__libc_setup_tls): Updated.
18101 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18102 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18105 2012-09-06 Petr Machata <pmachata@redhat.com>
18107 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18108 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18109 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18110 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18112 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18115 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18116 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18119 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18122 * Makeconfig (link-static-before-libc): Replace $(+prector)
18124 (link-static-after-libc): Replace $(+postctor) with
18126 (link-bounded): Replace $(+prector)/$(+postctor) with
18127 $(+prectorT)/$(+postctorT).
18128 (+prectorT): New macro.
18129 (+postctorT): Likewise.
18131 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18133 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18134 (round_str): Handle values above the maximum for IBM long double
18136 * stdlib/tst-strtod-round.c (tests): Regenerated.
18138 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18140 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18142 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18143 zarch_nohighgprs around the zarch optimized routines.
18144 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18145 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18146 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18149 2012-09-05 David S. Miller <davem@davemloft.net>
18151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18153 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18154 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18155 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18156 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18159 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18161 * malloc/arena.c: Fold copyright years.
18162 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18166 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18168 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18170 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18172 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18174 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18175 change internal state upon failure.
18177 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18179 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18180 * malloc/memusage.c (mmap): Likewise.
18181 (mmap64, mremap): Likewise. Adjust name in comment.
18183 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18185 * libio/fileops.c: Fix typos in comments.
18186 * libio/oldfileops.c: Likewise.
18187 * libio/wfileops.c: Likewise.
18189 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18192 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18193 (tst-malloc-usable-ENV): Set environment for test case.
18194 * malloc/hooks.c (malloc_check_get_size): New function to get
18196 * malloc/malloc.c (musable): Use malloc_check_get_size.
18197 * malloc/tst-malloc-usable.c: New test case.
18199 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18201 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18203 2012-09-05 Allan McRae <allan@archlinux.org>
18206 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18207 determine header location.
18208 * configure: Regenerated.
18210 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18212 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18214 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18215 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18217 (test): Regenerate.
18219 2012-09-04 David S. Miller <davem@davemloft.net>
18221 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18222 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18223 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18225 2012-09-04 Florian Weimer <fweimer@redhat.com>
18227 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18230 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18232 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18235 * libio/iogetdelim.c: Include <limits.h>.
18236 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18237 + len + 1 would overflow.
18239 2012-09-03 Andreas Jaeger <aj@suse.de>
18241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18242 * sysdeps/i386/fpu/libm-test-ulps: Update.
18244 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18246 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18247 Add s_sinf-sse2, s_conf-sse2.
18249 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18250 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18251 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18252 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18254 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18255 for using routine as __sinf_ia32.
18256 Use macro for function declaration and weak_alias.
18257 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18258 for using routine as __cosf_ia32.
18259 Use macro for function declaration and weak_alias.
18261 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18262 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18264 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18265 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18268 * math/libm-test.inc (cos_test): Add more test cases.
18269 (sin_test): Likewise.
18270 (sincos_test): Likewise.
18272 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18274 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18275 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18279 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18282 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18283 first element of the GOT.
18284 (elf_machine_load_address): Return the difference between
18285 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18287 2012-09-01 Allan McRae <allan@archlinux.org>
18290 * configure.in (AWK): Require gawk version 3.0 or later.
18291 * configure: Regenerated.
18293 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18295 * sysdeps/unix/sysv/linux/kernel-features.h
18296 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18298 [__NR_clock_getres]: Make code unconditional.
18299 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18300 (clock_getcpuclockid): Remove code left unreachable by removal of
18302 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18303 code unconditional.
18304 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18306 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18307 Make code unconditional.
18308 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18309 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18310 * sysdeps/unix/sysv/linux/clock_settime.c
18311 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18313 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18316 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18319 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18320 scripts/test-installation.pl.
18322 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18323 and $ld_so_version if it is set.
18325 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18329 failure if reading from procfs failed.
18330 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18332 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18334 * sysdeps/unix/sysv/linux/kernel-features.h
18335 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18336 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18337 Remove conditional code.
18338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18339 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18340 Remove conditional code.
18341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18342 * sysdeps/unix/sysv/linux/i386/fxstat.c
18343 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18345 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18346 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18348 * sysdeps/unix/sysv/linux/i386/lxstat.c
18349 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18351 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18352 Remove conditional code.
18353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18354 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18355 Remove conditional code.
18356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18357 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18358 <kernel-features.h>.
18359 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18361 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18362 Remove conditional code.
18363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18364 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18365 Remove conditional.
18367 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18370 * NEWS: Add fixed bug number.
18372 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18375 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18376 underflowing exponent in case of negative sign.
18377 * stdlib/tst-strtod-round-data: Add more tests.
18378 * stdlib/tst-strtod-round.c (tests): Regenerated.
18381 * stdlib/strtod_l.c (NDIG): Remove.
18382 (HEXNDIG): Likewise.
18383 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18384 smallest representable value.
18385 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18386 lie within an exact representation of 1/2 ulp of the result.
18387 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18389 (TENS_P9_IDX): Define unconditionally.
18390 (TENS_P9_SIZE): Likewise.
18391 (TENS_P10_IDX): Likewise.
18392 (TENS_P10_SIZE): Likewise.
18393 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18394 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18395 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18396 entries for 10^2^13 and 10^2^14.
18397 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18398 (TENS_P13_IDX): Define.
18399 (TENS_P13_SIZE): Likewise.
18400 (TENS_P14_IDX): Likewise.
18401 (TENS_P14_SIZE): Likewise.
18402 (_fpioconst_pow10): Change array size to
18403 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18405 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18406 1024]: Add entries for 10^2^13 and 10^2^14.
18407 [LAST_POW10 > _LAST_POW10]: Remove #error.
18408 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18409 (_fpioconst_pow10): Change array size to
18410 FPIOCONST_POW10_ARRAY_SIZE.
18411 * stdlib/gen-fpioconst.c: New file.
18412 * stdlib/gen-tst-strtod-round.c: Likewise.
18413 * stdlib/tst-strtod-round-data: Likewise.
18414 * stdlib/tst-strtod-round.c: Likewise.
18415 * stdlib/Makefile (tests): Add tst-strtod-round.
18418 * stdlib/strtod_l.c: Include <stdint.h>.
18419 (NDEBUG): Do not define.
18420 (round_and_return): Change EXPONENT parameter to type intmax_t.
18421 Rearrange calculations to avoid internal overflow possibilities.
18422 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18423 Rearrange calculations to avoid internal overflow possibilities.
18424 Assert that number fits inside MPNSIZE limbs.
18425 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18426 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18427 calculations and add assertions to avoid internal overflow
18428 possibilities. Add casts to avoid signed/unsigned operations.
18429 * stdlib/tst-strtod-overflow.c: New file.
18430 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18432 2012-08-25 Marek Polacek <polacek@redhat.com>
18434 * time/time.h: Fix some typos in comments.
18436 2012-08-23 Roland McGrath <roland@hack.frob.com>
18438 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18439 * posix/tst-rfc3484-2.c: Likewise.
18440 * posix/tst-rfc3484-3.c: Likewise.
18442 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18444 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18445 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18447 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18449 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18450 #include of fxstatat64.c.
18452 2012-08-22 Roland McGrath <roland@hack.frob.com>
18454 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18455 * shadow/getspent_r.c: Likewise.
18456 * shadow/getspnam.c: Likewise.
18457 * shadow/getspnam_r.c: Likewise.
18458 * gshadow/getsgent.c: Likewise.
18459 * gshadow/getsgent_r.c: Likewise.
18460 * gshadow/getsgnam.c: Likewise.
18461 * gshadow/getsgnam_r.c: Likewise.
18462 * inet/getnetbyad.c: Likewise.
18463 * inet/getnetbyad_r.c: Likewise.
18464 * inet/getnetbynm.c: Likewise.
18465 * inet/getnetbynm_r.c: Likewise.
18466 * inet/getnetent.c: Likewise.
18467 * inet/getnetent_r.c: Likewise.
18468 * inet/getproto.c: Likewise.
18469 * inet/getproto_r.c: Likewise.
18470 * inet/getprtent.c: Likewise.
18471 * inet/getprtent_r.c: Likewise.
18472 * inet/getprtname.c: Likewise.
18473 * inet/getprtname_r.c: Likewise.
18474 * inet/getrpcbyname.c: Likewise.
18475 * inet/getrpcbyname_r.c: Likewise.
18476 * inet/getrpcbynumber.c: Likewise.
18477 * inet/getrpcbynumber_r.c: Likewise.
18478 * inet/getrpcent.c: Likewise.
18479 * inet/getrpcent_r.c: Likewise.
18480 * inet/getaliasent.c: Likewise.
18481 * inet/getaliasent_r.c: Likewise.
18482 * inet/getaliasname.c: Likewise.
18483 * inet/getaliasname_r.c: Likewise.
18484 * nscd/getgrgid_r.c: Likewise.
18485 * nscd/getgrnam_r.c: Likewise.
18486 * nscd/gethstbyad_r.c: Likewise.
18487 * nscd/gethstbynm3_r.c: Likewise.
18488 * nscd/getpwnam_r.c: Likewise.
18489 * nscd/getpwuid_r.c: Likewise.
18490 * nscd/getsrvbynm_r.c: Likewise.
18491 * nscd/getsrvbypt_r.c: Likewise.
18492 * nscd/gai.c: Likewise.
18494 * configure.in (build_nscd): New substituted variable, set
18495 by --disable-build-nscd and defaults to $use_nscd.
18496 * configure: Regenerated.
18497 * config.make.in (build-nscd): New substituted variable.
18498 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18499 Change conditional to require [$(build-nscd) = yes] as well.
18500 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18503 * configure.in (use_nscd): New substituted variable, set by
18504 --disable-nscd. If enabled, define USE_NSCD.
18505 * configure: Regenerated.
18506 * config.h.in: Add USE_NSCD.
18507 * config.make.in (use-nscd): New substituted variable.
18508 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18509 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18510 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18511 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18512 (CFLAGS-getgrnam_r.c): Likewise.
18513 (CFLAGS-initgroups.c): Likewise.
18514 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18515 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18517 * inet/getnetgrent_r.c
18518 (nscd_setnetgrent): New function, broken out of ...
18519 (setnetgrent): ... here. Call it.
18520 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18521 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18522 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18523 * nscd/Makefile (routines, aux): Move definitions after include of
18524 Makeconfig. Conditionalize on [$(use-nscd) != no].
18525 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18526 Conditionalize on [USE_NSCD].
18527 (is_nscd, nscd_init_cb): Likewise.
18528 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18529 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18530 * nss/nss_db/db-init.c: Likewise.
18531 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18533 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18534 (make_request): Use it.
18535 (cache_valid_p): New function.
18536 (__check_pf): Use it.
18537 * NEWS: Add item for --disable-nscd.
18539 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18541 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18542 to support sed >= 4.2.1-20-ga9bf076.
18543 * configure: Regenerated.
18545 2012-08-22 Roland McGrath <roland@hack.frob.com>
18547 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18548 Conditionalize whole body on [IREL].
18550 2012-08-22 Jeff Law <law@redhat.com>
18553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18554 if the family is PF_UNSPEC.
18556 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18558 * Makerules (lib-version): Rename from V.
18559 (install-lib-nosubdir): Change V to lib-version.
18561 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18564 * powerpc32/power6/wcschr.c: New file.
18565 * powerpc32/power6/wcscpy.c: New file.
18566 * powerpc32/power6/wcsrchr.c: New file.
18567 * powerpc64/power6/wcschr.c: New file.
18568 * powerpc64/power6/wcscpy.c: New file.
18569 * powerpc64/power6/wcsrchr.c: New file.
18571 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18573 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18574 (two_way_short_needle): Use it.
18575 * string/strstr.c (AVAILABLE1_USES_J): Define.
18576 * string/strcasestr.c: Likewise.
18578 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18580 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18583 * NEWS: Add an entry.
18584 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18585 define their defaults.
18586 (two_way_short_needle): Detect end-of-string on-the-fly.
18587 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18588 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18589 * string/bug-strcasestr1.c: New test.
18590 * string/Makefile: Run it.
18592 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18595 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18596 the first character.
18598 2012-08-21 Roland McGrath <roland@hack.frob.com>
18600 * csu/elf-init.c (__libc_csu_irel): Function removed.
18601 * csu/libc-start.c (apply_irel): New function.
18602 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18604 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18606 * sysdeps/unix/sysv/linux/kernel-features.h
18607 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18608 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18609 <kernel-features.h>.
18610 [__NR_fadvise64_64]: Make code unconditional.
18611 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18612 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18613 !__NR_fadvise64_64)]: Likewise.
18614 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18615 !__NR_fadvise64_64))]: Likewise.
18616 [__NR_fadvise64]: Make code unconditional.
18617 [!__NR_fadvise64]: Remove conditional code.
18618 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18619 <kernel-features.h>.
18620 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18622 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18625 not include <kernel-features.h>.
18626 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18628 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18630 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18631 include <kernel-features.h>.
18632 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18634 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18637 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18640 slight instruction rearrangements per scrollpipe analysis.
18641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18643 2012-08-20 Roland McGrath <roland@hack.frob.com>
18645 * manual/syslog.texi (syslog; vsyslog, closelog):
18646 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18647 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18649 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18650 DSOCAPS to match condition on defining it.
18652 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18654 * sysdeps/unix/sysv/linux/kernel-features.h
18655 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18657 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18658 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18660 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18661 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18663 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18664 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18666 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18667 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18669 * sysdeps/unix/sysv/linux/kernel-features.h
18670 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18671 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18673 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18674 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18677 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18678 Make code unconditional.
18679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18680 (__mmap64) [!__NR_mmap2]: Likewise.
18681 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18682 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18683 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18685 [__NR_mmap2]: Make code unconditional.
18686 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18687 (__mmap64) [!__NR_mmap2]: Likewise.
18689 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18691 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18693 2012-08-18 Andreas Jaeger <aj@suse.de>
18695 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18697 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18699 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18700 * include/unistd.h (__have_sock_cloexec): Likewise.
18701 (__have_pipe2): Likewise.
18702 (__have_dup3): Likewise.
18704 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18707 * include/unistd.h (__have_pipe2): Change define into an extern int.
18708 (__have_dup3): Likewise.
18709 * socket/have_sock_cloexec.c: Include fcntl.h.
18710 (__have_pipe2): New variable.
18711 (__have_dup3): Likewise.
18713 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18715 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18717 2012-08-17 Marek Polacek <polacek@redhat.com>
18719 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18720 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18722 2012-08-17 Roland McGrath <roland@hack.frob.com>
18724 * configure.in: Add AC_SUBST for sysheaders.
18725 * configure: Regenerated.
18726 * config.make.in (sysheaders): New substituted variable.
18728 * sysdeps/unix/mkfifo.c: Moved ...
18729 * sysdeps/posix/mkfifo.c: ... here.
18730 * sysdeps/unix/mkfifoat.c: Moved ...
18731 * sysdeps/posix/mkfifoat.c: ... here.
18733 * sysdeps/unix/utime.c: Moved ...
18734 * sysdeps/posix/utime.c: ... here.
18736 * sysdeps/unix/time.c: Moved ...
18737 * sysdeps/posix/time.c: ... here.
18738 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18739 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18741 * sysdeps/unix/nice.c: Moved ...
18742 * sysdeps/posix/nice.c: ... here.
18744 * sysdeps/unix/alarm.c: Moved ...
18745 * sysdeps/posix/alarm.c: ... here.
18747 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18749 2012-08-17 Jeff Law <law@redhat.com>
18751 * intl/Makefile (codeset_mo): New variable.
18752 ($(codeset_mo)): New target.
18753 (tst-codeset.out): Depend on that. Remove explicit rule.
18754 (tst-gettext3.out, tst-gettext5.out): Likewise.
18755 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18756 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18757 * intl/tst-codeset.sh: Remove.
18758 * intl/tst-gettext3.sh: Likewise.
18759 * intl/tst-gettext5.sh: Likewise.
18761 2012-08-17 Roland McGrath <roland@hack.frob.com>
18763 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18764 * sysdeps/unix/syscalls.list: ... here.
18766 * sysdeps/posix/getaddrinfo.c
18767 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18768 (gaiconf_init, gaiconf_reload): Use them.
18769 [!_STATBUF_ST_NSEC]
18770 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18771 Define using time_t rather than struct timespec.
18773 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18774 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18776 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18778 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18779 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18782 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18783 __libc_cleanup_push argument.
18785 * bits/param.h: New file.
18786 * misc/sys/param.h: New file.
18787 * include/sys/param.h: New file.
18788 * misc/Makefile (headers): Add bits/param.h.
18789 * sysdeps/generic/sys/param.h: File removed.
18790 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18791 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18792 * sysdeps/mach/hurd/bits/param.h: New file.
18793 * sysdeps/mach/hurd/sys/param.h: File removed.
18795 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18798 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18800 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18801 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18804 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18805 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18806 rather than -D_IO_MTSAFE_IO conditionally.
18807 * stdio-common/Makefile (CPPFLAGS): Likewise.
18808 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18809 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18810 Use $(libio-mtsafe).
18811 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18812 of -D_IO_MTSAFE_IO.
18813 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18814 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18815 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18816 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18817 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18818 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18819 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18820 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18821 (CFLAGS-fread_u_chk.c): Likewise.
18822 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18823 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18824 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18825 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18826 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18827 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18828 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18829 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18830 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18832 * libio/Makefile: Test [$(libc-reentrant) = yes]
18833 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18836 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18837 * sysdeps/pthread/configure: File removed.
18838 * sysdeps/pthread/Makeconfig: New file.
18839 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18840 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18842 2012-08-16 Gary Benson <gbenson@redhat.com>
18844 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18845 unmapping the first object in a namespace.
18847 2012-08-16 Roland McGrath <roland@hack.frob.com>
18849 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18850 (__internal_setnetgrent): ... this. Add internal_function to
18851 definition. Add libc_hidden_def.
18852 (setnetgrent): Update caller.
18853 (internal_endnetgrent): Renamed to ...
18854 (__internal_endnetgrent): ... this. Add internal_function to
18855 definition. Add libc_hidden_def.
18856 (endnetgrent): Update caller.
18857 (internal_getnetgrent_r): Renamed to ...
18858 (__internal_getnetgrent_r): ... this. Add internal_function to
18859 definition. Add libc_hidden_def.
18860 (__getnetgrent_r): Update caller.
18861 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18863 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18865 * stdlib/longlong.h: Update from GCC.
18867 2012-08-16 Roland McGrath <roland@hack.frob.com>
18869 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18870 on _QL, which is set by umul_ppmm but never used.
18871 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18872 variables, which are set by GMP macros but never used.
18873 * stdio-common/_itowa.c (_itowa): Likewise.
18874 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18875 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18877 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18879 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18880 struct La_sh_regs is not constant.
18881 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18882 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18883 and struct La_sparc64_regs are not constant.
18885 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18887 * sysdeps/unix/sysv/linux/kernel-features.h
18888 (__ASSUME_POSIX_TIMERS): Remove.
18889 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18890 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18891 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18892 Make code unconditional.
18893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18894 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18895 Make code unconditional.
18896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18897 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18898 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18900 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18901 Make code unconditional.
18902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18903 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18904 (__libc_missing_posix_timers): Remove.
18906 2012-08-15 Roland McGrath <roland@hack.frob.com>
18908 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18909 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18911 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18913 * elf/dl-sym.c: Include <stdlib.h>.
18915 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18916 constants, which avoids warnings in 32-bit builds.
18918 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18919 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18921 * misc/lseek.c: File moved to ...
18922 * io/lseek.c: ... here.
18924 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18926 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18927 shifting LEN more than 31 bits at once.
18929 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18932 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18933 segmentation fault for a case of two empty input strings.
18934 * string/test-strncasecmp.c (check1): Renamed to...
18935 (bz12205): ...this.
18936 (bz14195): Add new testcase for two empty input strings and N > 0.
18937 (test_main): Call new testcase, adapt for renamed function.
18939 2012-08-15 Andreas Jaeger <aj@suse.de>
18942 * crypt/md5test2.c: New test, based on test supplied by Serge
18943 Belyshev <belyshev@depni.sinp.msu.ru>.
18944 * crypt/Makefile (xtests): Add md5test-giant..
18945 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18947 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18950 * crypt/md5.c (md5_process_block): Don't assume the buffer
18951 length is less than 2**32.
18952 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18953 length is less than 2**64.
18955 2012-08-15 Roland McGrath <roland@hack.frob.com>
18957 * string/str-two-way.h: Include <sys/param.h>.
18958 (MAX): Macro removed.
18960 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18961 Move #define and #undef of memmove to just before and after
18962 including <string.h>.
18964 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18965 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18966 and after including <string.h>. Move declarations of
18967 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18968 to before #include "string/memmove.c".
18970 * include/dirent.h: Declare __getdirentries.
18972 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18973 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18975 2012-08-14 Mike Frysinger <vapier@gentoo.org>
18977 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18978 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18979 * sysdeps/i386/configure: Regenerated.
18980 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18981 STABS_CURRENT_FILE, and STABS_FUN.
18982 (END): Remove call to STABS_FUN_END.
18983 (STABS_CURRENT_FILE1): Delete.
18984 (STABS_CURRENT_FILE): Likewise.
18985 (STABS_FUN): Likewise.
18986 (STABS_FUN_END): Likewise.
18987 (STABS_FUN2): Likewise.
18988 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18989 * sysdeps/x86_64/configure: Regenerated.
18991 2012-08-14 Roland McGrath <roland@hack.frob.com>
18993 * elf/dl-open.c: Include <atomic.h>.
18994 * elf/dl-lookup.c: Likewise.
18996 2012-08-14 Joseph Myers <joseph@codesourcery.com>
18998 * sysdeps/unix/sysv/linux/kernel-features.h
18999 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19000 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19002 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19004 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19005 condition on __ASSUME_CLONE_THREAD_FLAGS.
19007 2012-08-14 Andreas Jaeger <aj@suse.de>
19009 * sysdeps/i386/fpu/libm-test-ulps: Update.
19011 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19013 * include/atomic.h (atomic_exchange_and_add): Split into ...
19014 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19017 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19021 2012-08-13 Jeff Law <law@redhat.com>
19023 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19024 null byte in the output string.
19026 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19028 * sysdeps/unix/sysv/linux/kernel-features.h
19029 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19030 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19031 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19032 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19033 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19034 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19035 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19037 2012-08-09 Jeff Law <law@redhat.com>
19040 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19041 When avoid_arena is set, don't retry in the that arena. Pick the
19042 next one, whatever it might be.
19043 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19044 (arena_lock): Pass in new parameter to arena_get2.
19045 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19047 (__libc_malloc): Unify retrying after main arena failure with
19048 __libc_memalign version.
19049 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19051 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19054 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19055 to __redirect_strstr.
19056 (__strstr_sse42): Use typeof __redirect_strstr.
19057 (__strstr_ia32): Likewise.
19058 (__libc_strstr): New prototype.
19059 (strstr): Renamed to ...
19060 (__libc_strstr): This.
19061 (strstr): New strong alias of __libc_strstr.
19062 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19063 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19066 (__libc_time): New prototype.
19067 (time_ifunc): Replace time with __libc_time.
19068 (time): New strong alias and hidden definition of __libc_time.
19069 (__GI_time): Remove strong alias.
19070 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19071 Include <stddef.h>.
19072 (memmove): Redefined to __redirect_memmove.
19073 (__memmove_sse2): Use typeof __redirect_memmove.
19074 (__memmove_ssse3): Likewise.
19075 (__memmove_ssse3_back): Likewise.
19076 (__libc_memmove): New prototype.
19077 (memmove): Renamed to ...
19078 (__libc_memmove): This.
19079 (memmove): New strong alias of __libc_memmove.
19081 2012-08-08 Mark Salter <msalter@redhat.com>
19084 (R_MN10300_TLS_GD): Define.
19085 (R_MN10300_TLS_LD): Likewise.
19086 (R_MN10300_TLS_LDO): Likewise.
19087 (R_MN10300_TLS_GOTIE): Likewise.
19088 (R_MN10300_TLS_IE): Likewise.
19089 (R_MN10300_TLS_LE): Likewise.
19090 (R_MN10300_TLS_DTPMOD): Likewise.
19091 (R_MN10300_TLS_DTPOFF): Likewise.
19092 (R_MN10300_TLS_TPOFF): Likewise.
19093 (R_MN10300_SYM_DIFF): Likewise.
19094 (R_MN10300_ALIGN): Likewise.
19095 (R_MN10300_NUM): Update.
19097 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19102 2012-08-08 Roland McGrath <roland@hack.frob.com>
19104 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19106 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19107 sysdeps/unix -> sysdeps/posix move.
19108 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19110 2012-08-07 Allan McRae <allan@archlinux.org>
19113 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19114 (SUNOS_CPP): Likewise.
19115 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19117 (open_input): Call CPP using execvp.
19119 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19121 * sysdeps/unix/sysv/linux/kernel-features.h
19122 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19123 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19124 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19125 (__ASSUME_WAITID_SYSCALL): Likewise.
19126 * sysdeps/unix/sysv/linux/dl-execstack.c
19127 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19128 code unconditional.
19129 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19131 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19132 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19133 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19135 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19137 [__ASSUME_WAITID_SYSCALL]: Likewise.
19138 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19140 2012-08-07 Roland McGrath <roland@hack.frob.com>
19142 * sysdeps/unix/closedir.c: Renamed to ...
19143 * sysdeps/posix/closedir.c: ... here.
19144 * sysdeps/unix/dirfd.c: Renamed to ...
19145 * sysdeps/posix/dirfd.c: ... here.
19146 * sysdeps/unix/dirstream.h: Renamed to ...
19147 * sysdeps/posix/dirstream.h: ... here.
19148 * sysdeps/unix/fdopendir.c: Renamed to ...
19149 * sysdeps/posix/fdopendir.c: ... here.
19150 * sysdeps/unix/opendir.c: Renamed to ...
19151 * sysdeps/posix/opendir.c: ... here.
19152 * sysdeps/unix/readdir.c: Renamed to ...
19153 * sysdeps/posix/readdir.c: ... here.
19154 * sysdeps/unix/readdir_r.c: Renamed to ...
19155 * sysdeps/posix/readdir_r.c: ... here.
19156 * sysdeps/unix/rewinddir.c: Renamed to ...
19157 * sysdeps/posix/rewinddir.c: ... here.
19158 * sysdeps/unix/seekdir.c: Renamed to ...
19159 * sysdeps/posix/seekdir.c: ... here.
19160 * sysdeps/unix/telldir.c: Renamed to ...
19161 * sysdeps/posix/telldir.c: ... here.
19162 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19163 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19164 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19165 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19167 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19168 * bits/fcntl.h: ... here.
19170 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19172 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19173 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19174 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19175 (struct flock): Move l_start, l_len to the beginning.
19176 Use __pid_t for l_pid.
19177 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19178 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19179 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19180 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19181 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19182 [__USE_LARGEFILE64] (struct flock64): New type.
19183 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19185 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19186 * bits/dirent.h: ... here.
19188 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19189 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19191 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19194 Change from 2.6.0 to 2.6.16.
19195 * sysdeps/unix/sysv/linux/configure: Regenerated.
19196 * sysdeps/unix/sysv/linux/kernel-features.h
19197 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19198 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19200 (__ASSUME_UTIMES): Likewise.
19201 (__ASSUME_CLONE_STOPPED): Remove.
19202 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19203 architectures, not kernel version.
19204 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19205 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19206 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19207 (__ASSUME_WAITID_SYSCALL): Likewise.
19208 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19209 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19210 * README: State 2.6.16 as minimum Linux kernel version. Do not
19211 refer to older versions.
19213 2012-08-06 Roland McGrath <roland@hack.frob.com>
19215 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19216 Define alphasort64 as an alias.
19217 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19218 Define versionsort64 as an alias.
19219 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19220 Define scandir64 as an alias.
19221 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19222 Define scandirat64 as an alias.
19223 * dirent/alphasort64.c (alphasort64):
19224 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19225 * dirent/versionsort64.c: Likewise.
19226 * dirent/scandir64.c: Likewise.
19227 * dirent/scandirat64.c: Likewise.
19228 * sysdeps/wordsize-64/alphasort.c: File removed.
19229 * sysdeps/wordsize-64/alphasort64.c: File removed.
19230 * sysdeps/wordsize-64/scandir.c: File removed.
19231 * sysdeps/wordsize-64/scandir64.c: File removed.
19232 * sysdeps/wordsize-64/scandirat.c: File removed.
19233 * sysdeps/wordsize-64/scandirat64.c: File removed.
19234 * sysdeps/wordsize-64/versionsort.c: File removed.
19235 * sysdeps/wordsize-64/versionsort64.c: File removed.
19236 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19238 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19239 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19240 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19241 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19242 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19245 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19247 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19249 [defined __arch64__ || defined __sparcv9]
19250 (__INO_T_MATCHES_INO64_T): New macro.
19251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19252 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19253 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19254 * sysdeps/unix/sysv/linux/bits/dirent.h
19255 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19256 (_DIRENT_MATCHES_DIRENT64): New macro.
19258 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19259 Define lockf64 as an alias.
19260 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19261 Define fseeko64 as an alias.
19262 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19263 Define ftello64 as an alias.
19264 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19265 Define _IO_fgetpos64 and fgetpos64 as aliases.
19266 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19267 Define _IO_fsetpos64 and fsetpos64 as aliases.
19268 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19269 Conditionalize body on this.
19270 * libio/fseeko64.c: Likewise.
19271 * libio/ftello64.c: Likewise.
19272 * libio/iofgetpos64.c: Likewise.
19273 * libio/iofsetpos64.c: Likewise.
19274 * sysdeps/wordsize-64/lockf.c: File removed.
19275 * sysdeps/wordsize-64/lockf64.c: File removed.
19276 * sysdeps/wordsize-64/fseeko.c: File removed.
19277 * sysdeps/wordsize-64/fseeko64.c: File removed.
19278 * sysdeps/wordsize-64/ftello.c: File removed.
19279 * sysdeps/wordsize-64/ftello64.c: File removed.
19280 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19281 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19282 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19283 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19284 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19285 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19286 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19287 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19288 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19289 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19290 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19292 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19293 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19295 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19297 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19299 [defined __arch64__ || defined __sparcv9]
19300 (__OFF_T_MATCHES_OFF64_T): New macro.
19301 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19302 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19304 (__OFF_T_MATCHES_OFF64_T): New macro.
19306 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19308 * stdlib/secure-getenv.c (__secure_getenv): Replace
19309 GLIBC_2_16 with GLIBC_2_17.
19311 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19314 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19316 2012-08-03 David S. Miller <davem@davemloft.net>
19318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19320 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19324 (__ASSUME_CORRECT_SI_PID): Likewise.
19325 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19326 (__ASSUME_TMPFS_NAME): Likewise.
19327 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19328 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19329 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19330 (HAVE_AUX_SECURE): Make definition unconditional.
19331 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19332 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19334 2012-08-03 Roland McGrath <roland@hack.frob.com>
19336 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19337 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19338 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19339 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19340 __eloop_threshold instead of SYMLOOP_MAX.
19342 * sysdeps/generic/eloop-threshold.h: New file.
19343 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19345 * elf/chroot_canon.c (chroot_canon): Likewise.
19347 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19351 Change to 2.6.0 everywhere.
19352 * sysdeps/unix/sysv/linux/configure: Regenerated.
19353 * sysdeps/unix/sysv/linux/kernel-features.h
19354 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19355 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19357 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19358 (__ASSUME_FUTEX_REQUEUE): Remove.
19359 (__ASSUME_STATFS64): Define unconditionally.
19360 (__ASSUME_AT_SECURE): Likewise.
19361 (__ASSUME_CORRECT_SI_PID): Likewise.
19362 (__ASSUME_TGKILL): Define without depending on kernel version for
19364 (__ASSUME_UTIMES): Likewise.
19365 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19367 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19368 (__ASSUME_TMPFS_NAME): Likewise.
19369 * README: Update reference to Linux kernel versions.
19371 2012-08-02 Marek Polacek <polacek@redhat.com>
19374 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19375 libc_cv_asm_type_prefix with %.
19376 * configure: Regenerated.
19377 * include/libc-symbols.h: Remove comment about
19378 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19379 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19380 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19381 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19382 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19383 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19384 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19385 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19386 * elf/tst-unique2mod1.c: Likewise.
19387 * elf/tst-unique1mod2.c: Likewise.
19388 * elf/tst-unique1mod1.c: Likewise.
19389 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19390 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19391 Replace ASM_TYPE_DIRECTIVE with .type.
19392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19393 * sysdeps/i386/sysdep.h: Likewise.
19394 * sysdeps/x86_64/sysdep.h: Likewise.
19395 * sysdeps/sh/sysdep.h: Likewise.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19397 Do not define ASM_TYPE_DIRECTIVE.
19398 * sysdeps/powerpc/sysdep.h: Likewise.
19399 * sysdeps/powerpc/powerpc32/sysdep.h:
19400 Replace ASM_TYPE_DIRECTIVE with .type.
19401 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19402 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19403 * sysdeps/i386/fpu/e_powf.S: Likewise.
19404 * sysdeps/i386/fpu/e_expl.S: Likewise.
19405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19406 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19407 * sysdeps/i386/fpu/e_pow.S: Likewise.
19408 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19410 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19411 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19412 * sysdeps/i386/fpu/e_log2.S: Likewise.
19413 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19414 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19415 * sysdeps/i386/fpu/e_powl.S: Likewise.
19416 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19417 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19418 * sysdeps/i386/fpu/e_logl.S: Likewise.
19419 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19420 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19421 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19422 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19423 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19424 * sysdeps/i386/fpu/e_log.S: Likewise.
19425 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19426 * sysdeps/i386/fpu/e_logf.S: Likewise.
19427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19430 * sysdeps/i386/fpu/e_log10.S: Likewise.
19431 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19432 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19433 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19434 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19435 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19436 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19438 * sysdeps/i386/i686/strtok.S: Likewise.
19439 * sysdeps/i386/i386-mcount.S: Likewise.
19440 * sysdeps/i386/strtok.S: Likewise.
19441 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19442 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19443 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19444 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19445 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19447 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19448 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19449 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19450 * sysdeps/x86_64/_mcount.S: Likewise.
19451 * sysdeps/x86_64/strtok.S: Likewise.
19452 * sysdeps/sh/_mcount.S: Likewise.
19454 2012-08-01 Roland McGrath <roland@hack.frob.com>
19456 * libio/iofopen.c: Include <fcntl.h>.
19457 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19458 (_IO_fopen64, fopen64): Define as aliases.
19459 * libio/iofopen64.c: Include <fcntl.h>.
19460 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19461 Conditionalize body on this.
19462 * sysdeps/wordsize-64/iofopen.c: File removed.
19463 * sysdeps/wordsize-64/iofopen64.c: File removed.
19465 2012-08-01 Marek Polacek <polacek@redhat.com>
19467 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19468 Use dlfcn directly instead of a variable.
19469 (binfmt-subdir): Do not define.
19472 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19475 Remove all definitions.
19476 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19477 <kernel-features.h>.
19478 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19479 (miss_F_GETOWN_EX): Remove all definitions.
19480 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19482 [!__ASSUME_FCNTL64]: Remove conditional code.
19483 [__ASSUME_FCNTL64]: Make code unconditional.
19484 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19485 <kernel-features.h>.
19486 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19487 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19488 (lockf64) [__NR_fcntl64]: Make code unconditional.
19489 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19491 * sysdeps/unix/sysv/linux/kernel-features.h
19492 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19493 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19494 Make code unconditional.
19495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19498 [__NR_vfork]: Make code unconditional.
19499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19502 [__NR_vfork]: Make code unconditional.
19503 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19504 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19506 2012-08-01 Roland McGrath <roland@hack.frob.com>
19508 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19509 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19511 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19512 Define mkstemp64 as an alias.
19513 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19514 Define mkstemps64 as an alias.
19515 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19516 Define mkostemp64 as an alias.
19517 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19518 Define mkostemps64 as an alias.
19519 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19520 Conditionalize body on this.
19521 * misc/mkostemp64.c: Likewise.
19522 * misc/mkostemps64.c: Likewise.
19523 * misc/mkstemps64.c: Likewise.
19524 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19525 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19526 * sysdeps/wordsize-64/mkostemp.c: File removed.
19527 * sysdeps/wordsize-64/mkstemp.c: File removed.
19528 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19529 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19530 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19534 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19535 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19536 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19537 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19539 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19540 compat_symbol macros from <shlib-compat.h> rather than the underlying
19541 default_symbol_version and symbol_version macros, so that DEFAULT
19542 lines in shlib-versions are respected.
19543 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19545 2012-08-01 Florian Weimer <fweimer@redhat.com>
19547 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19548 Declare with warn_unused_result.
19549 (setgid, setregid, setegid, setresgid): Likewise.
19550 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19552 * WUR-REPORT: Remove set*id functions.
19554 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19556 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19558 2012-07-31 Roland McGrath <roland@hack.frob.com>
19561 * include/sys/socket.h (__libc_accept, __libc_accept4):
19562 Add attribute_hidden.
19563 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19565 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19567 * inet/getnetgrent_r.c (setup): Likewise.
19569 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19571 2012-07-31 David S. Miller <davem@davemloft.net>
19573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19575 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19578 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19579 value between 1.0 and 2.0 and smaller part has absolute value less
19581 * math/s_clog10.c (__clog10): Likewise.
19582 * math/s_clog10f.c (__clog10f): Likewise.
19583 * math/s_clog10l.c (__clog10l): Likewise.
19584 * math/s_clogf.c (__clogf): Likewise.
19585 * math/s_clogl.c (__clogl): Likewise.
19586 * math/libm-test.inc (clog_test): Add more tests.
19587 (clog10_test): Likewise.
19588 * sysdeps/i386/fpu/libm-test-ulps: Update.
19589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591 2012-07-31 Florian Weimer <fweimer@redhat.com>
19593 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19594 Exit with zero in case no suitable GID is found, and write a
19595 message to standard error.
19597 2012-07-30 Roland McGrath <roland@hack.frob.com>
19599 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19601 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19602 (MAXPATHLEN): Removed.
19603 (NOGROUP, NODEV): New macros.
19604 (setbit, clrbit, isset, isclr): New macros.
19605 (howmany, roundup, powerof2): New macros.
19606 (DEV_BSIZE): New macro.
19608 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19609 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19611 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19612 definition on [!__NO_LONG_DOUBLE_MATH].
19614 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19615 PTR_MANGLE and PTR_DEMANGLE.
19617 * socket/accept4.c (accept4): Rename to __libc_accept4.
19618 Define accept4 as a weak alias.
19620 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19621 on [_DIRENT_HAVE_D_TYPE].
19622 * io/ftw.c (ftw_dir): Likewise.
19624 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19626 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19628 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19629 Use the BSD numbers rather than the arbitrary ones we had.
19630 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19631 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19632 (SIGXCPU, SIGXFSZ): New macros.
19635 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19636 initializer on [_LIBC_REENTRANT].
19638 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19639 definitions inside [_POSIX_MAPPED_FILES].
19641 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19643 * dirent/opendir.c: Include <fcntl.h>.
19645 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19646 (__libc_getspecific): Likewise.
19647 (__libc_key_create): Likewise.
19649 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19650 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19651 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19652 (tmpfile64): Define as alias.
19653 * sysdeps/wordsize-64/tmpfile.c: File removed.
19654 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19655 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19656 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19658 * stdio-common/vfscanf.c: Include <stdbool.h>.
19659 * nss/makedb.c: Likewise.
19660 * stdio-common/_i18n_number.h: Likewise.
19661 * argp/argp-help.c: Likewise.
19662 * posix/wordexp.c: Likewise.
19663 * sysdeps/posix/spawni.c: Likewise.
19664 * nss/nss_files/files-initgroups.c: Likewise.
19665 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19666 * nss/nss_files/files-initgroups.c: Likewise.
19667 * nss/nss_db/db-netgrp.c: Likewise.
19668 * nss/nss_db/db-initgroups.c: Likewise.
19669 * io/fchmodat.c: Include <sys/stat.h>.
19671 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19672 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19674 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19677 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19678 Add multiple inclusion protection.
19680 2012-07-27 David S. Miller <davem@davemloft.net>
19682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19684 2012-07-27 Gary Benson <gbenson@redhat.com>
19687 * elf/rtld.c: Include <stap-probe.h>.
19688 (dl_main): Added static probes "init_start" and "init_complete".
19689 * elf/dl-load.c: Include <stap-probe.h>.
19690 (lose): Take new parameter "nsid".
19691 Added static probe "map_failed".
19692 (_dl_map_object_from_fd): Pass namespace id to lose.
19693 Added static probe "map_start".
19694 (open_verify): Pass namespace id to lose.
19695 * elf/dl-open.c: Include <stap-probe.h>.
19696 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19697 and "reloc_complete".
19698 * elf/dl-close.c: Include <stap-probe.h>.
19699 (_dl_close_worker): Added static probes "unmap_start" and
19701 * elf/rtld-debugger-interface.txt: New file documenting the above.
19703 2012-07-26 Roland McGrath <roland@hack.frob.com>
19705 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19706 rather than a string variable.
19707 * sunrpc/rpc_main.c (h_output): Likewise.
19708 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19710 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19712 * inet/check_native.c: New file.
19714 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19717 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19718 if larger part has absolute value 1.0.
19719 * math/s_clog10.c (__clog10): Likewise.
19720 * math/s_clog10f.c (__clog10f): Likewise.
19721 * math/s_clog10l.c (__clog10l): Likewise.
19722 * math/s_clogf.c (__clogf): Likewise.
19723 * math/s_clogl.c (__clogl): Likewise.
19724 * math/libm-test.inc (clog_test): Add more tests.
19725 (clog10_test): Likewise.
19726 * sysdeps/i386/fpu/libm-test-ulps: Update.
19727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19729 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19730 (pltexit): Likewise.
19731 (La_regs): Likewise.
19732 (La_retval): Likewise.
19733 (int_retval): Likewise.
19734 Update #error for removed macros to refer only to definitions in
19736 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19738 (pltexit): Likewise.
19739 (La_regs): Likewise.
19740 (La_retval): Likewise.
19741 (int_retval): Likewise.
19742 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19744 (pltexit): Likewise.
19745 (La_regs): Likewise.
19746 (La_retval): Likewise.
19747 (int_retval): Likewise.
19748 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19750 (pltexit): Likewise.
19751 (La_regs): Likewise.
19752 (La_retval): Likewise.
19753 (int_retval): Likewise.
19754 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19756 (pltexit): Likewise.
19757 (La_regs): Likewise.
19758 (La_retval): Likewise.
19759 (int_retval): Likewise.
19760 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19762 (pltexit): Likewise.
19763 (La_regs): Likewise.
19764 (La_retval): Likewise.
19765 (int_retval): Likewise.
19766 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19768 (pltexit): Likewise.
19769 (La_regs): Likewise.
19770 (La_retval): Likewise.
19771 (int_retval): Likewise.
19772 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19773 macro definitions in tst-audit.h.
19774 * sysdeps/i386/tst-audit.h: New file.
19775 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19776 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19777 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19778 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19779 * sysdeps/sh/tst-audit.h: Likewise.
19780 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19781 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19782 * sysdeps/x86_64/tst-audit.h: Likewise.
19784 2012-07-26 Andreas Jaeger <aj@suse.de>
19786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19789 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19790 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19791 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19793 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19794 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19795 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19797 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19800 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19802 (si_call_addr, si_syscall, si_arch): Define new macro.
19803 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19805 (si_call_addr, si_syscall, si_arch): Define new marcro.
19806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19808 (si_call_addr, si_syscall, si_arch): Define new macro.
19809 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19811 (si_call_addr, si_syscall, si_arch): Define new macro.
19813 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19816 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19817 Change to 2.4.21 where previously 2.4.1.
19818 * sysdeps/unix/sysv/linux/configure: Regenerated.
19819 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19820 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19821 Linux kernel version.
19822 (__ASSUME_STD_AUXV): Remove.
19823 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19825 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19826 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19827 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19828 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19829 (__ASSUME_NETLINK_SUPPORT): Likewise.
19830 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19831 (__no_netlink_support): Remove conditional definition.
19832 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19834 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19835 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19836 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19837 (if_nameindex_ioctl): Remove.
19838 (if_nameindex_netlink): Do not handle __no_netlink_support.
19839 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19841 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19842 Remove conditional code.
19843 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19845 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19847 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19848 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19849 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19851 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19852 [!__ASSUME_STD_AUXV]: Remove conditional code.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19854 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19855 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19857 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19858 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19860 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19862 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19865 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19867 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19870 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19873 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19874 code unconditional.
19875 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19877 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19879 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19882 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19884 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19887 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19888 code unconditional.
19889 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19891 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19893 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19896 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19897 code unconditional.
19898 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19900 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19902 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19905 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19907 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19908 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19909 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19910 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19911 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19912 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19913 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19914 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19915 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19916 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19917 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19918 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19919 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19920 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19921 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19922 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19923 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19924 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19925 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19927 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19928 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19929 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19931 2012-07-25 Florian Weimer <fweimer@redhat.com>
19933 * Versions.def: Add GLIBC_2.17.
19934 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19935 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19936 Introduce __libc_secure_getenv.
19937 * stdlib/Versions (2.17): Add secure_getenv
19938 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19939 * stdlib/secure-getenv.c: Rename __secure_getenv to
19940 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19941 symbol __secure_getenv for GLIBC_2.0.
19942 * stdlib/tst-secure-getenv.c: New.
19943 * stdlib/Makefile (tests): Add testcase.
19944 * manual/startup.texi (Environment Access): Document
19946 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19947 __libc_secure_getenv.
19948 * inet/ruserpass.c (ruserpass): Likewise.
19949 * malloc/mtrace.c (mtrace): Likewise.
19950 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19951 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19952 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19953 * sysdeps/posix/tempname.c: Likewise. Evaluate
19954 HAVE_SECURE_GETENV.
19955 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19956 __secure_getenv to __libc_secure_getenv.
19957 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19970 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19972 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19973 (struct La_i86_retval): Likewise.
19974 (struct La_x86_64_regs): Likewise.
19975 (struct La_x86_64_retval): Likewise.
19976 (struct La_x32_regs): Likewise.
19977 (struct La_x32_retval): Likewise.
19978 (struct La_ppc32_regs): Likewise.
19979 (struct La_ppc32_retval): Likewise.
19980 (struct La_ppc64_regs): Likewise.
19981 (struct La_ppc64_retval): Likewise.
19982 (struct La_sh_regs): Likewise.
19983 (struct La_sh_retval): Likewise.
19984 (struct La_s390_32_regs): Likewise.
19985 (struct La_s390_32_retval): Likewise.
19986 (struct La_s390_64_regs): Likewise.
19987 (struct La_s390_64_retval): Likewise.
19988 (struct La_sparc32_regs): Likewise.
19989 (struct La_sparc32_retval): Likewise.
19990 (struct La_sparc64_regs): Likewise.
19991 (struct La_sparc64_retval): Likewise.
19992 (struct audit_ifaces): Remove architecture-specific pltenter and
19994 * sysdeps/i386/ldsodefs.h: New file.
19995 * sysdeps/powerpc/ldsodefs.h: Likewise.
19996 * sysdeps/s390/ldsodefs.h: Likewise.
19997 * sysdeps/sh/ldsodefs.h: Likewise.
19998 * sysdeps/sparc/ldsodefs.h: Likewise.
19999 * sysdeps/x86_64/ldsodefs.h: Likewise.
20001 2012-07-25 Marek Polacek <polacek@redhat.com>
20004 * math/libm-test.inc (yn_test): Add another test.
20005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20006 to ERANGE when the result is +-Inf.
20007 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20008 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20009 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20010 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20012 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20014 * conform/data/time.h-data (NULL): Use macro-constant. Require
20016 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20018 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20020 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20022 * configure.in <sysdeps resolving>: Correct printing
20024 * configure: Regenerate.
20026 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20028 * math/w_ilogb.c: Include <limits.h>.
20029 * math/w_ilogbl.c: Likewise.
20031 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20033 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20034 va_copy. Document allowing for unavailable va_copy only as
20035 pre-C99 compatibility.
20036 * manual/string.texi (Copying and Concatenation): Use va_copy
20037 instead of __va_copy in concat example.
20039 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20041 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20042 (__sendto): Use create_address_port. Initialize APORT and deallocate
20045 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20046 with O_NOLINK passed to __file_name_lookup.
20048 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20049 with O_NOLINK passed to __file_name_lookup.
20051 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20052 negative N or less than NGIDS.
20054 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20055 type to string_t. Set ERANGE as errno and return it if NAME is not big
20056 enough. Use memcpy instead of strncpy.
20058 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20060 * elf/Makefile (check-data): Remove.
20061 (localplt.data): New vpath directive.
20062 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20063 instead of $(check-data).
20064 * scripts/data/localplt-generic.data: Move to ...
20065 * sysdeps/generic/localplt.data: ... here.
20066 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20067 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20068 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20071 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20074 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20077 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20080 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20083 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20087 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20089 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20090 PPC32 and PPC64 files.
20091 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20092 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20094 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20096 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20097 __makecontext_ret to ...
20098 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20099 ... here and call exit if uc_link is NULL. New file.
20100 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20101 __makecontext_ret.S.
20102 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20103 __makecontext_ret to ...
20104 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20105 ... here and call exit if uc_link is NULL. New file.
20106 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20107 __makecontext_ret.S.
20109 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20111 * elf/elf.h (R_390_IRELATIVE): New definition.
20112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20113 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20114 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20116 (elf_machine_lazy_rel): Likewise.
20117 * sysdeps/s390/dl-irel.h: New file.
20118 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20119 * sysdeps/s390/s390-64/memset.S: New asm code.
20120 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20121 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20122 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20123 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20124 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20125 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20126 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20127 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20128 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20129 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20130 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20131 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20132 * sysdeps/s390/s390-32/memset.S: New asm code.
20133 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20135 2012-07-17 Marek Polacek <polacek@redhat.com>
20138 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20139 * sysdeps/s390/s390-64/configure.in: Likewise.
20140 * sysdeps/sparc/configure.in: Likewise.
20141 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20142 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20143 * sysdeps/i386/configure.in: Likewise.
20144 * sysdeps/x86_64/configure.in: Likewise.
20145 * sysdeps/sh/configure.in: Likewise.
20146 * sysdeps/s390/s390-32/configure: Regenerated.
20147 * sysdeps/s390/s390-64/configure: Likewise.
20148 * sysdeps/x86_64/configure: Likewise.
20149 * sysdeps/sh/configure: Likewise.
20150 * sysdeps/powerpc/powerpc64/configure: Likewise.
20151 * sysdeps/powerpc/powerpc32/configure: Likewise.
20152 * sysdeps/sparc/configure: Likwise.
20153 * sysdeps/i386/configure: Likewise.
20155 * elf/dl-open.c: Comment fixes.
20157 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20159 * Makefile [CXX] (check-data): Remove.
20160 [CXX] (c++-types.data): New vpath directive.
20161 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20162 vpath. Do not allow for C++ type data being missing.
20163 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20164 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20165 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20166 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20167 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20168 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20169 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20172 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20175 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20178 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20181 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20184 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20187 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20190 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20193 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20194 definitions to architecture-specific files.
20195 (TLS_IE): Likewise.
20196 (TLS_LD): Likewise.
20197 (TLS_GD): Likewise.
20198 * sysdeps/i386/tls-macros.h: New file.
20199 * sysdeps/powerpc/tls-macros.h: Likewise.
20200 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20201 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20202 * sysdeps/sh/tls-macros.h: Likewise.
20203 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20204 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20205 * sysdeps/x86_64/tls-macros.h: Likewise.
20207 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20210 zero value for regular exit case.
20212 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20213 (__start_context): Preserve zero value for regular exit case.
20215 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20216 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20218 * manual/setjmp.texi (setcontext): Clarify normal process
20219 termination when uc_link is the null pointer.
20220 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20223 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20225 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20226 preprocessor. Test for each exception mask separately.
20228 2012-07-16 Andreas Jaeger <aj@suse.de>
20230 * po/ru.po: Update from translation team.
20232 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20234 * conform/data/string.h-data (NULL): Use macro-constant. Require
20236 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20237 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20238 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20239 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20242 2012-07-13 Andreas Jaeger <aj@suse.de>
20244 * po/fr.po: Update from translation team.
20246 2012-07-12 Marek Polacek <polacek@redhat.com>
20249 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20250 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20253 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20257 Change to 2.4.1 where previously 2.4.0.
20258 * sysdeps/unix/sysv/linux/configure: Regenerated.
20259 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20260 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20262 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20263 (__ASSUME_AT_CLKTCK): Remove.
20264 (__ASSUME_AT_PAGESIZE): Likewise.
20265 (__ASSUME_AT_XID): Likewise.
20266 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20267 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20268 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20270 (HAVE_AUX_PAGESIZE): Likewise.
20271 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20272 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20273 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20275 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20279 the temporary buffer used to invoke __gethostbyname2_r,
20280 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20281 host_data / struct gaih_addrtuple.
20282 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20283 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20284 header file nss/nsswitch.h.
20285 * nss/nsswitch.h (global scope): Add definition of implementation
20286 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20287 resolv/nss_dns/dns-host.c).
20289 2012-07-11 Andreas Jaeger <aj@suse.de>
20291 * po/fr.po: Update from translation team.
20293 * po/sv.po: Update from translation team
20294 * po/fr.po: Another update from translation team.
20296 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20299 for subnormals or multiply small sinh result by itself.
20300 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20303 2012-07-11 David S. Miller <davem@davemloft.net>
20305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20307 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20310 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20311 (INTERNAL_MARK): Shift it here.
20313 2012-07-10 Marek Polacek <polacek@redhat.com>
20316 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20317 libc_cv_asm_global_directive with .globl.
20318 * configure: Regenerated.
20319 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20321 * sysdeps/i386/configure: Regenerated.
20322 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20324 * sysdeps/x86_64/configure: Regenerated.
20325 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20326 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20327 * elf/tst-unique2mod2.c: Likewise.
20328 * elf/tst-unique2mod1.c: Likewise.
20329 * elf/tst-unique1mod2.c: Likewise.
20330 * elf/tst-unique1mod1.c: Likewise.
20331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20332 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20334 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20335 * sysdeps/mach/sysdep.h: Likewise.
20336 * sysdeps/i386/sysdep.h: Likewise.
20337 * sysdeps/i386/i386-mcount.S: Likewise.
20338 * sysdeps/x86_64/_mcount.S: Likewise.
20339 * sysdeps/x86_64/sysdep.h: Likewise.
20340 * sysdeps/sh/_mcount.S: Likewise.
20341 * sysdeps/sh/sysdep.h: Likewise.
20342 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20343 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20344 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20345 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20346 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20347 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20348 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20349 * locale/localeinfo.h: Likewise.
20350 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20351 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20353 2012-07-09 Roland McGrath <roland@hack.frob.com>
20356 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20358 * manual/message.texi (The Uniforum approach): Likewise.
20359 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20360 (glibc iconv Implementation): Likewise.
20362 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20365 * math/s_clog.c (__clog): Avoid scaling a value down where that
20366 could result in underflow.
20367 * math/s_clog10.c (__clog10): Likewise.
20368 * math/s_clog10f.c (__clog10f): Likewise.
20369 * math/s_clog10l.c (__clog10l): Likewise.
20370 * math/s_clogf.c (__clogf): Likewise.
20371 * math/s_clogl.c (__clogl): Likewise.
20372 * math/libm-test.inc (clog_test): Add more tests.
20373 (clog10_test): Likewise.
20374 * sysdeps/i386/fpu/libm-test-ulps: Update.
20375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20377 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20380 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20381 by 7 not 8 to examine high bit of fractional part.
20384 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20385 for call to __mcount_internal.
20386 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20387 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20388 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20390 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20393 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20394 approximation for values within 0x1p-13f of an odd multiple of
20396 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20397 exception. Add more tests.
20398 * sysdeps/i386/fpu/libm-test-ulps: Update.
20401 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20402 inputs and return -1 for them. Do not check for +Inf in case not
20403 reachable for +Inf.
20404 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20405 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20407 and return -1 for them. Do not check for +Inf in case not
20408 reachable for +Inf.
20409 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20412 and return -1 for them. Do not check for +Inf in case not
20413 reachable for +Inf.
20414 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20415 spurious underflow.
20416 * sysdeps/i386/fpu/libm-test-ulps: Update.
20417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20419 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20421 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20423 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20427 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20428 could result in spurious underflow. Scale down values above
20429 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20430 * math/s_csqrtf.c (__csqrtf): Likewise.
20431 * math/s_csqrtl.c (__csqrtl): Likewise.
20432 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20433 spurious underflow.
20434 * sysdeps/i386/fpu/libm-test-ulps: Update.
20435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20437 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20439 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20441 * catgets/xopen-msg.awk: New file.
20442 * catgets/xopen-msg.sed: Removed.
20444 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20446 * intl/po2test.awk: New file.
20447 * intl/po2test.sed: Removed.
20449 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20452 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20453 or multiply small sinh result by itself.
20454 * math/s_ctanf.c (__ctanf): Likewise.
20455 * math/s_ctanh.c (__ctanh): Likewise.
20456 * math/s_ctanhf.c (__ctanhf): Likewise.
20457 * math/s_ctanhl.c (__ctanhl): Likewise.
20458 * math/s_ctanl.c (__ctanl): Likewise.
20459 * math/libm-test.inc (ctan_test_tonearest): New function.
20460 (ctan_test_towardzero): Likewise.
20461 (ctan_test_downward): Likewise.
20462 (ctan_test_upward): Likewise.
20463 (ctanh_test_tonearest): Likewise.
20464 (ctanh_test_towardzero): Likewise.
20465 (ctanh_test_downward): Likewise.
20466 (ctanh_test_upward): Likewise.
20467 (main): Call these new functions.
20468 * sysdeps/i386/fpu/libm-test-ulps: Update.
20469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20471 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20473 * .gitignore: Delete /ports entry.
20475 2012-07-03 Andreas Jaeger <aj@suse.de>
20477 * po/bg.po: Update from translation team.
20478 * po/cs.po: Likewise.
20479 * po/de.po: Likewise.
20480 * po/hr.po: Likewise.
20481 * po/nl.pl: Likewise.
20482 * po/pl.po: Likewise.
20483 * po/vi.po: Likewise.
20485 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20487 * Makeconfig [!+link] (+link-before-libc): New variable.
20488 [!+link] (+link-after-libc): Likewise.
20489 [!+link] (+link-tests): Likewise.
20490 [!+link] (+link): Define in terms of $(+link-before-libc) and
20491 $(+link-after-libc).
20492 [!+link-static] (+link-static-before-libc): New variable.
20493 [!+link-static] (+link-static-after-libc): Likewise.
20494 [!+link-static] (+link-static-tests): Likewise.
20495 [!+link-static] (+link-static): Define in terms of
20496 $(+link-static-before-libc) and $(+link-static-after-libc).
20497 [build-shared] (link-libc-before-gnulib): New variable.
20498 [build-shared] (link-libc-tests): Likewise.
20499 [build-shared] (link-libc): Define in terms of
20500 $(link-libc-before-gnulib).
20501 [!build-shared] (link-libc-tests): New variable.
20502 (link-libc-static-tests): New variable.
20503 [!gnulib] (gnulib-arch): New variable.
20504 [!gnulib] (gnulib-tests): Likewise.
20505 [!gnulib] (static-gnulib-arch): Likewise.
20506 [!gnulib] (static-gnulib-tests): Likewise.
20507 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20508 Define with "=" instead of ":=".
20509 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20510 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20511 * Rules (binaries-all-notests): New variable.
20512 (binaries-all-tests): Likewise.
20513 (binaries-static-notests): Likewise.
20514 (binaries-static-tests): Likewise.
20515 (binaries-all): Define using $(binaries-all-notests) and
20516 $(binaries-all-tests).
20517 (binaries-static): Define using $(binaries-static-notests) and
20518 $(binaries-static-tests).
20519 (binaries-shared-tests): New variable.
20520 (binaries-shared-notests): Likewise.
20521 (binaries-shared): Remove variable.
20522 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20523 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20524 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20525 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20526 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20527 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20528 * elf/Makefile (sln-modules): New variable.
20529 (extra-objs): Add $(sln-modules:=.o).
20530 (ldconfig-modules): Add static-stubs.
20531 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20532 * elf/static-stubs.c: New file.
20535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20536 by 7 not 8 to examine high bit of fractional part. Use volatile
20537 variables when splitting into final array of floats if
20538 __FLT_EVAL_METHOD__ != 0.
20539 * math/libm-test.inc (cos_test): Add another test.
20540 (sin_test): Likewise.
20541 * sysdeps/i386/fpu/libm-test-ulps: Update.
20544 * math/libm-test.inc (cosh_test): Add more tests.
20546 * version.h (RELEASE): Set to "development".
20547 (VERSION): Set to "2.16.90".
20549 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20551 * NEWS: Update copyright. Remove last-updated date.
20552 Mention math library bug fixes and timezone data changes.
20553 * README: Mention GNU/Hurd, x32, and HPPA support status.
20555 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20557 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20559 2012-06-27 Andreas Jaeger <aj@suse.de>
20561 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20563 2012-06-25 Andreas Jaeger <aj@suse.de>
20565 * sysdeps/s390/fpu/libm-test-ulps: Update.
20567 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20568 Thomas Schwinge <thomas@codesourcery.com>
20570 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20571 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20575 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20577 * sysdeps/mach/start.c: Remove file.
20578 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20579 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20580 * sysdeps/sh/init-first.c: Likewise.
20582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20583 registers for frame unwinding purposes, add CFI directives.
20584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20586 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20589 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20590 __fortify_fail returning.
20591 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20593 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20594 sysdeps/sh/____longjmp_chk.S.
20595 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20596 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20597 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20598 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20600 * sysdeps/sh/abort-instr.h: New file.
20601 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20602 process in case exit returns.
20604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20605 initialize the GOT register before use.
20607 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20608 calculation of ARGC > 4.
20610 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20611 meaningful names to some local labels.
20613 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20614 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20616 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20617 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20618 (__arch_compare_and_exchange_val_16_acq): Likewise.
20619 (__arch_compare_and_exchange_val_32_acq): Likewise.
20620 (atomic_exchange_and_add): Fix gUSA sequence.
20621 (atomic_add): Likewise.
20622 (atomic_add_negative): Likewise.
20623 (atomic_add_zero): Likewise.
20624 (atomic_bit_test_set): Likewise.
20626 2012-06-22 Andreas Schwab <schwab@redhat.com>
20629 * include/link.h (struct link_map): Add l_free_initfini.
20630 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20632 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20633 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20634 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20637 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20639 * configure.in: Use AC_LANG_SOURCE.
20640 * configure: Regenerate.
20642 2012-06-22 Roland McGrath <roland@hack.frob.com>
20644 * configure.in (libc_cv_localstatedir): New substituted variable.
20645 * configure: Regenerated.
20646 * config.make.in (localstatedir): New variable, substituted from
20647 libc_cv_localstatedir.
20648 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20649 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20650 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20651 * sysdeps/gnu/configure: Regenerated.
20653 2012-06-21 Jeff Law <law@redhat.com>
20656 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20657 free. Simplify list management for _LIBC case.
20659 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20663 Clear sign bit of 64-bit integer value before comparing against
20666 * sysdeps/mach/configure: Regenerated.
20668 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20671 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20673 2012-06-21 Jeff Law <law@redhat.com>
20676 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20677 uint16_t for elements in the "seen" array to avoid char overflows.
20678 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20679 * elf/dl-open.c (dl_open_worker): Likewise.
20681 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20683 * scripts/list-sources.sh: Scan PORTS for translations.
20684 * po/libc.pot: Regenerated.
20686 2012-06-21 Andreas Jaeger <aj@suse.de>
20689 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20691 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20692 * bits/byteswap-16.h (__bswap_16): Likewise.
20693 * bits/byteswap.h (__bswap_constant_16): Likewise.
20695 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20698 * sysdeps/i386/fpu_control.h: Removed.
20699 * sysdeps/x86_64/fpu_control.h: Moved to ...
20700 * sysdeps/x86/fpu_control.h: Here.
20702 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20703 (_FPU_SETCW): Likewise.
20705 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20708 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20709 * sysdeps/x86/fpu/bits/mathinline.h: This.
20710 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20714 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20715 functions if __x86_64__ is defined.
20717 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20719 * string/endian.h: Add !__ASSEMBLER__ condition for including
20720 conversion interfaces.
20722 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20726 of ABS(x) in calculating zero to negative powers other than odd
20728 * math/libm-test.inc (pow_test): Add more tests.
20730 2012-06-15 Andreas Jaeger <aj@suse.de>
20732 * manual/contrib.texi (Contributors): Update entry of Liubov
20733 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20736 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20738 * string/string.h: Add __wur to GNU version of strerror_r.
20740 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20743 * string/Makefile (tests): Add tst-strtok_r.
20744 * string/tst-strtok_r.c: New file.
20745 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20746 RAX_LP/RDX_LP on SAVE_PTR.
20748 2012-06-14 Roland McGrath <roland@hack.frob.com>
20750 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20752 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20754 * libm_test.inc (csqrt_test): Allow more spurious underflow
20756 (j0_test): Likewise.
20757 (j1_test): Likewise.
20758 (y0_test): Likewise.
20759 (y1_test): Likewise.
20761 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20763 * po/Makefile (libc.pot): Use UTF-8 charset.
20765 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20768 Suppress sign-conversion warning from FD_SET.
20769 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20770 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20771 not unsigned long int.
20772 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20774 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20778 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20779 __extern_always_inline instead of __extern_inline.
20780 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20781 (__signbit): Likewise.
20782 (__signbitl): Support C++ namespace.
20783 (lrintf): New inline function.
20785 (llrintf): Likewise.
20786 (llrint): Likewise.
20796 (floorf): Likewise.
20797 (nearbyint): Likewise.
20798 (nearbyintf): Likewise.
20800 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20802 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20803 non-default versions.
20805 2012-06-11 Roland McGrath <roland@hack.frob.com>
20808 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20810 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20812 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20813 (FE_UPWARD, FE_DOWNWARD): Don't define.
20814 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20817 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20819 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20820 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20822 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20824 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20826 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20827 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20829 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20832 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20833 * sysdeps/i386/fpu/Implies: New file.
20834 * sysdeps/x86_64/fpu/Implies: Likewise.
20835 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20836 * sysdeps/x86/fpu/bits/fenv.h: This.
20838 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20841 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20844 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20845 character 0xffff that matches the last element of the
20848 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20853 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20856 values higher than 25.6283.
20858 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20861 subnormal exponent extraction and add some __builtin_expect.
20862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20863 Fix for subnormal mantissa calculation.
20865 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20867 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20868 cpu2 is -1 and errno is not ENOSYS.
20870 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20873 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20874 * sysdeps/x86/bits/string.h: This.
20875 * sysdeps/x86_64/bits/string.h: Removed.
20877 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20878 if not compiling for x86-64, but compiling for >= i486.
20880 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20881 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20883 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20884 New macro from Linux kernel 3.4.0.
20885 (FP_XSTATE_MAGIC2): Likewise.
20886 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20887 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20888 (struct _fpx_sw_bytes): New struct.
20889 (struct _xsave_hdr): Likewise.
20890 (struct _ymmh_state): Likewise.
20891 (struct _xstate): Likewise.
20893 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20894 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20896 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20897 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20898 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20900 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20901 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20902 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20903 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20904 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20905 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20907 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20910 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20911 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20912 (sysdep_headers): Include sys/platform/ppc.h.
20913 * sysdeps/powerpc/test-gettimebase.c: Test for
20914 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20915 * manual/Makefile (appendices): Include platform.texi.
20916 * manual/contrib.texi (Contributors): Update @node pointers.
20917 * manual/maint.texi (Maintenance): Likewise.
20918 (Platform): New node.
20919 * manual/platform.texi: New file. Document the new features.
20921 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20922 Jakub Jelinek <jakub@redhat.com>
20925 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20926 where __builtin_expect is unavailable.
20928 2012-06-03 David S. Miller <davem@davemloft.net>
20930 * stdlib/longlong.h: Updated from GCC.
20932 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20935 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20936 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20939 (GLIBC_2.16): Likewise.
20941 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20943 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20945 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20948 (default-abi): New variable.
20949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20950 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20952 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20954 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20956 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20959 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20960 definition. Document in comment.
20962 2012-06-01 David S. Miller <davem@davemloft.net>
20964 * stdlib/longlong.h: Updated from GCC.
20966 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20969 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20970 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20971 sys/debugreg.h sys/io.h here.
20972 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20973 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20975 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20976 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20977 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20978 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20979 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20980 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20982 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20983 Define only if __x86_64__ is defined.
20985 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20988 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20989 Use int64_t for variable i.
20990 * math/libm-test.inc (fmod_test): Add more tests.
20992 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20993 z computation is not scheduled after fetestexcept.
20994 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20995 Use math_force_eval instead of asm to ensure calculation scheduled
20996 before exception test.
20997 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20998 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21000 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21003 computation is not scheduled after fetestexcept.
21005 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21009 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21011 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21013 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21014 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21016 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21019 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21021 (__WCHAR_MIN): Support __WORDSIZE == 64.
21022 (__WCHAR_MAX): Likewise.
21024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21025 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21028 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21029 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21032 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21033 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21035 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21036 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21038 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21039 Defined to 1 if __x86_64__ isn't defined.
21040 (_STAT_VER_LINUX_OLD): New.
21041 (st_atime): Remove duplicate.
21042 (st_mtime): Likewise.
21043 (st_ctime): Likewise.
21045 2012-05-31 David S. Miller <davem@davemloft.net>
21047 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21050 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21052 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21056 * elf/dl-reloc.c: Include <_itoa.h>.
21057 (_dl_reloc_bad_type): Remove use of INTUSE.
21058 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21059 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21060 * stdio-common/psiginfo.c (psiginfo): Likewise.
21061 * stdio-common/psignal.c (psignal): Likewise.
21062 * string/strsignal.c (strsignal): Likewise.
21063 * include/signal.h (_sys_siglist): Declare hidden proto.
21064 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21065 INTVARDEF with libc_hidden_data_def.
21066 * stdio-common/itoa-udigits.c: Likewise.
21067 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21068 (_itoa_lower_digits_internal): Remove declaration.
21069 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21070 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21071 (_sys_sigabbrev_internal): Remove aliases.
21072 (_sys_siglist): Define hidden alias.
21074 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21079 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21082 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21083 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21085 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21086 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21087 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21088 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21090 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21092 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21093 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21094 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21096 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21106 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21108 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21109 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21110 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21111 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21112 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21113 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21115 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21116 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21118 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21119 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21121 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21123 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21125 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21126 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21128 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21130 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21131 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21132 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21134 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21136 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21138 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21140 * math/math.h (M_El): Use two more decimal places.
21141 (M_LOG2El): Likewise.
21142 (M_LOG10El): Likewise.
21143 (M_LN2l): Likewise.
21144 (M_LN10l): Likewise.
21146 (M_PI_2l): Likewise.
21147 (M_PI_4l): Likewise.
21148 (M_1_PIl): Likewise.
21149 (M_2_PIl): Likewise.
21150 (M_2_SQRTPIl): Likewise.
21151 (M_SQRT2l): Likewise.
21152 (M_SQRT1_2l): Likewise.
21154 2012-05-31 David S. Miller <davem@davemloft.net>
21156 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21157 values between float registers.
21158 * sysdeps/sparc/sparc64/memset.S: Likewise.
21159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21161 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21163 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21164 -D_FORTIFY_SOURCE=1.
21165 (CPPFLAGS-tst-longjmp_chk.c): Define.
21166 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21167 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21168 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21169 CFLAGS-tst-wchar-h.c.
21171 2012-05-31 Marek Polacek <polacek@redhat.com>
21174 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21175 __endmntent_internal): Remove declaration.
21176 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21177 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21178 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21180 2012-05-30 David S. Miller <davem@davemloft.net>
21182 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21183 (___Q_simulate_exceptions): Use real FP ops rather than writing
21185 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21188 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21191 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21192 * sysdeps/x86/bits/xtitypes.h: This.
21194 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21195 * sysdeps/x86/bits/wordsize.h: This.
21197 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21198 * sysdeps/x86/bits/huge_vall.h: This.
21200 * sysdeps/i386/bits/select.h: Removed.
21201 * sysdeps/x86_64/bits/select.h: Renamed to ...
21202 * sysdeps/x86/bits/select.h: This.
21204 * sysdeps/i386/bits/setjmp.h: Removed.
21205 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21206 * sysdeps/x86/bits/setjmp.h: This.
21208 * sysdeps/i386/bits/mathdef.h: Removed.
21209 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21210 * sysdeps/x86/bits/mathdef.h: This.
21212 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21215 * include/sys/socket.h (__connect_internal)
21216 (__libc_sa_len_internal): Remove declaration.
21217 (__connect, __libc_sa_len): Declare hidden_proto.
21218 (SA_LEN): Remove use of INTUSE.
21219 * socket/connect.c: Add libc_hidden_def.
21220 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21221 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21222 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21224 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21226 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21227 of adding _internal alias.
21229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21232 * sysdeps/i386/bits/link.h: Removed.
21233 * sysdeps/i386/bits/linkmap.h: Likewise.
21234 * sysdeps/x86_64/bits/link.h: Renamed to ...
21235 * sysdeps/x86/bits/link.h: This.
21236 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21237 * sysdeps/x86/bits/linkmap.h: This.
21239 * sysdeps/i386/bits/endian.h: Removed.
21240 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21241 * sysdeps/x86/bits/endian.h: This.
21243 * sysdeps/i386/bits/byteswap.h: Removed.
21244 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21245 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21246 * sysdeps/x86/bits/byteswap.h: This.
21247 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21248 * sysdeps/x86/bits/byteswap-16.h: This.
21249 * sysdeps/i386/Implies: Add x86.
21250 * sysdeps/x86_64/Implies: Likewise.
21252 2012-05-30 David S. Miller <davem@davemloft.net>
21254 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21255 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21256 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21257 (FP_TRAPPING_EXCEPTIONS): Define.
21258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21259 (FP_TRAPPING_EXCEPTIONS): Define.
21260 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21261 subnormals only when inexact has been signalled or underflow
21262 exceptions are enabled.
21263 (_FP_PACK_CANONICAL): Likewise.
21265 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21269 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21271 2012-05-30 Richard Henderson <rth@twiddle.net>
21273 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21274 with #ifndef NOT_IN_libc.
21276 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21277 marked to avoid plt entry.
21279 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21282 * Makeconfig (default-abi): New macro.
21283 (abi-includes): Likewise.
21284 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21285 $(abi-$(default-abi)-lib-soname) for soname if defined.
21286 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21288 * Makefile (installed-stubs): Likewise.
21289 * include/stubs-biarch.h: Removed.
21290 * scripts/lib-names.awk: Only handle one library at a time.
21291 * scripts/soversions.awk: Remove WORDSIZE support.
21292 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21294 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21296 (syscall-list-default-condition): Likewise.
21297 (syscall-list-default-condition): Likewise.
21298 (syscall-list-includes): Likewise.
21299 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21300 syscall-list-* with abi-*. Handle undefined abi-variants.
21301 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21302 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21303 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21304 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21305 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21306 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21308 (syscall-list-32-options): Likewise.
21309 (syscall-list-32-condition): Likewise.
21310 (syscall-list-64-options): Likewise.
21311 (syscall-list-64-condition): Likewise.
21312 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21314 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21317 (abi-64-ld-soname): New macro.
21318 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21319 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21322 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21323 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21325 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21327 * sysdeps/unix/sysv/linux/kernel-features.h
21328 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21329 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21330 include <kernel-features.h>.
21331 [!__NR_ftruncate64]: Remove conditional code.
21332 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21333 [__NR_ftruncate64]: Make code unconditional.
21334 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21335 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21336 include <kernel-features.h>.
21337 [!__NR_ftruncate64]: Remove conditional code.
21338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21339 [__NR_ftruncate64]: Make code unconditional.
21340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21342 include <kernel-features.h>.
21343 [!__NR_ftruncate64]: Remove conditional code.
21344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21345 [__NR_ftruncate64]: Make code unconditional.
21346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21348 include <kernel-features.h>.
21349 [!__NR_ftruncate64]: Remove conditional code.
21350 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21351 [__NR_ftruncate64]: Make code unconditional.
21352 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21354 * configure.in (libc_cv_fpie): Weaken to a compile test using
21355 LIBC_TRY_CC_OPTION.
21356 * configure: Regenerated.
21358 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21373 2012-05-27 David S. Miller <davem@davemloft.net>
21375 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21377 (__Q_simulate_exceptions): Return void. Change to simulate
21378 exceptions by writing into the %fsr.
21379 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21380 (__Qp_handle_exceptions): Likewise.
21382 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21383 __Qp_handle_exceptions.
21384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21385 __Qp_handle_exceptions.
21386 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21387 as unused and give dummy FP_RND_NEAREST initializer.
21388 (FP_INHIBIT_RESULTS): Define.
21389 (___Q_simulate_exceptions): Update declaration.
21390 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21392 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21393 as unused and give dummy FP_RND_NEAREST initializer.
21394 (__Qp_handle_exceptions): Update declaration.
21395 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21398 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21400 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21401 the temporary FPU control word.
21402 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21403 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21404 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21405 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21406 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21407 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21408 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21409 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21410 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21411 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21412 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21414 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21416 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21419 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21421 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21422 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21423 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21424 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21426 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21427 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21430 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21432 * po/h.po: Update from translation team.
21434 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21436 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21438 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21439 handling of denormals.
21440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21441 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21442 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21449 2012-05-26 Marek Polacek <polacek@redhat.com>
21452 * math/libm-test.inc (fma_test): Don't always expect underflow
21455 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21458 * elf/tst-execstack.c: Include stackinfo.h.
21459 (do_test): Adjust test case to ensure that pthread_getattr_np
21460 behaviour remains the same after marking stack executable.
21462 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21464 * sysdeps/unix/sysv/linux/kernel-features.h
21465 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21466 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21468 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21469 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21470 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21472 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21473 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21475 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21477 * configure.in: Define the default includes to being none.
21478 * configure: Regenerated.
21480 2012-05-25 Roland McGrath <roland@hack.frob.com>
21482 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21483 * sysdeps/x86_64/setjmp.S: Likewise.
21484 * sysdeps/i386/bsd-setjmp.S: Likewise.
21485 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21486 * sysdeps/i386/setjmp.S: Likewise.
21487 * sysdeps/i386/__longjmp.S: Likewise.
21488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21489 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21491 * include/stap-probe.h: New file.
21492 * configure.in: Handle --enable-systemtap.
21493 * configure: Regenerated.
21494 * config.h.in (USE_STAP_PROBE): New #undef.
21495 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21496 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21497 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21499 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21503 to 2.4.0 where earlier.
21504 * sysdeps/unix/sysv/linux/configure: Regenerated.
21505 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21506 <kernel-features.h>.
21507 [__ASSUME_32BITUIDS]: Make code unconditional.
21508 [!__ASSUME_32BITUIDS]: Remove conditional code.
21509 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21510 <kernel-features.h>.
21511 [__ASSUME_32BITUIDS]: Make code unconditional.
21512 [!__ASSUME_32BITUIDS]: Remove conditional code.
21513 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21514 [__ASSUME_32BITUIDS]: Make code unconditional.
21515 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21516 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21517 <kernel-features.h>.
21518 [__ASSUME_32BITUIDS]: Make code unconditional.
21519 [!__ASSUME_32BITUIDS]: Remove conditional code.
21520 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21521 <kernel-features.h>.
21522 [__ASSUME_32BITUIDS]: Make code unconditional.
21523 [!__ASSUME_32BITUIDS]: Remove conditional code.
21524 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21525 <kernel-features.h>.
21526 [__ASSUME_32BITUIDS]: Make code unconditional.
21527 [!__ASSUME_32BITUIDS]: Remove conditional code.
21528 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21529 <kernel-features.h>.
21530 [__ASSUME_32BITUIDS]: Make code unconditional.
21531 [!__ASSUME_32BITUIDS]: Remove conditional code.
21532 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21533 <kernel-features.h>.
21534 [__ASSUME_32BITUIDS]: Make code unconditional.
21535 [!__ASSUME_32BITUIDS]: Remove conditional code.
21536 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21537 <kernel-features.h>.
21538 [__ASSUME_32BITUIDS]: Make code unconditional.
21539 [!__ASSUME_32BITUIDS]: Remove conditional code.
21540 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21541 <kernel-features.h>.
21542 [__ASSUME_32BITUIDS]: Make code unconditional.
21543 [!__ASSUME_32BITUIDS]: Remove conditional code.
21544 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21545 <kernel-features.h>.
21546 [__ASSUME_32BITUIDS]: Make code unconditional.
21547 [!__ASSUME_32BITUIDS]: Remove conditional code.
21548 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21549 <kernel-features.h>.
21550 [__ASSUME_32BITUIDS]: Make code unconditional.
21551 [!__ASSUME_32BITUIDS]: Remove conditional code.
21552 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21553 <kernel-features.h>.
21554 [__ASSUME_32BITUIDS]: Make code unconditional.
21555 [!__ASSUME_32BITUIDS]: Remove conditional code.
21556 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21557 <kernel-features.h>.
21558 [__NR_setresgid] (__setresgid): Do not declare.
21559 [__ASSUME_32BITUIDS]: Make code unconditional.
21560 [!__ASSUME_32BITUIDS]: Remove conditional code.
21561 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21562 <kernel-features.h>.
21563 [__NR_setresuid] (__setresuid): Do not declare.
21564 [__ASSUME_32BITUIDS]: Make code unconditional.
21565 [!__ASSUME_32BITUIDS]: Remove conditional code.
21566 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21567 <kernel-features.h>.
21568 [__ASSUME_32BITUIDS]: Make code unconditional.
21569 [!__ASSUME_32BITUIDS]: Remove conditional code.
21570 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21571 <kernel-features.h>.
21572 [__ASSUME_32BITUIDS]: Make code unconditional.
21573 [!__ASSUME_32BITUIDS]: Remove conditional code.
21574 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21575 <kernel-features.h>.
21576 [__ASSUME_32BITUIDS]: Make code unconditional.
21577 [!__ASSUME_32BITUIDS]: Remove conditional code.
21578 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21579 <kernel-features.h>.
21580 [__ASSUME_32BITUIDS]: Make code unconditional.
21581 [!__ASSUME_32BITUIDS]: Remove conditional code.
21582 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21583 <kernel-features.h>.
21584 [__ASSUME_32BITUIDS]: Make code unconditional.
21585 [!__ASSUME_32BITUIDS]: Remove conditional code.
21586 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21587 <kernel-features.h>.
21588 [__ASSUME_32BITUIDS]: Make code unconditional.
21589 [!__ASSUME_32BITUIDS]: Remove conditional code.
21590 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21591 <kernel-features.h>.
21592 [__ASSUME_32BITUIDS]: Make code unconditional.
21593 [!__ASSUME_32BITUIDS]: Remove conditional code.
21594 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21595 <kernel-features.h>.
21596 [__ASSUME_32BITUIDS]: Make code unconditional.
21597 [!__ASSUME_32BITUIDS]: Remove conditional code.
21598 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21599 <kernel-features.h>.
21600 [__ASSUME_32BITUIDS]: Make code unconditional.
21601 [!__ASSUME_32BITUIDS]: Remove conditional code.
21602 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21603 <kernel-features.h>.
21604 [__ASSUME_32BITUIDS]: Make code unconditional.
21605 [!__ASSUME_32BITUIDS]: Remove conditional code.
21606 * sysdeps/unix/sysv/linux/kernel-features.h
21607 (__ASSUME_SETRESUID_SYSCALL): Remove.
21608 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21609 (__ASSUME_32BITUIDS): Likewise.
21610 (__ASSUME_LDT_WORKS): Likewise.
21611 (__ASSUME_O_DIRECTORY): Likewise.
21612 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21613 architecture but not kernel version.
21614 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21615 (__ASSUME_MMAP2_SYSCALL): Likewise.
21616 (__ASSUME_STAT64_SYSCALL): Likewise.
21617 (__ASSUME_IPC64): Likewise.
21618 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21619 <kernel-features.h>.
21620 [__ASSUME_32BITUIDS]: Make code unconditional.
21621 [!__ASSUME_32BITUIDS]: Remove conditional code.
21622 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21623 <kernel-features.h>.
21624 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21625 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21626 132096]: Remove conditional code.
21627 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21629 <kernel-features.h>.
21630 [__ASSUME_32BITUIDS]: Make code unconditional.
21631 [!__ASSUME_32BITUIDS]: Remove conditional code.
21632 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21633 <kernel-features.h>.
21634 [__ASSUME_32BITUIDS]: Make code unconditional.
21635 [!__ASSUME_32BITUIDS]: Remove conditional code.
21636 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21637 <kernel-features.h>.
21638 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21640 (__setresgid): Do not declare.
21641 [__ASSUME_32BITUIDS]: Make code unconditional.
21642 [!__ASSUME_32BITUIDS]: Remove conditional code.
21643 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21644 <kernel-features.h>.
21645 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21647 (__setresuid): Do not declare.
21648 [__ASSUME_32BITUIDS]: Make code unconditional.
21649 [!__ASSUME_32BITUIDS]: Remove conditional code.
21650 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21651 <kernel-features.h>.
21652 [__ASSUME_32BITUIDS]: Make code unconditional.
21653 [!__ASSUME_32BITUIDS]: Remove conditional code.
21654 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21655 <kernel-features.h>.
21656 [__ASSUME_32BITUIDS]: Make code unconditional.
21657 [!__ASSUME_32BITUIDS]: Remove conditional code.
21659 2012-05-25 Richard Henderson <rth@twiddle.net>
21661 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21662 dl_hwcap to ifunc resolver.
21663 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21665 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21666 dl_hwcap to ifunc resolver.
21667 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21669 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21672 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21673 for |x| <= 2**-26, not 2**-57.
21674 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21677 2012-05-24 Jeff Law <law@redhat.com>
21679 * stdio-common/Makefile (tests): Add bug25.
21680 * stdio-common/bug25.c: New test.
21682 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21685 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21686 multiple of MALLOC_ALIGNMENT in size.
21687 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21689 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21691 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21693 (FILENAME_MAX): Use macro-int-constant.
21694 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21695 (_IOFBF): Use macro-int-constant.
21696 (_IOLBF): Likewise.
21697 (_IONBF): Likewise.
21698 (SEEK_CUR): Likewise.
21699 (SEEK_END): Likewise.
21700 (SEEK_SET): Likewise.
21701 (TMP_MAX): Likewise.
21702 (EOF): Use macro-int-constant. Require < 0.
21703 (NULL): Use macro-constant. Require == 0.
21704 (stdin): Require type to be FILE *.
21705 (stdout): Likewise.
21706 (stderr): Likewise.
21707 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21708 macro-int-constant.
21709 (EXIT_SUCCESS): Likewise.
21710 (NULL): Use macro-constant. Require == 0.
21711 (RAND_MAX): Use macro-int-constant.
21712 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21713 [C99-based standards] (strtof): Require function.
21714 [C99-based standards] (strtold): Likewise.
21715 [C99-based standards] (strtoll): Likewise.
21716 [C99-based standards] (strtoull): Likewise.
21717 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21718 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21719 [ISO || ISO99 || ISO11] (math.h): Likewise.
21720 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21721 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21724 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21727 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21728 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21729 * intl/dgettext.c (DCGETTEXT): Likewise.
21730 * intl/gettext.c (DCGETTEXT): Likewise.
21731 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21732 * posix/regex_internal.h (gettext): Likewise.
21733 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21734 Remove declaration.
21735 * include/argz.h (__argz_count_internal)
21736 (__argz_stringify_internal): Remove declaration.
21737 (__argz_count, __argz_stringify): Declare hidden proto.
21738 * intl/dcgettext.c: Remove use of INTDEF.
21739 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21740 * string/argz-stringify.c: Likewise.
21741 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21742 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21743 Declare hidden proto.
21744 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21745 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21746 Declare hidden proto.
21747 * include/stdio.h (__asprintf_internal): Don't declare.
21748 (__asprintf): Don't define as macro. Declare hidden proto.
21749 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21750 (__fsetlocking): Declare hidden proto.
21751 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21752 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21754 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21755 (_IO_setlinebuf): Remove use of INTUSE.
21756 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21757 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21758 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21759 Remove declaration.
21760 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21761 (_IO_do_flush): Remove use of INTUSE.
21762 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21763 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21764 (_IO_adjust_column, _IO_least_wmarker)
21765 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21766 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21767 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21768 (_IO_default_doallocate, _IO_wdefault_doallocate)
21769 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21770 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21771 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21772 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21773 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21774 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21775 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21776 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21777 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21778 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21779 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21780 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21781 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21783 (_IO_flush_all_internal, _IO_adjust_column_internal)
21784 (_IO_default_uflow_internal, _IO_default_finish_internal)
21785 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21786 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21787 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21788 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21789 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21790 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21791 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21792 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21793 (_IO_file_close_internal, _IO_file_close_it_internal)
21794 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21795 (_IO_file_init_internal, _IO_file_attach_internal)
21796 (_IO_file_fopen_internal, _IO_file_read_internal)
21797 (_IO_file_sync_internal, _IO_file_seek_internal)
21798 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21799 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21800 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21801 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21802 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21803 (_IO_list_all_internal, _IO_link_in_internal)
21804 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21805 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21806 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21807 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21808 (_IO_do_write_internal, _IO_padn_internal)
21809 (_IO_getline_info_internal, _IO_getline_internal)
21810 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21811 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21812 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21813 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21814 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21815 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21816 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21817 with libc_hidden_ver, remove use of INTUSE.
21818 * libio/genops.c: Likewise.
21819 * libio/freopen.c: Likewise.
21820 * libio/freopen64.c: Likewise.
21821 * libio/iofclose.c: Likewise.
21822 * libio/iofdopen.c: Likewise.
21823 * libio/iofflush.c: Likewise.
21824 * libio/iofflush_u.c: Likewise.
21825 * libio/iofgets.c: Likewise.
21826 * libio/iofgets_u.c: Likewise.
21827 * libio/iofopen.c: Likewise.
21828 * libio/iofopncook.c: Likewise.
21829 * libio/iofread.c: Likewise.
21830 * libio/iofread_u.c: Likewise.
21831 * libio/ioftell.c: Likewise.
21832 * libio/iofwrite.c: Likewise.
21833 * libio/iogetline.c: Likewise.
21834 * libio/iogets.c: Likewise.
21835 * libio/iogetwline.c: Likewise.
21836 * libio/iopadn.c: Likewise.
21837 * libio/iopopen.c: Likewise.
21838 * libio/ioseekoff.c: Likewise.
21839 * libio/ioseekpos.c: Likewise.
21840 * libio/iosetbuffer.c: Likewise.
21841 * libio/iosetvbuf.c: Likewise.
21842 * libio/ioungetc.c: Likewise.
21843 * libio/ioungetwc.c: Likewise.
21844 * libio/iovdprintf.c: Likewise.
21845 * libio/iovsprintf.c: Likewise.
21846 * libio/iovsscanf.c: Likewise.
21847 * libio/memstream.c: Likewise.
21848 * libio/obprintf.c: Likewise.
21849 * libio/oldfileops.c: Likewise.
21850 * libio/oldiofclose.c: Likewise.
21851 * libio/oldiofdopen.c: Likewise.
21852 * libio/oldiofopen.c: Likewise.
21853 * libio/oldiopopen.c: Likewise.
21854 * libio/oldstdfiles.c: Likewise.
21855 * libio/putc.c: Likewise.
21856 * libio/setbuf.c: Likewise.
21857 * libio/setlinebuf.c: Likewise.
21858 * libio/stdfiles.c: Likewise.
21859 * libio/strops.c: Likewise.
21860 * libio/vasprintf.c: Likewise.
21861 * libio/vscanf.c: Likewise.
21862 * libio/vsnprintf.c: Likewise.
21863 * libio/vswprintf.c: Likewise.
21864 * libio/wfiledoalloc.c: Likewise.
21865 * libio/wfileops.c: Likewise.
21866 * libio/wgenops.c: Likewise.
21867 * libio/wmemstream.c: Likewise.
21868 * libio/wstrops.c: Likewise.
21869 * libio/__fpurge.c: Likewise.
21870 * libio/__fsetlocking.c: Likewise.
21871 * assert/assert.c: Likewise.
21872 * debug/fgets_chk.c: Likewise.
21873 * debug/fgets_u_chk.c: Likewise.
21874 * debug/fread_chk.c: Likewise.
21875 * debug/fread_u_chk.c: Likewise.
21876 * debug/gets_chk.c: Likewise.
21877 * debug/obprintf_chk.c: Likewise.
21878 * debug/vasprintf_chk.c: Likewise.
21879 * debug/vdprintf_chk.c: Likewise.
21880 * debug/vsnprintf_chk.c: Likewise.
21881 * debug/vsprintf_chk.c: Likewise.
21882 * malloc/mtrace.c: Likewise.
21883 * misc/error.c: Likewise.
21884 * misc/syslog.c: Likewise.
21885 * stdio-common/asprintf.c: Likewise.
21886 * stdio-common/fxprintf.c: Likewise.
21887 * stdio-common/getw.c: Likewise.
21888 * stdio-common/isoc99_fscanf.c: Likewise.
21889 * stdio-common/isoc99_scanf.c: Likewise.
21890 * stdio-common/isoc99_vfscanf.c: Likewise.
21891 * stdio-common/isoc99_vscanf.c: Likewise.
21892 * stdio-common/isoc99_vsscanf.c: Likewise.
21893 * stdio-common/printf-prs.c: Likewise.
21894 * stdio-common/printf_fp.c: Likewise.
21895 * stdio-common/printf_fphex.c: Likewise.
21896 * stdio-common/printf_size.c: Likewise.
21897 * stdio-common/putw.c: Likewise.
21898 * stdio-common/scanf.c: Likewise.
21899 * stdio-common/sprintf.c: Likewise.
21900 * stdio-common/tmpfile.c: Likewise.
21901 * stdio-common/vfprintf.c: Likewise.
21902 * stdio-common/vfscanf.c: Likewise.
21903 * stdlib/strfmon_l.c: Likewise.
21904 * sunrpc/openchild.c: Likewise.
21905 * sunrpc/xdr_stdio.c: Likewise.
21906 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21907 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21909 2012-05-24 Roland McGrath <roland@hack.frob.com>
21911 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21913 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21914 in the third column, to generate for the shared library an IFUNC
21915 that uses _dl_vdso_vsym.
21916 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21917 * Makeconfig (object-suffixes-noshared): New variable.
21919 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21920 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21921 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21922 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21925 * include/sys/time.h (__gettimeofday): Remove macro.
21926 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21927 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21929 (__gettimeofday): Add libc_hidden_def.
21930 (gettimeofday): Add libc_hidden_weak.
21931 * sysdeps/mach/gettimeofday.c: Likewise.
21932 * sysdeps/posix/gettimeofday.c: Likewise.
21933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21934 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21936 (__gettimeofday_internal): Remove strong_alias.
21937 (__gettimeofday): Add libc_hidden_def.
21938 (gettimeofday): Add libc_hidden_weak.
21939 * sysdeps/unix/syscalls.list (gettimeofday):
21940 Remove __gettimeofday_internal alias.
21942 2012-05-24 Daniel Jacobowitz <drow@false.org>
21943 H.J. Lu <hongjiu.lu@intel.com>
21946 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21947 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21948 (largebin_index_32_big): New.
21949 (largebin_index): Use it for 16-byte alignment.
21950 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21951 correction with front_misalign.
21953 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21981 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21982 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21984 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21988 * math/libm-test.inc (exp_test): Add test from bug 14036.
21989 (pow_test): Add test from bug 10846.
21991 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21993 (special_function): Do not include flags in test name.
21994 (parse_args): Likewise.
21995 * sysdeps/i386/fpu/libm-test-ulps: Update.
21996 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21997 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21998 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22001 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22003 * math/libm-test.inc ("Philosophy"): Update comment about
22005 (UNDERFLOW_EXCEPTION): New macro.
22006 (UNDERFLOW_EXCEPTION_OK): Likewise.
22007 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22008 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22009 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22010 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22011 (INVALID_EXCEPTION_OK): Update value.
22012 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22013 (OVERFLOW_EXCEPTION_OK): Likewise.
22014 (IGNORE_ZERO_INF_SIGN): Likewise.
22015 (test_exceptions): Handle underflow exceptions.
22016 (acos_test): Update for underflow exception expectations.
22017 (cexp_test): Likewise.
22018 (clog_test): Likewise.
22019 (clog10_test): Likewise.
22020 (csqrt_test): Likewise.
22021 (ctan_test): Likewise.
22022 (ctanh_test): Likewise.
22023 (exp_test): Likewise.
22024 (exp10_test): Likewise.
22025 (exp2_test): Likewise.
22026 (expm1_test): Likewise.
22027 (fma_test): Likewise.
22028 (j0_test): Likewise.
22029 (jn_test): Likewise.
22030 (nexttoward_test): Likewise.
22031 (pow_test): Likewise.
22032 (scalbn_test): Likewise.
22033 (scalbln_test): Likewise.
22034 (tan_test): Likewise.
22035 (y1_test): Likewise.
22036 * sysdeps/i386/fpu/libm-test-ulps: Update.
22037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22039 2012-05-23 David S. Miller <davem@davemloft.net>
22041 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22042 (__libc_sigaction): Remove unused local variables.
22044 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22046 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22048 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22050 mktime: avoid signed integer overflow
22051 * time/mktime.c (__mktime_internal): Do not mishandle the case
22052 where diff == INT_MIN.
22054 mktime: simplify computation of average
22055 * time/mktime.c (ranged_convert): Use new time_t_avg function
22056 instead of rolling our own (probably-slower) code.
22058 mktime: do not assume signed right shift propagates sign bit
22059 * time/mktime.c (isdst_differ): New static function.
22060 (__mktime_internal): No need to normalize tm_isdst now.
22061 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22064 mktime: merge another wrapv change from gnulib
22065 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22066 from some compilers.
22068 mktime: remove incorrect attempt at unusual arithmetics
22069 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22070 The code didn't really work on such machines anyway.
22071 (TYPE_MINIMUM): Assume two's complement.
22072 (twos_complement_arithmetic): Verify that long_int and time_t
22073 are two's complement (or unsigned, in the latter case).
22075 mktime: check signed shifts on long_int and time_t, too
22076 * time/mktime.c (SHR): Check that shifts work as desired
22077 on the types long_int and time_t too, as SHR is used on
22080 mktime: do not assume 'long' is wide enough
22081 * time/mktime.c (verify): Move decl up.
22082 (long_int): New type.
22083 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22084 to remove assumption in the code that 'long' is wide enough to
22085 store year values. This assumption is not true on x32 and on
22086 some non-glibc platforms.
22088 mktime: merge wrapv change from gnulib
22089 * time/mktime.c (WRAPV): New macro.
22090 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22091 (guess_time_tm, __mktime_internal): Do not assume that signed
22092 integer overflow wraps around; modern compilers generate code
22093 where this assumption is no longer valid.
22095 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22097 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22098 Replace "jmp L(pseudo_end)" with "ret".
22099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22102 2012-05-23 Andreas Jaeger <aj@suse.de>
22104 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22105 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22107 2012-05-23 Andreas Jaeger <aj@suse.de>
22108 Maximilian Attems <max@stro.at>
22110 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22113 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22116 code so that pseudo_end is just ret and the stack pointer is
22117 correct also for static library in error case.
22119 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22121 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22122 move to syscalls.list.
22123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22128 * manual/install.texi (Running make install): Do not mention Linux
22129 kernel version for which pt_chown is not needed.
22130 (Linux): Do not mention problems with nscd with 2.0 kernels.
22131 * INSTALL: Regenerated.
22133 2012-05-23 Andreas Jaeger <aj@suse.de>
22135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22136 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22138 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22140 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22142 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22144 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22146 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22148 * sysdeps/unix/sysv/linux/bits/in.h
22149 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22151 2012-05-22 Roland McGrath <roland@hack.frob.com>
22153 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22154 (PREPARE_VERSION): Just use assert instead, it will be elided
22155 under [NDEBUG] anyway.
22157 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22159 * sysdeps/unix/sysv/linux/Makefile: Include
22160 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22161 (sysdep_routines): Remove sysctl.
22162 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22163 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22164 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22165 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22166 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22168 2012-05-22 Andreas Jaeger <aj@suse.de>
22170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22171 that pseudo_end is just ret and the stack pointer is correct also
22172 for static library in error case.
22174 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22177 * nss/nsswitch.c (defconfig_entries): New variable.
22178 (__nss_database_lookup): Don't leak defconfig entries.
22179 (nss_parse_service_list): Don't leak on error paths.
22180 (free_database_entries): New function.
22181 (free_defconfig): New function.
22182 (free_mem): Move common code to free_database_entries.
22184 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22186 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22188 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22190 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22191 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22194 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22195 (INTERNAL_SYSCALL_TYPES): Likewise.
22196 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22197 (LOAD_REGS_TYPES_[1-6]): Likewise.
22198 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22199 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22201 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22204 copysignl for GLIBC_2_0.
22205 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22206 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22208 logbl for GLIBC_2_0.
22209 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22210 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22212 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22215 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22217 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22220 * time/mktime.c: Update copyright years.
22222 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22224 mktime: merge comment-quoting-style change from gnulib
22225 * time/mktime.c: Quote 'like this' in comments.
22226 The GNU coding standards suggest that we no longer quote `like this',
22227 as "`" and "'" are typically rendered asymmetrically nowadays.
22228 The typical gnulib style is to quote 'like this' when quoting
22229 code, and "like this" when quoting English.
22231 * time/mktime.c (compile-command): Add "-I.".
22233 mktime: merge mktime-internal.h change from gnulib
22234 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22236 mktime: merge time_r change from gnulib
22237 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22239 mktime: merge DEBUG change from gnulib
22240 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22241 case system <time.h> has a #define.
22243 mktime: merge <sys/types.h> change from gnulib
22244 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22245 since <time.t> is now guaranteed to define time_t.
22247 mktime: merge HAVE_CONFIG_H change from gnulib
22248 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22250 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22255 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22257 (struct rusage): Use anonymous union to pad each field to
22260 2012-05-21 David S. Miller <davem@davemloft.net>
22262 * Makefules (o-iterator): Remove .s cases.
22263 (compile-command.s): Delete.
22264 (COMPILE.s): Delete.
22265 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22267 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22269 * configure.in (libc_cv_predef_stack_protector): Only consider
22270 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22271 * configure: Regenerated.
22273 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22276 New macro. Use R*LP on int and pointer.
22277 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22278 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22279 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22280 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22282 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22283 [__WORDSIZE_TIME64_COMPAT32] instead of
22284 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22285 (struct utmp): Likewise.
22286 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22287 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22289 (__WORDSIZE_TIME64_COMPAT32): This.
22290 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22291 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22292 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22293 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22294 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22295 (__WORDSIZE_TIME64_COMPAT32): New macro.
22297 2012-05-21 Andreas Jaeger <aj@suse.de>
22299 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22300 only if [SHARED]. Add prototype for __wcschr_ia32.
22302 2012-05-21 Roland McGrath <roland@hack.frob.com>
22304 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22305 of %rbp unmolested in the jmp_buf while mangling the low bits.
22306 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22307 unmolested high bits of %rbp while demangling the low bits.
22308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22310 2012-05-21 Andreas Jaeger <aj@suse.de>
22312 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22313 * sunrpc/svc_simple.c: Use it for registerrpc.
22314 * sunrpc/xcrypt.c: Use it for passwd2des.
22316 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22318 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22320 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22321 Don't define if [__SYSCALL_WORDSIZE != 32].
22322 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22325 2012-05-21 Bruno Haible <bruno@clisp.org>
22326 Andreas Jaeger <aj@suse.de>
22328 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22329 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22330 inptr and inend for must_buffer_ch.
22331 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22332 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22333 * stdio-common/Makefile (tests): Remove bug15.
22334 (bug15-ENV): Remove macro.
22335 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22338 2012-05-19 Andreas Jaeger <aj@suse.de>
22339 Roland McGrath <roland@hack.frob.com>
22341 * manual/contrib.texi: Completely rewritten. It contains now an
22342 alphabetical list of contributors and their contributions.
22344 2012-05-21 Richard Henderson <rth@twiddle.net>
22346 * misc/getauxval.c (__getauxval): Use unsigned long int.
22347 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22348 (getauxval): Use unsigned long int.
22350 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22352 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22354 2012-05-21 Roland McGrath <roland@hack.frob.com>
22356 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22357 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22358 __alignof__ (long double).
22360 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22364 2012-05-20 Richard Henderson <rth@twiddle.net>
22366 * misc/getauxval.c: New file.
22367 * misc/sys/auxv.h: New file.
22368 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22369 (routines): Add getauxval.
22370 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22372 * elf/dl-sysdep.c (_dl_auxv): Remove.
22373 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22374 * elf/dl-support.c (_dl_auxv): New variable.
22375 (_dl_aux_init): Initialize it.
22376 * manual/startup.texi (Auxiliary Vector): New node.
22377 * sysdeps/generic/bits/hwcap.h: New file.
22378 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22379 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22380 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22381 * sysdeps/sparc/sysdep.h: ... here. Include it.
22382 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22395 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22399 2012-05-19 David S. Miller <davem@davemloft.net>
22401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22403 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22406 * math/s_ccosh.c: Include <float.h>
22407 (__ccosh): Avoid internal overflow calculating sinh and cosh
22408 values before multiplying by sin and cos values.
22409 * math/s_ccoshf.c: Likewise.
22410 * math/s_ccoshl.c: Likewise.
22411 * math/s_csin.c: Likewise.
22412 * math/s_csinf.c: Likewise.
22413 * math/s_csinl.c: Likewise.
22414 * math/s_csinh.c: Likewise.
22415 * math/s_csinhf.c: Likewise.
22416 * math/s_csinhl.c: Likewise.
22417 * math/libm-test.inc (ccos_test): Add more tests.
22418 (ccosh_test): Likewise.
22419 (csin_test): Likewise.
22420 (csinh_test): Likewise.
22421 * sysdeps/i386/fpu/libm-test-ulps: Update.
22422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22424 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22426 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22427 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22429 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22431 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22433 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22434 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22435 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22436 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22437 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22438 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22439 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22440 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22441 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22442 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22443 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22444 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22445 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22446 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22447 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22448 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22449 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22450 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22451 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22452 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22453 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22454 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22455 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22456 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22457 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22458 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22459 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22460 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22461 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22462 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22463 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22465 2012-05-18 Andreas Jaeger <aj@suse.de>
22467 * csu/.gitignore: Delete.
22469 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22471 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22472 (timex): Use __syscall_slong_t.
22474 2012-05-18 Andreas Jaeger <aj@suse.de>
22475 Carlos O'Donell <carlos_odonell@mentor.com>
22477 * manual/install.texi (Configuring and compiling): Update
22478 description about files modified in the source directory.
22479 * INSTALL: Regenerated.
22481 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22483 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22484 value. Use "or" to set return value to -1.
22485 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22486 negate return value.
22488 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22490 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22491 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22492 failure if the compiler has Graphite support disabled.
22493 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22495 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22496 CFLAGS-memmove.c): Likewise.
22497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22500 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22502 * sysdeps/x86_64/x32/_itoa.h: New file.
22504 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22505 getdents system call only if kernel and user dirents have the
22506 same d_ino and d_off.
22508 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22509 LLONG_MAX != LONG_MAX.
22510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22511 (_fitoa_word): Likewise.
22513 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22515 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22516 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22517 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22519 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22520 include <bits/wordsize.h>. Check __x86_64__ instead of
22522 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22523 if __x86_64__ is defined. Use anonymous union on fpstate.
22525 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22528 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22530 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22531 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22532 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22533 Refer to _rtld_local_ro instead of _rtld_global_ro.
22534 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22536 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22538 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22540 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22541 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22542 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22544 * sysdeps/powerpc/powerpc32/dl-machine.c
22545 (__elf_machine_runtime_setup) [PROF]: Don't reference
22548 2012-05-18 Andreas Jaeger <aj@suse.de>
22550 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22551 function only available for GCCs before 3.4 since GCC 3.4
22552 introduced a builtin.
22554 (llrintf): Likewise.
22555 (llrint): Likewise.
22562 (nearbyint): Likewise.
22563 (nearbyintf): Likewise.
22567 (floorf): Likewise.
22569 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22571 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22572 on both fields and cast pointer to __syscall_ulong_t.
22574 * bits/types.h (__fsword_t): New type.
22575 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22576 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22578 (__FSWORD_T_TYPE): Likewise.
22579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22580 (__FSWORD_T_TYPE): Likewise.
22581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22582 (__FSWORD_T_TYPE): Likewise.
22583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22584 (__FSWORD_T_TYPE): Likewise.
22585 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22586 __SWORD_TYPE with __fsword_t.
22587 (statfs64): Likewise.
22589 2012-05-17 David S. Miller <davem@davemloft.net>
22591 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22593 2012-05-17 Andreas Jaeger <aj@suse.de>
22595 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22598 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22600 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22602 2012-05-17 Andreas Jaeger <aj@suse.de>
22604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22607 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22609 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22611 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22613 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22614 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22616 2012-05-17 Andreas Jaeger <aj@suse.de>
22617 Carlos O'Donell <carlos_odonell@mentor.com>
22620 * sysdeps/x86_64/multiarch/init-arch.h
22621 (bit_YMM_Usable): Rename to...
22622 (bit_AVX_Usable): ... this.
22623 (bit_FMA4_Usable): New macro.
22624 (bit_XMM_state): New macro.
22625 (bit_YMM_state): New macro.
22626 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22627 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22628 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22629 (CPUID_OSXSAVE): New macro.
22630 (CPUID_AVX): New macro.
22631 (CPUID_FMA4): New macro.
22632 (index_YMM_Usable): Rename to...
22633 (index_AVX_Usable): ... this.
22634 (HAS_AVX): Use HAS_ARCH_FEATURE.
22635 (HAS_FMA4): Likewise.
22636 (HAS_YMM_USABLE): Remove.
22637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22638 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22640 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22641 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22642 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22643 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22644 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22646 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22648 * math/libm-test.c: Support platforms without multiple rounding modes.
22649 * math/bug-nextafter.c: Support platforms without FP exceptions.
22650 * math/bug-nexttoward.c: Likewise.
22651 * math/test-fenv.c: Likewise.
22652 * math/test-misc.c: Likewise.
22653 * stdlib/bug-getcontext.c: Likewise.
22655 2012-05-17 Andreas Jaeger <aj@suse.de>
22657 * manual/examples/search.c (critter_cmp): Change signature to
22659 * manual/string.texi (Collation Functions): Likewise.
22661 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22663 * bits/types.h: Fold copyright years.
22664 * bits/typesizes.h: Likewise.
22665 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22669 * time/time.h: Likewise.
22671 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22674 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22675 in instead of returning them. Return void.
22676 (__libc_mallinfo): Accumulate over all arenas.
22677 (__malloc_stats): Adjust for change in int_mallinfo interface.
22679 2012-05-16 Roland McGrath <roland@hack.frob.com>
22682 * configure.in (NM): Add AC_CHECK_TOOL for it.
22683 (libc_extra_cflags): New substituted variable.
22684 Check for -fstack-protector being used implicitly.
22685 * configure: Regenerated.
22686 * config.make.in (config-extra-cflags): New variable,
22687 gets @libc_extra_cflags@.
22688 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22691 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22692 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22693 * configure: Regenerated.
22694 * config.make.in (CPPUNDEFS): New substituted variable.
22695 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22696 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22697 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22699 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22701 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22702 (mq_attr): Use __syscall_slong_t.
22704 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22707 Check __x86_64__ instead of __WORDSIZE.
22708 (_STAT_VER_LINUX): Likewise.
22709 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22710 __syscall_ulong_t and __syscall_slong_t.
22711 (stat64): Likewise.
22713 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22715 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22719 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22723 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22726 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22727 include <bits/wordsize.h>. Check __x86_64__ instead of
22729 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22731 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22734 include <bits/wordsize.h>. Check __x86_64__ instead of
22736 (user_regs_struct): Use "__extension__ unsigned long long"
22737 instead of "unsigned long" if __x86_64__ is defined.
22738 (user): Likewise. Pad after pointer field if __ILP32__ is
22741 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22743 * configure.in (makeinfo): Require version 4.5 or later. Allow
22745 * configure: Regenerated.
22746 * manual/install.texi (texinfo): Increase version requirement to
22748 * INSTALL: Regenerated.
22750 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22754 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22756 * sysdeps/x86_64/x32/ffs.c: New file.
22758 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22760 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22761 defined. Use __syscall_ulong_t.
22762 (shminfo): Use __syscall_ulong_t.
22763 (shm_info): Likewise.
22765 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22768 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22770 (msgqnum_t): Use __syscall_ulong_t.
22771 (msglen_t): Likewise.
22772 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22775 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22776 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22778 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22780 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22781 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22783 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22786 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22787 include <bits/wordsize.h>. Check __x86_64__ instead of
22790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22791 "unsigned long long int" if __x86_64__ is defined.
22792 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22794 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22795 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22796 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22798 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22800 (GET_PC): Cast to uintptr_t first.
22801 (GET_FRAME): Likewise.
22802 (GET_STACK): Likewise.
22804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22806 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22808 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22810 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22811 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22812 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22814 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22815 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22816 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22817 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22818 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22822 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22823 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22824 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22825 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22826 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22827 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22828 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22829 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22830 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22831 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22832 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22834 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22836 * Makerules (+depfiles): Also collect depfiles from .oS in
22838 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22839 .oS, $(libnldbl-routines)).
22841 * Makerules (native-compile-mkdep-flags): Define.
22842 * sunrpc/Makefile (extra-objs): Add $(addprefix
22843 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22844 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22845 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22846 calling $(make-target-directory).
22848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22850 * bits/types.h (__snseconds_t): Removed.
22851 * time/time.h (struct timespec): Replace __snseconds_t with
22853 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22854 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22857 (__SNSECONDS_T_TYPE): Likewise.
22858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22859 (__SNSECONDS_T_TYPE): Likewise.
22860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22861 (__SNSECONDS_T_TYPE): Likewise.
22863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22865 * sysdeps/mach/hurd/bits/typesizes.h
22866 (__SYSCALL_SLONG_TYPE): New macro.
22867 (__SYSCALL_ULONG_TYPE): Likewise.
22869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22871 * bits/types.h (__syscall_slong_t): New type.
22872 (__syscall_ulong_t): Likewise.
22874 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22875 (__SYSCALL_ULONG_TYPE): Likewise.
22876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22877 (__SYSCALL_SLONG_TYPE): Likewise.
22878 (__SYSCALL_ULONG_TYPE): Likewise.
22879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22880 (__SYSCALL_SLONG_TYPE): Likewise.
22881 (__SYSCALL_ULONG_TYPE): Likewise.
22882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22883 (__SYSCALL_SLONG_TYPE): Likewise.
22884 (__SYSCALL_ULONG_TYPE): Likewise.
22886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22888 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22889 Add sigaltstack-offsets.sym.
22890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22891 <sigaltstack-offsets.h>.
22892 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22893 longjmp_msg pointer.
22894 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22895 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22897 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22899 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22901 * elf/stackguard-macros.h: Remove file.
22902 * sysdeps/generic/stackguard-macros.h: New file.
22903 * sysdeps/i386/stackguard-macros.h: Likewise.
22904 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22905 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22906 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22907 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22908 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22909 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22910 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22911 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22912 <elf/stackguard-macros.h>.
22915 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22916 __aligned__ in attribute.
22917 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22918 (gregset_t): Likewise.
22920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22922 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22923 * sysdeps/x86_64/64/Implies-after: Here. New file.
22924 * sysdeps/x86_64/x32/Implies-after: New file.
22926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22928 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22929 and access return value for _dl_profile_fixup. Use R10_LP to
22932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22934 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22938 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22939 * sysdeps/x86_64/x32/sysdep.h: New file.
22941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22943 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22944 * sysdeps/x86_64/setjmp.S: Likewise.
22946 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22948 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22950 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22951 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22952 remove unused global constant.
22954 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22956 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22957 include of <not-cancel.h>.
22959 2012-05-15 Roland McGrath <roland@hack.frob.com>
22961 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22963 2012-05-15 Jeff Law <law@redhat.com>
22964 Andreas Jaeger <aj@suse.de>
22967 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22969 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22970 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22971 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22972 code changing __hst_map_handle.map.
22974 2012-05-15 Roland McGrath <roland@hack.frob.com>
22976 * configure.in (sysnames): Look for Implies-before and Implies-after
22978 * configure: Regenerated.
22980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22982 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22983 8-byte data alignment with LP_SIZE alignment.
22985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22987 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22992 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22996 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22997 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23000 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23004 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23005 (stackinfo_sub_sp): Likewise.
23007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23009 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23024 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23028 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23029 into R11_LP and load __x86_64_shared_cache_size_half into
23032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23034 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23037 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23046 powerpc32/power7/fpu/s_logb.c via #include.
23047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23048 powerpc32/power7/fpu/s_logbf.c via #include.
23049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23050 powerpc32/power7/fpu/s_logbl.c via #include.
23052 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23054 * README.libm: Remove file.
23056 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23058 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23059 count for x32. Use R*_LP and omit operand-size suffix.
23061 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23063 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23064 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23065 * sysdeps/x86_64/x32/shlib-versions: New file.
23067 2012-05-14 Roland McGrath <roland@hack.frob.com>
23069 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23070 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23071 Use _dl_fatal_printf instead.
23073 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23075 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23076 set if not set by the user. Do not allow for being unset.
23077 * sysdeps/unix/sysv/linux/configure: Regenerated.
23079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23081 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23082 the `q' suffix from lea and replace .quad with ASM_ADDR.
23084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23087 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23089 (PTR_DEMANGLE): Likewise.
23091 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23093 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23095 (ASM_ADDR): Likewise.
23096 (RAX_LP): Likewise.
23097 (RBP_LP): Likewise.
23098 (RBX_LP): Likewise.
23099 (RCX_LP): Likewise.
23100 (RDI_LP): Likewise.
23101 (RSI_LP): Likewise.
23102 (RSP_LP): Likewise.
23105 (R10_LP): Likewise.
23106 (R10_LP): Likewise.
23107 (R11_LP): Likewise.
23108 (R12_LP): Likewise.
23109 (R13_LP): Likewise.
23110 (R14_LP): Likewise.
23111 (R15_LP): Likewise.
23113 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23115 * sysdeps/x86_64/x32/dl-machine.h: New file.
23117 2012-05-14 Andreas Jaeger <aj@suse.de>
23119 * manual/Makefile (subdir): Remove export of subdir.
23120 (all): Remove target.
23121 (.PHONY): Remove all from list.
23122 (mkinstalldirs): Remove.
23123 (.PHONY): Remove installdirs from list.
23124 ($(inst_infodir)/libc.info): Use make-target-directory.
23125 (installdirs): Remove.
23126 (subdir_%): Remove.
23127 (glibc-targets): Remove.
23130 ($(objpfx)stubs ../po/manual.pot): Remove.
23131 ($(objpfx)stamp%): Remove.
23132 (make-target-directory): Remove.
23133 (subdir_install): Remove.
23134 (routines): Remove.
23141 * manual/.gitignore: Remove, it's not needed anymore.
23142 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23144 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23146 (texis): Renamed to $(objpfx)texis.
23147 (texis-path): New, contains path to generated files.
23148 (chapters.%): Use texis-path for complete path, add extra argument
23150 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23151 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23152 (summary,texi, stamp-summary): Use complete path of
23153 files. Generate files in build dir.
23154 (dir-add.texi): Build in build dir.
23155 (libm-err.texi,stamp-libm-err): Likewise.
23156 (version.texi, stamp-version): Likewise.
23157 (.%c.texi): Likewise.
23158 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23159 (mostlyclean): Remove target.
23160 (realclean): Remove target.
23161 (generated): Add new variable with contents from mostlyclean and
23162 realclean, remove entries duplicated in common-mostlyclean, add
23163 stamp-libm-err and stamp-version.
23164 (generated-dirs): Add libc directory.
23165 ($(inst_infodir)/libc.info): Install files from build dir.
23167 * manual/install.texi (Configuring and compiling): Adjust since
23168 the info files are not part of the tar ball anymore.
23170 2012-05-14 Andreas Jaeger <aj@suse.de>
23172 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23175 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23179 to 2.2.0 where earlier.
23180 * sysdeps/unix/sysv/linux/configure: Regenerated.
23181 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23182 Remove conditional code.
23183 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23184 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23185 Remove conditional code.
23186 [!__NR_lchown]: Likewise.
23187 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23188 [__NR_lchown]: Likewise.
23189 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23190 comment referencing __ASSUME_LCHOWN_SYSCALL.
23191 * sysdeps/unix/sysv/linux/i386/sigaction.c
23192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23194 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23195 Remove conditional code.
23196 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23197 (__protocol_available): Remove #if 0 code.
23198 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23200 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23201 * sysdeps/unix/sysv/linux/kernel-features.h
23202 (__ASSUME_GETCWD_SYSCALL): Don't define.
23203 (__ASSUME_REALTIME_SIGNALS): Likewise.
23204 (__ASSUME_PREAD_SYSCALL): Likewise.
23205 (__ASSUME_PWRITE_SYSCALL): Likewise.
23206 (__ASSUME_POLL_SYSCALL): Likewise.
23207 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23208 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23210 (__ASSUME_SIOCGIFNAME): Don't define.
23211 (__ASSUME_MSG_NOSIGNAL): Likewise.
23212 (__ASSUME_SENDFILE): Define unconditionally.
23213 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23214 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23216 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23217 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23218 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23219 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23220 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23221 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23222 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23236 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23242 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23247 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23248 Remove conditional code.
23249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23250 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23251 Remove conditional code.
23252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23253 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23254 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23255 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23256 Remove conditional code.
23257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23258 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23259 Remove conditional code.
23260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23261 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23262 Remove conditional code.
23263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23264 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23265 Remove conditional code.
23266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23267 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23268 Remove conditional code.
23269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23270 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23271 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23273 * sysdeps/unix/sysv/linux/sigaction.c
23274 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23275 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23276 * sysdeps/unix/sysv/linux/sigpending.c
23277 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23278 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23279 * sysdeps/unix/sysv/linux/sigprocmask.c
23280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23282 * sysdeps/unix/sysv/linux/sigsuspend.c
23283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23285 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23286 (__libc_missing_rt_sigs): Remove.
23287 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23288 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23289 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23290 Remove conditional code.
23291 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23292 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23295 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23297 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23299 2012-05-14 Andreas Jaeger <aj@suse.de>
23301 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23302 it's not used in glibc.
23303 (__coshm1): Likewise.
23304 (__acosh1p): Likewise.
23307 * manual/string.texi (Copying and Concatenation): Add missing
23308 variable in concat example.
23309 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23311 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23315 __builtin_clzl with __builtin_clzll.
23317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23320 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23323 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23325 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23326 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23327 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23328 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23330 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23332 * NEWS: Update ia64 info.
23334 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23336 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23339 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23341 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23342 * sysdeps/unix/syscalls.list (dup3): Likewise.
23343 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23344 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23346 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23348 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23349 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23351 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23353 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23355 (TLS_IE): Use mov/add instead of movq/addq to load thread
23357 (TLS_GD_PREFIX): New.
23360 2012-05-11 David S. Miller <davem@davemloft.net>
23362 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23363 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23364 (_FPU_SETCW): Likewise.
23366 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23368 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23369 is 32-byte aligned.
23371 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23374 * iconvdata/gb18030.c: Update tables.
23375 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23376 characters specially.
23377 (BODY for TO_LOOP): Add encoding of missing ranges.
23379 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23382 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23383 * sysdeps/mach/hurd/dup3.c: Likewise.
23384 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23385 * sysdeps/powerpc/memmove.c:: Likewise.
23387 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23390 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23392 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23394 * elf/elf.h (R_X86_64_RELATIVE64): New.
23395 (R_X86_64_NUM): Updated.
23396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23397 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23398 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23399 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23400 tst-quad1pie tst-quad2pie
23401 (modules-names): Add tst-quadmod1 tst-quadmod2.
23402 ($(objpfx)tst-quad1): New dependency.
23403 ($(objpfx)tst-quad2): Likewise.
23404 ($(objpfx)tst-quad1pie): Likewise.
23405 ($(objpfx)tst-quad2pie): Likewise.
23406 * sysdeps/x86_64/tst-quad1.c: New file.
23407 * sysdeps/x86_64/tst-quad1pie.c: New file.
23408 * sysdeps/x86_64/tst-quad2.c: Likewise.
23409 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23410 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23411 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23412 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23413 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23417 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23418 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23419 * streams/stropts.h (t_scalar_t): Define type.
23421 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23422 (_PATH_PRESERVE): Set to "/var/lib".
23423 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23425 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23428 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23429 if __dir_mkfile succeeded.
23431 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23432 checking for _hurd_dtablesize. Unlock it right after having
23433 finished _hurd_dtable allocation.
23435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23437 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23438 * sysdeps/mach/hurd/configure: Regenerated.
23439 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23440 special-casing to...
23441 * sysdeps/gnu/configure.in: ... this new file.
23442 * sysdeps/unix/sysv/linux/configure: Regenerated.
23443 * sysdeps/gnu/configure: New generated file.
23445 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23446 for Linux: use nsec instead of usec, as well as:
23447 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23448 members of type struct timespec.
23449 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23451 (struct stat64): Likewise.
23452 (_STATBUF_ST_NSEC): New macro.
23453 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23455 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23456 __strtoul_internal rather than strtoul.
23458 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23460 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23463 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23465 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23466 which preserves existing values.
23467 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23469 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23471 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23472 TIMEOUT values. Return EINVAL for NFDS values either negative or
23473 greater than FD_SETSIZE.
23475 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23477 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23478 allocated, call __vm_protect to finish enabling the existing space, and
23479 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23480 allocate the remainder.
23482 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23484 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23485 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23489 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23490 sysdeps/mach/hurd/readlink.c.
23492 * posix/tst-sysconf.c (posix_options): Only use
23493 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23494 _POSIX_SYNCHRONIZED_IO when they are defined
23495 * sysdeps/mach/hurd/bits/posix_opt.h:
23496 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23497 (_XOPEN_REALTIME): Undefine macro.
23498 (_XOPEN_REALTIME_THREADS): Undefine macro.
23499 (_XOPEN_SHM): Undefine macro.
23500 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23502 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23504 (_POSIX_ASYNC_IO): Undefine macro.
23505 (_POSIX_PRIORITIZED_IO): Undefine macro.
23506 (_POSIX_SPIN_LOCKS): Define macro to -1.
23508 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23509 SA_NODEFER, SA_RESETHAND.
23510 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23511 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23514 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23516 * elf/Makefile (pldd-modules): Define unconditionally.
23518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23520 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23522 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23524 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23525 Return ENOENT when name is empty.
23526 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23530 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23532 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23536 Fix mlock in all cases except non-readable pages.
23537 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23538 instead of VM_PROT_ALL as parameter to __vm_wire function.
23540 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23541 (__mkdir): When path is `/', just fail with EEXIST.
23542 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23546 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23547 <sys/uio.h> (for writev).
23548 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23549 and <sys/param.h> (for MIN).
23551 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23553 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23554 REQUESTED_TIME. Properly set the remaining time and return EINTR
23557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23559 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23560 Depend on against $(link-rpcuserlibs).
23562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23564 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23565 (__libc_stack_end): Do not use attribute_relro.
23566 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23567 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23568 to libthread-provided value.
23569 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23575 * bits/libc-lock.h (__libc_once_get): New macro.
23576 * sysdeps/mach/bits/libc-lock.h: Likewise.
23577 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23579 instead of using implementation details.
23581 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23582 * libio/freopen.c: Likewise.
23583 * libio/freopen64.c: Likewise.
23584 * misc/syslog.c: Likewise.
23585 * nscd/connections.c: Likewise.
23586 * nscd/netgroupcache.c: Likewise.
23587 * sysdeps/posix/getcwd.c: Likewise.
23589 2012-05-10 Roland McGrath <roland@hack.frob.com>
23591 * math/w_ilogbf.c: Add #include <limits.h>.
23593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23595 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23596 path instead of returning without unlocking.
23598 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23599 immediate-write ioctls.
23600 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23604 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23605 __builtin_frame_address instead of making assumptions about the
23606 location of the return address relative to DATA. Force early load of
23607 the return address.
23608 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23609 __builtin_frame_address.
23612 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23613 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23614 implement dup3 and do some further code clean-ups.
23615 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23616 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23620 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23622 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23623 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23624 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23625 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23626 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23629 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23630 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23631 when handler == SIG_ERR, not when handler != SIG_ERR.
23633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23635 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23636 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23639 accept4 for GNU Hurd.
23640 * include/sys/socket.h (__libc_accept4): New prototype.
23641 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23642 to implement __libc_accept4.
23643 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23645 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23647 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23648 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23649 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23650 signal-defines.sym.
23652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23654 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23658 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23659 assertion on O_CLOEXEC flag.
23660 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23661 * hurd/intern-fd.c: Likewise.
23662 * hurd/port2fd.c: Likewise.
23664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23667 * bits/in.h (IPV6_PKTINFO): Define new macro.
23668 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23670 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23675 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23677 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23678 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23680 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23681 * math/libm-test.inc (logb_test) : Additional logb tests.
23683 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23684 Andreas Jaeger <aj@suse.de>
23686 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23687 * configure: Regenerated.
23688 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23689 * config.make.in (link-obsolete-rpc): New substituted variable.
23690 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23691 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23692 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23693 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23694 so that libc.a contains the symbols.
23695 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23696 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23697 * sunrpc/auth_none.c: Likewise.
23698 * sunrpc/auth_unix.c: Likewise.
23699 * sunrpc/authdes_prot.c: Likewise.
23700 * sunrpc/authuxprot.c: Likewise.
23701 * sunrpc/clnt_gen.c: Likewise.
23702 * sunrpc/clnt_perr.c: Likewise.
23703 * sunrpc/clnt_raw.c: Likewise.
23704 * sunrpc/clnt_simp.c: Likewise.
23705 * sunrpc/clnt_tcp.c: Likewise.
23706 * sunrpc/clnt_udp.c: Likewise.
23707 * sunrpc/clnt_unix.c: Likewise.
23708 * sunrpc/des_crypt.c: Likewise.
23709 * sunrpc/des_soft.c: Likewise.
23710 * sunrpc/get_myaddr.c: Likewise.
23711 * sunrpc/key_call.c: Likewise.
23712 * sunrpc/key_prot.c: Likewise.
23713 * sunrpc/netname.c: Likewise.
23714 * sunrpc/pm_getmaps.c: Likewise.
23715 * sunrpc/pm_getport.c: Likewise.
23716 * sunrpc/pmap_clnt.c: Likewise.
23717 * sunrpc/pmap_prot.c: Likewise.
23718 * sunrpc/pmap_prot2.c: Likewise.
23719 * sunrpc/pmap_rmt.c: Likewise.
23720 * sunrpc/publickey.c: Likewise.
23721 * sunrpc/rpc_cmsg.c: Likewise.
23722 * sunrpc/rpc_common.c: Likewise.
23723 * sunrpc/rpc_dtable.c: Likewise.
23724 * sunrpc/rpc_prot.c: Likewise.
23725 * sunrpc/rpc_thread.c: Likewise.
23726 * sunrpc/rtime.c: Likewise.
23727 * sunrpc/svc.c: Likewise.
23728 * sunrpc/svc_auth.c: Likewise.
23729 * sunrpc/svc_raw.c: Likewise.
23730 * sunrpc/svc_run.c: Likewise.
23731 * sunrpc/svc_tcp.c: Likewise.
23732 * sunrpc/svc_udp.c: Likewise.
23733 * sunrpc/svc_unix.c: Likewise.
23734 * sunrpc/svcauth_des.c: Likewise.
23735 * sunrpc/xcrypt.c: Likewise.
23736 * sunrpc/xdr.c: Likewise.
23737 * sunrpc/xdr_array.c: Likewise.
23738 * sunrpc/xdr_float.c: Likewise.
23739 * sunrpc/xdr_intXX_t.c: Likewise.
23740 * sunrpc/xdr_mem.c: Likewise.
23741 * sunrpc/xdr_rec.c: Likewise.
23742 * sunrpc/xdr_ref.c: Likewise.
23743 * sunrpc/xdr_sizeof.c: Likewise.
23744 * sunrpc/xdr_stdio.c: Likewise.
23746 2012-05-10 Roland McGrath <roland@hack.frob.com>
23748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23749 change. Update copyright years.
23751 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23753 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23755 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23756 Joseph Myers <joseph@codesourcery.com>
23757 Paul Pluzhnikov <ppluzhnikov@google.com>
23760 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23762 [cross-compiling] (extra-libs): Likewise.
23763 [cross-compiling] (extra-libs-others): Likewise.
23764 [cross-compiling] (librpcsvc-routines): Likewise.
23765 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23766 [cross-compiling] (omit-deps): Likewise.
23767 (sunrpc-CPPFLAGS): New variable.
23768 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23769 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23770 (cross-rpcgen-objs): New variable.
23771 (extra-objs): Append $(cross-rpcgen-objs).
23772 ($(cross-rpcgen-objs)): New rule.
23773 ($(objpfx)cross-rpcgen): Likewise.
23774 (rpcgen-cmd): Define to use $(built-program-file). Expand
23776 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23777 ($(objpfx)x%.stmp): Likewise.
23778 * sunrpc/proto.h [IS_IN_build] (_): Define.
23779 [IS_IN_build] (_libc_intl_domainname): Likewise.
23781 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23784 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23785 and R_X86_64_TPOFF64.
23787 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23789 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23790 sysdeps/unix/sysv/syscalls.list.
23793 * sysdeps/unix/sysv/syscalls.list: Remove file.
23795 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23798 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23799 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23800 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23801 (__LC_IDENTIFICATION): Make these macros useful in #if
23802 expressions, as required by C99.
23804 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23806 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23807 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23810 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23812 * stdlib/longlong.h: Updated from GCC.
23814 2012-05-09 Andreas Jaeger <aj@suse.de>
23816 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23817 default is first entry.
23818 (run_mode): Set type.
23819 (main): Remove informal message about syslog.
23820 (options): Fix typo.
23823 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23826 (llrintf): Likewise.
23827 (llrint): Likewise.
23830 (nearbyint): Likewise.
23831 (nearbyintf): Likewise.
23833 2012-05-09 Andreas Jaeger <aj@suse.de>
23834 Pedro Alves <palves@redhat.com>
23836 * nscd/nscd.c (run_mode): Use enum.
23837 (main): Cleanup coding style issue.
23839 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23840 Andreas Jaeger <aj@suse.de>
23842 * nscd/nscd.c (go_background): Replaced with...
23843 (run_mode): ... this.
23844 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23845 (options): Add -F --foreground.
23846 (main): Implement it.
23847 (parse_opt): Parse it.
23849 2012-05-09 Andreas Jaeger <aj@suse.de>
23852 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23853 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23854 -Wconversion warning.
23855 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23858 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23860 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23862 (LC_ALL): Use macro-int-constant.
23863 (LC_COLLATE): Likewise.
23864 (LC_CTYPE): Likewise.
23865 (LC_MESSAGES): Likewise.
23866 (LC_MONETARY): Likewise.
23867 (LC_NUMERIC): Likewise.
23868 (LC_TIME): Likewise.
23869 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23870 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23872 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23874 [C99-based standards] (float_t): Expect type.
23875 [C99-based standards] (double_t): Expect type.
23876 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23878 [C99-based standards] (HUGE_VALL): Likewise.
23879 [C99-based standards] (INFINITY): Likewise.
23880 [C99-based standards] (NAN): Likewise.
23881 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23882 [C99-based standards] (FP_NAN): Likewise.
23883 [C99-based standards] (FP_NORMAL): Likewise.
23884 [C99-based standards] (FP_SUBNORMAL): Likewise.
23885 [C99-based standards] (FP_ZERO): Likewise.
23886 [C99-based standards] (FP_FAST_FMA): Use
23887 optional-macro-int-constant. Specify type. Require == 1.
23888 [C99-based standards] (FP_FAST_FMAF): Likewise.
23889 [C99-based standards] (FP_FAST_FMAL): Likewise.
23890 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23891 [C99-based standards] (FP_ILOGBNAN): Likewise.
23892 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23894 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23895 [C99-based standards] (math_errhandling): Specify type.
23896 [ISO99 || ISO11] (signgam): Do not allow.
23897 [non-C99-based standards] (copysignf): Do not allow.
23898 [non-C99-based standards] (exp2f): Likewise.
23899 [non-C99-based standards] (log2f): Likewise.
23900 [non-C99-based standards] (modff): Allow.
23901 [non-C99-based standards] (erff): Do not allow.
23902 [non-C99-based standards] (erfcf): Likewise.
23903 [non-C99-based standards] (gammaf): Likewise.
23904 [non-C99-based standards] (hypotf): Likewise.
23905 [non-C99-based standards] (j0f): Likewise.
23906 [non-C99-based standards] (j1f): Likewise.
23907 [non-C99-based standards] (jnf): Likewise.
23908 [non-C99-based standards] (lgammaf): Likewise.
23909 [non-C99-based standards] (tgammaf): Likewise.
23910 [non-C99-based standards] (y0f): Likewise.
23911 [non-C99-based standards] (y1f): Likewise.
23912 [non-C99-based standards] (ynf): Likewise.
23913 [non-C99-based standards] (isnanf): Likewise.
23914 [non-C99-based standards] (acoshf): Likewise.
23915 [non-C99-based standards] (asinhf): Likewise.
23916 [non-C99-based standards] (atanhf): Likewise.
23917 [non-C99-based standards] (cbrtf): Likewise.
23918 [non-C99-based standards] (expm1f): Likewise.
23919 [non-C99-based standards] (ilogbf): Likewise.
23920 [non-C99-based standards] (log1pf): Likewise.
23921 [non-C99-based standards] (logbf): Likewise.
23922 [non-C99-based standards] (nextafterf): Likewise.
23923 [non-C99-based standards] (remainderf): Likewise.
23924 [non-C99-based standards] (rintf): Likewise.
23925 [non-C99-based standards] (scalbf): Likewise.
23926 [non-C99-based standards] (copysignl): Likewise.
23927 [non-C99-based standards] (exp2l): Likewise.
23928 [non-C99-based standards] (log2l): Likewise.
23929 [non-C99-based standards] (modfl): Allow.
23930 [non-C99-based standards] (erfl): Do not allow.
23931 [non-C99-based standards] (erfcl): Likewise.
23932 [non-C99-based standards] (gammal): Likewise.
23933 [non-C99-based standards] (hypotl): Likewise.
23934 [non-C99-based standards] (j0l): Likewise.
23935 [non-C99-based standards] (j1l): Likewise.
23936 [non-C99-based standards] (jnl): Likewise.
23937 [non-C99-based standards] (lgammal): Likewise.
23938 [non-C99-based standards] (tgammal): Likewise.
23939 [non-C99-based standards] (y0l): Likewise.
23940 [non-C99-based standards] (y1l): Likewise.
23941 [non-C99-based standards] (ynl): Likewise.
23942 [non-C99-based standards] (isnanl): Likewise.
23943 [non-C99-based standards] (acoshl): Likewise.
23944 [non-C99-based standards] (asinhl): Likewise.
23945 [non-C99-based standards] (atanhl): Likewise.
23946 [non-C99-based standards] (cbrtl): Likewise.
23947 [non-C99-based standards] (expm1l): Likewise.
23948 [non-C99-based standards] (ilogbl): Likewise.
23949 [non-C99-based standards] (log1pl): Likewise.
23950 [non-C99-based standards] (logbl): Likewise.
23951 [non-C99-based standards] (nextafterl): Likewise.
23952 [non-C99-based standards] (remainderl): Likewise.
23953 [non-C99-based standards] (rintl): Likewise.
23954 [non-C99-based standards] (scalbl): Likewise.
23955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23956 [non-C99-based standards] (FP_*): Do not allow.
23957 [C99-based standards] (FP_*): Change to
23958 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23959 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23961 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23962 (SIG_ERR): Likewise.
23963 [X/Open-based standards] (SIG_HOLD): Likewise.
23964 (SIG_IGN): Likewise.
23965 (SIGABRT): Use macro-int-constant. Specify type. Require
23967 (SIGFPE): Likewise.
23968 (SIGILL): Likewise.
23969 (SIGINT): Likewise.
23970 (SIGSEGV): Likewise.
23971 (SIGTER): Likewise.
23972 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23973 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23974 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23975 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23976 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23977 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23978 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23979 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23980 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23981 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23982 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23983 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23984 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23985 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23986 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23987 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23988 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23989 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23990 [X/Open-based standards] (SIGTRAP): Likewise.
23991 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23992 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23993 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23994 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23995 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23998 2012-05-08 Ian Wienand <ianw@vmware.com>
24001 * time/tzset.c (__tzset_parse_tz): Update default rules for
24002 daylight time changes in the Energy Policy Act of 2005.
24004 2012-05-09 Andreas Jaeger <aj@suse.de>
24007 * elf/ldconfig.c (parse_conf): Change string to make clear that
24008 ldconfig only issued a warning if ld.so.conf does not exist.
24010 2012-05-08 David S. Miller <davem@davemloft.net>
24012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24013 movxtod instead of popping the value on the stack.
24015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24017 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24019 * config.h.in: Add HAVE_ARM_PCS_VFP.
24021 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24024 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24025 checking but the checks are disabled for any reason.
24027 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24029 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24030 and ELF64_R_TYPE with ELFW(R_TYPE).
24032 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24034 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24035 (ulimit): Likewise.
24037 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24038 (settimeofday): Likewise.
24040 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24042 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24043 a struct th_u2 inside the union, and move tu_block/tu_code into
24044 a new th_u3 union of tu_block/tu_code inside of that. Move
24045 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24046 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24047 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24048 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24049 (th_stuff): Change to th_u1.tu_stuff.
24051 (th_msg): Change to th_u1.th_u2.tu_data.
24053 2012-05-07 David S. Miller <davem@davemloft.net>
24055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24058 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24059 (SETUP_PIC_REG): Use it.
24060 (SETUP_PIC_REG_LEAF): Use it.
24062 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24068 (EXPL_FINITE): Likewise.
24069 (FLDLOG): Likewise.
24070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24071 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24075 (EXPL_FINITE): Likewise.
24076 (FLDLOG): Likewise.
24077 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24078 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24080 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24081 test of -max_value argument for long double.
24082 * sysdeps/i386/fpu/libm-test-ulps: Update.
24083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24085 2012-05-06 David S. Miller <davem@davemloft.net>
24087 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24088 quad soft-float symbols whose references which are compiler
24090 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24092 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24098 (EXPL_FINITE): Likewise.
24099 (FLDLOG): Likewise.
24102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24103 Adjust comments for base varying.
24104 (__expl_finite): Change alias to EXPL_FINITE.
24105 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24107 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24108 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24110 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24111 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24113 (EXPL_FINITE): Likewise.
24114 (FLDLOG): Likewise.
24117 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24118 Adjust comments for base varying.
24119 (__expl_finite): Change alias to EXPL_FINITE.
24120 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24125 * math/libm-test.inc (check_float_internal): Correct ulp
24126 calculation for subnormal expected results.
24128 2012-05-06 Andreas Jaeger <aj@suse.de>
24130 * Makeconfig (+math-flags): New, set to -frounding-math.
24131 (+cflags): Add +math-flags so that all of glibc gets compiled with
24134 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24136 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24138 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24144 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24145 (__ieee754_expl): Allow for and saturate large arguments.
24146 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24147 (u_threshold): Likewise.
24148 (__exp): Call __ieee754_exp before checking for overflow and
24150 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24151 (u_threshold): Likewise.
24152 (__expf): Call __ieee754_expf before checking for overflow and
24154 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24155 (u_threshold): Likewise.
24156 (__expl): Call __ieee754_expl before checking for overflow and
24158 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24159 (__ieee754_expl): Allow for and saturate large arguments.
24160 * math/libm-test.inc (exp_test): Add another test. Do not allow
24161 missing overflow exception on overflow.
24162 (expm1_test): Do not allow missing overflow exception on overflow.
24164 * sysdeps/i386/fpu/e_expl.c: Move to ...
24165 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24166 rather than using inline asm.
24167 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24168 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24169 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24171 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24174 (signal): Likewise.
24178 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24180 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24181 sysdeps/unix/common/syscalls.list.
24182 (fchmod): Likewise.
24183 (fchown): Likewise.
24184 (ftruncate): Likewise.
24185 (getrusage): Likewise.
24186 (gettimeofday): Likewise.
24187 (setpgid): Likewise.
24188 (setregid): Likewise.
24189 (setreuid): Likewise.
24190 (sigaction): Likewise.
24191 (truncate): Likewise.
24192 (vhangup): Likewise.
24193 * sysdeps/unix/common/syscalls.list: Remove file.
24194 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24195 * sysdeps/unix/sysv/linux/Implies: Likewise.
24197 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24199 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24201 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24205 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24208 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24211 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24214 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24217 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24220 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24223 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24227 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24231 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24234 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24238 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24242 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24244 * sysdeps/unix/common/bits/dirent.h: Remove file.
24245 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24247 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24248 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24249 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24250 * sysdeps/unix/bsd/isatty.c: Likewise.
24251 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24252 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24253 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24255 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24259 long double comparison inaccuracies.
24260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24263 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24265 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24268 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24272 nonzero digits before rounding a hex value.
24273 * stdlib/tst-strtod.c (tests): Add another test.
24275 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24277 * sysdeps/s390/fpu/libm-test-ulps: Update.
24279 2012-05-03 Andreas Jaeger <aj@suse.de>
24281 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24282 does not get optimized out.
24283 (malloc_opt_barrier): New.
24285 2012-05-03 Andreas Jaeger <aj@suse.de>
24286 Roland McGrath <roland@hack.frob.com>
24288 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24289 intermediate file deletion.
24290 (generated): Add .symlist files.
24292 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24295 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24296 Redirect under this condition.
24297 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24298 [__USE_GNU] (__dprintf_chk): Not under this condition.
24299 [__USE_GNU] (__vdprintf_chk): Likewise.
24300 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24301 under this condition.
24302 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24303 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24304 [__USE_XOPEN2K8] (vdprintf): Likewise.
24305 [__USE_GNU] (__dprintf_chk): Not under this condition.
24306 [__USE_GNU] (__vdprintf_chk): Likewise.
24307 [__USE_GNU] (dprintf): Likewise.
24308 [__USE_GNU] (vdprintf): Likewise.
24310 2012-05-03 Roland McGrath <roland@hack.frob.com>
24312 * elf/Makefile (common-generated): Set this instead of generated for
24313 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24314 $(all-built-dso)-derived lists.
24316 2012-05-03 Andreas Jaeger <aj@suse.de>
24318 * sysdeps/i386/fpu/libm-test-ulps: Update.
24321 * FAQ.in: Likewise.
24322 * scripts/gen-FAQ.pl: Likewise.
24323 * manual/install.texi (Installation): Point to online location of
24325 * Makefile (files-for-dist): Remove FAQ.
24328 2012-05-02 Allan McRae <allan@archlinux.org>
24330 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24331 (LDFLAGS-reldepmod5.so): Likewise.
24332 (LDFLAGS-reldep6mod1.so): Likewise.
24333 (LDFLAGS-reldep6mod4.so): Likewise.
24334 (LDFLAGS-reldep8mod3.so): Likewise.
24335 (LDFLAGS-unload4mod1.so): Likewise.
24336 (LDFLAGS-unload4mod2.so): Likewise.
24337 (LDFLAGS-tst-initorder): Likewise.
24338 (LDFLAGS-tst-initordera2.so): Likewise.
24339 (LDFLAGS-tst-initordera3.so): Likewise.
24340 (LDFLAGS-tst-initordera4.so): Likewise.
24341 (LDFLAGS-tst-initorderb2.so): Likewise.
24342 (LDFLAGS-noload): Likewise.
24343 (LDFLAGS-next): Likewise.
24344 (LDFLAGS-order2mod1.so): Likewise.
24345 (LDFLAGS-order2mod2.so): Likewise.
24346 (LDFLAGS-tst-initorder2): Likewise.
24347 (LDFLAGS-tst-initorder2a.so): Likewise.
24348 (LDFLAGS-tst-initorder2b.so): Likewise.
24349 (LDFLAGS-tst-initorder2c.so): Likewise.
24350 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24352 2012-05-02 David S. Miller <davem@davemloft.net>
24354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24356 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24359 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24361 2012-05-02 Andreas Jaeger <aj@suse.de>
24363 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24364 since we manipulate rounding mode.
24365 (CPPFLAGS-test-idouble.c): Likewise.
24366 (CPPFLAGS-test-ifloat.c): Likewise.
24367 (CFLAGS-test-ldouble.c): Likewise.
24368 (CFLAGS-test-double.c): Likewise.
24369 (CFLAGS-test-float.c): Likewise.
24370 (CFLAGS-test-misc.c): Likewise.
24371 (CFLAGS-test-test-fenv.c): Likewise.
24373 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24377 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24378 comparisons to determine direction to adjust input.
24380 2012-05-01 Roland McGrath <roland@hack.frob.com>
24382 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24383 output to the target.
24385 * scripts/localplt.awk: New file.
24386 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24387 (check-localplt-CFLAGS): Variable removed.
24388 ($(all-built-dso:=.jmprel)): New static pattern rule.
24389 (generated): Add those targets.
24390 (localplt-built-dso): New variable.
24391 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24393 * elf/check-localplt.c: File removed.
24395 * scripts/check-execstack.awk: New file.
24396 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24397 (check-execstack-CFLAGS): Variable removed.
24398 ($(objpfx)check-execstack.h): Target removed.
24399 ($(objpfx)execstack-default): New target.
24400 (generated): Add that instead of check-execstack.h.
24401 ($(all-built-dso:=.phdr)): New static pattern rule.
24402 (generated): Add those targets.
24403 * elf/check-execstack.c: File removed.
24405 * scripts/check-textrel.awk: New file.
24406 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24407 (check-textrel-CFLAGS): Variable removed.
24408 (all-built-dso): Use := to define.o
24409 ($(all-built-dso:=.dyn)): New static pattern rule.
24410 (generated): Add those targets.
24411 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24412 * config.make.in (READELF): New substituted variable.
24413 * elf/check-textrel.c: File removed.
24415 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24417 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24419 * conform/data/ctype.h-data [C99-based standards] (isblank):
24421 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24422 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24424 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24425 Specify type. Require positive value.
24426 (EILSEQ): Likewise.
24427 (ERANGE): Likewise.
24428 [ISO || POSIX] (EILSEQ): Do not expect.
24429 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24430 Specify type. Require positive value.
24431 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24432 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24433 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24434 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24435 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24436 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24437 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24438 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24439 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24440 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24441 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24442 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24443 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24444 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24445 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24446 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24447 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24448 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24449 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24450 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24451 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24452 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24453 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24454 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24455 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24456 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24457 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24458 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24459 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24460 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24461 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24462 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24463 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24464 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24465 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24466 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24467 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24468 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24469 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24470 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24471 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24472 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24473 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24474 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24475 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24476 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24477 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24478 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24479 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24480 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24481 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24482 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24483 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24484 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24485 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24486 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24487 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24488 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24489 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24490 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24491 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24492 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24493 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24494 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24495 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24496 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24497 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24498 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24499 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24500 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24501 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24502 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24503 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24504 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24505 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24506 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24507 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24509 (FLT_ROUNDS): Expect as macro, not constant.
24510 (FLT_MANT_DIG): Use macro-int-constant.
24511 (DBL_MANT_DIG): Likewise.
24512 (LDBL_MANT_DIG): Likewise.
24513 (FLT_DIG): Likewise.
24514 (DBL_DIG): Likewise.
24515 (LDBL_DIG): Likewise.
24516 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24517 (DBL_MIN_EXP): Likewise.
24518 (LDBL_MIN_EXP): Likewise.
24519 (FLT_MAX_EXP): Use macro-int-constant.
24520 (DBL_MAX_EXP): Likewise.
24521 (LDBL_MAX_EXP): Likewise.
24522 (FLT_MAX_10_EXP): Likewise.
24523 (DBL_MAX_10_EXP): Likewise.
24524 (LDBL_MAX_10_EXP): Likewise.
24525 (FLT_MAX): Use macro-constant.
24526 (DBL_MAX): Likewise.
24527 (LDBL_MAX): Likewise.
24528 (FLT_EPSILON): Use macro-constant. Give upper bound.
24529 (DBL_EPSILON): Likewise.
24530 (LDBL_EPSILON): Likewise.
24531 (FLT_MIN): Likewise.
24532 (DBL_MIN): Likewise.
24533 (LDBL_MIN): Likewise.
24534 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24535 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24536 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24537 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24538 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24539 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24540 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24541 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24542 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24543 [ISO11] (FLT_TRUE_MIN): Likewise.
24544 [ISO11] (LDBL_TRUE_MIN): Likewise.
24545 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24546 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24547 (SCHAR_MIN): Use macro-int-constant. Specify type.
24548 (SCHAR_MAX): Likewise.
24549 (UCHAR_MAX): Likewise.
24550 (CHAR_MIN): Likewise.
24551 (CHAR_MAX): Likewise.
24552 (MB_LEN_MAX): Use macro-int-constant.
24553 (SHRT_MIN): Use macro-int-constant. Specify type.
24554 (SHRT_MAX): Likewise.
24555 (USHRT_MAX): Likewise.
24556 (INT_MAX): Likewise.
24557 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24559 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24561 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24563 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24564 bound negative. Suffix upper bound with "L".
24565 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24567 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24569 [C99-based standards] (LLONG_MAX): Likewise.
24570 [C99-based standards] (ULLONG_MAX): Likewise.
24571 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24573 [ISO11] (max_align_t): Require type.
24574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24576 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24577 from $CFLAGS, without defining away __attribute__ calls.
24578 (checknamespace): Use $CFLAGS_namespace.
24580 * conform/conformtest.pl (@keywords): Only include C99 keywords
24581 for standards based on C99 or C11.
24583 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24585 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24588 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24589 usability of symbols in #if.
24591 * conform/conformtest.pl: If macro or constant types start
24592 "promoted:", expect the symbol to be of the following type
24593 promoted by the integer promotions.
24595 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24596 in one place. Also handle "macro-constant".
24598 * conform/conformtest.pl: Only accept expected macro values with
24599 "==". Parse all "macro" lines in one place.
24600 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24602 * conform/conformtest.pl: Handle braced types on "constant" lines
24603 instead of handling "typed-constant".
24604 * conform/data/signal.h-data: Use "constant" instead of
24607 * conform/conformtest.pl: Handle "optional-" at start of lines in
24608 one place rather than duplicating several cases. Handle each
24609 format of "macro" line with initial "optional-".
24611 * conform/conformtest.pl: Only accept expected constant or
24612 optional-constant values with "==". Parse all "constant" lines in
24613 one place. Parse all "optional-constant" lines in one place.
24614 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24615 * conform/data/fmtmsg.h-data: Likewise.
24616 * conform/data/netinet/in.h-data: Likewise.
24617 * conform/data/tar.h-data: Likewise.
24618 * conform/data/limits.h-data: Use "==" form on "constant" and
24619 "optional-constant" lines.
24621 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24622 Use -std=c99 for XOPEN2K.
24623 (@knownproblems): Remove.
24624 (newtoken): Don't check %isknown.
24626 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24627 Do not expect macro.
24628 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24629 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24630 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24631 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24632 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24633 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24634 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24635 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24636 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24637 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24638 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24639 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24640 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24641 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24642 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24643 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24644 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24645 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24646 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24647 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24648 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24649 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24650 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24651 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24652 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24653 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24654 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24655 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24656 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24657 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24658 [XPG3] (acosh): Likewise.
24659 [XPG3] (asinh): Likewise.
24660 [XPG3] (atanh): Likewise.
24661 [XPG3] (cbrt): Likewise.
24662 [XPG3] (expm1): Likewise.
24663 [XPG3] (ilogb): Likewise.
24664 [XPG3] (log1p): Likewise.
24665 [XPG3] (logb): Likewise.
24666 [XPG3] (nextafter): Likewise.
24667 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24668 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24669 [XPG3] (remainder): Likewise.
24670 [XPG3] (rint): Likewise.
24671 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24672 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24673 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24674 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24675 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24676 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24677 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24678 [UNIX98 || XOPEN2K] (scalb): Expect.
24679 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24680 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24681 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24682 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24683 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24684 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24685 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24686 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24687 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24688 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24689 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24690 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24691 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24692 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24693 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24694 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24695 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24696 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24697 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24698 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24699 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24700 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24702 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24703 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24704 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24705 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24706 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24708 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24709 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24710 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24711 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24712 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24713 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24714 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24715 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24716 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24718 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24719 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24720 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24721 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24722 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24723 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24724 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24725 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24726 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24727 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24728 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24729 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24730 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24731 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24732 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24733 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24734 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24735 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24736 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24737 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24738 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24739 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24740 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24742 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24743 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24744 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24745 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24747 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24748 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24749 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24751 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24752 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24753 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24754 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24756 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24757 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24758 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24759 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24760 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24761 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24762 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24763 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24764 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24765 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24766 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24767 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24768 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24769 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24770 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24771 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24772 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24773 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24774 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24775 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24776 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24777 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24778 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24779 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24780 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24781 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24782 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24783 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24784 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24785 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24786 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24787 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24788 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24789 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24790 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24791 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24792 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24793 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24794 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24795 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24796 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24797 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24798 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24799 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24800 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24801 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24802 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24803 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24804 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24805 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24806 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24807 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24808 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24809 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24810 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24811 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24812 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24813 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24814 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24815 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24817 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24818 _XOPEN_SOURCE_EXTENDED for XPG4.
24820 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24822 * Makeconfig (localtime): Remove variable.
24823 (inst_localtime-file): Likewise.
24825 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24846 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24850 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24851 comparisons to determine direction to adjust input.
24852 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24853 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24854 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24858 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24863 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24865 * math/libm-test.inc (nexttoward_test): Add more tests.
24867 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24871 in version GLIBC_2.1, not GLIBC_2.0.
24872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24875 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24878 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24881 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24882 * math/libm-test.inc (acos_test): Add more tests.
24883 (asin_test): Likewise.
24884 * sysdeps/i386/fpu/libm-test-ulps: Update.
24885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24888 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24890 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24891 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24892 * math/libm-test.inc (acos_test_tonearest): New function.
24893 (acos_test_towardzero): Likewise.
24894 (acos_test_downward): Likewise.
24895 (acos_test_upward): Likewise.
24896 (asin_test_tonearest): Likewise.
24897 (asin_test_towardzero): Likewise.
24898 (asin_test_downward): Likewise.
24899 (asin_test_upward): Likewise.
24900 (main): Call the new functions.
24901 * sysdeps/i386/fpu/libm-test-ulps: Update.
24902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24906 * math/e_exp10.c: Include <float.h>.
24907 (__ieee754_exp10): Handle underflow here rather than multiplying
24908 large negative argument by M_LN10.
24909 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24911 * math/e_exp10l.c: Include <float.h>.
24912 (__ieee754_exp10l): Handle underflow here rather than multiplying
24913 large negative argument by M_LN10l.
24914 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24915 spurious overflow exception on underflow.
24917 2012-04-29 Marek Polacek <polacek@redhat.com>
24919 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24920 (__fortify_function): New macro.
24921 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24922 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24923 __extern_always_inline.
24924 * libio/bits/stdio2.h: Likewise.
24925 * libio/bits/stdio.h: Likewise.
24926 * string/string.h: Likewise.
24927 * string/bits/string3.h: Likewise.
24928 * include/stdio.h: Likewise.
24929 * stdlib/bits/stdlib.h: Likewise.
24930 * stdlib/stdlib.h: Likewise.
24931 * rt/bits/mqueue2.h: Likewise.
24932 * rt/mqueue.h: Likewise.
24933 * posix/bits/unistd.h: Likewise.
24934 * posix/unistd.h: Likewise.
24935 * io/bits/poll2.h: Likewise.
24936 * io/bits/fcntl2.h: Likewise.
24937 * io/fcntl.h: Likewise.
24938 * io/sys/poll.h: Likewise.
24939 * misc/bits/syslog.h: Likewise.
24940 * misc/bits/syslog-ldbl.h: Likewise.
24941 * misc/sys/syslog.h: Likewise.
24942 * socket/bits/socket2.h: Likewise.
24943 * socket/sys/socket.h: Likewise.
24944 * debug/tst-chk1.c: Likewise.
24945 * wcsmbs/bits/wchar2.h: Likewise.
24946 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24947 * wcsmbs/wchar.h: Likewise.
24949 2012-04-29 Andreas Jaeger <aj@suse.de>
24951 * Makerules (tests): Remove enable-check-abi protection.
24952 (check-abi-warn): Remove.
24953 (check-abi-%): Remove check-abi-warn usage.
24955 * configure.in: Remove check-abi configure option.
24956 * configure: Regenerated.
24957 * config.make.in (enable-check-abi): Remove.
24959 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24962 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24963 double functions to double *_finite functions.
24966 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24967 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24969 * stdio-common/Makefile (tests): Add tst-sprintf3.
24970 * stdio-common/tst-sprintf3.c: New file.
24972 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24973 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24975 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24977 * conform/conformtest.pl: Remove duplicate typed-constant
24980 2012-04-28 David S. Miller <davem@davemloft.net>
24982 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24983 (check-abi-%): Remove AWK script prerequisite and explicit
24985 (check-abi): Rewrite to just diff the symlist with the abilist.
24986 (config-tls, config-abi-config): Delete, no longer used.
24987 (update-abi-%): Remove AWK script and explicit abilist directory.
24988 (update-abi): Rewrite to simply compare and conditionally copy the
24989 symlist and the sysdep abilist file. Remove update-abi-config
24991 * abilist/ld.abilist: Remove.
24992 * abilist/libBrokenLocale.abilist: Remove.
24993 * abilist/libanl.abilist: Remove.
24994 * abilist/libcrypt.abilist: Remove.
24995 * abilist/libdl.abilist: Remove.
24996 * abilist/librt.abilist: Remove.
24997 * abilist/libthread_db.abilist: Remove.
24998 * abilist/libutil.abilist: Remove.
24999 * scripts/extract-abilist.awk: Remove.
25000 * scripts/merge-abilist.awk: Remove.
25001 * sysdeps/generic/libcidn.abilist: New file.
25002 * sysdeps/generic/libnss_compat.abilist: New file.
25003 * sysdeps/generic/libnss_db.abilist: New file.
25004 * sysdeps/generic/libnss_dns.abilist: New file.
25005 * sysdeps/generic/libnss_files.abilist: New file.
25006 * sysdeps/generic/libnss_hesiod.abilist: New file.
25007 * sysdeps/generic/libnss_nis.abilist: New file.
25008 * sysdeps/generic/libnss_nisplus.abilist: New file.
25009 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25010 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25011 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25014 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25015 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25016 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25017 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25018 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25019 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25020 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25021 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25023 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25024 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25025 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25026 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25028 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25029 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25030 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25031 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25032 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25033 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25035 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25036 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25037 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25039 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25142 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25143 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25144 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25147 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25148 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25149 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25150 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25151 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25152 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25153 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25154 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25155 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25207 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25209 * conform/conformtest.pl: Fix typo in handling typed-constant from
25212 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25214 * README: Cut down references to pre-2.6 Linux kernels and
25215 Linuxthreads. Update lists of configurations in libc and ports
25216 and sort alphabetically. Say "or newer" with Linux kernel version
25219 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25221 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25224 * math/libm-test.inc (logb_test_downward): New test to expose
25225 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25228 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25231 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25233 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25234 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25236 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25238 * sysdeps/unix/i386/brk.S: Remove file.
25239 * sysdeps/unix/i386/dl-brk.S: Likewise.
25240 * sysdeps/unix/i386/pipe.S: Likewise.
25241 * sysdeps/unix/i386/sigreturn.S: Likewise.
25242 * sysdeps/unix/i386/syscall.S: Likewise.
25243 * sysdeps/unix/i386/vfork.S: Likewise.
25244 * sysdeps/unix/i386/wait.S: Likewise.
25246 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25247 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25249 * configure.in (arm*-none*): Do not allow without
25250 --enable-hacker-mode.
25251 (netbsd*): Remove case setting base_os.
25252 (386bsd*): Likewise.
25253 (freebsd*): Likewise.
25256 (sunos*): Likewise.
25257 (ultrix*): Likewise.
25258 (newsos*): Likewise.
25259 (dynix*): Likewise.
25265 (minix*): Likewise.
25266 (irix4*): Likewise.
25267 (irix6*): Likewise.
25268 (solaris[2-9]*): Likewise.
25270 * configure: Regenerated.
25272 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25275 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25276 overflow or cancellation in calculating denominator.
25277 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25279 down expression to avoid unexpected rounding in newer GCCs.
25280 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25282 2012-04-26 David S. Miller <davem@davemloft.net>
25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25285 long-double compat symbols.
25286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25300 2012-04-25 David S. Miller <davem@davemloft.net>
25302 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25303 HWCAP_* values only after the memory barriers have been defined.
25304 (atomic_full_barrier): Define.
25305 (atomic_read_barrier): Define.
25306 (atomic_write_barrier): Define.
25308 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25310 * shlib-versions: Add libgcc_s version information.
25311 * sysdeps/generic/libgcc_s.h: Remove.
25312 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25314 * sysdeps/gnu/unwind-resume.c: Likewise.
25315 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25317 2012-04-25 David S. Miller <davem@davemloft.net>
25319 * sysdeps/unix/sparc/brk.S: Delete.
25320 * sysdeps/unix/sparc/dl-brk.S: Delete.
25321 * sysdeps/unix/sparc/pipe.S: Delete.
25322 * sysdeps/unix/sparc/sysdep.S: Delete.
25323 * sysdeps/unix/sparc/sysdep.h: Delete.
25324 * sysdeps/unix/sparc/vfork.S: Delete.
25325 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25326 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25327 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25328 ret_ERRVAL, r0, r1, MOVE): Define.
25329 (JUMPTARGET): Remove.
25330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25331 sysdeps/unix/sparc/sysdep.h
25332 (ENTRY, END): Remove.
25333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25335 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25337 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25338 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25341 * timezone/README: Update upstream location and email address for
25343 * timezone/zdump.c: Update from tzcode 2012b.
25344 * timezone/zic.c: Likewise.
25346 * configure.in (libc_cv_as_needed): Remove test.
25347 * configure: Regenerated.
25348 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25349 conditional definition.
25350 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25351 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25352 * config.make.in (have-as-needed): Remove variable.
25354 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25355 Paul Pluzhnikov <ppluzhnikov@google.com>
25357 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25360 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25362 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25363 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25364 * sysdeps/sh/strlen.S: Likewise.
25366 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25368 * sysdeps/unix/fork.S: Remove file.
25369 * sysdeps/unix/i386/fork.S: Likewise.
25370 * sysdeps/unix/sparc/fork.S: Likewise.
25372 * sysdeps/unix/system.c: Remove file.
25373 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25375 * sysdeps/unix/getegid.S: Remove file.
25376 * sysdeps/unix/geteuid.S: Likewise.
25378 2012-04-24 Roland McGrath <roland@hack.frob.com>
25380 * scripts/check-localplt.awk: New file.
25381 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25383 * scripts/data/localplt-generic.data: Add a comment.
25385 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25386 NODE when __dir_mkfile failed.
25387 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25388 Reported by Ludovic Courtès <ludo@gnu.org>.
25390 2012-04-24 Andreas Jaeger <aj@suse.de>
25392 * Makerules (common-clean): Also remove gen-as-const-headers
25395 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25397 * Makerules (native-compile): Do not change working directory for
25398 build. Use $(OUTPUT_OPTION) in command.
25399 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25401 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25404 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25405 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25406 * math/libm-test.inc (floor_test): Add more tests.
25407 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25409 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25411 * sysdeps/unix/getdents.c: Remove file.
25412 * sysdeps/unix/sysv/getdents.c: Likewise.
25413 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25415 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25416 sysdeps/unix/mman/syscalls.list.
25418 (mprotect): Likewise.
25420 (munmap): Likewise.
25421 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25422 * sysdeps/unix/mman/syscalls.list: Remove.
25423 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25425 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25426 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25427 * configure: Regenerated.
25428 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25429 $(libgcc_s_suffix).
25430 * config.make.in (libgcc_s_suffix): Remove variable.
25432 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25434 * sysdeps/unix/sysv/gethostname.c: Move to ...
25435 * sysdeps/posix/gethostname.c: ... here.
25437 * sysdeps/unix/execve.S: Remove file.
25439 * sysdeps/unix/_exit.S: Remove file.
25441 2012-04-23 Andreas Jaeger <aj@suse.de>
25444 * manual/Makefile: Remove make dist support, there's no
25445 need for a stand-alone documentation tar ball.
25446 (TEXI2DVI): Define always, it's not in Makeconfig.
25449 (edition): Removed.
25450 (glibc-doc-$(edition).tar): Removed
25454 (ETAGS): Remove, it's in Makeconfig.
25455 (move-if-change): Remove, it's in Makeconfig.
25457 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25460 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25461 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25462 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25463 (strtod_l, strtof_l, strtold_l): Remove __wur.
25464 It is not necessarily an error to ignore strtol's return value.
25465 One can reliably look at the stored endptr to decide whether
25466 the number had valid syntax.
25468 2012-04-21 Andreas Jaeger <aj@suse.de>
25471 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25473 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25475 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25476 * sysdeps/unix/sysv/Versions: Remove file.
25478 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25483 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25487 version from __vm86.
25489 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25491 * sysdeps/unix/common/lxstat.c: Remove file.
25492 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25494 * sysdeps/unix/sysv/Makefile: Remove file.
25496 * sysdeps/unix/sysv/direct.h: Remove file.
25498 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25499 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25500 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25501 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25502 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25503 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25504 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25506 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25508 * sysdeps/unix/xmknod.c: Remove file.
25509 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25511 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25513 * sysdeps/unix/sysv/i386/time.S: Remove file.
25515 * sysdeps/unix/fxstat.c: Remove file.
25516 * sysdeps/unix/xstat.c: Likewise.
25517 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25519 * sysdeps/unix/sysv/sigaction.c: Remove file.
25521 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25522 (sysdep_headers): Remove variable.
25523 [termio.h not in sysdep_headers] (generated): Likewise.
25524 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25525 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25526 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25527 * sysdeps/unix/sysv/tcflow.c: Likewise.
25528 * sysdeps/unix/sysv/tcflush.c: Likewise.
25529 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25530 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25531 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25532 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25533 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25535 * sysdeps/unix/siglist.c: Remove file.
25537 * sysdeps/unix/getppid.S: Remove file.
25539 * sysdeps/unix/mkdir.c: Remove file.
25540 * sysdeps/unix/rmdir.c: Likewise.
25542 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25544 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25546 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25547 errlist-compat value.
25549 2012-04-18 David S. Miller <davem@davemloft.net>
25551 * sysdeps/generic/memcopy.h (reg_char): Delete.
25552 * debug/strcat_chk.c: Use char, not reg_char.
25553 * debug/strcpy_chk.c: Likewise.
25554 * debug/strncat_chk.c: Likewise.
25555 * debug/strncpy_chk.c: Likewise.
25556 * string/memchr.c: Likewise.
25557 * string/memrchr.c: Likewise.
25558 * string/rawmemchr.c: Likewise.
25559 * string/strcat.c: Likewise.
25560 * string/strchr.c: Likewise.
25561 * string/strchrnul.c: Likewise.
25562 * string/strcmp.c: Likewise.
25563 * string/strcpy.c: Likewise.
25564 * string/strncat.c: Likewise.
25565 * string/strncmp.c: Likewise.
25566 * string/strncpy.c: Likewise.
25568 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25570 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25571 __builtin_memcopy is called when src and dest ranges are known to not
25574 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25576 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25577 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25578 fwd_align_merge macro call.
25579 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25580 bwd_align_merge macro call.
25581 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25583 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25585 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25586 bwd_align_merge macros.
25587 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25588 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25589 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25591 2012-04-18 David S. Miller <davem@davemloft.net>
25593 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25595 2012-04-18 Andreas Jaeger <aj@suse.de>
25598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25599 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25603 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25604 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25606 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25607 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25608 Adjust for changed ldbl-128 files.
25610 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25611 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25612 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25614 2012-04-17 David S. Miller <davem@davemloft.net>
25616 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25618 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25620 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25621 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25622 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25623 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25624 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25625 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25627 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25630 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25631 * math/libm-test.inc: Add ilogb errno and exception tests.
25632 * math/w_ilogb.c: New file: ilogb wrapper.
25633 * math/w_ilogbf.c: New file: ilogbf wrapper.
25634 * math/w_ilogbl.c: New file: ilogbl wrapper.
25635 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25636 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25637 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25638 exception being thrown with 0.0 as argument.
25639 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25640 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25641 exception being thrown with 0.0 as argument.
25642 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25643 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25644 exception being thrown with 0.0 as argument.
25645 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25646 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25647 exception being thrown with 0.0 as argument.
25648 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25649 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25650 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25651 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25653 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25654 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25655 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25656 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25658 2012-04-17 Petr Baudis <pasky@ucw.cz>
25660 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25663 2012-04-16 Marek Polacek <polacek@redhat.com>
25665 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25667 2012-04-16 Marek Polacek <polacek@redhat.com>
25669 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25670 operands of fdivp instruction.
25672 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25674 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25675 * elf/tst-auditmod3b.c: Likewise.
25676 * elf/tst-auditmod4b.c: Likewise.
25677 * elf/tst-auditmod5b.c: Likewise.
25678 * elf/tst-auditmod6b.c: Likewise.
25679 * elf/tst-auditmod6c.c: Likewise.
25680 * elf/tst-auditmod7b.c: Likewise.
25681 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25682 * sysdeps/x86_64/preconfigure.in: Likewise.
25683 * sysdeps/x86_64/preconfigure: Regenerated.
25685 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25687 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25690 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25692 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25693 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25695 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25698 * locale/iso-639.def: Fix gl language name. Spotted by
25701 2012-04-12 Roland McGrath <roland@hack.frob.com>
25704 * libio/libio.h (__io_write_fn): Update comment.
25706 2012-04-12 Petr Baudis <pasky@ucw.cz>
25709 * stdio.texi (Hook Functions): The user provided writer function
25710 is not allowed to return -1.
25712 2012-04-11 David S. Miller <davem@davemloft.net>
25714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25716 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25718 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25719 Add a leading slash to rtkaio.
25721 2012-04-11 Jim Meyering <meyering@redhat.com>
25724 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25725 It is not necessarily an error to ignore fwrite's return
25726 value. One can reliably use ferror to test for errors after
25729 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25731 * bits/types.h (__snseconds_t): New type.
25732 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25734 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25736 (__SNSECONDS_T_TYPE): Likewise.
25737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25738 (__SNSECONDS_T_TYPE): Likewise.
25739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25740 (__SNSECONDS_T_TYPE): Likewise.
25742 2012-04-10 Andreas Jaeger <aj@suse.de>
25745 * manual/time.texi (Processor Time): Return type of times is
25746 elapsed real time since an arbitrary point in the past.
25747 (CPU Time): Move CLK_TCK from here...
25748 (Processor Time): ...to here. Correct description.
25749 * manual/conf.texi (Constants for Sysconf): Correct description of
25752 2012-04-10 David S. Miller <davem@davemloft.net>
25755 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25756 where the is a gap between DT_REL(A) and DT_JMPREL.
25758 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25760 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25761 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25762 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25764 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25766 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25767 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25768 (dl_main): Handle --inhibit-cache.
25769 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25771 * elf/dl-load.c (_dl_map_object): Use it.
25772 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25774 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25777 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25778 (__ieee754_powl): Saturate large exponents rather than testing for
25779 overflow of y*log2(x).
25780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25781 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25785 * math/s_ctan.c: Include <float.h>.
25786 (__ctan): Avoid internal overflow or cancellation in calculating
25788 * math/s_ctanf.c: Likewise.
25789 * math/s_ctanl.c: Likewise.
25790 * math/s_ctanh.c: Likewise.
25791 * math/s_ctanhf.c: Likewise.
25792 * math/s_ctanhl.c: Likewise.
25793 * math/libm-test.inc (ctan_test): Add more tests.
25794 (ctanh_test): Likewise.
25795 * sysdeps/i386/fpu/libm-test-ulps: Update.
25796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798 2012-04-09 Andreas Jaeger <aj@suse.de>
25801 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25802 is an optional BSD extension.
25805 * manual/stdio.texi (Opening Streams): Document additional fopen
25808 2012-04-09 Roland McGrath <roland@hack.frob.com>
25810 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25811 %eax without telling the compiler.
25813 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25816 * manual/install.texi: Use sourceware.org.
25818 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25821 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25822 (__ieee754_pow): Generate overflow and underflow using huge*huge
25823 and tiny*tiny rather than just returning constant infinity or zero
25824 for large exponents.
25825 * math/libm-test.inc (pow_test): Require overflow exceptions for
25826 applicable cases of large exponents.
25829 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25830 (__ieee754_pow): Use iterative multiplication algorithm only for
25831 integer exponents with absolute value below 1024. Check for odd
25832 integer exponents when using algorithm for real exponents.
25833 * math/libm-test.inc (pow_test): Add more tests.
25834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25836 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25839 * math/libm-test.inc (exp_test): Do not allow overflow exception
25842 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25845 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25846 instead of __kernel_standard_f.
25848 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25850 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25851 * sysdeps/x86_64/memset_chk.S: Likewise.
25853 2012-04-08 Andreas Jaeger <aj@suse.de>
25856 * manual/startup.texi (Environment Access): Describe return value
25857 for putenv and setenv.
25860 * manual/filesys.texi (Directory Entries): Add description for
25864 * manual/filesys.texi (Directory Entries): Clarify that it's file
25865 system not operating system in the description of DT_UNKNOWN.
25868 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25870 2012-04-08 Stephen Compall <s11@member.fsf.org>
25873 * manual/llio.texi (Opening and Closing Files): Add cross
25874 reference to explain mode argument.
25876 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25878 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25879 * sysdeps/x86_64/memset_chk.S: Likewise.
25881 2012-04-07 David S. Miller <davem@davemloft.net>
25883 * elf/elf.h (R_SPARC_WDISP10): Define.
25884 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25887 R_SPARC_SIZE64 and R_SPARC_H34.
25889 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25891 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25892 conditions and remove no longer applicable assertion.
25894 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25896 * bits/byteswap.h: Include <features.h>.
25897 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25898 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25900 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25902 * bits/byteswap.h (__bswap_16): Removed.
25903 Include <bits/byteswap-16.h> to get __bswap_16.
25904 * sysdeps/i386/bits/byteswap.h: Likewise.
25905 * sysdeps/s390/bits/byteswap.h: Likewise.
25906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25907 * bits/byteswap-16.h: New file.
25908 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25909 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25910 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25911 * string/Makefile (headers): Add bits/byteswap-16.h.
25913 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25916 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25918 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25919 * nss/tst-nss-static.c: New.
25921 2012-04-06 Robert Millan <rmh@gnu.org>
25924 * manual/llio.texi (File Position Primitive): lseek
25925 refers to WHENCE when it really means OFFSET.
25927 2012-04-06 Andreas Jaeger <aj@suse.de>
25929 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25930 strncmp declarations.
25932 * abilist/libc.abilist: Add __poll and __ppoll.
25934 2012-04-05 David S. Miller <davem@davemloft.net>
25936 * scripts/check-local-headers.sh: Accept a host triplet in the
25937 path matched by the exclude regexp.
25939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25941 * sysdeps/powerpc/powerpc32/dl-machine.h
25942 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25943 * sysdeps/s390/s390-32/dl-machine.h
25944 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25945 * sysdeps/sparc/sparc32/dl-machine.h
25946 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25947 * sysdeps/sparc/sparc64/dl-machine.h
25948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25950 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25952 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25953 undefined symbol errors.
25955 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25958 2012-04-05 Michael Matz <matz@suse.de>
25961 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25963 2012-04-05 Andreas Jaeger <aj@suse.de>
25966 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25969 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25971 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25972 which ROUND is no valid rounding mode.
25974 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25976 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25978 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25980 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25982 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25983 an exception using FPU order intentionally.
25985 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25987 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25988 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25989 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25990 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25992 2012-04-05 Simon Josefsson <simon@josefsson.org>
25995 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25996 EINVAL when BUFLEN is too smal.
25998 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26001 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26002 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26004 2012-04-03 Andreas Jaeger <aj@suse.de>
26007 * manual/setjmp.texi (System V contexts): Fix sentence.
26010 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26011 New macro for this case.
26012 [!__GNUC__] (__bswap_64): New inline function for this case.
26013 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26014 * bits/byteswap.h: Likewise.
26015 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26016 ull, guard with __GLIBC_HAVE_LONG_LONG.
26018 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26019 __GLIBC_HAVE_LONG_LONG.
26021 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26022 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26024 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26027 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26028 inptr and inend, rather than using last_ch.
26030 2012-04-02 David S. Miller <davem@davemloft.net>
26032 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26033 * stdio-common/printf-parse.h (read_int): Change return type to
26034 'int', return -1 on INT_MAX overflow.
26035 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26036 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26037 overflows INT_MAX. Check for overflow of in-format-string precision
26038 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26039 SIZE_MAX not INT_MAX for integer overflow test.
26040 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26041 skip the construct in the format string but do not record anything.
26042 * stdio-common/bug22.c: Adjust to test both width/prevision
26043 INT_MAX overflow as well as total length INT_MAX overflow. Check
26044 explicitly for proper errno values.
26046 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26048 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26050 * string/test-strcmp.c [! WIDE]: Likewise.
26051 * time/tst-mktime2.c: Likewise for INT_MAX.
26052 * string/test-string.h: #include <sys/param.h> for MIN.
26054 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26055 * sysdeps/i386/init-first.c (init): Likewise.
26056 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26057 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26058 * sysdeps/sh/init-first.c (init): Likewise.
26060 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26062 * po/ru.po: Update from translation team.
26063 * po/vi.po: Likewise.
26065 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26067 * resolv/nss_dns/dns-host.c: Merge copyright years.
26069 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26072 Optimize memcpy with prefetch if
26073 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26074 src, dst pointers have unequal 16 byte alignments.
26076 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26079 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26080 from a CNAME entry and return the minimum ttl for the query.
26081 (gaih_getanswer_slice): Likewise.
26083 2012-03-30 Jeff Law <law@redhat.com>
26085 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26087 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26088 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26090 * resolv/nss_dns/dns-host.c: Update copyright year.
26092 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26094 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26095 requests to save a system call. Fix check that all bytes are sent.
26097 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26098 comments for sendmmsg.
26100 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26103 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26104 with only 1 character between 0x0041 and 0x01b0.
26105 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26106 * wcsmbs/tst-mbsnrtowcs.c: New file.
26108 2012-03-29 David S. Miller <davem@davemloft.net>
26110 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26111 small copies by hand.
26113 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26116 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26117 _nss_compat_initgroups_dyn): Fall back to malloc/free
26118 for large group memberships.
26120 2012-03-28 David S. Miller <davem@davemloft.net>
26122 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26123 that branches into memcpy.
26124 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26127 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26130 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26131 implementation too.
26132 * sysdeps/sparc/mempcpy.S: New file.
26134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26135 the IFUNC routine in the libc case.
26136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26138 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26139 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26140 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26141 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26142 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26143 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26144 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26145 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26147 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26148 loop to 256 bytes instead of 64 bytes and fix test signedness.
26150 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26151 * sysdeps/sparc/sparc32/Makefile: rather than here...
26152 * sysdeps/sparc/sparc64/Makefile: and here.
26154 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26156 * malloc/mallocbug.c: Avoid warnings about unused variables.
26158 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26161 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26162 in the right place. Discard and retry query if response is
26163 larger than input buffer size.
26165 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26170 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26171 x for large integer exponent.
26172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26173 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26174 sign of result as needed afterwards.
26175 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26177 result for underflowing pow the same as for overflow.
26178 (__kernel_standard_l): Handle powl overflow and underflow here
26179 rather than calling __kernel_standard.
26180 * math/libm-test.inc (pow_test): Add more tests.
26195 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26196 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26197 (__kernel_standard_l): New function.
26198 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26200 * math/w_acosl.c (__acosl): Likewise.
26201 * math/w_asinl.c (__asinl): Likewise.
26202 * math/w_atan2l.c (__atan2l): Likewise.
26203 * math/w_atanhl.c (__atanhl): Likewise.
26204 * math/w_coshl.c (__coshl): Likewise.
26205 * math/w_exp10l.c (__exp10l): Likewise.
26206 * math/w_exp2l.c (__exp2l): Likewise.
26207 * math/w_fmodl.c (__fmodl): Likewise.
26208 * math/w_hypotl.c (__hypotl): Likewise.
26209 * math/w_j0l.c (__j0l, __y0l): Likewise.
26210 * math/w_j1l.c (__j1l, __y1l): Likewise.
26211 * math/w_jnl.c (__jnl, __ynl): Likewise.
26212 * math/w_lgammal.c (__lgammal): Likewise.
26213 * math/w_log10l.c (__log10l): Likewise.
26214 * math/w_log2l.c (__log2l): Likewise.
26215 * math/w_logl.c (__logl): Likewise.
26216 * math/w_powl.c (__powl): Likewise.
26217 * math/w_remainderl.c (__remainderl): Likewise.
26218 * math/w_scalbl.c (sysv_scalbl): Likewise.
26219 * math/w_sinhl.c (__sinhl): Likewise.
26220 * math/w_sqrtl.c (__sqrtl): Likewise.
26221 * math/w_tgammal.c (__tgammal): Likewise.
26222 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26223 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26224 * math/libm-test.inc (acos_test): Add more tests.
26225 (acosh_test): Likewise.
26226 (asin_test): Likewise.
26227 (atanh_test): Likewise.
26228 (exp_test): Likewise.
26229 (exp10_test): Likewise.
26230 (exp2_test): Likewise.
26231 (expm1_test): Likewise.
26232 (lgamma_test): Likewise.
26233 (log_test): Likewise.
26234 (log10_test): Likewise.
26235 (log1p_test): Likewise.
26236 (log2_test): Likewise.
26237 (pow_test): Do not allow some spurious overflow exceptions.
26238 (sqrt_test): Add more tests.
26239 (tgamma_test): Likewise.
26240 (y0_test): Likewise.
26241 (y1_test): Likewise.
26242 (yn_test): Likewise.
26244 2012-03-27 Anton Blanchard <anton@samba.org>
26246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26248 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26249 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26250 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26252 2012-03-27 David S. Miller <davem@davemloft.net>
26254 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26256 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26257 have-as-vis3 check.
26259 2012-03-27 Andreas Jaeger <aj@suse.de>
26261 * sysdeps/x86_64/elf/configure.in: Moved to ...
26262 * sysdeps/x86_64/configure.in: ... here.
26263 * sysdeps/x86_64/elf/start.S: Moved to ...
26264 * sysdeps/x86_64/start.S: ... here.
26265 * sysdeps/x86_64/elf/configure: Delete.
26267 * sysdeps/x86_64/configure.in: Merge contents from
26268 sysdeps/i386/configure.in (without i686 check).
26270 * sysdeps/i386/elf/Versions: Merge into ...
26271 * sysdeps/i386/Versions: ... this.
26272 * sysdeps/i386/elf/Versions: Delete file.
26273 * sysdeps/i386/elf/start.S: Moved to ...
26274 * sysdeps/i386/start.S: ...here.
26275 * sysdeps/i386/elf/configure.in: Merge into...
26276 * sysdeps/i386/configure.in: ...here.
26277 * sysdeps/i386/elf/configure.in: Delete file.
26278 * sysdeps/i386/elf/configure: Delete file.
26280 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26281 * debug/backtracesyms.c: ... here.
26282 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26283 * debug/backtracesymsfd.c: ... here.
26284 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26285 * sysdeps/generic/ifunc-sel.h: ... here.
26287 * sysdeps/unix/i386/start.c: Delete file.
26288 * sysdeps/unix/sparc/start.c: Delete file.
26289 * sysdeps/unix/start.c: Delete file.
26291 * sysdeps/sh/elf/configure.in: Moved to ...
26292 * sysdeps/sh/configure.in: ... here.
26293 * sysdeps/sh/elf/start.S: Moved to ...
26294 * sysdeps/sh/start.S: ... here.
26295 * sysdeps/sh/elf/configure: Delete file.
26297 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26298 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26299 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26300 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26301 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26302 * sysdeps/powerpc/powerpc64/start.S: here.
26303 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26304 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26305 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26306 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26307 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26309 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26310 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26311 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26312 * sysdeps/powerpc/powerpc32/start.S: ... here.
26313 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26314 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26315 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26317 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26318 * sysdeps/powerpc/ifunc-sel.h: ... here.
26319 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26320 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26322 * sysdeps/sparc/elf/configure.in: Moved to ...
26323 * sysdeps/sparc/configure.in: ... here.
26324 * sysdeps/sparc/elf/configure: Delete file.
26325 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26326 * sysdeps/sparc/sparc32/start.S: ... here.
26327 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26328 * sysdeps/sparc/sparc64/start.S: ... here.
26329 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26330 * sysdeps/sparc/sparc32/Makefile: ... this.
26331 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26332 * sysdeps/sparc/sparc64/Makefile: ... this.
26334 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26335 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26336 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26337 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26338 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26339 * sysdeps/s390/s390-32/setjmp.S: ... here.
26340 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26341 * sysdeps/s390/s390-32/configure.in: ... here.
26342 * sysdeps/s390/s390-32/elf/configure: Delete file.
26343 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26344 * sysdeps/s390/s390-32/start.S: ... here.
26346 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26347 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26348 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26349 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26350 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26351 * sysdeps/s390/s390-64/setjmp.S: ... here.
26352 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26353 * sysdeps/s390/s390-64/configure.in: ... here
26354 * sysdeps/s390/s390-64/elf/configure: Delete file.
26355 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26356 * sysdeps/s390/s390-64/start.S: ... here.
26357 * sysdeps/s390/s390-64/elf/configure: Delete.
26359 * configure.in: Remove support for elf directories in sysdeps.
26361 * configure: Regenerated.
26362 * sysdeps/i386/configure: Regenerated.
26363 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26364 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26365 * sysdeps/s390/s390-32/configure: Regenerated.
26366 * sysdeps/s390/s390-64/configure: Regenerated.
26367 * sysdeps/sh/configure: Regenerated.
26368 * sysdeps/sparc/configure: Regenerated.
26369 * sysdeps/x86_64/configure: Regenerated.
26371 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26375 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26376 denormal result into account.
26378 2012-03-25 Roland McGrath <roland@hack.frob.com>
26380 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26381 Reported by Allan McRae <allan@archlinux.org>.
26383 2012-03-23 Jeff Law <law@redhat.com>
26385 * nss/getnssent.c (__nss_getent): Fix typo.
26387 2012-03-23 David S. Miller <davem@davemloft.net>
26389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26391 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26393 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26394 to pad to uint64_t for each field.
26395 (dl_tls_index): Replace unsigned long with uint64_t.
26397 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26398 Paul Pluzhnikov <ppluzhnikov@google.com>
26401 * grp/Makefile (otherlibs): Don't set it.
26402 * inet/Makefile (otherlibs): Likewise.
26403 * login/Makefile (otherlibs): Likewise.
26404 * nscd/Makefile (otherlibs): Likewise.
26405 * posix/Makefile (otherlibs): Likewise.
26406 * pwd/Makefile (otherlibs): Likewise.
26407 * rt/Makefile (otherlibs): Likewise.
26408 * sunrpc/Makefile (otherlibs): Likewise.
26409 * nss/Makefile (otherlibs): Likewise.
26410 Add libnss_files to routines and static-only-routines.
26411 ($(objpfx)getent): Remove rule.
26412 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26413 static-only-routines.
26415 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26418 * math/s_cexp.c: Include <float.h>.
26419 (__cexp): Handle exp result overflowing not necessarily
26420 overflowing both real and imaginary parts of result.
26421 * math/s_cexpf.c: Likewise.
26422 * math/s_cexpl.c: Likewise.
26423 * math/libm-test.inc (cexp_test): Add more tests.
26424 * sysdeps/i386/fpu/libm-test-ulps: Update.
26425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26427 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26429 * include/link.h (ELFW): New macro.
26430 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26431 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26433 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26435 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26438 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26440 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26442 (struct La_x32_retval): Likewise.
26444 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26446 * sysdeps/x86_64/preconfigure.in: New file.
26447 * sysdeps/x86_64/preconfigure: New generated file.
26449 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26452 * math/e_exp2l.c: Include <float.h>.
26453 (__ieee754_exp2l): Handle overflow and underflow cases
26454 separately. Only pass fractional part of argument to
26456 * math/libm-test.inc (exp2_test): Add more tests.
26458 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26459 negating x to take absolute value.
26460 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26465 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26466 computing low part if x was negated.
26467 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26469 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26471 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26472 la_x32_gnu_pltexit.
26473 (pltexit): Cast int_retval to ptrdiff_t.
26474 * elf/tst-auditmod3b.c: Likewise.
26475 * elf/tst-auditmod4b.c: Likewise.
26476 * elf/tst-auditmod5b.c: Likewise.
26477 * elf/tst-auditmod6b.c: Likewise.
26478 * elf/tst-auditmod6c.c: Likewise.
26479 * elf/tst-auditmod7b.c: Likewise.
26481 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26482 and x32_gnu_pltexit.
26484 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26485 __ELF_NATIVE_CLASS.
26486 (La_x32_regs): New macro.
26487 (La_x32_retval): Likewise.
26488 (la_x32_gnu_pltenter): New function prototype.
26489 (la_x32_gnu_pltexit): Likewise.
26491 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26498 * configure.in (libc_cv_cc_nofma): Check for option to disable
26499 generation of FMA instructions.
26500 * configure: Regenerate.
26501 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26502 * sysdeps/ieee754/dbl-64/Makefile: New file.
26503 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26504 Remove brandred-fma4.
26505 (CFLAGS-brandred-fma4.c): Remove.
26506 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26507 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26509 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26512 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26514 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26515 LLONG_MAX != LONG_MAX.
26516 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26517 (_fitoa_word): Likewise.
26518 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26519 LLONG_MAX != LONG_MAX.
26520 * stdio-common/_itowa.h: Include <_itoa.h>.
26521 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26522 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26523 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26524 only if not defined.
26525 (_ITOA_WORD_TYPE): Likewise.
26526 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26527 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26529 2012-03-21 David S. Miller <davem@davemloft.net>
26531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26533 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26535 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26536 of x86_64 when setting libc_cv_slibdir, libdir and
26538 * sysdeps/unix/sysv/linux/configure: Regenerated.
26540 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26542 * manual/lang.texi (Old Varargs): Remove section.
26543 (How Variadic): Update menu.
26544 (va_start): Do not mention varargs.h.
26546 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26547 Joseph Myers <joseph@codesourcery.com>
26549 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26551 * configure: Regenerated.
26553 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26555 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26556 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26559 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26562 * Makefile (files-for-dist): Remove NOTES.
26563 (NOTES): Remove rule.
26564 * README: Don't refer to NOTES.
26565 * manual/creature.texi: Don't include macros.texi.
26566 * manual/intro.texi (creature.texi): Remove comment referring to
26569 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26570 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26571 * configure: Regenerated.
26572 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26573 LIBC_TRY_CC_OPTION.
26574 (libc_cv_as_i686): Likewise.
26575 (libc_cv_cc_avx): Likewise.
26576 (libc_cv_cc_sse2avx): Likewise.
26577 (libc_cv_cc_fma4): Likewise.
26578 (libc_cv_cc_novzeroupper): Likewise.
26579 * sysdeps/i386/configure: Regenerated.
26582 * sysdeps/i386/fpu/s_cexp.S: Remove.
26583 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26584 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26585 * math/libm-test.inc (cexp_test): Add more tests.
26586 * sysdeps/i386/fpu/libm-test-ulps: Update.
26587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26589 2012-03-21 Allan McRae <allan@archlinux.org>
26591 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26593 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26596 * math/w_exp2.c: Do not include <float.h>.
26597 (o_threshold, u_threshold): Remove.
26598 (__exp2): Calculate result before checking finiteness and calling
26600 * math/w_exp2f.c: Likewise.
26601 * math/w_exp2l.c: Likewise.
26602 * math/libm-test.inc (exp2_test): Require overflow exception for
26606 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26607 range of signed 64-bit integers before using fistpll. Remove
26608 checks for whether integers fit in mantissa bits.
26609 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26610 the range of signed 32-bit integers before using fistpl. Remove
26611 checks for whether integers fit in mantissa bits.
26612 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26613 (__ieee754_powl): Test for y outside the range of signed 64-bit
26614 integers before using fistpll. Reduce 64-bit values to 63-bit
26616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26617 divide-by-zero is raised for zero to large negative powers.
26618 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26619 (__ieee754_powl): Test for y outside the range of signed 64-bit
26620 integers before using fistpll. Reduce 64-bit values to 63-bit
26622 * math/libm-test.inc (pow_test): Add more tests.
26624 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26626 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26627 <stdio-common/_itoa.h>.
26628 * debug/segfault.c: Likewise.
26629 * elf/dl-cache.c: Likewise.
26630 * elf/dl-minimal.c: Likewise.
26631 * elf/dl-misc.c: Likewise.
26632 * elf/dl-sysdep.c: Likewise.
26633 * elf/dl-version.c: Likewise.
26634 * elf/rtld.c: Likewise.
26635 * hurd/hurdsock.c: Likewise.
26636 * hurd/lookup-retry.c: Likewise.
26637 * malloc/malloc.c: Likewise.
26638 * malloc/mtrace.c: Likewise.
26639 * nscd/nscd_getgr_r.c: Likewise.
26640 * nscd/nscd_getpw_r.c: Likewise.
26641 * nscd/nscd_getserv_r.c: Likewise.
26642 * posix/getopt_init.c: Likewise.
26643 * posix/wordexp.c: Likewise.
26644 * stdio-common/_itoa.c: Likewise.
26645 * stdio-common/printf_fphex.c: Likewise.
26646 * stdio-common/vfprintf.c: Likewise.
26647 * string/_strerror.c: Likewise.
26648 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26649 * sysdeps/i386/i686/hp-timing.h: Likewise.
26650 * sysdeps/mach/_strerror.c: Likewise.
26651 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26652 * sysdeps/mach/hurd/sethostid.c: Likewise.
26653 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26654 * sysdeps/mach/xpg-strerror.c: Likewise.
26655 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26657 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26658 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26659 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26660 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26661 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26662 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26663 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26664 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26665 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26666 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26667 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26668 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26669 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26670 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26671 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26672 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26673 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26674 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26675 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26677 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26679 * stdio-common/_itoa.h: Moved to ...
26680 * sysdeps/generic/_itoa.h: Here.
26682 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26684 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26685 instead of "_itoa.h" and "_itowa.h".
26686 * stdio-common/vfprintf.: Likewise.
26688 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26690 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26692 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26693 (__signbit): Likwise.
26694 (llrintf): Likwise.
26697 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26699 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26702 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26704 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26705 OVERFLOW_EXCEPTION_OK.
26706 * math/libm-test.inc ("Philosophy"): Update comment about
26708 (OVERFLOW_EXCEPTION): Define.
26709 (OVERFLOW_EXCEPTION_OK): Likewise.
26710 (INVALID_EXCEPTION_OK): Renumber.
26711 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26712 (IGNORE_ZERO_INF_SIGN): Likewise.
26713 (test_exceptions): Handle FE_OVERFLOW.
26714 (exp10_test): Expect overflow exceptions.
26715 (exp2_test): Likewise.
26716 (expm1_test): Likewise.
26717 (nextafter_test): Likewise.
26718 (pow_test): Likewise.
26719 (scalbn_test): Likewise.
26720 (scalbln_test): Likewise.
26722 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26724 * sysdeps/x86_64/bits/atomic.h
26725 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26727 (atomic_exchange_acq): Likewise.
26728 (__arch_exchange_and_add_body): Likewise.
26729 (__arch_add_body): Likewise.
26730 (atomic_add_negative): Likewise.
26731 (atomic_add_zero): Likewise.
26733 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26735 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26736 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26738 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26740 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26741 Check __x86_64__ instead of __WORDSIZE.
26743 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26745 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26747 2012-03-19 David S. Miller <davem@davemloft.net>
26749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26751 * sysdeps/sparc/fpu/fenv_private.h: New file.
26752 * sysdeps/sparc/fpu/math_private.h: Use it.
26753 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26755 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26756 (libc_feholdexcept_setroundl): Remove.
26757 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26759 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26760 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26762 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26764 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26765 int64_t instead of long int.
26766 (INSERT_WORDS64): Likwise.
26768 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26770 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26771 _Unwind_GetCFA return to _Unwind_Ptr first.
26773 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26776 * math/s_clog.c: Include <float.h>.
26777 (__clog): Scale large or subnormal inputs.
26778 * math/s_clogf.c: Likewise.
26779 * math/s_clogl.c: Likewise.
26780 * math/s_clog10.c: Include <float.h>.
26781 (M_LOG10_2): Define.
26782 (__clog10): Scale large or subnormal inputs.
26783 * math/s_clog10f.c: Likewise.
26784 * math/s_clog10l.c: Likewise.
26785 * math/libm-test.inc (clog_test): Add more tests.
26786 (clog10_test): Likewise.
26787 * sysdeps/i386/fpu/libm-test-ulps: Update.
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26791 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26793 * math/libm-test.inc (atan2_test): Add another test.
26795 * Makerules (common-objdir-compile): Remove.
26796 * sysdeps/unix/Makefile (config-generated): Do not add
26797 $(unix-generated) to variable.
26798 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26799 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26801 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26803 [generic bits/local_lim.h] (before-compile): Do not append to
26805 [generic bits/local_lim.h] (common-generated): Likewise.
26806 [generic sys/param.h] (before-compile): Do not append to variable.
26807 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26808 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26809 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26810 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26812 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26813 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26814 [generic sys/param.h] ($(addprefix
26815 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26816 [generic sys/param.h] (common-generated): Do not append to
26818 [generic sys/param.h] (sysdep_headers): Likewise.
26819 [generic bits/errno.h] (before-compile): Do not append to
26821 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26823 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26824 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26825 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26826 [generic bits/errno.h] (common-generated): Do not append to
26828 [generic bits/ioctls.h] (before-compile): Do not append to
26830 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26832 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26833 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26834 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26836 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26837 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26838 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26839 [generic bits/ioctls.h] (common-generated): Do not append to
26841 [generic sys/syscall.h] (syscall.h): Remove variable.
26842 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26844 [generic sys/syscall.h] (before-compile): Do not append to
26846 [generic sys/syscall.h] (common-generated): Likewise.
26847 * sysdeps/unix/errnos-tmpl.c: Remove file.
26848 * sysdeps/unix/errnos.awk: Likewise.
26849 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26850 * sysdeps/unix/ioctls.awk: Likewise.
26851 * sysdeps/unix/mk-local_lim.c: Likewise.
26852 * sysdeps/unix/snarf-ioctls: Likewise.
26854 2012-03-19 Richard Henderson <rth@twiddle.net>
26856 * sysdeps/i386/fpu/fenv_private.h: New file.
26857 * sysdeps/i386/fpu/math_private.h: Use it.
26858 (math_opt_barrier, math_force_eval): Remove.
26859 (libc_feholdexcept_setround_53bit): Remove.
26860 (libc_feupdateenv_53bit): Remove.
26861 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26862 (math_opt_barrier, math_force_eval): Remove.
26863 (libc_feholdexcept): Remove.
26864 (libc_feholdexcept_setround): Remove.
26865 (libc_fetestexcept, libc_fesetenv): Remove.
26866 (libc_feupdateenv_test): Remove.
26867 (libc_feupdateenv, libc_feholdsetround): Remove.
26868 (libc_feresetround): Remove.
26870 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26871 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26873 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26874 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26875 (libc_feupdateenv_testl): New.
26876 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26877 (libc_feupdateenv_testf): New.
26878 (libc_feupdateenv): Use libc_feupdateenv_test.
26879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26882 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26883 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26884 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26885 (libc_feresetround_noex): New.
26886 (libc_feresetround_noexf): New.
26887 (libc_feresetround_noexl): New.
26888 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26889 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26890 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26891 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26896 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26898 SET_RESTORE_ROUND_NOEX.
26899 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26900 SET_RESTORE_ROUND_NOEXF.
26901 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26902 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26903 (libc_feholdsetroundf): New.
26904 (libc_feresetround, libc_feresetroundf): New.
26906 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26907 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26908 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26910 * sysdeps/generic/math_private.h: Include <fenv.h>.
26911 (default_libc_feholdexcept): New.
26912 (default_libc_feholdexcept_setround): New.
26913 (default_libc_fesetenv, default_libc_feupdateenv): New.
26914 (libc_feholdexcept): Only define if undefined.
26915 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26916 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26917 (libc_feholdexcept_setroundl): Likewise.
26918 (libc_feholdexcept_setround_53bit): Likewise.
26919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26920 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26921 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26922 (libc_feupdateenv_53bit): Likewise.
26923 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26924 (libc_feholdexcept): Convert from macro to inline function.
26925 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26926 (libc_fesetenv, libc_feupdateenv): Likewise.
26928 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26929 not previously defined.
26930 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26931 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26932 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26933 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26934 * sysdeps/ieee754/flt-32/math_private.h: New file.
26935 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26936 math_private.h below SET_FLOAT_WORD.
26937 (__isnan, __isinf_ns, __finite): Remove.
26938 (__isnanf, __isinf_nsf, __finitef): Remove.
26940 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26944 2012-03-17 David S. Miller <davem@davemloft.net>
26947 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26950 2012-03-16 David S. Miller <davem@davemloft.net>
26952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26956 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26958 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26959 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26960 sysdep_routines when subdir is sysvipc.
26961 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26962 __getshmlba helper.
26964 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26966 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26968 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26971 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26974 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26975 (__lround): Renamed to ...
26976 (__llround): This. Replace long int with long long int.
26977 Define lround functions as aliases of llround functions.
26978 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26980 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26982 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26983 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26984 adresses to uintptr_t. Replace "long int" and "unsigned long
26985 int" with "greg_t" on va_arg.
26987 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26989 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26990 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26992 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26993 Move e_machine check before EI_CLASS check. Handle x32
26994 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26995 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26996 SKIP_EM_IA_64 and include
26997 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26999 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27000 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27001 (add_system_dir): New macro.
27003 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27004 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27006 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27017 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27019 * math/w_j0f.c (j0f): Likewise.
27021 * math/w_j0l.c (__j0l): Likewise.
27023 * math/w_j1.c (j1): Likewise.
27025 * math/w_j1f.c (j1f): Likewise.
27027 * math/w_j1l.c (__j1l): Likewise.
27029 * math/w_jn.c (jn): Likewise.
27031 * math/w_jnf.c (jnf): Likewise.
27033 * math/w_jnl.c (__jnl): Likewise.
27035 * math/libm-test.inc (j0_test): Add more tests.
27036 (j1_test): Likewise.
27037 (jn_test): Likewise. Add trailing semicolon to existing test.
27038 (y0_test): Likewise.
27039 (y1_test): Likewise.
27040 * sysdeps/i386/fpu/libm-test-ulps: Update.
27041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27045 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27046 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27047 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27048 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27049 (__tanl): Set errno for infinite argument.
27050 * sysdeps/i386/fpu/mptan.c: Remove.
27051 * sysdeps/i386/fpu/s_tan.S: Likewise.
27052 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27053 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27054 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27055 * math/libm-test.inc (tan_test): Add more tests and enable more
27056 tests for double and long double.
27057 * sysdeps/i386/fpu/libm-test-ulps: Update.
27058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27060 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27062 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27063 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27065 2012-03-16 Roland McGrath <roland@hack.frob.com>
27067 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27068 * configure.in: Use it for both main tree and add-ons.
27069 * configure: Regenerated.
27071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27073 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27075 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27081 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27082 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27087 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27089 != 0 for prec == 2.
27090 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27091 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27092 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27093 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27094 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27095 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27096 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27097 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27098 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27099 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27100 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27101 * math/libm-test.inc (cos_test): Add more tests and enable more
27102 tests for long double.
27103 (sin_test): Likewise.
27104 (sincos_test): Likewise.
27105 * sysdeps/i386/fpu/libm-test-ulps: Update.
27106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27108 2012-03-16 David S. Miller <davem@davemloft.net>
27110 * sysdeps/sparc/fpu/math_private.h: New file.
27112 2012-03-15 David S. Miller <davem@davemloft.net>
27114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27124 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27128 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27129 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27131 * sysdeps/sparc/sparc-ifunc.h: New file.
27132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27177 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27179 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27183 2012-03-15 Andreas Jaeger <aj@suse.de>
27186 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27187 ieee754/flt-32 implementation for sin, cos and sincos.
27188 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27189 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27190 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27191 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27192 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27193 ieee754/flt-32 implementation for tan.
27195 * math/libm-test.inc (cos_test): Enable some large input tests for
27197 (sin_test): Likewise.
27198 (sincos_test): Likewise.
27199 (tan_test): Add tests for large input.
27201 * sysdeps/i386/fpu/libm-test-ulps: Update.
27203 2012-03-15 Andreas Jaeger <aj@suse.de>
27206 * math/libm-test.inc (cos_test): Add more test cases.
27207 (sin_test): Likewise.
27208 (sincos_test): Likewise.
27210 2012-03-15 Andreas Jaeger <aj@suse.de>
27213 * math/libm-test.inc (cos_test): Add a test case for large input
27215 (sin_test): Likewise.
27216 (sincos_test): Likewise.
27218 2012-03-15 Andreas Jaeger <aj@suse.de>,
27219 Joseph Myers <joseph@codesourcery.com>
27222 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27223 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27224 * sysdeps/i386/fpu/branred.c: Likewise.
27225 * sysdeps/i386/fpu/dosincos.c: Likewise.
27226 * sysdeps/i386/fpu/mpa.c: Likewise.
27227 * sysdeps/i386/fpu/s_cos.S: Likewise.
27228 * sysdeps/i386/fpu/s_sin.S: Likewise.
27229 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27230 * sysdeps/i386/fpu/sincos32.c: Likewise.
27232 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27234 (libc_feupdateenv_53bit): Define.
27235 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27237 (libc_feupdateenv_53bit): Define.
27239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27240 53 bit (without extend i386 double precision).
27242 * math/libm-test.inc (sincos_test): Add tests for large input.
27246 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27248 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27252 2012-03-15 David S. Miller <davem@davemloft.net>
27254 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27255 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27256 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27257 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27282 fmin/fmax sysdep routines.
27283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27285 2012-03-14 David S. Miller <davem@davemloft.net>
27287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27359 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27364 * sysdeps/sparc/configure.in: New file.
27365 * sysdeps/sparc/configure: Generate.
27366 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27367 * configure: Regenerate.
27368 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27369 * config.make.in (have-as-vis3): New.
27370 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27371 available use -Av9d instead of -Av9a.
27372 * sysdeps/sparc/sparc64/Makefile: Likewise.
27373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27388 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27389 fzeros/fnegs to load 0x80000000 into a float register instead of
27391 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27393 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27397 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27398 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27399 ($(inst_includedir)/bits/syscall.h): Remove rule.
27400 ($(objpfx)bits/syscall.d): Include instead of
27401 $(objpfx)syscall-list.d.
27402 (generated): Change syscall-list.h and syscall-list.d to
27403 bits/syscall.h and bits/syscall.d.
27405 2012-03-14 Roland McGrath <roland@hack.frob.com>
27408 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27410 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27413 * math/s_csqrt.c: Include <float.h>.
27414 (__csqrt): Scale large or subnormal inputs.
27415 * math/s_csqrtf.c: Likewise.
27416 * math/s_csqrtl.c: Likewise.
27417 * math/libm-test.inc (csqrt_test): Add more tests.
27418 * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27422 * math/libm-test.inc (hypot_test): Add more tests.
27424 2012-03-13 David S. Miller <davem@davemloft.net>
27427 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27428 double-precision for the calculation instead of scaling.
27430 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27432 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27433 manipulate bits before adding and subtracting TWO52[sx].
27434 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27435 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27437 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27439 2012-03-13 David S. Miller <davem@davemloft.net>
27441 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27442 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27444 rtld-global-offsets.h
27445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27447 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27450 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27452 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27453 'err' in the ifdef scope in which it is actually used.
27455 * nss/nss_db/db-init.c: Include string.h
27457 2012-03-12 David S. Miller <davem@davemloft.net>
27459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27460 masking out of the most significant byte of random value used.
27461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27462 Fix coding style in previous change.
27464 * sysdeps/unix/sysv/linux/kernel-features.h
27465 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27466 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27468 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27471 2012-03-11 David S. Miller <davem@davemloft.net>
27473 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27474 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27476 for 'resultvar' otherwise things get truncated on 64-bit.
27478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27479 Fix masking out of the most significant byte of random value used.
27481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27483 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27487 2012-03-09 David S. Miller <davem@davemloft.net>
27489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27490 variables with appropriate CPP guards.
27491 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27492 frame pointer, not the stack pointer. Correct layout comments. Fix test
27493 on resulting framesize and the management of the outregs buffer for pltexit.
27494 Preserve floating point return values across _dl_call_pltexit call.
27495 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27496 framesize and the management of the outregs buffer for pltexit.
27497 Preserve floating point return values across _dl_call_pltexit
27499 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27500 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27501 (print_exit): Fix format string for return register value.
27503 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27505 * sunrpc/Makefile (others): Add rpcgen.
27506 ($(objpfx)rpcgen): Remove special build rule and dependency on
27508 * sunrpc/rpcgen.c: New file.
27510 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27513 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27514 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27515 * sysdeps/i386/crti.S: Likewise.
27516 * sysdeps/i386/crtn.S: Likewise.
27517 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27518 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27519 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27520 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27521 * sysdeps/sh/crti.S: Likewise.
27522 * sysdeps/sh/crtn.S: Likewise.
27523 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27526 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27528 * locale/programs/locfile-kw.gperf: Likewise.
27529 * locale/programs/charmap-kw.h: Regenerated.
27530 * locale/programs/locfile-kw.h: Likewise.
27533 * intl/plural.y: Replace FSF snail mail address with URL.
27534 * intl/plural.c: Regenerated.
27536 2012-03-09 Richard Henderson <rth@twiddle.net>
27538 * include/math_private.h: Remove file.
27539 * math/math_private.h: Move file ...
27540 * sysdeps/generic/math_private.h: ... here.
27542 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27543 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27544 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27546 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27547 and <math_private.h>.
27548 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27549 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27550 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27551 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27552 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27563 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27565 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27566 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27567 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27569 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27570 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27572 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27573 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27580 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27581 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27582 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27583 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27584 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27585 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27586 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27587 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27589 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27590 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27591 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27592 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27593 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27594 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27595 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27596 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27598 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27601 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27602 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27603 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27604 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27608 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27620 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27627 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27628 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27629 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27630 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27631 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27636 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27637 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27638 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27639 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27641 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27642 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27643 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27644 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27645 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27646 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27647 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27648 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27649 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27650 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27651 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27653 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27654 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27655 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27660 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27661 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27662 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27663 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27664 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27665 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27666 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27667 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27668 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27669 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27670 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27671 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27672 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27673 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27675 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27676 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27677 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27678 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27679 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27680 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27681 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27682 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27683 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27684 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27685 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27686 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27687 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27688 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27689 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27690 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27691 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27692 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27693 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27694 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27695 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27696 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27697 * sysdeps/ieee754/k_standard.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27775 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27782 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27784 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27788 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27813 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27817 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27818 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27819 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27820 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27825 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27830 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27840 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27847 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27848 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27849 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27852 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27853 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27858 * sysdeps/ieee754/s_lib_version.c: Likewise.
27859 * sysdeps/ieee754/s_matherr.c: Likewise.
27860 * sysdeps/ieee754/s_signgam.c: Likewise.
27861 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27862 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27863 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27864 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27865 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27866 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27867 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27868 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27869 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27870 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27871 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27872 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27873 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27874 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27875 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27876 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27877 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27879 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27883 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27885 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27886 * sunrpc/rpc_main.c: Likewise.
27887 * sunrpc/rpc_svcout.c: Likewise.
27889 2012-03-09 David S. Miller <davem@davemloft.net>
27891 * include/math_private.h: New file.
27893 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27895 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27896 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27897 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27898 from <bits/socket_type.h>.
27899 (enum __socket_type): Don't define here.
27900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27902 bits/socket_type.h.
27905 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27906 checking __USE_GNU.
27908 * Makerules ($(inst_includedir)/%.h): New rule.
27909 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27910 (install-others): Remove variable setting.
27911 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27913 2012-03-08 Richard Henderson <rth@twiddle.net>
27915 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27916 from macro to inline function; merge with the
27917 !__LIBC_INTERNAL_MATH_INLINES version.
27918 (__ieee754_sqrtf): Likewise.
27920 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27921 to inline function.
27922 (__rintf, __floor, __floorf): Likewise.
27924 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27925 macro to inline function.
27926 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27928 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27929 not <math/math_private.h>.
27931 2012-03-08 David S. Miller <davem@davemloft.net>
27933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27935 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27937 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27939 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27941 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27942 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27944 2012-03-08 Ulrich Drepper <drepper@gmail.com>
27946 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27947 be defined individually, they must be defined as a block. Define
27948 S for printing a string instead of hidint the different by using a
27949 macro for adding the 'l'.
27950 * stdio-common/tst-fphex-wide.c: Adjust.
27952 2012-03-07 Marek Polacek <polacek@redhat.com>
27954 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27956 2012-03-08 Marek Polacek <polacek@redhat.com>
27959 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27960 * stdio-common/tst-fphex.c: Define a few macros to make the
27961 test reusable. Use them.
27962 * stdio-common/tst-fphex-wide.c: New file.
27964 2012-03-08 Joseph Myers <joseph@codesourcery.com>
27967 * manual/macros.texi (gnusystems): New macro.
27968 (nongnusystems): Likewise.
27969 (gnulinuxhurdsystems): Likewise.
27970 (gnuhurdsystems): Likewise..
27971 (gnulinuxsystems): Likewise.
27972 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27973 variants of the GNU system, not "GNU system".
27974 * manual/conf.texi: Likewise.
27975 * manual/errno.texi: Likewise. Update example of errno macro
27977 * manual/filesys.texi: Likewise.
27978 (getumask): Document as specific to GNU/Hurd.
27979 * manual/install.texi: Likewise. Reword some references to
27981 * manual/intro.texi: Likewise.
27982 * manual/io.texi: Likewise.
27983 (File Name Portability): Detail which constraints are inapplicable
27984 to all GNU systems and which are only inapplicable to GNU/Hurd.
27985 * manual/job.texi: Likewise.
27986 * manual/llio.texi: Likewise.
27987 (O_NOCTTY): Document as present on GNU/Linux.
27988 * manual/maint.texi: Likewise.
27989 * manual/memory.texi: Likewise.
27990 * manual/pattern.texi: Likewise.
27991 * manual/pipe.texi: Likewise.
27992 * manual/process.texi: Likewise.
27993 * manual/resource.texi: Likewise.
27994 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27996 * manual/setjmp.texi: Likewise.
27997 * manual/signal.texi: Likewise.
27998 * manual/startup.texi: Likewise.
27999 * manual/stdio.texi: Likewise.
28000 * manual/terminal.texi: Likewise.
28001 (ONLCR): Document as POSIX.
28002 (OXTABS): Document availability on GNU/Linux as XTABS.
28003 (ONOEOT): Document availability separately from other bits.
28004 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28005 * manual/time.texi: Likewise.
28006 * manual/users.texi: Likewise.
28007 * INSTALL: Regenerated.
28008 * sysdeps/gnu/errlist.c: Regenerated.
28010 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28011 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28012 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28014 * configure: Regenerated.
28016 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28018 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28019 default includes instead of AC_HEADER_CHECK.
28020 * sysdeps/i386/configure: Regenerated.
28023 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28024 * math/s_cacoshf.c (__cacoshf): Likewise.
28025 * math/s_cacoshl.c (__cacoshl): Likewise.
28026 * math/s_casinh.c (__casinh): Set signs of result from argument.
28027 * math/s_casinhf.c (__casinhf): Likewise.
28028 * math/s_casinhl.c (__casinhl): Likewise.
28029 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28030 (casinh_test): Add more tests.
28031 * sysdeps/i386/fpu/libm-test-ulps: Update.
28032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28034 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28036 * po/zh_TW.po: Update from translation team.
28038 * login/Makefile (distribute): Remove variable.
28039 * catgets/Makefile: Likewise.
28040 * mach/Makefile: Likewise.
28041 * malloc/Makefile: Likewise.
28042 * misc/Makefile: Likewise.
28043 * iconv/Makefile: Likewise.
28044 * nscd/Makefile: Likewise.
28045 * hurd/Makefile: Likewise.
28046 * manual/Makefile: Likewise.
28047 * locale/Makefile: Likewise.
28048 * intl/Makefile: Likewise.
28049 * conform/Makefile: Likewise.
28050 * nss/Makefile: Likewise.
28051 * time/Makefile: Likewise.
28052 * soft-fp/Makefile: Likewise.
28053 * dirent/Makefile: Likewise.
28054 * gmon/Makefile: Likewise.
28055 * po/Makefile: Likewise.
28056 * rt/Makefile: Likewise.
28057 * socket/Makefile: Likewise.
28058 * math/Makefile: Likewise.
28059 * signal/Makefile: Likewise.
28060 * debug/Makefile: Likewise.
28061 * elf/Makefile: Likewise.
28062 * timezone/Makefile: Likewise.
28063 * stdlib/Makefile: Likewise.
28064 * iconvdata/Makefile: Likewise.
28065 * sunrpc/Makefile: Likewise.
28066 * io/Makefile: Likewise.
28067 * argp/Makefile: Likewise.
28068 * inet/Makefile: Likewise.
28069 * hesiod/Makefile: Likewise.
28070 * grp/Makefile: Likewise.
28071 * csu/Makefile: Likewise.
28072 * wctype/Makefile: Likewise.
28073 * crypt/Makefile: Likewise.
28074 * libio/Makefile: Likewise.
28075 * string/Makefile: Likewise.
28076 * nis/Makefile: Likewise.
28077 * resolv/Makefile: Likewise.
28078 * stdio-common/Makefile: Likewise.
28079 * wcsmbs/Makefile: Likewise.
28080 * dlfcn/Makefile: Likewise.
28081 * posix/Makefile: Likewise.
28084 * timezone/Makefile: Don't install timezone files, just the programs
28087 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28089 * nss/databases.def: Add missing gshadow entry.
28091 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28093 2012-03-06 Marek Polacek <polacek@redhat.com>
28096 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28097 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28098 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28099 * stdio-common/tst-long-dbl-fphex.c: New file.
28101 2012-03-06 David S. Miller <davem@davemloft.net>
28103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28104 (set_obp_int): New function.
28105 (get_obp_int): New function.
28106 (__get_clockfreq_via_dev_openprom): Likewise.
28107 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28108 Avoid unused variable warnings on 'val' and use builtin_expect.
28109 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28111 (INLINE_CLONE_SYSCALL): Likewise.
28113 2012-03-05 David S. Miller <davem@davemloft.net>
28115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28117 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28122 only for |x| >= 40.
28123 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28125 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28128 Replace gettimeofday with __vdso_gettimeofday.
28130 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28131 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28132 __vdso_clock_gettime and __vdso_getcpu.
28134 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28135 time with __vdso_time.
28137 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28139 * manual/lang.texi (size_t): Note types to which size_t may be
28140 equivalent with the GNU C Library, but do not describe when
28141 differences between them are significant.
28143 2012-03-05 Andreas Jaeger <aj@suse.de>
28145 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28150 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28151 (__ieee754_pow): Save and restore rounding mode and use
28152 round-to-nearest for main computations.
28153 * math/libm-test.inc (pow_test_tonearest): New function.
28154 (pow_test_towardzero): Likewise.
28155 (pow_test_downward): Likewise.
28156 (pow_test_upward): Likewise.
28157 (main): Call the new functions.
28158 * sysdeps/i386/fpu/libm-test-ulps: Update.
28159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28162 * math/libm-test.inc (cosh_test_tonearest): New function.
28163 (cosh_test_towardzero): Likewise.
28164 (cosh_test_downward): Likewise.
28165 (cosh_test_upward): Likewise.
28166 (sinh_test_tonearest): Likewise.
28167 (sinh_test_towardzero): Likewise.
28168 (sinh_test_downward): Likewise.
28169 (sinh_test_upward): Likewise.
28170 (main): Call the new functions.
28171 * sysdeps/i386/fpu/libm-test-ulps: Update.
28172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28174 2012-03-05 Tom de Vries <tom@codesourcery.com>
28176 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28177 default stack guard is set in last bytes.
28178 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28180 2012-03-05 Kees Cook <keescook@chromium.org>
28182 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28185 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28186 possibly allocate from heap instead of stack.
28187 * stdio-common/bug-vfprintf-nargs.c: New file.
28188 * stdio-common/Makefile (tests): Add nargs overflow test.
28190 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28194 2012-03-03 Marek Polacek <polacek@redhat.com>
28196 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28197 * math/math_private.h: Likewise.
28198 * stdlib/tst-strtod.c: Likewise.
28199 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28200 * sysdeps/x86_64/bits/atomic.h: Likewise.
28202 2012-03-02 David S. Miller <davem@davemloft.net>
28204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28208 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28209 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28210 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28211 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28213 2012-03-02 Roland McGrath <roland@hack.frob.com>
28216 * manual/examples/README: New file, says the example source files
28217 can be used under GPL>=2.
28218 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28219 line containing just "*/".
28220 * manual/examples/add.c: Add copyright header (GPL>=2).
28221 * manual/examples/argp-ex1.c: Likewise.
28222 * manual/examples/argp-ex2.c: Likewise.
28223 * manual/examples/argp-ex3.c: Likewise.
28224 * manual/examples/argp-ex4.c: Likewise.
28225 * manual/examples/atexit.c: Likewise.
28226 * manual/examples/db.c: Likewise.
28227 * manual/examples/dir.c: Likewise.
28228 * manual/examples/dir2.c: Likewise.
28229 * manual/examples/execinfo.c: Likewise.
28230 * manual/examples/filecli.c: Likewise.
28231 * manual/examples/filesrv.c: Likewise.
28232 * manual/examples/fmtmsgexpl.c: Likewise.
28233 * manual/examples/genpass.c: Likewise.
28234 * manual/examples/inetcli.c: Likewise.
28235 * manual/examples/inetsrv.c: Likewise.
28236 * manual/examples/isockad.c: Likewise.
28237 * manual/examples/longopt.c: Likewise.
28238 * manual/examples/memopen.c: Likewise.
28239 * manual/examples/memstrm.c: Likewise.
28240 * manual/examples/mkfsock.c: Likewise.
28241 * manual/examples/mkisock.c: Likewise.
28242 * manual/examples/mygetpass.c: Likewise.
28243 * manual/examples/pipe.c: Likewise.
28244 * manual/examples/popen.c: Likewise.
28245 * manual/examples/rprintf.c: Likewise.
28246 * manual/examples/search.c: Likewise.
28247 * manual/examples/select.c: Likewise.
28248 * manual/examples/setjmp.c: Likewise.
28249 * manual/examples/sigh1.c: Likewise.
28250 * manual/examples/sigusr.c: Likewise.
28251 * manual/examples/stpcpy.c: Likewise.
28252 * manual/examples/strdupa.c: Likewise.
28253 * manual/examples/strftim.c: Likewise.
28254 * manual/examples/strncat.c: Likewise.
28255 * manual/examples/subopt.c: Likewise.
28256 * manual/examples/swapcontext.c: Likewise.
28257 * manual/examples/termios.c: Likewise.
28258 * manual/examples/testopt.c: Likewise.
28259 * manual/examples/testpass.c: Likewise.
28260 * manual/examples/timeval_subtract.c: Likewise.
28263 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28265 * manual/timeval_subtract.c.texi: ... here, new file.
28267 2012-03-02 David S. Miller <davem@davemloft.net>
28269 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28271 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28274 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28275 (__sin): Save and restore rounding mode and use round-to-nearest
28276 for all computations.
28277 (__cos): Save and restore rounding mode and use round-to-nearest
28278 for all computations.
28279 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28281 (tan): Save and restore rounding mode and use round-to-nearest for
28283 * math/libm-test.inc (cos_test_tonearest): New function.
28284 (cos_test_towardzero): Likewise.
28285 (cos_test_downward): Likewise.
28286 (cos_test_upward): Likewise.
28287 (sin_test_tonearest): Likewise.
28288 (sin_test_towardzero): Likewise.
28289 (sin_test_downward): Likewise.
28290 (sin_test_upward): Likewise.
28291 (tan_test_tonearest): Likewise.
28292 (tan_test_towardzero): Likewise.
28293 (tan_test_downward): Likewise.
28294 (tan_test_upward): Likewise.
28295 (main): Call the new functions.
28296 * sysdeps/i386/fpu/libm-test-ulps: Update.
28297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28300 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28301 small n, then large n, before computing and testing k+n.
28302 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28307 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28308 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28314 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28315 * math/libm-test.inc (scalbn_test): Add more tests.
28316 (scalbln_test): Likewise.
28318 * manual/filesys.texi (mode_t): Describe constraints on size and
28319 signedness, not exact equivalence to a particular type.
28321 (ino64_t): Likewise.
28323 (nlink_t): Likewise.
28324 (blkcnt_t): Likewise.
28325 (blkcnt64_t): Likewise.
28326 * manual/llio.texi (off_t): Likewise.
28329 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28330 (__ieee754_exp): Save and restore rounding mode and use
28331 round-to-nearest for all computations.
28332 * math/libm-test.inc (exp_test_tonearest): New function.
28333 (exp_test_towardzero): Likewise.
28334 (exp_test_downward): Likewise.
28335 (exp_test_upward): Likewise.
28336 (main): Call the new functions.
28337 * sysdeps/i386/fpu/libm-test-ulps: Update.
28338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28340 2012-03-01 Chris Demetriou <cgd@google.com>
28342 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28343 have predictable order.
28345 2012-03-01 David S. Miller <davem@davemloft.net>
28347 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28349 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28350 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28351 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28352 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28354 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28355 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28356 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28358 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28359 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28360 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28361 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28362 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28367 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28368 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28370 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28372 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28373 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28374 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28377 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28378 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28379 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28380 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28383 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28384 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28386 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28387 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28388 * sysdeps/sparc/elf/configure: Regenerated.
28390 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28392 * configure.in (AS, LD): Require binutils 2.20 or later.
28393 * configure: Regenerated.
28394 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28395 as required minimum version.
28396 * INSTALL: Regenerated.
28400 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28401 before squaring exponent.
28402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28403 bottom long double and 27 bits of top long double before squaring
28405 * math/libm-test.inc (erfc_test): Add more tests.
28406 * sysdeps/i386/fpu/libm-test-ulps: Update.
28407 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28410 2012-03-01 Kai Tietz <ktietz@redhat.com>
28412 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28413 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28414 containing bit-fields.
28415 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28416 * soft-fp/single.h (_FP_UNION_S): Likewise.
28417 * soft-fp/double.h (_FP_UNION_D): Likewise.
28419 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28422 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28423 not include ../strcmp.S.
28424 [USE_AS_STRNCASECMP_L]: Likewise.
28425 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28426 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28427 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28428 (__strncasecmp_l_ia32): Define as alias to
28429 __strncasecmp_l_nonascii.
28432 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28433 * sysdeps/i386/fpu/libm-test-ulps: Update.
28434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28436 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28439 2012-02-29 Jeff Law <law@redhat.com>
28441 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28442 out of bounds read.
28444 2012-02-29 Marek Polacek <polacek@redhat.com>
28447 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28448 * elf/Makefile: Add rules to run tst-unused-dep.out.
28450 2012-02-28 David S. Miller <davem@davemloft.net>
28452 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28453 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28456 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28457 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28459 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28461 * math/libm-test.inc (llround_test): Move one test from
28462 lround_test. Use TEST_f_L in moved test.
28463 (lround_test): Move misplaced test to llround_test. Add testcase
28466 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28468 * sysdeps/x86_64/fpu/e_expf.S: New file.
28469 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28471 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28474 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28475 of remain_len that may cause incomplete multi-byte character and
28477 * posix/bug-regex33.c: New file.
28478 * posix/Makefile (tests): Add bug-regex33.
28480 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28482 * manual/macros.texi: New file.
28483 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28484 * manual/libc.texinfo: Include macros.texi.
28485 * manual/creatute.texi: Likewise.
28486 * manual/install.texi: Likewise.
28487 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28488 @glibcadj{} in references to the GNU C Library.
28489 * manual/charset.texi: Likewise.
28490 * manual/conf.texi: Likewise.
28491 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28492 when not using those macros.
28493 * manual/creature.texi: Likewise.
28494 * manual/crypt.texi: Likewise.
28495 * manual/errno.texi: Likewise.
28496 * manual/filesys.texi: Likewise.
28497 * manual/header.texi: Likewise.
28498 * manual/install.texi: Likewise.
28499 * manual/intro.texi: Likewise.
28500 * manual/io.texi: Likewise.
28501 * manual/job.texi: Likewise.
28502 * manual/lang.texi: Likewise.
28503 * manual/libc.texiinfo: Likewise.
28504 * manual/llio.texi: Likewise.
28505 * manual/locale.texi: Likewise.
28506 * manual/maint.texi: Likewise.
28507 * manual/math.texi: Likewise.
28508 * manual/memory.texi: Likewise.
28509 * manual/message.texi: Likewise.
28510 * manual/nss.texi: Likewise.
28511 * manual/pattern.texi: Likewise.
28512 * manual/process.texi: Likewise.
28513 * manual/resource.texi: Likewise.
28514 * manual/search.texi: Likewise.
28515 * manual/setjmp.texi: Likewise.
28516 * manual/signal.texi: Likewise.
28517 * manual/socket.texi: Likewise.
28518 * manual/startup.texi: Likewise.
28519 * manual/stdio.texi: Likewise.
28520 * manual/string.texi: Likewise.
28521 * manual/sysinfo.texi: Likewise.
28522 * manual/syslog.texi: Likewise.
28523 * manual/terminal.texi: Likewise.
28524 * manual/time.texi: Likewise.
28525 * manual/users.texi: Likewise.
28526 * INSTALL: Regenerated.
28527 * NOTES: Regenerated.
28528 * sysdeps/gnu/errlist.c: Regenerated.
28530 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28532 * include/dirent.h: Include <dirstream.h> before
28535 2012-02-28 David S. Miller <davem@davemloft.net>
28537 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28538 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28539 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28540 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28542 2012-02-27 David S. Miller <davem@davemloft.net>
28544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28546 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28547 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28550 frame pointer instead of stack pointer relative arg slot.
28551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28552 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28553 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28555 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28558 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28560 2012-02-27 David S. Miller <davem@davemloft.net>
28562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28568 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28569 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28571 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28573 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28574 later. Allow versions 5-9.
28575 * configure: Regenerated.
28576 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28577 required minimum version and 4.6 as recommended version. Do not
28578 mention bugs in GCC 2.7 and 2.8.
28579 * INSTALL: Regenerated.
28581 2012-02-27 David S. Miller <davem@davemloft.net>
28583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28587 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28588 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28589 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28590 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28593 manipulate bits before adding and subtracting TWO112[sx].
28594 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28596 2012-02-27 Roland McGrath <roland@hack.frob.com>
28599 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28600 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28601 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28602 being in POSIX, because they are in 1003.1-2008.
28604 * rt/tst-aio.c: Include <fcntl.h>.
28605 * rt/tst-aio7.c: Likewise.
28606 * rt/tst-aio64.c: Likewise.
28608 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28610 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28612 * manual/install.texi (--with-headers): Describe headers as
28613 interface headers, not private headers.
28614 (Specific advice for GNU/Linux systems): Describe use of headers
28615 from "make headers_install", not private headers from older
28617 * INSTALL: Regenerated.
28618 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28620 * sysdeps/unix/sysv/linux/configure: Regenerated.
28622 * manual/llio.texi (fclean): Remove documentation.
28624 * manual/Makefile (libc-texi-generated): New variable. Include
28626 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28627 $(libc-texi-generated), not duplicated list of files.
28628 (version.texi, stamp-version): New rules.
28629 (realclean): Remove $(libc-texi-generated), not individual files
28630 from that list. Do not remove dir-add.texinfo.
28631 * manual/libc.texinfo: Comment out uses of edition numbers and
28632 references to printed manual. Remove last-updated dates.
28633 (EDITION): Comment out.
28635 (VERSION, UPDATED): Remove.
28636 (version.texi): Include.
28638 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28640 * sysdeps/posix/spawni.c: Include <signal.h>.
28641 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28642 * sysdeps/pthread/aio_fsync.c: Likewise.
28644 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28646 * conform/Makefile (tests): Run only when not cross-compiling and
28647 when fast-check is not defined.
28649 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28650 * conform/data/limits.h-data: Fixes for POSIX2008.
28651 * conform/run-conformtest.sh: Run all tests.
28652 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28654 * include/bits/dlfcn.h: Likewise.
28655 * include/langinfo.h: Likewise.
28656 * include/monetary.h: Likewise.
28657 * include/sys/poll.h: Likewise.
28659 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28661 * posix/spawn.h: Define __need_sigset_t.
28662 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28663 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28664 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28665 to get sigevent_t only.
28666 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28667 only for __USE_GNU.
28668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28669 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28670 process_vm_writev only for __USE_GNU.
28671 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28673 * conform/Makefile: For now ignore errors from run-conformtest.
28674 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28675 POSIX to avoid namespace pollution. Don't prepend headers.
28676 * conform/data/aio.h-data: Fixes for POSIX testing.
28677 * conform/data/fcntl.h-data: Likewise.
28678 * conform/data/glob.h-data: Likewise.
28679 * conform/data/grp.h-data: Likewise.
28680 * conform/data/pthread.h-data: Likewise.
28681 * conform/data/pwd.h-data: Likewise.
28682 * conform/data/signal.h-data: Likewise.
28683 * conform/data/spawn.h-data: Likewise.
28684 * conform/data/stdio.h-data: Likewise.
28685 * conform/data/stdlib.h-data: Likewise.
28686 * conform/data/stropts.h-data: Likewise.
28687 * conform/data/sys/mman.h-data: Likewise.
28688 * conform/data/sys/stat.h-data: Likewise.
28689 * conform/data/sys/types.h-data: Likewise.
28690 * conform/data/sys/wait.h-data: Likewise.
28691 * conform/data/time.h-data: Likewise.
28692 * conform/data/unistd.h-data: Likewise.
28693 * conform/data/utime.h-data: Likewise.
28695 * io/sys/stat.h: fchmod was always in POSIX.
28696 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28697 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28698 * rt/aio.h: Define __need_timespec before including <time.h>.
28699 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28700 struct. Add forward declaration of pthread_attr_t and use it in
28702 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28704 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28705 always remove CLK_TCK definition.
28707 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28709 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28711 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28713 * conform/run-conformtest.sh: New file.
28714 * conform/Makefile: Run run-conformtest for tests.
28715 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28718 * conform/data/uchar.h-data: New file.
28719 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28720 * conform/data/arpa/inet.h-data: Likewise.
28721 * conform/data/assert.h-data: Likewise.
28722 * conform/data/complex.h-data: Likewise.
28723 * conform/data/cpio.h-data: Likewise.
28724 * conform/data/ctype.h-data: Likewise.
28725 * conform/data/dirent.h-data: Likewise.
28726 * conform/data/dlfcn.h-data: Likewise.
28727 * conform/data/errno.h-data: Likewise.
28728 * conform/data/fcntl.h-data: Likewise.
28729 * conform/data/float.h-data: Likewise.
28730 * conform/data/fmtmsg.h-data: Likewise.
28731 * conform/data/fnmatch.h-data: Likewise.
28732 * conform/data/ftw.h-data: Likewise.
28733 * conform/data/glob.h-data: Likewise.
28734 * conform/data/grp.h-data: Likewise.
28735 * conform/data/iconv.h-data: Likewise.
28736 * conform/data/inttypes.h-data: Likewise.
28737 * conform/data/langinfo.h-data: Likewise.
28738 * conform/data/libgen.h-data: Likewise.
28739 * conform/data/limits.h-data: Likewise.
28740 * conform/data/locale.h-data: Likewise.
28741 * conform/data/math.h-data: Likewise.
28742 * conform/data/monetary.h-data: Likewise.
28743 * conform/data/mqueue.h-data: Likewise.
28744 * conform/data/ndbm.h-data: Likewise.
28745 * conform/data/net/if.h-data: Likewise.
28746 * conform/data/netdb.h-data: Likewise.
28747 * conform/data/netinet/in.h-data: Likewise.
28748 * conform/data/nl_types.h-data: Likewise.
28749 * conform/data/poll.h-data: Likewise.
28750 * conform/data/pthread.h-data: Likewise.
28751 * conform/data/pwd.h-data: Likewise.
28752 * conform/data/regex.h-data: Likewise.
28753 * conform/data/sched.h-data: Likewise.
28754 * conform/data/search.h-data: Likewise.
28755 * conform/data/semaphore.h-data: Likewise.
28756 * conform/data/setjmp.h-data: Likewise.
28757 * conform/data/signal.h-data: Likewise.
28758 * conform/data/spawn.h-data: Likewise.
28759 * conform/data/stdarg.h-data: Likewise.
28760 * conform/data/stdio.h-data: Likewise.
28761 * conform/data/stdlib.h-data: Likewise.
28762 * conform/data/string.h-data: Likewise.
28763 * conform/data/strings.h-data: Likewise.
28764 * conform/data/stropts.h-data: Likewise.
28765 * conform/data/sys/ipc.h-data: Likewise.
28766 * conform/data/sys/mman.h-data: Likewise.
28767 * conform/data/sys/msg.h-data: Likewise.
28768 * conform/data/sys/resource.h-data: Likewise.
28769 * conform/data/sys/select.h-data: Likewise.
28770 * conform/data/sys/sem.h-data: Likewise.
28771 * conform/data/sys/shm.h-data: Likewise.
28772 * conform/data/sys/socket.h-data: Likewise.
28773 * conform/data/sys/stat.h-data: Likewise.
28774 * conform/data/sys/statvfs.h-data: Likewise.
28775 * conform/data/sys/time.h-data: Likewise.
28776 * conform/data/sys/timeb.h-data: Likewise.
28777 * conform/data/sys/times.h-data: Likewise.
28778 * conform/data/sys/types.h-data: Likewise.
28779 * conform/data/sys/uio.h-data: Likewise.
28780 * conform/data/sys/un.h-data: Likewise.
28781 * conform/data/sys/utsname.h-data: Likewise.
28782 * conform/data/sys/wait.h-data: Likewise.
28783 * conform/data/syslog.h-data: Likewise.
28784 * conform/data/tar.h-data: Likewise.
28785 * conform/data/termios.h-data: Likewise.
28786 * conform/data/utime.h-data: Likewise.
28787 * conform/data/utmpx.h-data: Likewise.
28788 * conform/data/varargs.h-data: Likewise.
28789 * conform/data/wchar.h-data: Likewise.
28790 * conform/data/wctype.h-data: Likewise.
28791 * conform/data/wordexp.h-data: Likewise.
28793 * include/stropts.h: New file.
28794 * include/uchar.h: New file.
28795 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28796 * include/assert.h: Likewise.
28797 * include/ctype.h: Likewise.
28798 * include/dirent.h: Likewise.
28799 * include/dlfcn.h: Likewise.
28800 * include/fcntl.h: Likewise.
28801 * include/fnmatch.h: Likewise.
28802 * include/glob.h: Likewise.
28803 * include/grp.h: Likewise.
28804 * include/libio.h: Likewise.
28805 * include/locale.h: Likewise.
28806 * include/math.h: Likewise.
28807 * include/net/if.h: Likewise.
28808 * include/netdb.h: Likewise.
28809 * include/netinet/in.h: Likewise.
28810 * include/pthread.h: Likewise.
28811 * include/pwd.h: Likewise.
28812 * include/regex.h: Likewise.
28813 * include/sched.h: Likewise.
28814 * include/search.h: Likewise.
28815 * include/setjmp.h: Likewise.
28816 * include/signal.h: Likewise.
28817 * include/stdio.h: Likewise.
28818 * include/stdlib.h: Likewise.
28819 * include/string.h: Likewise.
28820 * include/sys/cdefs.h: Likewise.
28821 * include/sys/mman.h: Likewise.
28822 * include/sys/msg.h: Likewise.
28823 * include/sys/resource.h: Likewise.
28824 * include/sys/select.h: Likewise.
28825 * include/sys/socket.h: Likewise.
28826 * include/sys/stat.h: Likewise.
28827 * include/sys/statvfs.h: Likewise.
28828 * include/sys/time.h: Likewise.
28829 * include/sys/times.h: Likewise.
28830 * include/sys/uio.h: Likewise.
28831 * include/sys/utsname.h: Likewise.
28832 * include/sys/wait.h: Likewise.
28833 * include/termios.h: Likewise.
28834 * include/time.h: Likewise.
28835 * include/ulimit.h: Likewise.
28836 * include/unistd.h: Likewise.
28837 * include/utime.h: Likewise.
28838 * include/wchar.h: Likewise.
28839 * include/wctype.h: Likewise.
28840 * include/wordexp.h: Likewise.
28842 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28844 * time/time.h: TIME_UTC must be a macro.
28845 Make timespec_get available for ISO C11 only as well.
28847 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28849 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28850 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28852 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28854 * configure.in: Use -o not -a in test for unsupported multi-arch.
28856 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28858 * manual/texinfo.tex: Update to version 2012-01-19.16.
28860 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28862 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28864 2012-02-24 Roland McGrath <roland@hack.frob.com>
28867 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28868 * manual/fdl-1.3.texi: New file.
28869 * manual/fdl-1.1.texi: File removed.
28872 * manual/libc.texinfo (FDL_VERSION): New @set.
28873 Use it for mention of FDL in cover text.
28874 (Documentation License): Use it in @include file name.
28876 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28877 Roland McGrath <roland@hack.frob.com>
28880 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28881 not LONG_LONG_MAX and LONG_LONG_MIN.
28882 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28883 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28885 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28887 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28891 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28892 manipulate bits before adding and subtracting TWO23[sx].
28893 * math/libm-test.inc (nearbyint_test): Add more tests.
28895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28898 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28899 bits before adding and subtracting TWO23[sx].
28900 * math/libm-test.inc (rint_test): Add more tests.
28901 (rint_test_tonearest): Likewise.
28902 (rint_test_towardzero): Likewise.
28903 (rint_test_downward): Likewise.
28904 (rint_test_upward: Likewise.
28906 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28909 * include/stdc-predef.h: New file. Extracted from features.h.
28910 * include/features.h: Include stdc-predef.h.
28911 * Makefile (headers): Add stdc-predef.h.
28912 * CONFORMANCE (Compiler limitations): Update.
28914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28916 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28918 2012-02-21 David S. Miller <davem@davemloft.net>
28920 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28921 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28923 2012-02-20 David S. Miller <davem@davemloft.net>
28925 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28926 using a normal save/restore sequence, rather than allocating a
28927 dummy stack frame just to store a frame pointer and restore.
28928 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28930 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28932 * manual/install.texi: Fix stray word in line-wrapped comment.
28934 2012-02-20 David S. Miller <davem@davemloft.net>
28936 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28937 both binutils and gcc support GOTDATA.
28939 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28940 "rd %pc" in the PIC register setup sequences.
28942 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28943 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28944 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28945 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28946 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28949 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28951 (SYSCALL_ERROR_HANDLER): Likewise.
28952 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28953 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28955 (SYSCALL_ERROR_HANDLER): Likewise.
28957 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28958 (HAVE_GCC_GOTDATA): New.
28959 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28960 relocation support in both binutils and gcc.
28961 * sysdeps/sparc/elf/configure: Regenerate.
28963 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28964 * sysdeps/sparc/sparc32/elf/configure: Delete.
28965 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28966 * sysdeps/sparc/sparc64/elf/configure: Delete.
28967 * sysdeps/sparc/elf/configure.in: New file.
28968 * sysdeps/sparc/elf/configure: Generate.
28970 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28971 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28972 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28973 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28974 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28976 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28978 * manual/install.texi: Do not mention specific glibc version
28980 * manual/libc.texinfo (VERSION, UPDATED): Update.
28981 (@copying): Use @copyright{} and range of years.
28983 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28986 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28987 [crti.S not in sysdirs] (generated): Do not append.
28988 [crti.S not in sysdirs] (omit-deps): Likewise.
28989 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28990 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28991 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28992 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28993 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28995 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28996 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28997 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28998 * csu/defs.awk: Remove file.
28999 * sysdeps/generic/initfini.c: Likewise.
29000 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29002 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29005 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29007 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29008 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29009 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29011 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29012 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29014 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29015 (__EPOLL_PACKED): Define to empty if not defined by
29017 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29021 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29023 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29024 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29025 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29026 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29028 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29032 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29034 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29036 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29037 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29041 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29043 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29044 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29046 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29048 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29049 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29051 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29053 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29056 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29058 * math/w_acos.c: Use non-signaling floating-point comparisons.
29059 * math/w_acosf.c: Likewise.
29060 * math/w_acosh.c: Likewise.
29061 * math/w_acoshf.c: Likewise.
29062 * math/w_acoshl.c: Likewise.
29063 * math/w_acosl.c: Likewise.
29064 * math/w_asin.c: Likewise.
29065 * math/w_asinf.c: Likewise.
29066 * math/w_asinl.c: Likewise.
29067 * math/w_atanh.c: Likewise.
29068 * math/w_atanhf.c: Likewise.
29069 * math/w_atanhl.c: Likewise.
29070 * math/w_exp2.c: Likewise.
29071 * math/w_exp2f.c: Likewise.
29072 * math/w_exp2l.c: Likewise.
29073 * math/w_j0.c: Likewise.
29074 * math/w_j0f.c: Likewise.
29075 * math/w_j0l.c: Likewise.
29076 * math/w_j1.c: Likewise.
29077 * math/w_j1f.c: Likewise.
29078 * math/w_j1l.c: Likewise.
29079 * math/w_jn.c: Likewise.
29080 * math/w_jnf.c: Likewise.
29081 * math/w_log.c: Likewise.
29082 * math/w_log10.c: Likewise.
29083 * math/w_log10f.c: Likewise.
29084 * math/w_log10l.c: Likewise.
29085 * math/w_log2.c: Likewise.
29086 * math/w_log2f.c: Likewise.
29087 * math/w_log2l.c: Likewise.
29088 * math/w_logf.c: Likewise.
29089 * math/w_logl.c: Likewise.
29090 * math/w_sqrt.c: Likewise.
29091 * math/w_sqrtf.c: Likewise.
29092 * math/w_sqrtl.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29096 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29097 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29099 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29102 * manual/string.texi (strnlen): Use correct parameter name in
29103 equivalent expression.
29105 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29108 * manual/users.texi (seteuid): Consistently use neweuid for
29111 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29114 * manual/nss.texi (Services in the NSS configuration): Correct
29115 list of services in example configuration file.
29117 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29120 * manual/arith.texi: Remove statements about negative zero
29121 behaving identically to zero.
29123 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29126 * manual/install.texi: Do not document upgrading from libc5.
29128 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29131 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29133 2012-02-18 David S. Miller <davem@davemloft.net>
29135 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29136 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29137 %o7 across the call.
29138 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29141 SETUP_PIC_REG_LEAF.
29142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29143 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29144 * sysdeps/sparc/crtn.S: Likewise.
29146 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29148 * aout/Makefile: Remove.
29150 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29153 * manual/examples/argp-ex1.c (main): Format definition in GNU
29155 * manual/examples/argp-ex2.c (main): Likewise.
29156 * manual/examples/argp-ex3.c (main): Likewise.
29157 * manual/examples/argp-ex4.c (main): Likewise.
29158 * manual/examples/longopt.c (main): Use new-style prototype
29160 * manual/examples/strncat.c (main): Specify return type and use
29161 (void) for arguments.
29162 * manual/examples/subopt.c (main): Use char **argv argument.
29164 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29167 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29170 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29173 * manual/string.texi (strchr): Change when strchrnul is
29176 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29179 * manual/locale.texi (setlocale): Document LOCPATH.
29181 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29184 * manual/process.texi (execle): Move @dots{} before last argument.
29186 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29189 * manual/charset.texi (Generic Charset Conversion): Fix typo
29190 (LC_TYPE -> LC_CTYPE).
29192 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29195 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29196 (scalbnf): Likewise.
29197 (scalbnl): Likewise.
29198 (scalbln): Likewise.
29199 (scalblnf): Likewise.
29200 (scalblnl): Likewise.
29201 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29202 (vwarnx): Likewise.
29205 * manual/filesys.texi (telldir): Use braces around return type.
29206 * manual/llio.texi (mmap): Add space after comma.
29207 (mmap64): Likewise.
29208 * manual/math.texi (jn): Use @var{} on parameter names.
29214 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29216 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29218 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29219 (sched_get_priority_max): Likewise.
29220 * manual/signal.texi (sigvec): Add space after comma.
29221 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29223 (if_indextoname): Likewise.
29224 (if_freenameindex): Likewise.
29225 (sendto): Use ',' instead of '.' in prototype.
29226 * manual/startup.texi (syscall): Use @dots{} instead of literal
29228 * manual/stdio.texi (__fpending): Separate initial words of
29229 paragraph from @deftypefun line.
29230 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29232 (vsyslog): Use @var{} on parameter names.
29233 * manual/terminal.texi (stty): Use @var{} on parameter names.
29234 * manual/users.texi (getutmp): Use @var{} on parameter names.
29235 (getutmpx): Likewise.
29237 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29240 * manual/stdio.texi (fopen): Fix typos in description of
29243 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29246 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29247 get clock_id definition.
29249 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29252 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29253 (madvise): Cast every argument to void on its own.
29255 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29258 * manual/startup.texi (Exit Status): Fix typo.
29260 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29263 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29264 * manual/examples/argp-ex2.c: Likewise.
29265 * manual/examples/argp-ex3.c: Likewise.
29267 2012-02-16 Richard Henderson <rth@redhat.com>
29269 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29270 * sysdeps/s390/s390-32/initfini.c: Remove.
29271 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29272 * sysdeps/s390/s390-64/initfini.c: Remove.
29274 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29276 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29277 compiler output for sysdeps/generic/initfini.c.
29278 * sysdeps/sh/elf/initfini.c: Remove file.
29280 2012-02-16 David S. Miller <davem@davemloft.net>
29283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29285 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29286 * sysdeps/sparc/crti.S: New file.
29287 * sysdeps/sparc/crtn.S: New file.
29288 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29289 * sysdeps/sparc/sparc64/Makefile: Likewise.
29291 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29294 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29296 2012-02-15 Roland McGrath <roland@hack.frob.com>
29299 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29301 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29302 (write, read, close): Likewise.
29303 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29305 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29307 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29308 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29309 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29310 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29312 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29316 2012-02-14 Marek Polacek <polacek@redhat.com>
29318 * sysdeps/x86_64/crti.S: New file.
29319 * sysdeps/x86_64/crtn.S: New file.
29320 * sysdeps/x86_64/elf/initfini.c: Remove file.
29322 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29324 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29325 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29326 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29327 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29329 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29333 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29335 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29336 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29337 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29338 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29340 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29344 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29346 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29347 __feraiseexcept instead of feraiseexcept.
29349 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29350 nanosleep invocations.
29351 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29352 strings, and add error checking for a nanosleep invocations.
29354 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29356 Replace FSF snail mail address with URLs, as per GNU coding standards.
29357 Most of the snail mail addresses were wrong anyway, and omitting
29358 them makes the source code easier to maintain. Almost all of the
29359 changes are to license notices and to locale LC_IDENTIFICATION
29360 addresses, except for this one:
29361 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29362 not its snail mail address.
29364 2012-02-09 Richard Henderson <rth@twiddle.net>
29366 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29367 of kernel-features.h.
29369 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29371 2012-02-08 Marek Polacek <polacek@redhat.com>
29373 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29374 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29375 * sysdeps/gnu/_G_config.h: Likewise.
29376 * sysdeps/generic/_G_config.h: Likewise.
29378 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29380 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29384 * sysdeps/powerpc/powerpc32/crti.S: New file.
29385 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29386 * sysdeps/powerpc/powerpc64/crti.S: New file.
29387 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29389 * Makeconfig (have-initfini): Don't set.
29390 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29391 * configure.in (nopic_initfini): Don't substitute.
29392 * config.h.in (HAVE_INITFINI): Don't #undef.
29393 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29394 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29396 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29398 Support crti.S and crtn.S provided directly by architectures.
29399 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29400 [crti.S in sysdirs] (omit-deps): Likewise.
29401 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29402 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29403 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29404 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29405 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29406 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29407 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29408 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29409 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29410 compiler output for sysdeps/generic/initfini.c.
29411 * sysdeps/i386/elf/Makefile: Remove file.
29412 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29414 2012-02-07 Marek Polacek <polacek@redhat.com>
29416 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29417 * sysdeps/gnu/_G_config.h: Likewise.
29418 * sysdeps/mach/hurd/_G_config.h: Likewise.
29420 2012-02-07 Marek Polacek <polacek@redhat.com>
29422 * math/Makefile (tests): Add tst-CMPLX2.
29423 * math/tst-CMPLX2.c: New file.
29425 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29427 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29429 * math/libm-test.inc (jn_test): Add missing L suffix.
29431 2012-02-06 Marek Polacek <polacek@redhat.com>
29433 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29434 * sysdeps/i386/fpu/e_powf.S: Likewise.
29435 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29436 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29437 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29438 * sysdeps/i386/fpu/e_pow.S: Likewise.
29439 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29440 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29441 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29442 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29443 * sysdeps/i386/fpu/e_log2.S: Likewise.
29444 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29445 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29446 * sysdeps/i386/fpu/e_powl.S: Likewise.
29447 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29448 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29449 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29450 * sysdeps/i386/fpu/e_logl.S: Likewise.
29451 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29452 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29453 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29454 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29456 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29457 * sysdeps/i386/fpu/e_log.S: Likewise.
29458 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29460 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29461 * sysdeps/i386/fpu/e_logf.S: Likewise.
29462 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29463 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29464 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29465 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29466 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29467 * sysdeps/i386/fpu/e_log10.S: Likewise.
29468 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29469 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29470 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29471 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29472 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29473 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29474 * sysdeps/i386/asm-syntax.h: Likewise.
29475 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29477 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29478 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29479 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29481 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29482 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29483 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29484 * sysdeps/powerpc/sysdep.h: Likewise.
29485 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29486 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29488 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29491 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29493 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29495 * sysdeps/i386/sysdep.h: Include <features.h>.
29496 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29499 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29501 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29503 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29506 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29508 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29509 (SETUP_PIC_REG): Use GET_PC_THUNK.
29510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29513 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29515 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29516 for non-PIC compilation.
29517 (SETUP_PIC_REG): Add .p2align directive.
29518 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29519 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29521 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29522 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29523 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29524 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29525 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29526 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29527 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29528 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29529 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29530 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29531 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29533 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29534 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29535 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29536 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29537 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29540 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29541 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29546 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29547 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29548 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29549 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29550 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29551 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29552 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29560 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29562 * math/tst-CMPLX.c: Include <stdio.h>.
29564 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29566 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29568 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29569 * sysdeps/sparc/bits/mathdef.h: Likewise.
29571 2012-01-31 Marek Polacek <polacek@redhat.com>
29573 * libio/libio.h: Don't define _PARAMS.
29574 * locale/programs/config.h: Don't define PARAMS.
29575 * stdlib/strtol_l.c: Likewise.
29576 (__strtol_l): Remove PARAMS from the prototype.
29578 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29580 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29581 names. Just use the correct names. Remove unnecessary wrapper
29583 * malloc/arena.c: Likewise.
29584 * malloc/hooks.c: Likewise.
29586 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29587 ARENA_TEST says not to. Simplify test for creation of a new arena.
29588 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29590 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29592 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29594 (update_get_addr): New function.
29595 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29596 GET_ADDR_MODULE parameter.
29598 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29600 * crypt/cert.c: Remove __STDC__ conditionals.
29601 * crypt/crypt-entry.c: Likewise.
29602 * crypt/crypt_util.c: Likewise.
29603 * libio/filedoalloc.c: Likewise.
29604 * libio/fileops.c: Likewise.
29605 * libio/genops.c: Likewise.
29606 * libio/iofclose.c: Likewise.
29607 * libio/iofdopen.c: Likewise.
29608 * libio/iofopen.c: Likewise.
29609 * libio/iofopen64.c: Likewise.
29610 * libio/iogetdelim.c: Likewise.
29611 * libio/iopopen.c: Likewise.
29612 * libio/obprintf.c: Likewise.
29613 * libio/oldfileops.c: Likewise.
29614 * libio/oldiofclose.c: Likewise.
29615 * libio/oldiofdopen.c: Likewise.
29616 * libio/oldiofopen.c: Likewise.
29617 * libio/oldiopopen.c: Likewise.
29618 * libio/wfiledoalloc.c: Likewise.
29619 * libio/wgenops.c: Likewise.
29620 * locale/programs/xmalloc.c: Likewise.
29621 * misc/syslog.c: Likewise.
29622 * stdio-common/xbug.c: Likewise.
29623 * string/memchr.c: Likewise.
29624 * string/memcmp.c: Likewise.
29625 * string/memrchr.c: Likewise.
29626 * string/rawmemchr.c: Likewise.
29627 * sysdeps/posix/getcwd.c: Likewise.
29628 * time/strftime_l.c: Likewise.
29630 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29632 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29633 * config.make.in (config-cflags-sse2avx): Define.
29634 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29637 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29639 * scripts/config.guess: Update from upstream config git repository.
29640 * scripts/config.sub: Likewise.
29642 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29644 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29646 (R_TILEPRO_*, R_TILEGX_*): New macros.
29648 * scripts/firstversions.awk: Fix bug in version range handling.
29650 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29652 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29654 * include/sys/epoll.h: New file.
29655 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29658 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29660 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29661 Avoid unnecessary __WORDSIZE == 64 test.
29662 (fmaxf): Use VEX format if possible.
29667 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29668 * math/math_private.h: Remove libc_fegetround* and
29670 * sysdeps/i386/configure.in: Check for -msse2avx.
29671 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29672 also if SSE2AVX is defined.
29673 Remove libc_fegetround* and libc_fesetround*.
29674 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29675 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29684 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29686 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29688 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29690 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29692 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29695 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29697 * Makeconfig (libm): Define.
29698 * elf/Makefile: Add rules to build and run tst-relsort1.
29699 * elf/tst-relsort1.c: New file.
29700 * elf/tst-relsort1mod1.c: New file.
29701 * elf/tst-relsort1mod2.c: New file.
29703 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29705 * math/s_ldexp.c: Remove __STDC__ conditionals.
29706 * math/s_ldexpf.c: Likewise.
29707 * math/s_ldexpl.c: Likewise.
29708 * math/s_nextafter.c: Likewise.
29709 * math/s_nexttowardf.c: Likewise.
29710 * math/s_significand.c: Likewise.
29711 * math/s_significandf.c: Likewise.
29712 * math/s_significandl.c: Likewise.
29713 * math/w_jnl.c: Likewise.
29714 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29715 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29716 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29717 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29718 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29720 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29721 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29722 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29723 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29724 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29728 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29729 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29730 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29731 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29733 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29734 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29735 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29742 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29743 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29744 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29745 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29747 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29748 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29751 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29752 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29753 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29754 * sysdeps/ieee754/k_standard.c: Likewise.
29755 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29756 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29757 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29758 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29760 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29762 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29764 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29767 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29768 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29769 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29770 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29774 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29775 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29776 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29778 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29779 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29780 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29784 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29786 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29787 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29788 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29791 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29793 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29795 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29797 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29798 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29799 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29800 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29801 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29802 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29803 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29804 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29805 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29806 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29807 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29808 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29809 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29811 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29812 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29815 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29816 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29817 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29822 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29823 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29824 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29825 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29826 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29827 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29828 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29829 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29830 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29831 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29832 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29833 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29834 * sysdeps/ieee754/s_matherr.c: Likewise.
29835 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29836 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29840 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29842 * crypt/md5.h: Remove __STDC__ conditionals.
29843 * libio/libioP.h: Likewise.
29844 * locale/programs/config.h: Likewise.
29845 * sysdeps/generic/sysdep.h: Likewise.
29846 * sysdeps/i386/asm-syntax.h: Likewise.
29847 * sysdeps/s390/asm-syntax.h: Likewise.
29848 * sysdeps/unix/sysdep.h: Likewise.
29849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29852 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29854 * libio/libio.h: Remove __STDC__ conditionals.
29855 * malloc/obstack.h: Likewise.
29856 * math/complex.h: Likewise.
29857 * math/math.h: Likewise.
29858 * sysdeps/generic/_G_config.h: Likewise.
29859 * sysdeps/gnu/_G_config.h: Likewise.
29860 * sysdeps/mach/hurd/_G_config.h: Likewise.
29861 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29862 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29863 * sysdeps/sparc/bits/mathdef.h: Likewise.
29865 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29868 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29869 Clean up HAS_* macros.
29870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29871 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29875 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29876 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29877 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29878 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29881 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29883 * elf/tst-unique3.cc (gets): Remove declaration.
29884 * elf/tst-unique3lib.cc (gets): Likewise.
29885 * elf/tst-unique3lib2.cc (gets): Likewise.
29886 * elf/tst-unique4.cc (gets): Likewise.
29888 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29890 * include/stdio.h: Add C++ protection. Add gets declarations and
29892 * debug/tst-chk1.c: Don't declare gets here.
29893 * stdio-common/tst-gets.c: Likewise.
29895 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29897 * posix/glob: Remove directory.
29899 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29901 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29903 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29905 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29906 of the non-standard EPFNOSUPPORT.
29908 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29910 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29911 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29912 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29914 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29916 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29918 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29920 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29922 * nscd/grpcache.c (cache_addgr): Likewise.
29923 * nscd/hstcache.c (cache_addhst): Likewise.
29924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29925 * nscd/pwdcache.c (cache_addpw): Likewise.
29926 * nscd/servicescache.c (cache_addserv): Likewise.
29928 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29930 * malloc/malloc.c: Various cleanups.
29931 * malloc/hooks.c: Likewise.
29933 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29934 * stdlib/bug-fmtmsg1.c: New file.
29936 * stdlib/fmtmsg.c (init): Add missing unlock.
29937 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29939 2012-01-12 Marek Polacek <polacek@redhat.com>
29941 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29944 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29946 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29947 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29948 macro to ensure uniqueness of label name.
29949 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29950 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29952 2012-01-11 Ulrich Drepper <drepper@gmail.com>
29954 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29956 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29957 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29961 2012-01-10 Ulrich Drepper <drepper@gmail.com>
29963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29965 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29966 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29967 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29969 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29971 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29972 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29973 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29976 * math/bits/math-finite.h: Add ldexp support.
29978 2012-01-10 Marek Polacek <polacek@redhat.com>
29980 * locale/programs/localedef.h (show_archive_content): Add noreturn
29983 2012-01-09 Ulrich Drepper <drepper@gmail.com>
29985 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29987 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29989 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29991 * io/Makefile (headers): Add bits/poll2.h.
29993 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29996 typo #include statement.
29998 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30000 * include/sys/cdefs.h: Define __attribute_alloc_size.
30001 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30002 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30003 * elf/pldd.c: Likewise.
30004 * iconv/iconv_charmap.c: Likewise.
30005 * iconv/iconvconfig.c: Likewise.
30006 * iconv/strtab.c: Likewise.
30007 * locale/programs/locale.c: Likewise.
30008 * locale/programs/localedef.h: Likewise.
30009 * locale/programs/simple-hash.c: Likewise.
30010 * nscd/nscd.h: Likewise.
30011 * nss/makedb.c: Likewise.
30012 * sysdeps/generic/ldconfig.h: Likewise.
30013 * locale/programs/localedef.c: Remove xmalloc prototype.
30014 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30016 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30018 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30021 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30023 * math/Makefile (tests): Add tst-CMPLX.
30024 * math/tst-CMPLX.c: New file.
30026 * math/complex.h (CMPLXL): Fix typo.
30028 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30029 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30031 * debug/tst-chk1.c: Add poll and ppoll tests.
30032 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30033 * include/sys/poll.h: Add hidden proto for ppoll.
30034 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30035 * sysdeps/mach/hurd/ppoll.c: Likewise.
30036 * io/ppoll.c: Likewise.
30037 * debug/poll_chk.c: New file.
30038 * debug/ppoll_chk.c: New file.
30039 * include/bits/poll2.h: New file.
30040 * io/bits/poll2.h: New file.
30043 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30045 * configure.in: static is always set to yes. Remove.
30046 * config.make.in: Don't set build-static.
30047 * Makeconfig: Remove use of build-static.
30048 * dlfcn/Makefile: Likewise.
30049 * elf/Makefile: Likewise.
30050 * math/Makefile: Likewise.
30051 * misc/Makefile: Likewise.
30052 * nptl/Makefile: Likewise.
30053 * sysdeps/mach/hurd/Makefile: Likewise.
30055 * configure.in: PWD_P is not used anymore.
30056 * config.make.in: Remove PWD_P entry.
30058 * configure.in: Remove last remnants of RANLIB.
30059 No need to check for signed size_t anymore.
30060 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30062 Remove __builtin_expect test because we require at least gcc 3.4.
30063 * aclocal.m4: Likewise.
30065 * wcsmbs/mbrtoc16.c: Implement using towc function.
30066 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30067 * wcsmbs/wcsmbsload.c: Likewise.
30068 * iconv/gconv_simple.c: Likewise.
30069 * iconv/gconv_int.h: Likewise.
30070 * iconv/gconv_builtin.h: Likewise.
30071 * iconv/iconv_prog.c: Remove CHAR16 handling.
30073 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30075 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30077 * configure.in: Remove --with-elf and --enable-bounded options.
30078 Dont set base_machine for ia64. More non-ELF conditions removed.
30079 Remove testing and setting of leading underscore information.
30080 * config.make.in (build-bounded): Set to no.
30081 * config.h.in: Remove NO_UNDERSCORES entry.
30082 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30084 * csu/start.c: Remove !NO_UNDERSCORE code.
30085 * locale/localeinfo.h: Likewise.
30086 * sysdeps/generic/machine-gmon.h: Likewise.
30087 * sysdeps/generic/sysdep.h: Likewise.
30088 * sysdeps/i386/sysdep.h: Likewise.
30089 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30090 * sysdeps/mach/sysdep.h: Likewise.
30091 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30092 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30093 * sysdeps/sh/sysdep.h: Likewise.
30094 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30095 * sysdeps/unix/i386/sysdep.S: Likewise.
30096 * sysdeps/unix/sparc/start.c: Likewise.
30097 * sysdeps/unix/sparc/sysdep.S: Likewise.
30098 * sysdeps/unix/sparc/sysdep.h: Likewise.
30099 * sysdeps/unix/start.c: Likewise.
30100 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30101 * sysdeps/x86_64/sysdep.h: Likewise.
30103 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30106 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30108 * argp/argp-fmtstream.h: Use const instead __const.
30109 * argp/argp.h: Likewise.
30110 * assert/assert.h: Likewise.
30111 * bits/fenv.h: Likewise.
30112 * bits/sched.h: Likewise.
30113 * bits/sigset.h: Likewise.
30114 * bits/sigthread.h: Likewise.
30115 * catgets/nl_types.h: Likewise.
30116 * conform/data/pthread.h-data: Likewise.
30117 * crypt/crypt-private.h: Likewise.
30118 * crypt/crypt.h: Likewise.
30119 * crypt/crypt_util.c: Likewise.
30120 * ctype/ctype.h: Likewise.
30121 * debug/execinfo.h: Likewise.
30122 * debug/mbsnrtowcs_chk.c: Likewise.
30123 * debug/mbsrtowcs_chk.c: Likewise.
30124 * debug/wcsnrtombs_chk.c: Likewise.
30125 * debug/wcsrtombs_chk.c: Likewise.
30126 * debug/wcstombs_chk.c: Likewise.
30127 * dirent/dirent.h: Likewise.
30128 * dlfcn/dlfcn.h: Likewise.
30129 * elf/neededtest4.c: Likewise.
30130 * grp/grp.h: Likewise.
30131 * gshadow/gshadow.h: Likewise.
30132 * iconv/gconv.h: Likewise.
30133 * iconv/gconv_int.h: Likewise.
30134 * iconv/gconv_simple.c: Likewise.
30135 * iconv/iconv.h: Likewise.
30136 * iconv/loop.c: Likewise.
30137 * iconv/skeleton.c: Likewise.
30138 * include/aio.h: Likewise.
30139 * include/aliases.h: Likewise.
30140 * include/argz.h: Likewise.
30141 * include/arpa/inet.h: Likewise.
30142 * include/assert.h: Likewise.
30143 * include/dirent.h: Likewise.
30144 * include/dlfcn.h: Likewise.
30145 * include/execinfo.h: Likewise.
30146 * include/fcntl.h: Likewise.
30147 * include/fenv.h: Likewise.
30148 * include/glob.h: Likewise.
30149 * include/grp.h: Likewise.
30150 * include/libintl.h: Likewise.
30151 * include/mntent.h: Likewise.
30152 * include/netdb.h: Likewise.
30153 * include/pwd.h: Likewise.
30154 * include/rpc/netdb.h: Likewise.
30155 * include/sched.h: Likewise.
30156 * include/search.h: Likewise.
30157 * include/shadow.h: Likewise.
30158 * include/signal.h: Likewise.
30159 * include/stdio.h: Likewise.
30160 * include/stdlib.h: Likewise.
30161 * include/string.h: Likewise.
30162 * include/sys/socket.h: Likewise.
30163 * include/sys/stat.h: Likewise.
30164 * include/sys/statfs.h: Likewise.
30165 * include/sys/statvfs.h: Likewise.
30166 * include/sys/syslog.h: Likewise.
30167 * include/sys/time.h: Likewise.
30168 * include/sys/uio.h: Likewise.
30169 * include/time.h: Likewise.
30170 * include/unistd.h: Likewise.
30171 * include/utmp.h: Likewise.
30172 * include/wchar.h: Likewise.
30173 * include/wctype.h: Likewise.
30174 * inet/aliases.h: Likewise.
30175 * inet/arpa/inet.h: Likewise.
30176 * inet/netinet/ether.h: Likewise.
30177 * inet/netinet/in.h: Likewise.
30178 * intl/libintl.h: Likewise.
30179 * io/bits/fcntl2.h: Likewise.
30180 * io/fcntl.h: Likewise.
30181 * io/ftw.h: Likewise.
30182 * io/sys/poll.h: Likewise.
30183 * io/sys/stat.h: Likewise.
30184 * io/sys/statfs.h: Likewise.
30185 * io/sys/statvfs.h: Likewise.
30186 * io/utime.h: Likewise.
30187 * libio/bits/stdio.h: Likewise.
30188 * libio/bits/stdio2.h: Likewise.
30189 * libio/libio.h: Likewise.
30190 * libio/libioP.h: Likewise.
30191 * libio/stdio.h: Likewise.
30192 * locale/lc-ctype.c: Likewise.
30193 * locale/locale.h: Likewise.
30194 * login/utmp.h: Likewise.
30195 * malloc/arena.c: Likewise.
30196 * malloc/malloc.c: Likewise.
30197 * malloc/malloc.h: Likewise.
30198 * malloc/mcheck.c: Likewise.
30199 * malloc/mtrace.c: Likewise.
30200 * math/bits/mathcalls.h: Likewise.
30201 * math/fenv.h: Likewise.
30202 * math/math_private.h: Likewise.
30203 * misc/bits/error.h: Likewise.
30204 * misc/bits/syslog.h: Likewise.
30205 * misc/err.h: Likewise.
30206 * misc/error.h: Likewise.
30207 * misc/fstab.h: Likewise.
30208 * misc/mntent.h: Likewise.
30209 * misc/regexp.h: Likewise.
30210 * misc/search.h: Likewise.
30211 * misc/sgtty.h: Likewise.
30212 * misc/sys/mman.h: Likewise.
30213 * misc/sys/syslog.h: Likewise.
30214 * misc/sys/uio.h: Likewise.
30215 * misc/sys/xattr.h: Likewise.
30216 * misc/ttyent.h: Likewise.
30217 * nis/rpcsvc/ypclnt.h: Likewise.
30218 * nss/nss.h: Likewise.
30219 * posix/bits/unistd.h: Likewise.
30220 * posix/fnmatch.h: Likewise.
30221 * posix/glob.h: Likewise.
30222 * posix/sched.h: Likewise.
30223 * posix/spawn.h: Likewise.
30224 * posix/sys/wait.h: Likewise.
30225 * posix/unistd.h: Likewise.
30226 * posix/wordexp.h: Likewise.
30227 * pwd/pwd.h: Likewise.
30228 * resolv/netdb.h: Likewise.
30229 * resource/sys/resource.h: Likewise.
30230 * rt/aio.h: Likewise.
30231 * rt/bits/mqueue2.h: Likewise.
30232 * rt/mqueue.h: Likewise.
30233 * shadow/shadow.h: Likewise.
30234 * signal/signal.h: Likewise.
30235 * socket/send.c: Likewise.
30236 * socket/sendto.c: Likewise.
30237 * socket/sys/socket.h: Likewise.
30238 * stdio-common/printf.h: Likewise.
30239 * stdlib/bits/stdlib.h: Likewise.
30240 * stdlib/fmtmsg.h: Likewise.
30241 * stdlib/monetary.h: Likewise.
30242 * stdlib/stdlib.h: Likewise.
30243 * stdlib/ucontext.h: Likewise.
30244 * streams/stropts.h: Likewise.
30245 * string/argz.h: Likewise.
30246 * string/bits/string2.h: Likewise.
30247 * string/string.h: Likewise.
30248 * string/strings.h: Likewise.
30249 * sunrpc/rpc/auth.h: Likewise.
30250 * sunrpc/rpc/auth_des.h: Likewise.
30251 * sunrpc/rpc/clnt.h: Likewise.
30252 * sunrpc/rpc/netdb.h: Likewise.
30253 * sunrpc/rpc/pmap_clnt.h: Likewise.
30254 * sunrpc/rpc/xdr.h: Likewise.
30255 * sysdeps/generic/inttypes.h: Likewise.
30256 * sysdeps/generic/net/if.h: Likewise.
30257 * sysdeps/generic/sys/swap.h: Likewise.
30258 * sysdeps/gnu/net/if.h: Likewise.
30259 * sysdeps/gnu/utmpx.h: Likewise.
30260 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30261 * sysdeps/i386/i486/bits/string.h: Likewise.
30262 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30263 * sysdeps/s390/bits/string.h: Likewise.
30264 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30265 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30266 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30267 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30268 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30269 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30270 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30271 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30272 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30273 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30274 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30275 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30276 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30277 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30278 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30279 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30280 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30282 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30285 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30286 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30287 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30288 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30289 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30290 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30292 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30293 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30294 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30295 * sysvipc/sys/ipc.h: Likewise.
30296 * sysvipc/sys/msg.h: Likewise.
30297 * sysvipc/sys/sem.h: Likewise.
30298 * sysvipc/sys/shm.h: Likewise.
30299 * termios/termios.h: Likewise.
30300 * time/sys/time.h: Likewise.
30301 * time/time.h: Likewise.
30302 * wcsmbs/bits/wchar2.h: Likewise.
30303 * wcsmbs/uchar.h: Likewise.
30304 * wcsmbs/wchar.h: Likewise.
30305 * wctype/wctype.h: Likewise.
30308 * Makeconfig: Remove all but ELF support including AIX support.
30309 * Makerules: Likewise.
30310 * config.h.in: Likewise.
30311 * config.make.in: Likewise.
30312 * configure: Likewise.
30313 * configure.in: Likewise.
30314 * csu/Makefile: Likewise.
30315 * csu/version.c: Likewise.
30316 * debug/Makefile: Likewise.
30317 * dlfcn/Makefile: Likewise.
30318 * elf/Makefile: Likewise.
30319 * extra-lib.mk: Likewise.
30320 * iconv/Makefile: Likewise.
30321 * include/libc-symbols.h: Likewise.
30322 * include/shlib-compat.h: Likewise.
30323 * resolv/Makefile: Likewise.
30324 * resolv/res_libc.c: Likewise.
30325 * rt/Makefile: Likewise.
30326 * sysdeps/i386/asm-syntax.h: Likewise.
30327 * sysdeps/i386/sysdep.h: Likewise.
30328 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30329 * sysdeps/mach/sysdep.h: Likewise.
30330 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30331 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30332 * sysdeps/s390/asm-syntax.h: Likewise.
30333 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30335 * sysdeps/sh/sysdep.h: Likewise.
30336 * sysdeps/unix/sparc/sysdep.h: Likewise.
30337 * sysdeps/wordsize-32/divdi3.c: Likewise.
30338 * sysdeps/x86_64/sysdep.h: Likewise.
30340 * argp/Versions: Remove _argp_unlock_xxx.
30343 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30344 * abilist/libBrokenLocale.abilist: Likewise.
30345 * abilist/libanl.abilist: Likewise.
30346 * abilist/libc.abilist: Likewise.
30347 * abilist/libcrypt.abilist: Likewise.
30348 * abilist/libdl.abilist: Likewise.
30349 * abilist/libm.abilist: Likewise.
30350 * abilist/libnsl.abilist: Likewise.
30351 * abilist/libpthread.abilist: Likewise.
30352 * abilist/libresolv.abilist: Likewise.
30353 * abilist/librt.abilist: Likewise.
30354 * abilist/libthread_db.abilist: Likewise.
30355 * abilist/libutil.abilist: Likewise.
30356 * abilist/libnss_db.abilist: New file.
30358 * scripts/abilist.awk: Add support for indirect functions.
30360 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30362 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30364 * shlib-versions: Remove entries for ports architectures.
30366 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30368 * elf/stackguard-macros.h: Remove support for IA-64.
30369 * elf/tst-auditmod1.c: Likewise.
30370 * sysdeps/generic/ldsodefs.h: Likewise.
30372 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30373 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30377 * configure.in: Remove --enable-omitfp support.
30379 * config.make.in: Likewise.
30380 * Makeconfig: Likewise.
30381 * manual/install.texi: Likewise.
30383 In case anyone cares, the IA-64 architecture could move to ports.
30384 * sysdeps/ia64/*: Removed.
30385 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30386 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30389 * configure.in: Remove entries for unsupported architectures.
30392 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30393 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30395 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30396 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30397 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30398 fall back to using wcrtomb.
30399 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30400 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30402 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30403 * wcsmbs/tst-c16c32-1.c: New file.
30405 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30408 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30410 * elf/tst-unique3.cc: Add explicit declaration of gets.
30411 * elf/tst-unique3lib.cc: Likewise.
30412 * elf/tst-unique3lib2.cc: Likewise.
30413 * elf/tst-unique4.cc: Likewise.
30415 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30417 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30420 * assert/assert.h (static_assert): Don't define for C++.
30421 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30422 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30424 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30426 * iconv/loop.c (single loop): Fix assertion in storing of
30429 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30431 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30433 * posix/getconf.c: Update copyright year.
30434 * nss/getent.c: Likewise.
30435 * nss/makedb.c: Likewise.
30436 * iconv/iconvconfig.c: Likewise.
30437 * iconv/iconv_prog.c: Likewise.
30438 * elf/ldconfig.c: Likewise.
30439 * elf/pldd.c: Likewise.
30440 * elf/sotruss.ksh: Likewise.
30441 * catgets/gencat.c: Likewise.
30442 * csu/version.c: Likewise.
30443 * elf/ldd.bash.in: Likewise.
30444 * elf/sprof.c (print_version): Likewise.
30445 * locale/programs/locale.c: Likewise.
30446 * locale/programs/localedef.c: Likewise.
30447 * login/programs/pt_chown.c: Likewise.
30448 * nscd/nscd.c (print_version): Likewise.
30449 * debug/xtrace.sh: Likewise.
30450 * malloc/memusage.sh: Likewise.
30451 * malloc/mtrace.pl: Likewise.
30452 * debug/catchsegv.sh: Likewise.
30454 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30456 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30459 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30462 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30463 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30465 * iconv/gconv_int.h: Likewise.
30466 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30467 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30468 from libc for GLIBC_2.16.
30469 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30470 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30471 * wcsmbs/uchar.h: Really define mbstate_t.
30472 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30473 * wcsmbs/c16rtomb.c: New file.
30474 * wcsmbs/mbrtoc16.c: New file.
30475 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30476 for C/POSIX locale.
30477 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30478 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30480 * wcsmbs/wchar.h: Add missing __restrict.
30482 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30485 * time/Makefile (routines): Add timespec_get.
30486 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30487 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30488 timespec for ISO C11.
30489 * time/timespec_get.c: New file.
30490 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30491 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30494 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30495 * stdlib/stdlib.h: Declare aligned_alloc.
30496 * Versions.def: Add GLIBC_2.16 for libc.
30497 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30500 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30503 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30507 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30510 * assert/assert.h (static_assert): Define.
30512 * version.h: Update for 2.16 development version.
30515 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30518 * version.h (RELEASE): Bump for 2.15 release.
30519 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30521 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30522 Patch by Marek Polacek <mpolacek@redhat.com>.
30524 * bits/byteswap.h: Protect long long constants with __extension__.
30525 * sysdeps/i386/bits/byteswap.h: Likewise.
30526 * sysdeps/ia64/bits/byteswap.h: Likewise.
30527 * sysdeps/s390/bits/byteswap.h: Likewise.
30528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30530 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30534 destination buffer.
30535 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30537 2011-12-23 Marek Polacek <polacek@redhat.com>
30539 * elf/dl-addr.c (determine_info): Add inline keyword.
30540 * elf/tst-auditmod4b.c (check_avx): Likewise.
30541 * elf/tst-auditmod6b.c (check_avx): Likewise.
30542 * elf/tst-auditmod6c.c (check_avx): Likewise.
30543 * elf/tst-auditmod7b.c (check_avx): Likewise.
30545 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30547 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30550 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30553 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30554 processing for last bytes.
30556 2011-08-06 Bruno Haible <bruno@clisp.org>
30559 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30560 U+0385, not to U+1FEE.
30563 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30564 entry for U+00A5 U+0301.
30566 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30569 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30570 buffer for the output is too small.
30572 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30576 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30577 SSE flags if possible.
30579 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30582 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30583 processing for last bytes.
30585 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30587 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30588 (syscall-list-default-options, syscall-list-default-condition)
30589 (syscall-list-includes): Define.
30590 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30591 list of ABIs and options and #if conditions for each ABI. Do not
30592 handle common syscalls between ABIs specially.
30593 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30595 (syscall-list-variants, syscall-list-32bit-options)
30596 (syscall-list-32bit-condition, syscall-list-64bit-options)
30597 (syscall-list-64bit-condition): Define.
30598 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30599 (syscall-list-variants, syscall-list-32bit-options)
30600 (syscall-list-32bit-condition, syscall-list-64bit-options)
30601 (syscall-list-64bit-condition): Define.
30602 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30604 (syscall-list-variants, syscall-list-32bit-options)
30605 (syscall-list-32bit-condition, syscall-list-64bit-options)
30606 (syscall-list-64bit-condition): Define.
30607 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30609 (syscall-list-variants, syscall-list-32bit-options)
30610 (syscall-list-32bit-condition, syscall-list-64bit-options)
30611 (syscall-list-64bit-condition): Define.
30613 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30615 * locale/iso-639.def: Add brx entry.
30618 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30619 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30621 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30622 __feraiseexcept_renamed.
30624 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30627 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30628 EPOLLET with unsigned values.
30629 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30632 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30633 to large cancellation.
30634 * math/s_cacoshf.c: Likewise.
30635 * math/s_cacoshl.c: Likewise.
30637 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30641 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30642 * math/s_cacoshf.c: Likewise.
30643 * math/s_cacoshl.c: Likewise.
30645 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30648 * iconv/gconv.h: Define __GCONV_SWAP.
30649 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30650 * iconvdata/utf-16.c: Likewise.
30651 * iconvdata/utf-32.c: Likewise.
30653 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30657 numerator after shifting it by one limb.
30659 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30661 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30662 under [__USE_EXTERN_INLINES].
30664 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30667 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30669 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30671 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30672 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30674 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30675 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30676 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30677 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30678 for strncasecmp/strncasecmp_l compilation.
30679 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30680 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30682 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30685 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30688 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30691 * time/tzfile.c (__tzfile_read): Check values from file header.
30693 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30695 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30696 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30697 * powerpc/powerpc32/dl-start.S: Likewise.
30698 * powerpc/powerpc32/elf/start.S: Likewise.
30699 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30700 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30701 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30702 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30703 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30704 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30705 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30706 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30707 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30708 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30709 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30710 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30711 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30712 * powerpc/powerpc32/memset.S: Likewise.
30713 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30714 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30715 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30716 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30717 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30718 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30719 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30720 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30721 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30722 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30723 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30724 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30725 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30727 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30729 * math/libm-test.inc: Added more nearbyint tests.
30730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30735 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30737 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30740 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30742 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30743 Add wcscpy-ssse3 wcscpy-c.
30744 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30745 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30746 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30747 * sysdeps/x86_64/wcschr.S: New file.
30748 * sysdeps/x86_64/wcsrchr.S: New file.
30749 * string/test-strcmp.c: Remove checking of wcscmp function for
30751 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30752 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30753 wcsrchr-sse2 wcsrchr-c.
30754 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30755 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30756 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30757 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30758 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30759 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30760 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30761 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30762 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30763 * wcsmbc/wcschr.c (WCSCHR): New macro.
30765 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30767 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30768 * wcsmbs/test-wcsrchr.c: New file.
30769 * string/test-strrchr.c: Add wcsrchr support.
30771 * wcsmbs/test-wcscpy.c: New file.
30772 * string/test-strcpy.c: Add wcscpy support.
30775 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30780 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30783 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30785 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30788 Minor optimizations.
30790 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30791 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30792 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30794 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30796 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30797 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30798 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30799 for gcc to avoid warnings.
30800 * inet/Makefile (tests): Add tst-checks.
30801 * inet/tst-checks.c: New file.
30803 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30806 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30809 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30810 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30812 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30814 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30816 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30819 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30821 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30823 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30824 conditional on GCC version.
30825 (__arch_compare_and_exchange_val_8_acq)
30826 (__arch_compare_and_exchange_val_16_acq)
30827 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30828 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30829 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30831 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30833 * sysdeps/sh/backtrace.c: New file.
30835 2011-12-02 Andreas Schwab <schwab@redhat.com>
30837 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30840 2011-12-01 Andreas Schwab <schwab@redhat.com>
30842 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30843 falling back to utime.
30845 2011-11-30 Andreas Schwab <schwab@redhat.com>
30847 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30848 expectations for float.
30850 2011-11-29 Andreas Schwab <schwab@redhat.com>
30852 * locale/weight.h (findidx): Add parameter len.
30853 * locale/weightwc.h (findidx): Likewise.
30854 * posix/fnmatch_loop.c (FCT): Adjust caller.
30855 * posix/regcomp.c (build_equiv_class): Likewise.
30856 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30857 * posix/regexec.c (check_node_accept_bytes): Likewise.
30858 * string/strcoll_l.c (STRCOLL): Likewise.
30859 * string/strxfrm_l.c (STRXFRM): Likewise.
30861 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30863 * Makefile.in: Remove CVSOPT handling.
30864 * configure.in: Remove use of AC_REVISION.
30865 * iconvdata/Makefile (distribute): No need to filter out CVS.
30866 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30869 2011-11-16 Andreas Schwab <schwab@redhat.com>
30871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30872 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30873 [USE_AS_STRNCASECMP_L]: Likewise.
30874 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30875 NO_TLS_DIRECT_SEG_REFS.
30876 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30877 Fix argument offsets for non-PIC.
30878 [USE_AS_STRNCASECMP_L]: Likewise.
30879 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30880 NO_TLS_DIRECT_SEG_REFS.
30882 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30884 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30886 * locale/loadlocale.c (_nl_load_locale): Likewise.
30888 2011-11-15 Andreas Schwab <schwab@redhat.com>
30890 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30891 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30893 (SYSCALL_GETTIME): Set errno on error.
30895 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30896 count references to noai6ai_cached.
30898 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30900 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30902 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30903 FD_CLOEXEC for /proc/self/maps.
30905 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30906 FD_CLOEXEC for /proc/meminfo.
30908 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30911 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30912 FD_CLOEXEC for given file.
30914 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30916 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30917 FD_CLOEXEC for /etc/hosts.
30918 (_gethtent): Likewise.
30920 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30922 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30923 cancellation and set FD_CLOEXEC for /etc/netgroup.
30925 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30926 reading /etc/publickey.
30928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30929 allow cancellation when reading /etc/group.
30931 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30933 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30935 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30936 when using data file.
30938 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30940 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30941 (write_nis_obj): Use "c" and "e" in fopen.
30943 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30945 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30947 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30949 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30951 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30954 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30956 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30958 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30960 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30961 file parsing and set FD_CLOEXEC.
30963 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30965 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30967 2011-11-14 Andreas Schwab <schwab@redhat.com>
30969 * malloc/arena.c (arena_get2): Don't call reused_arena when
30970 _int_new_arena failed.
30972 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30974 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30975 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30977 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30978 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30980 to compile strcasecmp and strncasecmp.
30981 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30982 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30986 2011-11-13 Ulrich Drepper <drepper@gmail.com>
30988 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30989 locale-defines.sym to gen-as-const-headers.
30990 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30991 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30993 to compile strcasecmp and strncasecmp.
30994 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30995 strcasecmp_l and strncasecmp_l.
30996 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30997 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30998 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30999 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31000 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31002 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31003 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31004 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31005 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31006 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31008 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31010 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31011 result of SYSDEP_GETTIME_CPU to retval.
31012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31013 parameter list to macro. Remove trailing semicolon. Adjust users.
31015 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31018 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31020 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31022 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31023 from unused variable.
31025 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31027 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31030 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31033 * sunrpc/rpc_prot.c (rejected): Fix case value.
31035 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31036 unsigned long long int to avoid warnings in shift.
31038 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31040 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31043 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31044 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31045 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31047 * nis/nis_table.c (nis_list): Use variable of correct type for
31048 result of __follow_path call.
31050 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31052 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31053 of math functions ceil, trunc, floor, round, and sqrt, when
31054 avaliable on the platform.
31055 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31057 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31058 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31059 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31061 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31063 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31066 2011-11-11 Roland McGrath <roland@hack.frob.com>
31068 * include/unistd.h: Fix __readlink return type.
31069 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31071 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31073 * stdlib/ucontext.h: Undo last change for makecontext.
31075 2011-11-11 Andreas Schwab <schwab@redhat.com>
31077 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31079 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31080 * setjmp/setjmp.h: Mark functions as non-leaf.
31081 * setjmp/bits/setjmp2.h: Likewise.
31082 * stdlib/ucontext.h: Likewise.
31084 2011-11-10 Andreas Schwab <schwab@redhat.com>
31086 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31087 (reused_arena): Don't check arena limit.
31088 (arena_get2): Atomically check arena limit.
31090 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31092 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31093 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31098 2011-11-07 Andreas Schwab <schwab@redhat.com>
31100 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31101 handler when locking.
31103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31104 Fix size of allocated buffer.
31106 2011-11-04 Andreas Schwab <schwab@redhat.com>
31109 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31110 declarations for long double functions.
31111 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31113 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31115 2011-11-03 Andreas Schwab <schwab@redhat.com>
31117 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31120 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31123 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31125 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31127 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31129 * include/alloca.h (stackinfo_alloca_round): Define.
31130 (extend_alloca): Use it.
31131 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31132 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31135 * scripts/check-local-headers.sh: Ignore libaudit.h.
31137 * nscd/Makefile (extra-objs): Make recursively expanded.
31139 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31141 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31144 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31145 * posix/tst-rfc3484-2.c: Likewise.
31146 * posix/tst-rfc3484-3.c: Likewise.
31148 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31150 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31152 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31153 process_vm_writev from libc using GLIBC_2.15 version.
31155 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31157 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31159 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31162 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31165 * nss/getent.c (initgroups_keys): Show error message in case no group
31168 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31169 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31170 __bump_nl_timestamp.
31171 * nscd/connections (nscd_init): When host database is served open
31172 netlink socket and request notification about configuration changes.
31173 (main_loop_poll): Track netlink file descriptor and bump timestamp
31174 in case data becomes available.
31175 (main_loop_epoll): Likewise.
31176 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31177 (database_pers_head): Add extra_data fileds.
31178 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31180 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31182 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31183 in6ai data, call __free_in6ai.
31184 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31185 Add -DHAVE_NETLINK.
31186 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31187 interface information. Reuse previous data if netlink timestamp
31189 (__bump_nl_timestamp): New function.
31190 (__free_in6ai): New function.
31192 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31195 close_not_cancel_no_status here.
31196 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31198 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31201 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31204 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31205 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31206 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31208 2011-07-03 Andreas Jaeger <aj@suse.de>
31211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31212 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31213 * math/libm-test.inc (sin_test): Add test case.
31215 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31218 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31219 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31221 * elf/chroot_canon.c (chroot_canon): Cleanups.
31223 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31226 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31227 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31229 * string/test-strchr.c: Make usable for strchrnul testing.
31230 * string/test-strchrnul.c: New file.
31231 * string/Makefile (strop-tests): Add strchrnul.
31233 * po/it.po: Update from translation team.
31234 * po/es.po: Likewise.
31236 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31238 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31239 the three constants needed as parameters. Drop the others.
31240 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31241 __m128i_strloadu_tolower.
31242 Create and initialize variable zero and use it in all the places
31243 where _mm_setzero_si128 was used.
31245 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31246 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31247 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31250 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31251 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31252 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31253 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31254 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31255 __mpranred, __mptan.
31256 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31257 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31258 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31259 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31260 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31261 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31262 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31263 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31264 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31266 2011-10-28 Andreas Schwab <schwab@redhat.com>
31268 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31269 redefine if SHARED.
31270 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31273 wide char related routines to wcsmbs subdir.
31275 2011-10-27 Andreas Schwab <schwab@redhat.com>
31278 * misc/sys/cdefs.h (__THROWNL): Define.
31279 * posix/unistd.h: Use __THREADNL instead of __THREAD
31280 for memory synchronization functions.
31282 2011-10-26 Roland McGrath <roland@hack.frob.com>
31285 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31287 * manual/stdio.texi (Obstack Streams): Node removed.
31289 2011-10-26 Andreas Schwab <schwab@redhat.com>
31291 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31292 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31293 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31295 * math/math_private.h (math_force_eval): Allow non-addressable
31297 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31299 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31301 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31302 file is not needed.
31304 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31305 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31307 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31308 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31309 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31310 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31313 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31314 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31315 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31316 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31317 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31318 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31319 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31320 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31321 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31322 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31323 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31324 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31326 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31327 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31328 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31329 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31330 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31331 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31333 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31334 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31337 place. Use VEX encoding when compiling for AVX.
31339 2011-10-25 Andreas Schwab <schwab@redhat.com>
31341 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31342 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31344 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31346 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31348 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31349 useless if() expression.
31350 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31351 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31352 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31353 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31355 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31356 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31357 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31358 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31360 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31361 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31364 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31365 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31368 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31370 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31372 2011-10-25 Andreas Schwab <schwab@redhat.com>
31374 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31376 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31378 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31380 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31381 .text section. Avoid duplicate constants.
31382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31390 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31391 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31392 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31393 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31394 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31395 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31396 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31398 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31399 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31405 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31406 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31407 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31408 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31409 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31410 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31411 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31412 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31413 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31414 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31415 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31416 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31417 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31418 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31420 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31421 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31424 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31425 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31426 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31428 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31430 * sysdeps/x86_64/dla.h: Move to ...
31431 * sysdeps/x86_64/fpu/dla.h: ...here.
31432 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31433 situations. Use __builtin_fma only for gcc 4.6 and up.
31435 * config.make.in: Add have-mfma4 entry.
31436 * configure.in: Substitute libc_cv_cc_fma4.
31437 * math/Makefile (dbl-only-routines): Add sincostab.
31438 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31439 Use __sincostab not sincos.
31440 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31447 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31448 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31449 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31450 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31453 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31455 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31456 define aliases when function name is a macro.
31457 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31458 sysdeps/ieee754/dbl-64/sincos.tbl.
31459 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31460 fma4-enabled routines.
31461 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31462 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31463 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31464 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31465 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31466 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31469 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31470 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31471 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31472 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31473 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31474 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31475 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31476 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31477 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31478 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31479 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31481 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31482 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31484 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31486 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31488 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31489 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31490 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31492 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31503 2011-10-24 Andreas Schwab <schwab@redhat.com>
31505 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31507 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31511 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31513 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31515 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31516 Remove unused variable magic_bits.
31517 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31519 * string/strnlen.c: Define and use STRNLEN macro.
31520 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31521 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31523 * wcsmbs/wcslen.c: Define and use WCSLEN.
31524 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31525 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31526 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31527 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31528 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31529 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31530 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31532 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31535 strnlen-sse2-no-bsf.
31536 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31538 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31539 Add strnlen support.
31540 (USE_AS_STRNLEN): New macro.
31541 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31542 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31543 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31544 * sysdeps/x86_64/wcslen.S: New file.
31546 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31549 XMM-moves are used for copying on small sizes.
31551 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31553 * wcsmbs/Makefile (strop-tests): Add wcschr.
31554 * wcsmbs/test-wcschr.c: New file.
31555 * string/test-strchr.c: Update.
31556 Add wcschr support.
31559 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31561 * wcsmbs/Makefile (strop-tests): Add wcslen.
31562 * wcsmbs/test-wcslen.c: New file.
31563 * string/test-strlen.c: Update.
31564 Add wcslen support.
31567 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31569 * po/it.po: Update from translation team.
31571 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31573 * sysdeps/x86_64/wcscmp.S: Update.
31574 Fix wrong comparison semantics.
31575 wcscmp shall use signed comparison not unsigned.
31576 Don't use substraction to avoid overflow bug.
31577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31578 * wcsmbc/wcscmp.c: Likewise.
31579 * string/test-strcmp.c: Likewise.
31580 Add new tests to check cases with negative values.
31582 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31584 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31585 * sysdeps/x86_64/dla.h: ...here. New file.
31586 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31596 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31599 __ynl_finite aliases.
31601 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31605 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31607 [DLA_FMA] (EMULV): Use DLA_FMA.
31608 [DLA_FMA] (MUL12): Use EMULV.
31609 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31610 that are not needed.
31611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31619 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31621 * math/s_nan.c: Undef __nan.
31622 * math/s_nanf.c: Undef __nanf.
31623 * math/s_nanl.c: Undef __nanl.
31624 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31627 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31629 * math/s_catan.c: Add branch predictions.
31630 * math/s_catanf.c: Likewise.
31631 * math/s_catanh.c: Likewise.
31632 * math/s_catanhf.c: Likewise.
31633 * math/s_catanhl.c: Likewise.
31634 * math/s_catanl.c: Likewise.
31635 * math/s_cexp.c: Likewise.
31636 * math/s_cexpf.c: Likewise.
31637 * math/s_cexpl.c: Likewise.
31638 * math/s_clog.c: Likewise.
31639 * math/s_clog10.c: Likewise.
31640 * math/s_clog10f.c: Likewise.
31641 * math/s_clog10l.c: Likewise.
31642 * math/s_clogf.c: Likewise.
31643 * math/s_clogl.c: Likewise.
31644 * math/s_csqrt.c: Likewise.
31645 * math/s_csqrtf.c: Likewise.
31646 * math/s_csqrtl.c: Likewise.
31647 * math/s_ctanf.c: Likewise.
31648 * math/s_ctanh.c: Likewise.
31649 * math/s_ctanhf.c: Likewise.
31650 * math/s_ctanhl.c: Likewise.
31651 * math/s_ctanl.c: Likewise.
31653 * math/math_private.h: Define __nan, __nanf, __nanl.
31654 * math/s_cacosh.c: Include <math_private.h>.
31655 * math/s_cacoshl.c: Likewise.
31656 * math/s_casinh.c: Likewise.
31657 * math/s_casinhf.c: Likewise.
31658 * math/s_casinhl.c: Likewise.
31659 * math/s_ccos.c: Rely entire on ccosh.
31660 * math/s_ccosf.c: Rely entire on ccoshf.
31661 * math/s_ccosl.c: Rely entirely on ccoshl.
31662 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31663 Remove tests for FE_INVALID.
31664 * math/s_ccoshf.c: Likewise.
31665 * math/s_ccoshl.c: Likewise.
31666 * math/s_csin.c: Likewise.
31667 * math/s_csinf.c: Likewise.
31668 * math/s_csinh.c Likewise.
31669 * math/s_csinhf.c: Likewise.
31670 * math/s_csinhl.c: Likewise.
31671 * math/s_csinl.c: Likewise.
31672 * math/s_ctan.c: Likewise.
31673 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31674 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31675 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31677 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31680 compilation problems.
31682 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31685 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31687 * sysdeps/i386/configure.in: Test for -mfma4 option.
31688 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31689 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31690 COMMON_CPUID_INDEX_80000001.
31691 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31692 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31693 use it if FMA3 is not supported.
31694 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31696 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31697 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31699 2011-10-20 Andreas Schwab <schwab@redhat.com>
31702 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31703 it would create a cycle with a link time dependency.
31705 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31707 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31709 * string/Makefile (strop-tests): Add rawmemchr.
31710 * string/test-rawmemchr.c: New file.
31712 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31713 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31714 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31715 when compiling str{,n}casecmp and when AVX is available. Hook up
31716 new optimized code in initializers.
31718 2011-10-19 Andreas Schwab <schwab@redhat.com>
31720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31721 __feraiseexcept instead of feraiseexcept.
31723 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31725 * math/math_private.h: Define defaults for libc_fetestexcept and
31727 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31728 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31729 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31730 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31731 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31732 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31733 libc_fetestexcept and libc_feupdateenv.
31735 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31736 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31737 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31738 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31739 libc_feholdexcept_setround.
31741 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31742 Add s_nearbyint-c and s_nearbyintf-c.
31743 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31744 nearbyintf inlines.
31745 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31746 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31747 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31748 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31750 * math/math_private.h: Define defaults for libc_fegetround,
31751 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31752 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31753 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31755 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31756 standard functions.
31757 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31758 Remove comments and hacks for old compiler versions.
31759 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31760 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31761 libc_feholdexceptl.
31763 2011-10-18 Andreas Schwab <schwab@redhat.com>
31765 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31766 (__feraiseexcept_renamed): Add __NTH.
31767 (feraiseexcept): Add __NTH. Rename local variables to fix
31768 namespace violations.
31770 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31772 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31774 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31776 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31777 recently added interfaces.
31778 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31780 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31781 about macro parameter expansion.
31783 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31784 __NO_MATH_INLINES is defined. Cleanups.
31786 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31787 and __floorf is target has SSE4.1.
31788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31789 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31790 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31791 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31793 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31795 (floorf): Likewise.
31797 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31799 2011-10-17 Andreas Schwab <schwab@redhat.com>
31801 * misc/sys/cdefs.h: Fix last change.
31803 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31806 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31808 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31810 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31812 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31813 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31815 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31817 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31818 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31819 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31820 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31821 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31822 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31823 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31824 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31825 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31826 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31827 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31828 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31829 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31830 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31831 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31833 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31834 ceil, ceilf, floor, floorf.
31836 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31837 Perform IRELATIVE relocations last.
31839 * elf/do-rel.h: Add another parameter nrelative, replacing the
31840 local variable with the same name. Change name of the function
31841 to end in Rel or Rela (uppercase).
31842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31843 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31844 elf_dynamic_do_##reloc function.
31846 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31848 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31849 is sufficient, at least on modern CPUs.
31851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31853 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31854 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31856 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31858 * math/bits/math-finite.h: Add entries for exp.
31859 * math/e_expl.c: Add __*_finite alias.
31860 * sysdeps/i386/fpu/e_exp.S: Likewise.
31861 * sysdeps/i386/fpu/e_expf.S: Likewise.
31862 * sysdeps/i386/fpu/e_expl.c: Likewise.
31863 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31864 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31865 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31866 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31867 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31868 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31869 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31871 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31872 is sufficient, at least on modern CPUs.
31874 * ctype/ctype-info.c (__ctype_init): Define.
31875 * include/ctype.h (__ctype_init): Declare.
31876 (__ctype_b_loc): The variable is always initialized.
31877 (__ctype_toupper_loc): Likewise.
31878 (__ctype_tolower_loc): Likewise.
31879 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31880 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31882 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31884 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31886 * configure.in: Also look in $cxxmachine/include for C++ system
31889 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31891 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31892 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31893 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31894 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31895 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31896 (USE_AS_WMEMCMP): New macro.
31898 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31899 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31900 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31901 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31903 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31904 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31905 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31906 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31907 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31908 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31909 (USE_AS_WMEMCMP): New macro.
31910 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31911 * sysdeps/string/test-memcmp.c: Update.
31912 Fix simple_wmemcmp.
31914 * wcsmbs/wmemcmp.c: Update.
31915 (WMEMCMP): New macro.
31918 2011-10-12 Andreas Jaeger <aj@suse.de>
31921 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31923 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31925 * libio/iofwide.c (do_length): Avoid warning.
31927 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31929 2011-10-14 Ulrich Drepper <drepper@gmail.com>
31931 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31933 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31934 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31935 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31936 * sysdeps/i386/i686/fpu/e_log.S: New file.
31937 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31938 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31940 * ctype/ctype.h: Add support for inlined isXXX functions when
31941 compiling C++ code.
31943 2011-10-14 Andreas Schwab <schwab@redhat.com>
31945 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31947 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31949 2011-10-13 Roland McGrath <roland@hack.frob.com>
31952 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31954 2011-10-13 Andreas Schwab <schwab@redhat.com>
31956 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31957 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31960 * sysdeps/x86_64/memrchr.S: Check for zero size.
31962 * string/stratcliff.c: Add memrchr tests.
31964 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31967 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31968 rawmemchr-sse2 rawmemchr-sse2-bsf.
31969 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31970 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31971 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31972 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31973 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31974 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31975 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31976 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31977 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31978 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31979 * string/memrchr.c (MEMRCHR): New macro.
31981 2011-10-12 Ulrich Drepper <drepper@gmail.com>
31983 Add integration with gcc's -ffinite-math-only and optimize wrapper
31985 * Versions.def: Define GLIBC_2.15 version for libm.
31986 * math/Makefile (headers): Add bits/math-finite.h.
31987 * math/bits/math-finite.h: New file.
31988 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31989 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31990 * math/e_acoshl.c: Add __*_finite alias.
31991 * math/e_acosl.c: Likewise.
31992 * math/e_asinl.c: Likewise.
31993 * math/e_atan2l.c: Likewise.
31994 * math/e_atanhl.c: Likewise.
31995 * math/e_coshl.c: Likewise.
31996 * math/e_exp10.c: Likewise.
31997 * math/e_exp10f.c: Likewise.
31998 * math/e_exp10l.c: Likewise.
31999 * math/e_exp2l.c: Likewise.
32000 * math/e_fmodl.c: Likewise.
32001 * math/e_gammal_r.c: Likewise.
32002 * math/e_hypotl.c: Likewise.
32003 * math/e_j0l.c: Likewise.
32004 * math/e_j1l.c: Likewise.
32005 * math/e_jnl.c: Likewise.
32006 * math/e_lgammal_r.c: Likewise.
32007 * math/e_log10l.c: Likewise.
32008 * math/e_log2l.c: Likewise.
32009 * math/e_logl.c: Likewise.
32010 * math/e_powl.c: Likewise.
32011 * math/e_sinhl.c: Likewise.
32012 * math/e_sqrtl.c: Likewise.
32013 * math/e_scalb.c: Completely rewritten and optimized.
32014 * math/e_scalbf.c: Likewise.
32015 * math/e_scalbl.c: Likewise.
32016 * math/w_acos.c: Likewise.
32017 * math/w_acosf.c: Likewise.
32018 * math/w_acosl.c: Likewise.
32019 * math/w_acosh.c: Likewise.
32020 * math/w_acoshf.c: Likewise.
32021 * math/w_acoshl.c: Likewise.
32022 * math/w_asin.c: Likewise.
32023 * math/w_asinf.c: Likewise.
32024 * math/w_asinl.c: Likewise.
32025 * math/w_atan2.c: Likewise.
32026 * math/w_atan2f.c: Likewise.
32027 * math/w_atan2l.c: Likewise.
32028 * math/w_atanh.c: Likewise.
32029 * math/w_atanhf.c: Likewise.
32030 * math/w_atanhl.c: Likewise.
32031 * math/w_exp10.c: Likewise.
32032 * math/w_exp10f.c: Likewise.
32033 * math/w_exp10l.c: Likewise.
32034 * math/w_fmod.c: Likewise.
32035 * math/w_fmodf.c: Likewise.
32036 * math/w_fmodl.c: Likewise.
32037 * math/w_j0.c: Likewise.
32038 * math/w_j0f.c: Likewise.
32039 * math/w_j0l.c: Likewise.
32040 * math/w_j1.c: Likewise.
32041 * math/w_j1f.c: Likewise.
32042 * math/w_j1l.c: Likewise.
32043 * math/w_jn.c: Likewise.
32044 * math/w_jnf.c: Likewise.
32045 * math/w_log.c: Likewise.
32046 * math/w_logf.c: Likewise.
32047 * math/w_logl.c: Likewise.
32048 * math/w_log10.c: Likewise.
32049 * math/w_log10f.c: Likewise.
32050 * math/w_log10l.c: Likewise.
32051 * math/w_log2.c: Likewise.
32052 * math/w_log2f.c: Likewise.
32053 * math/w_log2l.c: Likewise.
32054 * math/w_pow.c: Likewise.
32055 * math/w_powf.c: Likewise.
32056 * math/w_powl.c: Likewise.
32057 * math/w_remainder.c: Likewise.
32058 * math/w_remainderf.c: Likewise.
32059 * math/w_remainderl.c: Likewise.
32060 * math/w_scalb.c: Likewise.
32061 * math/w_scalbf.c: Likewise.
32062 * math/w_scalbl.c: Likewise.
32063 * math/w_sqrt.c: Likewise.
32064 * math/w_sqrtf.c: Likewise.
32065 * math/w_sqrtl.c: Likewise.
32066 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32067 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32069 * math/math_private.h: Declare __kernel_standard_f.
32070 * math/w_cosh.c: Remove cruft and optimize a bit.
32071 * math/w_coshf.c: Likewise.
32072 * math/w_coshl.c: Likewise.
32073 * math/w_exp2.c: Likewise.
32074 * math/w_exp2f.c: Likewise.
32075 * math/w_exp2l.c: Likewise.
32076 * math/w_hypot.c: Likewise.
32077 * math/w_hypotf.c: Likewise.
32078 * math/w_hypotl.c: Likewise.
32079 * math/w_lgamma.c: Likewise.
32080 * math/w_lgamma_r.c: Likewise.
32081 * math/w_lgammaf.c: Likewise.
32082 * math/w_lgammaf_r.c: Likewise.
32083 * math/w_lgammal.c: Likewise.
32084 * math/w_lgammal_r.c: Likewise.
32085 * math/w_sinh.c: Likewise.
32086 * math/w_sinhf.c: Likewise.
32087 * math/w_sinhl.c: Likewise.
32088 * math/w_tgamma.c: Likewise.
32089 * math/w_tgammaf.c: Likewise.
32090 * math/w_tgammal.c: Likewise.
32091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32092 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32093 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32094 Minor optimizations. Pretty printing. Remove cruft.
32095 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32096 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32097 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32098 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32099 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32100 * sysdeps/i386/fpu/e_asin.S: Likewise.
32101 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32102 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32103 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32104 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32105 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32107 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32108 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32109 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32110 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32111 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32112 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32113 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32114 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32115 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32116 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32117 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32118 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32119 * sysdeps/i386/fpu/e_log.S: Likewise.
32120 * sysdeps/i386/fpu/e_log10.S: Likewise.
32121 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32122 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32123 * sysdeps/i386/fpu/e_log2.S: Likewise.
32124 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32125 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32126 * sysdeps/i386/fpu/e_logf.S: Likewise.
32127 * sysdeps/i386/fpu/e_logl.S: Likewise.
32128 * sysdeps/i386/fpu/e_pow.S: Likewise.
32129 * sysdeps/i386/fpu/e_powf.S: Likewise.
32130 * sysdeps/i386/fpu/e_powl.S: Likewise.
32131 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32132 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32133 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32134 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32135 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32136 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32137 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32138 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32139 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32143 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32144 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32145 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32146 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32154 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32157 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32161 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32162 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32163 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32164 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32165 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32166 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32167 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32168 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32169 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32170 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32171 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32172 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32174 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32175 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32176 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32177 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32178 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32179 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32180 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32181 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32183 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32184 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32185 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32186 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32187 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32188 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32189 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32190 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32191 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32192 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32193 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32195 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32196 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32197 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32198 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32199 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32200 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32201 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32204 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32205 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32206 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32207 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32208 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32209 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32210 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32211 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32214 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32216 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32217 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32218 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32219 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32220 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32221 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32222 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32224 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32225 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32227 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32229 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32231 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32232 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32233 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32235 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32236 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32237 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32238 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32239 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32240 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32241 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32242 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32243 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32244 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32245 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32248 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32249 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32250 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32251 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32252 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32253 (__isnanf): Likewise.
32254 (__isinf_ns): Likewise.
32255 (__isinf_nsf): Likewise.
32256 (__finite): Likewise.
32257 (__finitef): Likewise.
32258 (__ieee754_sqrt): Define as macro.
32259 (__ieee754_sqrtf): Define as macro.
32260 (__ieee754_sqrtl): Define as macro.
32261 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32263 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32264 __FINITE_MATH_ONLY__ consistent.
32265 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32267 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32269 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32272 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32274 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32276 * po/ja.po: Update from translation team.
32278 2011-10-08 Roland McGrath <roland@hack.frob.com>
32280 * locale/programs/locarchive.c (prepare_address_space): New function.
32281 (create_archive, enlarge_archive, open_archive): Use it.
32283 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32284 inside [SHARED], where it is used.
32286 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32288 * nss/getent.c (netgroup_keys): Remove unused variable.
32289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32291 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32293 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32294 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32296 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32297 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32298 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32299 * math/Makefile (libm-calls): Add s_isinf_ns.
32300 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32301 * math/multc3.c: Likewise.
32302 * math/s_casin.c: Likewise.
32303 * math/s_casinf.c: Likewise.
32304 * math/s_casinl.c: Likewise.
32305 * math/s_ccos.c: Likewise.
32306 * math/s_ccosf.c: Likewise.
32307 * math/s_ccosl.c: Likewise.
32308 * math/s_ctan.c: Likewise.
32309 * math/s_ctanf.c: Likewise.
32310 * math/s_ctanh.c: Likewise.
32311 * math/s_ctanhf.c: Likewise.
32312 * math/s_ctanhl.c: Likewise.
32313 * math/s_ctanl.c: Likewise.
32314 * math/w_fmod.c: Likewise.
32315 * math/w_fmodf.c: Likewise.
32316 * math/w_fmodl.c: Likewise.
32317 * math/w_remainder.c: Likewise.
32318 * math/w_remainderf.c: Likewise.
32319 * math/w_remainderl.c: Likewise.
32320 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32321 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32322 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32324 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32325 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32326 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32327 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32329 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32331 * stdio-common/printf_fphex.c: Likewise.
32332 * stdio-common/printf_size.c: Likewise.
32334 * math/e_exp10.c: Include math_private.h using <...> not "...".
32335 * math/e_exp10f.c: Likewise.
32336 * math/e_exp10l.c: Likewise.
32337 * math/e_exp2l.c: Likewise.
32338 * math/e_j0l.c: Likewise.
32339 * math/e_j1l.c: Likewise.
32340 * math/e_jnl.c: Likewise.
32341 * math/e_lgammal_r.c: Likewise.
32342 * math/e_rem_pio2l.c: Likewise.
32343 * math/e_scalb.c: Likewise.
32344 * math/e_scalbf.c: Likewise.
32345 * math/e_scalbl.c: Likewise.
32346 * math/k_cosl.c: Likewise.
32347 * math/k_sinl.c: Likewise.
32348 * math/k_tanl.c: Likewise.
32349 * math/s_cacoshf.c: Likewise.
32350 * math/s_catan.c: Likewise.
32351 * math/s_catanf.c: Likewise.
32352 * math/s_catanh.c: Likewise.
32353 * math/s_catanhf.c: Likewise.
32354 * math/s_catanhl.c: Likewise.
32355 * math/s_catanl.c: Likewise.
32356 * math/s_ccosh.c: Likewise.
32357 * math/s_ccoshf.c: Likewise.
32358 * math/s_ccoshl.c: Likewise.
32359 * math/s_cexp.c: Likewise.
32360 * math/s_cexpf.c: Likewise.
32361 * math/s_cexpl.c: Likewise.
32362 * math/s_clog.c: Likewise.
32363 * math/s_clog10.c: Likewise.
32364 * math/s_clog10f.c: Likewise.
32365 * math/s_clog10l.c: Likewise.
32366 * math/s_clogf.c: Likewise.
32367 * math/s_clogl.c: Likewise.
32368 * math/s_csin.c: Likewise.
32369 * math/s_csinf.c: Likewise.
32370 * math/s_csinh.c: Likewise.
32371 * math/s_csinhf.c: Likewise.
32372 * math/s_csinhl.c: Likewise.
32373 * math/s_csinl.c: Likewise.
32374 * math/s_csqrt.c: Likewise.
32375 * math/s_csqrtf.c: Likewise.
32376 * math/s_csqrtl.c: Likewise.
32377 * math/s_ctan.c: Likewise.
32378 * math/s_ctanf.c: Likewise.
32379 * math/s_ctanh.c: Likewise.
32380 * math/s_ctanhf.c: Likewise.
32381 * math/s_ctanhl.c: Likewise.
32382 * math/s_ctanl.c: Likewise.
32383 * math/s_ldexp.c: Likewise.
32384 * math/s_ldexpf.c: Likewise.
32385 * math/s_ldexpl.c: Likewise.
32386 * math/s_significand.c: Likewise.
32387 * math/s_significandf.c: Likewise.
32388 * math/s_significandl.c: Likewise.
32389 * math/w_acos.c: Likewise.
32390 * math/w_acosf.c: Likewise.
32391 * math/w_acosh.c: Likewise.
32392 * math/w_acoshf.c: Likewise.
32393 * math/w_acoshl.c: Likewise.
32394 * math/w_acosl.c: Likewise.
32395 * math/w_asin.c: Likewise.
32396 * math/w_asinf.c: Likewise.
32397 * math/w_asinl.c: Likewise.
32398 * math/w_atan2.c: Likewise.
32399 * math/w_atan2f.c: Likewise.
32400 * math/w_atan2l.c: Likewise.
32401 * math/w_atanh.c: Likewise.
32402 * math/w_atanhf.c: Likewise.
32403 * math/w_atanhl.c: Likewise.
32404 * math/w_cosh.c: Likewise.
32405 * math/w_coshf.c: Likewise.
32406 * math/w_coshl.c: Likewise.
32407 * math/w_dremf.c: Likewise.
32408 * math/w_exp10.c: Likewise.
32409 * math/w_exp10f.c: Likewise.
32410 * math/w_exp10l.c: Likewise.
32411 * math/w_exp2.c: Likewise.
32412 * math/w_exp2f.c: Likewise.
32413 * math/w_fmod.c: Likewise.
32414 * math/w_fmodf.c: Likewise.
32415 * math/w_fmodl.c: Likewise.
32416 * math/w_hypot.c: Likewise.
32417 * math/w_hypotf.c: Likewise.
32418 * math/w_hypotl.c: Likewise.
32419 * math/w_j0.c: Likewise.
32420 * math/w_j0f.c: Likewise.
32421 * math/w_j0l.c: Likewise.
32422 * math/w_j1.c: Likewise.
32423 * math/w_j1f.c: Likewise.
32424 * math/w_j1l.c: Likewise.
32425 * math/w_jn.c: Likewise.
32426 * math/w_jnf.c: Likewise.
32427 * math/w_jnl.c: Likewise.
32428 * math/w_lgamma.c: Likewise.
32429 * math/w_lgamma_r.c: Likewise.
32430 * math/w_lgammaf.c: Likewise.
32431 * math/w_lgammaf_r.c: Likewise.
32432 * math/w_lgammal.c: Likewise.
32433 * math/w_lgammal_r.c: Likewise.
32434 * math/w_log.c: Likewise.
32435 * math/w_log10.c: Likewise.
32436 * math/w_log10f.c: Likewise.
32437 * math/w_log10l.c: Likewise.
32438 * math/w_log2.c: Likewise.
32439 * math/w_log2f.c: Likewise.
32440 * math/w_log2l.c: Likewise.
32441 * math/w_logf.c: Likewise.
32442 * math/w_logl.c: Likewise.
32443 * math/w_pow.c: Likewise.
32444 * math/w_powf.c: Likewise.
32445 * math/w_powl.c: Likewise.
32446 * math/w_remainder.c: Likewise.
32447 * math/w_remainderf.c: Likewise.
32448 * math/w_remainderl.c: Likewise.
32449 * math/w_scalb.c: Likewise.
32450 * math/w_scalbf.c: Likewise.
32451 * math/w_scalbl.c: Likewise.
32452 * math/w_sinh.c: Likewise.
32453 * math/w_sinhf.c: Likewise.
32454 * math/w_sinhl.c: Likewise.
32455 * math/w_sqrt.c: Likewise.
32456 * math/w_sqrtf.c: Likewise.
32457 * math/w_sqrtl.c: Likewise.
32458 * math/w_tgamma.c: Likewise.
32459 * math/w_tgammaf.c: Likewise.
32460 * math/w_tgammal.c: Likewise.
32462 * po/ja.po: Update from translation team.
32464 2011-09-29 Andreas Jaeger <aj@suse.de>
32467 * sunrpc/netname.c (netname2host): Fix logic.
32471 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32473 * math/w_remainder.c (__remainder): Likewise.
32474 * math/w_remainderf.c (__remainderf): Likewise.
32475 * math/libm-test.inc (remainder_test): Add test cases.
32477 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32479 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32482 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32484 * string/test-memcmp.c: Avoid unncessary #defines.
32485 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32487 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32489 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32490 Use new sse2 version for core i3 - i7 as it's faster
32491 than sse42 version.
32492 (bit_Prefer_PMINUB_for_stringop): New.
32493 * sysdeps/x86_64/rawmemchr.S: Update.
32494 Replace with faster SSE2 version.
32495 * sysdeps/x86_64/memrchr.S: New file.
32496 * sysdeps/x86_64/memchr.S: Update.
32497 Replace with faster SSE2 version.
32499 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32501 * elf/dl-load.c (lose): Add cast to avoid warning.
32503 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32505 * po/ca.po: Update from translation team.
32507 * inet/getnetgrent_r.c: Hook up nscd.
32508 * nscd/Makefile (routines): Add nscd_netgroup.
32509 (nscd-modules): Add netgroupcache.
32510 (CFLAGS-netgroupcache.c): Define.
32511 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32512 (cache_search): Add const to second parameter.
32513 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32515 (dbs): Add netgrdb entry.
32516 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32517 (verify_persistent_db): Handle netgrdb.
32518 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32519 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32521 (netgroup_response_header): Define.
32522 (innetgroup_response_header): Define.
32523 (datahead): Add netgroup_response_header and innetgroup_response_header
32525 * nscd/nscd.conf: Add entries for netgroup cache.
32526 * nscd/nscd.h (dbtype): Add netgrdb.
32527 (_PATH_NSCD_NETGROUP_DB): Define.
32528 (netgroup_iov_disabled): Declare.
32529 (xmalloc, xcalloc, xrealloc): Move declarations here.
32530 (cache_search): Adjust prototype.
32531 Add netgroup-related prototypes.
32532 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32533 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32534 (__nscd_innetgr): Declare.
32535 * nscd/selinux.c (perms): Use access_vector_t as element type and
32536 add netgroup-related initializers.
32537 * nscd/netgroupcache.c: New file.
32538 * nscd/nscd_netgroup.c: New file.
32539 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32540 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32541 For four parameters use innetgr.
32542 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32543 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32544 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32545 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32547 * nscd/connections.c (register_traced_file): Don't register file
32548 for disabled databases.
32550 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32552 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32554 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32555 from tree and freeing node.
32557 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32559 * nss/nsswitch.c (__nss_database_lookup): Handle
32560 nss_parse_service_list out of memory case.
32562 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32564 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32565 out of memory case.
32567 2011-10-04 Andreas Schwab <schwab@redhat.com>
32569 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32570 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32572 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32573 elf_machine_rela, elf_machine_lazy_rel.
32574 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32575 (ELF_DYNAMIC_DO_REL): Likewise.
32576 (ELF_DYNAMIC_DO_RELA): Likewise.
32577 (ELF_DYNAMIC_RELOCATE): Likewise.
32578 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32579 to ELF_DYNAMIC_DO_REL.
32580 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32581 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32582 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32584 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32585 skip_ifunc, don't call ifunc function if non-zero.
32586 (elf_machine_rela): Likewise.
32587 (elf_machine_lazy_rel): Likewise.
32588 (elf_machine_lazy_rela): Likewise.
32589 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32590 (elf_machine_lazy_rel): Likewise.
32591 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32593 (elf_machine_lazy_rel): Likewise.
32594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32596 (elf_machine_lazy_rel): Likewise.
32597 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32598 (elf_machine_lazy_rel): Likewise.
32599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32600 (elf_machine_lazy_rel): Likewise.
32601 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32602 (elf_machine_lazy_rel): Likewise.
32603 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32604 (elf_machine_lazy_rel): Likewise.
32605 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32606 (elf_machine_lazy_rel): Likewise.
32607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32608 (elf_machine_lazy_rel): Likewise.
32610 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32612 * nss/nss_files/files-init.c (_nss_files_init): Use static
32613 initialization for all the *_traced_file variables.
32615 2011-09-28 Andreas Schwab <schwab@redhat.com>
32617 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32619 2011-09-27 Roland McGrath <roland@hack.frob.com>
32622 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32624 2011-09-27 Andreas Schwab <schwab@redhat.com>
32626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32627 Reread the line before reparsing it.
32629 2011-09-26 Andreas Schwab <schwab@redhat.com>
32631 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32633 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32634 Maxim Kuvyrkov <maxim@codesourcery.com>
32635 Joseph Myers <joseph@codesourcery.com>
32637 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32638 if needed for __stack_chk_guard.
32640 2011-09-19 Roland McGrath <roland@hack.frob.com>
32642 * sysdeps/posix/spawni.c (script_execute): Always define it.
32643 It will be optimized away if unused.
32644 (maybe_script_execute): New function.
32645 (__spawni): Call it.
32647 * Makerules: Don't include tls.make.
32648 (config-tls): Always set to thread.
32649 * tls.make.c: File removed.
32651 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32653 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32654 * config.make.in (CPPFLAGS-config): New substituted variable.
32656 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32658 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32661 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32662 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32664 2011-09-15 Roland McGrath <roland@hack.frob.com>
32666 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32667 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32669 (CALL_FAIL): Likewise.
32670 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32671 (CALL_FAIL): Macro removed.
32672 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32674 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32676 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32677 for __FINITE_MATH_ONLY__ == 1.
32679 2011-09-15 Andreas Schwab <schwab@redhat.com>
32681 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32682 __ieee754_sqrt instead of sqrt.
32683 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32684 __ieee754_sqrtf instead of sqrtf.
32685 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32686 __floorf instead of floorf.
32687 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32688 __floorf, __truncf instead of floorf, truncf.
32690 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32692 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32694 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32695 __extern_always_inline.
32696 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32699 2011-09-14 Andreas Schwab <schwab@redhat.com>
32701 * elf/rtld.c (dl_main): Also relocate in dependency order when
32702 doing symbol dependency testing.
32704 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32707 Always define `refsym'.
32709 2011-09-13 Andreas Schwab <schwab@redhat.com>
32711 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32712 (__FD_ELT): Renamed from __FDELT.
32713 * misc/bits/select2.h (__FD_ELT): Likewise.
32714 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32715 __FD_MASK instead of __FDELT, __FDMASK.
32716 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32718 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32721 * elf/Makefile (gen-ldd): Fix pattern.
32723 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32724 (init_tls): Likewise.
32726 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32728 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32730 2011-09-12 Andreas Schwab <schwab@redhat.com>
32732 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32733 `struct cmsghdr *' instead of `void *'.
32734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32737 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32739 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32741 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32742 ldd_rewrite_script.
32744 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32746 * configure.in: Remove --with-tls option.
32747 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32748 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32749 out in case it is missing.
32750 * sysdeps/ia64/elf/configure.in: Likewise.
32751 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32752 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32753 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32754 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32755 * sysdeps/sh/elf/configure.in: Likewise.
32756 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32757 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32758 * sysdeps/x86_64/elf/configure.in: Likewise.
32759 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32760 * sysdeps/mach/hurd/tls.h: Likewise.
32763 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32766 * configure.in: Fix use of AC_INIT.
32768 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32770 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32772 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32774 * malloc/hooks.c: Likewise.
32777 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32778 variables statically.
32779 (narenas): Initialize.
32780 (list_lock): Initialize.
32781 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32782 initializtion of main_arena and list_lock. Small cleanups.
32783 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32784 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32785 Add initializers to main_arena and mp_.
32786 (malloc_state): Remove pagesize member. Change all users to use
32789 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32790 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32791 is always initialized.
32793 * malloc/malloc.c: Removed unused configurations and dead code.
32794 * malloc/arena.c: Likewise.
32795 * malloc/hooks.c: Likewise.
32796 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32798 * include/tls.h: Removed. USE___THREAD must always be defined.
32799 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32800 * elf/dl-libc.c: Likewise.
32801 * elf/dl-tsd.c: Likewise.
32802 * include/errno.h: Likewise.
32803 * include/netdb.h: Likewise.
32804 * include/resolv.h: Likewise.
32805 * inet/herrno-loc.c: Likewise.
32806 * inet/herrno.c: Likewise.
32807 * malloc/arena.c: Likewise.
32808 * malloc/hooks.c: Likewise.
32809 * malloc/malloc.c: Likewise.
32810 * resolv/res-state.c: Likewise.
32811 * resolv/res_libc.c: Likewise.
32812 * sysdeps/i386/dl-machine.h: Likewise.
32813 * sysdeps/ia64/dl-machine.h: Likewise.
32814 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32815 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32816 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32817 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32818 * sysdeps/sh/dl-machine.h: Likewise.
32819 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32820 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32821 * sysdeps/unix/i386/sysdep.S: Likewise.
32822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32823 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32828 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32832 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32833 * sysdeps/x86_64/dl-machine.h: Likewise.
32834 * tls.make.c: Likewise.
32836 * configure.in: Remove --with-__thread option. Make tests for
32837 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32838 tls_model attribute fail if no support is available. Remove
32840 * Makeconfig: Adjust for dropped configure option. All features are
32842 * Makerules: Likewise.
32843 * Versions.def: Likewise.
32844 * argp/argp-fmtstream.c: Likewise.
32845 * argp/argp-fmtstream.h: Likewise.
32846 * argp/argp-help.c: Likewise.
32847 * assert/assert.c: Likewise.
32848 * config.h.in: Likewise.
32849 * config.make.in: Likewise.
32850 * configure: Likewise.
32851 * configure.in: Likewise.
32852 * csu/Versions: Likewise.
32853 * csu/init.c: Likewise.
32854 * elf/tst-audit2.c: Likewise.
32855 * elf/tst-tls10.c: Likewise.
32856 * elf/tst-tls10.h: Likewise.
32857 * elf/tst-tls11.c: Likewise.
32858 * elf/tst-tls12.c: Likewise.
32859 * elf/tst-tls14.c: Likewise.
32860 * elf/tst-tlsmod11.c: Likewise.
32861 * elf/tst-tlsmod12.c: Likewise.
32862 * elf/tst-tlsmod13.c: Likewise.
32863 * elf/tst-tlsmod13a.c: Likewise.
32864 * elf/tst-tlsmod14a.c: Likewise.
32865 * elf/tst-tlsmod15b.c: Likewise.
32866 * elf/tst-tlsmod16a.c: Likewise.
32867 * elf/tst-tlsmod16b.c: Likewise.
32868 * elf/tst-tlsmod7.c: Likewise.
32869 * elf/tst-tlsmod8.c: Likewise.
32870 * elf/tst-tlsmod9.c: Likewise.
32871 * gmon/gmon.c: Likewise.
32872 * grp/fgetgrent_r.c: Likewise.
32873 * grp/putgrent.c: Likewise.
32874 * hurd/fopenport.c: Likewise.
32875 * include/libc-symbols.h: Likewise.
32876 * include/tls.h: Likewise.
32877 * intl/gettextP.h: Likewise.
32878 * intl/loadinfo.h: Likewise.
32879 * locale/global-locale.c: Likewise.
32880 * locale/localeinfo.h: Likewise.
32881 * mach/devstream.c: Likewise.
32882 * malloc/arena.c: Likewise.
32883 * malloc/set-freeres.c: Likewise.
32884 * misc/err.c: Likewise.
32885 * misc/getttyent.c: Likewise.
32886 * misc/mntent_r.c: Likewise.
32887 * posix/getopt.c: Likewise.
32888 * posix/wordexp.c: Likewise.
32889 * pwd/fgetpwent_r.c: Likewise.
32890 * resolv/Versions: Likewise.
32891 * resolv/res_hconf.c: Likewise.
32892 * shadow/fgetspent_r.c: Likewise.
32893 * shadow/putspent.c: Likewise.
32894 * stdio-common/printf_fphex.c: Likewise.
32895 * stdio-common/tmpfile.c: Likewise.
32896 * stdlib/abort.c: Likewise.
32897 * stdlib/fmtmsg.c: Likewise.
32898 * sunrpc/auth_unix.c: Likewise.
32899 * sunrpc/clnt_perr.c: Likewise.
32900 * sunrpc/clnt_tcp.c: Likewise.
32901 * sunrpc/clnt_udp.c: Likewise.
32902 * sunrpc/clnt_unix.c: Likewise.
32903 * sunrpc/openchild.c: Likewise.
32904 * sunrpc/svc_simple.c: Likewise.
32905 * sunrpc/svc_tcp.c: Likewise.
32906 * sunrpc/svc_udp.c: Likewise.
32907 * sunrpc/svc_unix.c: Likewise.
32908 * sunrpc/xdr.c: Likewise.
32909 * sunrpc/xdr_array.c: Likewise.
32910 * sunrpc/xdr_rec.c: Likewise.
32911 * sunrpc/xdr_ref.c: Likewise.
32912 * sunrpc/xdr_stdio.c: Likewise.
32914 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32916 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32918 2011-07-03 Andreas Jaeger <aj@suse.de>
32920 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32921 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32922 regenerate with gen-libm-tests.pl.
32924 2010-05-12 Petr Baudis <pasky@suse.cz>
32927 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32928 around j0() zero points by switching to j1().
32929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32932 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32934 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32936 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32938 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32941 Patch in part by Pavel Roskin <proski@gnu.org>.
32944 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32946 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32947 Free memory block if necessary.
32950 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32951 be NULL. Don't lock in this case.
32953 2011-09-09 Roland McGrath <roland@hack.frob.com>
32955 * elf/elf.h (ELFOSABI_GNU): New macro.
32956 (ELFOSABI_LINUX): Define to that.
32958 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32960 * string/strncat.c (strncat): Undef the symbol in case it has been
32961 defined in bits/string.h.
32963 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32965 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32967 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32970 2011-08-17 Andreas Jaeger <aj@suse.de>
32972 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32974 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32975 Ian Lance Taylor <iant@google.com>
32977 * math/libm-test.inc (lround_test): New testcase.
32978 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32980 2011-09-08 Ulrich Drepper <drepper@gmail.com>
32982 * Makefile: Remove support for automatic cvs check-ins.
32983 * Makerules: Likewise.
32984 * config.make.in: Likewise.
32985 * configure.in: Likewise.
32986 * intl/Makefile: Likewise.
32987 * locale/Makefile: Likewise.
32988 * po/Makefile: Likewise.
32989 * posix/Makefile: Likewise.
32990 * sysdeps/gnu/Makefile: Likewise.
32991 * sysdeps/mach/hurd/Makefile: Likewise.
32992 * sysdeps/sparc/sparc32/Makefile: Likewise.
32995 * posix/Makefile (bug-regex32-ENV): Define.
32996 Patch by John Stanley <jpsinthemix@verizon.net>.
32998 * misc/Makefile (headers): Add bits/select2.h.
32999 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33000 * misc/bits/select2.h: New file.
33001 * include/bits/select2.h: New file.
33002 * debug/Makefile (routines): Add fdelt_chk.
33003 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33004 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33006 * debug/fdelt_chk.c: New file.
33008 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33009 * wcsmbs/test-wmemcmp.c: Likewise.
33010 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33011 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33013 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33015 * string/Makefile (strop-tests): Add memcmp.
33016 * string/test-wmemcmp.c: New file.
33017 * string/test-memcmp.c: Add wmemcmp support.
33019 2011-09-08 Roland McGrath <roland@hack.frob.com>
33022 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33025 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33026 garbage value in a __mach_port_mod_refs call in the cases of the
33027 task-self and thread-self ports.
33029 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33031 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33033 2011-09-08 Andreas Schwab <schwab@redhat.com>
33035 * elf/dl-load.c (lose): Check for non-null L.
33037 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33039 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33041 * elf/dl-libc.c (dlerror_run): Pass back error code from
33045 * elf/dl-load.c (lose): Free l_origin if it is valid.
33047 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33049 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33050 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33052 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33053 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33054 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33056 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33058 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33059 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33060 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33061 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33062 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33063 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33064 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33065 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33066 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33067 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33069 2011-08-15 Alan Modra <amodra@gmail.com>
33072 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33073 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33074 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33075 ppc_mcount to static-only-routines.
33076 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33078 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33079 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33081 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33083 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33084 for finite and infinity parameters.
33086 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33089 and add nop instructions for throughput optimization.
33090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33092 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33094 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33095 aligned copy for power7 with vector-scalar instructions.
33096 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33098 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33103 2011-09-07 Andreas Schwab <schwab@redhat.com>
33106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33109 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33111 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33112 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33113 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33114 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33117 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33119 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33120 Forgot to demangle the pointer.
33122 * sysdeps/i386/sysdep.h: Define atom_text_section.
33123 * sysdeps/x86_64/sysdep.h: Likewise.
33124 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33125 section with atom_text_section.
33126 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33128 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33129 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33130 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33133 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33134 already be defined. Change to take two parameters and don't assign
33135 result to variable. Adjust all users.
33136 Define INTERNAL_GETTIME if not already defined.
33137 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33140 HAVE_CLOCK_GETTIME_VSYSCALL.
33141 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33144 gettimeofday vsyscall, just use time.
33146 2011-09-06 Andreas Schwab <schwab@redhat.com>
33148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33151 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33153 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33157 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33158 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33159 syscall if possible.
33161 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33163 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33164 e_ident. Don't pass to find_mapsXX.
33165 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33167 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33170 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33171 * sysdeps/x86_64/multiarch/strchr.S: Update.
33172 Check bit_slow_BSF bit.
33173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33174 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33175 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33177 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33180 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33182 (tryshell): Define.
33183 (__spawni): Change last parameter to be flag. Test
33184 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33185 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33186 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33187 * posix/spawni.c: Likewise.
33188 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33189 * posix/spawnp.c: Likewise. Change normal version to use
33190 SPAWN_XFLAGS_USE_PATH.
33191 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33192 SPAWN_XFLAGS_TRY_SHELL.
33195 * posix/glob.h: Remove gcc 1.x support.
33198 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33200 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33203 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33205 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33206 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33207 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33208 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33209 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33210 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33212 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33214 * sysdeps/x86_64/wcscmp.S: New file.
33216 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33217 wcscmp-c wcscmp-sse2
33218 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33219 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33220 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33221 * wcsmbs/wcscmp.c: Allow renaming.
33223 2011-09-05 David S. Miller <davem@davemloft.net>
33225 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33226 stack slot, rather than the struct return pointer slot.
33227 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33228 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33230 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33232 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33234 * po/ja.po: Update from translation team.
33237 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33238 kernel in 64-bit binaries.
33240 2011-09-01 David S. Miller <davem@davemloft.net>
33242 * elf/elf.h (HWCAP_SPARC_*): Move to..
33243 * sysdeps/sparc/sysdep.h: this new file and add new values.
33244 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33245 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33246 _DL_HWCAP_COUNT to 24.
33247 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33249 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33250 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33251 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33253 instead of magic constants.
33254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33256 2011-08-31 David S. Miller <davem@davemloft.net>
33258 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33260 Reimplement to do errno handling inline.
33261 (SYSCALL_ERROR_HANDLER): New macro.
33262 (__SYSCALL_STRING): Do not do errno handling in asm.
33263 (__CLONE_SYSCALL_STRING): Delete.
33264 (__INTERNAL_SYSCALL_STRING): Delete.
33265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33266 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33267 (PSEUDO): Reimplement to do errno handling inline.
33268 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33269 (SYSCALL_ERROR_HANDLER): New macro.
33270 (__SYSCALL_STRING): Do not do errno handling in asm.
33271 (__CLONE_SYSCALL_STRING): Delete.
33272 (__INTERNAL_SYSCALL_STRING): Delete.
33273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33274 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33276 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33277 (inline_syscall*): Add 'err' argument.
33278 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33279 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33280 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33281 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33283 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33284 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33286 2011-08-30 Andreas Schwab <schwab@redhat.com>
33288 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33290 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33292 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33295 2011-08-24 David S. Miller <davem@davemloft.net>
33297 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33299 2011-08-24 Andreas Schwab <schwab@redhat.com>
33301 * elf/Makefile: Add rules to build and run unload8 test.
33302 * elf/unload8.c: New file.
33303 * elf/unload8mod1.c: New file.
33304 * elf/unload8mod1x.c: New file.
33305 * elf/unload8mod2.c: New file.
33306 * elf/unload8mod3.c: New file.
33308 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33311 2011-08-23 David S. Miller <davem@davemloft.net>
33313 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33314 subtract stack bias.
33315 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33316 %sp not %fp in calculations.
33317 (_JMPBUF_UNWINDS_ADJ): Likewise.
33319 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33320 (aio_suspend): Call it to force an exception region around the
33321 AIO_MISC_WAIT() invocation.
33323 2011-08-23 Andreas Schwab <schwab@redhat.com>
33325 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33328 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33330 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33332 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33333 and <dl-machine.h>.
33334 (Elf64_FuncDesc): Remove.
33336 2011-08-22 David S. Miller <davem@davemloft.net>
33338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33339 sigaltstack check, add missing cfi directives.
33340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33341 missing cfi directives, and sigaltstack handling.
33343 2011-08-16 Andreas Schwab <schwab@redhat.com>
33346 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33347 object is seen twice.
33348 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33350 * elf/Makefile (distribute): Add tst-initorder2.c.
33351 (tests): Add tst-initorder2.
33352 (modules-names): Add tst-initorder2a tst-initorder2b
33353 tst-initorder2c tst-initorder2d. Add rules to build them.
33354 ($(objpfx)tst-initorder2.out): New rule.
33355 * elf/tst-initorder2.c: New file.
33356 * elf/tst-initorder2.exp: New file.
33358 2011-08-22 Andreas Schwab <schwab@redhat.com>
33360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33362 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33363 dependencies back to end of function.
33365 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33366 $(elfobjdir)/ld.so.
33368 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33371 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33373 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33374 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33375 of __vdso_gettimeofday.
33376 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33377 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33379 (_libc_vdso_platform_setup): Remove initialization of
33380 __vdso_gettimeofday and __vdso_time.
33382 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33384 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33385 and fgetc_unlocked.
33386 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33389 * elf/dl-open.c (add_to_global): Report additions to the global scope
33390 for LD_DEBUG=scopes.
33391 (dl_open_worker): Also print scope of newly loaded dependencies.
33392 (_dl_show_scope): Indicate if there is no scope.
33395 * stdio-common/Makefile (tests): Add bug24.
33396 * stdio-common/bug24.c: New file.
33398 2011-08-19 Andreas Jaeger <aj@suse.de>
33401 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33402 non-existant file when using close-on-exec mode.
33404 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33407 the very first instruction.
33409 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33410 the CFI state in the end.
33411 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33412 inclusion of dl-trampoline.h.
33413 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33415 2011-08-19 Andreas Schwab <schwab@redhat.com>
33417 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33418 expectations for long double.
33420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33421 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33423 2011-08-14 David S. Miller <davem@davemloft.net>
33425 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33426 artificual limit depends upon the system page size.
33428 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33430 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33431 * resolv/Makefile: Define CFLAGS-libresolv.
33433 2011-08-17 Andreas Schwab <schwab@redhat.com>
33435 * nss/makedb.c (compute_tables): Make variables used in nested
33438 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33440 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33441 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33442 if buffer was too small.
33444 * elf/pldd.c (main): Attach to all threads in the process.
33445 Rewrite /proc handling to use *at functions.
33447 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33449 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33450 specifies first scope to show.
33451 (dl_open_worker): Update callers. Move printing scope of new
33452 object to before the relocation.
33453 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33454 * sysdeps/generic/ldsodefs.h: Update declaration.
33456 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33457 string for the scope number.
33459 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33461 * nscd/servicescache.c (cache_addserv): Make sure written is always
33464 2011-08-14 Roland McGrath <roland@hack.frob.com>
33466 * sysdeps/i386/i486/bits/atomic.h
33467 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33468 statement expression, so as to suppress "set but not used" warning.
33469 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33471 * string/strncat.c (STRNCAT): Use prototype definition.
33473 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33474 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33476 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33477 (localedef-modules): Add localedef.
33478 (locale-modules): Add locale.
33480 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33481 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33482 to avoid a warning.
33484 2011-08-14 David S. Miller <davem@davemloft.net>
33486 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33487 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33489 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33491 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33492 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33493 * elf/rtld.c (dl_main): Set l_name of vDSO.
33494 Call _dl_show_scope when DL_DEBUG_SCOPES.
33495 (process_dl_debug): Recognize scopes flag and also set it for all.
33496 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33497 Declare _dl_show_scope.
33499 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33500 (do_dlopen): Pass caller_dlopen to dl_open.
33501 (__libc_dlopen_mode): Initialize caller_dlopen.
33503 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33504 of libc. Make tolower call locale-independent. Optimize a bit by
33505 using isdigit instead of isalnum.
33506 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33508 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33510 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33511 was a dependency or dynamically loaded.
33513 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33515 * intl/l10nflist.c: Allow architecture-specific pop function.
33516 * sysdeps/x86_64/l10nflist.c: New file.
33518 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33521 2011-08-10 Andreas Schwab <schwab@redhat.com>
33523 * include/dirent.h: Add libc_hidden_proto for scandirat and
33524 scandirat64. Don't declare __scandirat64.
33525 * dirent/scandirat.c: Add libc_hidden_def.
33526 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33527 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33529 2011-08-10 David S. Miller <davem@davemloft.net>
33531 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33537 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33539 * Versions.def [libc]: Add GLIBC_2.15.
33540 * dirent/Makefile (routines): Add scandirat and scandirat64.
33541 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33543 * dirent/dirent.h: Declare scandirat and scandirat64.
33544 * dirent/scandirat.c: New file.
33545 * dirent/scandirat64.c: New file.
33546 * sysdeps/wordsize-64/scandirat.c: New file.
33547 * sysdeps/wordsize-64/scandirat64.c: New file.
33548 * dirent/opendir.c: Define opendirat.
33549 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33551 * dirent/scandir64.c: Adjust for scandir.c change.
33552 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33553 __scandirat64, and __scandir_cancel_handler.
33554 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33555 additional parameter and use openat instead of open (outside of ld.so).
33556 Add new __opendir as wrapper around __opendirat.
33557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33558 here without requiring old scandirat implementation.
33560 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33562 * dirent/scandir.c (cancel_handler): Renamed to
33563 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33564 defined. Adjust users.
33565 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33566 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33568 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33570 * string/test-string.h (IMPL): Use __STRING to expand name and then
33573 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33576 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33578 * string/Makefile: Update.
33579 (strop-tests): Append strncat.
33580 * string/test-wcscmp.c: New file.
33581 New comprehensive test for wcscmp.
33582 * string/test-strcmp.c: Update.
33583 (WIDE): New define.
33585 2011-07-22 Andreas Schwab <schwab@redhat.com>
33587 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33590 2011-07-26 Andreas Schwab <schwab@redhat.com>
33592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33593 encoding to ACE if AI_IDN.
33595 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33598 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33600 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33602 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33603 Fix overflow bug in strncat.
33604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33606 * string/test-strncat.c: Update.
33607 Add new tests for checking overflow bugs.
33609 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33612 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33613 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33614 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33615 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33616 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33617 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33618 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33619 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33622 (USE_AS_STRCAT): Define.
33623 Add strcat and strncat support.
33624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33626 2011-07-25 Andreas Schwab <schwab@redhat.com>
33628 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33629 __n bigger than INT_MAX+1.
33630 (__strncmp_g): Likewise.
33632 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33634 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33635 * libio/stido.h: Likewise.
33637 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33642 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33644 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33645 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33649 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33654 (_dl_x86_64_save_sse): Likewise.
33656 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33660 (_dl_x86_64_save_sse): Likewise.
33662 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33664 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33666 2011-07-21 Andreas Schwab <schwab@redhat.com>
33668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33670 (_dl_x86_64_save_sse): Use correct AVX check.
33672 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33674 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33675 bug in strncpy/strncat.
33676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33678 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33680 * string/tester.c (test_strcat): Add tests for different alignments
33681 of source and destination.
33682 (test_strncat): Likewise.
33684 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33687 * posix/glob.c (glob): Check passed in values before using them in
33688 expressions to avoid some overflows.
33689 (glob_in_dir): Likewise.
33692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33693 check for AVX enablement so that we don't crash with old kernels and
33695 * elf/tst-audit4.c: Add same checks here.
33696 * elf/tst-audit6.c: Likewise.
33698 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33700 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33702 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33704 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33706 * po/cs.po: Update from translation team.
33707 * po/bg.po: Likewise.
33709 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33711 * misc/sys/cdefs.h: Add support for const attribute.
33712 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33713 to gnu_dev_{major,minor,makedev} functions.
33715 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33717 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33719 2011-07-20 Andreas Schwab <schwab@redhat.com>
33721 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33724 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33727 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33728 register in order to avoid conflicts with the soft frame pointer
33729 being held in r11 when necessary.
33730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33731 (INTERNAL_VSYSCALL_NCS): Likewise.
33733 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33735 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33736 * elf/dl-fini.c (_dl_fini): Adjust caller.
33737 * elf/dl-close.c (_dl_close_worker): Likewise.
33738 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33740 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33742 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33743 "aux_cache->nlibs < 0".
33745 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33746 in the reload-count case.
33748 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33751 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33752 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33753 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33754 * sysdeps/x86_64/multiarch/strcat.S: New file.
33755 * sysdeps/x86_64/multiarch/strncat.S: New file.
33756 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33757 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33758 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33759 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33761 (USE_AS_STRCAT): Define.
33762 Add strcat and strncat support.
33763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33764 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33765 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33766 * string/strncat.c: Update.
33767 (USE_AS_STRNCAT): Define.
33768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33769 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33771 * sysdeps/x86_64/multiarch/init-arch.h
33772 (bit_Prefer_PMINUB_for_stringop): New.
33773 (index_Prefer_PMINUB_for_stringop): Likewise.
33774 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33775 bit_Prefer_PMINUB_for_stringop.
33777 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33779 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33781 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33782 of casting of buffer.
33783 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33784 buffer32 and buffer64.
33785 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33786 writes instead of casting of buffer.
33787 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33789 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33792 2011-07-19 Andreas Schwab <schwab@redhat.com>
33794 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33796 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33798 * nscd/nscd.c (termination_handler): Don't do anything for a database
33799 if it has not yet been initialized.
33801 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33803 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33805 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33807 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33809 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33811 * po/nl.po: Update from translation team.
33812 * po/sv.po: Likewise.
33814 2011-07-16 Roland McGrath <roland@hack.frob.com>
33816 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33817 now disallowed by GCC.
33819 * configure.in (use-default-link): Default to yes if a test -shared
33820 link meets our qualifications.
33821 * configure: Regenerated.
33823 * config.make.in (output-format): New variable.
33824 * configure.in: Check for ld --print-output-format support.
33825 * configure: Regenerated.
33826 * Makerules ($(common-objpfx)format.lds)
33827 [$(output-format) != unknown]: Just use $(output-format),
33828 instead of the linker-script munging.
33830 2011-07-14 Roland McGrath <roland@hack.frob.com>
33832 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33833 of $(common-objpfx)shlib.lds.
33834 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33836 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33837 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33839 * configure.in (-z relro check): Adjust test code to add a large
33840 writable data section after it.
33841 * configure: Regenerated.
33843 2011-07-11 Roland McGrath <roland@hack.frob.com>
33845 * configure.in (-z relro check): Fix test code to make the variable
33847 * configure: Regenerated.
33849 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33851 * nscd/nscd.h (struct traced_file): Define.
33852 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33853 elements. Add traced_files.
33854 (inotify_fd): Declare.
33855 (register_traced_file): Declare.
33856 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33857 (inotify_fd): Export.
33858 (resolv_conf_descr): Remove.
33859 (nscd_init): Move inotify descriptor creation to main.
33860 Don't register files for notification here.
33861 (register_traced_file): New function.
33862 (invalidate_cache): Don't use reset_res to determine whether to call
33863 res_init, go through the list of registered files.
33864 (main_loop_poll): The inotify descriptors are now stored in the
33865 structures for the traced files.
33866 (main_loop_epoll): Likewise
33867 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33868 to __nss_disable_nscd.
33869 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33870 for a database anymore. Check the records for all the registered
33872 * nss/Makefile (libnss_files-routines): Add files-init.
33873 (libnss_db-routines): Add db-init.
33874 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33875 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33876 * nss/nss_db/db-init.c: New file.
33877 * nss/nss_files/files-init.c: New file.
33878 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33879 __nss_lookup_function.
33880 (__nss_lookup_function): Call nss_load_library.
33881 (nss_load_all_libraries): New function.
33882 (__nss_disable_nscd): Take parameter with callback function for files
33883 to register. Set is_nscd. Load all the DSOs for the NSS modules
33884 used for the cached services.
33885 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33886 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33887 options for features to all the files in nscd.
33889 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33891 2011-07-10 Roland McGrath <roland@hack.frob.com>
33893 * csu/elf-init.c (__libc_csu_init): Comment typo.
33895 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33897 * po/pl.po: Update from translation team.
33898 * po/ja.po: Likewise.
33899 * po/ru.po: Likewise.
33900 * po/ko.po: Likewise.
33901 * po/fr.po: Likewise.
33903 2011-07-09 Roland McGrath <roland@hack.frob.com>
33905 * configure.in (.ctors/.dtors header and trailer check):
33906 Use an empirical test on a built program.
33907 * configure: Regenerated.
33909 * configure.in (-z relro check): Use an empirical test on a built DSO.
33910 Detect, but do not require, on ia64.
33911 * configure: Regenerated.
33913 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33914 Update tests that use readelf to use $READELF instead.
33915 * configure: Regenerated.
33917 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33919 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33920 if the result is not used.
33922 2011-07-05 Andreas Jaeger <aj@suse.de>
33925 * stdlib/tst-strtod.c: Add testcase.
33927 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33929 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33930 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33931 The latter has a higher limit. Take additional parameter to pass to
33933 (__pathconf): Pass file to __statfs_link_max.
33934 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33936 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33940 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33944 (__statfs_filesize_max): Likewise.
33945 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33947 2011-07-05 Andreas Jaeger <aj@suse.de>
33949 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33951 2011-07-06 Marek Polacek <mpolacek@redhat.com>
33953 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33955 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33958 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33960 * Makefile (strop-tests): Add strncat.
33961 * string/test-strncat.c: New file.
33963 2011-06-30 Marek Polacek <mpolacek@redhat.com>
33965 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33967 2011-06-21 Andreas Jaeger <aj@suse.de>
33969 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33970 Copy rule from iconvdata/Makefile.
33972 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33975 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33976 but no long options are defined, just return 'W'.
33978 2011-06-22 Marek Polacek <mpolacek@redhat.com>
33981 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33983 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33985 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33987 (innetgr): Likewise.
33989 2011-07-05 Roland McGrath <roland@hack.frob.com>
33991 * config.make.in (install_root): Default to $(DESTDIR).
33993 2011-07-05 Ulrich Drepper <drepper@gmail.com>
33995 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33997 2011-07-02 Roland McGrath <roland@hack.frob.com>
33999 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34001 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34002 containing directory rather than embedding absolute directory names.
34004 * scripts/check-local-headers.sh: Rewritten using awk.
34005 Match by word, not by line. Print error messages for matches.
34006 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34008 * Makerules [shlib-lds-flags empty]:
34009 ($(common-objpfx)libc_pic.opts): New target.
34010 ($(common-objpfx)libc_pic.os.clean): New target.
34011 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34013 * config.make.in (OBJCOPY): New variable.
34014 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34015 * configure: Regenerated.
34017 * config.make.in (use-default-link): New variable.
34018 * configure.in (use_default_link): Grok --with-default-link to set it.
34019 * configure: Regenerated.
34020 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34021 (shlib-lds, shlib-lds-flags): Define to empty.
34023 * Makerules (shlib-lds): New variable.
34024 (shlib-lds-flags): New variable.
34025 (build-shlib, build-moduile, build-module-asneeded): Use it.
34026 ($(common-objpfx)libc.so): Use $(shlib-lds).
34027 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34028 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34030 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34031 DT_FLAGS/DT_FLAGS_1 with zero flags.
34033 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34034 linker script munging.
34036 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34038 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34040 * crypt/sha512.c (sha512_process_block): Perform total addition using
34041 128-bit if possible.
34042 (__sha512_finish_ctx): Likewise.
34043 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34045 * crypt/sha256.c (SWAP64): Define.
34046 (sha256_process_block): Perform total addition using 64-bit if
34048 (__sha256_finish_ctx): Likewise.
34050 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34052 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34054 * nscd/hstcache.c (cache_addhst): Likewise.
34055 * nscd/grpcache.c (cache_addgr): Likewise.
34056 * nscd/aicache.c (addhstaiX): Likewise
34057 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34059 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34061 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34062 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34063 * nscd/hstcache.c (cache_addhst): Likewise.
34064 * nscd/grpcache.c (cache_addgr): Likewise.
34065 * nscd/aicache.c (addhstaiX): Likewise
34067 2011-07-01 Andreas Schwab <schwab@redhat.com>
34069 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34070 domain only when needed.
34072 2011-06-30 Andreas Schwab <schwab@redhat.com>
34074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34075 is always restored.
34077 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34079 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34080 are re-adding the entry.
34081 * nscd/servicescache.c (cache_addserv): Likewise.
34083 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34085 * sysdeps/generic/dl-irel.h: fix protection against multiple
34087 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34089 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34092 * malloc/memusage.sh: Fix quoting in message.
34093 * debug/xtrace.sh: Likewise.
34095 * configure.in: Remove support for --experimental-malloc option, make
34097 * config.make.in: Likewise.
34098 * malloc/Makefile: Likewise.
34100 2011-06-27 Andreas Schwab <schwab@redhat.com>
34102 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34103 two-byte characters.
34105 2011-06-27 Roland McGrath <roland@hack.frob.com>
34107 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34108 AC_CACHE_CHECK invocation.
34109 * configure: Regenerated.
34111 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34113 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34116 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34117 bit from old_res_options.
34119 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34121 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34122 value type for setfct.
34124 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34127 __gettimeofday instead of gettimeofday.
34129 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34131 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34133 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34135 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34140 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34143 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34144 strcpy-sse2-unaligned strncpy-sse2-unaligned
34145 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34146 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34147 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34148 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34149 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34150 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34151 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34152 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34153 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34154 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34155 (STRCPY): Support SSE2 and SSSE3 versions.
34157 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34160 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34161 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34162 kernels which artificially limit size of requests.
34164 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34167 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34168 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34169 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34170 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34171 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34172 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34173 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34175 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34176 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34177 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34178 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34179 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34180 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34182 Enable unaligned load optimization for Intel Core i3, i5 and i7
34184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34186 (index_Fast_Unaligned_Load): Define.
34187 (HAS_FAST_UNALIGNED_LOAD): Define.
34189 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34191 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34193 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34197 until it is clear that the information is realy needed.
34198 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34200 2011-06-22 Andreas Schwab <schwab@redhat.com>
34202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34204 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34207 /sys/devices/system/cpu/online if it is usable.
34209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34210 reading the information from the /proc filesystem to once a second.
34212 2011-06-21 Andreas Jaeger <aj@suse.de>
34214 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34215 NULL after inclusion of kernel headers.
34217 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34219 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34220 calls to internal_setent.
34223 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34224 addresses using gethostbyname4_r ignore IPv4 addresses.
34226 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34227 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34229 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34231 2011-06-20 David S. Miller <davem@davemloft.net>
34233 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34235 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34237 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34238 (elf_irel): Use it.
34239 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34240 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34241 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34242 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34243 * sysdeps/x86_64/dl-irel.h: Likewise.
34245 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34246 * elf/dl-sym.c: Likewise.
34248 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34250 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34251 need to dereference resplen2.
34253 2011-06-14 Andreas Schwab <schwab@redhat.com>
34255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34257 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34259 * Makeconfig: Define vardbdir and inst_vardbdir.
34260 * nss/Makefile: Add rules to install db-Makefile.
34262 * nss/nss_db/db-XXX.c: Cleanup.
34264 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34265 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34267 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34268 * nss/makedb.c: Implement -g option to specify that value strings
34269 are generated and should not be added to table iterated over for
34271 * nss/nss_db/db-initgroups.c: New file.
34273 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34276 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34277 (internal_getgrouplist): Adjust to name change.
34278 Update use_initgroups_entry if this is not the first call.
34279 * nss/databases.def: Add initgroups entry.
34281 * nss/makedb.c (compute_tables): Check result of multiple hash table
34282 sizes to minimize maximum chain length.
34284 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34286 * Versions.def: Add entry for libnss_db.
34287 * shlib-versions: Likewise.
34288 * nss/Makefile: Add rules to build libnss_db.
34289 * nss/Versions: Add libnss_db information. Organize libnss_files
34291 * nss/db-Makefile: Add gshadow support. Change rules for the new
34292 makedb progra. Some minor improvements to generate smaller files.
34293 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34295 * nss/makedb.c: ...here.
34296 Improve database format to be smaller and require less memory at
34298 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34300 * nss/nss_db/db-netgrp.c: Likewise.
34301 * nss/nss_db/db-open.c: Likewise.
34302 * nss/nss_files/flies-XXX.x: Adjust comments.
34303 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34304 * nss/nss_files/files-grp.c: Likewise.
34305 * nss/nss_files/files-hosts.c: Likewise.
34306 * nss/nss_files/files-network.c: Likewise.
34307 * nss/nss_files/files-proto.c: Likewise.
34308 * nss/nss_files/files-pwd.c: Likewise.
34309 * nss/nss_files/files-rpc.c: Likewise.
34310 * nss/nss_files/files-service.c: Likewise.
34311 * nss/nss_files/files-sgrp.c: Likewise.
34312 * nss/nss_files/files-spwd.c: Likewise.
34313 * nss/nss_db/db-alias.c: Removed.
34314 * nss/nss_db/dummy-db.h: Removed.
34316 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34318 * nss/makedb.c: Rewritten to not use database library.
34319 * nss/Makefile: Update to build new makedb program.
34321 2011-06-14 Andreas Jaeger <aj@suse.de>
34323 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34324 memset declaration.
34326 2011-06-10 Andreas Schwab <schwab@redhat.com>
34328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34331 2011-06-10 Roland McGrath <roland@hack.frob.com>
34333 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34334 * elf/Makefile ($(objpfx)ld.so): Likewise.
34336 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34337 Don't list ld.so twice in dependencies.
34339 * posix/bug-regex31.c: Include <stdlib.h>.
34341 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34343 * nis/nss_compat/compat-spwd.c
34344 (getspent_next_nss_netgr): Remove unused variable.
34345 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34347 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34348 nonmembers" output to use the right array.
34350 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34352 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34354 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34355 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34356 * catgets/gencat.c (read_input_file): Likewise.
34357 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34359 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34360 variable definition inside #if's controlling its use.
34362 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34364 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34366 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34368 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34371 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34373 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34374 * configure: Regenerated.
34376 * Makerules: Revert last change.
34377 * elf/Makefile: Likewise.
34379 2011-06-09 Roland McGrath <roland@hack.frob.com>
34381 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34382 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34383 (reloc-link): Likewise.
34385 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34387 * elf/Makefile: Add rules to build pldd.
34388 * elf/pldd.c: New file.
34389 * elf/pldd-xx.c: New file.
34391 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34393 * version.h: Update for 2.15 development version.
34395 2011-06-07 David S. Miller <davem@davemloft.net>
34397 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34400 elf_machine_lazy_rel): Likewise.
34401 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34402 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34403 elf_machine_lazy_rel): Likewise.
34404 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34405 dl_hwcap via passed in argument.
34406 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34409 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34411 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34413 2011-06-06 Roland McGrath <roland@hack.frob.com>
34416 * manual/fdl-1.1.texi: New file, verbatim from:
34417 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34418 * manual/lgpl-2.1.texi: New file, verbatim from:
34419 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34420 * manual/Makefile (licenses): New variable, list those new file names.
34422 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34424 * manual/fdl.texi: File removed.
34425 * manual/lesser.texi: File removed.
34426 * manual/libc.texinfo (Copying, Documentation License):
34427 Use new @include file names, put @appendix directive before @include.
34429 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34432 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34433 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34434 (mq_open): Add __NTH.
34436 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34439 Assume Intel Core i3/i5/i7 processor if AVX is available.
34441 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34443 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34446 2011-05-31 Andreas Schwab <schwab@redhat.com>
34448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34449 memory. Use alloca_account. Fix memory leak when retrying.
34451 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34453 * version.h (RELEASE): Bump for 2.14 release.
34454 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34456 * config.make.in (RANLIB): Remove entry.
34458 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34460 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34461 (libc.pot): Work around missing support for .ksh extension in xgettext.
34464 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34465 if both request failed.
34466 (send_dg): In case of server errors clear resplen or *resplen2.
34469 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34470 when there are multiple maps.
34471 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34472 (_dl_fini): Remove test here.
34474 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34476 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34479 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34480 bit from old_res_options.
34481 (gaih_inet): Likewise.
34484 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34487 * resolv/res_init.c (res_setoptions): Make the code more compact.
34490 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34494 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34496 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34499 * malloc/malloc.h: Declare malloc hook variables as volatile.
34501 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34505 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34506 raise in the comment.
34507 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34509 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34511 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34514 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34515 grow the buffers more if it already has to be sufficient.
34516 (build_wcs_upper_buffer): Likewise.
34517 * posix/regexec.c (check_matching): Likewise.
34518 (clean_state_log_if_needed): Likewise.
34519 (extend_buffers): Don't enlarge buffers beyond size of the input
34521 Patches mostly by Emil Wojak <emil@wojak.eu>.
34522 * posix/bug-regex32.c: New file.
34523 * posix/Makefile (tests): Add bug-regex32.
34525 * locale/findlocale.c (_nl_find_locale): Return right away if
34526 _nl_explode_name failed.
34527 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34529 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34531 * debug/xtrace.sh: Unify messages.
34532 * malloc/memusage.sh: Likewise.
34535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34536 time symbol from vDSO. Substitute with vsyscall if not available.
34537 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34540 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34541 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34542 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34543 Add sendmmsg and internal_sendmmsg.
34544 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34545 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34548 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34549 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34552 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34555 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34556 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34558 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34562 * iconvdata/Makefile (tests): Add bug-iconv9.
34563 * iconvdata/bug-iconv9.c: New file.
34565 2011-05-27 Andreas Schwab <schwab@redhat.com>
34568 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34570 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34573 (struct user_regs_struct): Change intcs field back to cs.
34575 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34577 * po/ja.po: Update from translation team.
34579 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34582 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34583 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34585 2011-05-20 Andreas Schwab <schwab@redhat.com>
34587 * stdlib/longlong.h: Update from GCC.
34589 2011-05-23 Andreas Schwab <schwab@redhat.com>
34591 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34593 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34594 Add parameter name.
34595 (__sysconf): Pass it down.
34597 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34600 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34602 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34603 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34604 add in in __libc_use_alloca calls. Adjust callers.
34605 (glob): Use malloc in some situations.
34607 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34608 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34611 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34613 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34614 and CLOCK_BOOTTIME_ALARM.
34617 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34620 * string/_strerror.c (__strerror_r): Print negative errors as signed
34624 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34625 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34626 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34628 * configure.in: Fix typo in redirection and correct removal of test
34629 files in two cases.
34632 * locale/setlocale.c (new_composite_name): Fix test to check for
34633 identical name of all categories.
34636 * libio/filedoalloc.c (local_isatty): New function.
34637 (_IO_file_doallocate): Use local_isatty.
34638 * stdio-common/perror.c (perror): In case a new stream is used
34639 forward the stream error.
34640 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34643 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34648 * include/alloca.h (extend_alloca_account): Define.
34651 * posix/regex.h: Fix comments with documentation of user-accessible
34652 fields after compilation and describe correct free'ing of pattern
34653 after re_compile_pattern.
34654 Patch by Reuben Thomas <rrt@sc3d.org>.
34656 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34658 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34659 and -mno-altivec to prevent the compiler from using Altivec and/or
34660 VSX instructions when the corresponding registers are not available.
34662 2011-05-19 Andreas Schwab <schwab@redhat.com>
34664 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34666 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34668 * libio/freopen.c (freopen): Use __dup2, not dup2.
34669 * libio/freopen64.c (freopen64): Likewise.
34671 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34674 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34675 * math/Makefile (tests): Add test-powl.
34676 (CFLAGS-test-powl.c): Define.
34677 * math/test-powl.c: New file.
34679 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34681 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34683 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34686 * iconvdata/gb18030.c: Update to GB18020-2005.
34688 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34690 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34691 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34692 Patch by Aharon Robbins <arnold@skeeve.com>.
34695 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34699 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34700 through underflows.
34703 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34704 point to strings before performing equality test for error_one_per_line
34708 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34712 (struct user_fpregs_struct): Avoid __uint*_t types.
34715 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34716 symbol info. Use it instead of calling _dl_addr locally.
34717 (lock_and_info): New function.
34718 (tr_freehook): Call lock_and_info and pass symbol info as additional
34719 parameter to tr_where.
34720 (tr_mallochook): Likewise.
34721 (tr_reallochook): Likewise.
34722 (tr_memalignhook): Likewise.
34724 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34725 used and couldn't be at all thread-safe.
34727 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34729 * libio/freopen.c (freopen): Don't close old file descriptor
34730 before the new one is opened. Instead dup the new file descriptor
34731 to the old one after the new stream is created.
34732 * libio/freopen64.c (freopen64): Likewise.
34733 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34734 * libio/fileops.c (_IO_new_file_close_it): Handle new
34735 _IO_FLAGS2_NOCLOSE flag.
34736 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34737 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34738 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34739 _IO_FLAGS2_NOCLOSE flag.
34740 * include/unistd.h: Add hidden_proto for dup3.
34741 Define __have_dup3.
34742 * io/dup3.c: Define hidden symbol.
34743 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34746 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34747 when an incomplete long option is used.
34748 * posix/tst-getopt_long1.c: New file.
34749 * posix/Makefile (tests): Add tst-getopt_long1.
34752 * scripts/config.guess: Update from autoconf-2.68.
34753 * scripts/config.sub: Likewise.
34756 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34758 (has_cpuclock): ...this. New function.
34759 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34760 macro here based on has_cpuclock code.
34763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34764 First byte (not low byte) is now always NUL.
34765 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34768 Use non-cancelable interfaces.
34771 * locale/iso-639.def: Add entry for Sorani.
34774 * include/stdlib.h: Move include protection to the right place.
34775 Define abort_msg_s. Declare __abort_msg with it.
34776 * stdlib/abort.c (__abort_msg): Adjust type.
34777 * assert/assert.c (__assert_fail_base): New function. Majority
34778 of code from __assert_fail. Allocate memory for __abort_msg with
34780 (__assert_fail): Now call __assert_fail_base.
34781 * assert/assert-perr.c: Remove bulk of implementation. Use
34782 __assert_fail_base.
34783 * include/assert.hL Declare __assert_fail_base.
34784 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34786 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34788 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34792 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34793 until all modules are registered in the DTV.
34794 * elf/Makefile: Add rules to build and run tst-tls19.
34795 * elf/tst-tls19.c: New file.
34796 * elf/tst-tls19mod1.c: New file.
34797 * elf/tst-tls19mod2.c: New file.
34798 * elf/tst-tls19mod3.c: New file.
34799 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34802 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34806 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34807 two-byte sequence errors.
34808 * iconvdata/Makefile (tests): Add bug-iconv8.
34809 * iconvdata/bug-iconv8.c: New file.
34812 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34815 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34818 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34819 (dummy_getcfa): New function.
34820 (init): Get _Unwind_GetCFA address, use dummy if not found.
34821 (backtrace_helper): In recursion check, also check whether CFA changes.
34822 (__backtrace): Completely initialize arg.
34824 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34825 storing incomplete byte sequence in state object. Avoid testing for
34826 guaranteed too small input if we know there is enough data available.
34828 2011-05-11 Andreas Schwab <schwab@redhat.com>
34830 * Makeconfig (+link-pie): Indent.
34831 * Rules (binaries-pie): Define if $(have-fpie) and
34833 (binaries-shared): Also filter out $(binaries-pie).
34834 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34835 * nscd/Makefile (others-pie): Add nscd.
34836 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34837 ($(objpfx)nscd): Remove command override.
34838 * login/Makefile (others-pie): Add pt_chown.
34839 ($(objpfx)pt_chown): Remove command override.
34840 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34841 remove command overrides.
34843 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34845 * libio/tst_putwc.c: Fix error messages.
34848 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34849 currently writing and seek to current position when not.
34850 * libio/Makefile (tests): Add bug-fclose1.
34851 * libio/bug-fclose1.c: New file.
34853 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34856 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34857 don't set DF_1_NODELETE here.
34858 (do_lookup_x): When entering new entry test for copy relocation
34859 and if necessary set DF_1_NODELETE flag.
34860 * elf/tst-unique4.cc: New file.
34861 * elf/tst-unique4.h: New file.
34862 * elf/tst-unique4lib.cc: New file.
34863 * elf/Makefile: Add rules to build and run tst-unique4.
34864 Patch by Piotr Bury <pbury@goahead.com>.
34866 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34869 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34872 * misc/mntent_r.c (addmntent): Flush the stream after the output
34875 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34876 (is_trusted_path_normalize): Skip initial colon. Append slash
34877 to empty buffer. Duplicate is_trusted_path code but allow
34878 constructed patch to be prefix.
34879 (is_dst): Allow $ORIGIN followed by /.
34880 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34881 Correct testing of result of is_trusted_path_normalize
34882 (decompose_rpath): Fix warning.
34884 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34887 * grp/initgroups.c (internal_getgrouplist): When we found the service
34888 list through the initgroups entry in nsswitch.conf do not always
34889 continue on a successful lookup. Don't always use the
34890 __nss_group_database value if it is set.
34891 * nss/nsswitch.conf (initgroups): Change action for successful db
34892 lookup to continue for compatibility.
34894 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34897 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34899 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34901 * iconvdata/tst-tables.sh: Likewise.
34902 * iconvdata/cp770.c: New file.
34903 * iconvdata/cp771.c: New file.
34904 * iconvdata/cp772.c: New file.
34905 * iconvdata/cp773.c: New file.
34906 * iconvdata/cp774.c: New file.
34907 * iconvdata/testdata/CP770: New file.
34908 * iconvdata/testdata/CP770..UTF8: New file.
34909 * iconvdata/testdata/CP771: New file.
34910 * iconvdata/testdata/CP771..UTF8: New file.
34911 * iconvdata/testdata/CP772: New file.
34912 * iconvdata/testdata/CP772..UTF8: New file.
34913 * iconvdata/testdata/CP773: New file.
34914 * iconvdata/testdata/CP773..UTF8: New file.
34915 * iconvdata/testdata/CP774: New file.
34916 * iconvdata/testdata/CP774..UTF8: New file.
34918 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34920 * iconvdata/gen-8bit-gap.sh: Likewise.
34921 * iconvdata/gen-8bit.sh: Likewise.
34923 * locale/iso-639.def: Add ary entry.
34926 * locale/C-translit.h.in: Add U20A1 transliteration.
34929 * locale/iso-639.def: Add wae entry.
34930 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34933 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34937 * locale/C-translit.h.in: Add entry for U20B9.
34938 Patch by pravin.d.s@gmail.com.
34940 2011-05-08 Ulrich Drepper <drepper@gmail.com>
34943 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34944 ENAMETOOLONG use generic getcwd.
34945 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34946 in rtld. Use *stat64.
34947 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34948 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34949 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34950 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34951 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34952 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34953 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34954 __fstatat64 macros.
34955 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34956 * dirent/rewinddir.c: Add libc_hidden_def.
34957 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34958 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34960 * include/dirent.h (__alloc_dir): Add flags parameter.
34961 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34962 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34964 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34965 from fdopendir if O_CLOEXEC is already set.
34967 2011-03-15 Alan Modra <amodra@gmail.com>
34969 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34970 l_tls_firstbyte_offset non-zero. Save padding offset in
34971 l_tls_firstbyte_offset for later use.
34972 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34973 freeing static tls block.
34975 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34977 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34978 where #ifdef was intended. The intent is to prevent ARG_MAX from
34979 being defined by the kernel headers.
34981 2011-05-07 Ulrich Drepper <drepper@gmail.com>
34984 * resolv/resolv.h: Define RES_NOTLDQUERY.
34985 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34986 no-tld-query and set RES_NOTLDQUERY.
34987 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34988 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34989 modern BIND to search name as TLD unless forbidden.
34991 2011-05-07 Petr Baudis <pasky@suse.cz>
34992 Ulrich Drepper <drepper@gmail.com>
34995 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34996 (is_trusted_path): ...to here.
34997 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34998 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34999 using is_trusted_path_normalize() in setuid scripts.
35001 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35003 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35004 __BEGIN/__END_DECLS.
35006 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35009 NSS_STATUS_NOTFOUND if no record was found.
35011 2011-05-05 Andreas Schwab <schwab@redhat.com>
35013 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35014 (headers-not-in-tirpc): Remove rpc/netdb.h
35015 * resolv/netdb.h: Revert last change.
35017 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35019 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35020 circular dependency between libgcc.a and libc.a.
35022 2011-05-05 Andreas Schwab <schwab@redhat.com>
35024 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35025 * nis/Makefile: Don't install rpcsvc/*.
35026 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35027 instead of <rpc/types.h>.
35028 (MAXHOSTNAMELEN): Define.
35030 2011-05-03 Andreas Schwab <schwab@redhat.com>
35032 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35034 2011-04-28 Maciej Babinski <mbabinski@google.com>
35037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35038 gethostbyname4_r when IPv6 results are possible.
35040 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35043 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35044 _PC_PIPE_BUF handling.
35046 2011-04-30 Bruno Haible <bruno@clisp.org>
35049 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35050 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35052 * inet/getnameinfo.c (getnameinfo): Likewise.
35054 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35056 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35057 to groups setting in database lookup.
35058 * nss/nsswitch.conf: Add initgroups entry.
35060 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35063 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35065 Patch by Eric Blake <eblake@redhat.com>.
35067 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35069 * sunrpc/Makefile (need-export-routines): Add svc_run.
35070 (routines): Remove svc_run.
35071 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35072 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35073 * sunrpc/svc_run.c (svc_run): Likewise.
35074 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35076 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35079 problem in reallocation in last patch.
35081 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35083 * sunrpc/Makefile: Move inclusion of Rules.
35085 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35087 * nss/nss_files/files-initgroups.c: New file.
35088 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35089 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35090 _nss_files_initgroups_dyn.
35092 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35094 * elf/elf.h (R_ARM_IRELATIVE): Define.
35096 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35098 * po/ru.po: Update from translation team.
35100 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35102 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35105 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35108 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35109 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35110 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35114 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35116 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35122 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35125 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35127 * stdlib/bug-getcontext.c: New file.
35128 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35130 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35132 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35133 instructions into .machine "z9-109".
35134 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35135 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35137 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35139 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35140 between environment variables and auxiliary vector.
35142 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35144 * Makefile: Add rules to build linkobj/libc.so.
35145 * include/libc-symbols.h: Define libc_hidden_nolink.
35146 * include/rpc/auth.h: Mark functions which are to be hidden.
35147 * include/rpc/auth_des.h: Likewise.
35148 * include/rpc/auth_unix.h: Likewise.
35149 * include/rpc/clnt.h: Likewise.
35150 * include/rpc/des_crypt.h: Likewise.
35151 * include/rpc/key_prot.h: Likewise.
35152 * include/rpc/pmap_clnt.h: Likewise.
35153 * include/rpc/pmap_prot.h: Likewise.
35154 * include/rpc/pmap_rmt.h: Likewise.
35155 * include/rpc/rpc_msg.h: Likewise.
35156 * include/rpc/svc.h: Likewise.
35157 * include/rpc/svc_auth.h: Likewise.
35158 * include/rpc/xdr.h: Likewise.
35159 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35160 * nss/Makefile: Likewise.
35161 * sunrpc/Makefile: Don't install headers. Build library with normal
35162 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35163 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35164 for the compat linking library. Remove use of INTDEF/INTUSE.
35165 * sunrpc/auth_none.c: Likewise.
35166 * sunrpc/auth_unix.c: Likewise.
35167 * sunrpc/authdes_prot.c: Likewise.
35168 * sunrpc/authuxprot.c: Likewise.
35169 * sunrpc/clnt_gen.c: Likewise.
35170 * sunrpc/clnt_perr.c: Likewise.
35171 * sunrpc/clnt_raw.c: Likewise.
35172 * sunrpc/clnt_simp.c: Likewise.
35173 * sunrpc/clnt_tcp.c: Likewise.
35174 * sunrpc/clnt_udp.c: Likewise.
35175 * sunrpc/clnt_unix.c: Likewise.
35176 * sunrpc/des_crypt.c: Likewise.
35177 * sunrpc/des_soft.c: Likewise.
35178 * sunrpc/get_myaddr.c: Likewise.
35179 * sunrpc/key_call.c: Likewise.
35180 * sunrpc/key_prot.c: Likewise.
35181 * sunrpc/netname.c: Likewise.
35182 * sunrpc/pm_getmaps.c: Likewise.
35183 * sunrpc/pm_getport.c: Likewise.
35184 * sunrpc/pmap_clnt.c: Likewise.
35185 * sunrpc/pmap_prot.c: Likewise.
35186 * sunrpc/pmap_prot2.c: Likewise.
35187 * sunrpc/pmap_rmt.c: Likewise.
35188 * sunrpc/publickey.c: Likewise.
35189 * sunrpc/rpc_cmsg.c: Likewise.
35190 * sunrpc/rpc_common.c: Likewise.
35191 * sunrpc/rpc_dtable.c: Likewise.
35192 * sunrpc/rpc_prot.c: Likewise.
35193 * sunrpc/rpc_thread.c: Likewise.
35194 * sunrpc/rtime.c: Likewise.
35195 * sunrpc/svc.c: Likewise.
35196 * sunrpc/svc_auth.c: Likewise.
35197 * sunrpc/svc_authux.c: Likewise.
35198 * sunrpc/svc_raw.c: Likewise.
35199 * sunrpc/svc_run.c: Likewise.
35200 * sunrpc/svc_simple.c: Likewise.
35201 * sunrpc/svc_tcp.c: Likewise.
35202 * sunrpc/svc_udp.c: Likewise.
35203 * sunrpc/svc_unix.c: Likewise.
35204 * sunrpc/svcauth_des.c: Likewise.
35205 * sunrpc/xcrypt.c: Likewise.
35206 * sunrpc/xdr.c: Likewise.
35207 * sunrpc/xdr_array.c: Likewise.
35208 * sunrpc/xdr_float.c: Likewise.
35209 * sunrpc/xdr_intXX_t.c: Likewise.
35210 * sunrpc/xdr_mem.c: Likewise.
35211 * sunrpc/xdr_rec.c: Likewise.
35212 * sunrpc/xdr_ref.c: Likewise.
35213 * sunrpc/xdr_sizeof.c: Likewise.
35214 * sunrpc/xdr_stdio.c: Likewise.
35216 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35219 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35220 * sysdeps/ia64/dl-tls.h: Likewise.
35221 * sysdeps/powerpc/dl-tls.h: Likewise.
35222 * sysdeps/s390/dl-tls.h: Likewise.
35223 * sysdeps/sh/dl-tls.h: Likewise.
35224 * sysdeps/sparc/dl-tls.h: Likewise.
35225 * sysdeps/x86_64/dl-tls.h: Likewise.
35226 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35228 2011-03-14 Andreas Schwab <schwab@redhat.com>
35230 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35231 rpath element also skip the following colon.
35232 (expand_dynamic_string_token): Add is_path parameter and pass
35233 down to DL_DST_REQUIRED and _dl_dst_substitute.
35234 (decompose_rpath): Call expand_dynamic_string_token with
35235 non-zero is_path. Ignore empty rpaths.
35236 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35239 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35244 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35247 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35248 Patch by Filipe David Manana <fdmanana@apache.org>.
35250 2011-04-07 Andreas Schwab <schwab@redhat.com>
35252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35253 Maintain aligned stack.
35254 (CHECK_RSP): Remove unused macro.
35256 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35258 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35261 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35263 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35265 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35267 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35270 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35271 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35272 * sysdeps/x86_64/memmove.c: New file.
35273 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35274 (memcpy): Renamed to ...
35275 (__new_memcpy): This.
35276 (memcpy): Provide GLIBC_2_14 memcpy.
35277 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35278 (memcpy): Provide GLIBC_2_2_5 memcpy.
35280 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35283 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35285 2011-03-30 Andreas Schwab <schwab@redhat.com>
35287 * misc/syncfs.c: New file.
35288 * misc/Makefile (routines): Add syncfs.
35289 * posix/unistd.h: Declare syncfs.
35290 * sysdeps/unix/syscalls.list: Add syncfs.
35292 2011-04-01 Andreas Schwab <schwab@redhat.com>
35294 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35297 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35301 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35304 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35307 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35308 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35314 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35315 sync_file_range.c with -fexceptions.
35316 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35317 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35318 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35319 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35320 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35321 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35323 sync_file_range as cancellation point
35324 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35325 now a wrapper around __call_sync_file_range with cancellation handling.
35326 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35327 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35328 function name to __call_sync_file_range.
35329 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35330 Add call_sync_file_range.
35332 2011-04-01 Andreas Schwab <schwab@redhat.com>
35334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35337 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35339 * iconv/iconv.h: Fix typo in comment.
35340 * io/fcntl.h: Likewise.
35341 * libio/stdio.h: Likewise.
35342 * posix/spawn.h: Likewise.
35343 * posix/unistd.h: Likewise.
35344 * stdlib/stdlib.h: Likewise.
35345 * time/time.h: Likewise.
35346 * wcsmbs/wchar.h: Likewise.
35348 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35349 open_by_handle): Add.
35350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35351 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35352 Augment a few comments.
35353 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35358 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35361 * io/fcntl.h (AT_EMPTY_PATH): Define.
35363 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35365 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35366 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35367 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35369 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35370 * Versions.def: Add GLIBC_2.14.
35371 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35374 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35378 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35380 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35383 * string/test-strncmp.c (do_page_test): New function.
35384 (check2): Likewise.
35385 (test_main): Call check2.
35386 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35388 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35392 Handle cache information in CPU leaf 4.
35393 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35395 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35398 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35399 character representation.
35400 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35402 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35404 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35405 END(__isnan) to END(__isnanf) to match function entry point/label
35406 EALIGN(__isnanf,...).
35408 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35410 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35412 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35415 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35416 copy from the symbol referenced in the relocation to initialize the
35418 Patch by Piotr Bury <pbury@goahead.com>.
35419 * elf/Makefile: Add rules to build and tst-unique3.
35420 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35421 * elf/tst-unique3.cc: New file.
35422 * elf/tst-unique3.h: New file.
35423 * elf/tst-unique3lib.cc: New file.
35424 * elf/tst-unique3lib2.cc: New file.
35426 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35428 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35430 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35431 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35434 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35436 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35437 to-be-loaded object along a path to loader is ld.so.
35439 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35440 Ulrich Drepper <drepper@gmail.com>
35442 * sysdeps/x86_64/memset.S: After aligning destination, code
35443 branches to different locations depending on the value of
35444 misalignment, when multiarch is enabled. Fix this.
35446 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35448 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35449 Set _x86_64_preferred_memory_instruction for AMD processsors.
35450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35451 Set bit_Prefer_SSE_for_memop for AMD processors.
35453 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35455 * libio/fmemopen.c (fmemopen): Optimize a bit.
35457 2011-03-03 Andreas Schwab <schwab@redhat.com>
35459 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35461 2011-03-03 Roland McGrath <roland@redhat.com>
35463 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35465 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35467 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35468 __bzero_ultra1 instead of __memset_ultra1.
35470 2011-02-23 Andreas Schwab <schwab@redhat.com>
35471 Ulrich Drepper <drepper@gmail.com>
35474 * include/link.h (struct link_map): Add l_orig_initfini.
35475 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35476 returning unsuccessfully.
35477 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35478 close of a file loaded at startup, restore the original l_initfini
35480 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35481 list, store the pointer.
35482 * elf/Makefile ($(objpfx)noload-mem): New rule.
35483 (noload-ENV): Define.
35484 (tests): Add $(objpfx)noload-mem.
35485 * elf/noload.c: Include <memcheck.h>.
35486 (main): Call mtrace. Close all opened handles.
35488 2011-02-17 Andreas Schwab <schwab@redhat.com>
35491 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35492 dependencies are missing.
35494 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35496 Fix __if_freereq crash: Unlike the generic version which uses free,
35498 * sysdeps/mach/hurd/ifreq.h: New file.
35500 2011-01-27 Petr Baudis <pasky@suse.cz>
35501 Ulrich Drepper <drepper@gmail.com>
35504 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35505 to extend_alloca().
35506 * stdio-common/bug23.c: New file.
35507 * stdio-common/Makefile (tests): Add bug23.
35509 2010-09-28 Andreas Schwab <schwab@redhat.com>
35510 Ulrich Drepper <drepper@gmail.com>
35513 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35514 before performing relro protection. At old place add assertion
35515 to make sure nothing changed.
35517 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35518 Glauber de Oliveira Costa <glommer@gmail.com>
35520 * elf/elf.h: Add new ARM TLS relocs.
35522 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35525 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35527 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35529 * sysdeps/wordsize-64/tst-writev.c: New file.
35531 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35533 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35534 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35535 insns in _dl_start to prevent a TOC reference before relocs are
35538 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35541 * Makeconfig: Remove RANLIB definition.
35542 * Makerules: Don't use RANLIB.
35543 * aclocal.m4: Remove ranlib test.
35544 * configure.in: No need to check for ranlib.
35545 * elf/rtld-Rules: Don't use RANLIB.
35547 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35549 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35551 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35552 inclusion protection macro.
35554 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35555 SIGRTMIN and SIGRTMAX and print information in that case only when
35556 SIGRTMIN is defined.
35558 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35560 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35561 arginfo fn returning -1.
35563 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35564 and thousands string is zero terminated.
35566 2011-02-03 Andreas Schwab <schwab@redhat.com>
35568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35569 sysdeps/unix/sysv/linux/bits/socket.h.
35571 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35573 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35574 (__CPU_COUNT): Remove old macros.
35575 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35576 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35577 (__CPU_ALLOC, __CPU_FREE): Add macros.
35578 (__sched_cpualloc, __sched_cpufree): Add declarations.
35580 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35582 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35583 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35584 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35585 (readdhstai): Return value of addhstaiX call.
35586 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35587 (addgrbyX): Return value returned by cache_addgr.
35588 (readdgrbyname): Return value returned by addgrbyX.
35589 (readdgrbygid): Likewise.
35590 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35591 (addpwbyX): Return value returned by cache_addpw.
35592 (readdpwbyname): Return value returned by addhstbyX.
35593 (readdpwbyuid): Likewise.
35594 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35595 (addservbyX): Return value returned by cache_addserv.
35596 (readdservbyname): Return value returned by addservbyX:
35597 (readdservbyport): Likewise.
35598 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35599 (addhstbyX): Return value returned by cache_addhst.
35600 (readdhstbyname): Return value returned by addhstbyX.
35601 (readdhstbyaddr): Likewise.
35602 (readdhstbynamev6): Likewise.
35603 (readdhstbyaddrv6): Likewise.
35604 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35605 (readdinitgroups): Return value returned by addinitgroupsX.
35606 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35607 (prune_cache): Keep track of timeout value of re-added entries.
35608 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35609 * nscd/nscd.h: Adjust prototypes of readd* functions.
35611 2011-02-04 Roland McGrath <roland@redhat.com>
35613 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35614 (nis_stats): Likewise.
35615 * nis/nis_modify.c (nis_modify): Likewise.
35616 * nis/nis_remove.c (nis_remove): Likewise.
35617 * nis/nis_add.c (nis_add): Likewise.
35619 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35621 * posix/fnmatch_loop.c: Add some consts.
35623 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35625 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35628 * config.make.in (config-cflags-novzeroupper): Define.
35629 * configure.in: Substitute libc_cv_cc_novzeroupper.
35630 * elf/Makefile (AVX-CFLAGS): Define.
35631 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35632 (CFLAGS-tst-auditmod4a.c): Likewise.
35633 (CFLAGS-tst-auditmod4b.c): Likewise.
35634 (CFLAGS-tst-auditmod6b.c): Likewise.
35635 (CFLAGS-tst-auditmod6c.c): Likewise.
35636 (CFLAGS-tst-auditmod7b.c): Likewise.
35637 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35639 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35641 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35642 function to the callback.
35643 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35645 2011-02-02 Andreas Schwab <schwab@redhat.com>
35647 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35650 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35653 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35655 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35657 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35660 * elf/Makefile: Add rules to build and run new test.
35661 * elf/tst-initorder.c: New file.
35662 * elf/tst-initorder.exp: New file.
35663 * elf/tst-initordera1.c: New file.
35664 * elf/tst-initordera2.c: New file.
35665 * elf/tst-initordera3.c: New file.
35666 * elf/tst-initordera4.c: New file.
35667 * elf/tst-initorderb1.c: New file.
35668 * elf/tst-initorderb2.c: New file.
35669 * elf/tst-order-a1.c: New file.
35670 * elf/tst-order-a2.c: New file.
35671 * elf/tst-order-a3.c: New file.
35672 * elf/tst-order-a4.c: New file.
35673 * elf/tst-order-b1.c: New file.
35674 * elf/tst-order-b2.c: New file.
35675 * elf/tst-order-main.c: New file.
35676 New test case by George Gensure <werkt0@gmail.com>.
35678 2010-10-01 Andreas Schwab <schwab@redhat.com>
35680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35681 decoding ACE if AI_CANONIDN.
35683 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35685 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35687 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35689 * version.h (RELEASE): Bump for 2.13 release.
35690 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35692 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35694 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35696 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35703 * posix/getconf.c: Update copyright year.
35704 * catgets/gencat.c: Likewise.
35705 * csu/version.c: Likewise.
35706 * debug/catchsegv.sh: Likewise.
35707 * debug/xtrace.sh: Likewise.
35708 * elf/ldconfig.c: Likewise.
35709 * elf/ldd.bash.in: Likewise.
35710 * elf/sprof.c (print_version): Likewise.
35711 * iconv/iconv_prog.c: Likewise.
35712 * iconv/iconvconfig.c: Likewise.
35713 * locale/programs/locale.c: Likewise.
35714 * locale/programs/localedef.c: Likewise.
35715 * malloc/memusage.sh: Likewise.
35716 * malloc/mtrace.pl: Likewise.
35717 * nscd/nscd.c (print_version): Likewise.
35718 * nss/getent.c: Likewise.
35720 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35721 PF_CAIF, and PF_ALG.
35722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35724 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35726 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35727 (modules-names): Use them.
35728 (ifunc-test-modules, ifunc-pie-tests): Define.
35729 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35730 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35731 (test-extras): Likewise.
35732 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35733 $(compile-command.c).
35734 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35735 (all-built-dso): Define.
35736 (check-textrel.out, check-execstack.out): Depend on it.
35738 * configure.in: Don't override --enable-multi-arch.
35740 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35743 * nscd/hstcache.c (tryagain): Define.
35744 (cache_addhst): Return tryagain not notfound for temporary errors.
35745 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35748 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35751 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35752 to make the syscall.
35753 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35756 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35757 and fall back to matching as normal character if the string ends before
35758 the matching ']' is found. This is what POSIX requires.
35759 * posix/testfnm.c: Adjust test result.
35760 * posix/globtest.sh: Adjust test result. Add new test.
35761 * posix/tst-fnmatch.input: Likewise.
35762 * posix/tst-fnmatch2.c: Add new test.
35764 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35766 * elf/Makefile (check-execstack): Revert last change. Depend on
35768 (check-execstack.h): New target.
35769 (generated): Add check-execstack.h.
35770 * elf/check-execstack.c: Include "check-execstack.h".
35771 (main): Revert last change.
35772 (handle_file): Return zero if GNU_STACK is absent and
35773 DEFAULT_STACK_PERMS doesn't include PF_X.
35775 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35777 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35778 in child fails because the descriptor is already closed.
35779 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35780 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35781 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35784 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35788 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35789 temporary buffer used to handle multi lookups locally.
35790 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35792 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35794 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35797 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35799 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35800 alignment for SSE2.
35802 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35805 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35806 characters. When rounding increased number of integer digits recompute
35808 * stdio-common/tst-grouping.c: New file.
35809 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35811 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35813 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35814 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35816 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35818 * bits/select.h: Likewise.
35820 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35822 * po/ja.po: Update from translation team.
35824 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35827 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35828 implementation just like for lxstat, fxstatat, et al.
35830 2010-12-27 Jim Meyering <meyering@redhat.com>
35833 * posix/regexec.c (build_trtable): Return failure indication upon
35834 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35836 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35839 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35840 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35841 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35842 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35845 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35848 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35849 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35851 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35853 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35854 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35855 script has SORT_BY_INIT_PRIORITY.
35856 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35857 NO_CTORS_DTORS_SECTIONS is defined.
35858 * elf/soinit.c: Likewise.
35859 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35860 NO_CTORS_DTORS_SECTIONS is defined.
35861 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35862 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35863 * sysdeps/sh/init-first.c: Likewise.
35864 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35866 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35868 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35869 always use the slow path.
35871 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35873 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35874 similar rule which adds the sysdep directories to the header search in
35875 order to pick up the correct platform stackinfo.h.
35876 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35877 perform test if it is, otherwise return successfully without testing.
35878 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35879 DEFAULT_STACK_PERMS define in stackinfo.h.
35880 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35881 defined in stackinfo.h.
35882 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35883 DEFAULT_STACK_PERMS defined in stackinfo.h.
35884 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35885 * sysdeps/ia64/stackinfo.h: Likewise.
35886 * sysdeps/s390/stackinfo.h: Likewise.
35887 * sysdeps/sh/stackinfo.h: Likewise.
35888 * sysdeps/sparc/stackinfo.h: Likewise.
35889 * sysdeps/x86_64/stackinfo.h: Likewise.
35890 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35891 PF_X for powerpc64. Retain PF_X for powerpc32.
35893 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35895 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35897 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35898 GETDENTS_64BIT_ALIGNED.
35900 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35902 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35904 2010-12-10 Andreas Schwab <schwab@redhat.com>
35906 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35909 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35910 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35912 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35913 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35915 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35918 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35921 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35923 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35925 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35927 * po/it.po: Update from translation team.
35929 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35934 2010-11-30 Ulrich Drepper <drepper@gmail.com>
35936 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35938 2010-11-24 Andreas Schwab <schwab@redhat.com>
35940 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35942 (gaih_getanswer_slice): Likewise.
35944 2010-10-20 Jakub Jelinek <jakub@redhat.com>
35946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35948 2010-05-31 Petr Baudis <pasky@suse.cz>
35951 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35952 silently even in the chroot mode.
35954 2010-11-22 Ulrich Drepper <drepper@gmail.com>
35956 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35957 last patch a bit. Pretty printing
35959 2010-05-31 Petr Baudis <pasky@suse.cz>
35962 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35963 initialization of skip_initgroups_dyn.
35965 2010-11-19 Ulrich Drepper <drepper@gmail.com>
35967 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35970 2010-11-16 Ulrich Drepper <drepper@gmail.com>
35972 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35974 2010-11-11 Andreas Schwab <schwab@redhat.com>
35976 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35977 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35978 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35979 ($(objpfx)tst-fnmatch-mem): New rule.
35980 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35981 * posix/tst-fnmatch.c (main): Call mtrace.
35983 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35986 Support Intel processor model 6 and model 0x2c.
35988 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
35990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35993 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35996 * string/test-strncasecmp.c (check_result): New function.
35997 (do_one_test): Use it.
35998 (check1): New function.
35999 (test_main): Use it.
36000 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36001 Support strcasecmp and strncasecmp.
36003 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36006 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36009 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36011 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36015 * sysdeps/x86_64/multiarch/bzero.S: New file.
36016 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36017 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36018 * sysdeps/x86_64/multiarch/memset.S: New file.
36019 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36021 Set bit_Prefer_SSE_for_memop for Intel processors.
36022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36024 (index_Prefer_SSE_for_memop): Define.
36025 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36027 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36029 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36030 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36032 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36035 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36036 (__x86_64_raw_data_cache_size_half): Likewise.
36037 (__x86_64_raw_shared_cache_size): Likewise.
36038 (__x86_64_raw_shared_cache_size_half): Likewise.
36040 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36041 (__x86_64_raw_data_cache_size_half): Likewise.
36042 (__x86_64_raw_shared_cache_size): Likewise.
36043 (__x86_64_raw_shared_cache_size_half): Likewise.
36044 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36045 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36046 and __x86_64_raw_shared_cache_size_half. Round
36047 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36048 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36049 to multiple of 256 bytes.
36051 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36055 of inacessible symlinks. Verify result of symlink before returning it.
36056 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36057 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36059 2010-10-28 Erich Ritz <erichritz@gmail.com>
36061 * math/math.h (isinf): Fix typo in comment.
36063 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36065 * po/da.po: Update from translation team.
36067 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36069 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36070 is added to the list.
36072 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36073 Ulrich Drepper <drepper@gmail.com>
36075 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36076 the global list here. Move code to...
36077 (_dl_add_to_namespace_list): ...here. New function.
36078 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36079 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36080 * elf/dl-load.c (lose): Don't remove the element from the list.
36081 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36082 (_dl_map_object): Likewise.
36084 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36087 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36088 into all bytes of SSE register.
36089 Patch by Richard Li <richardpku@gmail.com>.
36091 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36094 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36097 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36099 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36100 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36101 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36107 2010-10-22 Andreas Schwab <schwab@redhat.com>
36109 * include/dlfcn.h (__RTLD_SECURE): Define.
36110 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36111 mode & __RTLD_SECURE instead.
36112 (open_path): Rename preloaded parameter to secure.
36113 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36114 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36115 * elf/dl-deps.c (openaux): Likewise.
36116 * elf/rtld.c (struct map_args): Remove is_preloaded.
36117 (map_doit): Don't use it.
36118 (dl_main): Likewise.
36119 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36120 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36122 2010-09-09 Andreas Schwab <schwab@redhat.com>
36124 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36125 (sysd-rules-targets): Remove duplicates.
36126 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36127 rtld-%.$o dependency.
36129 2010-10-18 Andreas Schwab <schwab@redhat.com>
36131 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36132 _dl_map_object do it.
36134 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36136 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36137 fast fma builtins, define the macros in the C99 standard.
36138 (FP_FAST_FMAF): Likewise.
36139 (FP_FAST_FMAL): Likewise.
36140 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36142 * bits/mathdef.h: Update copyright year.
36143 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36145 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36147 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36148 builtins, define the macros in the C99 standard.
36149 (FP_FAST_FMAF): Likewise.
36150 (FP_FAST_FMAL): Likewise.
36151 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36153 (FP_FAST_FMAF): Likewise.
36155 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36158 * math/libm-test.inc (fma_test): Some new testcases.
36159 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36160 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36161 y and infinite z. Do multiplication by C already in long double.
36162 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36164 y and infinite z. Do bitwise or of inexact bit into u.d.
36165 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36166 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36167 * sysdeps/i386/fpu/s_fma.S: Removed.
36168 * sysdeps/i386/fpu/s_fmal.S: Removed.
36170 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36173 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36175 computation is not scheduled after fetestexcept. Fix value
36176 of minimum denormal long double.
36178 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36181 * math/libm-test.inc (fma_test): Add some more tests.
36182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36185 2010-10-15 Andreas Schwab <schwab@redhat.com>
36187 * scripts/data/localplt-s390-linux-gnu.data: New file.
36188 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36190 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36193 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36194 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36196 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36198 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36200 if one of x and y is very large and the other is subnormal.
36201 * sysdeps/s390/fpu/s_fmaf.c: New file.
36202 * sysdeps/s390/fpu/s_fma.c: New file.
36203 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36204 * sysdeps/powerpc/fpu/s_fma.S: New file.
36205 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36206 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36207 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36209 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36212 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36215 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36216 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36217 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36218 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36219 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36220 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36222 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36225 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36226 * posix/bug-regex31.input: Add test case.
36228 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36230 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36231 * posix/bug-regex31.input: New file.
36234 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36235 (parse_sub_exp): Fix last change, use postorder.
36237 * posix/bug-regex31.c: New file.
36238 * posix/Makefile: Add rules to build and run bug-regex31.
36240 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36243 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36246 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36247 to have entries in sys_siglist.
36250 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36253 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36256 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36257 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36258 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36259 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36260 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36261 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36262 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36263 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36264 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36265 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36266 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36267 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36268 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36269 * math/ftestexcept.c (fetestexcept): Likewise.
36270 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36271 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36272 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36273 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36274 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36275 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36276 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36278 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36281 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36284 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36286 * string/bug-strstr1.c: New file.
36287 * string/Makefile: Add rules to build and run bug-strstr1.
36289 2010-10-05 Eric Blake <eblake@redhat.com>
36292 * string/str-two-way.h (two_way_long_needle): Always clear memory
36293 when skipping input due to the shift table.
36295 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36298 * malloc/mcheck.c: Handle large requests.
36301 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36302 for strncmp and strncasecmp.
36303 * string/stratcliff.c: Add tests for strcmp and strncmp.
36304 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36306 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36308 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36311 2010-09-30 Andreas Jaeger <aj@suse.de>
36313 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36314 (CGROUP_SUPER_MAGIC): Define.
36315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36316 Handle btrfs and cgroup file systems.
36317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36320 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36322 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36323 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36325 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36328 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36329 trying to locate the ELF header.
36331 2010-09-27 Andreas Schwab <schwab@redhat.com>
36334 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36335 Mask out sign-bit copies when constructing f_fsid.
36337 2010-09-24 Petr Baudis <pasky@suse.cz>
36339 * debug/stack_chk_fail_local.c: Add missing licence exception.
36340 * debug/warning-nop.c: Likewise.
36342 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36344 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36345 implementing getdents64 using getdents syscall, set d_type if
36346 __ASSUME_GETDENTS32_D_TYPE.
36348 2010-09-16 Andreas Schwab <schwab@redhat.com>
36350 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36351 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36353 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36356 * posix/unistd.h: Undo change of feature selection for ftruncate from
36359 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36361 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36364 2010-09-20 Andreas Schwab <schwab@redhat.com>
36366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36368 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36370 2010-09-14 Andreas Schwab <schwab@redhat.com>
36372 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36373 variables after CHECK_SP call.
36374 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36376 2010-09-13 Andreas Schwab <schwab@redhat.com>
36377 Ulrich Drepper <drepper@redhat.com>
36379 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36380 re-relocationg ld.so.
36381 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36382 _dl_init_paths call.
36383 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36386 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36388 * resolv/res_init.c (__res_vinit): Count the default server we added.
36390 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36391 Ulrich Drepper <drepper@redhat.com>
36394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36395 (____longjmp_chk): Use %ebx for saving value across system call.
36398 2010-09-06 Andreas Schwab <schwab@redhat.com>
36400 * manual/Makefile: Don't mix pattern rules with normal rules.
36402 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36404 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36406 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36407 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36408 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36409 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36410 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36413 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36416 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36417 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36419 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36421 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36422 * sysdeps/x86_64/addmul_1.S: Likewise.
36423 * sysdeps/x86_64/lshift.S: Likewise.
36424 * sysdeps/x86_64/mul_1.S: Likewise.
36425 * sysdeps/x86_64/rshift.S: Likewise.
36426 * sysdeps/x86_64/sub_n.S: Likewise.
36427 * sysdeps/x86_64/submul_1.S: Likewise.
36429 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36431 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36432 Define __sched_param instead of SCHED_* and sched_param when
36433 <bits/sched.h> is included with __need_schedparam defined.
36434 * bits/sched.h [__need_schedparam]
36435 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36436 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36437 (__defined_schedparam): Define to 1.
36438 (__sched_param): New structure, identical to sched_param.
36439 (__need_schedparam): Undefine.
36441 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36443 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36444 (epoll_create1): Declare.
36446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36448 2010-08-31 Andreas Schwab <schwab@redhat.com>
36451 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36452 shifting retval into place.
36454 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36456 * nis/rpcsvc/nis.h: Update copyright notice.
36457 * nis/rpcsvc/nis.x: Likewise.
36458 * nis/rpcsvc/nis_callback.h: Likewise.
36459 * nis/rpcsvc/nis_callback.x: Likewise.
36460 * nis/rpcsvc/nis_object.x: Likewise.
36461 * nis/rpcsvc/nis_tags.h: Likewise.
36462 * nis/rpcsvc/yp.h: Likewise.
36463 * nis/rpcsvc/yp.x: Likewise.
36464 * nis/rpcsvc/ypupd.h: Likewise.
36465 * nis/yp_xdr.c: Likewise.
36466 * nis/ypupdate_xdr.c: Likewise.
36468 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36469 mainly the body of pmap_getport. Add parameters to specify timeouts.
36470 (pmap_getport): Use __libc_rpc_getport.
36471 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36472 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36473 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36475 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36480 2010-08-27 Roland McGrath <roland@redhat.com>
36482 * sysdeps/i386/i686/multiarch/Makefile
36483 (CFLAGS-varshift.c): New variable.
36485 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36487 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36488 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36492 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36494 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36496 * sysdeps/x86_64/strlen.S: Unroll the loop.
36497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36498 strlen-sse2 strlen-sse2-bsf.
36499 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36500 __strlen_no_bsf if bit_Slow_BSF is set.
36501 (__strlen_sse42): Removed.
36502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36503 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36505 2010-08-25 Roland McGrath <roland@redhat.com>
36507 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36508 * sysdeps/x86_64/multiarch/varshift.c: New file.
36509 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36510 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36511 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36512 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36514 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36517 strlen-sse2 strlen-sse2-bsf.
36518 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36519 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36520 (__strlen_sse2): Removed.
36521 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36524 bit_Slow_BSF for Atom.
36525 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36526 (index_Slow_BSF): Define.
36527 (HAS_SLOW_BSF): Define.
36529 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36532 * resolv/res_init.c (__res_vinit): When no server address at all
36533 is given default to loopback.
36535 2010-08-24 Roland McGrath <roland@redhat.com>
36537 * configure.in: Remove config-name.h generation.
36538 * configure: Regenerated.
36539 * config-name.in: File removed.
36540 * scripts/config-uname.sh: New file.
36541 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36542 ($(objdir)config-name.h): New target.
36544 * sunrpc/rpc_parse.h: Avoid nested comment.
36546 2010-08-24 Richard Henderson <rth@redhat.com>
36547 Ulrich Drepper <drepper@redhat.com>
36548 H.J. Lu <hongjiu.lu@intel.com>
36550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36552 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36553 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36554 _mm_alignr_epi8 with _mm_loadu_si128.
36555 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36556 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36557 (__m128i_shift_right): Removed.
36558 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36559 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36560 * sysdeps/x86_64/multiarch/varshift.h: New file.
36561 * sysdeps/x86_64/multiarch/varshift.S: New file.
36563 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36565 * configure.in: Move assembler checks to before sysdep dir checking.
36567 2010-08-20 Petr Baudis <pasky@suse.cz>
36569 * LICENSES: Sync the sunrpc license.
36571 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36573 * sunrpc/auth_des.c: Update copyright notice once again.
36574 * sunrpc/auth_none.c: Likewise.
36575 * sunrpc/auth_unix.c: Likewise.
36576 * sunrpc/authdes_prot.c: Likewise.
36577 * sunrpc/authuxprot.c: Likewise.
36578 * sunrpc/bindrsvprt.c: Likewise.
36579 * sunrpc/clnt_gen.c: Likewise.
36580 * sunrpc/clnt_perr.c: Likewise.
36581 * sunrpc/clnt_raw.c: Likewise.
36582 * sunrpc/clnt_simp.c: Likewise.
36583 * sunrpc/clnt_tcp.c: Likewise.
36584 * sunrpc/clnt_udp.c: Likewise.
36585 * sunrpc/clnt_unix.c: Likewise.
36586 * sunrpc/des_crypt.c: Likewise.
36587 * sunrpc/des_soft.c: Likewise.
36588 * sunrpc/get_myaddr.c: Likewise.
36589 * sunrpc/getrpcport.c: Likewise.
36590 * sunrpc/key_call.c: Likewise.
36591 * sunrpc/key_prot.c: Likewise.
36592 * sunrpc/openchild.c: Likewise.
36593 * sunrpc/pm_getmaps.c: Likewise.
36594 * sunrpc/pm_getport.c: Likewise.
36595 * sunrpc/pmap_clnt.c: Likewise.
36596 * sunrpc/pmap_prot.c: Likewise.
36597 * sunrpc/pmap_prot2.c: Likewise.
36598 * sunrpc/pmap_rmt.c: Likewise.
36599 * sunrpc/rpc/auth.h: Likewise.
36600 * sunrpc/rpc/auth_unix.h: Likewise.
36601 * sunrpc/rpc/clnt.h: Likewise.
36602 * sunrpc/rpc/des_crypt.h: Likewise.
36603 * sunrpc/rpc/key_prot.h: Likewise.
36604 * sunrpc/rpc/netdb.h: Likewise.
36605 * sunrpc/rpc/pmap_clnt.h: Likewise.
36606 * sunrpc/rpc/pmap_prot.h: Likewise.
36607 * sunrpc/rpc/pmap_rmt.h: Likewise.
36608 * sunrpc/rpc/rpc.h: Likewise.
36609 * sunrpc/rpc/rpc_des.h: Likewise.
36610 * sunrpc/rpc/rpc_msg.h: Likewise.
36611 * sunrpc/rpc/svc.h: Likewise.
36612 * sunrpc/rpc/svc_auth.h: Likewise.
36613 * sunrpc/rpc/types.h: Likewise.
36614 * sunrpc/rpc/xdr.h: Likewise.
36615 * sunrpc/rpc_clntout.c: Likewise.
36616 * sunrpc/rpc_cmsg.c: Likewise.
36617 * sunrpc/rpc_common.c: Likewise.
36618 * sunrpc/rpc_cout.c: Likewise.
36619 * sunrpc/rpc_dtable.c: Likewise.
36620 * sunrpc/rpc_hout.c: Likewise.
36621 * sunrpc/rpc_main.c: Likewise.
36622 * sunrpc/rpc_parse.c: Likewise.
36623 * sunrpc/rpc_parse.h: Likewise.
36624 * sunrpc/rpc_prot.c: Likewise.
36625 * sunrpc/rpc_sample.c: Likewise.
36626 * sunrpc/rpc_scan.c: Likewise.
36627 * sunrpc/rpc_scan.h: Likewise.
36628 * sunrpc/rpc_svcout.c: Likewise.
36629 * sunrpc/rpc_tblout.c: Likewise.
36630 * sunrpc/rpc_util.c: Likewise.
36631 * sunrpc/rpc_util.h: Likewise.
36632 * sunrpc/rpcinfo.c: Likewise.
36633 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36634 * sunrpc/rpcsvc/key_prot.x: Likewise.
36635 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36636 * sunrpc/rpcsvc/mount.x: Likewise.
36637 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36638 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36639 * sunrpc/rpcsvc/rex.x: Likewise.
36640 * sunrpc/rpcsvc/rstat.x: Likewise.
36641 * sunrpc/rpcsvc/rusers.x: Likewise.
36642 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36643 * sunrpc/rpcsvc/spray.x: Likewise.
36644 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36645 * sunrpc/rtime.c: Likewise.
36646 * sunrpc/svc.c: Likewise.
36647 * sunrpc/svc_auth.c: Likewise.
36648 * sunrpc/svc_authux.c: Likewise.
36649 * sunrpc/svc_raw.c: Likewise.
36650 * sunrpc/svc_run.c: Likewise.
36651 * sunrpc/svc_simple.c: Likewise.
36652 * sunrpc/svc_tcp.c: Likewise.
36653 * sunrpc/svc_udp.c: Likewise.
36654 * sunrpc/svc_unix.c: Likewise.
36655 * sunrpc/svcauth_des.c: Likewise.
36656 * sunrpc/xcrypt.c: Likewise.
36657 * sunrpc/xdr.c: Likewise.
36658 * sunrpc/xdr_array.c: Likewise.
36659 * sunrpc/xdr_float.c: Likewise.
36660 * sunrpc/xdr_mem.c: Likewise.
36661 * sunrpc/xdr_rec.c: Likewise.
36662 * sunrpc/xdr_ref.c: Likewise.
36663 * sunrpc/xdr_sizeof.c: Likewise.
36664 * sunrpc/xdr_stdio.c: Likewise.
36666 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36669 2010-08-19 Andreas Schwab <schwab@redhat.com>
36671 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36673 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36675 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36676 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36677 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36678 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36679 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36680 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36681 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36682 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36683 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36684 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36685 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36686 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36687 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36688 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36690 2010-07-26 Anton Blanchard <anton@samba.org>
36692 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36693 * malloc/arena.c (heap_trim): Likewise.
36695 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36697 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36700 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36702 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36704 * sysdeps/i386/elf/Makefile: New file.
36706 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36708 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36709 from fanotify_init.
36710 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36713 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36715 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36717 * sysdeps/multiarch/strcmp.S: Likewise.
36719 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36721 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36722 strncase_l-nonascii.
36723 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36724 Add strncase_l-ssse3.
36725 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36726 * sysdeps/x86_64/strcmp.S: Likewise.
36727 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36728 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36729 * sysdeps/x86_64/strncase.S: New file.
36730 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36731 * sysdeps/x86_64/strncase_l.S: New file.
36732 * string/Makefile (strop-tests): Add strncasecmp.
36733 * string/test-strncasecmp.c: New file.
36735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36738 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36739 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36741 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36743 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36745 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36747 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36751 2010-05-01 Alan Modra <amodra@gmail.com>
36753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36754 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36755 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36756 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36757 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36758 tidying. Don't tail-call __sigjmp_save for static lib.
36759 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36761 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36762 (CALL_MCOUNT): Add eh info, and nop after bl.
36763 (TAIL_CALL_SYSCALL_ERROR): New macro.
36764 (PSEUDO_RET): Use it.
36765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36766 Correct save location of integer regs and cr.
36767 (_dl_profile_resolve): Correct cr save location. Delete nops
36768 after bl when SHARED. Reduce cfi size a little by better
36769 placement of cfi directives.
36770 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36771 make a stack frame. Instead use parm save area as a temp.
36772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36773 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36775 Don't make a stack frame for parent, use parm save area.
36776 Increase child stack frame to 112 bytes. Don't save unused reg,
36777 and adjust reg usage. Set up cfi on error recovery and
36778 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36780 (__makecontext): Add dummy nop after jump to exit.
36781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36782 Use correct parm save area and cr save, reduce stack frame.
36783 Correct cfi for possible PSEUDO_RET frame setup.
36784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36785 Branch to local label emitted by PSEUDO_RET rather than
36788 2010-08-12 Andreas Schwab <schwab@redhat.com>
36791 * locale/programs/locale.c (print_assignment): New function.
36792 (show_locale_vars): Use it.
36794 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36796 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36798 (struct statfs64): Likewise.
36799 (_STATFS_F_FLAGS): Define.
36800 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36802 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36803 (ST_VALID): Define locally.
36804 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36805 __statvfs_getflags, use the provided value.
36806 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36807 __ASSUME_STATFS_F_FLAGS.
36809 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36811 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36812 Add sys/fanotify.h.
36813 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36814 fanotify_mask for GLIBC_2.13.
36815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36816 fanotify_init and fanotify_mark.
36817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36818 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36820 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36822 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36823 prlimit64 for GLIBC_2.13.
36824 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36829 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36830 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36831 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36834 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36837 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36838 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36840 * nss/Makefile: Add rules to build and run tst-nss-test1.
36841 * shlib-versions: Add entry for libnss_test1.
36842 * nss/nss_test1.c: New file.
36843 * nss/tst-nss-test1.c: New file.
36845 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36846 (__nss_configure_lookup): Set appropriate entry in
36847 __nss_configure_lookup to true.
36848 * nss/nsswitch.h: Define enum with indeces of databases in
36849 databases and __nss_database_custom arrays. Declare
36850 __nss_database_custom.
36851 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36852 to avoid using nscd when custom rules are installed.
36853 * nss/getXXbyYY_r.c: Likewise.
36854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36856 * nss/nss_files/files-parse.c: Whitespace fixes.
36858 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36861 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36862 * posix/fnmatch_loop.c: Likewise.
36864 2010-07-17 Andi Kleen <ak@linux.intel.com>
36866 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36867 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36868 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36869 * Versions.def [GLIBC_2.13]: Add.
36871 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36873 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36874 Also fail if tpwd after pwuid call is NULL.
36876 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36878 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36879 when converting to ms.
36881 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36883 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36884 EOPNOTSUPP errors with ENOTTY.
36885 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36886 EOPNOTSUPP errors with ENOTTY.
36888 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36890 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36891 Add strcasecmp_l-ssse3.
36892 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36894 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36895 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36896 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36898 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36900 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36902 * string/Makefile (strop-tests): Add strcasecmp.
36903 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36904 strcasecmp_l-nonascii.
36905 (gen-as-const-headers): Add locale-defines.sym.
36906 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36907 * sysdeps/x86_64/strcasecmp.S: New file.
36908 * sysdeps/x86_64/strcasecmp_l.S: New file.
36909 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36910 * sysdeps/x86_64/locale-defines.sym: New file.
36911 * string/test-strcasecmp.c: New file.
36913 * string/test-strcasestr.c: Test both ends of the range of characters.
36914 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36916 2010-07-29 Roland McGrath <roland@redhat.com>
36919 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36921 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36923 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36926 2010-07-27 Andreas Schwab <schwab@redhat.com>
36928 * manual/memory.texi (Malloc Tunable Parameters): Document
36931 2010-07-26 Roland McGrath <roland@redhat.com>
36934 * configure.in (-fgnu89-inline check): Set and substitute
36935 gnu89_inline, not libc_cv_gnu89_inline.
36936 * configure: Regenerated.
36937 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36939 2010-07-26 Ulrich Drepper <drepper@redhat.com>
36941 * string/test-strnlen.c: New file.
36942 * string/Makefile (strop-tests): Add strnlen.
36943 * string/tester.c (test_strnlen): Add a few more test cases.
36944 * string/tst-strlen.c: Better error reporting.
36946 * sysdeps/x86_64/strnlen.S: New file.
36948 2010-07-24 Ulrich Drepper <drepper@redhat.com>
36950 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36951 lower-latency instructions.
36953 2010-07-23 Ulrich Drepper <drepper@redhat.com>
36955 * string/test-strcasestr.c: New file.
36956 * string/test-strstr.c: New file.
36957 * string/Makefile (strop-tests): Add strstr and strcasestr.
36958 * string/str-two-way.h: Don't undefine MAX.
36959 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36961 2010-07-21 Andreas Schwab <schwab@redhat.com>
36963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36964 strcasestr-nonascii.
36965 (CFLAGS-strcasestr-nonascii.c): Define.
36966 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36968 Remove unused attribute.
36970 2010-07-20 Roland McGrath <roland@redhat.com>
36972 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36973 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36974 ld.so.cache was broken. With it, there is no way to disable dsocaps
36975 like LD_HWCAP_MASK can disable hwcaps.
36977 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36979 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36981 2010-07-16 Ulrich Drepper <drepper@redhat.com>
36983 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36984 call in strcasestr.
36985 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36986 __strcasestr_sse42_nonascii.
36987 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36988 strcasestr-nonascii.c.
36989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36991 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
36993 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36994 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36995 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36996 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36998 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37003 2010-07-06 Andreas Schwab <schwab@redhat.com>
37006 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37009 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37012 _PC_PIPE_BUF using F_GETPIPE_SZ.
37014 2010-07-05 Roland McGrath <roland@redhat.com>
37016 * manual/arith.texi (Rounding Functions): Fix rint description
37017 implicit in round description.
37019 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37021 * elf/Makefile: Fix linking for a few tests to make recent linker
37024 2010-06-30 Andreas Schwab <schwab@redhat.com>
37026 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37027 $(common-objpfx)libc_nonshared.a.
37029 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37031 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37032 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37033 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37034 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37035 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37036 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37037 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37038 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37053 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37054 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37055 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37056 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37057 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37058 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37059 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37060 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37061 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37062 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37063 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37064 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37080 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37082 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37083 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37084 * string/memmove.c (memmove): Renamed to ...
37085 (MEMMOVE): ...this. Default to memmove.
37086 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37087 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37090 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37091 mempcpy-ssse3-back memmove-ssse3-back.
37092 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37093 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37095 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37096 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37097 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37098 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37099 * sysdeps/x86_64/multiarch/memmove.c: New file.
37100 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37101 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37102 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37103 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37104 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37107 (index_Fast_Copy_Backward): Define.
37108 (HAS_ARCH_FEATURE): Define.
37109 (HAS_FAST_REP_STRING): Define.
37110 (HAS_FAST_COPY_BACKWARD): Define.
37112 2010-06-21 Andreas Schwab <schwab@redhat.com>
37114 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37115 Restore proper fallback handling.
37117 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37120 * posix/group_member.c (__group_member): Correct checking loop.
37122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37123 OOM in getpwuid_r correctly. Return error number when the caller
37124 should return, otherwise -1.
37125 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37126 call returning > 0 value.
37127 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37129 2010-06-07 Andreas Schwab <schwab@redhat.com>
37131 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37132 libc_nonshared.a from targets in modules-names.
37134 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37136 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37139 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37141 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37142 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37146 2010-06-02 Andreas Schwab <schwab@redhat.com>
37148 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37150 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37152 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37161 2010-06-14 Roland McGrath <roland@redhat.com>
37163 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37165 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37167 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37168 __REDIRECT followed by __THROW.
37169 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37170 * posix/getopt.h (getopt): Likewise.
37172 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37174 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37175 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37176 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37178 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37179 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37181 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37183 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37185 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37189 Properly check family and model.
37191 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37193 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37195 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37197 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37199 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37201 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37204 2010-05-19 Andreas Schwab <schwab@redhat.com>
37206 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37209 2010-05-21 Andreas Schwab <schwab@redhat.com>
37211 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37212 and internal_recvmmsg.
37213 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37214 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37215 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37216 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37218 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37219 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37220 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37222 2010-05-20 Andreas Schwab <schwab@redhat.com>
37224 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37226 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37228 POWER7 optimizations.
37229 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37230 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37232 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37234 * version.h: Update for 2.13 development version.
37236 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37238 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37239 exceptions. Return 0.
37241 2010-05-07 Roland McGrath <roland@redhat.com>
37243 * elf/ldconfig.c (main): Add a const.
37245 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37247 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37248 (args_options): Add no-idn option.
37249 (ahosts_keys_int): Add idn_flags to ai_flags.
37250 (parse_option): Handle 'i' option to clear idn_flags.
37252 * malloc/malloc.c (_int_free): Possible race in the most recently
37253 added check. Only act on the data if no current modification
37256 See ChangeLog.17 for earlier changes.