1 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4 multiarch implementation.
5 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13 multiarch llround for PPC64.
14 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15 multiarch round for PPC64.
16 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17 multiarch roundf for PPC64.
19 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22 multiarch implementation.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
31 multiarch llround for PPC64.
32 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33 multiarch floor for PPC64.
34 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35 multiarch floorf for PPC64.
37 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40 multiarch implementation.
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
47 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
49 multiarch llround for PPC64.
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51 multiarch ceil for PPC64.
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53 multiarch ceilf for PPC64.
55 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58 multiarch implementation.
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
66 multiarch llround for PPC64.
67 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
68 multiarch lround for PPC64.
70 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
73 multiarch implementation.
74 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
75 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
76 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
78 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
80 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
81 multiarch isnan for PPC64.
82 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
83 multiarch isnanf for PPC64.
85 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
88 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
89 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
90 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
91 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
92 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
94 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
97 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
98 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
99 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
101 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
104 multiarch implementations.
105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
106 (__libc_ifunc_impl_list): Likewise.
107 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
108 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
109 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
110 multiarch stpcpy for PPC64.
112 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
115 multiarch implementations.
116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
117 (__libc_ifunc_impl_list): Likewise.
118 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
119 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
120 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
121 multiarch strcpy for PPC64.
123 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
126 redefine function name.
127 (_wordcopy_fwd_dest_aligned): Likewise.
128 (_wordcopy_bwd_aligned): Likewise.
129 (_wordcopy_bwd_dest_aligned): Likewise.
130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
131 multiarch implementations.
132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
133 (__libc_ifunc_impl_list): Likewise.
134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
136 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
137 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
138 multiarch wcscpy for PPC64.
140 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
143 multiarch implementations.
144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
145 (__libc_ifunc_impl_list): Likewise.
146 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
147 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
149 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
150 multiarch wcscpy for PPC64.
152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
155 multiarch implementations.
156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
157 (__libc_ifunc_impl_list): Likewise.
158 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
159 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
160 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
161 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
162 multiarch wcsrchr for PPC64.
164 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
167 multiarch implementations.
168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
169 (__libc_ifunc_impl_list): Likewise.
170 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
171 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
172 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
173 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
174 multiarch wcschr for PPC64.
176 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
179 multiarch implementations.
180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
181 (__libc_ifunc_impl_list): Likewise.
182 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
183 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
184 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
185 multiarch strchrnul for PPC64.
187 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
192 (__libc_ifunc_impl_list): Likewise.
193 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
194 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
195 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
196 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
199 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
204 (__libc_ifunc_impl_list): Likewise.
205 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
207 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
208 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
211 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
214 multiarch implementations.
215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
216 (__libc_ifunc_impl_list): Likewise.
217 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
218 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
219 strncasecmp for PPC64.
220 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
221 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
222 multiarch strncasecmp_l for PPC64.
224 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
227 multiarch implementations.
228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
229 (__libc_ifunc_impl_list): Likewise.
230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
231 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
232 multiarch strcasecmp for PPC64.
233 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
236 multiarch strcasecmp_l for PPC64.
238 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
243 (__libc_ifunc_impl_list): Likewise.
244 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
245 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
246 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
249 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
254 (__libc_ifunc_impl_list): Likewise.
255 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
256 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
257 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
260 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
265 (__libc_ifunc_impl_list): Likewise.
266 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
267 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
268 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
269 rawmemrchr for PPC64.
271 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
276 (__libc_ifunc_impl_list): Likewise.
277 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
278 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
279 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
282 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
287 (__libc_ifunc_impl_list): Likewise.
288 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
289 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
290 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
293 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
298 (__libc_ifunc_impl_list): Likewise.
299 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
300 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
301 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
304 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
307 avoid cretion of __bzero symbol.
308 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
310 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
312 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
315 multiarch implementations.
316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
317 (__libc_ifunc_impl_list): Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
319 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
320 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
321 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
323 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
324 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
325 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
326 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
327 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
329 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
331 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
333 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
337 (__libc_ifunc_impl_list): Likewise.
338 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
339 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
340 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
341 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
344 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
347 multiarch for POWER/PPC64.
348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
349 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
350 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
356 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
359 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
362 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
363 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
364 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
365 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
366 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
367 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
368 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
369 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
370 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
371 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
372 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
373 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
374 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
375 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
384 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
388 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
390 * benchtests/Makefile (bench): Add exp2 and log2.
391 (LDLIBS-bench-exp2): Add -lm.
392 (LDLIBS-bench-log2): Likewise.
393 * benchtests/exp2-inputs: New inputs file.
394 * benchtests/log2-inputs: New inputs file.
395 * benchtests/log-inputs: Add new inputs.
396 * benchtests/tan-inputs: Likewise.
398 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
400 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
402 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
403 csloww1, csloww2): ... from here.
405 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
406 instead of structures.
407 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
408 (POLYNOMIAL): Likewise.
409 (TAYLOR_SLOW): Likewise.
424 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
426 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
427 (__malloc_assert, __libc_realloc, __libc_calloc,
428 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
430 * malloc/hooks.c (realloc_check): Likewise.
432 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
434 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
435 * malloc/arena.c: Remove PER_THREAD conditional.
436 [!PER_THREAD]: Remove code.
437 (ptmalloc_unlock_all2): Likewise.
438 (ptmalloc_init): Likewise.
439 (_int_new_arena): Likewise.
440 (arena_get2): Likewise.
441 * malloc/hooks.c (__malloc_get_state): Likewise.
442 (__malloc_set_state): Likewise.
443 * malloc/malloc.c: Likewise.
444 (struct malloc_state): Likewise.
445 (struct malloc_par): Likewise.
446 (__libc_realloc): Likewise.
447 (__libc_mallopt): Likewise.
449 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
451 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
453 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
455 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
456 macro to a function. Check for zero perturb_byte.
457 (_int_malloc, _int_free): Remove zero perturb_byte checks.
459 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
461 * malloc/malloc.c: (force_reg): Remove.
462 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
463 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
464 force_reg by atomic_forced_read.
465 * malloc/arena.c (ptmalloc_init): Likewise.
466 * malloc/hooks.c (top_check): Likewise.
468 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
472 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
476 2013-12-08 Joseph Myers <joseph@codesourcery.com>
478 * math/auto-libm-test-in: Add tests of lgamma.
479 * math/auto-libm-test-out: Regenerated.
480 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
481 (M_LOG_2_SQRT_PIl): Likewise.
482 (lgamma_test_data): Use AUTO_TESTS_f_f1.
483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
485 (func_calc_desc): Add mpfr_f_f1 union field.
494 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
495 (test_functions): Add lgamma.
496 (calc_generic_results): Handle mpfr_f_f1.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
500 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
503 __mpn_add_n for PowerPC64/POWER7.
504 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
505 __mpn_sub_n for PowerPC64/POWER7.
507 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
509 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
510 __mpn_addmul_1 for PowerPC64.
511 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
512 __mpn_submul_1 for PowerPC64.
513 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
515 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
518 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
521 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
525 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
527 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
530 add multiarch folders.
531 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
532 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
533 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
534 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
535 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
536 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
537 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
538 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
539 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
540 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
541 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
552 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
558 multiarch __ieee754_hypot for PowerPC32.
559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
564 multiarch __ieee754_hypotf for PowerPC32.
566 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
569 long_double_symbol only if __logbl is defined.
570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
571 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
573 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
575 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
576 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
577 path for implementation.
578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
581 logb, and logbl multiarch implementations for PowerPC32.
582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
587 multiarch logb for PowerPC32.
588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
593 multiarch logbf for PowerPC32.
594 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
598 multiarch logbl implementation for PowerPC32.
600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
603 and modff multiarch implementations.
604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
609 multiarch modf for PowerPC32.
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
615 multiarch modff for PowerPC32.
617 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
620 and lrintf multiarch implementations.
621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
626 multiarch lrint for PowerPC32.
627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
628 file: multiarch lrintf for PowerPC32.
630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
633 and lroundf multiarch implementations.
634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
641 multiarch lround for PowerPC32.
642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
643 file: multiarch lroundf for PowerPC32.
645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
648 copysign and copysignf multiarch implementations.
649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
654 file: multiarch copysign for PowerPC32.
655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
656 file: multiarch copysignf for PowerPC32.
658 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
661 and truncf multiarch implementations.
662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
667 multiarch trunc for PowerPC32.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
673 multiarch truncf for PowerPC32.
675 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
678 and roundf multiarch implementations.
679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
684 multiarch round for PowerPC32.
685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
690 multiarch roundf for PowerPC32.
692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
695 and floorf multiarch implementations.
696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
701 multiarch floor for PowerPC32.
702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
707 multiarch floorf for PowerPC32.
709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
712 and ceilf multiarch implementations.
713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
718 multiarch ceil for PowerPC32.
719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
724 multiarch ceilf for PowerPC32.
726 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
728 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
730 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
733 and finitef multiarch implementations.
734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
739 multiarch finite for PowerPC32.
740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
743 file: multiarch finitef for PowerPC32.
745 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
748 and isinff multiarch implementations.
749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
754 multiarch isinf for PowerPC32.
755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
758 multiarch isinff for PowerPC32.
760 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
763 alias when __isnan is defined.
764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
765 and isnanf multiarch implementations.
766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
775 multiarch isnan for PowerPC32.
776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
781 multiarch isnanf for PowerPC32.
783 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
786 and sqrtf multiarch implementations.
787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
792 multiarch sqrt for PowerPC32.
793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
798 multiarch sqrtf for PowerPC32.
800 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
803 and llroundf multiarch implementations.
804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
811 file: multiarch llround for PowerPC32.
812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
813 file: multiarch llroundf for PowerPC32.
815 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
818 multiarch PowerPC32 fpu implementations.
819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
824 multiarch llrint for PowerPC32.
825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
832 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
836 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
840 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
842 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
844 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
845 multiarch wordcopy for PPC32.
846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
849 (__libc_ifunc_impl_list): Likewise.
850 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
851 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
853 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
854 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
855 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
857 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
867 multiarch wcscpy for PPC32.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
871 (__libc_ifunc_impl_list): Likewise.
872 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
873 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
874 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
875 sysdeps/powerpc/power6/wcscpy.c.
877 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
879 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
887 multiarch wcsrchr for PPC32.
888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
891 (__libc_ifunc_impl_list): Likewise.
892 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
893 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
894 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
895 sysdeps/powerpc/power6/wcsrchr.c.
897 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
905 multiarch wcschr for PPc32.
906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
909 (__libc_ifunc_impl_list): Likewise.
910 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
911 * sysdeps/powerpc/power6/wcschr.c: ... to here.
912 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
913 sysdeps/powerpc/power6/wcschr.c.
915 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
917 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
918 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
920 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
921 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
922 file: multiarch strchr for PPC32.
923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
926 (__libc_ifunc_impl_list): Likewise.
928 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
930 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
932 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
934 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
936 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
937 multiarch strchrnul for PPC32.
938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
941 (__libc_ifunc_impl_list): Likewise.
943 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
948 multiarch strncasecmp for PPC32.
949 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
951 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
952 multiarch strncasecmp_l for PPC32.
953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
954 strncasecmp multiarch objects.
955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
956 (__libc_ifunc_impl_list): Likewise.
958 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
962 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
963 multiarch strncasecmp for PPC32.
964 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
966 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
967 multiarch strcasecmp_l for PPC32.
968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
971 (__libc_ifunc_impl_list): Likewise.
973 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
979 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
980 multiarch strncmp for PPC32.
981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
984 (__libc_ifunc_impl_list): Likewise.
986 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
989 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
991 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
992 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
996 (__libc_ifunc_impl_list): Likewise.
998 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1002 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1008 (__libc_ifunc_impl_list): Likewise.
1010 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1014 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1016 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1017 multiarch rawmemchr for PPC32.
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1021 (__libc_ifunc_impl_list): Likewise.
1023 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1025 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1027 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1029 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1030 file: memrchr multiarch for PPC32.
1031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1034 (__libc_ifunc_impl_list): Likewise.
1036 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1042 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1043 multiarch memchr for PPC32.
1044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1047 (__libc_ifunc_impl_list): Likewise.
1049 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1056 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1057 file: multiarch mempcpy for PPC32.
1058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1061 (__libc_ifunc_impl_list): Likewise.
1063 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1066 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1067 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1069 multiarch bzero for PPC32.
1070 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1072 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1074 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1075 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1076 file: multiarch memset for PPC32.
1077 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1079 memset multiarch objects.
1080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1081 (__libc_ifunc_impl_list): Likewise.
1083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1090 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1094 (__libc_ifunc_impl_list): Likewise.
1096 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1098 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1107 multiarch memcpy for PPC32.
1108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1111 (__libc_ifunc_impl_list): Likewise.
1113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1116 support multiarch for POWER/PPC32.
1117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1119 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1121 Implies file to make multiarch folder appers before the fpu and
1122 default folder for power4 configuration.
1124 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1126 * scripts/bench.pl: Append volatile keyword to type.
1128 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1130 * sysdeps/sh/sotruss-lib.c: New file.
1131 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1133 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1137 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1140 * math/w_tgamma.c: Include <errno.h>.
1141 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1142 * math/w_tgammaf.c: Include <errno.h>.
1143 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1144 * math/w_tgammal.c: Include <errno.h>.
1145 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1146 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1147 underflow. Add more tgamma tests.
1148 * math/auto-libm-test-out: Regenerated.
1149 * sysdeps/i386/fpu/libm-test-ulps: Update.
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1152 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1153 sin, sinh, tan, tanh, tgamma, y0 and y1.
1154 * math/auto-libm-test-out: Regenerated.
1155 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1156 (TEST_COND_x86): Likewise.
1157 (M_E2l): Remove macro.
1159 (M_2_SQRT_PIl): Likewise.
1160 (M_SQRT_PIl): Likewise.
1161 (M_1_DIV_El): Likewise.
1162 (log_test_data): Use AUTO_TESTS_f_f.
1163 (log10_test_data): Likewise.
1164 (log1p_test_data): Likewise.
1165 (log2_test_data): Likewise.
1166 (sin_test_data): Likewise.
1167 (sin_tonearest_test_data): Likewise.
1168 (sin_towardzero_test_data): Likewise.
1169 (sin_downward_test_data): Likewise.
1170 (sin_upward_test_data): Likewise.
1171 (sinh_test_data): Likewise.
1172 (sinh_tonearest_test_data): Likewise.
1173 (sinh_towardzero_test_data): Likewise.
1174 (sinh_downward_test_data): Likewise.
1175 (sinh_upward_test_data): Likewise.
1176 (tan_test_data): Likewise.
1177 (tan_tonearest_test_data): Likewise.
1178 (tan_towardzero_test_data): Likewise.
1179 (tan_downward_test_data): Likewise.
1180 (tan_upward_test_data): Likewise.
1181 (tanh_test_data): Likewise.
1182 (tgamma_test_data): Likewise.
1183 (y0_test_data): Likewise.
1184 (y1_test_data): Likewise.
1185 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1186 (special_real_inputs): Add pi/4.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1193 "longjmp_target" static probes.
1194 (__longjmp): Rename to __longjmp_symbol.
1195 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1196 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1197 on which longjmp to generate.
1198 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1199 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1201 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1202 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1203 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1204 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1205 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1206 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1208 __longjmp_symbol based on which __longjmp to generate.
1209 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1211 (setjmp): Rename to setjmp_symbol.
1212 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1213 (_setjmp): Rename to _setjmp_symbol.
1214 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1215 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1216 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1217 which setjmp to generate.
1218 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1219 "longjmp_target" static probes.
1221 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1223 * benchtests/README: Add note about output arguments.
1224 * benchtests/bench-sincos.c: Remove file.
1225 * benchtests/sincos-inputs: New file.
1226 * scripts/bench.pl: Identify output arguments and define
1227 static variables for them.
1229 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1232 * Makefile (INSTALL): Add install-plain.texi as the primary
1234 * manual/install-plain.texi: New file.
1235 * manual/install.texi: Include node directive only for
1236 non-plaintext output.
1238 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1240 * stdlib/longlong.h: Update from GCC.
1244 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1245 * math/w_j0f.c (y0f): Likewise.
1246 * math/w_j0l.c (__y0l): Likewise.
1247 * math/w_j1.c (y1): Likewise.
1248 * math/w_j1f.c (y1f): Likewise.
1249 * math/w_j1l.c (__y1l): Likewise
1250 * math/w_jn.c (yn): Likewise.
1251 * math/w_jnf.c (ynf): Likewise.
1252 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1253 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1254 value for Bessel function domain errors outside _SVID_ mode.
1255 Adjust sign of return value for yn (negative integer, 0).
1256 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1257 by zero in return for negative x and set sign appropriately for
1259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1261 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1262 expectations in error cases.
1263 (y1_test_data): Likewise.
1264 (yn_test_data): Likewise.
1265 * sysdeps/i386/fpu/libm-test-ulps: Update.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1268 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1270 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1271 "64" to "64-v1". Add "64-v2".
1272 (abi-64-options): Rename to ...
1273 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1274 (abi-64-condition): Rename to ...
1275 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1276 (abi-64-ld-soname): Rename to ...
1277 (abi-64-v1-ld-soname): ... this.
1278 (abi-64-v2-options): Define.
1279 (abi-64-v2-condition): Likewise.
1280 (abi-64-v2-ld-soname): Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1282 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1287 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1288 Alan Modra <amodra@gmail.com>
1290 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1291 New versions for use with the ELFv2 ABI.
1292 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1293 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1295 (struct La_ppc64v2_retval): Likewise.
1296 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1297 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1298 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1299 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1300 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1302 Do not save or restore CR.
1303 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1304 (_dl_profile_resolve): Do no save or restore CR. Support extended
1305 return values for ELFv2 ABI. Fix location of FPR return registers.
1306 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1307 updated values for _CALL_ELF == 2.
1308 (La_regs, La_retval, int_retval): Likewise.
1310 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1312 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1313 (FRAME_MIN_SIZE_PARM): Likewise.
1314 (FRAME_BACKCHAIN): Likewise.
1315 (FRAME_CR_SAVE): Likewise.
1316 (FRAME_LR_SAVE): Likewise.
1317 (FRAME_TOC_SAVE): Likewise.
1318 (FRAME_PARM_SAVE): Likewise.
1319 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1320 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1321 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1322 (call_mcount_parm_offset): New macro.
1323 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1324 (PROF): Use symbolic stack frame offsets.
1325 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1326 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1327 Redefine in terms of FRAME_MIN_SIZE.
1328 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1329 (_dl_profile_resolve): Likewise. Update comment.
1330 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1331 symbols stack frame offsets.
1332 (__sigsetjmp): Likewise.
1333 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1334 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1335 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1336 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1339 (FRAME_BACKCHAIN): Remove.
1340 (FRAME_CR_SAVE): Likewise.
1341 (FRAME_LR_SAVE): Likewise.
1342 (FRAME_COMPILER_DW): Likewise.
1343 (FRAME_LINKER_DW): Likewise.
1344 (FRAME_TOC_SAVE): Likewise.
1345 (FRAME_PARM_SAVE): Likewise.
1346 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1347 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1348 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1350 (CHECK_SP): Use symbolic stack frame offsets.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1352 zone" instead of caller's parameter save area for temp storage.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1354 Likewise. Also, use symbolic stack frame offsets.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1356 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1357 our own stack frame instead of the caller's.
1358 (__socket): Use symbolic stack frame offsets.
1360 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1361 Alan Modra <amodra@gmail.com>
1363 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1365 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1366 PPC64_LOCAL_ENTRY_OFFSET): Define.
1367 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1369 (elf_machine_fixup_plt): Call it.
1370 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1372 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1374 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1375 r2 before calling target.
1377 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1378 Alan Modra <amodra@gmail.com>
1380 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1381 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1382 versions of macros to support ELFv2 ABI.
1383 (LOCALENTRY): New macro.
1384 (ENTRY, EALIGN): Use it.
1385 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1386 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1387 fall through into ENTRY entry point.
1388 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1389 Only define if _CALL_ELF != 2.
1391 (elf_machine_matches_host): Verify ABI version matches.
1392 (RTLD_START): Use LOCALENTRY.
1393 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1394 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1395 (PLT_ENTRY_WORDS): New macro.
1396 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1397 (elf_machine_runtime_setup): Support ELFv2 ABI.
1398 (elf_machine_fixup_plt): Likewise.
1399 (elf_machine_plt_conflict): Likewise.
1400 (resolve_ifunc): Likewise.
1401 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1405 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1407 (makecontext): Support ELFv2 ABI.
1408 * elf/elf.h (EF_PPC64_ABI): Define.
1410 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1412 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1413 New assembler macro.
1414 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1415 [ASSEMBLER] (ENTRY): ... but instead here ...
1416 [ASSEMBLER] (EALIGN): ... and here.
1417 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1418 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1419 [!ASSEMBLER] (ENTRY_2): Use it.
1420 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1421 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1422 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1423 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1424 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1426 Use PPC64_LOAD_FUNCPTR.
1428 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1430 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1432 2013-12-04 Alan Modra <amodra@gmail.com>
1434 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1435 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1436 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1437 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1440 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1441 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1442 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1443 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1444 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1446 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1449 (__makecontext): Fix incorrect CFI when backtracing out of
1450 context created via makecontext.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1452 (__setcontext): Fix incorrect CFI during switch to new context.
1453 (__novec_setcontext): Likewise.
1455 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1458 * time/strptime_l.c (__strptime_internal): Allow modifiers
1460 * time/tst-strptime.c (day_tests): Add testcase.
1463 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1465 * scripts/bench.pl: Skip over blank lines.
1467 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1470 * manual/time.texi (Calendar Time): Clarify what timezone functions
1473 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1477 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1479 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1481 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1482 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1483 * debug/memset_chk.c (__memset_chk): Likewise.
1484 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1485 * debug/strncpy_chk.c: Likewise.
1487 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1492 (__ieee754_exp): For possibly underflowing results, check size of
1493 result and force underflow exception if required.
1494 * math/auto-libm-test-in: Add more tests of exp.
1495 * math/auto-libm-test-out: Regenerated.
1496 * sysdeps/i386/fpu/libm-test-ulps: Update.
1497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1500 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1501 * math/w_exp2f.c (__exp2f): Likewise.
1502 * math/w_exp2l.c (__exp2l): Likewise.
1503 * math/auto-libm-test-in: Do not allow missing errno on exp2
1505 * math/auto-libm-test-out: Regenerated.
1507 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1510 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1511 handle filename validation.
1512 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1515 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1518 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1519 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1520 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1522 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1523 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1524 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1526 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1527 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1528 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1529 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1530 Add more erfc tests.
1531 * math/auto-libm-test-out: Regenerated.
1532 * sysdeps/i386/fpu/libm-test-ulps: Update.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1535 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1536 exp2, expm1, j0 and j1.
1537 * math/auto-libm-test-out: Regenerated.
1538 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1539 (erfc_test_data): Likewise.
1540 (exp_test_data): Likewise.
1541 (exp_tonearest_test_data): Likewise.
1542 (exp_towardzero_test_data): Likewise.
1543 (exp_downward_test_data): Likewise.
1544 (exp_upward_test_data): Likewise.
1545 (exp10_test_data): Likewise.
1546 (exp2_test_data): Likewise.
1547 (expm1_test_data): Likewise.
1548 (j0_test_data): Likewise.
1549 (j1_test_data): Likewise.
1550 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1551 (input_flag_type): Add flag_xfail_rounding.
1552 (input_flags): Add xfail-rounding.
1553 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1554 (output_for_one_input_case): Handle flag_xfail_rounding.
1555 * sysdeps/i386/fpu/libm-test-ulps: Update.
1556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1558 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1561 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1564 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1567 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1568 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1569 (STAP_PROBE0): New macro.
1570 (STAP_PROBE1): Likewise.
1571 (STAP_PROBE2): Likewise.
1572 (STAP_PROBE3): Likewise.
1573 (STAP_PROBE4): Likewise.
1575 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1577 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1579 2013-12-02 Steve Ellcey <sellcey@mips.com>
1581 * benchtests/Makefile (bench): Add sqrt.
1582 (LDLIBS-bench-sqrt): New.
1583 * benchtests/sqrt-input: New.
1585 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1587 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1588 (GAIH_EAI): Likewise.
1589 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1590 (gaih_inet): Likewise.
1591 (getaddrinfo): Don't use GAIH_EAI.
1593 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1594 (struct gaih): Remove definition.
1596 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1598 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1599 Use HERRNOP directly.
1601 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1605 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1607 * math/gen-auto-libm-tests.c (test_functions): Add more
1608 single-argument functions.
1609 (special_fill_pi_2): New function.
1610 (special_fill_minus_pi_2): Likewise.
1611 (special_fill_pi_6): Likewise.
1612 (special_fill_minus_pi_6): Likewise.
1613 (special_fill_pi_3): Likewise.
1614 (special_fill_2pi_3): Likewise.
1615 (special_fill_e): Likewise.
1616 (special_fill_1_e): Likewise.
1617 (special_fill_e_minus_1): Likewise.
1618 (special_real_inputs): Add more special inputs.
1619 (output_for_one_input_case): Do not require ERANGE on underflow to
1620 zero if round-to-nearest result does not underflow to zero, unless
1621 exact results required.
1622 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1623 atan, atanh, cbrt, cos and cosh.
1624 * math/auto-libm-test-out: Regenerated.
1625 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1626 (acos_tonearest_test_data): Likewise.
1627 (acos_towardzero_test_data): Likewise.
1628 (acos_downward_test_data): Likewise.
1629 (acos_upward_test_data): Likewise.
1630 (acosh_test_data): Likewise.
1631 (asin_test_data): Likewise.
1632 (asin_tonearest_test_data): Likewise.
1633 (asin_towardzero_test_data): Likewise.
1634 (asin_upward_test_data): Likewise.
1635 (asinh_test_data): Likewise.
1636 (atan_test_data): Likewise.
1637 (atanh_test_data): Likewise.
1638 (cbrt_test_data): Likewise.
1639 (cos_test_data): Likewise.
1640 (cos_tonearest_test_data): Likewise.
1641 (cos_towardzero_test_data): Likewise.
1642 (cos_downward_test_data): Likewise.
1643 (cos_upward_test_data): Likewise.
1644 (cosh_test_data): Likewise.
1645 (cosh_tonearest_test_data): Likewise.
1646 (cosh_towardzero_test_data): Likewise.
1647 (cosh_downward_test_data): Likewise.
1648 (cosh_upward_test_data): Likewise.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1655 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1656 * math/w_exp10f.c (__exp10f): Likewise.
1657 * math/w_exp10l.c (__exp10l): Likewise.
1658 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1659 errno settings in existing tests.
1662 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1663 precision control set to double precision.
1664 * sysdeps/i386/fpu/w_sqrt.c: New file.
1665 * math/auto-libm-test-in: Add more tests.
1666 * math/auto-libm-test-out: Update.
1668 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1669 (sqrt_test_tonearest): New function.
1670 (sqrt_towardzero_test_data): New variable.
1671 (sqrt_test_towardzero): New function.
1672 (sqrt_downward_test_data): New variable.
1673 (sqrt_test_downward): New function.
1674 (sqrt_upward_test_data): New variable.
1675 (sqrt_test_upward): New function.
1676 (main): Call the new functions.
1678 * math/gen-auto-libm-tests.c: New file.
1679 * math/auto-libm-test-in: Likewise.
1680 * math/auto-libm-test-out: New generated file.
1681 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1683 (%beautify): Add generated representations of zero.
1684 (top level): Set $auto_input and call parse_auto_input.
1685 (beautify): Remove trailing "f" from hex float constants.
1686 (parse_args): Handle XFAIL_TEST.
1687 (convert_condition): New function.
1688 (or_value): Likewise.
1689 (or_cond_value): Likewise.
1690 (generate_testfile): Handle AUTO_TESTS_* lines.
1691 (parse_auto_input): New function.
1692 * math/libm-test.inc (XFAIL_TEST): New macro.
1693 (ERRNO_UNCHANGED): Update value.
1694 (ERRNO_EDOM): Likewise.
1695 (ERRNO_ERANGE): Likewise.
1696 (IGNORE_RESULT): Likewise.
1697 (TEST_COND_flt_32): New macro.
1698 (TEST_COND_dbl_64): Likewise.
1699 (TEST_COND_ldbl_96_intel): Likewise.
1700 (TEST_COND_ldbl_96_m68k): Likewise.
1701 (TEST_COND_ldbl_128): Likewise.
1702 (TEST_COND_ldbl_128ibm): Likewise.
1703 (TEST_COND_long32): Likewise.
1704 (TEST_COND_long64): Likewise.
1705 (TEST_COND_before_rounding): Likewise.
1706 (TEST_COND_after_rounding): Likewise.
1707 (enable_test): Handle XFAIL_TEST flag.
1708 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1709 with finite results.
1710 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1713 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1714 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1717 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1718 __tls_get_addr_internal instead of __tls_get_offset in order to
1719 avoid GOT pointer dependency. Make rtld export
1720 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1721 __tls_get_addr since we are a __tls_get_offset platform.
1722 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1723 GOT pointer being set up before.
1724 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1726 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1728 * manual/math.texi (Errors in Math Functions): Document accuracy
1732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1733 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1749 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1750 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1751 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1752 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1753 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1755 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1757 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1759 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1760 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1761 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1762 atomic-feupdateenv and flt-rounds.
1763 * sysdeps/powerpc/nofpu/Versions (libc): Add
1764 __atomic_feholdexcept, __atomic_feclearexcept,
1765 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1766 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1767 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1768 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1769 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1774 * manual/arith.texi (FP Exceptions): Document that exceptions may
1775 not be raised when matherr is used.
1776 (Math Error Reporting): Document overflow in directed rounding
1777 modes. Document that errno may not be set when finite values are
1778 returned on overflow. Document intent to set errno on underflow
1779 only for underflow to zero.
1782 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1783 round-to-nearest then adjust result for other rounding modes.
1784 * include/fenv.h (fegetround): Use libm_hidden_proto.
1785 * math/fegetround.c (fegetround): Use libm_hidden_def.
1786 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1787 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1788 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1789 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1791 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1792 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1793 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1794 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1796 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1799 * nss/Versions (libnss_files): Add
1800 _nss_files_gethostbyname3_r.
1801 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1803 (HOST_DB_LOOKUP): Remove macro.
1804 (_nss_files_gethostbyname_r): Implement function without the
1805 HOST_DB_LOOKUP macro.
1806 (_nss_files_gethostbyname2_r): Likewise.
1808 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1810 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1812 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1814 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1815 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1818 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1821 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1822 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1823 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1824 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1825 __fe_nomask_env_priv and attribute_hidden.
1826 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1827 (libc_feupdateenv_test_ppc): Likewise.
1828 (libc_feresetround_ppc): Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1830 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1831 compat_symbol macro.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1833 (__fe_nomask_env): Likewise.
1834 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1836 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1838 * string/Makefile: Remove ifunc tests.
1839 * string/test-string.h: Define TEST_IFUNC.
1840 * string/test-bcopy-ifunc.c: Remove.
1841 * string/test-bzero-ifunc.c: Likewise.
1842 * string/test-memccpy-ifunc.c: Likewise.
1843 * string/test-memchr-ifunc.c: Likewise.
1844 * string/test-memcmp-ifunc.c: Likewise.
1845 * string/test-memcpy-ifunc.c: Likewise.
1846 * string/test-memmem-ifunc.c: Likewise.
1847 * string/test-memmove-ifunc.c: Likewise.
1848 * string/test-mempcpy-ifunc.c: Likewise.
1849 * string/test-memrchr-ifunc.c: Likewise.
1850 * string/test-memset-ifunc.c: Likewise.
1851 * string/test-rawmemchr-ifunc.c: Likewise.
1852 * string/test-stpcpy-ifunc.c: Likewise.
1853 * string/test-stpncpy-ifunc.c: Likewise.
1854 * string/test-strcasecmp-ifunc.c: Likewise.
1855 * string/test-strcasestr-ifunc.c: Likewise.
1856 * string/test-strcat-ifunc.c: Likewise.
1857 * string/test-strchr-ifunc.c: Likewise.
1858 * string/test-strchrnul-ifunc.c: Likewise.
1859 * string/test-strcmp-ifunc.c: Likewise.
1860 * string/test-strcpy-ifunc.c: Likewise.
1861 * string/test-strcspn-ifunc.c: Likewise.
1862 * string/test-strlen-ifunc.c: Likewise.
1863 * string/test-strncasecmp-ifunc.c: Likewise.
1864 * string/test-strncat-ifunc.c: Likewise.
1865 * string/test-strncmp-ifunc.c: Likewise.
1866 * string/test-strncpy-ifunc.c: Likewise.
1867 * string/test-strnlen-ifunc.c: Likewise.
1868 * string/test-strpbrk-ifunc.c: Likewise.
1869 * string/test-strrchr-ifunc.c: Likewise.
1870 * string/test-strspn-ifunc.c: Likewise.
1871 * string/test-strstr-ifunc.c: Likewise.
1873 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1875 * benchtests/Makefile: Remove ifunc tests.
1876 * benchtests/bench-string.h: Define TEST_IFUNC.
1877 * benchtests/bench-bcopy-ifunc.c: Remove.
1878 * benchtests/bench-bzero-ifunc.c: Likewise.
1879 * benchtests/bench-memccpy-ifunc.c: Likewise.
1880 * benchtests/bench-memchr-ifunc.c: Likewise.
1881 * benchtests/bench-memcmp-ifunc.c: Likewise.
1882 * benchtests/bench-memcpy-ifunc.c: Likewise.
1883 * benchtests/bench-memmem-ifunc.c: Likewise.
1884 * benchtests/bench-memmove-ifunc.c: Likewise.
1885 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1886 * benchtests/bench-memrchr-ifunc.c: Likewise.
1887 * benchtests/bench-memset-ifunc.c: Likewise.
1888 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1889 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1890 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1891 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1892 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1893 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1894 * benchtests/bench-strcat-ifunc.c: Likewise.
1895 * benchtests/bench-strchr-ifunc.c: Likewise.
1896 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1897 * benchtests/bench-strcmp-ifunc.c: Likewise.
1898 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1899 * benchtests/bench-strcpy-ifunc.c: Likewise.
1900 * benchtests/bench-strcspn-ifunc.c: Likewise.
1901 * benchtests/bench-strlen-ifunc.c: Likewise.
1902 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1903 * benchtests/bench-strncat-ifunc.c: Likewise.
1904 * benchtests/bench-strncmp-ifunc.c: Likewise.
1905 * benchtests/bench-strncpy-ifunc.c: Likewise.
1906 * benchtests/bench-strnlen-ifunc.c: Likewise.
1907 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1908 * benchtests/bench-strrchr-ifunc.c: Likewise.
1909 * benchtests/bench-strsep-ifunc.c: Likewise.
1910 * benchtests/bench-strspn-ifunc.c: Likewise.
1911 * benchtests/bench-strstr-ifunc.c: Likewise.
1913 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1915 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1917 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1919 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1920 * rt/aio.h: Likewise.
1921 * sysdeps/gnu/bits/utmp.h: Likewise.
1922 * sysdeps/gnu/bits/utmpx.h: Likewise.
1923 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1924 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1925 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1926 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1927 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1928 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1929 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1930 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1934 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1938 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1939 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1940 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1941 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1942 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1943 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1944 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1946 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1947 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1951 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1952 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1953 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1958 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1959 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1960 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1961 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1962 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1963 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1964 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1966 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1969 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1970 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1972 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1974 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1975 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1978 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1981 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1982 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1983 (__fesetround): Remove define.
1984 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1985 rounding and exceptions handling.
1986 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1987 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1988 (__fe_nomask_env): Likewise.
1989 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1990 __fegetround instead of fegetround.
1991 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1992 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1994 2013-11-21 Roland McGrath <roland@hack.frob.com>
1996 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1999 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2001 2013-11-21 Meador Inge <meadori@codesourcery.com>
2004 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2005 (encrypt_r): Likewise.
2006 * malloc/obstack.h (obstack_free): Likewise.
2007 * posix/unistd.h (encrypt): Likewise.
2009 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2011 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2012 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2013 DL_CALL_DT_FINI() that call the functions directly.
2014 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2015 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2016 * elf/dl-fini.c: Likewise.
2018 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2020 * malloc/hooks.c (memalign_check): Add alignment rounding.
2021 * malloc/malloc.c (_mid_memalign): New function.
2022 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2023 Implement by calling _mid_memalign.
2024 * manual/probes.texi (Memory Allocation Probes): Remove
2025 memory_valloc_retry and memory_pvalloc_retry.
2027 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2029 * locale/programs/locarchive.c (open_archive): Add const
2030 qualifier to ARCHIVEFNAME and copy default fname to
2034 * libio/tst-widetext.input: Rename Oriya to Odia.
2035 * locale/iso-639.def: Likewise.
2037 * manual/probes.texi (Mathematical Function Probes): Add
2038 documentation for sin, cos, asin and acos probes.
2039 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2040 (__sin32): Add slowasin probe.
2041 (__cos32): Add slowacos probe.
2042 (__mpsin): Add slowsin probe.
2043 (__mpcos): Add slowcos probe.
2045 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2048 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2049 thread-local __sim_exceptions_thread and global
2050 __sim_exceptions_global.
2051 (__sim_disabled_exceptions): Change to thread-local
2052 __sim_disabled_exceptions_thread and global
2053 __sim_disabled_exceptions_global.
2054 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2055 and global __sim_round_mode_global.
2056 (__simulate_exceptions): Use thread-local floating-point state and
2057 set global state from it as needed.
2058 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2059 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2060 __sim_round_mode_thread.
2061 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2062 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2063 and global __sim_exceptions_global.
2064 (__sim_disabled_exceptions): Change to thread-local
2065 __sim_disabled_exceptions_thread and global
2066 __sim_disabled_exceptions_global.
2067 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2068 and global __sim_round_mode_global.
2069 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2070 (SIM_SET_GLOBAL): Likewise.
2071 * sysdeps/powerpc/soft-fp/sfp-machine.h
2072 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2073 __sim_round_mode_thread.
2074 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2075 __sim_disabled_exceptions_thread.
2076 (__sim_exceptions): Change to __sim_exceptions_thread.
2077 (__sim_disabled_exceptions): Change to
2078 __sim_disabled_exceptions_thread.
2079 (__sim_round_mode): Change to __sim_round_mode_thread.
2080 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2081 thread-local floating-point state and set global state from it as
2083 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2084 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2085 (__sim_disabled_exceptions): Remove extern declaration.
2086 (feenableexcept): Use thread-local floating-point state and set
2087 global state from it as needed.
2088 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2090 (__sim_disabled_exceptions): Likewise.
2091 (__sim_round_mode): Likewise.
2092 (__fegetenv): Use thread-local floating-point state.
2093 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2094 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2095 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2096 floating-point state and set global state from it as needed.
2097 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2098 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2099 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2101 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2102 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2104 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2105 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2106 Use __sim_round_mode_thread.
2107 * math/test-fenv-tls.c: New file.
2108 * math/Makefile (tests): Add test-fenv-tls.
2109 ($(objpfx)test-fenv-tls): Depend on
2110 $(common-objpfx)nptl/libpthread.so.
2112 2013-11-19 Andreas Schwab <schwab@suse.de>
2114 * locale/programs/locale.c (show_info): Decode wordarray elements.
2115 * locale/categories.def (LC_MONETARY): Add element for
2116 _NL_MONETARY_CRNCYSTR.
2117 * locale/C-monetary.c (conversion_rate): New variable.
2118 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2121 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2123 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2124 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2126 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2128 * elf/Makefile (tst-auxv): New test.
2129 * elf/tst-auxv.c: New
2130 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2132 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2134 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2135 (hidden_proto): Caller changed.
2136 (hidden_tls_proto): New macro.
2137 (libc_hidden_tls_proto): Likewise.
2138 (rtld_hidden_tls_proto): Likewise.
2139 (libm_hidden_tls_proto): Likewise.
2140 (libresolv_hidden_tls_proto): Likewise.
2141 (librt_hidden_tls_proto): Likewise.
2142 (libdl_hidden_tls_proto): Likewise.
2143 (libnss_files_hidden_tls_proto): Likewise.
2144 (libnsl_hidden_tls_proto): Likewise.
2145 (libnss_nisplus_hidden_tls_proto): Likewise.
2146 (libutil_hidden_tls_proto): Likewise.
2148 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2151 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2152 (decompose_rpath): Defer expansion to fillin_rpath.
2153 (_dl_init_paths): Pass linkmap to fillin_rpath.
2155 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2157 * benchtests/Makefile: Add strsep.
2158 * benchtests/bench-strsep.c: New file: strsep benchtest.
2159 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2161 2013-11-18 Andreas Schwab <schwab@suse.de>
2163 * locale/programs/locale.c (show_info) [case byte]: Check for
2164 '\377' instead of '\177'.
2165 * locale/C-monetary.c (not_available): Always use "\377".
2166 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2167 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2168 detect unavailable sign_posn locale elements.
2169 * locale/localeconv.c (__localeconv): For grouping and
2170 mon_grouping handle "\177" and "\377" like no grouping.
2171 (INT_ELEM): New macro. Use it to set all numeric members.
2172 * locale/programs/ld-monetary.c (monetary_read)
2173 <tok_mon_grouping>: Normalize single -1 to the empty string.
2174 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2177 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2181 when we match (nil).
2182 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2184 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2186 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2187 (NO_TEST_INLINE): Update value.
2188 (ERRNO_UNCHANGED): Likewise.
2189 (ERRNO_EDOM): Likewise.
2190 (ERRNO_ERANGE): Likewise.
2191 (IGNORE_RESULT): Likewise.
2192 (check_float_internal): Check signs of NaN results if
2194 (check_complex): Pass TEST_NAN_SIGN flag through to second
2195 check_float_internal call.
2196 (copysign_test_data): Add tests with quiet NaNs as second
2197 argument. Use TEST_NAN_SIGN.
2198 (fabs_test_data): Add test of negative quiet NaN argument. Use
2200 (signbit_test_data): Add tests of quiet NaN argument.
2201 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2203 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2205 (parse_args): Handle function results specified as IGNORE.
2206 * math/libm-test.inc (IGNORE_RESULT): New macro.
2207 (check_float_internal): Do not check numerical result if flag
2209 (check_complex): Pass through IGNORE_RESULT to second
2210 check_float_internal call.
2211 (check_int): Do not check numerical result if flag IGNORE_RESULT
2213 (check_long): Likewise.
2214 (check_bool): Likewise.
2215 (check_longlong): Likewise.
2216 (lrint_test_data): Add tests of infinite and NaN arguments.
2217 (lrint_tonearest_test_data): Likewise.
2218 (lrint_towardzero_test_data): Likewise.
2219 (lrint_downward_test_data): Likewise.
2220 (lrint_upward_test_data): Likewise.
2221 (llrint_test_data): Likewise.
2222 (llrint_tonearest_test_data): Likewise.
2223 (llrint_towardzero_test_data): Likewise.
2224 (llrint_downward_test_data): Likewise.
2225 (llrint_upward_test_data): Likewise.
2226 (lround_test_data): Likewise.
2227 (llround_test_data): Likewise.
2229 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2230 (ERRNO_UNCHANGED): Update value.
2231 (ERRNO_EDOM): Likewise.
2232 (ERRNO_ERANGE): Likewise.
2233 (NO_TEST_INLINE_FLOAT): New macro.
2234 (NO_TEST_INLINE_DOUBLE): Likewise.
2235 (enable_test): New function.
2236 (RUN_TEST_f_f): Check enable_test before running test.
2237 (RUN_TEST_2_f): Likewise.
2238 (RUN_TEST_fff_f): Likewise.
2239 (RUN_TEST_c_f): Likewise.
2240 (RUN_TEST_f_f1): Likewise.
2241 (RUN_TEST_fF_f1): Likewise.
2242 (RUN_TEST_fI_f1): Likewise.
2243 (RUN_TEST_ffI_f1): Likewise.
2244 (RUN_TEST_c_c): Likewise.
2245 (RUN_TEST_cc_c): Likewise.
2246 (RUN_TEST_f_i): Likewise.
2247 (RUN_TEST_f_i_tg): Likewise.
2248 (RUN_TEST_ff_i_tg): Likewise.
2249 (RUN_TEST_f_b): Likewise.
2250 (RUN_TEST_f_b_tg): Likewise.
2251 (RUN_TEST_f_l): Likewise.
2252 (RUN_TEST_f_L): Likewise.
2253 (RUN_TEST_fFF_11): Likewise.
2254 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2256 (cosh_test_data): Likewise.
2257 (exp_test_data): Likewise.
2258 (expm1_test_data): Likewise.
2259 (hypot_test_data): Likewise.
2260 (pow_test_data): Likewise.
2261 (sinh_test_data): Likewise.
2262 (tanh_test_data): Likewise.
2263 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2266 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2267 tests with quiet NaN input and output.
2268 (acosh_test_data): Likewise.
2269 (asin_test_data): Likewise.
2270 (asinh_test_data): Likewise.
2271 (atan_test_data): Likewise.
2272 (atanh_test_data): Likewise.
2273 (atan2_test_data): Likewise.
2274 (cbrt_test_data): Likewise.
2275 (cos_test_data): Likewise.
2276 (cosh_test_data): Likewise.
2277 (erf_test_data): Likewise.
2278 (erfc_test_data): Likewise.
2279 (exp_test_data): Likewise.
2280 (exp10_test_data): Likewise.
2281 (exp2_test_data): Likewise.
2282 (expm1_test_data): Likewise.
2283 (hypot_test_data): Likewise.
2284 (j0_test_data): Likewise.
2285 (j1_test_data): Likewise.
2286 (jn_test_data): Likewise.
2287 (lgamma_test_data): Likewise.
2288 (log_test_data): Likewise.
2289 (log10_test_data): Likewise.
2290 (log1p_test_data): Likewise.
2291 (log2_test_data): Likewise.
2292 (pow_test_data): Likewise.
2293 (scalb_test_data): Likewise.
2294 (sin_test_data): Likewise.
2295 (sincos_test_data): Likewise.
2296 (sinh_test_data): Likewise.
2297 (tan_test_data): Likewise.
2298 (tanh_test_data): Likewise.
2299 (tgamma_test_data): Likewise.
2300 (y0_test_data): Likewise.
2301 (y1_test_data): Likewise.
2302 (yn_test_data): Likewise.
2305 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2306 argument being NaN and avoid computations with second argument in
2308 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2309 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2310 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2312 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2314 * locale/iso-639.def: Add Chitwani Tharu (the).
2316 2013-11-14 Andreas Schwab <schwab@suse.de>
2318 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2319 word instead of empty string.
2321 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2324 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2326 (__fe_nomask_env): Likewise.
2328 2013-11-13 Steve Ellcey <sellcey@mips.com>
2330 * benchtests/bench-timing.h: Include time.h.
2332 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2335 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2337 * sysdeps/unix/sysv/linux/configure: Regenerated.
2339 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2342 * stdlib/strtod_l.c (round_and_return): Do not consider
2343 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2344 exponent one less than half the least subnormal exponent.
2345 * stdlib/test-strtod-round-data: Add more tests.
2346 * stdlib/tst-strtod-round.c (tests): Regenerated.
2348 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2351 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2352 (__fe_mask_env): Likewise.
2353 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2354 libm_hidden_proto and add function prototype.
2355 (__fe_mask_env): Add function prototype.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2357 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2359 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2361 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2363 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2365 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2366 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2368 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2370 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2371 of htab_find_slot().
2373 2013-11-11 David S. Miller <davem@davemloft.net>
2376 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2377 symbol in the non-vis3 case in static builds.
2378 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2379 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2380 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2381 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2383 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2386 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2389 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2391 * benchtests/Makefile: Add bench-strtod.
2392 * benchtests/bench-strtod.c: New file: strtod benchtest
2394 2013-11-11 Andreas Schwab <schwab@suse.de>
2397 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2398 terminating NUL in key length.
2400 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2403 Add artificial ODP entry for vDSO symbol for PPC64.
2404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2405 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2407 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2410 * nss/getent.c (services_keys): Recognize services starting with digit.
2412 2013-11-06 David S. Miller <davem@davemloft.net>
2415 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2416 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2418 2013-11-06 Will Newton <will.newton@linaro.org>
2420 * manual/memory.texi (Malloc Examples): Remove register
2421 keyword from examples.
2423 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2425 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2427 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2429 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2430 depending on [__GCC_IEC_559 > 0].
2431 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2432 depending on [__GCC_IEC_559_COMPLEX > 0].
2434 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2436 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2439 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2441 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2443 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2446 * malloc/malloc (malloc_info): Do not handle first bin as
2449 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2451 * locale/iso-639.def: Add Central Nahuatl (nhn).
2453 2013-11-01 Bruno Haible <bruno@clisp.org>
2456 * manual/math.texi (BSD Random): Specify range upper bound as
2459 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2461 * locale/iso-639.def: Add Meadow Mari (mhr).
2463 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2465 [BZ #14752], [BZ #15763]
2466 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2468 * rt/tst_shm.c: Add test for escaping directory.
2470 2013-10-31 Andreas Schwab <schwab@suse.de>
2473 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2474 followed by 'x' as part of digit sequence.
2475 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2477 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2480 * configure.ac: allow GNU Make 4.0 and greater.
2481 * configure: Regenerated.
2483 2013-10-30 Will Newton <will.newton@linaro.org>
2486 * malloc/hooks.c (memalign_check): Limit alignment to the
2487 maximum representable power of two.
2488 * malloc/malloc.c (__libc_memalign): Likewise.
2489 * malloc/tst-memalign.c (do_test): Add test for very
2490 large alignment values.
2491 * malloc/tst-posix_memalign.c (do_test): Likewise.
2493 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2496 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2497 (munmap_chunk): Likewise.
2498 (mremap_chunk): Likewise.
2500 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2503 * stdlib/div.c (div): Remove obsolete code.
2504 * stdlib/ldiv.c (ldiv): Likewise.
2505 * stdlib/lldiv.c (lldiv): Likewise.
2507 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2510 * nss/nss_files/files-XXX.c (get_contents_ret): New
2512 (get_contents): New function.
2513 (internal_getent): Use it. Expand size of LINEBUFLEN.
2515 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2517 * configure.in: Moved to ...
2518 * configure.ac: ... here. Change reference to configure.in
2520 * sysdeps/arm/preconfigure.ac: ... here.
2521 configure.in to configure.ac.
2522 * sysdeps/gnu/configure.in: Moved to ...
2523 * sysdeps/gnu/configure.ac: ... here.
2524 * sysdeps/i386/configure.in: Moved to ...
2525 * sysdeps/i386/configure.ac: ... here.
2526 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2527 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2528 * sysdeps/mach/configure.in: Moved to ...
2529 * sysdeps/mach/configure.ac: ... here.
2530 * sysdeps/mach/hurd/configure.in: Moved to ...
2531 * sysdeps/mach/hurd/configure.ac: ... here.
2532 * sysdeps/powerpc/configure.in: Moved to ...
2533 * sysdeps/powerpc/configure.ac: ... here.
2534 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2535 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2536 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2537 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2538 * sysdeps/s390/s390-32/configure.in: Moved to ...
2539 * sysdeps/s390/s390-32/configure.ac: ... here.
2540 * sysdeps/s390/s390-64/configure.in: Moved to ...
2541 * sysdeps/s390/s390-64/configure.ac: ... here.
2542 * sysdeps/sh/configure.in: Moved to ...
2543 * sysdeps/sh/configure.ac: ... here.
2544 * sysdeps/sparc/configure.in: Moved to ...
2545 * sysdeps/sparc/configure.ac: ... here.
2546 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2547 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2548 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2549 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2550 * sysdeps/x86_64/configure.in: Moved to ...
2551 * sysdeps/x86_64/configure.ac: ... here.
2552 * sysdeps/x86_64/preconfigure.in: Moved to ...
2553 * sysdeps/x86_64/preconfigure.ac: ... here.
2554 * aclocal.m4: Change reference to configure.in to configure.ac.
2555 * config.h.in: Likewise.
2556 * manual/install.texi: Likewise.
2557 * manual/maint.texi: Likewise.
2558 * Makefile: Likewise.
2559 * malloc/Makefile: Likewise.
2560 * nscd/Makefile: Likewise.
2561 * Makeconfig: Change reference to configure.in and
2562 preconfigure.in to configure.ac and preconfigure.ac
2564 * INSTALL: Regenerated.
2565 * configure: Likewise.
2566 * sysdeps/gnu/configure: Likewise.
2567 * sysdeps/i386/configure: Likewise.
2568 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2569 * sysdeps/mach/configure: Likewise.
2570 * sysdeps/mach/hurd/configure: Likewise.
2571 * sysdeps/powerpc/configure: Likewise.
2572 * sysdeps/powerpc/powerpc32/configure: Likewise.
2573 * sysdeps/powerpc/powerpc64/configure: Likewise.
2574 * sysdeps/s390/s390-32/configure: Likewise.
2575 * sysdeps/s390/s390-64/configure: Likewise.
2576 * sysdeps/sh/configure: Likewise.
2577 * sysdeps/sparc/configure: Likewise.
2578 * sysdeps/unix/sysv/linux/configure: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2580 * sysdeps/x86_64/configure: Likewise.
2581 * sysdeps/x86_64/preconfigure: Likewise.
2583 2013-10-29 Andreas Schwab <schwab@suse.de>
2585 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2587 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2589 * benchtests/pow-inputs: Add new inputs.
2591 * benchtests/exp-inputs: Add new inputs.
2593 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2594 conditional check for return value.
2595 (__cos32): Likewise.
2597 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2599 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2600 to provide a boost for large inputs with word alignment.
2601 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2602 implementation based on optimized PPC64 strcpy.
2603 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2604 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2605 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2606 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2608 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2611 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2613 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2616 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2617 * time/tst-strptime.c (day_tests): Add testcase.
2619 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2622 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2624 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2627 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2628 MAP_FAILED on error.
2630 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2633 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2634 heap for large requests.
2636 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2639 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2640 result if the result has no associated interface.
2641 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2642 interface for all 127.X.Y.Z addresses.
2644 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2646 * locale/iso-639.def: Add Ligurian (lij)
2648 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2651 * sunrpc/rpc_main.c: Document rpcgen -5.
2653 2013-10-19 Michael Stahl <mstahl@redhat.com>
2655 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2657 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2660 * posix/glob.c: Match only directories when trailing slash is present.
2661 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2662 (main): Add testcase.
2664 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2667 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2669 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2671 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2672 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2673 AUTH_DES and cindex for FIPS 140-2.
2674 (DES Encryption): Add cindex FIPS 46-3.
2676 * locale/locarchive.h (struct locarhandle): Add fname.
2677 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2678 if an optional argument was specified to --list-archive,
2680 * locale/programs/locarchive.c (show_archive_content): Take new
2681 argument fname and pass it via ah.fname to open_archive.
2682 * locale/programs/localedef.h: Update decl.
2683 (open_archive): If AH->fname is non-null, open that file
2684 rather than the default file name, and don't ignore ENOENT.
2685 (create_archive): Set AH.fname to NULL.
2686 (delete_locales_from_archive): Likewise.
2687 (add_locales_to_archive): Likewise.
2688 * locale/programs/locfile.c (write_all_categories): Likewise.
2690 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2691 Aldy Hernandez <aldyh@redhat.com>
2693 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2694 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2695 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2696 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2697 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2698 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2699 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2700 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2701 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2702 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2703 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2704 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2705 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2706 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2707 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2709 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2711 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2713 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2715 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2716 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2718 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2719 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2720 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2721 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2723 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2724 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2725 * sysdeps/powerpc/preconfigure: Likewise.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2728 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2729 Replace contents of file by #include of <fenv_libc.h>.
2730 * sysdeps/powerpc/soft-fp/sfp-machine.h
2731 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2733 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2742 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2746 Allow copysignl PLT reference to be missing.
2748 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2749 Joseph Myers <joseph@codesourcery.com
2752 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2754 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2756 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2758 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2759 * elf/tst-tls1.c: Likewise.
2760 * elf/tst-tls10.h: Likewise.
2761 * elf/tst-tls14.c: Likewise.
2762 * elf/tst-tls2.c: Likewise.
2763 * elf/tst-tls3.c: Likewise.
2764 * elf/tst-tls4.c: Likewise.
2765 * elf/tst-tls5.c: Likewise.
2766 * elf/tst-tls6.c: Likewise.
2767 * elf/tst-tls7.c: Likewise.
2768 * elf/tst-tls8.c: Likewise.
2769 * elf/tst-tls9.c: Likewise.
2770 * elf/tst-tlsmod1.c: Likewise.
2771 * elf/tst-tlsmod13.c: Likewise.
2772 * elf/tst-tlsmod13a.c: Likewise.
2773 * elf/tst-tlsmod14a.c: Likewise.
2774 * elf/tst-tlsmod16a.c: Likewise.
2775 * elf/tst-tlsmod16b.c: Likewise.
2776 * elf/tst-tlsmod2.c: Likewise.
2777 * elf/tst-tlsmod3.c: Likewise.
2778 * elf/tst-tlsmod4.c: Likewise.
2779 * elf/tst-tlsmod5.c: Likewise.
2780 * elf/tst-tlsmod6.c: Likewise.
2782 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2785 * malloc/malloc.c: remove checks for statistics.
2787 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2790 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2791 * inet/tst-network.c: Add testcase.
2793 2013-10-17 Andreas Schwab <schwab@suse.de>
2796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2797 to determine canonical name.
2799 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2801 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2802 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2825 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2826 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2827 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2828 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2829 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2830 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2831 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2833 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2834 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2835 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2836 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2837 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2838 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2839 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2841 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2842 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2845 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2846 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2847 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2848 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2849 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2850 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2851 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2852 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2853 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2854 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2856 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2858 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2860 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2863 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2864 make result into a quiet NaN.
2866 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2868 * soft-fp/adddf3.c: Fix horizontal whitespace.
2869 * soft-fp/addsf3.c: Likewise.
2870 * soft-fp/addtf3.c: Likewise.
2871 * soft-fp/divdf3.c: Likewise.
2872 * soft-fp/divsf3.c: Likewise.
2873 * soft-fp/divtf3.c: Likewise.
2874 * soft-fp/double.h: Likewise.
2875 * soft-fp/eqdf2.c: Likewise.
2876 * soft-fp/eqsf2.c: Likewise.
2877 * soft-fp/eqtf2.c: Likewise.
2878 * soft-fp/extenddftf2.c: Likewise.
2879 * soft-fp/extended.h: Likewise.
2880 * soft-fp/extendsfdf2.c: Likewise.
2881 * soft-fp/extendsftf2.c: Likewise.
2882 * soft-fp/extendxftf2.c: Likewise.
2883 * soft-fp/fixdfdi.c: Likewise.
2884 * soft-fp/fixdfsi.c: Likewise.
2885 * soft-fp/fixdfti.c: Likewise.
2886 * soft-fp/fixsfdi.c: Likewise.
2887 * soft-fp/fixsfsi.c: Likewise.
2888 * soft-fp/fixsfti.c: Likewise.
2889 * soft-fp/fixtfdi.c: Likewise.
2890 * soft-fp/fixtfsi.c: Likewise.
2891 * soft-fp/fixtfti.c: Likewise.
2892 * soft-fp/fixunsdfdi.c: Likewise.
2893 * soft-fp/fixunsdfsi.c: Likewise.
2894 * soft-fp/fixunsdfti.c: Likewise.
2895 * soft-fp/fixunssfdi.c: Likewise.
2896 * soft-fp/fixunssfsi.c: Likewise.
2897 * soft-fp/fixunssfti.c: Likewise.
2898 * soft-fp/fixunstfdi.c: Likewise.
2899 * soft-fp/fixunstfsi.c: Likewise.
2900 * soft-fp/fixunstfti.c: Likewise.
2901 * soft-fp/floatdidf.c: Likewise.
2902 * soft-fp/floatdisf.c: Likewise.
2903 * soft-fp/floatditf.c: Likewise.
2904 * soft-fp/floatsidf.c: Likewise.
2905 * soft-fp/floatsisf.c: Likewise.
2906 * soft-fp/floatsitf.c: Likewise.
2907 * soft-fp/floattidf.c: Likewise.
2908 * soft-fp/floattisf.c: Likewise.
2909 * soft-fp/floattitf.c: Likewise.
2910 * soft-fp/floatundidf.c: Likewise.
2911 * soft-fp/floatundisf.c: Likewise.
2912 * soft-fp/floatunditf.c: Likewise.
2913 * soft-fp/floatunsidf.c: Likewise.
2914 * soft-fp/floatunsisf.c: Likewise.
2915 * soft-fp/floatunsitf.c: Likewise.
2916 * soft-fp/floatuntidf.c: Likewise.
2917 * soft-fp/floatuntisf.c: Likewise.
2918 * soft-fp/floatuntitf.c: Likewise.
2919 * soft-fp/fmadf4.c: Likewise.
2920 * soft-fp/fmasf4.c: Likewise.
2921 * soft-fp/fmatf4.c: Likewise.
2922 * soft-fp/gedf2.c: Likewise.
2923 * soft-fp/gesf2.c: Likewise.
2924 * soft-fp/getf2.c: Likewise.
2925 * soft-fp/ledf2.c: Likewise.
2926 * soft-fp/lesf2.c: Likewise.
2927 * soft-fp/letf2.c: Likewise.
2928 * soft-fp/muldf3.c: Likewise.
2929 * soft-fp/mulsf3.c: Likewise.
2930 * soft-fp/multf3.c: Likewise.
2931 * soft-fp/negdf2.c: Likewise.
2932 * soft-fp/negsf2.c: Likewise.
2933 * soft-fp/negtf2.c: Likewise.
2934 * soft-fp/op-1.h: Likewise.
2935 * soft-fp/op-2.h: Likewise.
2936 * soft-fp/op-4.h: Likewise.
2937 * soft-fp/op-8.h: Likewise.
2938 * soft-fp/op-common.h: Likewise.
2939 * soft-fp/quad.h: Likewise.
2940 * soft-fp/single.h: Likewise.
2941 * soft-fp/soft-fp.h: Likewise.
2942 * soft-fp/sqrtdf2.c: Likewise.
2943 * soft-fp/sqrtsf2.c: Likewise.
2944 * soft-fp/sqrttf2.c: Likewise.
2945 * soft-fp/subdf3.c: Likewise.
2946 * soft-fp/subsf3.c: Likewise.
2947 * soft-fp/subtf3.c: Likewise.
2948 * soft-fp/truncdfsf2.c: Likewise.
2949 * soft-fp/trunctfdf2.c: Likewise.
2950 * soft-fp/trunctfsf2.c: Likewise.
2951 * soft-fp/trunctfxf2.c: Likewise.
2952 * soft-fp/unorddf2.c: Likewise.
2953 * soft-fp/unordsf2.c: Likewise.
2954 * soft-fp/unordtf2.c: Likewise.
2956 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2958 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2959 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2961 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2963 * elf/dl-libc.c: Clear initfini list after freeing.
2965 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2967 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2968 * soft-fp/addsf3.c: Likewise.
2969 * soft-fp/addtf3.c: Likewise.
2970 * soft-fp/divdf3.c: Likewise.
2971 * soft-fp/divsf3.c: Likewise.
2972 * soft-fp/divtf3.c: Likewise.
2973 * soft-fp/double.h: Likewise.
2974 * soft-fp/eqdf2.c: Likewise.
2975 * soft-fp/eqsf2.c: Likewise.
2976 * soft-fp/eqtf2.c: Likewise.
2977 * soft-fp/extenddftf2.c: Likewise.
2978 * soft-fp/extended.h: Likewise.
2979 * soft-fp/extendsfdf2.c: Likewise.
2980 * soft-fp/extendsftf2.c: Likewise.
2981 * soft-fp/extendxftf2.c: Likewise.
2982 * soft-fp/fixdfdi.c: Likewise.
2983 * soft-fp/fixdfsi.c: Likewise.
2984 * soft-fp/fixdfti.c: Likewise.
2985 * soft-fp/fixsfdi.c: Likewise.
2986 * soft-fp/fixsfsi.c: Likewise.
2987 * soft-fp/fixsfti.c: Likewise.
2988 * soft-fp/fixtfdi.c: Likewise.
2989 * soft-fp/fixtfsi.c: Likewise.
2990 * soft-fp/fixtfti.c: Likewise.
2991 * soft-fp/fixunsdfdi.c: Likewise.
2992 * soft-fp/fixunsdfsi.c: Likewise.
2993 * soft-fp/fixunsdfti.c: Likewise.
2994 * soft-fp/fixunssfdi.c: Likewise.
2995 * soft-fp/fixunssfsi.c: Likewise.
2996 * soft-fp/fixunssfti.c: Likewise.
2997 * soft-fp/fixunstfdi.c: Likewise.
2998 * soft-fp/fixunstfsi.c: Likewise.
2999 * soft-fp/fixunstfti.c: Likewise.
3000 * soft-fp/floatdidf.c: Likewise.
3001 * soft-fp/floatdisf.c: Likewise.
3002 * soft-fp/floatditf.c: Likewise.
3003 * soft-fp/floatsidf.c: Likewise.
3004 * soft-fp/floatsisf.c: Likewise.
3005 * soft-fp/floatsitf.c: Likewise.
3006 * soft-fp/floattidf.c: Likewise.
3007 * soft-fp/floattisf.c: Likewise.
3008 * soft-fp/floattitf.c: Likewise.
3009 * soft-fp/floatundidf.c: Likewise.
3010 * soft-fp/floatundisf.c: Likewise.
3011 * soft-fp/floatunsidf.c: Likewise.
3012 * soft-fp/floatunsisf.c: Likewise.
3013 * soft-fp/floatuntidf.c: Likewise.
3014 * soft-fp/floatuntisf.c: Likewise.
3015 * soft-fp/floatuntitf.c: Likewise.
3016 * soft-fp/fmadf4.c: Likewise.
3017 * soft-fp/fmasf4.c: Likewise.
3018 * soft-fp/fmatf4.c: Likewise.
3019 * soft-fp/gedf2.c: Likewise.
3020 * soft-fp/gesf2.c: Likewise.
3021 * soft-fp/getf2.c: Likewise.
3022 * soft-fp/ledf2.c: Likewise.
3023 * soft-fp/lesf2.c: Likewise.
3024 * soft-fp/letf2.c: Likewise.
3025 * soft-fp/muldf3.c: Likewise.
3026 * soft-fp/mulsf3.c: Likewise.
3027 * soft-fp/multf3.c: Likewise.
3028 * soft-fp/negdf2.c: Likewise.
3029 * soft-fp/negsf2.c: Likewise.
3030 * soft-fp/negtf2.c: Likewise.
3031 * soft-fp/op-1.h: Likewise.
3032 * soft-fp/op-2.h: Likewise.
3033 * soft-fp/op-4.h: Likewise.
3034 * soft-fp/op-8.h: Likewise.
3035 * soft-fp/op-common.h: Likewise.
3036 * soft-fp/quad.h: Likewise.
3037 * soft-fp/single.h: Likewise.
3038 * soft-fp/soft-fp.h: Likewise.
3039 * soft-fp/sqrtdf2.c: Likewise.
3040 * soft-fp/sqrtsf2.c: Likewise.
3041 * soft-fp/sqrttf2.c: Likewise.
3042 * soft-fp/subdf3.c: Likewise.
3043 * soft-fp/subsf3.c: Likewise.
3044 * soft-fp/subtf3.c: Likewise.
3045 * soft-fp/truncdfsf2.c: Likewise.
3046 * soft-fp/trunctfdf2.c: Likewise.
3047 * soft-fp/trunctfsf2.c: Likewise.
3048 * soft-fp/trunctfxf2.c: Likewise.
3049 * soft-fp/unorddf2.c: Likewise.
3050 * soft-fp/unordsf2.c: Likewise.
3051 * soft-fp/unordtf2.c: Likewise.
3053 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3056 * misc/error.c (error_tail): Fix possible buffer overflow.
3058 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3061 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3064 2013-10-14 P. J. McDermott <pj@pehjota.net>
3067 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3068 testing pipefail option.
3070 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3072 * soft-fp/double.h: Indent preprocessor directives inside #if.
3073 * soft-fp/extended.h: Likewise.
3074 * soft-fp/op-2.h: Likewise.
3075 * soft-fp/op-4.h: Likewise.
3076 * soft-fp/op-common.h: Likewise.
3077 * soft-fp/quad.h: Likewise.
3078 * soft-fp/single.h: Likewise.
3079 * soft-fp/soft-fp.h: Likewise.
3081 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3083 * iconv/iconv_prog.c: Fix typos.
3084 * stdio-common/psiginfo-data.h: Likewise.
3086 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3089 * locale/setlocale.c: Fix typo.
3091 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3094 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3095 signaling NaN arguments.
3096 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3097 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3100 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3102 * soft-fp/gesf2.c (__gesf2): Likewise.
3103 * soft-fp/getf2.c (__getf2): Likewise.
3104 * soft-fp/ledf2.c (__ledf2): Likewise.
3105 * soft-fp/lesf2.c (__lesf2): Likewise.
3106 * soft-fp/letf2.c (__letf2): Likewise.
3108 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3109 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3110 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3111 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3112 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3113 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3114 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3115 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3116 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3117 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3118 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3119 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3120 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3121 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3122 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3123 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3124 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3125 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3126 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3127 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3128 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3129 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3130 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3131 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3132 * soft-fp/floattidf.c (__floattidf): Likewise.
3133 * soft-fp/floattisf.c (__floattisf): Likewise.
3134 * soft-fp/floattitf.c (__floattitf): Likewise.
3135 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3136 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3137 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3138 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3139 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3140 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3141 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3142 * soft-fp/gesf2.c (__gesf2): Likewise.
3143 * soft-fp/getf2.c (__getf2): Likewise.
3144 * soft-fp/ledf2.c (__ledf2): Likewise.
3145 * soft-fp/lesf2.c (__lesf2): Likewise.
3146 * soft-fp/letf2.c (__letf2): Likewise.
3148 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3149 Undefine and redefine.
3150 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3151 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3152 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3153 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3154 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3155 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3156 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3157 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3158 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3159 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3160 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3161 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3162 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3163 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3164 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3167 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3168 without decrementing exponent if mantissa >= that for the
3170 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3171 denominator, not >. Decrement exponent in < case instead of
3172 incrementing in >= case.
3173 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3174 without decrementing exponent if mantissa >= that for the
3177 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3178 computing saturated result for unsigned overflow.
3180 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3181 Jeff Law <law@redhat.com>
3183 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3184 (atan2Mp): Add systemtap probe marker.
3185 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3186 (__ieee754_log): Add systemtap probe marker.
3187 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3188 (atanMp): Add systemtap probe marker.
3189 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3190 (tanMp): Add systemtap probe marker.
3191 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3192 (__slowexp): Add systemtap probe marker.
3193 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3194 (__slowpow): Add systemtap probe marker.
3195 * manual/probes.texi: Document probes.
3197 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3200 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3202 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3204 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3205 written to buffer but not flushed.
3206 * libio/iofwrite_u.c: Likewise.
3207 * libio/iopadn.c: Return bytes returned even if EOF was
3209 * libio/iowpadn.c: Likewise.
3210 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3211 if _IO_padn does not write the whole buffer.
3212 [!COMPILE_WPRINTF] (PAD): Likewise.
3214 2013-10-10 David S. Miller <davem@davemloft.net>
3216 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3219 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3221 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3222 instead of FSF address.
3223 * soft-fp/fixdfti.c: Likewise.
3224 * soft-fp/fixsfti.c: Likewise.
3225 * soft-fp/fixtfti.c: Likewise.
3226 * soft-fp/fixunsdfti.c: Likewise.
3227 * soft-fp/fixunssfti.c: Likewise.
3228 * soft-fp/fixunstfti.c: Likewise.
3229 * soft-fp/floattidf.c: Likewise.
3230 * soft-fp/floattisf.c: Likewise.
3231 * soft-fp/floattitf.c: Likewise.
3232 * soft-fp/floatuntidf.c: Likewise.
3233 * soft-fp/floatuntisf.c: Likewise.
3234 * soft-fp/floatuntitf.c: Likewise.
3235 * soft-fp/trunctfxf2.c: Likewise.
3237 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3238 * soft-fp/fixdfti.c: Likewise.
3239 * soft-fp/fixsfti.c: Likewise.
3240 * soft-fp/fixtfti.c: Likewise.
3241 * soft-fp/fixunsdfti.c: Likewise.
3242 * soft-fp/fixunssfti.c: Likewise.
3243 * soft-fp/fixunstfti.c: Likewise.
3244 * soft-fp/floattidf.c: Likewise.
3245 * soft-fp/floattisf.c: Likewise.
3246 * soft-fp/floattitf.c: Likewise.
3247 * soft-fp/floatuntidf.c: Likewise.
3248 * soft-fp/floatuntisf.c: Likewise.
3249 * soft-fp/floatuntitf.c: Likewise.
3250 * soft-fp/trunctfxf2.c: Likewise.
3252 2013-10-10 David S. Miller <davem@davemloft.net>
3254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3256 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3258 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3259 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3260 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3261 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3262 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3263 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3264 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3267 for NaNs before doing comparisons on argument.
3268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3271 2013-10-10 Will Newton <will.newton@linaro.org>
3273 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3274 passed to _int_memalign does not overflow.
3276 2013-10-10 Torvald Riegel <triegel@redhat.com>
3278 * scripts/bench.pl: Add include-sources directive.
3279 * benchtests/README: Update documentation.
3281 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3283 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3284 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3285 instead of FP_INIT_ROUNDMODE.
3286 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3287 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3290 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3291 copy class of input value.
3292 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3293 not handle exceptions.
3294 * soft-fp/negsf2.c (__negsf2): Likewise.
3295 * soft-fp/negtf2.c (__negtf2): Likewise.
3296 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3298 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3300 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3301 semicolon. From Linux kernel.
3303 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3305 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3307 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3310 * manual/socket.texi: Added statement about buffer
3311 for gethostbyname2_r.
3313 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3315 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3316 Use .p2align directive instead, throughout.
3317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3318 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3319 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3322 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3323 * sysdeps/x86_64/strchr.S: Likewise.
3324 * sysdeps/x86_64/strrchr.S: Likewise.
3326 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3328 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3330 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3332 * sysdeps/generic/math_private.h (__mpsin1): Remove
3334 (__mpcos1): Likewise.
3335 (__mpsin): New argument __range_reduce.
3336 (__mpcos): Likewise.
3337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3338 (slow): Use __mpsin and __mpcos.
3345 (bsloww1): Likewise.
3346 (bsloww2): Likewise.
3349 (csloww1): Likewise.
3350 (csloww2): Likewise.
3351 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3352 range_reduce. Merge in __mpsin1.
3353 (__mpcos): Likewise.
3355 (__mpcos1): Likewise.
3357 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3359 * locale/loadlocale.c (_nl_intern_locale_data): Use
3361 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3362 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3363 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3364 obstack data is appropriately aligned.
3365 (obstack_int32_grow_fast): Likewise.
3366 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3367 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3368 (add_locale_uint32_array): Likewise.
3370 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3372 * benchtests/Makefile: Remove ARGLIST and RET variables.
3373 ($(objpfx)bench-%.c): Pass only function name to the script.
3374 * benchtests/README: Update documentation.
3375 * benchtests/acos-inputs: Add new directives.
3376 * benchtests/acosh-inputs: Likewise.
3377 * benchtests/asin-inputs: Likewise.
3378 * benchtests/asinh-inputs: Likewise.
3379 * benchtests/atan-inputs: Likewise.
3380 * benchtests/atanh-inputs: Likewise.
3381 * benchtests/cos-inputs: Likewise.
3382 * benchtests/cosh-inputs: Likewise.
3383 * benchtests/exp-inputs: Likewise.
3384 * benchtests/log-inputs: Likewise.
3385 * benchtests/pow-inputs: Likewise.
3386 * benchtests/rint-inputs: Likewise.
3387 * benchtests/sin-inputs: Likewise.
3388 * benchtests/sinh-inputs: Likewise.
3389 * benchtests/tan-inputs: Likewise.
3390 * benchtests/tanh-inputs: Likewise.
3391 * scripts/bench.pl: Add support for new directives.
3393 2013-10-07 Alan Modra <amodra@gmail.com>
3395 * README: Fix careless merge.
3397 2013-10-05 Alan Modra <amodra@gmail.com>
3399 * NEWS: Mention powerpc64le support and bugs fixed.
3400 * README: Both big-endian and little-endian powerpc64 supported.
3402 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3404 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3405 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3406 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3407 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3409 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3411 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3414 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3416 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3417 Move -mhard-float appending from
3418 ports/sysdeps/powerpc/powerpc32/Makefile.
3419 [$(with-fp) = yes] (ASFLAGS): Likewise.
3420 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3421 * sysdeps/powerpc/nofpu: Move directory from
3422 ports/sysdeps/powerpc/nofpu.
3423 * sysdeps/powerpc/soft-fp: Move directory from
3424 ports/sysdeps/powerpc/soft-fp.
3425 * sysdeps/powerpc/powerpc32/405: Move directory from
3426 ports/sysdeps/powerpc/powerpc32/405.
3427 * sysdeps/powerpc/powerpc32/440: Move directory from
3428 ports/sysdeps/powerpc/powerpc32/440.
3429 * sysdeps/powerpc/powerpc32/464: Move directory from
3430 ports/sysdeps/powerpc/powerpc32/464.
3431 * sysdeps/powerpc/powerpc32/476: Move directory from
3432 ports/sysdeps/powerpc/powerpc32/476.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3434 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3436 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3438 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3440 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3442 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3443 * README: Update for powerpc-*-linux-gnu software floating point
3446 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3447 case to powerpc/powerpc32*.
3448 * sysdeps/unix/sysv/linux/configure: Regenerated.
3450 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3451 (_FPU_MASK_OM): Define as 0x04.
3452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3460 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3466 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3467 and setcontext_e500.
3469 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3471 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3473 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3475 * manual/threads.texi (Default Thread Attributes): Fix typo.
3477 2013-10-04 Will Newton <will.newton@linaro.org>
3479 * malloc/Makefile: Add tst-memalign.
3480 * malloc/tst-memalign.c: New file.
3482 * malloc/tst-posix_memalign.c: Add comments.
3483 (do_test): Add comments and call free on all potentially
3484 allocated pointers. Add space after cast.
3486 * malloc/tst-pvalloc.c: Add comments.
3487 (do_test): Add comments and call free on all potentially
3488 allocated pointers. Remove duplicate check for NULL pointer.
3489 Add space after cast.
3491 * malloc/tst-valloc.c: Add comments.
3492 (do_test): Add comments and call free on all potentially
3493 allocated pointers. Remove duplicate check for NULL pointer.
3494 Add space after cast.
3496 2013-10-04 Alan Modra <amodra@gmail.com>
3498 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3499 Use stdint types in rather than __attribute__((mode())).
3500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3502 2013-10-04 Alan Modra <amodra@gmail.com>
3504 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3505 Correct handling of unaligned relocs for little-endian.
3506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3508 2013-10-04 Alan Modra <amodra@gmail.com>
3510 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3511 * configure: Regenerate.
3512 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3513 * shlib-versions: Likewise.
3515 2013-10-04 Alan Modra <amodra@gmail.com>
3517 * string/tester.c (test_memrchr): Increment reported test cycle.
3519 2013-10-04 Alan Modra <amodra@gmail.com>
3521 * string/test-memcpy.c (do_one_test): When reporting errors, print
3522 string address and don't overrun end of string.
3524 2013-10-04 Alan Modra <amodra@gmail.com>
3526 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3527 insrdi. Make better use of reg selection to speed exit slightly.
3528 Schedule entry path a little better. Remove useless "are we done"
3529 checks on entry to main loop. Handle wrapping around zero address.
3530 Correct main loop count. Handle single left-over word from main
3531 loop inline rather than by using loop_small. Remove extra word
3532 case in loop_small caused by wrong loop count. Add little-endian
3534 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3537 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3538 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3539 support. Avoid rlwimi.
3540 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3542 2013-10-04 Alan Modra <amodra@gmail.com>
3544 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3546 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3547 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3548 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3549 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3550 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3551 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3553 2013-10-04 Alan Modra <amodra@gmail.com>
3555 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3556 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3558 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3559 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3560 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3562 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3563 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3564 use of regs. Use power7 mtocrf. Tidy function tails.
3566 2013-10-04 Alan Modra <amodra@gmail.com>
3568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3569 Formatting. Consistently use rXXX register defines or rN defines.
3570 Use early exit labels that avoid restoring unused non-volatile regs.
3571 Make cr field use more consistent with rWORDn compares. Rename
3572 regs used as shift registers for unaligned loop, using rN defines
3573 for short lifetime/multiple use regs.
3574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3575 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3576 addi 1,1,64 to pop stack frame. Simplify return value code.
3577 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3579 2013-10-04 Alan Modra <amodra@gmail.com>
3581 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3582 support. Correct typos, formatting. Optimize tail. Use insrdi
3584 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3585 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3586 little-endian support. Correct typos.
3587 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3589 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3590 in loop and entry code to keep "and." results.
3591 (strchr): Add little-endian support. Comment. Move cntlzd
3593 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3595 2013-10-04 Alan Modra <amodra@gmail.com>
3597 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3598 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3599 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3600 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3602 2013-10-04 Alan Modra <amodra@gmail.com>
3604 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3605 (rTMP): Define as r11.
3606 (strcmp): Add little-endian support. Optimise tail.
3607 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3608 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3609 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3610 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3613 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3615 2013-10-04 Alan Modra <amodra@gmail.com>
3617 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3618 little-endian support. Remove unnecessary "are we done" tests.
3619 Handle "s" wrapping around zero and extremely large "size".
3620 Correct main loop count. Handle single left-over word from main
3621 loop inline rather than by using small_loop. Correct comments.
3622 Delete "zero" tail, use "end_max" instead.
3623 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3625 2013-10-04 Alan Modra <amodra@gmail.com>
3627 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3628 support. Don't branch over align.
3629 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3630 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3631 support. Rearrange tmp reg use to suit. Comment.
3632 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3634 2013-10-04 Alan Modra <amodra@gmail.com>
3636 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3638 2013-10-04 Alan Modra <amodra@gmail.com>
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3641 conditional form of branch and link when obtaining pc.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3644 2013-10-04 Alan Modra <amodra@gmail.com>
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3651 2013-10-04 Alan Modra <amodra@gmail.com>
3653 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3654 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3655 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3656 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3657 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3658 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3659 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3660 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3661 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3662 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3664 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3665 Alistair Popple <alistair@ozlabs.au.ibm.com>
3666 Alan Modra <amodra@gmail.com>
3669 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3670 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3671 _dl_hwcap access for little-endian.
3672 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3673 destroy vmx regs when saving unaligned.
3674 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3675 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3676 destroy vmx regs when saving unaligned.
3678 2013-10-04 Alan Modra <amodra@gmail.com>
3680 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3681 Don't use a union to pack hi/low value.
3683 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3685 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3687 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3690 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3691 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3693 2013-10-04 Alan Modra <amodra@gmail.com>
3695 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3696 constants to usual value for .cst8 section, and remove redundant
3698 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3699 constant for 0x1p52. Load little-endian words of double from
3700 correct stack offsets.
3702 2013-10-04 Alan Modra <amodra@gmail.com>
3704 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3705 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3706 words of double from correct stack offsets.
3707 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3708 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3709 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3712 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3714 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3715 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3716 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3717 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3719 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3720 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3721 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3722 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3723 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3725 2013-10-04 Alan Modra <amodra@gmail.com>
3727 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3728 64-bit int/double union.
3729 (_FPU_SETCW): Likewise.
3730 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3731 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3733 2013-10-04 Alan Modra <amodra@gmail.com>
3735 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3736 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3738 2013-10-04 Alan Modra <amodra@gmail.com>
3740 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3741 use vector int constants.
3742 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3744 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3746 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3747 array with long long.
3748 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3749 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3750 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3751 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3752 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3753 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3754 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3755 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3756 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3757 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3758 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3759 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3760 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3762 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3764 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3765 (__signbit): Likewise. Correct for little-endian.
3766 (__signbitl): Call __signbit.
3767 (lrint): Correct for little-endian.
3768 (lrintf): Call lrint.
3770 2013-10-04 Alan Modra <amodra@gmail.com>
3772 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3773 union 32-bit int array member with 64-bit int array.
3774 (t515, tm256): Double rather than long double.
3775 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3777 2013-10-04 Alan Modra <amodra@gmail.com>
3779 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3781 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3783 version of math_ldbl.h.
3785 2013-10-04 Alan Modra <amodra@gmail.com>
3787 [BZ #15734], [BZ #15735]
3788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3789 all uses of ieee875 long double macros and unions. Simplify test
3790 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3791 ldbl_extract_mantissa value for ix,iy exponents. Properly
3792 normalize after ldbl_extract_mantissa, and don't add hidden bit
3793 already handled. Don't treat low word of ieee854 mantissa like
3794 low word of IBM long double and mask off bit when testing for
3796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3797 all uses of ieee875 long double macros and unions. Simplify tests
3798 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3799 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3800 two1022, instead use their values. Recognise that tests for large
3801 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3802 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3803 Rewrite all uses of ieee875 long double macros and unions. Simplify
3804 test for 0.0L and nan. Correct negation.
3805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3806 ieee875 long double macros and unions. Correct output for large
3807 magnitude x. Correct absolute value calculation.
3808 (__erfcl): Likewise.
3809 * math/libm-test.inc: Add tests for errors discovered in IBM long
3810 double versions of fmodl, remainderl, erfl and erfcl.
3812 2013-10-04 Alan Modra <amodra@gmail.com>
3814 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3815 all uses of ieee854 long double macros and unions. Simplify tests
3816 for long doubles that are fully specified by the high double.
3817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3819 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3820 Remove dead code too.
3821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3822 (__ieee754_ynl): Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3826 Remove dead code too.
3827 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3832 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3837 Comment on variable precision.
3838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3841 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3844 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3847 2013-10-04 Alan Modra <amodra@gmail.com>
3849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3850 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3851 all uses of ieee854 long double macros and unions.
3852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3865 Simplify sign and nan test too.
3866 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3871 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3874 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3881 2013-10-04 Alan Modra <amodra@gmail.com>
3883 * stdio-common/printf_size.c (__printf_size): Don't use
3884 union ieee854_long_double in fpnum union.
3885 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3886 signbit macro to retrieve sign from long double.
3887 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3888 retrieve sign from long double.
3889 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3890 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3891 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3892 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3893 * math/test-misc.c (main): Don't use union ieee854_long_double.
3895 2013-10-04 Alan Modra <amodra@gmail.com>
3898 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3899 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3900 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3901 calculation. Remove unnecessary test for denormal exponent.
3902 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3903 Correct handling of denormals. Avoid undefined shift behaviour.
3904 Correct normalisation of low mantissa when low double is denormal.
3905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3906 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3907 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3908 Correct normalisation of low mantissa. Test for overflow of high
3909 mantissa and normalise.
3910 (ldbl_nearbyint): Use more readable constant for two52.
3911 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3912 (__mpn_construct_long_double): Fix test for overflow of high
3913 mantissa and correct normalisation. Avoid undefined shift.
3915 2013-10-04 Alan Modra <amodra@gmail.com>
3917 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3918 (union ibm_extended_long_double): Define as an array of ieee754_double.
3919 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3920 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3921 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3922 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3931 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3933 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3934 page size instead of calling getpagesize.
3936 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3937 (LOCFILE_ALIGN_MASK): Likewise.
3938 (LOCFILE_ALIGN_UP): Likewise.
3939 (LOCFILE_ALIGNED_P): Likewise.
3940 * locale/programs/ld-collate.c (collate_output): Use the new
3941 macros instead of __alignof__ (int32_t).
3942 * locale/weight.h (findidx): Likewise.
3944 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3947 * manual/string.texi: Fix strncat and wcsncat.
3949 2013-10-03 Brooks Moses <bmoses@google.com>
3952 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3953 * Makerules: ...here, and adjust associated comments.
3955 2013-10-02 Will Newton <will.newton@linaro.org>
3957 * malloc/Makefile: Add tst-pvalloc.
3958 * malloc/tst-pvalloc.c: New file.
3960 2013-10-02 Will Newton <will.newton@linaro.org>
3962 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3963 improve test coverage.
3965 2013-10-02 Will Newton <will.newton@linaro.org>
3967 * malloc/Makefile: Add tst-posix_memalign.
3968 * malloc/tst-posix_memalign.c: New file.
3970 2013-10-01 Eric Blake <eblake@redhat.com>
3972 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3973 Use __THROWNL rather than __THROW on static functions.
3975 2013-09-30 Petr Machata <pmachata@redhat.com>
3977 * elf/elf.h (R_AARCH64_ABS16): New macro.
3978 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3979 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3980 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3981 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3982 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3983 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3984 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3985 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3986 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3987 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3988 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3989 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3990 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3991 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3992 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3993 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3994 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3995 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3996 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3997 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3998 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3999 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4000 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4001 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4002 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4003 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4004 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4005 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4006 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4007 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4008 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4009 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4010 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4011 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4012 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4013 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4014 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4015 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4016 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4017 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4018 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4019 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4020 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4021 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4022 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4023 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4024 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4025 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4026 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4027 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4028 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4029 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4030 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4031 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4032 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4033 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4034 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4035 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4036 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4037 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4038 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4039 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4040 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4041 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4042 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4043 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4044 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4045 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4046 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4047 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4048 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4049 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4050 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4051 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4052 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4053 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4054 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4055 (R_AARCH64_TLSDESC_LDR): Likewise.
4056 (R_AARCH64_TLSDESC_ADD): Likewise.
4057 (R_AARCH64_TLSDESC_CALL): Likewise.
4059 2013-09-30 Andreas Schwab <schwab@suse.de>
4062 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4063 the nss database lookup.
4064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4067 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4069 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4071 2013-09-28 P. J. McDermott <pj@pehjota.net>
4073 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4074 ${Bash-specific parameter/pattern/string} parameter expansion.
4075 * sysdeps/unix/make-syscalls.sh: Likewise.
4077 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4079 * sysdeps/sh/stackguard-macros.h: New file.
4081 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4085 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4086 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4087 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4088 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4090 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4092 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4093 Fix thread ID register.
4095 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4097 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4098 [POSIX || UNIX98]: Require rather than permitting all symbols from
4100 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4101 element of struct sched_param.
4102 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4103 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4104 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4105 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4108 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4110 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4111 argument calculation.
4113 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4115 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4117 [POSIX] (pthread_attr_t): Do not require type.
4118 [POSIX] (pthread_cond_t): Likewise.
4119 [POSIX] (pthread_condattr_t): Likewise.
4120 [POSIX] (pthread_key_t): Likewise.
4121 [POSIX] (pthread_mutex_t): Likewise.
4122 [POSIX] (pthread_mutexattr_t): Likewise.
4123 [POSIX] (pthread_once_t): Likewise.
4124 [POSIX] (pthread_t): Likewise.
4125 [POSIX-based standards] (pthread_atfork): Expect function.
4127 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4128 Richard Sandiford <richard@codesourcery.com>
4130 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4131 (swap_endianness_p): New extern variable.
4132 (set_big_endian): New inline function.
4133 (maybe_swap_uint32): Likewise.
4134 (maybe_swap_uint32_array): Likewise.
4135 (maybe_swap_uint32_obstack): Likewise.
4136 * locale/programs/locfile.c: Include <stdbool.h>.
4137 (swap_endianness_p): New variable.
4138 (add_locale_uint32): Call maybe_swap_uint32.
4139 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4140 (write_locale_data): Call maybe_swap_uint32_array.
4141 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4143 (obstack_int32_grow_fast): Likewise.
4144 (output_weightwc): Call maybe_swap_uint32_obstack.
4145 (collate_output): Likewise.
4146 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4147 (OPT_LITTLE_ENDIAN): Likewise.
4148 (options): Add --little-endian and --big-endian options.
4149 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4150 * locale/programs/locarchive.c: Include "locfile.h".
4154 (create_archive): Use the new macros to access fields of
4155 structures directly mapped from or written to locale archives.
4156 (oldlocrecentcmp): Likewise.
4157 (enlarge_archive): Likewise.
4158 (insert_name): Likewise.
4159 (add_alias): Likewise.
4160 (add_locale): Likewise.
4161 (delete_locales_from_archive): Likewise.
4162 (show_archive_content): Likewise.
4163 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4166 2013-09-24 Roland McGrath <roland@hack.frob.com>
4168 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4169 http://www.gnu.org/doc/freemanuals.texi.
4170 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4172 2013-09-24 Will Newton <will.newton@linaro.org>
4174 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4177 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4179 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4182 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4184 * manual/threads.texi (POSIX Threads): Fix a typo.
4186 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4189 * string/tst-strcoll-overflow.c: New test case.
4190 * string/Makefile (xtests): Add tst-strcoll-overflow.
4191 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4192 cache if string sizes may cause integer overflow.
4195 * string/strcoll_l.c (coll_seq): New members rule, idx,
4196 save_idx and back_us.
4197 (get_next_seq_nocache): New function.
4198 (do_compare_nocache): New function.
4199 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4202 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4205 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4206 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4207 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4210 * elf/Makefile (tests): Add tst-ptrguard1.
4211 (tests-static): Add tst-ptrguard1-static.
4212 (tst-ptrguard1-ARGS): Define.
4213 (tst-ptrguard1-static-ARGS): Define.
4214 * elf/tst-ptrguard1.c: New file.
4215 * elf/tst-ptrguard1-static.c: New file.
4216 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4217 * sysdeps/i386/stackguard-macros.h: Likewise.
4218 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4219 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4220 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4221 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4222 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4223 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4225 2013-09-23 Hector Marco <hecmargi@upv.es>
4226 Ismael Ripoll <iripoll@disca.upv.es>
4227 Carlos O'Donell <carlos@redhat.com>
4230 * sysdeps/generic/stackguard-macros.h: Define
4231 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4232 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4233 Define __pointer_chk_guard_local.
4234 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4235 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4237 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4240 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4242 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4244 * include/string.h (__ffs): Declare as hidden.
4245 * string/ffs.c (__ffs): Define as hidden.
4246 * sysdeps/i386/ffs.c (__ffs): Likewise.
4247 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4248 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4249 * sysdeps/s390/ffs.c (__ffs): Likewise.
4250 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4252 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4254 * NEWS: Mention malloc probes.
4256 * malloc/arena.c (new_heap): New memory_heap_new probe.
4257 (grow_heap): New memory_heap_more probe.
4258 (shrink_heap): New memory_heap_less probe.
4259 (heap_trim): New memory_heap_free probe.
4260 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4261 (systrim): New memory_sbrk_less probe.
4262 * manual/probes.texi: Document them.
4264 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4265 * manual/probes.texi: Document it.
4267 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4268 (__libc_realloc): Add memory_realloc_retry probe.
4269 (__libc_memalign): Add memory_memalign_retry probe.
4270 (__libc_valloc): Add memory_valloc_retry probe.
4271 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4272 (__libc_calloc): Add memory_calloc_retry probe.
4273 * manual/probes.texi: Document them.
4275 * malloc/arena.c (get_free_list): Add probe
4276 memory_arena_reuse_free_list.
4277 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4278 and memory_arena_reuse.
4279 (arena_get2) [!PER_THREAD]: Likewise.
4280 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4281 memory_arena_reuse_realloc.
4282 * manual/probes.texi: Document them.
4284 * malloc/malloc.c (__libc_free): Add
4285 memory_mallopt_free_dyn_thresholds probe.
4286 (__libc_mallopt): Add multiple memory_mallopt probes.
4287 * manual/probes.texi: Document them.
4289 * malloc/malloc.c: Include stap-probe.h.
4290 (__libc_mallopt): Add memory_mallopt probe.
4291 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4292 * manual/probes.texi: New.
4293 * manual/Makefile (chapters): Add probes.
4294 * manual/threads.texi: Set next node.
4296 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4299 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4300 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4301 Add `Chinese' to `nan' entry name.
4303 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4305 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4306 (POLYNOMIAL): Likewise.
4307 (TAYLOR_SINCOS): Likewise.
4308 (TAYLOR_SLOW): Likewise.
4309 (__sin): Use TAYLOR_SINCOS.
4311 (slow): Use TAYLOR_SLOW.
4316 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4318 * stdlib/strtod_l.c: Fix buffer overrun.
4320 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4322 * benchtests/Makefile (bench): Add sincos.
4323 * benchtests/bench-sincos.c: New file.
4325 * math/libm-test.inc (cos_test_data): New test inputs.
4326 (sin_test_data): Likewise.
4328 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4336 (bsloww1): Likewise.
4337 (bsloww2): Likewise.
4339 (csloww1): Likewise.
4340 (csloww2): Likewise.
4342 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4351 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4353 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4354 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4355 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4356 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4357 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4358 * elf/cache.c (print_entry): Handle the new cache flags.
4360 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4361 Aldy Hernandez <aldyh@redhat.com>
4363 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4364 Change condition to [_SOFT_FLOAT].
4365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4377 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4380 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4383 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4386 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4387 (__longjmp): Use LOAD_GP to load saved GPRs.
4388 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4389 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4390 (__sigsetjmp): Use SAVE_GP to save GPRs.
4392 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4393 Do not append -msoft-float.
4394 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4396 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4398 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4400 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4403 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4404 (_FPU_GETCW): Use initial "__" on variable and field names but not
4405 on macro parameter name.
4406 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4407 parentheses around reference to macro parameter.
4409 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4411 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4413 (ctype_startup): Use uint32_t in cast and sizeof for
4416 2013-09-11 Jia Liu <proljc@gmail.com>
4418 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4420 [__FreeBSD__]: Likewise.
4422 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4425 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4426 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4427 (strchr): Remove __strchr_sse42 ifunc selection.
4428 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4429 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4431 2013-09-11 Will Newton <will.newton@linaro.org>
4433 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4434 parameter to RES. Remove hardcoded 1000 value.
4435 * benchtests/bench-skeleton.c (main): Pass RES parameter
4436 to TIMING_INIT and multiply result by 1000.
4438 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4442 2013-09-11 Andreas Schwab <schwab@suse.de>
4444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4446 (O_TMPFILE) [__USE_GNU]: Define.
4447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4450 2013-09-11 Will Newton <will.newton@linaro.org>
4453 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4456 2013-09-11 Will Newton <will.newton@linaro.org>
4459 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4462 2013-09-11 Will Newton <will.newton@linaro.org>
4465 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4468 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4470 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4476 2013-09-10 Allan McRae <allan@archlinux.org>
4479 * manual/arith.texi (Parsing of Floats): Clarify
4483 * manual/install.texi (Running make install): Mention
4485 * INSTALL: Regenerated.
4487 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4489 * csu/init-first.c (_init): Remove the !SHARED condition around
4490 FPU control word initialization.
4491 * elf/dl-support.c (_dl_fpu_control): New variable.
4492 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4493 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4494 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4495 * math/test-fpucw-static.c: New file.
4496 * math/test-fpucw-ieee.c: New file.
4497 * math/test-fpucw-ieee-static.c: New file.
4498 * math/Makefile (tests): Add `test-fpucw-ieee' and
4500 (tests-static): New variable.
4501 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4503 [($(build-shared),yes)]
4504 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4506 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4509 2013-09-09 Allan McRae <allan@archlinux.org>
4512 * manual/string.texi (Collation Functions): Fix typo in
4514 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4517 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4520 * libio/memstream.c (open_memstream): Fix memory leak.
4521 * libio/wmemstream.c (open_wmemstream): Likewise.
4524 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4526 2013-09-09 Will Newton <will.newton@linaro.org>
4528 * malloc/Makefile: Add tst-realloc to tests.
4529 * malloc/tst-realloc.c: New file.
4531 2013-09-09 Allan McRae <allan@archlinux.org>
4534 * COPYING: Update from GNU website to fix FSF address.
4535 * COPYING.LIB: Likewise.
4537 2013-09-06 David S. Miller <davem@davemloft.net>
4539 * po/zh_TW.po: Update Chinese (traditional) translation from
4540 translation project.
4542 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4543 Joseph Myers <joseph@codesourcery.com>
4545 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4547 (obstack_chunk_alloc): New macro.
4548 (obstack_chunk_free): Likewise.
4549 (record_offset): New function.
4550 (init_locale_data): Likewise.
4551 (align_locale_data): Likewise.
4552 (add_locale_empty): Likewise.
4553 (add_locale_raw_data): Likewise.
4554 (add_locale_raw_obstack): Likewise.
4555 (add_locale_string): Likewise.
4556 (add_locale_wstring): Likewise.
4557 (add_locale_uint32): Likewise.
4558 (add_locale_uint32_array): Likewise.
4559 (add_locale_char): Likewise.
4560 (start_locale_structure): Likewise.
4561 (end_locale_structure): Likewise.
4562 (start_locale_prelude): Likewise.
4563 (end_locale_prelude): Likewise.
4564 (write_locale_data): Take locale_file structure rather than an
4566 * locale/programs/locfile.h: Include "obstack.h".
4567 (struct locale_file): Change to store locale file contents instead
4569 (init_locale_data): New prototype.
4570 (align_locale_data): Likewise.
4571 (add_locale_empty): Likewise.
4572 (add_locale_raw_data): Likewise.
4573 (add_locale_raw_obstack): Likewise.
4574 (add_locale_string): Likewise.
4575 (add_locale_wstring): Likewise.
4576 (add_locale_uint32): Likewise.
4577 (add_locale_uint32_array): Likewise.
4578 (add_locale_char): Likewise.
4579 (start_locale_structure): Likewise.
4580 (end_locale_structure): Likewise.
4581 (start_locale_prelude): Likewise.
4582 (end_locale_prelude): Likewise.
4583 (write_locale_data): Update prototype.
4584 * locale/programs/3level.h (struct TABLE): Remove result field.
4585 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4586 Use new locale_file interface.
4587 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4588 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4589 * locale/programs/ld-address.c (address_output): Use new
4590 locale_file interface.
4591 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4593 (collate_finish): Don't call collseq_table_finalize.
4594 (collate_output): Use new locale_file interface.
4595 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4597 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4598 (TABLE): Move defines earlier in file.
4599 (ELEMENT): Likewise.
4600 (DEFAULT): Likewise.
4601 (wctrans_table_add): Move macro and inline function earlier in
4603 (struct wctype_table): Move type earlier in file.
4604 (add_locale_wctype_table): New static prototype.
4605 (struct locale_ctype_t): Use logical types instead of struct iovec
4606 pointers for members.
4607 (ctype_output): Use new locale_file interface.
4608 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4609 new locale_file interface.
4610 (allocate_arrays): Update for use of new locale_file interface.
4611 * locale/programs/ld-identification.c (identification_output): Use
4612 new locale_file interface.
4613 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4614 * locale/programs/ld-messages.c (messages_output): Likewise.
4615 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4616 * locale/programs/ld-name.c (name_output): Likewise.
4617 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4618 * locale/programs/ld-paper.c (paper_output): Likewise.
4619 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4620 * locale/programs/ld-time.c (time_output): Likewise.
4622 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4624 * benchtests/Makefile: Add memrchr benchmark.
4625 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4626 benchmark as memrchr.
4627 * benchtests/bench-memrchr-ifunc.c: New file.
4628 * benchtests/bench-memrchr.c: New file.
4630 2013-09-06 Will Newton <will.newton@linaro.org>
4632 * benchtests/Makefile (string-bench): Add memcpy.
4634 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4635 Cong Wang <amwang@redhat.com>
4637 * sysdeps/unix/sysv/linux/bits/in.h
4638 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4639 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4640 before __USE_KERNEL_IPV6_DEFS uses.
4641 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4643 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4644 sockaddr_in6, or ipv6_mreq.
4646 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4648 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4649 memory access for final bytes in some large inputs.
4650 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4652 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4654 * string/test-memrchr.c: New file.
4655 * string/test-memrchr-ifunc.c: New file.
4656 * string/Makefile: Add new memrchr testcase.
4658 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4660 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4661 fanotify_init returns EPERM.
4663 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4665 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4667 (top level): Treat second token from macro or constant entries for
4668 allowed headers as allowed.
4669 * include/complex.h: Condition internal declarations on
4671 * include/fenv.h: Condition include of <stdbool.h> and internal
4672 declarations on [!_ISOMAC].
4674 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4677 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4679 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4681 * configure.in (--enable-versioning): Remove configure option.
4682 (libc_cv_asm_symver_directive): Remove configure test.
4683 (libc_cv_ld_version_script_option): Likewise.
4684 (VERSIONING): Remove variable and AC_SUBST.
4685 (DO_VERSIONING): Remove AC_DEFINE.
4686 * configure: Regenerated.
4687 * config.h.in (DO_VERSIONING): Remove macro.
4688 * Makerules [$(versioning) = yes]: Change conditionals to
4689 [$(build-shared) = yes].
4690 * config.make.in (versioning): Remove variable.
4691 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4692 [$(build-shared) = yes].
4693 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4694 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4695 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4696 [$(build-shared) = yes].
4697 * extra-lib.mk [$(versioning) = yes]: Likewise.
4698 * hurd/Makefile [$(versioning) = yes]: Likewise.
4699 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4701 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4703 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4704 [SHARED && !NO_HIDDEN].
4705 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4707 [SHARED && DO_VERSIONING]: Likewise..
4708 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4709 [$(build-shared) = yes].
4710 * manual/install.texi (--disable-versioning): Remove
4712 * INSTALL: Regenerated.
4713 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4715 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4716 [$(build-shared) = yes].
4717 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4718 * sysdeps/i386/i686/multiarch/strstr-c.c
4719 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4720 [SHARED && !NO_HIDDEN].
4721 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4722 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4723 * sysdeps/powerpc/powerpc32/dl-machine.c
4724 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4725 * sysdeps/powerpc/powerpc32/sysdep.h
4726 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4727 to [SHARED && PIC && !NO_HIDDEN].
4728 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4729 conditional to [SHARED].
4731 2013-09-04 Will Newton <will.newton@linaro.org>
4733 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4734 * benchtests/bench-string.h: Include bench-timing.h instead
4735 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4736 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4737 call to HP_TIMING_DIFF_INIT.
4738 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4739 instead of hp-timing.h macros.
4740 * benchtests/bench-memchr.c: Likewise.
4741 * benchtests/bench-memcmp.c: Likewise.
4742 * benchtests/bench-memcpy.c: Likewise.
4743 * benchtests/bench-memmem.c: Likewise.
4744 * benchtests/bench-memmove.c: Likewise.
4745 * benchtests/bench-memset.c: Likewise.
4746 * benchtests/bench-rawmemchr.c: Likewise.
4747 * benchtests/bench-strcasecmp.c: Likewise.
4748 * benchtests/bench-strcasestr.c: Likewise.
4749 * benchtests/bench-strcat.c: Likewise.
4750 * benchtests/bench-strchr.c: Likewise.
4751 * benchtests/bench-strcmp.c: Likewise.
4752 * benchtests/bench-strcpy.c: Likewise.
4753 * benchtests/bench-strcpy_chk.c: Likewise.
4754 * benchtests/bench-strlen.c: Likewise.
4755 * benchtests/bench-strncasecmp.c: Likewise.
4756 * benchtests/bench-strncat.c: Likewise.
4757 * benchtests/bench-strncmp.c: Likewise.
4758 * benchtests/bench-strncpy.c: Likewise.
4759 * benchtests/bench-strnlen.c: Likewise.
4760 * benchtests/bench-strpbrk.c: Likewise.
4761 * benchtests/bench-strrchr.c: Likewise.
4762 * benchtests/bench-strspn.c: Likewise.
4763 * benchtests/bench-strstr.c: Likewise.
4765 2013-09-04 Will Newton <will.newton@linaro.org>
4767 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4769 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4772 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4773 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4774 * math/libm-test.inc (lgamma_test_data): Add more tests.
4775 * sysdeps/i386/fpu/libm-test-ulps: Update.
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4778 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4780 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4784 Add strcmp-sse2-unaligned
4785 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4787 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4789 * Versions.def (libc): Add GLIBC_2.19.
4791 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4793 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4794 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4796 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4799 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4800 intermediate calculations in recurrence.
4801 (__ieee754_ynf): Likewise.
4802 * math/libm-test.inc (jn_test_data): Do not allow spurious
4803 underflow exception. Add more tests.
4804 (yn_test_data): Add more tests.
4805 * sysdeps/i386/fpu/libm-test-ulps: Update.
4806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4808 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4812 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4814 * csu/init-first.c: Fix then/than typos.
4815 * locale/programs/ld-collate.c: Likewise.
4816 * locale/programs/linereader.h: Likewise.
4817 * manual/charset.texi: Likewise.
4818 * manual/filesys.texi: Likewise.
4819 * manual/stdio.texi: Likewise.
4820 * manual/string.texi: Likewise.
4821 * stdlib/fmtmsg.c: Likewise.
4822 * sysdeps/i386/stpncpy.S: Likewise.
4823 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4824 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4825 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4826 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4828 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4830 * elf/dl-open.c: Fix typos.
4831 * iconvdata/gbbig5.c: Likewise.
4832 * iconvdata/iso-2022-jp.c: Likewise.
4833 * iconv/gconv_int.h: Likewise.
4834 * iconv/loop.c: Likewise.
4835 * nis/rpcsvc/nis.h: Likewise.
4836 * resolv/ns_name.c: Likewise.
4837 * stdio-common/vfscanf.c: Likewise.
4838 * streams/stropts.h: Likewise.
4839 * sunrpc/rpc_thread.c: Likewise.
4840 * sysdeps/i386/strpbrk.S: Likewise.
4841 * sysdeps/ieee754/k_standard.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4844 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4845 * sysdeps/mach/hurd/profil.c: Likewise.
4846 * sysdeps/s390/dl-procinfo.h: Likewise.
4847 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4848 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4850 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4851 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4853 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4855 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4858 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4860 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4865 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4866 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4867 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4868 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4869 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4871 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4872 Roland McGrath <roland@hack.frob.com>
4874 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4875 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4877 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4879 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4880 __executable_start symbol instead of _start.
4882 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4884 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4885 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4887 * sysdeps/gnu/ldsodefs.h: ... this new file.
4889 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4890 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4891 instead of ELFOSABI_LINUX.
4893 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4894 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4895 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4896 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4898 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4899 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4902 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4903 (ibm_extended_long_double): Add ieee_nan member.
4904 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4905 (do_test): New function.
4907 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4909 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4910 functions, renamed from truncdfsf_test, trunctfsf_test,
4912 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4914 (do_test): Run all these.
4916 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4918 * argp/argp-help.c: Fix typos.
4919 * argp/argp-parse.c: Likewise.
4920 * debug/backtracesyms.c: Likewise.
4921 * elf/elf.h: Likewise.
4922 * malloc/malloc.c: Likewise.
4923 * nis/nis_print.c: Likewise.
4924 * resolv/res_comp.c: Likewise.
4925 * stdlib/stdlib.h: Likewise.
4926 * sunrpc/clnt_tcp.c: Likewise.
4927 * sunrpc/clnt_udp.c: Likewise.
4928 * sunrpc/clnt_unix.c: Likewise.
4929 * sysdeps/unix/bsd/ptsname.c: Likewise.
4930 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4938 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4940 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4942 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4945 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4948 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4949 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4950 ($(objpfx)bug-dl-leaf): New rule.
4951 ($(objpfx)bug-dl-leaf.so): Likewise.
4952 ($(objpfx)bug-dl-leaf.out): Likewise.
4953 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4954 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4955 * dlfcn/bug-dl-leaf.c: New test.
4956 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4957 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4958 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4959 (dlclose): Likewise.
4960 (dlmopen): Likewise.
4962 2013-08-27 Roland McGrath <roland@hack.frob.com>
4964 * include/netdb.h [!_ISOMAC]:
4965 Don't include <tls.h>.
4966 (h_errno, __libc_h_errno): Move declaration and macros out of
4969 * include/resolv.h [_RESOLV_H_]:
4970 Don't include <tls.h>.
4971 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4972 * resolv/res_libc.c: Don't include <tls.h>.
4973 (_res): Use __attribute__ ((nocommon)) in place of
4974 __attribute__ ((section (".bss"))).
4976 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4977 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4979 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4981 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4982 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4984 * resolv/res_mkquery.c: Include <sys/time.h>.
4986 * inet/ifreq.c: Moved to ...
4987 * sysdeps/unix/ifreq.c: ... here.
4988 * inet/ifreq.c: New file, true stub version.
4990 * socket/sa_len.c: New file.
4991 * socket/Makefile (aux): Add it.
4992 * sysdeps/unix/sysv/linux/Makefile
4993 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4994 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4995 and #include <socket/sa_len.c>.
4996 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4997 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4999 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5000 * bits/socket.h: ... here.
5002 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5003 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5004 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5006 2013-08-27 Andreas Schwab <schwab@suse.de>
5009 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5010 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5011 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5012 * string/test-strcasecmp.c (test_main): Run tests in several
5014 * string/test-strncasecmp.c (test_main): Likewise.
5016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5017 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5018 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5020 (__strncasecmp_ssse3) [PIC]: Likewise.
5022 2013-08-26 Roland McGrath <roland@hack.frob.com>
5024 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5026 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5027 instead of explicitly declaring xdecrypt.
5028 * nis/nss_nis/nis-publickey.c: Likewise.
5030 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5033 * nscd/aicache.c: Include res_hconf.h.
5034 (addhstaiX): Initialize res_hconf.
5036 2013-08-26 Andreas Schwab <schwab@suse.de>
5038 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5039 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5041 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5043 * nscd/aicache.c (addhstaiX): Fix indentation.
5045 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5047 * configure.ac: Quote $build_pt_chown test.
5048 * configure: Regenerated.
5050 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5053 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5054 * math/s_cexpf.c (__cexpf): Likewise.
5055 * math/s_cexpl.c (__cexpl): Likewise.
5056 * math/libm-test.inc (cexp_test_data): Correct expected return
5057 value for NaN + i0. Add another test.
5059 2013-08-22 David S. Miller <davem@davemloft.net>
5061 * po/ca.po: Update Catalan translation from translation project.
5062 * po/uk.po: Add Ukrainian translations from translation project.
5064 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5067 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5068 is infinite, not alongside NaN test.
5069 * math/s_fdimf.c (__fdimf): Likewise.
5070 * math/s_fdiml.c (__fdiml): Likewise.
5071 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5074 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5076 * argp/argp-help.c: Fix typos.
5077 * crypt/speeds.c: Likewise.
5078 * csu/check_fds.c: Likewise.
5079 * elf/dl-load.c: Likewise.
5080 * elf/dl-open.c: Likewise.
5081 * elf/reldep3.c: Likewise.
5082 * elf/reldep.c: Likewise.
5083 * elf/sprof.c: Likewise.
5084 * iconv/iconv_charmap.c: Likewise.
5085 * iconv/skeleton.c: Likewise.
5086 * iconv/strtab.c: Likewise.
5087 * io/lockf64.c: Likewise.
5088 * libio/libioP.h: Likewise.
5089 * resolv/gai_notify.c: Likewise.
5090 * resolv/ns_name.c: Likewise.
5091 * resolv/ns_samedomain.c: Likewise.
5092 * resolv/res_send.c: Likewise.
5093 * stdlib/random.c: Likewise.
5094 * sunrpc/rpc/xdr.h: Likewise.
5095 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5096 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5097 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5098 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5102 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5103 * sysdeps/mach/hurd/check_fds.c: Likewise.
5104 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5105 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5108 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5110 * sysdeps/pthread/aio_notify.c: Likewise.
5111 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5112 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5113 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5115 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5117 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5119 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5120 version if bit_Slow_SSE4_2 is set.
5121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5124 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5128 trampoline stack frame information.
5129 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5131 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5132 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5133 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5134 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5135 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5136 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5138 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5139 interrupting a syscall and set with option SA_SIGINFO.
5141 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5144 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5145 argument is infinite.
5146 * math/s_cprojf.c (__cprojf): Likewise.
5147 * math/s_cprojl.c (__cprojl): Likewise.
5148 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5149 * math/libm-test.inc (cproj_test_data): Add more tests.
5151 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5153 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5154 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5155 size. Use __ffs to determine corresponding shift.
5157 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5158 Roland McGrath <roland@hack.frob.com>
5160 * Makefile (INSTALL): Remove trailing blank lines from output of
5163 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5165 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5166 Align 32 bit compat elf_greg to 8 bytes.
5168 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5170 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5172 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5174 * string/strcoll_l.c (coll_seq): New structure.
5175 (get_next_seq_cached): New function.
5176 (get_next_seq): New function.
5177 (do_compare): New function.
5178 (STRCOLL): Use GNU style definition. Simplify implementation
5179 by using get_next_seq, get_next_seq_cached and do_compare.
5181 2013-08-16 Florian Weimer <fweimer@redhat.com>
5185 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5187 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5189 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5190 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5191 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5193 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5194 GETDENTS_64BIT_ALIGNED.
5195 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5196 * manual/filesys.texi (Reading/Closing Directory): Document
5197 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5199 * manual/conf.texi (Limits for Files): Add portability note to
5201 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5203 2013-08-13 Andreas Schwab <schwab@suse.de>
5206 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5208 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5209 LDBL_MAX_EXP >= 16384]: Add tests for it.
5211 2013-08-12 David S. Miller <davem@davemloft.net>
5213 * version.h (RELEASE): Set to "development".
5214 (VERSION): Set to "2.18.90".
5215 * NEWS: Add 2.19 section.
5217 2013-08-03 David S. Miller <davem@davemloft.net>
5219 * po/ko.po: Update Korean translation from translation project.
5221 2013-08-01 David S. Miller <davem@davemloft.net>
5223 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5224 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5227 2013-07-30 David S. Miller <davem@davemloft.net>
5229 * po/fr.po: Update French translation from translation project.
5231 2013-07-28 David S. Miller <davem@davemloft.net>
5233 * po/cs.po: Update Czech translation from translation project.
5235 * po/sv.po: Update Swedish translation from translation project.
5237 2013-07-27 David S. Miller <davem@davemloft.net>
5239 * po/eo.po: Update Esperanto translation from translation project.
5241 * po/vi.po: Update Vietnamese translation from translation project.
5243 * po/de.po: Update German translation from translation project.
5245 2013-07-26 David S. Miller <davem@davemloft.net>
5247 * po/bg.po: Update Bulgarian translation from translation project.
5249 * po/nl.po: Update Dutch translation from translation project.
5250 * po/pl.po: Update Polish translation from translation project.
5251 * po/ru.po: Update Russian translation from translation project.
5253 2013-07-24 David S. Miller <davem@davemloft.net>
5255 * po/libc.pot: Update.
5257 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5259 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5261 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5263 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5265 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5267 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5269 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5270 Andreas Schwab <schwab@suse.de>
5271 Roland McGrath <roland@hack.frob.com>
5272 Joseph Myers <joseph@codesourcery.com>
5273 Carlos O'Donell <carlos@redhat.com>
5276 * config.h.in: Define HAVE_PT_CHOWN.
5277 * config.make.in (build-pt-chown): New variable.
5278 * configure.in (--enable-pt_chown): New configure option.
5279 * configure: Regenerate.
5280 * login/Makefile: Include Makeconfig. Build pt_chown only if
5281 build-pt-chown is enabled.
5282 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5283 pt_chown to fix pty ownership.
5284 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5286 * manual/install.texi (Configuring and compiling): Mention
5287 --enable-pt_chown. Add @findex for grantpt.
5288 * INSTALL: Regenerate.
5290 2013-07-20 David S. Miller <davem@davemloft.net>
5292 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5293 difference between 32-bit and 64-bit.
5295 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5298 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5299 Avoid system header dependency with -ffreestanding.
5300 ($(objpfx)bits/syscall%d): Likewise.
5302 2013-07-13 David S. Miller <davem@davemloft.net>
5304 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5305 underflows from atanl/atan2l due to bug 15319.
5306 (casinh_test_data): Likewise.
5308 2013-07-07 David S. Miller <davem@davemloft.net>
5310 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5312 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5314 * sysdeps/i386/fpu/libm-test-ulps: Update.
5315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5317 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5319 * configure.in (--enable-lock-elision): Fix message text.
5320 * INSTALL: Regenerate.
5321 * configure: Regenerate.
5323 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5327 2013-07-03 Andreas Jaeger <aj@suse.de>
5329 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5331 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5332 (ptrace_peeksiginfo_args): Add.
5333 (__ptrace_peeksiginfo_flags): Add.
5334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5338 2013-07-03 Allan McRae <allan@archlinux.org>
5340 * sysdeps/i386/fpu/libm-test-ulps: Update.
5342 2013-07-02 David S. Miller <davem@davemloft.net>
5344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5346 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5350 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5352 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5355 2013-07-02 Andi Kleen <ak@linux.intel.com>
5357 * config.h.in (ENABLE_LOCK_ELISION): Add.
5358 * configure.in (--enable-lock-elision): Add option.
5359 * manual/install.texi: Document --enable lock elision.
5360 * configure: Regenerate
5361 * INSTALL: Regenerate.
5363 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5365 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5366 SSE4.2 strcasecmp for libc.a.
5367 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5369 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5372 * soft-fp/op-common.h (_FP_FMA): New macro.
5373 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5374 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5375 (_FP_MUL_MEAT_1_imm): ... here.
5376 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5377 (_FP_MUL_MEAT_1_wide): ... here.
5378 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5379 (_FP_MUL_MEAT_1_hard): ... here.
5380 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5381 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5382 (_FP_MUL_MEAT_2_wide): ... here.
5383 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5384 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5385 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5386 (_FP_MUL_MEAT_2_gmp): ... here.
5387 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5388 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5389 (_FP_MUL_MEAT_4_wide): ... here.
5390 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5391 (_FP_MUL_MEAT_4_gmp): ... here.
5392 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5393 (_FP_WFRACBITS_DW_S): Likewise.
5394 (_FP_WFRACXBITS_DW_S): Likewise.
5395 (_FP_HIGHBIT_DW_S): Likewise.
5396 (FP_FMA_S): Likewise.
5397 (_FP_FRAC_HIGH_DW_S): Likewise.
5398 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5399 (_FP_WFRACBITS_DW_D): Likewise.
5400 (_FP_WFRACXBITS_DW_D): Likewise.
5401 (_FP_HIGHBIT_DW_D): Likewise.
5402 (FP_FMA_D): Likewise.
5403 (_FP_FRAC_HIGH_DW_D): Likewise.
5404 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5405 (_FP_WFRACBITS_DW_E): Likewise.
5406 (_FP_WFRACXBITS_DW_E): Likewise.
5407 (_FP_HIGHBIT_DW_E): Likewise.
5408 (FP_FMA_E): Likewise.
5409 (_FP_FRAC_HIGH_DW_E): Likewise.
5410 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5411 (_FP_WFRACBITS_DW_Q): Likewise.
5412 (_FP_WFRACXBITS_DW_Q): Likewise.
5413 (_FP_HIGHBIT_DW_Q): Likewise.
5414 (FP_FMA_Q): Likewise.
5415 (_FP_FRAC_HIGH_DW_Q): Likewise.
5416 * soft-fp/fmasf4.c: New file.
5417 * soft-fp/fmadf4.c: Likewise.
5418 * soft-fp/fmatf4.c: Likewise.
5420 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5423 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5425 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5427 (index_Slow_SSE4_2): Likewise.
5428 (index_Prefer_PMINUB_for_stringop): Likewise.
5429 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5430 bit_Slow_SSE4_2 is set.
5431 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5432 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5434 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5436 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5437 rtld_global._dl_hwcap2.
5438 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5440 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5441 POWER8 feature descriptions defined in _dl_hwcap2.
5442 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5443 string handling for POWER8 feature bits.
5444 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5445 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5446 _dl_powerpc_cap_flags.
5447 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5448 * sysdeps/powerpc/rtld-global-offsets.sym
5449 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5450 _dl_hwcap2 in the rtld_global_ro structure.
5452 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5454 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5455 hardware capabilities in support of AT_HWCAP2.
5456 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5457 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5459 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5460 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5461 explicitly the unknown a_type display mechanism is used.
5462 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5463 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5465 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5466 to macro prototype for AT_HWCAP2 support.
5467 * sysdeps/i386/dl-procinfo.h: Likewise.
5468 * sysdeps/s390/dl-procinfo.h: Likewise.
5469 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5470 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5471 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5472 return -1 for unknown a_type display fallback.
5473 * sysdeps/sparc/dl-procinfo.h: Likewise.
5474 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5475 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5477 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5480 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5482 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5485 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5486 mprotect making __stack_prot writable.
5488 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5489 Joseph Myers <joseph@codesourcery.com>
5491 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5492 as being properly aligned.
5494 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5496 * dlfcn/modstatic5.c: New file.
5497 * dlfcn/tststatic5.c: New file.
5498 * dlfcn/Makefile (tests): Add tststatic5.
5499 (tests-static): Likewise.
5500 (modules-names): Add modstatic5.
5501 (tststatic5-ENV): New variable.
5502 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5505 * elf/dl-support.c (_dl_main_map): New variable.
5506 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5507 (_dl_nns, _dl_load_adds): Set to 1.
5508 (_dl_initial_searchlist): Refer to _dl_main_map.
5509 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5510 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5511 call to _dl_get_origin.
5512 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5514 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5515 * dlfcn/modstatic3.c: New file.
5516 * dlfcn/tststatic3.c: New file.
5517 * dlfcn/tststatic4.c: New file.
5518 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5519 (tests-static): Likewise.
5520 (modules-names): Add modstatic3.
5521 (tststatic3-ENV, tststatic4-ENV): New variables.
5522 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5523 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5525 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5527 * configure.in (CC): Require GCC version 4.4 or later.
5528 * configure: Regenerated.
5529 * manual/install.texi (Tools for Compilation): Update GCC version
5531 * INSTALL: Regenerated.
5533 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5536 * string/test-memcmp.c (check2): New.
5537 (main): Call check2.
5539 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5541 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5544 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5546 (dl_open_worker) [!SHARED]: ... here.
5548 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5550 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5552 2013-06-25 Richard Henderson <rth@redhat.com>
5554 * locale/programs/locarchive.c: Include <libc-internal.h>
5556 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5558 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5559 trailing whitespace removed.
5561 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5564 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5565 * locale/programs/locarchive.c: Include libc-mmap.h.
5566 (prepare_address_space): Take two new outputs (the mmap base and len).
5567 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5569 (create_archive): Declare new mmap base and len values for
5570 prepare_address_space, and store the result in ah.
5571 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5572 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5573 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5574 Declare new mmap base and len values for
5575 prepare_address_space, and store the result in new_ah.
5576 (open_archive): Declare new mmap base and len values for
5577 prepare_address_space, and store the result in ah.
5578 (close_archive): If ah->mmap_base is not NULL, use that and
5579 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5580 * sysdeps/generic/libc-mmap.h: New file.
5582 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5584 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5585 (ALIGN_UP): Likewise.
5586 (PTR_ALIGN_DOWN): Likewise.
5587 (PTR_ALIGN_UP): Likewise.
5589 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5591 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5592 entry mapped to PPC_PLATFORM_POWER8.
5593 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5595 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5596 (_dl_string_platform): Add case for exporting platform position for
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5599 search path to sysdeps/powerpc/powerpc32/power8 directory.
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5601 search path to sysdeps/powerpc/powerpc64/power8 directory.
5602 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5604 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5607 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 * INSTALL: Regenerate.
5611 * nscd/connections.c (nscd_init): Fix comment.
5613 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5615 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5618 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5619 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5621 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5623 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5625 (DL_DST_REQ_STATIC): Remove macro.
5627 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5630 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5631 with a shift of 0 bits.
5633 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5635 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5638 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5641 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5643 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5645 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5646 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5647 accepts -fno-tree-loop-distribute-patterns.
5648 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5649 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5651 * string/memset.c (memset): Likewise.
5652 * string/test-memmove.c (simple_memmove): Disable loop transformation
5654 * string/test-memset.c (simple_memset): Likewise.
5655 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5656 * benchtests/bench-memset.c (simple_memset): Likewise.
5657 * configure: Regenerated.
5659 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5661 * math/test-misc.c (main): Ignore fesetround failure when failures
5662 of subsequent rounding tests would be ignored.
5665 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5666 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5667 * math/fegetenv.c (__fegetenv): Return 0.
5668 * math/fegetexcept.c (fegetexcept): Return 0.
5669 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5671 * math/feholdexcpt.c (feholdexcept): Return 0.
5672 * math/fesetenv.c (__fesetenv): Return 0.
5673 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5674 argument FE_TONEAREST.
5675 * math/feupdateenv.c (__feupdateenv): Return 0.
5676 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5678 2013-06-18 Roland McGrath <roland@hack.frob.com>
5680 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5681 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5682 ($(objpfx)rtld-%.os rules): Use them.
5684 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5689 2013-06-17 Roland McGrath <roland@hack.frob.com>
5691 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5692 length of target pattern, then descending length of dependency pattern.
5693 * configure.in (AWK): Require gawk 3.1.2 or newer.
5694 * manual/install.texi (Tools for Compilation): Say that we do.
5695 * configure: Regenerated.
5697 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5698 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5699 * scripts/sysd-rules.awk: ... this new script.
5700 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5701 than a glob-style pattern.
5703 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5705 * math/test-misc.c (main): Do not treat incorrectly rounded
5706 conversions as failure unless ROUNDING_TESTS passes.
5708 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5711 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5712 restore exception state around main square root computation, then
5713 check for inexactness explicitly.
5715 * math/libm-test.inc (fma_test_data): Add another test.
5717 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5719 * manual/threads.texi (Non-POSIX Extensions): New document
5720 node. Document pthread_getattr_default_np and
5721 pthread_setattr_default_np.
5723 * Versions.def (libpthread): Add GLIBC_2.18.
5724 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5733 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5744 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5747 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5749 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5750 H.J. Lu <hjl.tools@gmail.com>
5753 * sysdeps/x86_64/rtld-memset.c: Remove file.
5754 * sysdeps/x86_64/rtld-memset.S: New file.
5756 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5758 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5759 (test_in_one_mode): Take arguments for whether the rounding mode
5760 is supported for each floating-point type.
5761 (do_test): Pass new arguments to test_in_one_mode using
5764 2013-06-13 Roland McGrath <roland@hack.frob.com>
5766 * posix/tst-waitid.c (do_test): Distinguish different instances of
5767 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5768 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5769 before entering the kernel for waitpid.
5771 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5773 * NEWS: Fix note on clock function precision. Text by Roland
5776 2013-06-13 Roland McGrath <roland@hack.frob.com>
5778 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5779 it into place only when and if the sanity check passes.
5781 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5783 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5784 output for whether conversion result is exact. Take argument
5785 indicating whether type is IBM long double.
5786 (round_for_all): Change need_exact field to ibm_ld.
5787 * stdlib/tst-strtod-round.c (struct exactness): New type.
5788 (struct test): Change bool ld_ok field to struct exactness exact.
5789 (TEST): Update all definitions for change to field.
5790 (tests): Regenerate array contents.
5791 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5792 field value. Check for IBM long double here.
5793 (do_test): Update calls to test_in_one_mode.
5795 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5798 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5799 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5801 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5804 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5805 generated by the compiler on loop optimizations.
5806 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5807 general definitions.
5809 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5811 * math/bug-nextafter.c: Include <math-tests.h>.
5812 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5814 * math/bug-nexttoward.c: Include <math-tests.h>.
5815 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5817 * math/test-misc.c: Include <math-tests.h>.
5818 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5821 2013-06-12 Andreas Jaeger <aj@suse.de>
5823 * po/ia.po: Update Interlingua translation from translation
5826 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5828 * include/fenv.h: Include stdbool.h.
5829 (struct rm_ctx): New structure.
5830 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5832 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5833 (SET_RESTORE_ROUNDF): Likewise.
5834 (SET_RESTORE_ROUNDL): Likewise.
5835 (SET_RESTORE_ROUND_NOEX): Likewise.
5836 (SET_RESTORE_ROUND_NOEXF): Likewise.
5837 (SET_RESTORE_ROUND_NOEXL): Likewise.
5838 (SET_RESTORE_ROUND_53BIT): Likewise.
5839 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5840 (libc_feresetround_noexf_ctx): Likewise.
5841 (libc_feresetround_noexl_ctx): Likewise.
5842 (libc_feholdsetround_53bit_ctx): Likewise.
5843 (libc_feresetround_53bit_ctx): Likewise.
5844 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5845 (libc_feholdexcept_setround_sse_ctx): New function.
5846 (libc_fesetenv_sse_ctx): Likewise.
5847 (libc_feupdateenv_sse_ctx): Likewise.
5848 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5849 (libc_feholdexcept_setround_387_ctx): Likewise.
5850 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5851 (libc_feholdsetround_387_prec_ctx): Likewise.
5852 (libc_feholdsetround_387_ctx): Likewise.
5853 (libc_feholdsetround_387_53bit_ctx): Likewise.
5854 (libc_feholdsetround_sse_ctx): Likewise.
5855 (libc_feresetround_sse_ctx): Likewise.
5856 (libc_feresetround_387_ctx): Likewise.
5857 (libc_feupdateenv_387_ctx): Likewise.
5858 (libc_feholdexcept_setroundf_ctx): Define macro.
5859 (libc_fesetenvf_ctx): Likewise.
5860 (libc_feupdateenvf_ctx): Likewise.
5861 (libc_feholdsetroundf_ctx): Likewise.
5862 (libc_feresetroundf_ctx): Likewise.
5863 (libc_feholdexcept_setround_ctx): Likewise.
5864 (libc_fesetenv_ctx): Likewise.
5865 (libc_feupdateenv_ctx): Likewise.
5866 (libc_feholdsetround_ctx): Likewise.
5867 (libc_feresetround_ctx): Likewise.
5868 (libc_feholdexcept_setroundl_ctx): Likewise.
5869 (libc_feupdateenvl_ctx): Likewise.
5870 (libc_feholdsetroundl_ctx): Likewise.
5871 (libc_feresetroundl_ctx): Likewise.
5872 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5873 (libc_feresetround_53bit_ctx): Likewise.
5875 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5877 * locale/iso-639.def: Convert to UTF-8.
5879 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5881 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5882 (EXCEPTION_TESTS_double): Likewise.
5883 (EXCEPTION_TESTS_long_double): Likewise.
5884 (EXCEPTION_TESTS): Likewise.
5885 * math/libm-test.inc (test_exceptions): Only test exceptions if
5886 EXCEPTION_TESTS (FLOAT).
5888 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5890 * benchtests/Makefile (string-bench): Add strcpy_chk and
5892 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5893 * benchtests/bench-stpcpy_chk.c: New file.
5894 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5895 * benchtests/bench-strcpy_chk.c: New file.
5896 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5898 (do_test): Likewise.
5900 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5902 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5903 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5904 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5905 with tabs where appropriate.
5906 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5908 [PPC_PLATFORM_PPC440]: Likewise.
5909 [PPC_PLATFORM_PPC464]: Likewise.
5910 [PPC_PLATFORM_PPC476]: Likewise.
5911 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5912 ppc464, and ppc476 platform strings merging from ports/
5915 2013-06-11 Andreas Schwab <schwab@suse.de>
5918 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5919 (from_ucs4_idx): Regenerate.
5920 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5921 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5922 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5923 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5924 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5925 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5926 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5927 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5928 from FROM_LOOP and TO_LOOP specific macros.
5929 (BODY): Handle combining characters.
5930 * iconvdata/BIG5HKSCS.irreversible: Update.
5931 * iconvdata/BIG5HKSCS.precomposed: New file.
5932 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5934 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5936 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5938 * include/sys/time.h: Fix indentation and add copyright header.
5940 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5941 (do_test): Likewise.
5942 * string/test-memchr.c (do_one_test): Likewise.
5943 (do_test): Likewise.
5944 * string/test-memcmp.c (do_one_test): Likewise.
5945 (do_test): Likewise.
5946 * string/test-memcpy.c (do_one_test): Likewise.
5947 (do_test): Likewise.
5948 * string/test-memmem.c (do_one_test): Likewise.
5949 (do_test): Likewise.
5950 (do_random_tests): Likewise.
5951 * string/test-memmove.c (do_one_test): Likewise.
5952 (do_test): Likewise.
5953 * string/test-memset.c (do_one_test): Likewise.
5954 (do_test): Likewise.
5955 * string/test-rawmemchr.c (do_one_test): Likewise.
5956 (do_test): Likewise.
5957 * string/test-strcasecmp.c (do_one_test): Likewise.
5958 (do_test): Likewise.
5959 * string/test-strcasestr.c (do_one_test): Likewise.
5960 (do_test): Likewise.
5961 * string/test-strcat.c (do_one_test): Likewise.
5962 (do_test): Likewise.
5963 * string/test-strchr.c (do_one_test): Likewise.
5964 (do_test): Likewise.
5965 * string/test-strcmp.c (do_one_test): Likewise.
5966 (do_test): Likewise.
5967 * string/test-strcpy.c (do_one_test): Likewise.
5968 (do_test): Likewise.
5969 * string/test-string.h: Likewise.
5970 (test_init): Likewise.
5971 * string/test-strlen.c (do_one_test): Likewise.
5972 (do_test): Likewise.
5973 * string/test-strncasecmp.c (do_one_test): Likewise.
5974 (do_test): Likewise.
5975 * string/test-strncat.c (do_one_test): Likewise.
5976 (do_test): Likewise.
5977 * string/test-strncmp.c (do_one_test): Likewise.
5978 (do_test_limit): Likewise.
5979 (do_test): Likewise.
5980 * string/test-strncpy.c (do_one_test): Likewise.
5981 (do_test): Likewise.
5982 * string/test-strnlen.c (do_one_test): Likewise.
5983 (do_test): Likewise.
5984 * string/test-strpbrk.c (do_one_test): Likewise.
5985 (do_test): Likewise.
5986 * string/test-strrchr.c (do_one_test): Likewise.
5987 (do_test): Likewise.
5988 * string/test-strspn.c (do_one_test): Likewise.
5989 (do_test): Likewise.
5990 * string/test-strstr.c (do_one_test): Likewise.
5991 (do_test): Likewise.
5993 * benchtests/Makefile (string-bench): Add string benchmarks.
5994 * benchtests/bench-bcopy-ifunc.c: New file.
5995 * benchtests/bench-bcopy.c: New file.
5996 * benchtests/bench-bzero-ifunc.c: New file.
5997 * benchtests/bench-bzero.c: New file.
5998 * benchtests/bench-memccpy-ifunc.c: New file.
5999 * benchtests/bench-memccpy.c: New file.
6000 * benchtests/bench-memchr-ifunc.c: New file.
6001 * benchtests/bench-memchr.c: New file.
6002 * benchtests/bench-memcmp-ifunc.c: New file.
6003 * benchtests/bench-memcmp.c: New file.
6004 * benchtests/bench-memmem-ifunc.c: New file.
6005 * benchtests/bench-memmem.c: New file.
6006 * benchtests/bench-memmove-ifunc.c: New file.
6007 * benchtests/bench-memmove.c: New file.
6008 * benchtests/bench-mempcpy-ifunc.c: New file.
6009 * benchtests/bench-mempcpy.c: New file.
6010 * benchtests/bench-memset-ifunc.c: New file.
6011 * benchtests/bench-memset.c: New file.
6012 * benchtests/bench-rawmemchr-ifunc.c: New file.
6013 * benchtests/bench-rawmemchr.c: New file.
6014 * benchtests/bench-stpcpy-ifunc.c: New file.
6015 * benchtests/bench-stpcpy.c: New file.
6016 * benchtests/bench-stpncpy-ifunc.c: New file.
6017 * benchtests/bench-stpncpy.c: New file.
6018 * benchtests/bench-strcasecmp-ifunc.c: New file.
6019 * benchtests/bench-strcasecmp.c: New file.
6020 * benchtests/bench-strcasestr-ifunc.c: New file.
6021 * benchtests/bench-strcasestr.c: New file.
6022 * benchtests/bench-strcat-ifunc.c: New file.
6023 * benchtests/bench-strcat.c: New file.
6024 * benchtests/bench-strchr-ifunc.c: New file.
6025 * benchtests/bench-strchr.c: New file.
6026 * benchtests/bench-strchrnul-ifunc.c: New file.
6027 * benchtests/bench-strchrnul.c: New file.
6028 * benchtests/bench-strcmp-ifunc.c: New file.
6029 * benchtests/bench-strcmp.c: New file.
6030 * benchtests/bench-strcpy-ifunc.c: New file.
6031 * benchtests/bench-strcpy.c: New file.
6032 * benchtests/bench-strcspn-ifunc.c: New file.
6033 * benchtests/bench-strcspn.c: New file.
6034 * benchtests/bench-strlen-ifunc.c: New file.
6035 * benchtests/bench-strlen.c: New file.
6036 * benchtests/bench-strncasecmp-ifunc.c: New file.
6037 * benchtests/bench-strncasecmp.c: New file.
6038 * benchtests/bench-strncat-ifunc.c: New file.
6039 * benchtests/bench-strncat.c: New file.
6040 * benchtests/bench-strncmp-ifunc.c: New file.
6041 * benchtests/bench-strncmp.c: New file.
6042 * benchtests/bench-strncpy-ifunc.c: New file.
6043 * benchtests/bench-strncpy.c: New file.
6044 * benchtests/bench-strnlen-ifunc.c: New file.
6045 * benchtests/bench-strnlen.c: New file.
6046 * benchtests/bench-strpbrk-ifunc.c: New file.
6047 * benchtests/bench-strpbrk.c: New file.
6048 * benchtests/bench-strrchr-ifunc.c: New file.
6049 * benchtests/bench-strrchr.c: New file.
6050 * benchtests/bench-strspn-ifunc.c: New file.
6051 * benchtests/bench-strspn.c: New file.
6052 * benchtests/bench-strstr-ifunc.c: New file.
6053 * benchtests/bench-strstr.c: New file.
6055 * benchtests/Makefile: Disable parallel execution of targets.
6056 (string-bench): Add memcpy.
6057 (benchset): New variable to store a list of benchmark sets.
6058 (bench-func): Renamed from bench.
6059 (bench-set): New target.
6060 (bench): Depend on bench-func and bench-set.
6061 * benchtests/README: Add section on benchmark sets.
6062 * benchtests/bench-memcpy-ifunc.c: New file.
6063 * benchtests/bench-memcpy.c: New file.
6064 * benchtests/bench-string.h: New file.
6066 2013-06-11 Andreas Schwab <schwab@suse.de>
6069 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6070 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6071 values in the triple.
6072 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6073 terminator in the group key.
6075 2013-06-11 Andreas Jaeger <aj@suse.de>
6077 * po/zh_TW.po: Update Chinese (traditional) translation from
6078 translation project.
6080 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6082 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6083 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6084 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6085 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6086 (clock_getcpuclockid): Likewise.
6087 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6088 Add weak_alias and libc_hidden_def.
6089 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6090 * rt/clock_gettime.c (clock_gettime): Rename to
6091 __clock_gettime. Add weak_alias and libc_hidden_def.
6092 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6093 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6094 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6095 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6096 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6098 * rt/clock_settime.c (clock_settime): Rename to
6099 __clock_settime. Add weak_alias and libc_hidden_def.
6100 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6102 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6104 * mach/err_boot.sub: Remove trailing whitespace.
6105 * mach/err_ipc.sub: Likewise.
6106 * mach/err_mach.sub: Likewise.
6108 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6109 (ROUNDING_TESTS_double): Likewise.
6110 (ROUNDING_TESTS_long_double): Likewise.
6111 (ROUNDING_TESTS): Likewise.
6112 * math/libm-test.inc: Include <math-tests.h>.
6113 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6114 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6115 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6116 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6118 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6120 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6123 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6125 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6126 otherwise empty TRANS lines.
6127 * sysdeps/gnu/errlist.c: Regenerated.
6129 * catgets/gencat.c (error_print): Use (void) in function
6131 * crypt/crypt_util.c (__init_des): Likewise.
6132 * crypt/speeds.c (Stop): Likewise.
6134 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6135 * inet/ruserpass.c (token): Likewise.
6136 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6137 * intl/localealias.c (extend_alias_table): Likewise.
6138 * intl/plural-exp.c (init_germanic_plural): Likewise.
6139 * libio/fcloseall.c (__fcloseall): Likewise.
6140 * libio/genops.c (_IO_flush_all): Likewise.
6141 (_IO_flush_all_linebuffered): Likewise.
6142 (_IO_cleanup): Likewise.
6143 (_IO_iter_begin): Likewise.
6144 (_IO_iter_end): Likewise.
6145 (_IO_list_lock): Likewise.
6146 (_IO_list_unlock): Likewise.
6147 (_IO_list_resetlock): Likewise.
6148 * libio/getchar.c (getchar): Likewise.
6149 * libio/getchar_u.c (getchar_unlocked): Likewise.
6150 * libio/getwchar.c (getwchar): Likewise.
6151 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6152 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6153 * login/getpt.c (__getpt): Likewise.
6154 * login/tst-utmp.c (main): Likewise.
6155 * malloc/hooks.c (__malloc_check_init): Likewise.
6156 * malloc/malloc.c (__malloc_stats): Likewise.
6157 * malloc/mtrace.c (tr_break): Likewise.
6159 (muntrace): Likewise.
6160 * misc/fstab.c (endfsent): Likewise.
6161 * misc/getclktck.c (__getclktck): Likewise.
6162 * misc/getdtsz.c (__getdtablesize): Likewise.
6163 * misc/gethostid.c (gethostid): Likewise.
6164 * misc/getpagesize.c (__getpagesize): Likewise.
6165 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6166 (__get_nprocs): Likewise.
6167 (__get_phys_pages): Likewise.
6168 (__get_avphys_pages): Likewise.
6169 * misc/getttyent.c (getttyent): Likewise.
6170 (setttyent): Likewise.
6171 (endttyent): Likewise.
6172 * misc/getusershell.c (getusershell): Likewise.
6173 (endusershell): Likewise.
6174 (setusershell): Likewise.
6175 (initshells): Likewise.
6176 * misc/hsearch.c (__hdestroy): Likewise.
6177 * misc/sync.c (sync): Likewise.
6178 * misc/syslog.c (closelog_internal): Likewise.
6179 (closelog): Likewise.
6180 * misc/ttyslot.c (ttyslot): Likewise.
6181 * misc/vhangup.c (vhangup): Likewise.
6182 * posix/fork.c (__fork): Likewise.
6183 * posix/getegid.c (__getegid): Likewise.
6184 * posix/geteuid.c (__geteuid): Likewise.
6185 * posix/getgid.c (__getgid): Likewise.
6186 * posix/getpid.c (__getpid): Likewise.
6187 * posix/getppid.c (__getppid): Likewise.
6188 * posix/getuid.c (__getuid): Likewise.
6189 * posix/pause.c (pause): Likewise.
6190 * posix/setpgrp.c (setpgrp): Likewise.
6191 * posix/setsid.c (__setsid): Likewise.
6192 * posix/test-vfork.c (noop): Likewise.
6193 * resolv/gethnamaddr.c (_endhtent): Likewise.
6194 (_gethtent): Likewise.
6195 (ht_endhostent): Likewise.
6196 (gethostent): Likewise.
6197 (dns_service): Likewise.
6198 * stdlib/drand48.c (drand48): Likewise.
6199 * stdlib/lrand48.c (lrand48): Likewise.
6200 * stdlib/mrand48.c (mrand48): Likewise.
6201 * stdlib/rand.c (rand): Likewise.
6202 * stdlib/random.c (__random): Likewise.
6203 * stdlib/setenv.c (clearenv): Likewise.
6204 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6205 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6206 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6207 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6208 (__get_nprocs): Likewise.
6209 (__get_phys_pages): Likewise.
6210 (__get_avphys_pages): Likewise.
6211 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6212 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6213 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6214 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6215 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6216 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6217 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6218 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6219 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6220 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6221 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6222 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6223 * sysdeps/posix/clock.c (clock): Likewise.
6224 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6225 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6226 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6227 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6228 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6230 (__get_nprocs_conf): Likewise.
6231 (__get_phys_pages): Likewise.
6232 (__get_avphys_pages): Likewise.
6233 * time/clock.c (clock): Likewise.
6234 * time/tzset.c (__tzname_max): Likewise.
6236 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6238 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6239 (__bswap_32): Do not use "register".
6240 * crypt/crypt.c (_ufc_doit_r): Likewise.
6241 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6242 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6243 * gmon/gmon.c (__monstartup): Likewise.
6244 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6245 * hurd/hurdmalloc.c (more_memory): Likewise.
6248 (realloc): Likewise.
6249 (malloc_fork_prepare): Likewise.
6250 (malloc_fork_parent): Likewise.
6251 (malloc_fork_child): Likewise.
6252 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6253 (_svcauth_des): Likewise.
6254 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6255 * inet/inet_net.c (inet_network): Likewise.
6256 * inet/inet_netof.c (inet_netof): Likewise.
6257 * inet/rcmd.c (__validuser2_sa): Likewise.
6258 * io/fts.c (fts_open): Likewise.
6259 (fts_load): Likewise.
6260 (fts_close): Likewise.
6261 (fts_read): Likewise.
6262 (fts_children): Likewise.
6263 (fts_build): Likewise.
6264 (fts_stat): Likewise.
6265 (fts_sort): Likewise.
6266 (fts_alloc): Likewise.
6267 (fts_lfree): Likewise.
6268 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6269 (_IO_file_xsgetn): Likewise.
6270 (_IO_file_xsgetn_mmap): Likewise.
6271 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6272 (_IO_cookie_write): Likewise.
6273 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6274 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6275 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6276 * malloc/obstack.c (_obstack_begin): Likewise.
6277 (_obstack_begin_1): Likewise.
6278 (_obstack_newchunk): Likewise.
6279 (_obstack_allocated_p): Likewise.
6280 (obstack_free): Likewise.
6281 (_obstack_memory_used): Likewise.
6282 * misc/getttyent.c (getttynam): Likewise.
6283 (getttyent): Likewise.
6286 * misc/getusershell.c (initshells): Likewise.
6287 * misc/syslog.c (__vsyslog_chk): Likewise.
6288 * misc/ttyslot.c (ttyslot): Likewise.
6289 * nis/nis_hash.c (__nis_hash): Likewise.
6290 * posix/fnmatch_loop.c (FCT): Likewise.
6291 * posix/getconf.c (print_all): Likewise.
6293 * posix/getopt.c (exchange): Likewise.
6294 * posix/glob.c (globfree): Likewise.
6295 (prefix_array): Likewise.
6296 (__glob_pattern_type): Likewise.
6297 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6298 (NS_GET32): Likewise.
6299 (NS_PUT16): Likewise.
6300 (NS_PUT32): Likewise.
6301 * resolv/gethnamaddr.c (getanswer): Likewise.
6302 (gethostbyname2): Likewise.
6303 (gethostbyaddr): Likewise.
6304 (_gethtent): Likewise.
6305 (_gethtbyname2): Likewise.
6306 (_gethtbyaddr): Likewise.
6307 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6308 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6309 * resolv/res_init.c (__res_vinit): Likewise.
6310 (net_mask): Likewise.
6311 * resolv/res_mkquery.c (outchar): Likewise.
6313 * stdio-common/printf_fp.c (outchar): Likewise.
6315 * stdio-common/printf_fphex.c (outchar): Likewise.
6317 * stdio-common/printf_size.c (outchar): Likewise.
6319 * stdio-common/test_rdwr.c (main): Likewise.
6320 * stdio-common/tfformat.c (matches): Likewise.
6321 * stdio-common/vfprintf.c (outchar): Likewise.
6322 (printf_unknown): Likewise.
6323 (buffered_vfprintf): Likewise.
6324 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6325 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6326 (ReadFile): Likewise.
6327 * stdlib/qsort.c (SWAP): Likewise.
6328 (_quicksort): Likewise.
6329 * stdlib/setenv.c (__add_to_environ): Likewise.
6330 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6331 * stdlib/strtol_l.c (__strtol_l): Likewise.
6332 * stdlib/tst-strtod.c (main): Likewise.
6333 * stdlib/tst-strtol.c (main): Likewise.
6334 * stdlib/tst-strtoll.c (main): Likewise.
6335 * string/bits/string2.h (__strcmp_cc): Likewise.
6336 (__strcmp_cg): Likewise.
6337 (__strcspn_c1): Likewise.
6338 (__strcspn_c2): Likewise.
6339 (__strcspn_c3): Likewise.
6340 (__strspn_c1): Likewise.
6341 (__strspn_c2): Likewise.
6342 (__strspn_c3): Likewise.
6343 (__strsep_1c): Likewise.
6344 (__strsep_2c): Likewise.
6345 (__strsep_3c): Likewise.
6346 * string/memccpy.c (__memccpy): Likewise.
6347 * string/stpcpy.c (__stpcpy): Likewise.
6348 * string/strcmp.c (strcmp): Likewise.
6349 * string/strrchr.c (strrchr): Likewise.
6350 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6352 * sysdeps/mach/hurd/getcwd.c
6353 (_hurd_canonicalize_directory_name_internal): Likewise.
6354 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6355 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6356 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6357 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6358 Likewise, in both definitions.
6359 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6361 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6362 64] (__bswap_64): Likewise.
6363 * time/test_time.c (main): Likewise.
6364 * time/tzfile.c (__tzfile_read): Likewise.
6365 (__tzfile_compute): Likewise.
6366 * time/tzset.c (__tzset_parse_tz): Likewise.
6367 (tzset_internal): Likewise.
6368 (compute_change): Likewise.
6369 * wcsmbs/wcscat.c (__wcscat): Likewise.
6370 * wcsmbs/wcschr.c (wcschr): Likewise.
6371 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6372 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6373 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6374 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6375 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6376 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6377 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6378 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6379 * wcsmbs/wmemset.c (wmemset): Likewise.
6381 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6383 * scripts/config.guess: Update to version 2013-05-16.
6384 * scripts/config.sub: Update to version 2013-04-24.
6385 * scripts/install-sh: Update to version 2011-11-20.07.
6386 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6387 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6389 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6391 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6392 * elf/sln.c: Likewise.
6393 * hurd/hurd/ioctl.h: Likewise.
6394 * hurd/hurdmalloc.c: Likewise.
6395 * hurd/xattr.c: Likewise.
6396 * include/shlib-compat.h: Likewise.
6397 * inet/ruserpass.c: Likewise.
6398 * libio/iofgets_u.c: Likewise.
6399 * libio/iofgetws_u.c: Likewise.
6400 * locale/programs/ld-identification.c: Likewise.
6401 * locale/programs/ld-time.c: Likewise.
6402 * mach/msg-destroy.c: Likewise.
6403 * nss/nss_files/files-netgrp.c: Likewise.
6404 * resolv/res_data.c: Likewise.
6405 * soft-fp/op-1.h: Likewise.
6406 * soft-fp/op-2.h: Likewise.
6407 * soft-fp/op-4.h: Likewise.
6408 * soft-fp/op-common.h: Likewise.
6409 * stdio-common/printf_fphex.c: Likewise.
6410 * stdlib/strtod_l.c: Likewise.
6411 * sunrpc/rpc/clnt.h: Likewise.
6412 * sysdeps/generic/framestate.c: Likewise.
6413 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6414 * sysdeps/i386/bsd-setjmp.S: Likewise.
6415 * sysdeps/i386/__longjmp.S: Likewise.
6416 * sysdeps/i386/setjmp.S: Likewise.
6417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6418 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6435 * sysdeps/ieee754/support.c: Likewise.
6436 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6437 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6438 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6439 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6440 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6441 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6442 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6443 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6444 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6445 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6446 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6447 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6449 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6450 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6451 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6452 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6455 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6457 * posix/transbug.c: Remove executable mode.
6459 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6461 * crypt/speeds.c: Remove trailing whitespace.
6462 * dlfcn/default.c: Likewise.
6463 * elf/ifuncdep2.c: Likewise.
6464 * elf/ifuncmain1.c: Likewise.
6465 * elf/ifuncmain1vis.c: Likewise.
6466 * elf/testobj.h: Likewise.
6467 * elf/tst-stackguard1.c: Likewise.
6468 * gmon/sys/gmon.h: Likewise.
6469 * hurd/hurdmsg.c: Likewise.
6470 * hurd/new-fd.c: Likewise.
6471 * hurd/ports-get.c: Likewise.
6472 * iconvdata/ibm1008_420.c: Likewise.
6473 * inet/tst-getni1.c: Likewise.
6474 * inet/tst-getni2.c: Likewise.
6475 * libio/ioungetc.c: Likewise.
6476 * libio/wfiledoalloc.c: Likewise.
6477 * manual/libm-err-tab.pl: Likewise.
6478 * math/w_dremf.c: Likewise.
6479 * misc/ftruncate.c: Likewise.
6480 * posix/bug-glob2.c: Likewise.
6481 * posix/tst-pcre.c: Likewise.
6482 * posix/wait4.c: Likewise.
6483 * resolv/README: Likewise.
6484 * resolv/res_debug.h: Likewise.
6485 * resolv/tst-inet_ntop.c: Likewise.
6486 * setjmp/bug269-setjmp.c: Likewise.
6487 * soft-fp/extended.h: Likewise.
6488 * soft-fp/op-1.h: Likewise.
6489 * soft-fp/op-2.h: Likewise.
6490 * soft-fp/op-4.h: Likewise.
6491 * soft-fp/op-8.h: Likewise.
6492 * soft-fp/testit.c: Likewise.
6493 * stdio-common/bug16.c: Likewise.
6494 * stdlib/random.c: Likewise.
6495 * sunrpc/rpcsvc/rquota.x: Likewise.
6496 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6500 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6501 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6502 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6504 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6505 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6506 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6525 * sysdeps/ieee754/s_lib_version.c: Likewise.
6526 * sysdeps/mach/hurd/check_fds.c: Likewise.
6527 * sysdeps/mach/hurd/getsockname.c: Likewise.
6528 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6529 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6530 * sysdeps/powerpc/bits/link.h: Likewise.
6531 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6532 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6533 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6534 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6535 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6536 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6537 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6538 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6539 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6540 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6541 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6542 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6543 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6544 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6545 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6546 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6550 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6552 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6554 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6555 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6558 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6559 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6564 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6565 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6566 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6567 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6568 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6569 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6570 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6571 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6572 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6573 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6574 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6575 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6576 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6577 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6578 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6579 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6580 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6583 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6584 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6585 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6586 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6587 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6588 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6591 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6592 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6593 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6594 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6595 * sysdeps/powerpc/sysdep.h: Likewise.
6596 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6597 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6598 * sysdeps/sh/dl-trampoline.S: Likewise.
6599 * sysdeps/sh/memset.S: Likewise.
6600 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6601 * sysdeps/sh/strlen.S: Likewise.
6602 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6603 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6604 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6605 * sysdeps/sparc/sparc32/rem.S: Likewise.
6606 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6607 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6608 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6609 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6610 * sysdeps/sparc/sparc32/urem.S: Likewise.
6611 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6612 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6613 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6614 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6616 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6617 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6618 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6619 * sysdeps/unix/bsd/times.c: Likewise.
6620 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6621 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6627 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6629 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6630 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6633 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6634 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6635 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6636 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6638 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6639 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6640 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6641 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6642 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6643 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6644 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6645 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6648 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6649 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6650 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6651 * sysdeps/x86_64/strcspn.S: Likewise.
6653 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6655 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6656 generated file. Regenerate properly from gen-translit.pl.
6657 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6658 locale/C-translit.h.
6660 2013-06-05 Andreas Schwab <schwab@suse.de>
6663 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6664 week as 6 instead of -1.
6665 * time/tst-strptime.c (day_tests): Add test case.
6667 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6669 * sysdeps/generic/math_private.h
6670 (libc_feholdexcept_setround_53bit): Replace with
6671 libc_feholdsetround_53bit.
6672 (libc_feupdateenv_53bit): Replace with
6673 libc_feresetround_53bit.
6674 (SET_RESTORE_ROUND_53BIT): Adjust.
6676 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6678 * string/test-strchrnul.c: Add copyright header.
6680 * posix/tst-getaddrinfo4.c: Increase test timeout.
6682 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6685 * math/libm-test.inc (MAX_EXP): Remove
6687 (ulp): Use MIN_EXP - MANT_DIG.
6688 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6690 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6692 * po/be.po: Revert last change.
6693 * po/zh_CN.po: Likewise.
6694 * po/header.pot: Likewise.
6696 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6698 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6699 link-libc-deps to empty as target-specific variable.
6700 * Makerules (link-libc-args): New variable.
6701 (libc-for-link): Likewise.
6702 (link-libc-deps): Likewise.
6703 (lib%.so): Depend on $(link-libc-deps). Link with
6705 (build-module): Link with $(link-libc-args).
6706 (build-module-asneeded): Likewise.
6707 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6709 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6710 target-specific variable.
6711 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6712 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6713 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6715 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6717 ($(objpfx)libpcprofile.so): Likewise.
6718 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6720 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6721 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6722 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6724 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6725 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6726 * login/Makefile ($(objpfx)libutil.so): Likewise.
6727 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6728 * math/Makefile ($(objpfx)libm.so): Likewise.
6729 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6730 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6731 variable instead of depending directly on libc.
6732 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6733 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6735 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6737 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6738 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6739 ($(objpfx)libanl.so): Likewise.
6740 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6742 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6744 * sysdeps/i386/fpu/Makefile: Remove file.
6745 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6746 ($(objpfx)libm.so): Remove dependency on ld.so.
6748 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6751 * nis/yp_xdr.c (XDRMAXNAME): Define.
6752 (XDRMAXRECORD): Define.
6753 (xdr_domainname): Use XDRMAXNAME.
6754 (xdr_mapname): Likewise.
6755 (xdr_peername): Likewise.
6756 (xdr_keydat): Use XDRMAXRECORD.
6757 (xdr_valdat): Likewise.
6759 2013-05-30 Jeff Law <law@redhat.com>
6762 * manual/errno.texi (ESTALE): Update to account for more than
6763 just NFS file systems.
6764 * sysdeps/gnu/errlist.c: Regenerated.
6766 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6769 * elf/Makefile (tests): Add tst-null-argv.
6770 (modules-names): Add tst-null-argv-lib.
6771 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6772 (tst-null-argv-ENV): Set environment for tst-null-argv.
6773 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6774 (RTLD_PROGNAME): New macro.
6775 * elf/tst-null-argv.c: New test case.
6776 * elf/tst-null-argv-lib.c: Library for test case.
6777 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6778 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6779 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6780 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6781 * elf/dl-init.c (call_init): Likewise.
6782 (_dl_init): Likewise.
6783 * elf/dl-load.c (print_search_path): Likewise.
6784 (_dl_map_object): Likewise.
6785 * elf/dl-lookup.c (do_lookup_x): Likewise.
6786 (add_dependency): Likewise.
6787 (_dl_lookup_symbol_x): Likewise.
6788 (_dl_debug_bindings): Likewise.
6789 * elf/dl-open.c (_dl_show_scope): Likewise.
6790 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6791 * elf/dl-version.c (match_symbol): Likewise.
6792 (_dl_check_map_versions): Likewise.
6793 * elf/rtld.c (dl_main): Likewise.
6794 (print_unresolved): Use RTLD_PROGNAME.
6795 (print_missing_version): Likewise.
6796 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6797 (elf_machine_rela): Likewise.
6798 * sysdeps/powerpc/powerpc32/dl-machine.c
6799 (__process_machine_rela): Likewise.
6800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6802 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6804 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6806 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6813 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6815 * po/be.po: Add descriptive title.
6816 * po/zh_CN.po: Likewise.
6817 * po/header.pot: Likewise.
6819 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6821 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6823 (enlarge_archive): Likewise.
6825 2013-05-28 Ben North <ben@redfrontdoor.org>
6827 * manual/arith.texi (frexp): It is the magnitude of the return
6828 value which lies in [0.5, 1), not the return value itself.
6830 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6834 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6836 * stdio-common/bug26.c (main): Correct fscanf template.
6838 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6839 declare _dl_skip_args.
6841 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6844 * manual/platform.texi: Add missing @end deftypefun.
6846 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6849 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6850 bit of mantissa of 2^16382.
6851 * math/libm-test.inc (hypot_test_data): Add more tests.
6853 * math/libm-test.inc: Add drem and pow10 to list of tested
6855 (pow10_test): New function.
6856 (drem_test): Likewise.
6857 (drem_test_tonearest): Likewise.
6858 (drem_test_towardzero): Likewise.
6859 (drem_test_downward): Likewise.
6860 (drem_test_upward): Likewise.
6861 (main): Call the new functions.
6863 * math/libm-test.inc (finite_test_data): Remove.
6864 (finite_test): Run tests from isfinite_test_data.
6865 (gamma_test_data): Remove.
6866 (gamma_test): Run tests from lgamma_test_data.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6870 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872 * manual/platform.texi: Add PowerPC PPR function set documentation.
6873 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6876 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6878 * math/libm-test.inc (MAX_EXP): Define.
6880 (ulp): New function.
6881 (check_float_internal): Use ULPDIFF.
6882 (cpow_test): Disable failing test.
6883 (check_ulp): Test ulp() implemetnation.
6884 (main): Call check_ulp before starting tests.
6886 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6888 * math/gen-libm-test.pl (generate_testfile): Do not handle
6889 START_DATA and END_DATA.
6890 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6892 (acos_tonearest_test_data): Likewise.
6893 (acos_towardzero_test_data): Likewise.
6894 (acos_downward_test_data): Likewise.
6895 (acos_upward_test_data): Likewise.
6896 (acosh_test_data): Likewise.
6897 (asin_test_data): Likewise.
6898 (asin_tonearest_test_data): Likewise.
6899 (asin_towardzero_test_data): Likewise.
6900 (asin_downward_test_data): Likewise.
6901 (asin_upward_test_data): Likewise.
6902 (asinh_test_data): Likewise.
6903 (atan_test_data): Likewise.
6904 (atanh_test_data): Likewise.
6905 (atan2_test_data): Likewise.
6906 (cabs_test_data): Likewise.
6907 (cacos_test_data): Likewise.
6908 (cacosh_test_data): Likewise.
6909 (carg_test_data): Likewise.
6910 (casin_test_data): Likewise.
6911 (casinh_test_data): Likewise.
6912 (catan_test_data): Likewise.
6913 (catanh_test_data): Likewise.
6914 (cbrt_test_data): Likewise.
6915 (ccos_test_data): Likewise.
6916 (ccosh_test_data): Likewise.
6917 (ceil_test_data): Likewise.
6918 (cexp_test_data): Likewise.
6919 (cimag_test_data): Likewise.
6920 (clog_test_data): Likewise.
6921 (clog10_test_data): Likewise.
6922 (conj_test_data): Likewise.
6923 (copysign_test_data): Likewise.
6924 (cos_test_data): Likewise.
6925 (cos_tonearest_test_data): Likewise.
6926 (cos_towardzero_test_data): Likewise.
6927 (cos_downward_test_data): Likewise.
6928 (cos_upward_test_data): Likewise.
6929 (cosh_test_data): Likewise.
6930 (cosh_tonearest_test_data): Likewise.
6931 (cosh_towardzero_test_data): Likewise.
6932 (cosh_downward_test_data): Likewise.
6933 (cosh_upward_test_data): Likewise.
6934 (cpow_test_data): Likewise.
6935 (cproj_test_data): Likewise.
6936 (creal_test_data): Likewise.
6937 (csin_test_data): Likewise.
6938 (csinh_test_data): Likewise.
6939 (csqrt_test_data): Likewise.
6940 (ctan_test_data): Likewise.
6941 (ctan_tonearest_test_data): Likewise.
6942 (ctan_towardzero_test_data): Likewise.
6943 (ctan_downward_test_data): Likewise.
6944 (ctan_upward_test_data): Likewise.
6945 (ctanh_test_data): Likewise.
6946 (ctanh_tonearest_test_data): Likewise.
6947 (ctanh_towardzero_test_data): Likewise.
6948 (ctanh_downward_test_data): Likewise.
6949 (ctanh_upward_test_data): Likewise.
6950 (erf_test_data): Likewise.
6951 (erfc_test_data): Likewise.
6952 (exp_test_data): Likewise.
6953 (exp_tonearest_test_data): Likewise.
6954 (exp_towardzero_test_data): Likewise.
6955 (exp_downward_test_data): Likewise.
6956 (exp_upward_test_data): Likewise.
6957 (exp10_test_data): Likewise.
6958 (exp2_test_data): Likewise.
6959 (expm1_test_data): Likewise.
6960 (fabs_test_data): Likewise.
6961 (fdim_test_data): Likewise.
6962 (finite_test_data): Likewise.
6963 (floor_test_data): Likewise.
6964 (fma_test_data): Likewise.
6965 (fma_towardzero_test_data): Likewise.
6966 (fma_downward_test_data): Likewise.
6967 (fma_upward_test_data): Likewise.
6968 (fmax_test_data): Likewise.
6969 (fmin_test_data): Likewise.
6970 (fmod_test_data): Likewise.
6971 (fpclassify_test_data): Likewise.
6972 (frexp_test_data): Likewise.
6973 (gamma_test_data): Likewise.
6974 (hypot_test_data): Likewise.
6975 (ilogb_test_data): Likewise.
6976 (isfinite_test_data): Likewise.
6977 (isgreater_test_data): Likewise.
6978 (isgreaterequal_test_data): Likewise.
6979 (isinf_test_data): Likewise.
6980 (isless_test_data): Likewise.
6981 (islessequal_test_data): Likewise.
6982 (islessgreater_test_data): Likewise.
6983 (isnan_test_data): Likewise.
6984 (isnormal_test_data): Likewise.
6985 (issignaling_test_data): Likewise.
6986 (isunordered_test_data): Likewise.
6987 (j0_test_data): Likewise.
6988 (j1_test_data): Likewise.
6989 (jn_test_data): Likewise.
6990 (ldexp_test_data): Likewise.
6991 (lgamma_test_data): Likewise.
6992 (lrint_test_data): Likewise.
6993 (lrint_tonearest_test_data): Likewise.
6994 (lrint_towardzero_test_data): Likewise.
6995 (lrint_downward_test_data): Likewise.
6996 (lrint_upward_test_data): Likewise.
6997 (llrint_test_data): Likewise.
6998 (llrint_tonearest_test_data): Likewise.
6999 (llrint_towardzero_test_data): Likewise.
7000 (llrint_downward_test_data): Likewise.
7001 (llrint_upward_test_data): Likewise.
7002 (log_test_data): Likewise.
7003 (log10_test_data): Likewise.
7004 (log1p_test_data): Likewise.
7005 (log2_test_data): Likewise.
7006 (logb_test_data): Likewise.
7007 (logb_downward_test_data): Likewise.
7008 (lround_test_data): Likewise.
7009 (llround_test_data): Likewise.
7010 (modf_test_data): Likewise.
7011 (nearbyint_test_data): Likewise.
7012 (nextafter_test_data): Likewise.
7013 (nexttoward_test_data): Likewise.
7014 (pow_test_data): Likewise.
7015 (pow_tonearest_test_data): Likewise.
7016 (pow_towardzero_test_data): Likewise.
7017 (pow_downward_test_data): Likewise.
7018 (pow_upward_test_data): Likewise.
7019 (remainder_test_data): Likewise.
7020 (remainder_tonearest_test_data): Likewise.
7021 (remainder_towardzero_test_data): Likewise.
7022 (remainder_downward_test_data): Likewise.
7023 (remainder_upward_test_data): Likewise.
7024 (remquo_test_data): Likewise.
7025 (rint_test_data): Likewise.
7026 (rint_tonearest_test_data): Likewise.
7027 (rint_towardzero_test_data): Likewise.
7028 (rint_downward_test_data): Likewise.
7029 (rint_upward_test_data): Likewise.
7030 (round_test_data): Likewise.
7031 (scalb_test_data): Likewise.
7032 (scalbn_test_data): Likewise.
7033 (scalbln_test_data): Likewise.
7034 (signbit_test_data): Likewise.
7035 (sin_test_data): Likewise.
7036 (sin_tonearest_test_data): Likewise.
7037 (sin_towardzero_test_data): Likewise.
7038 (sin_downward_test_data): Likewise.
7039 (sin_upward_test_data): Likewise.
7040 (sincos_test_data): Likewise.
7041 (sinh_test_data): Likewise.
7042 (sinh_tonearest_test_data): Likewise.
7043 (sinh_towardzero_test_data): Likewise.
7044 (sinh_downward_test_data): Likewise.
7045 (sinh_upward_test_data): Likewise.
7046 (sqrt_test_data): Likewise.
7047 (tan_test_data): Likewise.
7048 (tan_tonearest_test_data): Likewise.
7049 (tan_towardzero_test_data): Likewise.
7050 (tan_downward_test_data): Likewise.
7051 (tan_upward_test_data): Likewise.
7052 (tanh_test_data): Likewise.
7053 (tgamma_test_data): Likewise.
7054 (trunc_test_data): Likewise.
7055 (y0_test_data): Likewise.
7056 (y1_test_data): Likewise.
7057 (yn_test_data): Likewise.
7058 (significand_test_data): Likewise.
7060 * math/gen-libm-test.pl (@functions): Remove variable.
7061 (generate_testfile): Don't handle START and END lines.
7062 * math/libm-test.inc (START): New macro.
7064 (END_COMPLEX): Likewise.
7065 (acos_test): Use END macro without arguments.
7066 (acos_test_tonearest): Likewise.
7067 (acos_test_towardzero): Likewise.
7068 (acos_test_downward): Likewise.
7069 (acos_test_upward): Likewise.
7070 (acosh_test): Likewise.
7071 (asin_test): Likewise.
7072 (asin_test_tonearest): Likewise.
7073 (asin_test_towardzero): Likewise.
7074 (asin_test_downward): Likewise.
7075 (asin_test_upward): Likewise.
7076 (asinh_test): Likewise.
7077 (atan_test): Likewise.
7078 (atanh_test): Likewise.
7079 (atan2_test): Likewise.
7080 (cabs_test): Likewise.
7081 (cacos_test): Use END_COMPLEX macro without arguments.
7082 (cacosh_test): Likewise.
7083 (carg_test): Use END macro without arguments.
7084 (casin_test): Use END_COMPLEX macro without arguments.
7085 (casinh_test): Likewise.
7086 (catan_test): Likewise.
7087 (catanh_test): Likewise.
7088 (cbrt_test): Use END macro without arguments.
7089 (ccos_test): Use END_COMPLEX macro without arguments.
7090 (ccosh_test): Likewise.
7091 (ceil_test): Use END macro without arguments.
7092 (cexp_test): Use END_COMPLEX macro without arguments.
7093 (cimag_test): Use END macro without arguments.
7094 (clog_test): Use END_COMPLEX macro without arguments.
7095 (clog10_test): Likewise.
7096 (conj_test): Likewise.
7097 (copysign_test): Use END macro without arguments.
7098 (cos_test): Likewise.
7099 (cos_test_tonearest): Likewise.
7100 (cos_test_towardzero): Likewise.
7101 (cos_test_downward): Likewise.
7102 (cos_test_upward): Likewise.
7103 (cosh_test): Likewise.
7104 (cosh_test_tonearest): Likewise.
7105 (cosh_test_towardzero): Likewise.
7106 (cosh_test_downward): Likewise.
7107 (cosh_test_upward): Likewise.
7108 (cpow_test): Use END_COMPLEX macro without arguments.
7109 (cproj_test): Likewise.
7110 (creal_test): Use END macro without arguments.
7111 (csin_test): Use END_COMPLEX macro without arguments.
7112 (csinh_test): Likewise.
7113 (csqrt_test): Likewise.
7114 (ctan_test): Likewise.
7115 (ctan_test_tonearest): Likewise.
7116 (ctan_test_towardzero): Likewise.
7117 (ctan_test_downward): Likewise.
7118 (ctan_test_upward): Likewise.
7119 (ctanh_test): Likewise.
7120 (ctanh_test_tonearest): Likewise.
7121 (ctanh_test_towardzero): Likewise.
7122 (ctanh_test_downward): Likewise.
7123 (ctanh_test_upward): Likewise.
7124 (erf_test): Use END macro without arguments.
7125 (erfc_test): Likewise.
7126 (exp_test): Likewise.
7127 (exp_test_tonearest): Likewise.
7128 (exp_test_towardzero): Likewise.
7129 (exp_test_downward): Likewise.
7130 (exp_test_upward): Likewise.
7131 (exp10_test): Likewise.
7132 (exp2_test): Likewise.
7133 (expm1_test): Likewise.
7134 (fabs_test): Likewise.
7135 (fdim_test): Likewise.
7136 (finite_test): Likewise.
7137 (floor_test): Likewise.
7138 (fma_test): Likewise.
7139 (fma_test_towardzero): Likewise.
7140 (fma_test_downward): Likewise.
7141 (fma_test_upward): Likewise.
7142 (fmax_test): Likewise.
7143 (fmin_test): Likewise.
7144 (fmod_test): Likewise.
7145 (fpclassify_test): Likewise.
7146 (frexp_test): Likewise.
7147 (gamma_test): Likewise.
7148 (hypot_test): Likewise.
7149 (ilogb_test): Likewise.
7150 (isfinite_test): Likewise.
7151 (isgreater_test): Likewise.
7152 (isgreaterequal_test): Likewise.
7153 (isinf_test): Likewise.
7154 (isless_test): Likewise.
7155 (islessequal_test): Likewise.
7156 (islessgreater_test): Likewise.
7157 (isnan_test): Likewise.
7158 (isnormal_test): Likewise.
7159 (issignaling_test): Likewise.
7160 (isunordered_test): Likewise.
7161 (j0_test): Likewise.
7162 (j1_test): Likewise.
7163 (jn_test): Likewise.
7164 (ldexp_test): Likewise.
7165 (lgamma_test): Likewise.
7166 (lrint_test): Likewise.
7167 (lrint_test_tonearest): Likewise.
7168 (lrint_test_towardzero): Likewise.
7169 (lrint_test_downward): Likewise.
7170 (lrint_test_upward): Likewise.
7171 (llrint_test): Likewise.
7172 (llrint_test_tonearest): Likewise.
7173 (llrint_test_towardzero): Likewise.
7174 (llrint_test_downward): Likewise.
7175 (llrint_test_upward): Likewise.
7176 (log_test): Likewise.
7177 (log10_test): Likewise.
7178 (log1p_test): Likewise.
7179 (log2_test): Likewise.
7180 (logb_test): Likewise.
7181 (logb_test_downward): Likewise.
7182 (lround_test): Likewise.
7183 (llround_test): Likewise.
7184 (modf_test): Likewise.
7185 (nearbyint_test): Likewise.
7186 (nextafter_test): Likewise.
7187 (nexttoward_test): Likewise.
7188 (pow_test): Likewise.
7189 (pow_test_tonearest): Likewise.
7190 (pow_test_towardzero): Likewise.
7191 (pow_test_downward): Likewise.
7192 (pow_test_upward): Likewise.
7193 (remainder_test): Likewise.
7194 (remainder_test_tonearest): Likewise.
7195 (remainder_test_towardzero): Likewise.
7196 (remainder_test_downward): Likewise.
7197 (remainder_test_upward): Likewise.
7198 (remquo_test): Likewise.
7199 (rint_test): Likewise.
7200 (rint_test_tonearest): Likewise.
7201 (rint_test_towardzero): Likewise.
7202 (rint_test_downward): Likewise.
7203 (rint_test_upward): Likewise.
7204 (round_test): Likewise.
7205 (scalb_test): Likewise.
7206 (scalbn_test): Likewise.
7207 (scalbln_test): Likewise.
7208 (signbit_test): Likewise.
7209 (sin_test): Likewise.
7210 (sin_test_tonearest): Likewise.
7211 (sin_test_towardzero): Likewise.
7212 (sin_test_downward): Likewise.
7213 (sin_test_upward): Likewise.
7214 (sincos_test): Likewise.
7215 (sinh_test): Likewise.
7216 (sinh_test_tonearest): Likewise.
7217 (sinh_test_towardzero): Likewise.
7218 (sinh_test_downward): Likewise.
7219 (sinh_test_upward): Likewise.
7220 (sqrt_test): Likewise.
7221 (tan_test): Likewise.
7222 (tan_test_tonearest): Likewise.
7223 (tan_test_towardzero): Likewise.
7224 (tan_test_downward): Likewise.
7225 (tan_test_upward): Likewise.
7226 (tanh_test): Likewise.
7227 (tgamma_test): Likewise.
7228 (trunc_test): Likewise.
7229 (y0_test): Likewise.
7230 (y1_test): Likewise.
7231 (yn_test): Likewise.
7232 (significand_test): Likewise.
7234 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7237 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7239 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7242 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7243 __ppc_mdoio and __ppc_mdoom.
7244 * manual/platform.texi: Document new functions __ppc_yield,
7245 __ppc_mdoio and __ppc_mdoom.
7247 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7249 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7250 (main): Mention "tls" pseudo-hwcap is legacy.
7251 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7253 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7255 * math/gen-libm-test.pl (parse_args): Output only string of
7256 arguments as text for test name, not full call or descriptions of
7257 tests for extra outputs.
7258 (generate_testfile): Do not pass function name to parse_args.
7259 Generate this_func variable from START.
7260 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7262 (struct test_ff_f_data): Likewise.
7263 (test_ff_f_data_nexttoward): Likewise.
7264 (struct test_fi_f_data): Likewise.
7265 (struct test_fl_f_data): Likewise.
7266 (struct test_if_f_data): Likewise.
7267 (struct test_fff_f_data): Likewise.
7268 (struct test_c_f_data): Likewise.
7269 (struct test_f_f1_data): Likewise. Remove field extra_name.
7270 (struct test_fF_f1_data): Likewise.
7271 (struct test_ffI_f1_data): Likewise.
7272 (struct test_c_c_data): Rename test_name field to arg_str.
7273 (struct test_cc_c_data): Likewise.
7274 (struct test_f_i_data): Likewise.
7275 (struct test_ff_i_data): Likewise.
7276 (struct test_f_l_data): Likewise.
7277 (struct test_f_L_data): Likewise.
7278 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7280 (COMMON_TEST_SETUP): New macro.
7281 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7282 (COMMON_TEST_CLEANUP): Likewise.
7283 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7284 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7286 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7287 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7289 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7290 (RUN_TEST_fff_f): Take argument string. Call new setup and
7292 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7293 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7295 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7296 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7298 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7299 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7301 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7302 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7304 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7305 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7307 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7308 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7310 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7311 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7313 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7314 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7316 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7317 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7319 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7320 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7322 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7323 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7325 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7326 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7328 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7329 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7331 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7332 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7334 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7335 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7337 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7339 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7341 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7342 to _sifields.sigfault.
7343 (si_addr_lsb): Define new macro.
7344 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7346 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7348 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7351 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7353 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7355 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7358 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7360 * math/gen-libm-test.pl (parse_args): Do not include expected
7361 result in test name.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7364 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7366 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7369 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7371 * benchtests/Makefile: Sort function entries.
7373 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7374 tanh, asinh, acosh, atanh.
7375 * benchtests/acos-inputs: New file.
7376 * benchtests/acosh-inputs: New file.
7377 * benchtests/asin-inputs: New file.
7378 * benchtests/asinh-inputs: New file.
7379 * benchtests/atanh-inputs: New file.
7380 * benchtests/cosh-inputs: New file.
7381 * benchtests/log-inputs: New file.
7382 * benchtests/sinh-inputs: New file.
7383 * benchtests/tanh-inputs: New file.
7385 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7388 * posix/tst-getaddrinfo4.c: New test.
7389 * posix/Makefile (tests): Add it.
7391 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7394 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7395 when no services were used.
7396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7397 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7399 2013-05-21 Andreas Schwab <schwab@suse.de>
7402 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7403 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7405 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7406 redundant variable declarations and reallocation of buffer when
7407 parsing as IPv6 address. Always set NSS status when called from
7408 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7409 buffer too small. Correct computation of needed size.
7410 * nss/Makefile (tests): Add test-digits-dots.
7411 * nss/test-digits-dots.c: New test.
7413 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7415 * benchtests/Makefile: Remove instructions for adding
7417 * benchtests/README: New file to explain how to execute and
7418 enhance the benchmark tests.
7420 2013-05-21 Andreas Schwab <schwab@suse.de>
7423 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7424 * setjmp/tst-sigsetjmp.c: New test.
7426 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7428 * sysdeps/x86_64/memset.S (memset): New implementation.
7429 (__bzero): Likewise.
7430 (__memset_tail): New function.
7432 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7434 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7435 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7436 __memcpy_sse2_unaligned ifunc selection.
7437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7438 Add memcpy-sse2-unaligned.S.
7439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7440 Add: __memcpy_sse2_unaligned.
7442 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7445 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7446 math_force_eval before restoring floating-point envrionment.
7447 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7450 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7452 (__nearbyintl): Use math_force_eval before restoring
7453 floating-point environment.
7454 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7456 * math/gen-libm-test.pl (special_functions): Remove.
7457 (parse_args): Don't handle TEST_extra. Handle functions with no
7459 * math/libm-test.inc (struct test_sincos_data): Replace with
7460 struct test_fFF_11_data.
7461 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7462 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7463 (sincos_test_data): Change element type to struct
7464 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7465 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7466 RUN_TEST_LOOP_sincos.
7467 * math/README.libm-test: Don't mention special handling of
7468 individual functions.
7469 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7471 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7473 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7476 * math/gen-libm-test.pl (get_variable): Remove function.
7477 (parse_args): Don't show pointer parameters to call in test
7478 names. Use "extra output N" in test names for extra outputs
7479 rather than naming variables.
7481 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7484 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7485 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7486 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7488 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7490 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7493 * math/gen-libm-test.pl (@tests): Remove variable.
7495 (new_test): Remove function.
7496 (show_exceptions): New function.
7497 (special_functions): Use show_exceptions instead of new_test.
7498 (parse_args): Likewise.
7499 (generate_testfile): Pass only function name in generated call to
7500 print_max_error or print_complex_max_error.
7501 (get_ulps): Do not handle complex tests specially.
7502 (output_test): Rename to ...
7503 (get_all_ulps_for_test): ... this. Return a string rather than
7504 printing to a file. Require ulps to be present.
7505 (output_ulps): Generate arrays rather than #defines.
7506 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7507 (struct ulp_data): New type.
7508 (BUILD_COMPLEX_ULP): Remove macro.
7509 (compare_ulp_data): New function.
7510 (find_ulps): Likewise.
7511 (find_test_ulps): Likewise.
7512 (find_function_ulps): Likewise.
7513 (find_complex_function_ulps): Likewise.
7514 (print_max_error): Determine allowed ulps using
7516 (print_complex_max_error): Determine allowed ulps using
7517 find_complex_function_ulps.
7518 (check_float_internal): Determine max ulps using find_test_ulps.
7519 (check_float): Do not take max_ulp parameter. Update call to
7520 check_float_internal.
7521 (check_complex): Likewise.
7522 (check_int): Do not take max_ulp parameter.
7523 (check_long): Likewise.
7524 (check_bool): Likewise.
7525 (check_longlong): Likewise.
7526 (struct test_f_f_data): Remove max_ulp field.
7527 (struct test_ff_f_data): Likewise.
7528 (struct test_ff_f_data_nexttoward): Likewise.
7529 (struct test_fi_f_data): Likewise.
7530 (struct test_fl_f_data): Likewise.
7531 (struct test_if_f_data): Likewise.
7532 (struct test_fff_f_data): Likewise.
7533 (struct test_c_f_data): Likewise.
7534 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7535 (struct test_fF_f1_data): Likewise.
7536 (struct test_ffI_f1_data): Likewise.
7537 (struct test_c_c_data): Remove max_ulp field.
7538 (struct test_cc_c_data): Likewise.
7539 (struct test_f_i_data): Likewise.
7540 (struct test_ff_i_data): Likewise.
7541 (struct test_f_l_data): Likewise.
7542 (struct test_f_L_data): Likewise.
7543 (struct test_sincos_data): Likewise.
7544 (RUN_TEST_f_f): Do not handle ulps.
7545 (RUN_TEST_LOOP_f_f): Likewise.
7546 (RUN_TEST_2_f): Likewise.
7547 (RUN_TEST_LOOP_2_f): Likewise.
7548 (RUN_TEST_fff_f): Likewise.
7549 (RUN_TEST_LOOP_fff_f): Likewise.
7550 (RUN_TEST_c_f): Likewise.
7551 (RUN_TEST_LOOP_c_f): Likewise.
7552 (RUN_TEST_f_f1): Likewise.
7553 (RUN_TEST_LOOP_f_f1): Likewise.
7554 (RUN_TEST_fF_f1): Likewise.
7555 (RUN_TEST_LOOP_fF_f1): Likewise.
7556 (RUN_TEST_fI_f1): Likewise.
7557 (RUN_TEST_LOOP_fI_f1): Likewise.
7558 (RUN_TEST_ffI_f1): Likewise.
7559 (RUN_TEST_LOOP_ffI_f1): Likewise.
7560 (RUN_TEST_c_c): Likewise.
7561 (RUN_TEST_LOOP_c_c): Likewise.
7562 (RUN_TEST_cc_c): Likewise.
7563 (RUN_TEST_LOOP_cc_c): Likewise.
7564 (RUN_TEST_f_i): Likewise.
7565 (RUN_TEST_LOOP_f_i): Likewise.
7566 (RUN_TEST_f_i_tg): Likewise.
7567 (RUN_TEST_LOOP_f_i_tg): Likewise.
7568 (RUN_TEST_ff_i_tg): Likewise.
7569 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7570 (RUN_TEST_f_b): Likewise.
7571 (RUN_TEST_LOOP_f_b): Likewise.
7572 (RUN_TEST_f_b_tg): Likewise.
7573 (RUN_TEST_LOOP_f_b_tg): Likewise.
7574 (RUN_TEST_f_l): Likewise.
7575 (RUN_TEST_LOOP_f_l): Likewise.
7576 (RUN_TEST_f_L): Likewise.
7577 (RUN_TEST_LOOP_f_L): Likewise.
7578 (RUN_TEST_sincos): Likewise.
7579 (RUN_TEST_LOOP_sincos): Likewise.
7581 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7585 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7586 main case of finite arguments, set rounding mode to FE_TONEAREST
7587 and discard exceptions.
7588 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7590 (remainder_tonearest_test_data): New variable.
7591 (remainder_test_tonearest): New function.
7592 (remainder_towardzero_test_data): New variable.
7593 (remainder_test_towardzero): New function.
7594 (remainder_downward_test_data): New variable.
7595 (remainder_test_downward): New function.
7596 (remainder_upward_test_data): New variable.
7597 (remainder_test_upward): New function.
7598 (main): Call the new test functions.
7600 * math/libm-test.inc (struct test_f_f1_data): Remove field
7602 (struct test_fF_f1_data): Likewise.
7603 (struct test_ffI_f1_data): Likewise.
7604 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7605 based on value of EXTRA_EXPECTED.
7606 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7607 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7608 EXTRA_VAR based on value of EXTRA_EXPECTED.
7609 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7610 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7611 EXTRA_VAR based on value of EXTRA_EXPECTED.
7612 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7613 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7614 EXTRA_VAR based on value of EXTRA_EXPECTED.
7615 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7616 * math/gen-libm-test.pl (parse_args): Don't output initializers
7617 for extra output values.
7619 * math/libm-test.inc (check_int): Expect result to be exactly
7620 equal to expected value and do not handle ulps.
7621 (check_long): Likewise.
7622 (check_longlong): Likewise.
7624 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7626 (cimag_test_data): Likewise.
7627 (conj_test_data): Likewise.
7628 (copysign_test_data): Likewise.
7629 (cproj_test_data): Likewise.
7630 (creal_test_data): Likewise.
7631 (fabs_test_data): Likewise.
7632 (fdim_test_data): Likewise.
7633 (finite_test_data): Likewise.
7634 (floor_test_data): Likewise.
7635 (fmax_test_data): Likewise.
7636 (fmin_test_data): Likewise.
7637 (fmod_test_data): Likewise.
7638 (fpclassify_test_data): Likewise.
7639 (frexp_test_data): Likewise.
7640 (ilogb_test_data): Likewise.
7641 (isfinite_test_data): Likewise.
7642 (isgreater_test_data): Likewise.
7643 (isgreaterequal_test_data): Likewise.
7644 (isinf_test_data): Likewise.
7645 (isless_test_data): Likewise.
7646 (islessequal_test_data): Likewise.
7647 (islessgreater_test_data): Likewise.
7648 (isnan_test_data): Likewise.
7649 (isnormal_test_data): Likewise.
7650 (issignaling_test_data): Likewise.
7651 (isunordered_test_data): Likewise.
7652 (ldexp_test_data): Likewise.
7653 (lrint_test_data): Likewise.
7654 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7655 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7656 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7657 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7658 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7659 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7661 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7662 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7663 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7664 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7666 (lrint_downward_test_data): Test for "inexact" exceptions.
7667 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7668 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7669 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7671 (lrint_upward_test_data): Test for "inexact" exceptions.
7672 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7674 (llrint_test_data): Test for "inexact" exceptions.
7675 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7676 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7677 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7678 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7679 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7680 (llrint_downward_test_data): Test for "inexact" exceptions.
7681 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7682 (llrint_upward_test_data): Test for "inexact" exceptions.
7683 (logb_test_data): Likewise.
7684 (logb_downward_test_data): Likewise.
7685 (nextafter_test_data): Likewise.
7686 (nexttoward_test_data): Likewise.
7687 (remainder_test_data): Likewise.
7688 (remquo_test_data): Likewise.
7689 (scalbn_test_data): Likewise.
7690 (scalbln_test_data): Likewise.
7691 (signbit_test_data): Likewise.
7692 (sqrt_test_data): Likewise.
7693 (significand_test_data): Likewise.
7695 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7698 * benchtests/bench-modf.c (struct args): Mark arg0 as
7700 * scripts/bench.pl: Mark members of struct args as volatile.
7702 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7705 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7706 negative infinity on POWER6 or lower.
7707 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7709 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7712 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7713 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7714 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7715 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7716 (_FP_SETQNAN): New macro.
7717 (_FP_SETQNAN_SEMIRAW): Likewise.
7718 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7719 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7720 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7721 (FP_EXTEND): Use _FP_FRAC_SNANP.
7722 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7723 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7730 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7732 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7733 with DIVIDE_BY_ZERO_EXCEPTION.
7734 (gamma_test_data): Likewise.
7735 (lgamma_test_data): Likewise.
7736 (log_test_data): Likewise.
7737 (log10_test_data): Likewise.
7738 (log2_test_data): Likewise.
7739 (tgamma_test_data): Likewise.
7741 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7742 (acos_test_tonearest): Likewise.
7743 (acos_test_towardzero): Likewise.
7744 (acos_test_downward): Likewise.
7745 (acos_test_upward): Likewise.
7746 (acosh_test): Likewise.
7747 (asin_test): Likewise.
7748 (asin_test_tonearest): Likewise.
7749 (asin_test_towardzero): Likewise.
7750 (asin_test_downward): Likewise.
7751 (asin_test_upward): Likewise.
7752 (asinh_test): Likewise.
7753 (atan_test): Likewise.
7754 (atanh_test): Likewise.
7755 (atan2_test): Likewise.
7756 (cabs_test): Likewise.
7757 (cacos_test): Likewise.
7758 (cacosh_test): Likewise.
7759 (casin_test): Likewise.
7760 (casinh_test): Likewise.
7761 (catan_test): Likewise.
7762 (catanh_test): Likewise.
7763 (cbrt_test): Likewise.
7764 (ccos_test): Likewise.
7765 (ccosh_test): Likewise.
7766 (cexp_test): Likewise.
7767 (clog_test): Likewise.
7768 (clog10_test): Likewise.
7769 (cos_test): Likewise.
7770 (cos_test_tonearest): Likewise.
7771 (cos_test_towardzero): Likewise.
7772 (cos_test_downward): Likewise.
7773 (cos_test_upward): Likewise.
7774 (cosh_test): Likewise.
7775 (cosh_test_tonearest): Likewise.
7776 (cosh_test_towardzero): Likewise.
7777 (cosh_test_downward): Likewise.
7778 (cosh_test_upward): Likewise.
7779 (cpow_test): Likewise.
7780 (csin_test): Likewise.
7781 (csinh_test): Likewise.
7782 (csqrt_test): Likewise.
7783 (ctan_test): Likewise.
7784 (ctan_test_tonearest): Likewise.
7785 (ctan_test_towardzero): Likewise.
7786 (ctan_test_downward): Likewise.
7787 (ctan_test_upward): Likewise.
7788 (ctanh_test): Likewise.
7789 (ctanh_test_tonearest): Likewise.
7790 (ctanh_test_towardzero): Likewise.
7791 (ctanh_test_downward): Likewise.
7792 (ctanh_test_upward): Likewise.
7793 (erf_test): Likewise.
7794 (erfc_test): Likewise.
7795 (exp_test): Likewise.
7796 (exp_test_tonearest): Likewise.
7797 (exp_test_towardzero): Likewise.
7798 (exp_test_downward): Likewise.
7799 (exp_test_upward): Likewise.
7800 (exp10_test): Likewise.
7801 (exp2_test): Likewise.
7802 (expm1_test): Likewise.
7803 (fmod_test): Likewise.
7804 (gamma_test): Likewise.
7805 (hypot_test): Likewise.
7806 (j0_test): Likewise.
7807 (j1_test): Likewise.
7808 (jn_test): Likewise.
7809 (lgamma_test): Likewise.
7810 (log_test): Likewise.
7811 (log10_test): Likewise.
7812 (log1p_test): Likewise.
7813 (log2_test): Likewise.
7814 (logb_test_downward): Likewise.
7815 (pow_test): Likewise.
7816 (pow_test_tonearest): Likewise.
7817 (pow_test_towardzero): Likewise.
7818 (pow_test_downward): Likewise.
7819 (pow_test_upward): Likewise.
7820 (remainder_test): Likewise.
7821 (remquo_test): Likewise.
7822 (sin_test): Likewise.
7823 (sin_test_tonearest): Likewise.
7824 (sin_test_towardzero): Likewise.
7825 (sin_test_downward): Likewise.
7826 (sin_test_upward): Likewise.
7827 (sincos_test): Likewise.
7828 (sinh_test): Likewise.
7829 (sinh_test_tonearest): Likewise.
7830 (sinh_test_towardzero): Likewise.
7831 (sinh_test_downward): Likewise.
7832 (sinh_test_upward): Likewise.
7833 (sqrt_test): Likewise.
7834 (tan_test): Likewise.
7835 (tan_test_tonearest): Likewise.
7836 (tan_test_towardzero): Likewise.
7837 (tan_test_downward): Likewise.
7838 (tan_test_upward): Likewise.
7839 (tanh_test): Likewise.
7840 (tgamma_test): Likewise.
7841 (y0_test): Likewise.
7842 (y1_test): Likewise.
7843 (yn_test): Likewise.
7845 * math/gen-libm-test.pl (adjust_arg): Remove function.
7846 (special_function): Remove argument $in_func. Only handle
7847 generating output for tables of tests, not inside functions.
7848 (parse_args): Likewise.
7849 (generate_testfile): Remove variable $in_func. Update call to
7851 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7852 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7853 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7854 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7855 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7856 (MAX_VALUE_INIT): Rename macro to max_value.
7857 (MIN_VALUE_INIT): Rename macro to min_value.
7858 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7859 (plus_zero): Remove variable.
7860 (minus_zero): Likewise.
7861 (plus_infty): Likewise.
7862 (minus_infty): Likewise.
7863 (qnan_value): Likewise.
7864 (max_value): Likewise.
7865 (min_value): Likewise.
7866 (min_subnorm_value): Likewise.
7868 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7870 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7871 uint64_t or uint32_t usage.
7872 * crypt/sha256-block.c: Likewise.
7873 * crypt/sha256-crypt.c: Likewise.
7874 * crypt/sha256.c: Likewise.
7875 * crypt/sha512-block.c: Likewise.
7876 * crypt/sha512-crypt.c: Likewise.
7877 * crypt/sha512.c: Likewise.
7878 * debug/backtrace-tst.c: Likewise.
7879 * debug/pcprofiledump.c: Likewise.
7880 * elf/cache.c: Likewise.
7881 * elf/dl-cache.c: Likewise.
7882 * elf/dl-misc.c: Likewise.
7883 * elf/dl-profile.c: Likewise.
7884 * elf/dl-support.c: Likewise.
7885 * elf/ldconfig.c: Likewise.
7886 * elf/sprof.c: Likewise.
7887 * iconv/dummy-repertoire.c: Likewise.
7888 * iconv/iconv_charmap.c: Likewise.
7889 * iconv/skeleton.c: Likewise.
7890 * iconvdata/8bit-generic.c: Likewise.
7891 * iconvdata/cp737.h: Likewise.
7892 * iconvdata/cp775.h: Likewise.
7893 * iconvdata/ibm1008.h: Likewise.
7894 * iconvdata/ibm1025.h: Likewise.
7895 * iconvdata/ibm1046.h: Likewise.
7896 * iconvdata/ibm1097.h: Likewise.
7897 * iconvdata/ibm1112.h: Likewise.
7898 * iconvdata/ibm1122.h: Likewise.
7899 * iconvdata/ibm1123.h: Likewise.
7900 * iconvdata/ibm1124.h: Likewise.
7901 * iconvdata/ibm1129.h: Likewise.
7902 * iconvdata/ibm1130.h: Likewise.
7903 * iconvdata/ibm1132.h: Likewise.
7904 * iconvdata/ibm1133.h: Likewise.
7905 * iconvdata/ibm1137.h: Likewise.
7906 * iconvdata/ibm1140.h: Likewise.
7907 * iconvdata/ibm1141.h: Likewise.
7908 * iconvdata/ibm1142.h: Likewise.
7909 * iconvdata/ibm1143.h: Likewise.
7910 * iconvdata/ibm1144.h: Likewise.
7911 * iconvdata/ibm1145.h: Likewise.
7912 * iconvdata/ibm1146.h: Likewise.
7913 * iconvdata/ibm1147.h: Likewise.
7914 * iconvdata/ibm1148.h: Likewise.
7915 * iconvdata/ibm1149.h: Likewise.
7916 * iconvdata/ibm1153.h: Likewise.
7917 * iconvdata/ibm1154.h: Likewise.
7918 * iconvdata/ibm1155.h: Likewise.
7919 * iconvdata/ibm1156.h: Likewise.
7920 * iconvdata/ibm1157.h: Likewise.
7921 * iconvdata/ibm1158.h: Likewise.
7922 * iconvdata/ibm1160.h: Likewise.
7923 * iconvdata/ibm1161.h: Likewise.
7924 * iconvdata/ibm1162.h: Likewise.
7925 * iconvdata/ibm1163.h: Likewise.
7926 * iconvdata/ibm1164.h: Likewise.
7927 * iconvdata/ibm1166.h: Likewise.
7928 * iconvdata/ibm1167.h: Likewise.
7929 * iconvdata/ibm12712.h: Likewise.
7930 * iconvdata/ibm1390.h: Likewise.
7931 * iconvdata/ibm1399.h: Likewise.
7932 * iconvdata/ibm16804.h: Likewise.
7933 * iconvdata/ibm4517.h: Likewise.
7934 * iconvdata/ibm4899.h: Likewise.
7935 * iconvdata/ibm4909.h: Likewise.
7936 * iconvdata/ibm4971.h: Likewise.
7937 * iconvdata/ibm5347.h: Likewise.
7938 * iconvdata/ibm803.h: Likewise.
7939 * iconvdata/ibm856.h: Likewise.
7940 * iconvdata/ibm901.h: Likewise.
7941 * iconvdata/ibm902.h: Likewise.
7942 * iconvdata/ibm9030.h: Likewise.
7943 * iconvdata/ibm9066.h: Likewise.
7944 * iconvdata/ibm921.h: Likewise.
7945 * iconvdata/ibm922.h: Likewise.
7946 * iconvdata/ibm9448.h: Likewise.
7947 * iconvdata/isiri-3342.h: Likewise.
7948 * iconvdata/jis0201.h: Likewise.
7949 * include/link.h: Likewise.
7950 * include/netdb.h: Likewise.
7951 * inet/check_native.c: Likewise.
7952 * inet/check_pf.c: Likewise.
7953 * inet/getipv4sourcefilter.c: Likewise.
7954 * inet/getnameinfo.c: Likewise.
7955 * inet/getsourcefilter.c: Likewise.
7956 * inet/htonl.c: Likewise.
7957 * inet/setipv4sourcefilter.c: Likewise.
7958 * inet/setsourcefilter.c: Likewise.
7959 * inet/test-inet6_opt.c: Likewise.
7960 * inet/tst-network.c: Likewise.
7961 * locale/C-collate.c: Likewise.
7962 * locale/C-ctype.c: Likewise.
7963 * locale/C-time.c: Likewise.
7964 * locale/C-translit.h: Likewise.
7965 * locale/loadarchive.c: Likewise.
7966 * locale/programs/3level.h: Likewise.
7967 * locale/programs/charmap.c: Likewise.
7968 * locale/programs/charmap.h: Likewise.
7969 * locale/programs/ld-address.c: Likewise.
7970 * locale/programs/ld-collate.c: Likewise.
7971 * locale/programs/ld-ctype.c: Likewise.
7972 * locale/programs/ld-identification.c: Likewise.
7973 * locale/programs/ld-measurement.c: Likewise.
7974 * locale/programs/ld-messages.c: Likewise.
7975 * locale/programs/ld-monetary.c: Likewise.
7976 * locale/programs/ld-name.c: Likewise.
7977 * locale/programs/ld-numeric.c: Likewise.
7978 * locale/programs/ld-paper.c: Likewise.
7979 * locale/programs/ld-telephone.c: Likewise.
7980 * locale/programs/ld-time.c: Likewise.
7981 * locale/programs/linereader.c: Likewise.
7982 * locale/programs/locale.c: Likewise.
7983 * locale/programs/locarchive.c: Likewise.
7984 * locale/programs/locfile.h: Likewise.
7985 * locale/programs/repertoire.c: Likewise.
7986 * locale/programs/simple-hash.c: Likewise.
7987 * locale/programs/simple-hash.h: Likewise.
7988 * malloc/memusage.c: Likewise.
7989 * malloc/memusagestat.c: Likewise.
7990 * nis/nis_defaults.c: Likewise.
7991 * nis/nis_hash.c: Likewise.
7992 * nis/nis_print.c: Likewise.
7993 * nis/nis_xdr.c: Likewise.
7994 * nscd/connections.c: Likewise.
7995 * nscd/hstcache.c: Likewise.
7996 * nscd/nscd_gethst_r.c: Likewise.
7997 * nscd/nscd_getserv_r.c: Likewise.
7998 * nscd/nscd_helper.c: Likewise.
7999 * nscd/servicescache.c: Likewise.
8000 * nss/makedb.c: Likewise.
8001 * nss/nss_db/db-XXX.c: Likewise.
8002 * nss/nss_db/db-initgroups.c: Likewise.
8003 * nss/nss_db/db-netgrp.c: Likewise.
8004 * nss/nss_files/files-network.c: Likewise.
8005 * nss/nss_files/files-parse.c: Likewise.
8006 * posix/bug-regex5.c: Likewise.
8007 * posix/fnmatch_loop.c: Likewise.
8008 * posix/regcomp.c: Likewise.
8009 * posix/regexec.c: Likewise.
8010 * posix/tst-rfc3484-2.c: Likewise.
8011 * posix/tst-rfc3484-3.c: Likewise.
8012 * posix/tst-rfc3484.c: Likewise.
8013 * resolv/nss_dns/dns-canon.c: Likewise.
8014 * resolv/nss_dns/dns-network.c: Likewise.
8015 * resolv/res_init.c: Likewise.
8016 * resolv/res_mkquery.c: Likewise.
8017 * resolv/tst-aton.c: Likewise.
8018 * stdlib/cxa_atexit.c: Likewise.
8019 * stdlib/cxa_finalize.c: Likewise.
8020 * stdlib/gen-fpioconst.c: Likewise.
8021 * stdlib/strtol_l.c: Likewise.
8022 * string/tst-endian.c: Likewise.
8023 * sunrpc/auth_des.c: Likewise.
8024 * sunrpc/clnt_udp.c: Likewise.
8025 * sunrpc/rtime.c: Likewise.
8026 * sunrpc/svcauth_des.c: Likewise.
8027 * sunrpc/xdr.c: Likewise.
8028 * sunrpc/xdr_intXX_t.c: Likewise.
8029 * sunrpc/xdr_rec.c: Likewise.
8030 * sysdeps/generic/ldconfig.h: Likewise.
8031 * sysdeps/generic/ldsodefs.h: Likewise.
8032 * sysdeps/generic/memusage.h: Likewise.
8033 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8036 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8043 * sysdeps/posix/getaddrinfo.c: Likewise.
8044 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8045 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8046 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8047 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8048 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8049 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8050 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8051 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8052 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8053 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8054 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8055 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8056 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8057 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8059 * sysdeps/x86_64/dl-tls.h: Likewise.
8060 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8061 * time/alt_digit.c: Likewise.
8062 * time/era.c: Likewise.
8063 * wcsmbs/tst-c16c32-1.c: Likewise.
8065 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8067 * math/libm-test.inc (struct test_sincos_data): New type.
8068 (RUN_TEST_LOOP_sincos): New macro.
8069 (sincos_test_data): New variable.
8070 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8072 2013-05-16 Richard Henderson <rth@redhat.com>
8074 * math/atest-exp2.c (LIMB64): New macro.
8075 (CONSTSZ): New macro.
8076 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8078 (print_mpn_fp): ... to function scope.
8079 (read_mpn_hex): Remove.
8081 (exp2_mpn): Use mp_log2.
8082 (main): Use mp_exp1.
8084 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8086 * math/libm-test.inc: Remove comment about not testing "inexact"
8088 (INEXACT_EXCEPTION): New macro.
8089 (NO_INEXACT_EXCEPTION): Likewise.
8090 (INVALID_EXCEPTION_OK): Update value.
8091 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8092 (OVERFLOW_EXCEPTION_OK): Likewise.
8093 (UNDERFLOW_EXCEPTION_OK): Likewise.
8094 (IGNORE_ZERO_INF_SIGN): Likewise.
8095 (ERRNO_UNCHANGED): Likewise.
8096 (ERRNO_EDOM): Likewise.
8097 (ERRNO_ERANGE): Likewise.
8098 (test_exceptions): Handle testing "inexact" exceptions.
8099 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8100 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8101 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8102 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8104 (rint_towardzero_test_data): Likewise.
8105 (rint_downward_test_data): Likewise.
8106 (rint_upward_test_data): Likewise.
8108 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8109 with OVERFLOW_EXCEPTION.
8110 (exp10_test_data): Likewise.
8111 (exp2_test_data): Likewise.
8112 (expm1_test_data): Likewise.
8113 (lgamma_test_data): Likewise.
8114 (pow_test_data): Likewise.
8115 (tgamma_test_data): Likewise.
8116 (yn_test_data): Remove duplicate test of overflow.
8118 * math/libm-test.inc (struct test_cc_c_data): New type.
8119 (RUN_TEST_LOOP_cc_c): New macro.
8120 (cpow_test_data): New variable.
8121 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8123 * math/libm-test.inc (struct test_f_L_data): New type.
8124 (RUN_TEST_LOOP_f_L): New macro.
8125 (llrint_test_data): New variable.
8126 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8127 (llrint_tonearest_test_data): New variable.
8128 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8129 (llrint_towardzero_test_data): New variable.
8130 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8131 (llrint_downward_test_data): New variable.
8132 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8133 (llrint_upward_test_data): New variable.
8134 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8135 (llround_test_data): New variable.
8136 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8138 2013-05-13 Peter Collingbourne <pcc@google.com>
8140 * math/atest-exp2.c (get_log2): Remove const attribute.
8142 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8144 * math/libm-test.inc (struct test_f_l_data): New type.
8145 (RUN_TEST_LOOP_f_l): New macro.
8146 (lrint_test_data): New variable.
8147 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8148 (lrint_tonearest_test_data): New variable.
8149 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8150 (lrint_towardzero_test_data): New variable.
8151 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8152 (lrint_downward_test_data): New variable.
8153 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8154 (lrint_upward_test_data): New variable.
8155 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8156 (lround_test_data): New variable.
8157 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8159 2013-05-15 Peter Collingbourne <pcc@google.com>
8161 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8162 (EXTRACT_WORDS64) Use where appropriate.
8163 (INSERT_WORDS64) Likewise.
8165 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8166 constraints with x constraints.
8167 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8169 * malloc/obstack.c (_obstack_compat): Add initializer.
8171 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8173 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8174 si_trapno and add si_addr_lsb to _sifields.sigfault.
8175 (si_trapno): Remove macro.
8176 (si_addr_lsb): Define new macro.
8177 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8179 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8181 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8182 instead of TEST_f_l.
8183 (llrint_test_tonearest): Likewise.
8184 (llrint_test_towardzero): Likewise.
8185 (llrint_test_downward): Likewise.
8186 (llrint_test_upward): Likewise.
8187 (llround_test): Likewise.
8189 * math/libm-test.inc (struct test_f_i_data): Add comment.
8190 (RUN_TEST_LOOP_f_b): New macro.
8191 (RUN_TEST_LOOP_f_b_tg): Likewise.
8192 (finite_test_data): New variable.
8193 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8194 (isfinite_test_data): New variable.
8195 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8196 (isinf_test_data): New variable.
8197 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8198 (isnan_test_data): New variable.
8199 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8200 (isnormal_test_data): New variable.
8201 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8202 (issignaling_test_data): New variable.
8203 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8204 (signbit_test_data): New variable.
8205 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8207 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8208 with INVALID_EXCEPTION.
8209 (acosh_test_data): Likewise.
8210 (asin_test_data): Likewise.
8211 (atanh_test_data): Likewise.
8212 (fmod_test_data): Likewise.
8213 (log_test_data): Likewise.
8214 (log10_test_data): Likewise.
8215 (log2_test_data): Likewise.
8216 (pow_test_data): Likewise.
8217 (sqrt_test_data): Likewise.
8218 (y0_test_data): Likewise.
8219 (y1_test_data): Likewise.
8220 (yn_test_data): Likewise.
8222 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8225 * math/libm-test.inc (struct test_ff_i_data): New type.
8226 (RUN_TEST_LOOP_ff_i_tg): New macro.
8227 (isgreater_test_data): New variable.
8228 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8229 (isgreaterequal_test_data): New variable.
8230 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8231 (isless_test_data): New variable.
8232 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8233 (islessequal_test_data): New variable.
8234 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8235 (islessgreater_test_data): New variable.
8236 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8237 (isunordered_test_data): New variable.
8238 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8240 2013-05-14 David S. Miller <davem@davemloft.net>
8242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8244 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8246 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8248 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8250 (struct test_f_i_data): Change type of max_ulp to int.
8252 * math/libm-test.inc (test_ffI_f1_data): New type.
8253 (RUN_TEST_LOOP_ffI_f1): New macro.
8254 (remquo_test_data): New variable.
8255 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8257 * setjmp/tst-setjmp-fp.c: New file.
8258 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8259 (link-libm): New variable.
8260 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8262 * math/libm-test.inc (struct test_f_i_data): New type.
8263 (RUN_TEST_LOOP_f_i): New macro.
8264 (RUN_TEST_LOOP_f_i_tg): Likewise.
8265 (fpclassify_test_data): New variable.
8266 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8267 (ilogb_test_data): New variable.
8268 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8270 * math/libm-test.inc (scalbln_test): Correct function name in END
8273 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8274 (RUN_TEST_LOOP_fI_f1): New macro.
8275 (frexp_test_data): New variable.
8276 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8278 * math/libm-test.inc (struct test_fF_f1_data): New type.
8279 (RUN_TEST_LOOP_fF_f1): New macro.
8280 (modf_test_data): New variable.
8281 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8283 * math/libm-test.inc (struct test_f_f1_data): New type.
8284 (RUN_TEST_LOOP_f_f1): New macro.
8285 (gamma_test_data): New variable.
8286 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8287 (lgamma_test_data): New variable.
8288 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8290 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8292 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8293 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8294 (main): Comment "tls" pseudo-hwcap.
8296 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8298 * math/libm-test.inc (struct test_fl_f_data): New type.
8299 (RUN_TEST_LOOP_fl_f): New variable.
8300 (scalbln_test_data): New variable.
8301 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8303 * math/libm-test.inc (struct test_fi_f_data): New type.
8304 (RUN_TEST_LOOP_fi_f): New macro.
8305 (ldexp_test_data): New variable.
8306 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8307 (scalbn_test_data): New variable.
8308 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8310 * math/libm-test.inc (struct test_c_f_data): New type.
8311 (RUN_TEST_LOOP_c_f): New macro.
8312 (cabs_test_data): New variable.
8313 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8314 (carg_test_data): New variable.
8315 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8316 (cimag_test_data): New variable.
8317 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8318 (creal_test_data): New variable.
8319 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8321 * math/libm-test.inc (struct test_if_f_data): New type.
8322 (RUN_TEST_LOOP_if_f): New macro.
8323 (jn_test_data): New variable.
8324 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8325 (yn_test_data): New variable.
8326 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8328 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8330 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8332 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8333 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8335 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8337 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8338 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8339 (bench-deps): Add bench-timing.h.
8340 * benchtests-bench-skeleton.c: Include bench-timing.h.
8341 (main): Use TIMING_* macros instead of clock_gettime.
8342 * benchtests/bench-timing.h: New file.
8345 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8346 Renamed from _LIB_VERSION.
8347 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8349 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8351 * math/libm-test.inc (struct test_fff_f_data): New type.
8352 (RUN_TEST_LOOP_fff_f): New macro.
8353 (fma_test_data): New variable.
8354 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8355 (fma_towardzero_test_data): New variable.
8356 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8357 (fma_downward_test_data): New variable.
8358 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8359 (fma_upward_test_data): New variable.
8360 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8362 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8363 (struct test_c_c_data): New type.
8364 (RUN_TEST_LOOP_c_c): New macro.
8365 (cacos_test_data): New variable.
8366 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8367 (cacosh_test_data): New variable.
8368 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8369 (casin_test_data): New variable.
8370 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8371 (casinh_test_data): New variable.
8372 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8373 (catan_test_data): New variable.
8374 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8375 (catanh_test_data): New variable.
8376 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8377 (ccos_test_data): New variable.
8378 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8379 (ccosh_test_data): New variable.
8380 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8381 (cexp_test_data): New variable.
8382 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8383 (clog_test_data): New variable.
8384 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8385 (clog10_test_data): New variable.
8386 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8387 (conj_test_data): New variable.
8388 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8389 (cproj_test_data): New variable.
8390 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8391 (csin_test_data): New variable.
8392 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8393 (csinh_test_data): New variable.
8394 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8395 (csqrt_test_data): New variable.
8396 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8397 (ctan_test_data): New variable.
8398 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8399 (ctan_tonearest_test_data): New variable.
8400 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8401 (ctan_towardzero_test_data): New variable.
8402 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8403 (ctan_downward_test_data): New variable.
8404 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8405 (ctan_upward_test_data): New variable.
8406 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8407 (ctanh_test_data): New variable.
8408 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8409 (ctanh_tonearest_test_data): New variable.
8410 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8411 (ctanh_towardzero_test_data): New variable.
8412 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8413 (ctanh_downward_test_data): New variable.
8414 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8415 (ctanh_upward_test_data): New variable.
8416 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8417 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8420 * math/libm-test.inc (struct test_ff_f_data): New type.
8421 (struct test_ff_f_data_nexttoward): Likewise.
8422 (RUN_TEST_LOOP_2_f): New macro.
8423 (RUN_TEST_LOOP_ff_f): Likewise.
8424 (atan2_test_data): New variable.
8425 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8426 (copysign_test_data): New variable.
8427 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8428 (fdim_test_data): New variable.
8429 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8430 (fmax_test_data): New variable.
8431 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8432 (fmin_test_data): New variable.
8433 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8434 (fmod_test_data): New variable.
8435 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8436 (hypot_test_data): New variable.
8437 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8438 (nextafter_test_data): New variable.
8439 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8440 (nexttoward_test_data): New variable.
8441 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8442 (pow_test_data): New variable.
8443 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8444 (pow_tonearest_test_data): New variable.
8445 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8446 (pow_towardzero_test_data): New variable.
8447 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8448 (pow_downward_test_data): New variable.
8449 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8450 (pow_upward_test_data): New variable.
8451 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8452 (remainder_test_data): New variable.
8453 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8454 (scalb_test_data): New variable.
8455 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8456 * sysdeps/i386/fpu/libm-test-ulps: Update.
8458 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8460 * math/libm-test.inc (fma_test): Use max_value instead of local
8462 (nextafter_test): Likewise.
8464 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8465 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8466 (acos_downward_test_data): New variable.
8467 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8468 (acos_upward_test_data): New variable.
8469 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8470 (acosh_test_data): New variable.
8471 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8472 (asin_test_data): New variable.
8473 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8474 (asin_tonearest_test_data): New variable.
8475 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8476 (asin_towardzero_test_data): New variable.
8477 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8478 (asin_downward_test_data): New variable.
8479 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8480 (asin_upward_test_data): New variable.
8481 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8482 (asinh_test_data): New variable.
8483 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8484 (atan_test_data): New variable.
8485 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8486 (atanh_test_data): New variable.
8487 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8488 (cbrt_test_data): New variable.
8489 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8490 (ceil_test_data): New variable.
8491 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8492 (cos_test_data): New variable.
8493 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8494 (cos_tonearest_test_data): New variable.
8495 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8496 (cos_towardzero_test_data): New variable.
8497 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8498 (cos_downward_test_data): New variable.
8499 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8500 (cos_upward_test_data): New variable.
8501 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8502 (cosh_test_data): New variable.
8503 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8504 (cosh_tonearest_test_data): New variable.
8505 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8506 (cosh_towardzero_test_data): New variable.
8507 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8508 (cosh_downward_test_data): New variable.
8509 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8510 (cosh_upward_test_data): New variable.
8511 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8512 (erf_test_data): New variable.
8513 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8514 (erfc_test_data): New variable.
8515 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8516 (exp_test_data): New variable.
8517 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8518 (exp_tonearest_test_data): New variable.
8519 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8520 (exp_towardzero_test_data): New variable.
8521 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8522 (exp_downward_test_data): New variable.
8523 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8524 (exp_upward_test_data): New variable.
8525 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8526 (exp10_test_data): New variable.
8527 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8528 (exp2_test_data): New variable.
8529 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8530 (expm1_test_data): New variable.
8531 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8532 (fabs_test_data): New variable.
8533 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8534 (floor_test_data): New variable.
8535 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8536 (j0_test_data): New variable.
8537 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8538 (j1_test_data): New variable.
8539 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8540 (log_test_data): New variable.
8541 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8542 (log10_test_data): New variable.
8543 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8544 (log1p_test_data): New variable.
8545 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8546 (log2_test_data): New variable.
8547 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8548 (logb_test_data): New variable.
8549 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8550 (logb_downward_test_data): New variable.
8551 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8552 (nearbyint_test_data): New variable.
8553 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8554 (rint_test_data): New variable.
8555 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8556 (rint_tonearest_test_data): New variable.
8557 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8558 (rint_towardzero_test_data): New variable.
8559 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8560 (rint_downward_test_data): New variable.
8561 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8562 (rint_upward_test_data): New variable.
8563 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8564 (round_test_data): New variable.
8565 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8566 (sin_test_data): New variable.
8567 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8568 (sin_tonearest_test_data): New variable.
8569 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8570 (sin_towardzero_test_data): New variable.
8571 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8572 (sin_downward_test_data): New variable.
8573 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8574 (sin_upward_test_data): New variable.
8575 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8576 (sinh_test_data): New variable.
8577 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8578 (sinh_tonearest_test_data): New variable.
8579 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8580 (sinh_towardzero_test_data): New variable.
8581 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8582 (sinh_downward_test_data): New variable.
8583 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8584 (sinh_upward_test_data): New variable.
8585 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8586 (sqrt_test_data): New variable.
8587 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8588 (tan_test_data): New variable.
8589 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8590 (tan_tonearest_test_data): New variable.
8591 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8592 (tan_towardzero_test_data): New variable.
8593 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8594 (tan_downward_test_data): New variable.
8595 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8596 (tan_upward_test_data): New variable.
8597 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8598 (tanh_test_data): New variable.
8599 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8600 (tgamma_test_data): New variable.
8601 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8602 (trunc_test_data): New variable.
8603 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8604 (y0_test_data): New variable.
8605 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8606 (y1_test_data): New variable.
8607 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8608 (significand_test_data): New variable.
8609 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8611 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8614 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8616 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8618 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8620 2013-05-10 Andreas Jaeger <aj@suse.de>
8623 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8624 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8626 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8628 * math/gen-libm-test.pl (adjust_arg): New function.
8629 (special_functions): Handle generating output in both functions
8631 (parse_args): Likewise.
8632 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8633 $in_func argument to parse_args.
8634 * math/libm-test.inc (struct test_f_f_data): New type.
8635 (IF_ROUND_INIT_): New macro.
8636 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8637 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8638 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8639 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8640 (ROUND_RESTORE_): Likewise.
8641 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8642 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8643 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8644 (ROUND_RESTORE_FE_UPWARD): Likewise.
8645 (RUN_TEST_LOOP_f_f): New macro.
8646 (acos_test_data): New variable.
8647 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8648 (acos_tonearest_test_data): New variable.
8649 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8651 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8653 * benchtests/bench-skeleton.c (startup): Fix coding style.
8655 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8658 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8659 negative infinity argument.
8660 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8661 negative infinity argument.
8662 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8663 negative infinity argument.
8664 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8667 2013-05-10 Florian Weimer <fweimer@redhat.com>
8669 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8670 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8671 * iconv/iconv_prog.c (main): Likewise.
8672 * locale/programs/charmap-dir.c (charmap_readdir)
8673 (fopen_uncompressed): Likewise.
8674 * locale/programs/locfile.c (siblings_uncached)
8675 (write_locale_data): Use lstat64 instead of lstat.
8676 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8679 2013-05-10 Andreas Jaeger <aj@suse.de>
8682 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8686 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8688 * elf/dl-close.c (_dl_close_worker): Add comments.
8690 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8693 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8695 (__ieee754_rem_pio2l): Update comments.
8698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8700 (__ieee754_rem_pio2l): Update comments.
8702 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8703 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8705 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8708 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8709 (M_PI_34_LOG10El): Likewise.
8710 (M_PI2_LOG10El): Likewise.
8711 (M_PI4_LOG10El): Likewise.
8712 (M_PI_LOG10El): Likewise.
8714 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8718 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8720 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8721 (MINUS_ZERO_INIT): Likewise.
8722 (PLUS_INFTY_INIT): Likewise.
8723 (MINUS_INFTY_INIT): Likewise.
8724 (QNAN_VALUE_INIT): Likewise.
8725 (MAX_VALUE_INIT): Likewise.
8726 (MIN_VALUE_INIT): Likewise.
8727 (MIN_SUBNORM_VALUE_INIT): Likewise.
8728 (plus_zero): Initialize with PLUS_ZERO_INIT.
8729 (minus_zero): Initialize with MINUS_ZERO_INIT.
8730 (plus_infty): Initialize with PLUS_INFTY_INIT.
8731 (minus_infty): Initialize with MINUS_INFTY_INIT.
8732 (qnan_value): Initialize with QNAN_VALUE_INIT.
8733 (max_value): Initialize with MAX_VALUE_INIT.
8734 (min_value): Initialize with MIN_VALUE_INIT.
8735 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8737 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8738 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8739 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8740 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8742 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8743 (RUN_TEST_2_f): Likewise.
8744 (RUN_TEST_ff_f): Likewise.
8745 (RUN_TEST_fi_f): Likewise.
8746 (RUN_TEST_fl_f): Likewise.
8747 (RUN_TEST_fff_f): Likewise.
8748 (RUN_TEST_c_f): Likewise.
8749 (RUN_TEST_f_f1): Likewise.
8750 (RUN_TEST_fF_f1): Likewise.
8751 (RUN_TEST_fI_f1): Likewise.
8752 (RUN_TEST_ffI_f1): Likewise.
8753 (RUN_TEST_c_c): Likewise.
8754 (RUN_TEST_cc_c): Likewise.
8755 (RUN_TEST_f_i): Likewise.
8756 (RUN_TEST_f_i_tg): Likewise.
8757 (RUN_TEST_ff_i_tg): Likewise.
8758 (RUN_TEST_f_b): Likewise.
8759 (RUN_TEST_f_b_tg): Likewise.
8760 (RUN_TEST_f_l): Likewise.
8761 (RUN_TEST_f_L): Likewise.
8762 (RUN_TEST_sincos): Likewise.
8763 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8764 whether to show exceptions. Do not include ");\n" in return
8766 (special_functions): Output call to RUN_TEST_sincos instead of
8767 check_float calls. Update calls to new_test.
8768 (parse_args): Output call to single RUN_TEST_* macro instead of
8769 check_* calls and other assignments. Update calls to new_test.
8775 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8776 input to result for tgamma overflow.
8777 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8778 (gamma_coeff): New variable.
8779 (NCOEFF): New macro.
8780 (gamma_positive): New function.
8781 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8782 underflow here. Use gamma_positive instead of exp (lgamma) for
8784 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8785 (gamma_coeff): New variable.
8786 (NCOEFF): New macro.
8787 (gammaf_positive): New function.
8788 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8789 underflow here. Use gamma_positive instead of exp (lgamma) for
8791 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8792 (gamma_coeff): New variable.
8793 (NCOEFF): New macro.
8794 (gammal_positive): New function.
8795 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8796 underflow here. Use gamma_positive instead of exp (lgamma) for
8798 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8799 (gamma_coeff): New variable.
8800 (NCOEFF): New macro.
8801 (gammal_positive): New function.
8802 (__ieee754_gammal_r): Handle positive infinity, overflow and
8803 underflow here. Handle NaN the same as positive infinity. Remove
8804 check x < 0xffffffff for negative integers. Use gamma_positive
8805 instead of exp (lgamma) for other arguments.
8806 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8807 (gamma_coeff): New variable.
8808 (NCOEFF): New macro.
8809 (gammal_positive): New function.
8810 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8811 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8816 * sysdeps/generic/math_private.h (__gamma_productf): New
8818 (__gamma_product): Likewise.
8819 (__gamma_productl): Likewise.
8820 * math/Makefile (libm-calls): Add gamma_product.
8821 * math/libm-test.inc (tgamma_test): Add more tests.
8822 * sysdeps/i386/fpu/libm-test-ulps: Update.
8823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8825 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8827 * benchtests/bench-skeleton.c (main): Preheat CPU.
8829 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8831 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8833 2013-05-07 Roland McGrath <roland@hack.frob.com>
8835 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8836 and _dl_skip_args_internal.
8838 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8840 * manual/message.texi (Message Translation): Talk about users.
8841 Message to key mapping impacts design.
8843 2013-05-06 Roland McGrath <roland@hack.frob.com>
8845 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8847 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8850 * sysdeps/wordsize-64/glob64.c: ... here.
8852 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8853 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8856 * debug/getlogin_r_chk.c: Moved to ...
8857 * login/getlogin_r_chk.c: ... here.
8858 * debug/Makefile (routines): Move getlogin_r_chk to ...
8859 * login/Makefile (routines): ... here.
8860 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8861 * login/Versions (libc: GLIBC_2.4): ... here.
8863 * io/poll.c (__poll): Renamed from poll.
8864 Add libc_hidden_def.
8865 (poll): Define as weak alias.
8867 * debug/ptsname_r_chk.c: Moved to ...
8868 * login/ptsname_r_chk.c: ... here.
8869 * debug/Makefile (routines): Move ptsname_r_chk to ...
8870 * login/Makefile (routines): ... here.
8871 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8872 * login/Versions (libc: GLIBC_2.4): ... here.
8874 * posix/getlogin.c: Moved to ...
8875 * login/getlogin.c: ... here.
8876 * posix/getlogin_r.c: Moved to ...
8877 * login/getlogin_r.c: ... here.
8878 * posix/getlogin_r.c: Moved to ...
8879 * login/getlogin_r.c: ... here.
8880 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8881 * login/Makefile (routines): ... here.
8882 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8883 * login/Versions (libc: GLIBC_2.0): ... here.
8885 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8886 (setrlimit): Define as weak alias.
8888 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8889 Call __ names for open, ftruncate, and close.
8890 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8891 (truncate): Define as weak alias.
8893 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8895 * math/gen-libm-test.pl (parse_args): Initialize x before each
8896 test of frexp, modf and remquo.
8898 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8901 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8905 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8909 2013-05-06 Roland McGrath <roland@hack.frob.com>
8911 * elf/dl-writev.h: New file.
8912 * elf/dl-misc.c: Include it.
8913 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8914 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8916 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8918 * math/libm-test.inc (noXFails): Remove variable.
8919 (noXPasses): Likewise.
8920 (BUILD_COMPLEX_INT): Remove macro.
8921 (print_screen): Remove xfail argument.
8922 (print_screen_max_error): Likewise.
8923 (update_stats): Likewise.
8924 (print_max_error): Likewise. Update calls to other affected
8926 (print_complex_max_error): Likewise.
8927 (test_single_exception): Update calls to print_screen.
8928 (test_single_errno): Likewise.
8929 (check_float_internal): Remove xfail argument. Update calls to
8930 other affected functions.
8931 (check_float): Likewise.
8932 (check_complex): Likewise.
8933 (check_int): Likewise.
8934 (check_long): Likewise.
8935 (check_bool): Likewise.
8936 (check_longlong): Likewise.
8937 (main): Don't print noXFails and noXPasses.
8938 * math/gen-libm-test.pl (top level): Don't mention expected
8939 failure handling in comment.
8940 (new_test): Don't handle expected failures.
8941 (parse_args): Don't mention expected failure handling in comment.
8942 (generate_testfile): Don't handle expected failures.
8943 (parse_ulps): Likewise.
8944 (print_ulps_file): Likewise.
8945 (get_failure): Remove function.
8946 (output_test): Don't handle expected failures.
8947 * make/README.libm-test: Don't mention expected failure handling.
8949 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8950 (minus_zero): Likewise.
8951 (plus_infty): Likewise.
8952 (minus_infty): Likewise.
8953 (qnan_value): Likewise.
8954 (max_value): Likewise.
8955 (min_value): Likewise.
8956 (min_subnorm_value): Likewise.
8957 (initialize): Do not initialize those variables dynamically.
8959 2013-05-03 Roland McGrath <roland@hack.frob.com>
8961 * io/open.c (__open_2): Moved to ...
8962 * io/open_2.c: ... this new file.
8963 * io/open64.c (__open64_2): Moved to ...
8964 * io/open64_2.c: ... this new file.
8965 * io/openat.c (__openat_2): Moved to ...
8966 * io/openat_2.c: ... this new file.
8967 * io/openat64.c (__openat64_2): Moved to ...
8968 * io/openat64_2.c: ... this new file.
8969 * io/Makefile (routines): Add them.
8970 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8971 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8972 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8973 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8974 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8975 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8976 (__openat64): Add hidden_ver.
8977 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8978 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8980 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8981 Separately conditionalize setting of GLRO(dl_sysinfo) so
8982 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8983 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8985 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8987 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8990 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8991 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8992 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8993 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8994 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8996 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8998 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9001 * math/libm-test.inc (hypot_test): Do not use
9002 IGNORE_ZERO_INF_SIGN.
9004 2013-05-03 Andreas Jaeger <aj@suse.de>
9006 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9008 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9009 (PF_MAX): Adjust for VSOCK change.
9011 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9015 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9018 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9019 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9020 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9022 2013-05-02 David S. Miller <davem@davemloft.net>
9024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9026 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9028 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9030 2013-05-01 Roland McGrath <roland@hack.frob.com>
9032 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9034 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9037 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9038 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9039 Use __attribute__ ((__gnu_inline__)).
9040 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9041 Don't use __attribute__ ((__gnu_inline__)).
9043 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9046 * math/s_catan.c (__catan): Handle small real or imaginary part of
9047 input specially to avoid spurious underflow.
9048 * math/s_catanf.c (__catanf): Likewise.
9049 * math/s_catanh.c (__catanh): Likewise.
9050 * math/s_catanhf.c (__catanhf): Likewise.
9051 * math/s_catanhl.c (__catanhl): Likewise.
9052 * math/s_catanl.c (__catanl): Likewise.
9053 * math/libm-test.inc (catan_test): Add more tests.
9054 (catanh_test): Likewise.
9055 * sysdeps/i386/fpu/libm-test-ulps: Update.
9056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9058 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9062 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9065 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9066 accurately for denominator in atan2.
9067 * math/s_catanf.c (__catanf): Likewise.
9068 * math/s_catanh.c (__catanh): Likewise.
9069 * math/s_catanhf.c (__catanhf): Likewise.
9070 * math/s_catanhl.c (__catanhl): Likewise.
9071 * math/s_catanl.c (__catanl): Likewise.
9072 * math/libm-test.inc (catan_test): Add more tests.
9073 (catanh_test): Likewise.
9074 * sysdeps/i386/fpu/libm-test-ulps: Update.
9075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9077 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9079 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9081 * benchtests/Makefile (bench): Remove slow benchmarks.
9082 * benchtests/atan-inputs: Add slow benchmark inputs.
9083 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9084 (BENCH_FUNC): Accept variant offset.
9086 * benchtests/bench-skeleton.c (main): Run benchmark for each
9088 * benchtests/cos-inputs: Add slow benchmark inputs.
9089 * benchtests/exp-inputs: Likewise.
9090 * benchtests/pow-inputs: Likewise.
9091 * benchtests/sin-inputs: Likewise.
9092 * benchtests/slowatan-inputs: Remove.
9093 * benchtests/slowatan.c: Remove.
9094 * benchtests/slowcos-inputs: Remove.
9095 * benchtests/slowcos.c: Remove.
9096 * benchtests/slowexp-inputs: Remove.
9097 * benchtests/slowexp.c: Remove.
9098 * benchtests/slowpow-inputs: Remove.
9099 * benchtests/slowpow.c: Remove.
9100 * benchtests/slowsin-inputs: Remove.
9101 * benchtests/slowsin.c: Remove.
9102 * benchtests/slowtan-inputs: Remove.
9103 * benchtests/slowtan.c: Remove.
9104 * benchtests/tan-inputs: Add slow benchmark inputs.
9105 * scripts/bench.pl: Parse comments and directives.
9107 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9109 ($(objpfx)bench-%.c): Remove *-ITER.
9110 * benchtests/bench-modf.c: Remove definition of ITER.
9111 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9112 (main): Loop for DURATION seconds instead of fixed number of
9114 * scripts/bench.pl: Don't expect iterations in parameters.
9116 2013-04-29 Roland McGrath <roland@hack.frob.com>
9118 * io/fchdir.c (__fchdir): Renamed from fchdir.
9119 (fchdir): Define as weak alias.
9121 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9123 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9124 (ERRNO_EDOM): Likewise.
9125 (ERRNO_ERANGE): Likewise.
9126 (noErrnoTests): New variable.
9127 (init_max_error): Set errno to 0.
9128 (test_single_errno): New function.
9129 (test_errno): Likewise.
9130 (check_float_internal): Call test_errno. Set errno to 0.
9131 (check_complex): Refer to errno tests in comment.
9132 (check_int): Call test_errno. Set errno to 0.
9133 (check_long): Likewise.
9134 (check_bool): Likewise.
9135 (check_longlong): Likewise.
9136 (cos_test): Use ERRNO_* flags for errno tests instead of
9138 (expm1_test): Likewise.
9139 (fmod_test): Likewise.
9140 (ilogb_test): Likewise.
9141 (lgamma_test): Likewise.
9142 (pow_test): Likewise.
9143 (remainder_test): Likewise.
9144 (sin_test): Likewise.
9145 (tan_test): Likewise.
9146 (yn_test): Likewise.
9147 (initialize): Set errno to 0.
9148 (main): Print number of errno tests.
9149 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9151 2013-04-29 Andreas Jaeger <aj@suse.de>
9154 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9158 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9159 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9163 * stdlib/random.c (__initstate): Return NULL if
9167 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9168 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9171 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9175 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9177 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9178 of individual tests.
9179 (casin_test): Likewise.
9180 (casinh_test): Likewise.
9182 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9185 * math/s_catan.c (__catan): Handle arguments with large real or
9186 imaginary part separately without squaring.
9187 * math/s_catanf.c (__catanf): Likewise.
9188 * math/s_catanh.c (__catanh): Likewise.
9189 * math/s_catanhf.c (__catanhf): Likewise.
9190 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9192 (__catanhl): Handle arguments with large real or imaginary part
9193 separately without squaring.
9194 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9196 (__catanl): Handle arguments with large real or imaginary part
9197 separately without squaring.
9198 * math/libm-test.inc (catan_test): Add more tests.
9199 (catanh_test): Likewise.
9200 * sysdeps/i386/fpu/libm-test-ulps: Update.
9201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9203 2013-04-27 Andreas Jaeger <aj@suse.de>
9206 * stdlib/stdlib.h: Update guards for qecvt.
9207 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9210 2013-04-27 Allan McRae <allan@archlinux.org>
9212 * sysdeps/i386/fpu/libm-test-ulps: Update.
9214 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9217 * math/s_catan.c: Include <float.h>.
9218 (__catan): Ensure underflow exception occurs for underflowed
9220 * math/s_catanf.c: Include <float.h>.
9221 (__catanf): Ensure underflow exception occurs for underflowed
9223 * math/s_catanh.c: Include <float.h>.
9224 (__catanh): Ensure underflow exception occurs for underflowed
9226 * math/s_catanhf.c: Include <float.h>.
9227 (__catanhf): Ensure underflow exception occurs for underflowed
9229 * math/s_catanhl.c: Include <float.h>.
9230 (__catanhl): Ensure underflow exception occurs for underflowed
9232 * math/s_catanl.c: Include <float.h>.
9233 (__catanl): Ensure underflow exception occurs for underflowed
9235 * math/libm-test.inc (catan_test): Add more tests.
9236 (catanh_test): Likewise.
9239 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9241 * math/s_ccoshf.c (__ccoshf): Likewise.
9242 * math/s_ccoshl.c (__ccoshl): Likewise.
9243 * math/s_csin.c (__csin): Likewise.
9244 * math/s_csinf.c (__csinf): Likewise.
9245 * math/s_csinh.c (__csinh): Likewise.
9246 * math/s_csinhf.c (__csinhf): Likewise.
9247 * math/s_csinhl.c (__csinhl): Likewise.
9248 * math/s_csinl.c (__csinl): Likewise.
9249 * math/libm-test.inc (ccos_test): Add more tests.
9250 (ccosh_test): Likewise.
9251 (csin_test): Likewise.
9252 (csinh_test): Likewise.
9254 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9256 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9257 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9258 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9259 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9260 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9261 powerpc/power5+/fpu folders.
9262 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9265 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9269 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9271 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9272 additions to variable.
9273 [$(config-machine) = x86_64] (modules-names): Likewise.
9274 ($(objpfx)tst-audit3): Remove dependency.
9275 ($(objpfx)tst-audit3.out): Likewise.
9276 ($(objpfx)tst-audit4): Likewise.
9277 ($(objpfx)tst-audit4.out): Likewise.
9278 ($(objpfx)tst-audit5): Likewise.
9279 ($(objpfx)tst-audit5.out): Likewise.
9280 ($(objpfx)tst-audit6): Likewise.
9281 ($(objpfx)tst-audit6.out): Likewise.
9282 ($(objpfx)tst-audit7): Likewise.
9283 ($(objpfx)tst-audit7.out): Likewise.
9284 (tst-audit3-ENV): Remove variable.
9285 (tst-audit4-ENV): Likewise.
9286 (tst-audit5-ENV): Likewise.
9287 (tst-audit6-ENV): Likewise.
9288 (tst-audit7-ENV): Likewise.
9289 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9290 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9291 addition to variable.
9292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9295 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9297 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9298 tst-audit3, tst-audit4 and tst-audit5.
9299 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9300 tst-audit6 and tst-audit7.
9301 [$(subdir) = elf] (modules-names): Add audit modules for those
9303 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9304 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9305 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9306 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9307 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9308 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9309 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9310 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9311 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9312 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9313 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9314 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9315 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9316 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9317 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9318 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9320 [$(subdir) = elf && $(config-cflags-avx) = yes]
9321 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9322 [$(subdir) = elf && $(config-cflags-avx) = yes]
9323 (CFLAGS-tst-auditmod4a.c): Likewise.
9324 [$(subdir) = elf && $(config-cflags-avx) = yes]
9325 (CFLAGS-tst-auditmod4b.c): Likewise.
9326 [$(subdir) = elf && $(config-cflags-avx) = yes]
9327 (CFLAGS-tst-auditmod6b.c): Likewise.
9328 [$(subdir) = elf && $(config-cflags-avx) = yes]
9329 (CFLAGS-tst-auditmod6c.c): Likewise.
9330 [$(subdir) = elf && $(config-cflags-avx) = yes]
9331 (CFLAGS-tst-auditmod7b.c): Likewise.
9332 * elf/tst-audit3.c: Move to ...
9333 * sysdeps/x86_64/tst-audit3.c: ... here.
9334 * elf/tst-audit4.c: Move to ...
9335 * sysdeps/x86_64/tst-audit4.c: ... here.
9336 * elf/tst-audit5.c: Move to ...
9337 * sysdeps/x86_64/tst-audit5.c: ... here.
9338 * elf/tst-audit6.c: Move to ...
9339 * sysdeps/x86_64/tst-audit6.c: ... here.
9340 * elf/tst-audit7.c: Move to ...
9341 * sysdeps/x86_64/tst-audit7.c: ... here.
9342 * elf/tst-auditmod3a.c: Move to ...
9343 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9344 * elf/tst-auditmod3b.c: Move to ...
9345 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9346 * elf/tst-auditmod4a.c: Move to ...
9347 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9348 * elf/tst-auditmod4b.c: Move to ...
9349 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9350 * elf/tst-auditmod5a.c: Move to ...
9351 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9352 * elf/tst-auditmod5b.c: Move to ...
9353 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9354 * elf/tst-auditmod6a.c: Move to ...
9355 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9356 * elf/tst-auditmod6b.c: Move to ...
9357 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9358 * elf/tst-auditmod6c.c: Move to ...
9359 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9360 * elf/tst-auditmod7a.c: Move to ...
9361 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9362 * elf/tst-auditmod7b.c: Move to ...
9363 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9365 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9368 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9369 define unconditionally.
9370 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9371 define unconditionally.
9372 (INT8_C, INT16_C, etc.): Likewise.
9374 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9376 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9377 __ehdr_start with hidden visibility.
9379 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9381 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9383 * math/libm-test.inc (cos_test): Use accurate hex constants.
9384 (sincost_test): Likewise.
9386 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9388 * math/libm-test.inc (catan_test): Add more tests.
9389 (catanh_test): Likewise.
9391 * math/s_catanf.c (__catanf): Use suffixed floating-point
9393 * math/s_catanhf.c (__catanhf): Likewise.
9394 * math/s_catanhl.c (__catanhl): Likewise.
9395 * math/s_catanl.c (__catanl): Likewise.
9398 * math/s_catan.c (__catan): Calculate imaginary part of result
9399 with log1p not log unless computing log of number close to 0.
9400 * math/s_catanf.c (__catanf): Likewise.
9401 * math/s_catanl.c (__catanl): Likewise.
9402 * math/s_catanh.c (__catanh): Calculate real part of result with
9403 log1p not log unless computing log of number close to 0.
9404 * math/s_catanhf.c (__catanhf): Likewise.
9405 * math/s_catanhl.c (__catanhl): Likewise.
9406 * math/libm-test.inc (catan_test): Add more tests.
9407 (catanh_test): Likewise.
9408 * sysdeps/i386/fpu/libm-test-ulps: Update.
9409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9411 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9413 * benchtests/Makefile: Mention files in which fast and slow
9414 paths of math functions are implemented.
9416 2013-04-23 Roland McGrath <roland@hack.frob.com>
9418 * sysdeps/posix/timespec_get.c: New file.
9420 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9422 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9424 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9426 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9427 powerpc/power5/fpu folders.
9428 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9429 * benchtests/Makefile: Add modf testcase.
9430 * benchtests/bench-modf.c: New file: Benchmark test for mo
9432 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9435 * time/Makefile (tests): Add tst-strptime-whitespace.
9436 * time/strptime_l.c (get_number): Use ISSPACE.
9437 (__strptime_internal): Likewise.
9438 * time/tst-strptime-whitespace.c: New test case.
9440 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9442 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9444 (_nss_files_init): Set it here.
9446 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9448 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9449 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9452 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9454 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9456 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9461 2013-04-21 David S. Miller <davem@davemloft.net>
9463 * po/ru.po: Update Russion translation from translation project.
9465 2013-04-17 Adam Conrad <adconrad@0c3.net>
9467 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9470 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9472 * configure.in: Remove i386 configure warning. Remove i386 case.
9473 * configure: Regenerate.
9474 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9475 Add example to error message.
9476 * sysdeps/i386/configure: Regenerate.
9478 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9480 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9482 * benchtests/cos-inputs: New file.
9483 * benchtests/slowcos-inputs: New file.
9484 * benchtests/slowcos.c: New file.
9485 * benchtests/slowtan-inputs: New file.
9486 * benchtests/slowtan.c: New file.
9487 * benchtests/tan-inputs: New file.
9489 2013-04-16 Roland McGrath <roland@hack.frob.com>
9491 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9494 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9496 * benchtests/Makefile: Include cppflags-iterator.mk to add
9497 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9499 * Makefile.in (bench-clean): New target.
9500 * benchtests/Makefile (bench-clean): Likewise.
9502 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9504 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9506 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9508 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9510 2013-04-15 Andreas Schwab <schwab@suse.de>
9512 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9514 * nscd/pwdcache.c (cache_addpw): Likewise.
9515 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9518 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9520 * benchtests/Makefile (bench): Write all output to
9521 bench-out.tmp together.
9523 2013-04-15 Andreas Schwab <schwab@suse.de>
9525 * nscd/nscd.c (main): Don't fork again after closing files.
9527 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9529 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9531 * benchtests/Rules (bench-deps): Collect dependencies into a
9532 single variable. Add Makefile to dependencies.
9533 ($(objpfx)bench-%.c): Depend on bench-deps.
9535 2013-04-12 Roland McGrath <roland@hack.frob.com>
9536 Xavier Roche <roche+kml2@exalead.com>
9539 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9540 just that it's a file descriptor.
9541 * manual/llio.texi (Synchronizing AIO Operations): Update description
9542 for EBADF error from aio_fsync.
9544 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9546 * Rules (bench): Move target definition...
9547 * benchtests/Makefile: ... here.
9549 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9551 * math/libm-test.inc (cos_test): Fix PI/2 test.
9552 (sincos_test): Likewise.
9553 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9554 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9556 2013-04-11 Andreas Schwab <schwab@suse.de>
9559 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9560 accept exponent character only when digits were seen.
9561 * stdio-common/Makefile (tests): Add bug26.
9562 * stdio-common/bug26.c: New file.
9565 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9568 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9570 * Makeconfig (rtld-prefix): Define built linker prefix.
9571 * Rules (run-bench): Use it.
9572 * math/Makefile (run-regen-ulps): Likewise.
9574 * Rules (bench): Remove eval.
9576 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9577 Roland McGrath <roland@hack.frob.com>
9578 Ondrej Bilka <neleai@seznam.cz>
9581 * time/getdate.c: Include ctype.h and alloca.h.
9582 (__getdate_r): Trim leading and trailing spaces of input.
9583 * time/tst-getdate.c (tests): Add tests with leading and
9586 2013-04-08 Roland McGrath <roland@hack.frob.com>
9589 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9590 when computing value.
9592 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9594 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9595 Use testrun.sh to run libm tests.
9598 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9600 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9603 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9605 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9607 * Makefile.in (regen-ulps): New target.
9608 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9609 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9610 [ifneq (no,$(PERL)] (regen-ulps): New target.
9611 [ifeq (no,$(PERL)] (regen-ulps): New target.
9612 * math/libm-test.inc (ulps_file_name): Define.
9613 (output_dir): New variable.
9614 (options): Add "output-dir" option.
9615 (parse_opt): Handle 'o' case.
9616 (main): If output_dir is non-NULL use it as a prefix
9618 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9620 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9623 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9624 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9625 fail configure if __sync_val_compare_and_swap is not inlined.
9626 * sysdeps/i386/configure: Regenerate.
9627 * configure.in: Build for i686 when configured for i386.
9628 * configure: Regenerate.
9629 * README: Remove i386 reference.
9631 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9633 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9634 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9636 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9638 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9639 (lmsnanval): New variables.
9640 (F): Add conversion tests.
9641 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9642 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9644 * stdio-common/tstdiomisc.c (F): Properly collect individual
9648 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9649 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9650 Instead, use input NaN values or generate a qNaN by arithmetic
9651 operation. Also fix bugs to comply with the standard.
9652 * math/libm-test.inc (remainder_test): Add more tests.
9655 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9657 input NaN values or generate a qNaN by arithmetic operation.
9659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9662 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9665 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9668 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9670 * math/s_cexpf.c (__cexpf): Likewise.
9671 * math/s_cexpl.c (__cexpl): Likewise.
9672 * math/libm-test.inc (cexp_test): Add more tests.
9674 2013-04-03 Andreas Schwab <schwab@suse.de>
9677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9678 order arrays from heap if bigger than alloca cutoff.
9680 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9682 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9683 (SNAN_TESTS_double): Refer to GCC PR56831.
9684 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9687 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9689 * Rules (bench): Move bench.out after the run is complete.
9691 * Rules (bench): Echo currently running benchmark.
9693 * benchtests/Makefile (bench): Add atan and slowatan.
9694 * benchtests/atan-inputs: New file.
9695 * benchtests/slowatan-inputs: New file.
9696 * benchtests/slowatan.c: New file.
9698 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9703 * sysdeps/unix/sysv/linux/kernel-features.h
9704 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9705 __ASSUME_XFS_RESTRICTED_CHOWN.
9706 * sysdeps/unix/sysv/linux/pathconf.c
9707 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9708 Save and restore errno.
9710 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9713 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9714 arguments using __kernel_casinh.
9715 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9716 arguments using __kernel_casinhf.
9717 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9718 arguments using __kernel_casinhl.
9719 * math/libm-test.inc (cacosh_test): Add more tests.
9720 * sysdeps/i386/fpu/libm-test-ulps: Update.
9721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9723 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9725 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9728 * bench/Makefile (bench): Add sin and slowsin.
9729 * benchtests/sin-inputs: New file.
9730 * benchtests/slowsin-inputs: New file.
9731 * benchtests/slowsin.c: New file.
9733 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9734 (bench): Add slowexp and slowpow.
9735 (exp-ITER): Increase iterations.
9736 (pow-ITER): Likewise.
9737 * benchtests/exp-inputs: Change input.
9738 * benchtests/pow-inputs: Likewise.
9739 * benchtests/slowexp-inputs: New file.
9740 * benchtests/slowexp.c: New file.
9741 * benchtests/slowpow-inputs: New file.
9742 * benchtests/slowpow.c: New file.
9744 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9746 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9748 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9751 * benchtests/Makefile: Add rint benchtest.
9752 * benchtests/rint-inputs: Input for rint benchtest.
9754 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9756 * Versions.def (libm): Add GLIBC_2.18.
9757 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9758 hidden libm prototypes.
9759 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9760 * math/Makefile (libm-calls): Add s_issignaling.
9761 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9762 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9763 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9765 * math/math.h [__USE_GNU] (issignaling): New macro.
9766 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9767 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9769 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9772 * manual/arith.texi (issignaling): New section.
9773 * manual/libm-err-tab.pl (@all_functions): Update comment.
9774 * math/gen-libm-test.pl (parse_args): Apply special handling for
9776 * math/libm-test.inc (print_float, issignaling_test): New
9778 (check_float_internal): Add issignaling checks.
9779 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9781 * sysdeps/powerpc/math-tests.h: New file.
9782 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9784 * math/test-snan.c (TEST_FUNC): Likewise.
9786 2013-03-30 David S. Miller <davem@davemloft.net>
9788 * po/de.po: Update from translation team.
9790 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9793 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9794 imaginary part less than 1.0 and real part less than 0.5
9796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9798 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9799 (cacos_test): Add more tests.
9800 (casin_test): Likewise.
9801 (casinh_test): Likewise.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9805 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9807 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9810 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9811 (__pow_mp): Replace ONE and MONE with their values.
9812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9814 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9815 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9816 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9817 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9819 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9821 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9822 (__pow_mp): Replace ZERO and MZERO with their values.
9823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9824 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9825 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9827 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9828 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9831 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9833 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9835 2013-03-28 Roland McGrath <roland@hack.frob.com>
9837 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9838 Declare with __attribute__ ((weak)).
9839 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9840 Call __call_tls_dtors only if it's not NULL.
9842 2013-03-28 Roland McGrath <roland@hack.frob.com>
9844 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9845 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9846 magic __ehdr_start linker symbol if it's defined.
9847 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9848 them up here if it was already done.
9850 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9851 (_dl_aux_init): Use const in cast when setting it.
9852 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9853 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9854 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9856 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9858 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9859 * csu/libc-tls.c: Nor here.
9860 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9862 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9863 (__libc_message): Never call vsyslog.
9865 2013-03-28 Alan Modra <amodra@gmail.com>
9867 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9869 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9872 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9879 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9882 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9883 Don't add gid passed as argument.
9885 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9887 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9890 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9891 imaginary part between 1.0 and 1.5 and real part less than 0.5
9893 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9894 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9895 * math/libm-test.inc (cacos_test): Add more tests.
9896 (casin_test): Likewise.
9897 (casinh_test): Likewise.
9898 * sysdeps/i386/fpu/libm-test-ulps: Update.
9899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9901 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9903 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9907 (__dbl_mp): Likewise.
9908 (add_magnitudes): Likewise.
9909 (sub_magnitudes): Likewise.
9917 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9919 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9920 (__dubcos): Likewise.
9921 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9922 (__ieee754_acos): Likewise.
9923 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9926 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9929 (my_log2): Likewise.
9930 (checkint): Likewise.
9931 * sysdeps/ieee754/dbl-64/e_remainder.c
9932 (__ieee754_remainder): Likewise.
9933 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9938 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9940 MANTISSA_STORE_T to store computations on mantissa. Use
9941 macros for rounding and division.
9943 (__dbl_mp): Likewise.
9944 (add_magnitudes): Likewise.
9945 (sub_magnitudes): Likewise.
9948 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9949 powers of two in terms of TWOPOW macro.
9950 (mp_no): Make type of mantissa as MANTISSA_T.
9951 [!RADIXI]: Define RADIXI.
9952 [!TWO52]: Define TWO52.
9953 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9955 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9957 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9958 llroundl symbol when building for PPC32.
9960 2013-03-24 Mark H Weaver <mhw@netris.org>
9962 * manual/arith.texi (Normalization Functions): Fix prototypes for
9963 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9965 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9969 high value to check if expl overflow.
9970 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9971 to check for underflow and overflow.
9972 * math/libm-test.inc: Add exp test.
9974 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9977 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9980 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9982 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9985 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9987 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9988 wrap blocks consisting of several statements.
9990 * sysdeps/generic/math-tests.h: New file.
9991 * sysdeps/i386/fpu/math-tests.h: Likewise.
9992 * math/test-snan.c: Include it.
9993 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9995 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9998 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9999 (__ieee754_j0l): Do not improve calculations using cos of twice
10000 input for inputs above LDBL_MAX / 2.0L.
10001 (__ieee754_y0l): Likewise.
10002 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10003 (__ieee754_j1l): Do not improve calculations using cos of twice
10004 input for inputs above LDBL_MAX / 2.0L.
10005 (__ieee754_y1l): Likewise.
10006 * math/libm-test.inc (j0_test): Add another test.
10007 (j1_test): Likewise.
10008 (y0_test): Likewise.
10009 (y1_test): Likewise.
10010 * sysdeps/i386/fpu/libm-test-ulps: Update.
10012 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10014 * Rules ($(objpfx)bench-%.c): Include code from a C source
10017 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10020 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10021 imaginary part 1.0 and real part less than 0.5 specially.
10022 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10023 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10024 * math/libm-test.inc (cacos_test): Add more tests.
10025 (casin_test): Likewise.
10026 (casinh_test): Likewise.
10027 * sysdeps/i386/fpu/libm-test-ulps: Update.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10030 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10033 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10035 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10037 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10038 * config.make.in (config-cflags-sse4): Remove variable.
10039 (config-cflags-avx): Likewise.
10040 (config-cflags-sse2avx): Likewise.
10041 (config-cflags-novzeroupper): Likewise.
10042 (config-asflags-i686): Likewise.
10043 (have-mfma4): Likewise.
10044 (have-as-vis3): Likewise.
10046 * configure.in (MIG): Do not AC_SUBST.
10047 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10048 (libc_cv_cc_sse4): Do not AC_SUBST.
10049 (libc_cv_cc_avx): Likewise.
10050 (libc_cv_cc_sse2avx): Likewise.
10051 (libc_cv_cc_novzeroupper): Likewise.
10052 (libc_cv_cc_fma4): Likewise.
10053 (libc_cv_as_i686): Likewise.
10054 (libc_cv_sparc_as_vis3): Likewise.
10055 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10057 (config-asflags-i686): Likewise.
10058 (config-cflags-avx): Likewise.
10059 (config-cflags-sse2avx): Likewise.
10060 (have-mfma4): Likewise.
10061 (config-cflags-novzeroupper): Likewise.
10062 * sysdeps/mach/configure.in (MIG): Likewise.
10063 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10064 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10066 (config-cflags-avx): Likewise.
10067 (config-cflags-sse2avx): Likewise.
10068 (have-mfma4): Likewise.
10069 (config-cflags-novzeroupper): Likewise.
10070 * configure: Regenerated.
10071 * sysdeps/i386/configure: Likewise.
10072 * sysdeps/mach/configure: Likewise.
10073 * sysdeps/sparc/configure: Likewise.
10074 * sysdeps/x86_64/configure: Likewise.
10076 2013-03-20 Roland McGrath <roland@hack.frob.com>
10079 * locale/programs/localedef.c (options): Put N_ translation marker
10080 on argument names, not just descriptions.
10082 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10084 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10086 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10089 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10091 2013-03-19 Roland McGrath <roland@hack.frob.com>
10093 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10094 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10095 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10096 [!BEFORE_ABORT] (before_abort): New function.
10097 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10098 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10099 (writev_for_fatal): New function.
10100 (WRITEV_FOR_FATAL): New macro; call that.
10101 (backtrace_and_maps): New function.
10102 (BEFORE_ABORT): New macro; call that.
10103 (struct str_list): Type removed.
10104 (__libc_message, __libc_fatal): Functions removed.
10105 Include <sysdeps/posix/libc_fatal.c> instead.
10107 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10109 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10111 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10114 2013-03-19 Andreas Schwab <schwab@suse.de>
10116 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10117 * sysdeps/gnu/configure: Regenerate.
10119 * configure.in: Substitute libc_cv_rtlddir.
10120 * configure: Regenerate.
10121 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10122 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10123 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10124 * elf/Makefile (install-others, CFLAGS-interp.c)
10125 (ldso_install, common-ldd-rewrite): Likewise.
10126 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10127 $(inst_slibdir)/$(rtld-installed-name).
10128 * scripts/rellns-sh: Add -p option.
10129 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10132 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10134 * manual/nptl.texi: Renamed to ...
10135 * manual/threads.texi: ... this.
10136 * manual/Makefile (chapters): Update.
10138 2013-03-18 Roland McGrath <roland@hack.frob.com>
10141 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10142 on argument names, not just descriptions.
10143 * malloc/memusagestat.c (options): Likewise.
10144 * nss/getent.c (options): Likewise.
10146 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10149 * iconv/iconv_prog.c (options): Put N_ translation marker
10150 on argument names, not just descriptions.
10151 * iconv/iconvconfig.c (options): Likewise.
10153 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10155 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10156 implementation which is faster on all x86_64 architectures.
10157 Tested on AMD, Intel Nehalem, SNB, IVB.
10158 * sysdeps/x86_64/strnlen.S: Likewise.
10160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10161 Remove all multiarch strlen and strnlen versions.
10162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10163 Remove strlen and strnlen related parts.
10165 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10166 Inline strlen part.
10167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10169 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10170 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10171 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10172 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10173 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10174 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10176 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10178 * manual/memory.texi (Malloc Tunable Parameters):
10179 Sort parameters alphabetically. Add comments for missing entries.
10181 2013-03-17 David S. Miller <davem@davemloft.net>
10183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10185 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10188 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10189 for arguments at most half maximum finite value.
10190 * math/libm-test.inc (j0_test): Add more tests.
10191 (j1_test): Likewise.
10192 (y0_test): Likewise.
10193 (y1_test): Likewise.
10194 * sysdeps/i386/fpu/libm-test-ulps: Update.
10195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10198 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10199 1 / x and functions P and Q for arguments above 0x1p256L.
10200 (__ieee754_y0l): Likewise.
10201 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10202 (__ieee754_y1l): Likewise.
10203 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10204 (j1_test): Likewise.
10205 (y0_test): Likewise.
10206 (y1_test): Likewise.
10208 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10210 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10213 2013-03-15 Roland McGrath <roland@hack.frob.com>
10215 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10216 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10217 zero since it's initialized to EXEC_PAGESIZE.
10219 * sysdeps/unix/sysv/linux/ldsodefs.h
10220 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10221 * sysdeps/generic/ldsodefs.h: ... here.
10223 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10225 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10227 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10229 * math/test-snan.c: Renamed from
10230 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10231 * math/Makefile (tests): Add test-snan.
10232 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10235 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10236 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10238 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10239 __builtin_nan family of functions.
10240 * math/libm-test.inc (initialize): Initialize qnan_value with
10241 __builtin_nan family of functions.
10242 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10244 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10246 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10247 storage class. Initialize qNaN_var and sNaN_var with
10248 __builtin_nan and __builtin_nans families of functions,
10251 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10252 (sqrt_test): Remove duplicate test with qNaN input.
10253 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10254 (round_test, signbit_test, significand_test): Note missing +/-Inf
10255 as well as qNaN tests.
10257 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10258 qNaN_var. Fix a few strings, too.
10259 * math/libm-test.inc (nan_value): Rename to qnan_value.
10260 * math/gen-libm-test.pl (%beautify): Adjust to that.
10261 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10262 * math/test-misc.c (main): Likewise.
10263 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10264 to __qnan_bytes, and __qnan_union, respectively.
10265 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10267 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10268 and lqnanval, respectively.
10269 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10270 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10271 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10272 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10274 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10275 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10278 * math/test-misc.c (main): Fix copy'n'pastos.
10279 * misc/tst-efgcvt.c (special): Likewise.
10281 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10282 Remove declarations.
10284 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10286 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10287 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10288 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10289 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10291 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10294 macro to return vdso values correctly in IFUNC implementations.
10295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10296 Optimization by using IFUNC.
10298 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 Richard Henderson <rth@redhat.com>
10300 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10302 * Makefile.in (bench): New target.
10303 * NEWS: Mention the benchmark framework.
10304 * Rules (bench): Likewise.
10305 (binaries-bench): Generate binaries for functions to
10307 * benchtests/Makefile: New makefile for benchmark tests.
10308 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10310 * benchtests/exp-inputs: New input file for EXP function.
10311 * benchtests/pow-inputs: New input file for POW function.
10312 * scripts/bench.pl: New script to generate source files for
10313 benchmark programs.
10315 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10317 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10318 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10319 computations on mantissa. Use macros for rounding and
10321 (denorm): Likewise.
10322 (__dbl_mp): Likewise.
10323 (add_magnitudes): Likewise.
10324 (sub_magnitudes): Likewise.
10327 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10328 powers of two in terms of TWOPOW macro.
10329 (mp_no): Make type of mantissa as MANTISSA_T.
10330 [!RADIXI]: Define RADIXI.
10331 [!TWO52]: Define TWO52.
10332 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10334 * manual/nptl.texi (cindex): Modify threads to pthreads.
10336 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10338 * sysdeps/x86_64/preconfigure: Regenerated.
10340 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10343 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10345 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10346 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10348 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10349 * math/libm-test.inc (j0_test): Do not allow one spurious
10350 underflow exception.
10351 (y1_test): Likewise.
10353 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10355 * manual/Makefile (chapters): Add nptl.
10356 * manual/debug.texi (Debugging Support): Add link to Threads
10358 * manual/nptl.texi: New file.
10360 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10362 2013-03-14 Petr Baudis <pasky@ucw.cz>
10364 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10365 for non-NULL pointer before the memory validity test. Pointed
10366 out by Holger Brunck <holger.brunck@keymile.com>.
10368 2013-03-13 Andreas Schwab <schwab@suse.de>
10370 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10373 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10375 * timezone/zic.c: Update from tzcode 2013b.
10377 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10379 * manual/install.texi (Configuring and compiling):
10380 Mention i686 and i586.
10381 * INSTALL: Regenerate.
10383 2013-03-12 Roland McGrath <roland@hack.frob.com>
10385 * sysdeps/init_array/elf-init.c: New file.
10387 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10388 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10390 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10391 __gmon_start__ as global, but as static with a .preinit_array pointer.
10392 * sysdeps/init_array/gmon-start.c: New file. Use that.
10393 * sysdeps/init_array/crti.S: New file, empty except for comments.
10394 * sysdeps/init_array/crtn.S: Likewise.
10396 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10398 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10401 Remove Prefer_SSE_for_memop.
10402 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10403 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10404 HAS_PREFER_SSE_FOR_MEMOP.
10405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10408 Remove bzero, memset ifunc support.
10409 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10410 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10411 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10412 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10414 2013-03-11 Andreas Schwab <schwab@suse.de>
10417 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10420 (GLIBC_2.16): Remove pthread_atfork.
10422 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10424 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10425 (ptestcases.h): Likewise.
10427 2013-03-08 Roland McGrath <roland@hack.frob.com>
10429 * Makeconfig ($(common-objpfx)config.status): Depend on
10430 sysdeps/*/preconfigure{,.in} too.
10432 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10434 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10435 (__free_hook): Use void * instead of __malloc_ptr_t.
10436 (__malloc_hook): Likewise.
10437 (__realloc_hook): Likewise.
10438 (__memalign_hook): Likewise.
10439 (__after_morecore_hook): Likewise.
10440 * malloc/arena.c (save_malloc_hook): Likewise.
10441 (save_free_hook): Likewise.
10442 * malloc/hooks.c (malloc_hook_ini): Likewise.
10443 (realloc_hook_ini): Likewise.
10444 (memalign_hook_ini): Likewise.
10445 * malloc/malloc.c (malloc_hook_ini): Likewise.
10446 (realloc_hook_ini): Likewise.
10447 (memalign_hook_ini): Likewise.
10448 (__free_hook): Likewise.
10449 (__malloc_hook): Likewise.
10450 (__realloc_hook): Likewise.
10451 (__memalign_hook): Likewise.
10452 (__libc_malloc): Likewise.
10453 (__libc_free): Likewise.
10454 (__libc_realloc): Likewise.
10455 (__libc_memalign): Likewise.
10456 (__libc_valloc): Likewise.
10457 (__libc_pvalloc): Likewise.
10458 (__libc_calloc): Likewise.
10459 (__posix_memalign): Likewise.
10460 * malloc/morecore.c (__sbrk): Likewise.
10461 (__default_morecore): Likewise.
10463 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10465 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10466 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10467 __malloc_ptrdiff_t.
10469 * malloc/malloc.h (__malloc_size_t): Remove macro.
10470 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10472 (old_memalign_hook): Likewise.
10473 (old_realloc_hook): Likewise.
10474 (struct hdr): Likewise.
10476 (mallochook): Likewise.
10477 (memalignhook): Likewise.
10478 (reallochook): Likewise.
10479 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10480 (tr_old_realloc_hook): Likewise.
10481 (tr_old_memalign_hook): Likewise.
10482 (tr_mallochook): Likewise.
10483 (tr_reallochook): Likewise.
10484 (tr_memalignhook): Likewise.
10486 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10488 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10489 default_ldbl_pack and using as default implementation.
10490 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10492 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10493 redundant definition.
10494 (ldbl_insert_mantissa): Likewise.
10495 (ldbl_canonicalize): Likewise.
10496 (ldbl_nearbyint): Likewise.
10497 (ldbl_pack): Rename to ldbl_pack_ppc.
10498 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10499 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10500 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10502 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10505 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10506 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10507 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10509 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10510 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10511 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10513 2013-03-07 Andreas Jaeger <aj@suse.de>
10515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10518 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10520 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10521 Include mpa.h and declare __MPEXP.
10522 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10523 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10524 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10525 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10526 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10527 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10528 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10530 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10531 (__slowpow): Use long double EXPL and LOGL functions to
10533 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10534 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10535 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10536 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10537 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10538 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10541 intermediate variable to calculate exponent.
10543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10547 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10548 [!NO__SQR]: Define __sqr.
10549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10550 and NO__SQR. Remove all code except __mul and __sqr. Include
10551 sysdeps/ieee754/dbl-64/mpa.c.
10552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10555 * posix/Makefile (tests): Add tst-pathconf.
10556 * posix/tst-pathconf.c: New test case.
10557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10559 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10561 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10563 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10565 2013-03-06 Andreas Jaeger <aj@suse.de>
10567 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10568 definition via __MAP_ANONYMOUS.
10570 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10571 it's not part of Linux headers.
10573 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10574 (MAP_HUGE_MASK): Define.
10576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10582 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10584 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10587 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10589 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10590 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10591 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10592 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10593 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10599 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10600 Handle f2fs and efivarfs.
10602 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10605 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10606 (EFIVARFS_MAGIC): Add.
10607 (F2FS_LINK_MAX): Add.
10609 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10611 * stdio-common/vfprintf.c: Replace __builtin_expect with
10614 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10617 * sysdeps/generic/bp-sym.h: Remove file.
10618 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10619 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10620 <bp-sym.h> and <bp-asm.h>.
10621 (__longjmp): Don't use BP_SYM.
10622 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10624 (memcpy): Don't use BP_SYM.
10625 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10626 <bp-sym.h> and <bp-asm.h>.
10627 (memcpy): Don't use BP_SYM.
10628 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10630 (memcpy): Don't use BP_SYM.
10631 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10633 (memset): Don't use BP_SYM.
10634 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10635 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10636 (__bzero): Don't use BP_SYM.
10637 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10638 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10639 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10640 <bp-sym.h> and <bp-asm.h>.
10641 (memcmp): Don't use BP_SYM. Remove comment about bounded
10643 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10644 <bp-sym.h> and <bp-asm.h>.
10645 (memcpy): Don't use BP_SYM.
10646 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10647 <bp-sym.h> and <bp-asm.h>.
10648 (memset): Don't use BP_SYM.
10649 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10650 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10651 (__bzero): Don't use BP_SYM.
10652 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10653 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10654 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10655 <bp-sym.h> and <bp-asm.h>.
10656 (strncmp): Don't use BP_SYM. Remove comment about bounded
10658 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10659 <bp-sym.h> and <bp-asm.h>.
10660 (memcpy): Don't use BP_SYM.
10661 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10662 <bp-sym.h> and <bp-asm.h>.
10663 (memset): Don't use BP_SYM.
10664 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10665 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10666 (__bzero): Don't use BP_SYM.
10667 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10668 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10669 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10670 <bp-sym.h> and <bp-asm.h>.
10671 (__memchr): Don't use BP_SYM.
10672 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10673 <bp-sym.h> and <bp-asm.h>.
10674 (memcmp): Don't use BP_SYM. Remove comment about bounded
10676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10677 <bp-sym.h> and <bp-asm.h>.
10678 (memcpy): Don't use BP_SYM.
10679 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10680 <bp-sym.h> and <bp-asm.h>.
10681 (__mempcpy): Don't use BP_SYM.
10682 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10683 <bp-sym.h> and <bp-asm.h>.
10684 (__memrchr): Don't use BP_SYM.
10685 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10686 <bp-sym.h> and <bp-asm.h>.
10687 (memset): Don't use BP_SYM.
10688 (__bzero): Likewise.
10689 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10690 <bp-sym.h> and <bp-asm.h>.
10691 (__rawmemchr): Don't use BP_SYM.
10692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10693 <bp-sym.h> and <bp-asm.h>.
10694 (__STRCMP): Don't use BP_SYM.
10695 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10696 <bp-sym.h> and <bp-asm.h>.
10697 (strchr): Don't use BP_SYM.
10698 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10699 <bp-sym.h> and <bp-asm.h>.
10700 (__strchrnul): Don't use BP_SYM.
10701 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10702 <bp-sym.h> and <bp-asm.h>.
10703 (strlen): Don't use BP_SYM.
10704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10705 <bp-sym.h> and <bp-asm.h>.
10706 (strncmp): Don't use BP_SYM. Remove comment about bounded
10708 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10709 <bp-sym.h> and <bp-asm.h>.
10710 (__strnlen): Don't use BP_SYM.
10711 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10712 <bp-sym.h> and <bp-asm.h>.
10713 (__GI__setjmp): Don't use BP_SYM.
10714 (_setjmp): Likewise.
10715 (__sigsetjmp): Likewise.
10716 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10717 (L(start_addresses)): Don't use BP_SYM.
10718 (_start): Likewise.
10719 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10721 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10722 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10723 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10724 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10725 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10727 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10728 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10729 about bounded pointers.
10730 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10731 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10732 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10734 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10735 about bounded pointers. Remove GKM FIXME comments.
10736 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10737 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10739 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10740 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10741 Remove GKM FIXME comments.
10742 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10743 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10744 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10746 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10747 about bounded pointers. Remove GKM FIXME comment.
10748 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10750 (strncmp): Don't use BP_SYM. Remove comment about bounded
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10753 <bp-sym.h> and <bp-asm.h>.
10754 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10756 <bp-sym.h> and <bp-asm.h>.
10757 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10760 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10762 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10765 2013-03-05 David S. Miller <davem@davemloft.net>
10767 * po/es.po: Update from translation team.
10769 2013-03-05 Andreas Jaeger <aj@suse.de>
10771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10772 <bits/mman-linux.h>.
10773 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10776 <bits/mman-linux.h> to end of file.
10777 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10779 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10780 <bits/mman-linux.h> to end of file.
10781 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10783 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10784 <bits/mman-linux.h> to end of file.
10786 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10787 (MCL_CURRENT, MCL_FUTURE): Define here.
10789 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10792 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10794 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10796 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10798 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10799 fourth parameter needed for rt_sigprocmask syscall.
10800 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10801 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10802 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10803 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10804 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10805 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10807 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10810 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10811 comment about bounded pointers.
10812 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10813 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10815 2013-03-04 Andreas Jaeger <aj@suse.de>
10817 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10818 common definitions.
10820 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10821 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10822 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10823 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10827 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10831 __ieee754_sqrl instead of __sqrl.
10833 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10835 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10836 * sysdeps/powerpc/fpu_control.h: ... here.
10837 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10838 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10839 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10840 * sysdeps/powerpc/bits/mathinline.h: ... here.
10842 2013-03-01 Roland McGrath <roland@hack.frob.com>
10844 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10845 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10846 to just [NEED_DL_SYSINFO_DSO].
10847 * elf/dl-support.c: Likewise.
10848 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10849 * elf/rtld.c (dl_main): Likewise.
10850 * elf/setup-vdso.h (setup_vdso): Likewise.
10851 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10852 * sysdeps/unix/sysv/linux/dl-sysdep.c
10853 (_dl_discover_osversion): Likewise.
10855 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10857 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10858 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10860 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10862 * NEWS: Mention libm performance improvements and non-x86 PI
10865 * csu/libc-start.c (__pthread_initialize_minimal): Change
10866 function arguments.
10867 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10869 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10872 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10873 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10874 <bp-sym.h> and <bp-asm.h>.
10875 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10878 (memcpy): Don't use BP_SYM.
10879 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10881 (__mpn_add_n): Don't use BP_SYM.
10882 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10883 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10885 (__mpn_addmul_1): Don't use BP_SYM.
10886 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10887 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10889 (_setjmp): Don't use BP_SYM.
10890 (__novmx_setjmp): Likewise.
10891 (__GI__setjmp): Likewise.
10892 (__vmx_setjmp): Likewise.
10893 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10895 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10896 (__bzero): Don't use BP_SYM.
10897 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10898 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10899 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10900 <bp-sym.h> and <bp-asm.h>.
10901 (memcpy): Don't use BP_SYM.
10902 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10903 <bp-sym.h> and <bp-asm.h>.
10904 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10906 <bp-sym.h> and <bp-asm.h>.
10907 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10908 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10910 (__mpn_lshift): Don't use BP_SYM.
10911 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10912 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10914 (memset): Don't use BP_SYM.
10915 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10916 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10917 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10919 (__mpn_mul_1): Don't use BP_SYM.
10920 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10921 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10922 <bp-sym.h> and <bp-asm.h>.
10923 (memcmp): Don't use BP_SYM.
10924 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10925 <bp-sym.h> and <bp-asm.h>.
10926 (memcpy): Don't use BP_SYM.
10927 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10928 <bp-sym.h> and <bp-asm.h>.
10929 (memset): Don't use BP_SYM.
10930 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10931 <bp-sym.h> and <bp-asm.h>.
10932 (strncmp): Don't use BP_SYM.
10933 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10934 <bp-sym.h> and <bp-asm.h>.
10935 (memcpy): Don't use BP_SYM.
10936 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10937 <bp-sym.h> and <bp-asm.h>.
10938 (memset): Don't use BP_SYM.
10939 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10940 <bp-sym.h> and <bp-asm.h>.
10941 (__memchr): Don't use BP_SYM.
10942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10943 <bp-sym.h> and <bp-asm.h>.
10944 (memcmp): Don't use BP_SYM.
10945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10946 <bp-sym.h> and <bp-asm.h>.
10947 (memcpy): Don't use BP_SYM.
10948 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10949 <bp-sym.h> and <bp-asm.h>.
10950 (__mempcpy): Don't use BP_SYM.
10951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10952 <bp-sym.h> and <bp-asm.h>.
10953 (__memrchr): Don't use BP_SYM.
10954 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10955 <bp-sym.h> and <bp-asm.h>.
10956 (memset): Don't use BP_SYM.
10957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10958 <bp-sym.h> and <bp-asm.h>.
10959 (__rawmemchr): Don't use BP_SYM.
10960 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10961 <bp-sym.h> and <bp-asm.h>.
10962 (__STRCMP): Don't use BP_SYM.
10963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10964 <bp-sym.h> and <bp-asm.h>.
10965 (strchr): Don't use BP_SYM.
10966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10967 <bp-sym.h> and <bp-asm.h>.
10968 (__strchrnul): Don't use BP_SYM.
10969 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10970 <bp-sym.h> and <bp-asm.h>.
10971 (strlen): Don't use BP_SYM.
10972 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10973 <bp-sym.h> and <bp-asm.h>.
10974 (strncmp): Don't use BP_SYM.
10975 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10976 <bp-sym.h> and <bp-asm.h>.
10977 (__strnlen): Don't use BP_SYM.
10978 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10980 (__mpn_rshift): Don't use BP_SYM.
10981 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10982 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10983 <bp-sym.h> and <bp-asm.h>.
10984 (__sigsetjmp): Don't use BP_SYM.
10985 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10986 (L(start_addresses)): Don't use BP_SYM.
10987 (_start): Likewise.
10988 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10990 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10991 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10992 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10993 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10995 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10996 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10997 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10998 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11000 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11002 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11003 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11005 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11007 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11008 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11009 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11011 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11013 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11015 (strncmp): Don't use BP_SYM,
11016 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11018 (__mpn_sub_n): Don't use BP_SYM.
11019 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11020 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11022 (__mpn_submul_1): Don't use BP_SYM.
11023 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11025 <bp-sym.h> and <bp-asm.h>.
11026 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11028 <bp-sym.h> and <bp-asm.h>.
11029 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11032 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11035 Use ZK to minimize writes to Z.
11036 (sub_magnitudes): Simplify code a bit.
11037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11038 Use ZK to minimize writes to Z.
11039 (sub_magnitudes): Simplify code a bit.
11041 2013-02-27 Roland McGrath <roland@hack.frob.com>
11043 * csu/gmon-start.c: Add special exception to license text.
11045 2013-02-27 Richard Henderson <rth@redhat.com>
11047 * scripts/config.guess: Update from config.git.
11048 * scripts/config.sub: Likewise.
11050 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11052 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11054 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11056 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11058 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11060 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11062 2013-02-26 Roland McGrath <roland@hack.frob.com>
11064 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11065 [$(build-shared = yes].
11067 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11069 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11070 (__mul): Reduce iterations for calculating mantissa.
11072 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11074 (__mpranred): Likewise.
11077 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11078 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11080 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11082 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11083 Define __attribute__.
11085 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11087 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11089 * posix/regex_internal.h (__attribute): Remove.
11090 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11091 (re_string_context_at): Likewise.
11092 (bitset_not): Use __attribute__ and mark function as possibly
11094 (bitset_merge): Likewise.
11095 (bitset_mask): Likewise.
11096 (re_string_char_size_at): Likewise.
11097 (re_string_wchar_at): Likewise.
11098 (re_string_elem_size_at): Likewise.
11100 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11102 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11106 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11110 (denorm): Likewise.
11111 (__dbl_mp): Likewise.
11112 (add_magnitudes): Likewise.
11113 (sub_magnitudes): Likewise.
11117 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11120 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11123 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11127 up changes with default code.
11128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11131 2013-02-24 Allan McRae <allan@archlinux.org>
11133 * manual/socket.texi (The Internet Namespace): Order menu items
11134 to match that in the file.
11136 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11137 node listing of the info page menu.
11139 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11142 * sysdeps/i386/bp-asm.h: Remove file.
11143 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11144 (PARMS): Do not use macros from bp-asm.h.
11148 (__mpn_add_n): Do not use BP_SYM
11149 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11151 (PARMS): Do not use macros from bp-asm.h.
11154 (__mpn_addmul_1): Do not use BP_SYM
11155 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11157 (PARMS): Do not use macros from bp-asm.h.
11158 (SIGMSK): Likewise.
11159 (_setjmp): Likewise. Do not use BP_SYM.
11160 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11162 (PARMS): Do not use macros from bp-asm.h.
11163 (SIGMSK): Likewise.
11164 (setjmp): Likewise. Do not use BP_SYM.
11165 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11167 (PARMS): Do not use macros from bp-asm.h.
11168 (__frexp): Do not use BP_SYM.
11170 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11172 (PARMS): Do not use macros from bp-asm.h.
11173 (__frexpf): Do not use BP_SYM.
11174 (frexpf): Likewise.
11175 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11177 (PARMS): Do not use macros from bp-asm.h.
11178 (__frexpl): Do not use BP_SYM.
11179 (frexpl): Likewise.
11180 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11182 (PARMS): Do not use macros from bp-asm.h.
11183 (__remquo): Do not use BP_SYM.
11184 (remquo): Likewise.
11185 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11187 (PARMS): Do not use macros from bp-asm.h.
11188 (__remquof): Do not use BP_SYM.
11189 (remquof): Likewise.
11190 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11192 (PARMS): Do not use macros from bp-asm.h.
11193 (__remquol): Do not use BP_SYM.
11194 (remquol): Likewise.
11195 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11197 (PARMS): Do not use macros from bp-asm.h.
11200 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11201 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11203 (PARMS): Do not use macros from bp-asm.h.
11204 (strlen): Do not use BP_SYM.
11205 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11207 (PARMS): Do not use macros from bp-asm.h.
11211 (__mpn_add_n): Do not use BP_SYM.
11212 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11214 (PARMS): Do not use macros from bp-asm.h.
11217 (__mpn_addmul_1): Do not use BP_SYM.
11218 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11221 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11223 (PARMS): Do not use macros from bp-asm.h.
11226 (__mpn_lshift): Do not use BP_SYM.
11227 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11229 (PARMS): Do not use macros from bp-asm.h.
11233 (memcpy): Likewise. Do not use BP_SYM.
11234 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11235 libc_hidden_def and weak_alias.
11236 (mempcpy): Do not use BP_SYM in weak_alias.
11237 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11239 (PARMS): Do not use macros from bp-asm.h.
11242 [!BZERO_P] (CHR): Likewise.
11243 (memset): Likewise. Do not use BP_SYM.
11244 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11246 (PARMS): Do not use macros from bp-asm.h.
11249 (__mpn_mul_1): Do not use BP_SYM.
11250 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11252 (PARMS): Do not use macros from bp-asm.h.
11255 (__mpn_rshift): Do not use BP_SYM.
11256 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11258 (PARMS): Do not use macros from bp-asm.h.
11261 (strchr): Likewise. Do not use BP_SYM.
11262 (index): Do not use BP_SYM in weak_alias.
11263 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11265 (PARMS): Do not use macros from bp-asm.h.
11268 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11269 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11271 (PARMS): Do not use macros from bp-asm.h.
11272 (strlen): Do not use BP_SYM.
11273 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11275 (PARMS): Do not use macros from bp-asm.h.
11279 (__mpn_sub_n): Do not use BP_SYM.
11280 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11282 (PARMS): Do not use macros from bp-asm.h.
11285 (__mpn_submul_1): Do not use BP_SYM.
11286 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11288 (PARMS): Do not use macros from bp-asm.h.
11292 (__mpn_add_n): Do not use BP_SYM.
11293 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11296 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11298 (PARMS): Do not use macros from bp-asm.h.
11301 (memcmp): Do not use BP_SYM.
11302 (bcmp): Do not use BP_SYM in weak_alias.
11303 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11305 (PARMS): Do not use macros from bp-asm.h.
11309 (memcpy): Likewise. Do not use BP_SYM.
11310 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11312 (PARMS): Do not use macros from bp-asm.h.
11316 (memmove): Likewise. Do not use BP_SYM.
11317 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11319 (PARMS): Do not use macros from bp-asm.h.
11323 (__mempcpy): Likewise. Do not use BP_SYM.
11324 (mempcpy): Do not use BP_SYM in weak_alias.
11325 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11327 (PARMS): Do not use macros from bp-asm.h.
11330 [!BZERO_P] (CHR): Likewise.
11331 (memset): Likewise. Do not use BP_SYM.
11332 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11334 (PARMS): Do not use macros from bp-asm.h.
11336 (strcmp): Do not use BP_SYM.
11337 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11339 (PARMS): Do not use macros from bp-asm.h.
11342 [USE_AS_STRTOK_R] (SAVE): Likewise.
11343 (FUNCTION): Likewise. Do not use BP_SYM.
11344 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11346 (strtok_r): Likewise.
11347 (__GI___strtok_r): Likewise.
11348 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11349 (PARMS): Do not use macros from bp-asm.h.
11352 (__mpn_lshift): Do not use BP_SYM.
11353 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11354 (PARMS): Do not use macros from bp-asm.h.
11357 (__memchr): Do not use BP_SYM.
11358 (memchr): Do not use BP_SYM in weak_alias.
11359 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11360 (PARMS): Do not use macros from bp-asm.h.
11363 (memcmp): Do not use BP_SYM.
11364 (bcmp): Do not use BP_SYM in weak_alias.
11365 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11366 (PARMS): Do not use macros from bp-asm.h.
11369 (__mpn_mul_1): Do not use BP_SYM.
11370 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11372 (PARMS): Do not use macros from bp-asm.h.
11375 (__rawmemchr): Do not use BP_SYM.
11376 (rawmemchr): Do not use BP_SYM in weak_alias.
11377 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11378 (PARMS): Do not use macros from bp-asm.h.
11381 (__mpn_rshift): Do not use BP_SYM.
11382 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11383 (PARMS): Do not use macros from bp-asm.h.
11384 (SIGMSK): Likewise.
11385 (__sigsetjmp): Likewise. Do not use BP_SYM.
11386 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11387 (_start): Do not use BP_SYM.
11388 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11389 (PARMS): Do not use macros from bp-asm.h.
11392 (__stpcpy): Likewise. Do not use BP_SYM.
11393 (stpcpy): Do not use BP_SYM in weak_alias.
11394 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11396 (PARMS): Do not use macros from bp-asm.h.
11400 (__stpncpy): Likewise. Do not use BP_SYM.
11401 (stpncpy): Do not use BP_SYM in weak_alias.
11402 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11403 (PARMS): Do not use macros from bp-asm.h.
11406 (strchr): Likewise. Do not use BP_SYM.
11407 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11409 (PARMS): Do not use macros from bp-asm.h.
11412 (__strchrnul): Likewise. Do not use BP_SYM.
11413 (strchrnul): Do not use BP_SYM in weak_alias.
11414 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11416 (PARMS): Do not use macros from bp-asm.h.
11418 (strcspn): Do not use BP_SYM.
11419 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11421 (PARMS): Do not use macros from bp-asm.h.
11424 (strpbrk): Likewise. Do not use BP_SYM.
11425 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11427 (PARMS): Do not use macros from bp-asm.h.
11430 (strrchr): Likewise. Do not use BP_SYM.
11431 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11432 (PARMS): Do not use macros from bp-asm.h.
11434 (strspn): Do not use BP_SYM.
11435 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11436 (PARMS): Do not use macros from bp-asm.h.
11440 (FUNCTION): Likewise. Do not use BP_SYM.
11441 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11443 (strtok_r): Likewise.
11444 (__GI___strtok_r): Likewise.
11445 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11446 (PARMS): Do not use macros from bp-asm.h.
11450 (__mpn_sub_n): Do not use BP_SYM.
11451 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11453 (PARMS): Do not use macros from bp-asm.h.
11456 (__mpn_submul_1): Do not use BP_SYM.
11457 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11459 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11461 (PARMS): Do not use macros from bp-asm.h.
11466 (__clone): Do not use BP_SYM.
11467 (clone): Do not use BP_SYM in weak_alias.
11468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11470 (PARMS): Do not use macros from bp-asm.h.
11472 (__mmap64): Do not use BP_SYM.
11473 (mmap64): Do not use BP_SYM in weak_alias.
11474 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11475 <bp-sym.h> and <bp-asm.h>.
11476 (PARMS): Do not use macros from bp-asm.h.
11477 (__posix_fadvise64_l64): Do not use BP_SYM.
11478 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11479 (PARMS): Do not use macros from bp-asm.h.
11481 (semtimedop): Do not use BP_SYM.
11482 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11485 2013-02-21 Allan McRae <allan@archlinux.org>
11487 * manual/message.texi (Charset conversion in gettext):
11488 Move @end statement to beginning of line.
11490 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11497 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11498 (denorm): Likewise.
11499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11502 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11504 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11505 tail-call to the resolved function if pltexit isn't needed.
11507 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11510 or Y being zero as being unlikely.
11511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11514 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11516 * manual/nss.texi (System Databases and Name Service Switch):
11517 Remove frobnicate @pxref.
11519 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11521 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11522 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11524 2013-02-20 Petr Machata <pmachata@redhat.com>
11526 * elf/elf.h (R_ARM_TARGET1): New macro.
11527 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11528 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11529 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11530 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11531 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11532 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11533 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11534 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11535 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11536 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11537 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11538 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11539 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11540 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11541 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11542 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11543 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11544 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11545 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11546 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11547 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11548 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11549 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11550 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11551 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11552 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11553 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11554 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11555 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11556 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11557 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11558 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11559 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11560 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11561 (R_ARM_THM_GOT_BREL12): Likewise.
11562 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11563 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11564 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11565 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11566 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11567 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11568 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11569 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11570 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11572 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11574 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11575 __attribute_used__ to __attribute__ ((unused)).
11577 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11579 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11582 comment formatting.
11583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11585 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11588 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11590 (ENTER): Remove both macro definitions.
11592 (CHECK_BOUNDS_LOW): Likewise.
11593 (CHECK_BOUNDS_HIGH): Likewise.
11594 (CHECK_BOUNDS_BOTH): Likewise.
11595 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11596 (RETURN_BOUNDED_POINTER): Likewise.
11597 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11598 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11599 (POP_ERRNO_LOCATION_RETURN): Likewise.
11600 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11601 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11602 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11604 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11605 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11606 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11607 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11608 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11609 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11610 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11611 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11612 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11613 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11614 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11615 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11616 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11617 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11619 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11620 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11622 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11623 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11624 * sysdeps/i386/i586/memset.S (memset): Likewise.
11625 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11626 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11627 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11629 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11630 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11631 Change uses of L(2) to L(out).
11632 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11633 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11634 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11635 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11636 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11638 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11639 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11641 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11642 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11643 (RETURN): Do not use macro LEAVE.
11644 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11645 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11646 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11647 * sysdeps/i386/i686/memset.S (memset): Likewise.
11648 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11649 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11650 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11651 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11653 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11654 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11655 L(1_2) and L(1_3) into L(1).
11656 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11657 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11658 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11659 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11660 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11661 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11662 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11663 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11664 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11666 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11667 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11668 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11669 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11670 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11671 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11672 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11673 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11674 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11675 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11676 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11677 * sysdeps/i386/strspn.S (strspn): Likewise.
11678 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11680 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11681 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11682 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11683 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11684 L(1_3) into L(1_1).
11685 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11686 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11687 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11689 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11691 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11693 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11696 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11698 * math/atest-exp.c (exp_mpn): Remove ROUND.
11699 * math/atest-exp2.c (exp_mpn): Likewise.
11700 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11702 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11703 * stdlib/tst-tls-atexit-lib.c: Likewise.
11704 * stdlib/tst-tls-atexit.c: Likewise.
11706 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11708 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11709 and __attribute_alloc_size__.
11711 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11713 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11714 __attribute_alloc_size__.
11715 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11716 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11718 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11720 * include/programs/xmalloc.h: New file.
11721 * catgets/gencat.c: Include it.
11722 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11723 * elf/pldd.c: Likewise.
11724 * iconv/iconv_charmap.c: Likewise.
11725 * iconv/iconvconfig.c: Likewise.
11726 * iconv/strtab.c: Likewise.
11727 * locale/programs/locale.c: Likewise.
11728 * locale/programs/localedef.h: Likewise.
11729 * locale/programs/simple-hash.c: Likewise.
11730 * nscd/nscd.h: Likewise.
11731 * nss/makedb.c: Likewise.
11732 * sysdeps/generic/ldconfig.h: Likewise.
11734 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11736 * Versions.def: Add GLIBC_2.18.
11737 * include/link.h (struct link_map): New member l_tls_dtor_count.
11738 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11739 (__call_tls_dtors): Likewise.
11740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11741 __cxa_thread_atexit_impl.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11758 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11759 (tests): Add test case tst-tls-atexit.
11760 (modules-names): Add shared library for tst-tls-atexit.
11761 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11762 (GLIBC_PRIVATE): Add __call_tls_dtors.
11763 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11765 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11766 * stdlib/tst-tls-atexit.c: New test case.
11767 * stdlib/tst-tls-atexit-lib.c: New test case.
11769 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11771 * elf/Versions (ld): Add _dl_find_dso_for_object.
11772 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11773 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11774 (dl_open_worker): Use _dl_find_dso_for_object.
11775 * elf/dl-sym.c (do_sym): Likewise.
11776 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11778 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11780 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11781 Syntactic changes only.
11782 (_dl_runtime_profile): Do a tail-call to the resolved function.
11784 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11787 * sysdeps/x86_64/bp-asm.h: Remove file.
11788 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11789 <bp-sym.h> and <bp-asm.h>.
11790 (__clone): Do not use BP_SYM.
11791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11792 <bp-sym.h> and <bp-asm.h>.
11793 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11794 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11796 (_setjmp): Do not use BP_SYM.
11797 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11799 (setjmp): Do not use BP_SYM.
11800 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11802 (mempcpy): Do not use BP_SYM in weak_alias.
11803 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11805 (strchr): Do not use BP_SYM.
11806 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11808 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11809 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11810 (_start): Do not use BP_SYM.
11811 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11813 (strcat): Do not use BP_SYM.
11814 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11816 (STRCMP): Do not use BP_SYM.
11817 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11819 (STRCPY): Do not use BP_SYM.
11820 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11822 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11824 (FUNCTION): Do not use BP_SYM.
11825 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11827 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11829 2013-02-17 Andreas Jaeger <aj@suse.de>
11831 * time/Versions: Sort entries.
11832 * string/Versions: Likewise.
11833 * resolv/Versions: Likewise.
11834 * posix/Versions: Likewise.
11835 * iconv/Versions: Likewise.
11836 * elf/Versions: Likewise.
11837 * wcsmbs/Versions: Likewise.
11839 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11842 loop termination condition.
11844 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11845 variable to calculate EZ.
11848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11849 the lower precision input.
11851 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11854 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11855 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11856 (run-via-rtld-prefix): Do not handle %-bp tests.
11857 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11858 (all-object-suffixes): Remove .ob.
11859 (bppfx): Remove variable.
11860 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11861 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11862 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11863 [$(build-bounded) = yes] (libtype.ob): Likewise.
11864 * Makerules (elide-routines.ob): Remove variable.
11865 (do-tests-clean): Do not handle *-bp.out.
11866 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11867 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11868 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11869 (tests): Do not include $(tests-bp.out).
11870 (xtests): Do not include $(xtests-bp.out).
11871 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11872 [$(build-bounded) = yes] ($(addprefix
11873 $(objpfx),$(binaries-bounded))): Remove rule.
11874 ($(objpfx)%-bp.out): Remove rule.
11875 * config.make.in (build-bounded): Remove variable.
11876 * crypt/Makefile [$(build-bounded) = yes]
11877 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11878 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11879 append to variable.
11880 [$(build-bounded) = yes] (install-lib): Likewise.
11881 [$(build-bounded) = yes] (generated): Likewise.
11882 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11884 * intl/Makefile [$(build-bounded) = yes]
11885 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11886 * math/Makefile [$(build-bounded) = yes]
11887 ($(tests:%=$(objpfx)%-bp): Likewise.
11888 * misc/Makefile [$(build-bounded) = yes]
11889 ($(objpfx)tst-tsearch-bp): Likewise.
11890 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11891 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11893 * string/Makefile (o-objects.ob): Remove variable.
11894 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11895 (CFLAGS-.ob): Remove variable.
11896 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11897 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11898 both definitions of variable.
11899 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11900 (ASFLAGS-.ob): Remove variable.
11902 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11905 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11906 Remove __BOUNDED_POINTERS__ from condition.
11907 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11908 * string/bits/string2.h [!__NO_STRING_INLINES &&
11909 !__BOUNDED_POINTERS__]: Likewise.
11910 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11912 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11913 Remove conditional code.
11914 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11915 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11916 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11920 * csu/libc-start.c: Do not include <bp-sym.h>.
11921 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11922 * elf/dl-open.c: Do not include <bp-sym.h>.
11923 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11924 * math/fegetenv.c: Do not include <bp-sym.h>.
11925 (fegetenv): Do not use BP_SYM in versioned symbols.
11926 * nptl/sysdeps/pthread/bits/libc-lockP.h
11927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11930 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11932 (__pthread_mutex_destroy): Likewise.
11933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11934 (__pthread_mutex_lock): Likewise.
11935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11936 (__pthread_mutex_trylock): Likewise.
11937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11938 (__pthread_mutex_unlock): Likewise.
11939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11940 (__pthread_mutexattr_init): Likewise.
11941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11942 (__pthread_mutexattr_destroy): Likewise.
11943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11944 (__pthread_mutexattr_settype): Likewise.
11945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11946 (__pthread_rwlock_init): Likewise.
11947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11948 (__pthread_rwlock_destroy): Likewise.
11949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11950 (__pthread_rwlock_rdlock): Likewise.
11951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11952 (__pthread_rwlock_tryrdlock): Likewise.
11953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11954 (__pthread_rwlock_wrlock): Likewise.
11955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11956 (__pthread_rwlock_trywrlock): Likewise.
11957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11958 (__pthread_rwlock_unlock): Likewise.
11959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11960 (__pthread_key_create): Likewise.
11961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11962 (__pthread_setspecific): Likewise.
11963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11964 (__pthread_getspecific): Likewise.
11965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11968 (_pthread_cleanup_push_defer): Likewise.
11969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11970 (_pthread_cleanup_pop_restore): Likewise.
11971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11972 (pthread_setcancelstate): Likewise.
11973 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11975 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11976 (memchr): Do not use BP_SYM in weak_alias.
11977 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11978 (fegetenv): Do not use BP_SYM in versioned symbols.
11979 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11980 (fesetenv): Do not use BP_SYM in versioned symbols.
11981 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11982 (feupdateenv): Do not use BP_SYM in versioned symbols.
11983 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11984 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11985 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11986 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11987 (open64): Do not use BP_SYM in weak_alias.
11988 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11989 (fegetenv): Do not use BP_SYM in versioned symbols.
11990 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11991 (fesetenv): Do not use BP_SYM in versioned symbols.
11992 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11993 (feupdateenv): Do not use BP_SYM in versioned symbols.
11994 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11995 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11996 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11997 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11998 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11999 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12002 (__libc_start_main): Do not use BP_SYM.
12004 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12007 redundant return line.
12009 (denorm): Likewise.
12010 (dbl_mp): Likewise.
12011 (sub_magnitudes): Likewise.
12017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12019 (denorm): Likewise.
12020 (dbl_mp): Likewise.
12021 (sub_magnitudes): Likewise.
12028 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12031 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12034 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12035 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12037 of __mul for squares.
12038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12042 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12045 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12048 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12050 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12051 prototype or function definition. Rename ubp_* variables and
12052 parameters. Remove argv definitions conditional on
12053 [__BOUNDED_POINTERS__].
12054 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12055 * elf/dl-runtime.c (_dl_fixup): Likewise.
12056 * include/set-hooks.h (RUN_HOOK): Likewise.
12057 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12059 * string/strcpy.c (strcpy): Do not use __unbounded.
12060 * sysdeps/generic/frame.h (struct layout): Likewise.
12061 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12062 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12063 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12064 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12065 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12066 (__backtrace): Likewise.
12067 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12069 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12070 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12071 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12073 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12074 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12075 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12076 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12077 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12078 Do not use __unbounded.
12079 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12080 Rename __unboundedrlimits parameter to rlimits in prototype.
12081 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12082 Do not use __unbounded.
12083 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12084 not use __ptrvalue.
12085 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12086 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12087 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12088 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12089 __ptrvalue or __unbounded.
12090 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12091 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12093 (__new_msgctl): Do not use __ptrvalue.
12094 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12096 (__libc_msgrcv): Do not use __ptrvalue.
12097 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12098 startup_info): Do not use __unbounded.
12099 (__libc_start_main): Likewise. Rename ubp_* variables and
12100 parameters. Remove argv definitions conditional on
12101 [__BOUNDED_POINTERS__].
12102 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12104 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12106 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12108 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12110 (__new_shmctl): Do not use __ptrvalue.
12111 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12112 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12114 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12115 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12116 (__libc_sigaction): Likewise.
12117 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12118 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12120 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12122 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12124 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12126 * string/mempcpy.c: Implement by calling memcpy.
12128 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12135 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12136 values in the mantissa.
12138 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12139 minimize writes to Z.
12140 (sub_magnitudes): Simplify code a bit.
12142 2013-02-12 Roland McGrath <roland@hack.frob.com>
12144 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12145 from the message. The linker prefixes all warnings with that already.
12147 2013-02-12 Andreas Schwab <schwab@suse.de>
12150 * posix/regexec.c (extend_buffers): Add parameter min_len.
12151 (check_matching): Pass minimum needed length.
12152 (clean_state_log_if_needed): Likewise.
12153 (get_subexp): Likewise.
12154 * posix/Makefile (tests): Add bug-regex34.
12155 (bug-regex34-ENV): Define.
12156 * posix/bug-regex34.c: New file.
12159 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12160 elements compare against the byte sequence of it, not its name.
12161 * posix/Makefile (tests): Add bug-regex35.
12162 (bug-regex35-ENV): Define.
12163 * posix/bug-regex35.c: New file.
12165 2013-02-11 Tom de Vries <tom@codesourcery.com>
12167 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12169 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12170 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12171 (CHECK_EOL): Add undef.
12173 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12175 * bits/stdlib-bsearch.h: New file.
12176 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12177 * stdlib/stdlib.h: Likewise.
12179 2013-02-11 Roland McGrath <roland@hack.frob.com>
12181 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12182 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12184 * manual/search.texi (Array Search Function): Add missing const in
12186 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12187 declaration to use rlim_t.
12188 (Basic Scheduling Functions): Remove erroneous const from
12189 sched_getparam prototype. Remove erroneous * from
12190 sched_get_priority_max and sched_get_priority_min prototypes.
12191 (Resource Usage): Fix summary @comment on vtimes to refer to
12192 sys/vtimes.h rather than vtimes.h.
12193 Add missing *s in vtimes prototype.
12194 (Limits on Resources): Fix ulimit prototype to return long int.
12195 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12196 prototypes to use long int rather than double.
12197 (BSD Random): Fix initstate and setstate to use char *, not void *.
12198 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12199 prototype to make second argument 'struct aiocb64 *const[]'.
12200 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12201 (Status of AIO Operations): Remove erroneous const in aio_return and
12202 aio_return64 prototypes.
12203 (Synchronizing I/O): Fix sync prototype to return void.
12204 * manual/startup.texi (Suboptions): Remove an erroneous const in
12205 getsubopt prototype.
12206 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12207 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12208 use size_t rather than int.
12209 (Scanning All Users): Likewise for getpwent_r.
12210 (Setting Groups): Add missing const to setgroups prototype.
12211 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12212 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12213 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12214 'const void *' rather than 'const char *'.
12215 (Host Address Functions): Likewise for inet_ntop.
12216 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12217 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12218 ssize_t for return value.
12219 (Sending Data): Likewise for send, sendto, sendmsg.
12220 (Socket Option Functions): Add a missing const in setsockopt prototype.
12221 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12222 use wchar_t for the argument.
12223 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12224 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12226 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12227 double/float/long double for second argument.
12228 Fix return types of significand, significandf, significandl.
12229 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12230 argument in fchmod prototype.
12231 (File Owner): Use uid_t and gid_t in fchown prototype.
12232 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12233 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12234 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12235 use 'const struct dirent **' as argument types to CMP function pointer
12237 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12238 (File Times): Fix summary magic @comment for struct utimbuf and utime
12239 to refer to utime.h, not time.h.
12240 * manual/string.texi (Argz Functions): Add missing const in
12241 argz_extract and argz_next prototypes.
12242 (Finding Tokens in a String): Likewise for basename.
12243 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12244 (Copying and Concatenation): Fix typo in wmemmove prototype.
12245 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12246 (Signal Stack): Remove erroneous const in sigstack prototype.
12247 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12249 (Simple Calendar Time): Likewise for stime.
12250 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12252 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12253 say sys/sysctl.h instead.
12254 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12255 and vsyslog prototypes.
12257 2013-02-11 Tom de Vries <tom@codesourcery.com>
12259 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12262 2013-02-11 Roland McGrath <roland@hack.frob.com>
12264 * misc/sys/mman.h: Fix typo in mremap comment.
12266 2013-02-08 Roland McGrath <roland@hack.frob.com>
12268 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12269 the '\0' terminator.
12271 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12274 * debug/segfault.c: Don't include <bp-checks.h>.
12275 * sysdeps/generic/bp-checks.h: Remove file.
12276 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12277 (__GETDENTS): Don't use CHECK_N.
12278 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12279 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12280 (__getgroups): Don't use CHECK_N.
12281 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12282 (setgroups): Don't use CHECK_N.
12283 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12284 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12285 (__libc_msgrcv): Don't use CHECK_N.
12286 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12287 (__libc_msgsnd): Don't use CHECK_N.
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12290 (__libc_pread): Don't use CHECK_N.
12291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12292 include <bp-checks.h>.
12293 (__libc_pread64): Don't use CHECK_N.
12294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12295 include <bp-checks.h>.
12296 (__libc_pwrite): Don't use CHECK_N.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12298 include <bp-checks.h>.
12299 (__libc_pwrite64): Don't use CHECK_N.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12302 (__libc_pread): Don't use CHECK_N.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12304 include <bp-checks.h>.
12305 (__libc_pread64): Don't use CHECK_N.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12307 include <bp-checks.h>.
12308 (__libc_pwrite): Don't use CHECK_N.
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12310 include <bp-checks.h>.
12311 (__libc_pwrite64): Don't use CHECK_N.
12312 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12313 (do_pread): Don't use CHECK_N.
12314 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12315 (do_pread64): Don't use CHECK_N.
12316 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12317 (do_pwrite): Don't use CHECK_N.
12318 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12319 (do_pwrite64): Don't use CHECK_N.
12320 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12321 (__libc_readv): Don't use CHECK_N.
12322 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12323 (semop): Don't use CHECK_N.
12324 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12326 (semtimedop): Don't use CHECK_N.
12327 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12328 (__libc_pread): Don't use CHECK_N.
12329 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12331 (__libc_pread64): Don't use CHECK_N.
12332 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12334 (__libc_pwrite): Don't use CHECK_N.
12335 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12337 (__libc_pwrite64): Don't use CHECK_N.
12338 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12340 (__libc_msgrcv): Don't use CHECK_N.
12341 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12342 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12343 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12344 (__libc_writev): Don't use CHECK_N.
12346 2013-02-08 Roland McGrath <roland@hack.frob.com>
12348 * string/strcpy.c: Removed unused variable.
12350 * Makeconfig (+sysdep-includes): Define with := rather than =.
12351 Use an existing include/ subdir of each sysdeps dir before it.
12353 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12355 * nscd/connection.c (register_traced_file): Comment function.
12356 [HAVE_INOTIFY] (union __inev): Define.
12357 [HAVE_INOTIFY] (inotify_check_files): New function.
12358 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12359 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12361 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12363 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12365 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12366 loaded if not already and that a failure is permanent.
12368 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12371 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12372 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12374 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12377 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12378 (CHECK_1_NULL_OK): Likewise.
12379 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12380 (__fxstat): Do not use CHECK_1.
12381 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12383 (___fxstat64): Do not use CHECK_1.
12384 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12386 (__fxstatat): Do not use CHECK_1.
12387 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12389 (__fxstatat64): Do not use CHECK_1.
12390 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12392 (__fxstat): Do not use CHECK_1.
12393 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12395 (__fxstatat): Do not use CHECK_1.
12396 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12398 (__getresgid): Do not use CHECK_1.
12399 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12401 (__getresuid): Do not use CHECK_1.
12402 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12404 (__lxstat): Do not use CHECK_1.
12405 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12407 (__old_msgctl): Do not use CHECK_1.
12408 (__new_msgctl): Likewise.
12409 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12411 (__new_setrlimit): Do not use CHECK_1.
12412 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12414 (__old_shmctl): Do not use CHECK_1.
12415 (__new_shmctl): Likewise.
12416 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12418 (__xstat): Do not use CHECK_1.
12419 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12420 (__lxstat): Do not use CHECK_1.
12421 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12423 (___lxstat64): Do not use CHECK_1.
12424 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12425 (__old_msgctl): Do not use CHECK_1.
12426 (__new_msgctl): Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12429 (__gettimeofday): Do not use CHECK_1.
12430 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12431 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12432 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12434 (__gettimeofday): Do not use CHECK_1.
12435 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12436 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12437 (__new_shmctl): Do not use CHECK_1.
12438 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12440 (do_sigtimedwait): Do not use CHECK_1.
12441 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12443 (do_sigwaitinfo): Do not use CHECK_1.
12444 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12446 (msgctl): Do not use CHECK_1.
12447 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12449 (shmctl): Do not use CHECK_1.
12450 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12451 (ustat): Do not use CHECK_1.
12452 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12454 (__fxstat): Do not use CHECK_1.
12455 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12457 (__fxstatat): Do not use CHECK_1.
12458 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12460 (__lxstat): Do not use CHECK_1.
12461 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12463 (__xstat): Do not use CHECK_1.
12464 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12465 (__xstat): Do not use CHECK_1.
12466 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12467 (___xstat64): Do not use CHECK_1.
12470 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12472 (CHECK_BOUNDS_HIGH): Likewise.
12473 * string/strcpy.c: Do not include <bp-checks.h>.
12474 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12476 2013-02-07 Roland McGrath <roland@hack.frob.com>
12478 * nscd/nscd-client.h (__nscd_drop_map_ref):
12479 Add __attribute__ ((unused)).
12480 * nis/nss-nisplus.h (niserr2nss): Likewise.
12482 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12483 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12485 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12486 Remove inline keyword.
12487 * include/rounding-mode.h (round_away): Likewise.
12488 * libio/wfileops.c (adjust_wide_data): Likewise.
12489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12490 (__m128i_strloadu_tolower): Likewise.
12491 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12492 (__m128i_strloadu_tolower): Likewise.
12493 * time/mktime.c (ydhms_diff): Likewise.
12494 * locale/elem-hash.h (elem_hash): Likewise.
12495 * locale/setlocale.c (setdata): Likewise.
12496 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12497 (re_string_wchar_at): Likewise.
12498 (bitset_not, bitset_merge, bitset_mask): Likewise.
12499 [!(__GNUC__ > 3)] (inline): Remove macro.
12500 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12501 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12502 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12503 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12504 * string/memcmp.c (memcmp_bytes): Likewise.
12505 * locale/programs/locarchive.c (compute_hashval): Likewise.
12506 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12507 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12508 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12509 * nss/getent.c (print_rpc, print_protocols): Likewise.
12510 (print_passwd, print_group, print_aliases): Likewise.
12511 * nis/nss-nisplus.h (niserr2nss): Likewise.
12512 * nscd/connections.c (restart_p): Likewise.
12513 Change return type to bool.
12515 2013-02-05 Roland McGrath <roland@hack.frob.com>
12517 * Makeconfig (all-Depend-files): Add existing
12518 $(sorted-subdirs:=/Depend) files.
12519 (all-subdirs): Remove nss.
12520 * sysdeps/unix/inet/Subdirs: Add it here instead.
12521 * hesiod/Depend: New file.
12523 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12524 instead of calling alloca.
12526 * io/lseek.c (__lseek): Rename to __libc_lseek.
12527 Define __lseek as an alias.
12529 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12531 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12533 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12534 else clause and remove check for non-standard endianness.
12536 2013-02-04 David S. Miller <davem@davemloft.net>
12538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12540 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12543 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12544 (__ubp_memchr): Remove prototype.
12545 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12546 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12547 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12548 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12549 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12551 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12552 (__ubp_memchr): Likewise.
12553 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12554 (__ubp_memchr): Likewise.
12555 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12556 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12557 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12558 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12560 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12561 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12562 (__getcwd): Do not use CHECK_STRING.
12563 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12565 (__real_chown): Do not use CHECK_STRING.
12566 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12568 (fchownat): Do not use CHECK_STRING.
12569 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12571 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12573 (__lchown): Do not use CHECK_STRING.
12574 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12575 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12576 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12577 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12579 include <bp-checks.h>.
12580 (truncate64): Do not use CHECK_STRING.
12581 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12583 (__real_chown): Do not use CHECK_STRING.
12584 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12586 (__lchown): Do not use CHECK_STRING.
12587 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12589 (__chown): Do not use CHECK_STRING.
12590 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12592 (truncate64): Do not use CHECK_STRING.
12593 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12595 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12596 (__xmknod): Do not use CHECK_STRING.
12597 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12599 (__xmknodat): Do not use CHECK_STRING.
12600 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12601 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12603 2013-02-04 Andreas Schwab <schwab@suse.de>
12606 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12607 * include/netdb.h: Likewise for h_errno.
12608 * elf/tst-stackguard1.c: Include <tls.h>.
12610 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12612 * elf/link.h (struct link_map): Extend the l_addr comment.
12613 * include/link.h (struct link_map): Likewise.
12615 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12618 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12619 (BOUNDED_1): Remove macro.
12620 * debug/backtrace.c: Don't include <bp-checks.h>.
12621 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12622 (__backtrace): Likewise.
12623 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12625 (__backtrace): Don't use BOUNDED_1.
12626 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12628 (__backtrace): Don't use BOUNDED_1.
12629 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12630 (__backtrace): Don't use BOUNDED_1.
12631 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12632 (shmat): Don't use BOUNDED_N.
12634 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12637 * sysdeps/generic/bp-start.h: Remove file.
12638 * csu/libc-start.c: Don't include <bp-start.h>.
12639 (LIBC_START_MAIN): Set up __environ directly instead of using
12640 INIT_ARGV_and_ENVIRON.
12641 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12645 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12647 (CHECK_FCNTL): Likewise.
12648 (CHECK_N_PAGES): Likewise.
12651 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12653 (CHECK_SIGSET_NULL_OK): Likewise.
12654 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12656 (sigpending): Don't use CHECK_SIGSET.
12657 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12659 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12660 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12662 (do_sigsuspend): Don't use CHECK_SIGSET.
12663 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12665 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12666 (do_sigwait): Don't use CHECK_SIGSET.
12667 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12670 include <bp-checks.h>.
12671 (sigpending): Don't use CHECK_SIGSET.
12672 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12673 include <bp-checks.h>.
12674 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12675 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12677 (sigpending): Don't use CHECK_SIGSET.
12678 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12680 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12683 * sysdeps/generic/bp-semctl.h: Remove file.
12684 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12685 <bp-checks.h> and <bp-semctl.h>.
12686 (__old_semctl): Don't use CHECK_SEMCTL.
12687 (__new_semctl): Likewise.
12688 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12690 (__old_semctl): Don't use CHECK_SEMCTL.
12691 (__new_semctl): Likewise.
12692 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12693 <bp-checks.h> and <bp-semctl.h>.
12694 (__old_semctl): Don't use CHECK_SEMCTL.
12695 (__new_semctl): Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12697 <bp-checks.h> and <bp-semctl.h>.
12698 (semctl): Don't use CHECK_SEMCTL.
12701 * Makerules (elide-bp-thunks): Remove variable.
12702 (elide-routines.oS): Don't use $(elide-bp-thunks).
12703 (elide-routines.os): Likewise.
12704 (elide-routines.o): Likewise.
12705 (elide-routines.op): Likewise.
12706 (elide-routines.og): Likewise.
12707 (objects): Don't use $(bp-thunks).
12708 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12710 (common-generated): Do not add s-proto-bp.d.
12711 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12714 Do not generate makefile rules for bounded-pointer thunks.
12715 * sysdeps/generic/bp-thunks.h: Remove file.
12716 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12717 * sysdeps/unix/s-proto-bp.S: Likewise.
12720 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12721 parts of result separately when argument is not close to line from
12722 -i to i and one part of argument is small.
12723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12725 * math/libm-test.inc (cacos_test): Add more tests.
12726 (casin_test): Likewise.
12727 (casinh_test): Likewise.
12728 * sysdeps/i386/fpu/libm-test-ulps: Update.
12729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12731 2013-01-31 David S. Miller <davem@davemloft.net>
12733 * po/de.po: Update from translation team.
12735 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12737 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12739 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12741 * configure.in (_AC_PROG_CC_C89): New definition.
12742 * configure: Regenerate.
12744 * configure.in (AC_PROG_CPP): New definition.
12745 * configure: Regenerate.
12747 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12749 * debug/tst-backtrace.h: New file.
12750 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12751 (ret): Remove variable.
12753 (FAIL): Remove macro.
12754 (NO_INLINE): Likewise.
12755 (fn1): Use match function instead of strstr.
12756 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12757 (ret): Remove variable.
12759 (FAIL): Remove macro.
12760 (NO_INLINE): Likewise.
12761 (fn): Use match function instead of strstr.
12762 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12763 (ret): Remove variable.
12765 (FAIL): Remove macro.
12766 (NO_INLINE): Likewise.
12767 (handle_signal): Use match function instead of strstr.
12768 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12769 (ret): Remove variable.
12771 (FAIL): Remove macro.
12772 (NO_INLINE): Likewise.
12773 (handle_signal): Use match function instead of strstr.
12775 2013-01-23 Roland McGrath <roland@hack.frob.com>
12777 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12779 2013-01-23 David S. Miller <davem@davemloft.net>
12781 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12782 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12783 argument of CAS if possible.
12784 * sysdeps/sparc/sparc64/bits/atomic.h
12785 (__arch_compare_and_exchange_val_32_acq): Likewise.
12786 (__arch_compare_and_exchange_val_64_acq): Likewise.
12788 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12790 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12791 * sysdeps/posix/ulimit.c: ... this.
12792 Include <limits.h>.
12793 * sysdeps/unix/bsd/ulimit.c: Remove file.
12795 2013-01-23 Adam Conrad <adconrad@0c3.net>
12797 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12798 (LDFLAGS-tst-array5): Likewise.
12800 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12803 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12804 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12805 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12806 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12808 2013-01-21 David S. Miller <davem@davemloft.net>
12810 * sysdeps/sparc/backtrace.c: New file.
12811 * sysdeps/sparc/sparc32/backtrace.h: New file.
12812 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12813 * sysdeps/sparc/sparc64/backtrace.h: New file.
12814 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12815 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12818 2013-01-21 Andreas Schwab <schwab@suse.de>
12821 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12824 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12830 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12831 Mark Mitchell <mark@codesourcery.com>
12832 Tom de Vries <tom@codesourcery.com>
12833 Paul Pluzhnikov <ppluzhnikov@google.com>
12835 * debug/tst-backtrace2.c: New file.
12836 * debug/tst-backtrace3.c: Likewise.
12837 * debug/tst-backtrace4.c: Likewise.
12838 * debug/tst-backtrace5.c: Likewise.
12839 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12840 (CFLAGS-tst-backtrace3.c): Likewise.
12841 (CFLAGS-tst-backtrace4.c): Likewise.
12842 (CFLAGS-tst-backtrace5.c): Likewise.
12843 (LDFLAGS-tst-backtrace2): Likewise.
12844 (LDFLAGS-tst-backtrace3): Likewise.
12845 (LDFLAGS-tst-backtrace4): Likewise.
12846 (LDFLAGS-tst-backtrace5): Likewise.
12847 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12848 tst-backtrace4 and tst-backtrace5.
12850 2013-01-18 Anton Blanchard <anton@samba.org>
12851 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12853 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12854 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12856 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12858 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12859 "+r" and remove output regs list as redundant. Add explicit inline
12860 asm to specify register of return val to work around compiler codegen
12861 bug. Remove (int) cast on return value. Add return type parameter to
12862 use in macro so that this macro does not truncate return value for
12864 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12865 pass to INTERNAL_VSYSCALL_NCS.
12866 (INLINE_VSYSCALL): Add 'long int' as return type to
12867 INTERNAL_VSYSCALL_NCS macro invocation.
12868 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12869 INTERNAL_VSYSCALL_NCS macro invocation.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12872 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12875 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12876 Fix application of SIMD FP exception mask.
12878 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12879 mp_no from a power of two.
12880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12881 __mpexp_twomm1. Use __pow_mp.
12883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12886 2013-01-17 David S. Miller <davem@davemloft.net>
12888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12890 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12893 * include/complex.h: Condition contents on [!_COMPLEX_H].
12894 (__kernel_casinhf): New prototype.
12895 (__kernel_casinh): Likewise.
12896 (__kernel_casinhl): Likewise.
12897 * math/Makefile (libm_calls): Add k_casinh.
12898 * math/k_casinh.c: New file.
12899 * math/k_casinhf.c: Likewise.
12900 * math/k_casinhl.c: Likewise.
12901 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12902 finite nonzero arguments.
12903 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12904 finite nonzero arguments.
12905 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12906 finite nonzero arguments.
12907 * math/s_casinh.c: Do not include <float.h>.
12908 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12909 * math/s_casinhf.c: Do not include <float.h>.
12910 (__casinhf): Move code for finite nonzero arguments to
12912 * math/s_casinhl.c: Do not include <float.h>.
12913 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12915 (__casinhl): Move code for finite nonzero arguments to
12917 * math/libm-test.inc (cacos_test): Add more tests.
12918 * sysdeps/i386/fpu/libm-test-ulps: Update.
12919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12921 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12923 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12924 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12925 [!HAVE_MREMAP]: Remove [defined linux] case.
12926 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12928 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12930 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12932 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12934 * elf/elf.h (R_386_SIZE32): New relocation.
12935 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12937 (elf_machine_rela): Likewise.
12938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12939 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12941 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12943 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12944 (FP_FAST_FMA): Do not define.
12945 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12946 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12947 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12948 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12949 !_SOFT_FLOAT]: Likewise.
12950 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12951 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12954 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12956 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12957 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12958 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12961 2013-01-16 Andreas Schwab <schwab@suse.de>
12964 * include/stdlib.h (__mktemp): Add declaration.
12965 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12966 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12968 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12970 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12972 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12973 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12974 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12976 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12977 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12981 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12982 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12983 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12985 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12986 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12988 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12990 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12992 2013-01-15 David S. Miller <davem@davemloft.net>
12994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12995 trunc{,f} to libm-sysdep_routes.
12996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13006 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13007 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13008 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13009 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13010 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13011 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13014 nearbyint{,f} to libm-sysdep_routes.
13015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13028 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13031 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13032 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13033 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13035 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13036 libc_feholdexcept and libc_fesetenv.
13038 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13040 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13042 2013-01-14 David S. Miller <davem@davemloft.net>
13044 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13045 (SPARC_ASM_VIS2_IFUNC): Likewise.
13046 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13048 use of 'siam' instruction.
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13082 routines to libm-sysdep_routines.
13083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13086 fdim/fdimf to libm-sysdep_routines.
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13095 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13096 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13097 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13098 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13100 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13103 to optimize copies.
13105 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13110 local variable MPTWO.
13111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13114 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13116 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13119 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13121 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13123 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13125 * manual/pattern.texi (glob_t): Document gl_flags.
13126 (glob64_t): Likewise.
13128 2013-01-11 David S. Miller <davem@davemloft.net>
13130 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13131 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13132 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13133 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13134 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13135 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13136 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13137 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13138 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13139 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13140 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13141 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13142 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13144 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13145 sparc V9 rather than using V8 code.
13146 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13147 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13149 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13151 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13154 2013-01-11 Roland McGrath <roland@hack.frob.com>
13156 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13157 not in the main loop.
13158 * configure: Regenerated.
13160 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13162 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13163 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13165 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13166 [!__GLIBC_HAVE_LONG_LONG] case.
13167 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13168 condition to just #else.
13169 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13170 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13171 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13172 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13174 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13175 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13176 #elif condition to just #else.
13177 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13178 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13179 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13180 #elif condition to just #else.
13182 2013-01-11 Steve Ellcey <sellcey@mips.com>
13184 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13185 (EF_MIPS_ARCH_64): Fix value.
13186 (EF_MIPS_ARCH_32R2): New.
13187 (EF_MIPS_ARCH_64R2): New.
13189 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13191 * Makeconfig (+link-pie-before-libc): New.
13192 (+link-pie-after-libc): Likewise.
13193 (+link-pie-tests): Likewise.
13194 (+link-pie): Rewritten.
13195 (link-before-libc): Remove $(config-LDFLAGS).
13196 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13197 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13198 (config-LDFLAGS): Renamed to ...
13199 (rtld-LDFLAGS): This.
13200 (rtld-tests-LDFLAGS): New macro.
13201 (link-libc-rpath-link): Likewise.
13202 (link-libc-tests-rpath-link): Likewise.
13203 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13204 (link-libc): Prepand $(link-libc-rpath-link).
13205 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13206 (test-program-prefix): New macro.
13207 (test-via-rtld-prefix): Likewise.
13208 (test-program-cmd): Likewise.
13209 (host-test-program-cmd): Likewise.
13210 * Makefile ($(common-objpfx)testrun.sh): Replace
13211 $(run-program-prefix) with $(test-program-prefix).
13212 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13214 ($(common-objpfx)shlib.lds): Likewise.
13215 (build-module-helper): Likewise.
13216 ($(common-objpfx)format.lds): Likewise.
13217 * Rules (binaries-pie-tests): New.
13218 (binaries-pie-notests): Likewise.
13219 (binaries-pie): Rewritten.
13220 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13221 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13222 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13223 (make-test-out): Replace $(host-built-program-cmd) with
13224 $(host-test-program-cmd).
13225 * config.make.in (build-hardcoded-path-in-tests): New variable.
13226 * configure.in (--enable-hardcoded-path-in-tests): New configure
13228 (hardcoded_path_in_tests): New AC_SUBST.
13229 * configure: Regenerated.
13230 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13231 $(built-program-cmd) with $(test-program-cmd).
13232 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13233 (test_program_cmd): This.
13234 * elf/Makefile ($(objpfx)order.out): Run test with
13235 $(test-program-prefix).
13236 ($(objpfx)order2.out): Likewise.
13237 ($(objpfx)tst-initorder.out): Likewise.
13238 ($(objpfx)tst-initorder2.out): Likewise.
13239 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13240 $(test-program-cmd).
13241 ($(objpfx)tst-array1-static.out): Likewise.
13242 ($(objpfx)tst-array2.out): Likewise.
13243 ($(objpfx)tst-array3.out): Likewise.
13244 ($(objpfx)tst-array4.out): Likewise.
13245 ($(objpfx)tst-array5.out): Likewise.
13246 ($(objpfx)tst-array5-static.out): Likewise.
13247 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13248 $(test-program-cmd).
13249 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13250 $(run-program-prefix) with $(test-program-prefix).
13251 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13252 (test_program_prefix): This.
13253 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13254 $(run-program-prefix) with $(test-program-prefix).
13255 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13256 (test_program_prefix): This.
13257 * iconvdata/tst-tables.sh: Likewise.
13258 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13259 $(run-program-prefix) with $(test-program-prefix).
13260 ($(objpfx)tst-translit.out): Likewise.
13261 ($(objpfx)tst-gettext2.out): Likewise.
13262 ($(objpfx)tst-gettext4.out): Likewise.
13263 ($(objpfx)tst-gettext6.out): Likewise.
13264 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13265 (test_program_prefix): This.
13266 * intl/tst-gettext2.sh: Likewise.
13267 * intl/tst-gettext4.sh Likewise.
13268 * intl/tst-gettext6.sh: Likewise.
13269 * intl/tst-translit.sh: Likewise.
13270 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13271 with $(test-program-cmd).
13272 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13273 $(run-program-prefix) with $(test-program-prefix).
13274 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13275 (test_program_prefix): This.
13276 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13277 $(run-program-prefix) with $(test-program-prefix).
13278 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13279 (test_program_prefix): This.
13280 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13281 * posix/Makefile ($(objpfx)globtest.out): Replace
13282 $(run-via-rtld-prefix) and $(test-wrapper) with
13283 $(test-program-prefix) and $(test-via-rtld-prefix).
13284 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13285 $(test-program-prefix).
13286 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13287 $(host-test-program-cmd).
13288 (tst-spawn-ARGS): Likewise.
13289 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13290 $(test-program-prefix).
13291 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13292 (test_via_rtld_prefix): This.
13293 (test_wrapper): Renamed to ...
13294 (test_program_prefix): This.
13295 (run_program_prefix): Replaced by test_program_prefix.
13296 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13297 (test_program_prefix): This.
13298 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13299 with $(host-test-program-cmd).
13300 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13301 $(run-program-prefix) with $(test-program-prefix).
13302 ($(objpfx)tst-printf.out): Likewise.
13303 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13304 $(test-program-cmd).
13305 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13306 (test_program_prefix): This.
13307 * stdio-common/tst-unbputc.sh: Likewise.
13308 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13309 $(run-program-prefix) with $(test-program-prefix).
13310 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13311 (test_program_prefix): This.
13312 * string/Makefile ($(objpfx)tst-svc.out): Replace
13313 $(built-program-cmd) with $(test-program-cmd).
13315 2013-01-11 Andreas Jaeger <aj@suse.de>
13318 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13319 value. Sync with Linux 3.7.
13321 2013-01-10 David S. Miller <davem@davemloft.net>
13323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13324 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13325 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13327 2013-01-10 Roland McGrath <roland@hack.frob.com>
13329 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13331 * configure: Regenerated.
13333 2013-01-10 David S. Miller <davem@davemloft.net>
13335 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13336 sparc V9 rather than using V8 code.
13337 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13338 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13340 2013-01-10 Roland McGrath <roland@hack.frob.com>
13342 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13343 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13344 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13345 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13346 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13347 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13348 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13349 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13350 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13351 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13352 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13353 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13354 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13355 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13356 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13357 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13358 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13359 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13360 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13361 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13362 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13363 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13364 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13365 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13366 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13367 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13368 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13370 2013-01-10 David S. Miller <davem@davemloft.net>
13372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13374 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13376 * posix/Makefile (tests-static): New variable.
13377 (tests): Add $(tests-static).
13378 (tst-exec-static-ARGS): New variable.
13379 (tst-spawn-static-ARGS): Likewise.
13380 * posix/tst-exec-static.c: New file.
13381 * posix/tst-spawn-static.c: Likewise.
13382 * posix/tst-exec.c: Support run directly.
13383 * posix/tst-spawn.c: Likewise.
13385 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13387 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13389 * math/bits/mathcalls.h (llrint): Likewise.
13390 (llround): Likewise.
13391 * stdlib/stdlib.h (struct drand48_data): Likewise.
13392 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13393 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13394 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13396 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13398 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13399 (elf_greg_t): Likewise.
13400 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13401 (__jmp_buf): Likewise.
13402 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13404 (llrint): Likewise, for all definitions.
13405 (llrintl): Likewise.
13407 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13408 Remove [__GNUC__] condition.
13409 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13410 condition to just [__USE_ISOC99].
13411 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13413 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13416 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13417 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13419 (_POSIX_V6_ILP32_OFF32): Likewise.
13420 (_XBS5_ILP32_OFF32): Likewise.
13421 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13422 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13424 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13426 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13429 doubles __mpexp_twomm1. Adjust usage.
13430 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13433 2013-01-10 Andreas Schwab <schwab@suse.de>
13436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13437 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13439 2013-01-09 David S. Miller <davem@davemloft.net>
13442 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13443 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13444 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13445 TCP_FASTOPEN): Define.
13446 (tcp_repair_opt): New structure.
13447 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13449 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13450 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13451 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13452 (tcp_cookie_transactions): New structure.
13454 2013-01-09 Anton Blanchard <anton@samba.org>
13456 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13457 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13459 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13461 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13463 * include/features.h (__USE_ANSI): Remove.
13465 2013-01-09 Roland McGrath <roland@hack.frob.com>
13467 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13469 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13471 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13473 * sysdeps/s390/fpu/libm-test-ulps: Update.
13475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13477 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13481 (denorm): Likewise.
13482 (__mp_dbl): Likewise.
13483 (__dbl_mp): Likewise.
13484 (add_magnitudes): Likewise.
13485 (sub_magnitudes): Likewise.
13491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13495 (denorm): Likewise.
13496 (__mp_dbl): Likewise.
13497 (__dbl_mp): Likewise.
13498 (add_magnitudes): Likewise.
13499 (sub_magnitudes): Likewise.
13505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13509 (denorm): Likewise.
13510 (__mp_dbl): Likewise.
13511 (__dbl_mp): Likewise.
13512 (add_magnitudes): Likewise.
13513 (sub_magnitudes): Likewise.
13520 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13522 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13523 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13524 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13525 2 && __USE_EXTERN_INLINES]: Likewise.
13527 2013-01-08 Andreas Jaeger <aj@suse.de>
13530 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13532 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13533 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13535 2013-01-07 Anton Blanchard <anton@samba.org>
13537 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13538 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13539 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13540 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13541 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13542 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13543 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13546 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13547 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13551 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13554 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13555 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13557 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13558 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13560 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13561 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13562 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13563 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13564 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13566 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13567 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13569 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13570 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13571 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13573 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13581 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13583 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13584 (__MALLOC_PMT): Likewise.
13585 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13586 [__GNUC__], only on [_LIBC].
13587 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13588 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13589 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13590 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13591 forward declaration.
13592 (realloc_hook_ini): Likewise.
13593 (memalign_hook_ini): Likewise.
13594 (__libc_memalign): Do not use __MALLOC_PMT in variable
13596 (__libc_valloc): Likewise.
13597 (__libc_pvalloc): Likewise.
13598 (__libc_calloc): Likewise.
13599 (__posix_memalign): Likewise.
13602 * math/s_casinh.c: Include <float.h>.
13603 (__casinh): Do not do computation with squaring and square root
13604 for large arguments.
13605 * math/s_casinhf.c: Include <float.h>.
13606 (__casinhf): Do not do computation with squaring and square root
13607 for large arguments.
13608 * math/s_casinhl.c: Include <float.h>.
13609 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13610 (__casinhl): Do not do computation with squaring and square root
13611 for large arguments.
13612 * math/libm-test.inc (casin_test): Add more tests.
13613 (casinh_test): Likewise.
13614 * sysdeps/i386/fpu/libm-test-ulps: Update.
13615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13617 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13619 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13620 (__x86_64_raw_data_cache_size): Likewise.
13621 (__x86_64_data_cache_size_half): Likewise.
13622 (__x86_64_raw_data_cache_size_half): Likewise.
13623 (__x86_64_shared_cache_size): Likewise.
13624 (__x86_64_raw_shared_cache_size): Likewise.
13625 (__x86_64_shared_cache_size_half): Likewise.
13626 (__x86_64_raw_shared_cache_size_half): Likewise.
13627 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13629 (__x86_data_cache_size): This.
13630 (__x86_64_raw_data_cache_size): Renamed to ...
13631 (__x86_raw_data_cache_size): This.
13632 (__x86_64_data_cache_size_half): Renamed to ...
13633 (__x86_data_cache_size_half): This.
13634 (__x86_64_raw_data_cache_size_half): Renamed to ...
13635 (__x86_raw_data_cache_size_half): This.
13636 (__x86_64_shared_cache_size): Renamed to ...
13637 (__x86_shared_cache_size): This.
13638 (__x86_64_raw_shared_cache_size): Renamed to ...
13639 (__x86_raw_shared_cache_size): This.
13640 (__x86_64_shared_cache_size_half): Renamed to ...
13641 (__x86_shared_cache_size_half): This.
13642 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13643 (__x86_raw_shared_cache_size_half): This.
13644 * sysdeps/x86_64/memcpy.S: Updated.
13645 * sysdeps/x86_64/memset.S: Likewise.
13646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13650 2013-01-04 David S. Miller <davem@davemloft.net>
13652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13654 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13656 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13657 1 to avoid redefinition warning.
13658 (__USE_GNU): Don't define.
13659 (init_signaling_nan): Protoize.
13661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13663 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13665 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13667 (__cpymn): Likewise.
13668 (norm): Remove commented code.
13669 (denorm): Likewise.
13670 (__mp_dbl): Likewise.
13672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13673 (__cpymn): Likewise.
13674 (norm): Remove commented code.
13675 (denorm): Likewise.
13676 (__mp_dbl): Likewise.
13679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13680 mp_no value for 1.0 and 2.0.
13681 (norm): Use RADIXI instead of radixi.d.
13682 (denorm): Likewise.
13683 (__mul): Use 0.0 instead of zero.d.
13684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13685 mp_no value for 1.0 and 2.0.
13686 (norm): Use RADIXI instead of radixi.d.
13687 (denorm): Likewise.
13688 (__mul): Use 0.0 instead of zero.d.
13690 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13693 * math/s_casinh.c (__casinh): Reduce finite argument to first
13694 quadrant then set signs of results at the end.
13695 * math/s_casinhf.c (__casinhf): Likewise.
13696 * math/s_casinhl.c (__casinhl): Likewise.
13697 * math/libm-test.inc (casin_test): Add more tests.
13698 (casinh_test): Likewise.
13699 * sysdeps/i386/fpu/libm-test-ulps: Update.
13700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13702 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13704 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13706 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13708 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13710 (denorm): Likewise.
13711 (__mp_dbl): Likewise.
13714 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13715 and adjust the header comment.
13717 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13718 variable name from declaration.
13720 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13723 Initialize COMMON_CPUID_INDEX_7 element.
13724 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13725 (CPUID_RTM): Likewise.
13726 (HAS_RTM): Likewise.
13727 (COMMON_CPUID_INDEX_7): New enum.
13729 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13732 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13733 size is zero, record memory as freed.
13735 2013-01-03 Andreas Jaeger <aj@suse.de>
13737 * po/ia.po: Add new Interlingua translation.
13739 2012-01-03 Allan McRae <allan@archlinux.org>
13741 * locale/programs/localedef.c: Fix description of '--posix' flag.
13743 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13745 * NEWS: Update dates in second copyright notice.
13746 * README: Update copyright dates in example.
13747 * manual/libc.texinfo: Update copyright dates.
13748 * scripts/test-installation.pl: Update copyright date in --version
13751 * hurd/ctty-input.c: Fix copyright notice formatting.
13752 * hurd/ctty-output.c: Likewise.
13753 * hurd/dtable.c: Likewise.
13754 * hurd/hurd-raise.c: Likewise.
13755 * hurd/hurdprio.c: Likewise.
13756 * hurd/msgportdemux.c: Likewise.
13757 * misc/sys/file.h: Likewise.
13758 * misc/sys/ioctl.h: Likewise.
13759 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13760 * sysdeps/mach/hurd/chdir.c: Likewise.
13761 * sysdeps/mach/hurd/fchdir.c: Likewise.
13762 * sysdeps/mach/hurd/rename.c: Likewise.
13763 * sysdeps/mach/hurd/rmdir.c: Likewise.
13764 * sysdeps/mach/hurd/seekdir.c: Likewise.
13765 * sysdeps/mach/hurd/setsid.c: Likewise.
13766 * sysdeps/posix/wait3.c: Likewise.
13768 * All files with FSF copyright notices: Update copyright dates
13769 using scripts/update-copyrights.
13770 * intl/plural.c: Regenerated.
13771 * locale/programs/charmap-kw.h: Likewise.
13772 * locale/programs/locfile-kw.h: Likewise.
13774 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13776 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13780 calculation loop and add branch prediction.
13782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13783 check access beyond bounds of m1np.
13785 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13787 (__inv): Remove local variable MPTWO to use the global
13789 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13792 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13793 MP3HALFS static const.
13795 2013-01-01 David S. Miller <davem@davemloft.net>
13797 * po/ca.po: Update from translation team.
13799 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13801 * scripts/update-copyrights: New file.
13802 * Makeconfig: Reformat copyright notice.
13803 * ctype/ctype.h: Likewise.
13804 * debug/swprintf_chk.c: Likewise.
13805 * elf/dl-cache.c: Likewise.
13806 * elf/dl-debug.c: Likewise.
13807 * elf/dl-object.c: Likewise.
13808 * grp/initgroups.c: Likewise.
13809 * hurd/Makefile: Likewise.
13810 * hurd/hurd/signal.h: Likewise.
13811 * hurd/hurdfault.c: Likewise.
13812 * hurd/hurdioctl.c: Likewise.
13813 * hurd/hurdlookup.c: Likewise.
13814 * hurd/intr-msg.c: Likewise.
13815 * iconv/gconv_open.c: Likewise.
13816 * libio/swprintf.c: Likewise.
13817 * locale/lc-ctype.c: Likewise.
13818 * locale/nl_langinfo.c: Likewise.
13819 * mach/Machrules: Likewise.
13820 * mach/Makefile: Likewise.
13821 * malloc/obstack.h: Likewise.
13822 * manual/Makefile: Likewise.
13823 * manual/tsort.awk: Likewise.
13824 * misc/bits/stab.def: Likewise.
13825 * nis/nis_print_group_entry.c: Likewise.
13826 * nis/nis_table.c: Likewise.
13827 * nis/nss_compat/compat-pwd.c: Likewise.
13828 * nis/nss_compat/compat-spwd.c: Likewise.
13829 * po/Makefile: Likewise.
13830 * posix/fnmatch.c: Likewise.
13831 * posix/regex.h: Likewise.
13832 * resolv/Makefile: Likewise.
13833 * resolv/nss_dns/dns-network.c: Likewise.
13834 * resolv/res_hconf.c: Likewise.
13835 * scripts/gen-sorted.awk: Likewise.
13836 * soft-fp/soft-fp.h: Likewise.
13837 * stdio-common/printf.h: Likewise.
13838 * stdlib/monetary.h: Likewise.
13839 * stdlib/random.c: Likewise.
13840 * stdlib/random_r.c: Likewise.
13841 * sysdeps/generic/Makefile: Likewise.
13842 * sysdeps/gnu/Makefile: Likewise.
13843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13871 * sysdeps/mach/hurd/errnos.awk: Likewise.
13872 * sysdeps/mach/hurd/fork.c: Likewise.
13873 * sysdeps/mach/hurd/getcwd.c: Likewise.
13874 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13875 * sysdeps/mach/hurd/mmap.c: Likewise.
13876 * sysdeps/mach/hurd/utimes.c: Likewise.
13877 * sysdeps/mach/hurd/xmknod.c: Likewise.
13878 * sysdeps/posix/profil.c: Likewise.
13879 * sysdeps/posix/readdir_r.c: Likewise.
13880 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13881 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13882 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13883 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13887 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13889 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13890 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13891 * sysdeps/pthread/lio_listio.c: Likewise.
13892 * sysdeps/sparc/dl-procinfo.h: Likewise.
13893 * sysdeps/unix/i386/sysdep.S: Likewise.
13894 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13895 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13896 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13897 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13899 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13900 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13901 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13902 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13903 * sysdeps/wordsize-32/divdi3.c: Likewise.
13904 * time/sys/time.h: Likewise.
13905 * wcsmbs/Makefile: Likewise.
13907 2013-01-01 David S. Miller <davem@davemloft.net>
13909 * po/fr.po: Update from translation team.
13911 * catgets/gencat.c: Update copyright year.
13912 * csu/version.c: Likewise.
13913 * debug/catchsegv.sh: Likewise.
13914 * debug/pcprofiledump.c: Likewise.
13915 * debug/xtrace.sh: Likewise.
13916 * elf/ldconfig.c: Likewise.
13917 * elf/ldd.bash.in: Likewise.
13918 * elf/pldd.c: Likewise.
13919 * elf/sotruss.ksh: Likewise.
13920 * elf/sprof.c: Likewise.
13921 * iconv/iconv_prog.c: Likewise.
13922 * iconv/iconvconfig.c: Likewise.
13923 * locale/programs/locale.c: Likewise.
13924 * locale/programs/localedef.c: Likewise.
13925 * login/programs/pt_chown.c: Likewise.
13926 * malloc/memusage.sh: Likewise.
13927 * malloc/memusagestat.c: Likewise.
13928 * malloc/mtrace.pl: Likewise.
13929 * nscd/nscd.c: Likewise.
13930 * nss/getent.c: Likewise.
13931 * nss/makedb.c: Likewise.
13932 * posix/getconf.c: Likewise.
13934 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13936 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13939 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13941 * math/bits/mathcalls.h (modf): Use __nonnull.
13943 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13945 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13946 (split): Use macro CN instead of the bare value.
13947 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13950 instead of the bare value.
13951 (power1): Likewise.
13953 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13959 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13961 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13962 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13963 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13964 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13966 2012-12-28 Andreas Jaeger <aj@suse.de>
13968 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13969 values are from Linux 3.7.
13971 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13972 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13974 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13976 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13979 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13981 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13982 variables with preprocessor constants.
13983 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13984 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13985 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13987 2012-12-27 Bruno Haible <bruno@clisp.org>
13990 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13993 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13996 and use variable directly.
13997 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13999 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14001 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14004 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14006 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14007 include directive. Remove local variable MPONE.
14008 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14009 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14010 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14012 2012-12-25 David S. Miller <davem@davemloft.net>
14014 * version.h (RELEASE): Set to "development".
14015 (VERSION): Set to "2.17.90".
14016 * NEWS: Add 2.18 section.
14018 2012-12-21 David S. Miller <davem@davemloft.net>
14020 * po/hr.po: Update from translation team.
14022 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14024 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14026 2012-12-19 Steve Ellcey <sellcey@mips.com>
14028 * NEWS: Mention new memcpy for MIPS.
14030 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14032 * manual/contrib.texi (Contributors): Spelling correction.
14034 2012-12-15 David S. Miller <davem@davemloft.net>
14036 * po/ru.po: Update from translation team.
14038 2012-12-13 David S. Miller <davem@davemloft.net>
14040 * NEWS: Mention IFUNC testsuite enhancements.
14042 * po/pl.po: Update from translation team.
14043 * po/bg.po: Likewise.
14045 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14046 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14048 2012-12-11 David S. Miller <davem@davemloft.net>
14050 * po/sv.po: Update from translation team.
14052 * po/vi.po: Update from translation team.
14054 * po/cs.po: Update from translation team.
14056 * po/de.po: Update from translation team.
14057 * po/eo.po: Likewise.
14058 * po/nl.po: Likewise.
14060 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14063 * manual/argp.texi (Argp Helper Functions): Move node to follow
14064 Argp Parsing State.
14067 * manual/conf.texi (Limits on File System Capacity): Mention if
14068 terminating null is included in the max size.
14070 2012-12-10 Andreas Jaeger <aj@suse.de>
14072 * po/cs.po: Update from translation team.
14074 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14076 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14077 void pointer and cast to uintptr_t.
14078 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14080 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14081 * sysdeps/s390/s390-64/memset.S: Likewise.
14083 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14086 * menual/message.texi (Message Translation): Fix typos.
14087 (Helper programs for gettext): Likewise.
14089 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14092 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14095 2012-12-07 David S. Miller <davem@davemloft.net>
14097 * po/libc.pot: Update.
14099 2012-12-07 Richard Henderson <rth@redhat.com>
14102 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14103 normal/normal case to before the switch.
14104 (_FP_DIV): Likewise.
14106 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14107 Mike Frysinger <vapier@gentoo.org>
14109 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14110 check for __NR_fadvise64_64.
14112 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14114 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14115 0, not just to plain "0" as a statement.
14116 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14119 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14121 * NEWS: Use sourceware.org in Bugzilla URL.
14123 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14126 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14128 * stdio-common/tst-put-error.c (do_test): Add newline to the
14129 padded test to ensure flush.
14131 2012-12-05 Jeff Law <law@redhat.com>
14133 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14135 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14137 * README: Don't refer to ports add-on as distributed separately.
14138 Mention AArch64 in list of systems supported in the ports add-on.
14140 * LICENSES: Add more non-FSF copyright and license notices.
14142 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14145 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14147 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14148 10000 as width of padded output.
14150 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14152 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14155 variable LX with __attribute__ ((unused)).
14156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14158 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14160 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14161 with __attribute__ ((unused)).
14163 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14165 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14167 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14169 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14170 (CFLAGS-nldbl-acos.c): New variable.
14171 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14172 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14173 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14174 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14175 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14176 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14177 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14178 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14179 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14180 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14181 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14182 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14183 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14184 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14185 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14186 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14187 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14188 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14189 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14190 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14191 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14192 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14193 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14194 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14195 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14196 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14197 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14198 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14199 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14200 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14201 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14202 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14203 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14204 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14205 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14206 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14207 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14208 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14209 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14210 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14211 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14212 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14213 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14214 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14215 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14216 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14217 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14218 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14219 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14220 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14221 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14222 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14223 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14224 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14225 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14226 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14227 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14228 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14229 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14230 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14231 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14232 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14233 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14234 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14235 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14236 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14237 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14238 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14239 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14240 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14241 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14242 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14243 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14244 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14245 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14246 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14247 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14248 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14249 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14250 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14251 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14252 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14253 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14254 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14255 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14256 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14257 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14258 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14259 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14260 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14261 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14262 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14263 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14264 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14265 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14266 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14267 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14270 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14274 whole low double instead of just low 47 bits when splitting values
14277 2012-12-03 Allan McRae <allan@archlinux.org>
14279 * manual/stdio.texi (Predefined Printf Handlers): Remove
14280 @hsep and @vsep usage.
14282 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14284 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14285 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14287 2012-12-03 Jeff Law <law@redhat.com>
14289 * time/sys/time.h (settimeofday): Do not mark TV argument
14292 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14294 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14295 when currently writing and seek to current position when not.
14296 * libio/Makefile (tests): Remove bug-fclose1.
14297 * libio/bug-fclose1.c: Delete.
14299 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14301 * manual/arith.texi (feenableexcept): Fix typo.
14302 (fedisableexcept): Likewise.
14304 2012-11-30 Roland McGrath <roland@hack.frob.com>
14306 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14307 second, differently-typed declaration, rather than a cast.
14309 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14311 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14312 * include/rpc/svc.h: ... here.
14314 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14317 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14318 depending n and resplen2 to catch cases where answer
14321 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14323 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14324 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14326 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14330 2012-11-29 Roland McGrath <roland@hack.frob.com>
14332 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14334 2012-11-28 Jeff Law <law@redhat.com>
14337 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14338 dataset_temporary. Track alloca usage into alloca_used.
14339 If dataset is large allocate and release it via malloc/free.
14341 2012-06-04 Florian Weimer <fweimer@redhat.com>
14344 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14346 2012-11-28 David S. Miller <davem@davemloft.net>
14348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14350 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14353 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14354 of pi/2 rounded to nearest to 64 bits.
14355 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14356 nearest to 64 bits.
14357 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14360 2012-11-28 Jeff Law <law@redhat.com>
14361 Martin Osvald <mosvald@redhat.com>
14364 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14365 * sunrpc/svc.c: Include time.h.
14366 (__svc_accept_failed): New function.
14367 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14368 any reason other than EINTR, call __svc_accept_failed.
14369 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14370 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14372 2012-11-28 Andreas Schwab <schwab@suse.de>
14374 * scripts/abilist.awk: Also handle indirect functions in .opd
14377 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14380 * sysdeps/x86/fpu/powl_helper.c: New file.
14381 * sysdeps/x86/fpu/Makefile: Likewise.
14382 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14384 (__ieee754_powl): Use __powl_helper for finite arguments except
14385 integer exponents below 8.
14386 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14388 (__ieee754_powl): Use __powl_helper for finite arguments except
14389 integer exponents below 8.
14390 * math/libm-test.inc (pow_test): Add more tests and enable some
14391 previously disabled tests.
14392 * sysdeps/i386/fpu/libm-test-ulps: Update.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14396 Carlos O'Donell <carlos_odonell@mentor.com>
14398 * nss/makedb.c (is_prime): Assert that input is odd and greater
14399 than 4. Note that fact in a comment too.
14400 (next_prime): Add 4 to input.
14402 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14405 * libio/Makefile (tests): Add test case tst-fwrite-error.
14406 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14407 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14408 * libio/tst-fwrite-error.c: New test case.
14410 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14412 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14413 before casting to void *.
14414 * include/libc-internal.h (__pointer_type): New macro.
14415 (__integer_if_pointer_type_sub): Likewise.
14416 (__integer_if_pointer_type): Likewise.
14417 (cast_to_integer): Likewise.
14418 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14419 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14420 before casting to atomic64_t.
14421 (atomic_exchange_acq): Likewise.
14422 (__arch_exchange_and_add_body): Likewise.
14423 (__arch_add_body): Likewise.
14424 (atomic_add_negative): Likewise.
14425 (atomic_add_zero): Likewise.
14427 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14429 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14430 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14431 (add_fdes): Likewise.
14432 (linear_search_fdes): Likewise.
14433 (binary_search_unencoded_fdes): Likewise.
14435 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14437 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14439 2012-11-24 Adam Conrad <adconrad@0c3.net>
14441 * configure.in: Autodetect C++ header directories.
14442 * configure: Regenerated.
14444 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14446 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14448 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14452 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14454 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14455 LDBL_MANT_DIG == 106]: Disable some tests.
14456 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14458 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14462 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14463 input for small inputs. Return +/- pi/2 for large inputs.
14464 * math/libm-test.inc (atan_test): Add more tests.
14466 * sysdeps/generic/unwind-dw2-fde-glibc.c
14467 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14468 __attribute__ ((unused)).
14471 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14472 x * y if x and y are nonzero and z is zero.
14475 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14476 nonzero exponents with absolute value below 0x1p-117 to +/-
14480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14481 up arguments below 2**-450, not just those below 2**-500.
14482 * math/libm-test.inc (hypot_test): Add another test.
14485 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14486 Return a+b for ratio over 2**120, not 2**60.
14487 * math/libm-test.inc (hypot_test): Add another test.
14489 * math/libm-test.inc (clog_test): Use
14490 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14491 (clog10_test): Likewise.
14494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14496 2012-11-22 Andreas Schwab <schwab@suse.de>
14498 * sysdeps/i386/fpu/libm-test-ulps: Update.
14500 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14502 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14503 printf output with newline.
14505 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14508 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14509 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14510 -z nodlopen, -z initfirst and -z execstack support.
14511 * configure: Regenerated.
14513 * elf/elf.h (DF_1_NODIRECT): New macro.
14514 (DF_1_IGNMULDEF): Likewise.
14515 (DF_1_NOKSYMS): Likewise.
14516 (DF_1_NOHDR): Likewise.
14517 (DF_1_EDITED): Likewise.
14518 (DF_1_NORELOC): Likewise.
14519 (DF_1_SYMINTPOSE): Likewise.
14520 (DF_1_GLOBAUDIT): Likewise.
14521 (DF_1_SINGLETON): Likewise.
14522 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14523 DT_1_SUPPORTED_MASK bits.
14524 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14526 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14528 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14530 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14532 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14535 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14536 (sendmmsg): Move declarations...
14537 * socket/sys/socket.h: ... here.
14538 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14539 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14541 * socket/recvmmsg.c: ... this new file.
14542 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14543 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14544 definition of __sendmmsg hidden.
14545 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14546 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14547 Move ENOSYS stub into and include it from...
14548 * socket/sendmmsg.c: ... this new file.
14549 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14550 (sysdep_routines): Move recvmmsg and sendmmsg...
14551 * socket/Makefile (routines): ... here.
14552 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14553 (GLIBC_PRIVATE): Add __sendmmsg.
14554 * include/sys/socket.h (__sendmmsg): Add declarations.
14555 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14558 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14561 variable I1 with __attribute__ ((unused)).
14562 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14564 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14566 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14567 DUMMY variables with __attribute__ ((unused)).
14569 * bits/byteswap.h: Include <bits/types.h>.
14570 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14572 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14574 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14575 string_t. Do not manually set errno.
14576 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14577 length with __strnlen. Make sure to both set errno and return it on
14580 2012-11-19 David S. Miller <davem@davemloft.net>
14582 With help from Joseph Myers.
14583 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14584 very large arguments properly.
14585 * math/libm-test.inc (atan_test): New tests.
14586 (atan2_test): New tests.
14587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14590 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14593 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14596 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14597 [POSIX] (EADDRNOTAVAIL): Likewise.
14598 [POSIX] (EAFNOSUPPORT): Likewise.
14599 [POSIX] (EALREADY): Likewise.
14600 [POSIX] (ECONNABORTED): Likewise.
14601 [POSIX] (ECONNREFUSED): Likewise.
14602 [POSIX] (ECONNRESET): Likewise.
14603 [POSIX] (EDESTADDRREQ): Likewise.
14604 [POSIX] (EDQUOT): Likewise.
14605 [POSIX] (EHOSTUNREACH): Likewise.
14606 [POSIX] (EIDRM): Likewise.
14607 [POSIX] (EISCONN): Likewise.
14608 [POSIX] (ELOOP): Likewise.
14609 [POSIX] (EMULTIHOP): Likewise.
14610 [POSIX] (ENETDOWN): Likewise.
14611 [POSIX] (ENETUNREACH): Likewise.
14612 [POSIX] (ENOBUFS): Likewise.
14613 [POSIX] (ENODATA): Likewise.
14614 [POSIX] (ENOLINK): Likewise.
14615 [POSIX] (ENOMSG): Likewise.
14616 [POSIX] (ENOPROTOOPT): Likewise.
14617 [POSIX] (ENOSR): Likewise.
14618 [POSIX] (ENOSTR): Likewise.
14619 [POSIX] (ENOTCONN): Likewise.
14620 [POSIX] (ENOTSOCK): Likewise.
14621 [POSIX] (EOPNOTSUPP): Likewise.
14622 [POSIX] (EOVERFLOW): Likewise.
14623 [POSIX] (EPROTO): Likewise.
14624 [POSIX] (EPROTONOSUPPORT): Likewise.
14625 [POSIX] (EPROTOTYPE): Likewise.
14626 [POSIX] (ESTALE): Likewise.
14627 [POSIX] (ETIME): Likewise.
14628 [POSIX] (ETXTBSY): Likewise.
14629 [POSIX] (EWOULDBLOCK): Likewise.
14630 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14631 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14632 [POSIX] (SEEK_CUR): Likewise.
14633 [POSIX] (SEEK_END): Likewise.
14634 [POSIX || UNIX98] (mode_t): Do not require.
14635 [POSIX] (off_t): Likewise.
14636 [POSIX] (pid_t): Likewise.
14637 [POSIX] (sys/stat.h): Do not allow header.
14638 [POSIX] (unistd.h): Likewise.
14639 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14640 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14641 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14642 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14644 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14645 sigevent): Specify elements.
14646 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14648 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14649 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14651 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14652 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14653 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14654 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14655 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14656 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14657 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14658 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14659 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14660 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14661 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14662 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14663 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14664 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14666 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14670 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14672 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14673 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14674 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14675 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14676 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14677 Specify lower bound on value.
14678 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14679 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14680 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14681 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14682 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14683 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14684 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14685 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14687 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14689 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14690 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14691 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14692 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14693 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14694 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14695 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14696 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14697 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14698 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14699 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14700 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14701 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14702 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14703 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14704 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14706 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14708 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14709 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14710 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14711 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14712 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14713 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14715 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14716 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14717 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14718 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14719 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14720 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14721 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14723 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14724 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14726 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14727 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14728 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14729 specify as optional.
14730 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14731 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14732 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14733 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14734 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14735 [XPG3] (NL_LANGMAX): Likewise.
14736 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14737 [POSIX || XPG3] (NL_NMAX): Likewise.
14738 [POSIX || XPG3] (NL_SETMAX): Likewise.
14739 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14740 [XPG3] (NZERO): Likewise.
14741 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14742 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14743 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14744 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14745 (REG_ERANGE): Expect.
14746 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14748 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14749 Use (void) in prototype.
14750 [POSIX] (*_t): Allow.
14751 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14752 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14753 (WRDE_BADVAL): Expect.
14755 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14757 [XPG3 || XPG4] (O_RSYNC): Likewise.
14758 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14760 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14761 [XPG3 || XPG4] (sigqueue): Likewise.
14762 [XPG3 || XPG4] (sigtimedwait): Likewise.
14763 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14764 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14765 [XPG3 || XPG4] (vsnprintf): Likewise.
14766 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14768 [XPG3 || XPG4] (blksize_t): Likewise.
14769 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14771 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14772 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14773 [XPG3 || XPG4] (struct itimerspec): Likewise.
14774 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14775 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14776 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14777 [XPG3 || XPG4] (clockid_t): Likewise.
14778 [XPG3 || XPG4] (timer_t): Likewise.
14779 [XPG3 || XPG4] (clock_getres): Likewise.
14780 [XPG3 || XPG4] (clock_gettime): Likewise.
14781 [XPG3 || XPG4] (clock_settime): Likewise.
14782 [XPG3 || XPG4] (nanosleep): Likewise.
14783 [XPG3 || XPG4] (timer_create): Likewise.
14784 [XPG3 || XPG4] (timer_delete): Likewise.
14785 [XPG3 || XPG4] (timer_gettime): Likewise.
14786 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14787 [XPG3 || XPG4] (timer_settime): Likewise.
14788 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14789 [XPG3 || XPG4] (getlogin_r): Likewise.
14790 [XPG3 || XPG4] (pread): Likewise.
14791 [XPG3 || XPG4] (pthread_atfork): Likewise.
14792 [XPG3 || XPG4] (pwrite): Likewise.
14795 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14798 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14800 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14801 finalizing MALLSTREAM.
14803 * sysdeps/mach/hurd/syncfs.c: New file.
14805 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14808 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14809 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14810 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14811 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14812 (_nss_dns_gethostbyname4_r): Likewise.
14813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14814 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14816 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14819 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14821 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14823 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14824 * elf/cache.c (print_entry): Print ",AArch64" for
14827 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14828 * elf/cache.c (print_entry): Print ",hard-float" for
14831 2012-11-18 David S. Miller <davem@davemloft.net>
14833 With help from Joseph Myers.
14834 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14836 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14838 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14839 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14841 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14842 * math/libm-test.inc (y0_test): New tests.
14843 (y1_test): New tests.
14844 * sysdeps/i386/fpu/libm-test-ulps: Update.
14845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14848 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14850 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14852 * configure: Regenerated.
14854 2012-11-17 David S. Miller <davem@davemloft.net>
14857 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14858 nonzero exponents with absolute value below 0x1p-128 to +/-
14861 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14863 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14865 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14867 * posix/getconf-speclist.c: New file.
14868 * posix/posix-envs.def: Likewise.
14869 * posix/confstr.c (START_ENV_GROUP): New macro.
14870 (END_ENV_GROUP): Likewise.
14871 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14872 (KNOWN_PRESENT_ENV_STRING): Likewise.
14873 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14874 (UNKNOWN_ENVIRONMENT): Likewise.
14875 (confstr): Include posix-envs.def instead of handling
14876 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14877 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14878 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14879 (END_ENV_GROUP): Likewise.
14880 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14881 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14882 (UNKNOWN_ENVIRONMENT): Likewise.
14883 (__sysconf): Include posix-envs.def instead of handling associated
14884 cases directly here.
14885 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14886 preprocessing getconf-speclist.c rather than running getconf or
14887 generating empty file.
14889 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14891 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14893 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14896 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14898 2012-11-16 David S. Miller <davem@davemloft.net>
14900 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14901 smaller than LDBL_EPSILON/2.0L, just return xm1.
14903 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14905 * elf/tst-array1.c (init): Set constructor priority to 1000.
14906 (fini): Set destructor priority to 1000.
14907 * elf/tst-array2dep.c: Likewise.
14909 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14912 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14913 (_IO_new_file_xsputn): Also return EOF if none of the input
14914 data was written when overflow failed.
14915 * libio/iopadn.c (_IO_padn): Likewise.
14916 * libio/iowpadn.c (_IO_wpadn): Likewise.
14917 * stdio-common/tst-put-error.c: Add copyright notice.
14918 (do_test): Add case for printing padded string.
14919 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14920 _IO_padn returned error.
14921 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14922 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14925 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14927 * libio/libioP.h: Add comment note that the references to C++
14928 bits are now obsolete.
14930 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14932 * math/libm-test.inc (check_complex): Use asprintf.
14934 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14936 * debug/pcprofiledump.c (print_version): Update copyright year.
14937 * malloc/memusagestat.c (print_version): Likewise.
14939 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14942 * elf/Makefile (tests): Add tst-audit8.
14943 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14944 ($(objpfx)tst-audit8.out): New target.
14945 (tst-audit8-ENV): New variable.
14946 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14947 audit if l_reloc_result is NULL.
14948 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14949 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14950 * elf/tst-audit8.c: New file.
14952 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14954 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14955 * misc/Makefile (CFLAGS-select.c): Define.
14956 * posix/Makefile (CFLAGS-pause.c): Define.
14958 2012-11-13 David S. Miller <davem@davemloft.net>
14960 * crypt/Makefile: Move test targets after toplevel Rules
14961 inclusion. Grab any necessary sysdep routines when linking.
14962 * crypt/md5.c (md5_process_block): Remove define, we will always
14963 name it __md5_process_block.
14964 (md5_finish_ctx): Update md5_process_block call.
14965 (md5_stream): Likewise.
14966 (md5_process_bytes): Likewise.
14967 (md5_process_block): Rename to __md5_process_block and move to ...
14968 * crypt/md5-block.c: ... here.
14969 * crypt/sha256.c (sha256_process_block): Move to ...
14970 * crypt/sha256-block.c: ... here.
14971 * crypt/sha512.c (sha512_process_block): Move to ...
14972 * crypt/sha512-block.c: ... here.
14973 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14975 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14976 * sysdeps/sparc/sparc64/multiarch/Makefile
14977 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14979 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14980 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14982 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14983 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14984 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14985 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14986 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14987 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14988 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14989 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14992 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14993 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14995 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14997 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14999 * timezone/tzselect.ksh: Update from tzcode git revision
15000 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15001 * timezone/zdump.c: Likewise.
15002 * timezone/zic.c: Likewise.
15003 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15004 in TZVERSION setting, not $(PKGVERSION).
15005 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15006 REPORT_BUGS_TO settings.
15009 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15012 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15014 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15015 detection to immediately after _FP_ROUND().
15016 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15019 2012-11-11 David S. Miller <davem@davemloft.net>
15021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15023 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15024 __close rather than their public counterparts.
15026 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15028 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15030 [UNIX98] (sem_timedwait): Do not expect.
15031 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15032 [XPG4 || UNIX98] (sockatmark): Do not expect.
15033 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15034 (clock_getcpuclockid): Do not expect.
15035 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15036 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15038 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15039 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15040 [UNIX98] (vwscanf): Likewise.
15041 [UNIX98] (vswscanf): Likewise.
15043 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15045 * timezone/version.h: Remove file.
15046 * timezone/README: Do not refer to version.h.
15047 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15048 $(objpfx)version.h.
15049 ($(objpfx)zdump.o): Likewise.
15050 ($(objpfx)version.h): New target.
15052 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15054 * timezone/README: Don't mention modification to tzselect.ksh.
15055 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15056 work on unmodified tzselect.ksh. Substitute version numbers in
15059 * Makefile (format-me): Remove.
15060 (INSTALL): Adjust indentation. Use commands directly instead of
15061 using $(format-me).
15063 * aclocal.m4 (ACX_PKGVERSION): New macro.
15064 (ACX_BUGURL): Likewise.
15065 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15066 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15067 (REPORT_BUGS_TO): Likewise.
15068 * configure: Regenerated.
15069 * config.h.in (PKGVERSION): New macro.
15070 (REPORT_BUGS_TO): Likewise.
15071 * config.make.in (PKGVERSION): New variable.
15072 (PKGVERSION_TEXI): Likewise.
15073 (REPORT_BUGS_TO): Likewise.
15074 (REPORT_BUGS_TEXI): Likewise.
15075 * Makefile (format-me): Use -I$(common-objpfx)manual.
15076 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15077 ($(common-objpfx)manual/%): New target.
15078 (manual/%): Remove target.
15079 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15080 (print_version): Use PKGVERSION.
15081 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15082 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15083 and REPORT_BUGS_TO.
15084 ($(objpfx)xtrace): Likewise.
15085 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15086 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15087 (print_version): Use PKGVERSION.
15088 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15089 (do_version): Use PKGVERSION.
15090 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15092 (common-ldd-rewrite): Likewise.
15093 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15094 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15095 (print_version): Use PKGVERSION.
15096 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15097 * elf/pldd.c (argp_program_bug_address): Remove variable.
15098 (more_help): New function.
15099 (argp): Use more_help.
15100 (print_version): Use PKGVERSION.
15101 * elf/sln.c (main): Use PKGVERSION.
15102 (usage): Use REPORT_BUGS_TO.
15103 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15104 (top level): Use PKGVERSION.
15105 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15106 (print_version): Use PKGVERSION.
15107 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15108 (print_version): Use PKGVERSION.
15109 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15110 (print_version): Use PKGVERSION.
15111 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15112 (print_version): Use PKGVERSION.
15113 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15114 (print_version): Use PKGVERSION.
15115 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15116 (print_version): Use PKGVERSION.
15117 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15119 ($(objpfx)memusage): Likewise.
15120 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15121 (do_version): Use PKGVERSION.
15122 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15123 (print_version): Use PKGVERSION.
15124 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15125 ($PKGVERSION): New variable.
15126 ($REPORT_BUGS_TO): Likewise.
15127 (usage): Use $REPORT_BUGS_TO.
15128 (top level): Use $PKGVERSION.
15129 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15130 ($(objpfx)pkgvers.texi): New rule.
15131 ($(objpfx)stamp-pkgvers): Likewise.
15132 * manual/install.texi: Include pkgvers.texi.
15133 (--with-pkgversion): Document new configure option.
15134 (--with-bugurl): Likewise.
15135 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15136 than necessarily for this particular distribution. Use
15137 REPORT_BUGS_TO for where to report bugs.
15138 * INSTALL: Regenerated.
15139 * manual/libc.texinfo: Include pkgvers.texi.
15140 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15141 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15142 (print_version): Use PKGVERSION.
15143 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15144 (print_version): Use PKGVERSION.
15145 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15146 (print_version): Use PKGVERSION.
15147 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15148 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15150 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15151 (print_version): Use PKGVERSION.
15152 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15153 (print_version): Use PKGVERSION.
15154 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15157 * timezone/checktab.awk: Update from tzcode 2012i.
15158 * timezone/ialloc.c: Likewise.
15159 * timezone/private.h: Likewise.
15160 * timezone/scheck.c: Likewise.
15161 * timezone/tzfile.h: Likewise.
15162 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15163 (TZVERSION): Hardcode tzcode version number.
15164 * timezone/zdump.c: Update from tzcode 2012i.
15165 * timezone/zic.c: Likewise.
15166 * timezone/version.h: New file.
15167 * timezone/README: Describe version.h. Update upstream location.
15170 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15171 (mktemp): Enable declaration.
15172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15189 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15190 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15191 for copies of such integer values.
15192 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15193 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15195 2012-11-09 Andreas Jaeger <aj@suse.de>
15197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15198 definitions and declarations that are provided by
15199 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15201 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15203 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15204 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15205 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15208 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15210 * elf/elf.h: Update comment before AArch64 relocations.
15212 2012-11-07 David S. Miller <davem@davemloft.net>
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15215 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15216 (__start_context): Declare.
15217 (__makecontext_ret): Delete.
15218 (__makecontext): Hook up __start_context instead of
15220 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15221 (sysdep_routines): Add __start_context when in stdlib.
15223 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15225 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15226 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15227 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15229 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15230 (READELF): New variable. Use it instead of hardcoded "readelf".
15232 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15234 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15235 * sysdeps/x86/Makefile: Here.
15236 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15237 * sysdeps/x86/tst-xmmymm.sh: This.
15239 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15241 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15243 [UNIX98] (pthread_barrier_t): Do not expect.
15244 [UNIX98] (pthread_barrierattr_t): Likewise.
15245 [UNIX98] (pthread_spinlock_t): Likewise.
15246 [UNIX98] (pthread_barrier_destroy): Likewise.
15247 [UNIX98] (pthread_barrier_init): Likewise.
15248 [UNIX98] (pthread_barrier_wait): Likewise.
15249 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15250 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15251 [UNIX98] (pthread_barrierattr_init): Likewise.
15252 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15253 [UNIX98] (pthread_getcpuclockid): Likewise.
15254 [UNIX98] (pthread_mutex_timedlock): Likewise.
15255 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15256 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15257 [UNIX98] (pthread_sigmask): Likewise.
15258 [UNIX98] (pthread_spin_destroy): Likewise.
15259 [UNIX98] (pthread_spin_init): Likewise.
15260 [UNIX98] (pthread_spin_lock): Likewise.
15261 [UNIX98] (pthread_spin_trylock): Likewise.
15262 [UNIX98] (pthread_spin_unlock): Likewise.
15263 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15265 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15267 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15268 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15269 [XPG3 || XPG4] (pthread_key_t): Likewise.
15270 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15271 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15272 [XPG3 || XPG4] (pthread_once_t): Likewise.
15273 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15274 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15276 [XPG3 || XPG4] (pthread_t): Likewise.
15278 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15280 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15282 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15283 Change function return type to int.
15285 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15286 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15287 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15288 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15289 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15290 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15291 [!POSIX] (posix_madvise): Likewise.
15292 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15294 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15295 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15296 (mode_t): Likewise.
15297 (posix_mem_offset): Likewise.
15298 (posix_typed_mem_get_info): Likewise.
15299 (posix_typed_mem_open): Likewise.
15301 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15302 Change condition to [XOPEN2K8].
15304 * conform/conformtest.pl: Preprocess allow-header data with -x c
15305 instead of from stdin.
15306 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15307 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15308 [C99-based standards] (cerfc): Likewise.
15309 [C99-based standards] (cexp2): Likewise.
15310 [C99-based standards] (cexpm1): Likewise.
15311 [C99-based standards] (clog10): Likewise.
15312 [C99-based standards] (clog1p): Likewise.
15313 [C99-based standards] (clog2): Likewise.
15314 [C99-based standards] (clgamma): Likewise.
15315 [C99-based standards] (ctgamma): Likewise.
15316 [C99-based standards] (cerff): Likewise.
15317 [C99-based standards] (cerfcf): Likewise.
15318 [C99-based standards] (cexp2f): Likewise.
15319 [C99-based standards] (cexpm1f): Likewise.
15320 [C99-based standards] (clog10f): Likewise.
15321 [C99-based standards] (clog1pf): Likewise.
15322 [C99-based standards] (clog2f): Likewise.
15323 [C99-based standards] (clgammaf): Likewise.
15324 [C99-based standards] (ctgammaf): Likewise.
15325 [C99-based standards] (cerfl): Likewise.
15326 [C99-based standards] (cerfcl): Likewise.
15327 [C99-based standards] (cexp2l): Likewise.
15328 [C99-based standards] (cexpm1l): Likewise.
15329 [C99-based standards] (clog10l): Likewise.
15330 [C99-based standards] (clog1pl): Likewise.
15331 [C99-based standards] (clog2l): Likewise.
15332 [C99-based standards] (clgammal): Likewise.
15333 [C99-based standards] (ctgammal): Likewise.
15334 * conform/data/inttypes.h-data [C99-based standards]: Include
15335 stdint.h-data. Remove all expectations for stdint.h contents.
15336 [C99-based standards] (PRI*): Do not allow.
15337 [C99-based standards] (SCN*): Likewise.
15338 [C99-based standards] (*_t): Likewise.
15339 [C99-based-standards] (PRId8): Expect macro.
15340 [C99-based-standards] (PRIi8): Likewise.
15341 [C99-based-standards] (PRIo8): Likewise.
15342 [C99-based-standards] (PRIu8): Likewise.
15343 [C99-based-standards] (PRIx8): Likewise.
15344 [C99-based-standards] (PRIX8): Likewise.
15345 [C99-based-standards] (SCNd8): Likewise.
15346 [C99-based-standards] (SCNi8): Likewise.
15347 [C99-based-standards] (SCNo8): Likewise.
15348 [C99-based-standards] (SCNu8): Likewise.
15349 [C99-based-standards] (SCNx8): Likewise.
15350 [C99-based-standards] (PRIdLEAST8): Likewise.
15351 [C99-based-standards] (PRIiLEAST8): Likewise.
15352 [C99-based-standards] (PRIoLEAST8): Likewise.
15353 [C99-based-standards] (PRIuLEAST8): Likewise.
15354 [C99-based-standards] (PRIxLEAST8): Likewise.
15355 [C99-based-standards] (PRIXLEAST8): Likewise.
15356 [C99-based-standards] (SCNdLEAST8): Likewise.
15357 [C99-based-standards] (SCNiLEAST8): Likewise.
15358 [C99-based-standards] (SCNoLEAST8): Likewise.
15359 [C99-based-standards] (SCNuLEAST8): Likewise.
15360 [C99-based-standards] (SCNxLEAST8): Likewise.
15361 [C99-based-standards] (PRIdFAST8): Likewise.
15362 [C99-based-standards] (PRIiFAST8): Likewise.
15363 [C99-based-standards] (PRIoFAST8): Likewise.
15364 [C99-based-standards] (PRIuFAST8): Likewise.
15365 [C99-based-standards] (PRIxFAST8): Likewise.
15366 [C99-based-standards] (PRIXFAST8): Likewise.
15367 [C99-based-standards] (SCNdFAST8): Likewise.
15368 [C99-based-standards] (SCNiFAST8): Likewise.
15369 [C99-based-standards] (SCNoFAST8): Likewise.
15370 [C99-based-standards] (SCNuFAST8): Likewise.
15371 [C99-based-standards] (SCNxFAST8): Likewise.
15372 [C99-based-standards] (PRId16): Likewise.
15373 [C99-based-standards] (PRIi16): Likewise.
15374 [C99-based-standards] (PRIo16): Likewise.
15375 [C99-based-standards] (PRIu16): Likewise.
15376 [C99-based-standards] (PRIx16): Likewise.
15377 [C99-based-standards] (PRIX16): Likewise.
15378 [C99-based-standards] (SCNd16): Likewise.
15379 [C99-based-standards] (SCNi16): Likewise.
15380 [C99-based-standards] (SCNo16): Likewise.
15381 [C99-based-standards] (SCNu16): Likewise.
15382 [C99-based-standards] (SCNx16): Likewise.
15383 [C99-based-standards] (PRIdLEAST16): Likewise.
15384 [C99-based-standards] (PRIiLEAST16): Likewise.
15385 [C99-based-standards] (PRIoLEAST16): Likewise.
15386 [C99-based-standards] (PRIuLEAST16): Likewise.
15387 [C99-based-standards] (PRIxLEAST16): Likewise.
15388 [C99-based-standards] (PRIXLEAST16): Likewise.
15389 [C99-based-standards] (SCNdLEAST16): Likewise.
15390 [C99-based-standards] (SCNiLEAST16): Likewise.
15391 [C99-based-standards] (SCNoLEAST16): Likewise.
15392 [C99-based-standards] (SCNuLEAST16): Likewise.
15393 [C99-based-standards] (SCNxLEAST16): Likewise.
15394 [C99-based-standards] (PRIdFAST16): Likewise.
15395 [C99-based-standards] (PRIiFAST16): Likewise.
15396 [C99-based-standards] (PRIoFAST16): Likewise.
15397 [C99-based-standards] (PRIuFAST16): Likewise.
15398 [C99-based-standards] (PRIxFAST16): Likewise.
15399 [C99-based-standards] (PRIXFAST16): Likewise.
15400 [C99-based-standards] (SCNdFAST16): Likewise.
15401 [C99-based-standards] (SCNiFAST16): Likewise.
15402 [C99-based-standards] (SCNoFAST16): Likewise.
15403 [C99-based-standards] (SCNuFAST16): Likewise.
15404 [C99-based-standards] (SCNxFAST16): Likewise.
15405 [C99-based-standards] (PRId32): Likewise.
15406 [C99-based-standards] (PRIi32): Likewise.
15407 [C99-based-standards] (PRIo32): Likewise.
15408 [C99-based-standards] (PRIu32): Likewise.
15409 [C99-based-standards] (PRIx32): Likewise.
15410 [C99-based-standards] (PRIX32): Likewise.
15411 [C99-based-standards] (SCNd32): Likewise.
15412 [C99-based-standards] (SCNi32): Likewise.
15413 [C99-based-standards] (SCNo32): Likewise.
15414 [C99-based-standards] (SCNu32): Likewise.
15415 [C99-based-standards] (SCNx32): Likewise.
15416 [C99-based-standards] (PRIdLEAST32): Likewise.
15417 [C99-based-standards] (PRIiLEAST32): Likewise.
15418 [C99-based-standards] (PRIoLEAST32): Likewise.
15419 [C99-based-standards] (PRIuLEAST32): Likewise.
15420 [C99-based-standards] (PRIxLEAST32): Likewise.
15421 [C99-based-standards] (PRIXLEAST32): Likewise.
15422 [C99-based-standards] (SCNdLEAST32): Likewise.
15423 [C99-based-standards] (SCNiLEAST32): Likewise.
15424 [C99-based-standards] (SCNoLEAST32): Likewise.
15425 [C99-based-standards] (SCNuLEAST32): Likewise.
15426 [C99-based-standards] (SCNxLEAST32): Likewise.
15427 [C99-based-standards] (PRIdFAST32): Likewise.
15428 [C99-based-standards] (PRIiFAST32): Likewise.
15429 [C99-based-standards] (PRIoFAST32): Likewise.
15430 [C99-based-standards] (PRIuFAST32): Likewise.
15431 [C99-based-standards] (PRIxFAST32): Likewise.
15432 [C99-based-standards] (PRIXFAST32): Likewise.
15433 [C99-based-standards] (SCNdFAST32): Likewise.
15434 [C99-based-standards] (SCNiFAST32): Likewise.
15435 [C99-based-standards] (SCNoFAST32): Likewise.
15436 [C99-based-standards] (SCNuFAST32): Likewise.
15437 [C99-based-standards] (SCNxFAST32): Likewise.
15438 [C99-based-standards] (PRId64): Likewise.
15439 [C99-based-standards] (PRIi64): Likewise.
15440 [C99-based-standards] (PRIo64): Likewise.
15441 [C99-based-standards] (PRIu64): Likewise.
15442 [C99-based-standards] (PRIx64): Likewise.
15443 [C99-based-standards] (PRIX64): Likewise.
15444 [C99-based-standards] (SCNd64): Likewise.
15445 [C99-based-standards] (SCNi64): Likewise.
15446 [C99-based-standards] (SCNo64): Likewise.
15447 [C99-based-standards] (SCNu64): Likewise.
15448 [C99-based-standards] (SCNx64): Likewise.
15449 [C99-based-standards] (PRIdLEAST64): Likewise.
15450 [C99-based-standards] (PRIiLEAST64): Likewise.
15451 [C99-based-standards] (PRIoLEAST64): Likewise.
15452 [C99-based-standards] (PRIuLEAST64): Likewise.
15453 [C99-based-standards] (PRIxLEAST64): Likewise.
15454 [C99-based-standards] (PRIXLEAST64): Likewise.
15455 [C99-based-standards] (SCNdLEAST64): Likewise.
15456 [C99-based-standards] (SCNiLEAST64): Likewise.
15457 [C99-based-standards] (SCNoLEAST64): Likewise.
15458 [C99-based-standards] (SCNuLEAST64): Likewise.
15459 [C99-based-standards] (SCNxLEAST64): Likewise.
15460 [C99-based-standards] (PRIdFAST64): Likewise.
15461 [C99-based-standards] (PRIiFAST64): Likewise.
15462 [C99-based-standards] (PRIoFAST64): Likewise.
15463 [C99-based-standards] (PRIuFAST64): Likewise.
15464 [C99-based-standards] (PRIxFAST64): Likewise.
15465 [C99-based-standards] (PRIXFAST64): Likewise.
15466 [C99-based-standards] (SCNdFAST64): Likewise.
15467 [C99-based-standards] (SCNiFAST64): Likewise.
15468 [C99-based-standards] (SCNoFAST64): Likewise.
15469 [C99-based-standards] (SCNuFAST64): Likewise.
15470 [C99-based-standards] (SCNxFAST64): Likewise.
15471 [C99-based-standards] (PRIdMAX): Likewise.
15472 [C99-based-standards] (PRIiMAX): Likewise.
15473 [C99-based-standards] (PRIoMAX): Likewise.
15474 [C99-based-standards] (PRIuMAX): Likewise.
15475 [C99-based-standards] (PRIxMAX): Likewise.
15476 [C99-based-standards] (PRIXMAX): Likewise.
15477 [C99-based-standards] (SCNdMAX): Likewise.
15478 [C99-based-standards] (SCNiMAX): Likewise.
15479 [C99-based-standards] (SCNoMAX): Likewise.
15480 [C99-based-standards] (SCNuMAX): Likewise.
15481 [C99-based-standards] (SCNxMAX): Likewise.
15482 [C99-based-standards] (PRIdPTR): Likewise.
15483 [C99-based-standards] (PRIiPTR): Likewise.
15484 [C99-based-standards] (PRIoPTR): Likewise.
15485 [C99-based-standards] (PRIuPTR): Likewise.
15486 [C99-based-standards] (PRIxPTR): Likewise.
15487 [C99-based-standards] (PRIXPTR): Likewise.
15488 [C99-based-standards] (SCNdPTR): Likewise.
15489 [C99-based-standards] (SCNiPTR): Likewise.
15490 [C99-based-standards] (SCNoPTR): Likewise.
15491 [C99-based-standards] (SCNuPTR): Likewise.
15492 [C99-based-standards] (SCNxPTR): Likewise.
15493 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15495 * conform/data/stdint.h-data: Update comments to clarify
15497 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15499 [C99-based standards] (INT8_MAX): Likewise.
15500 [C99-based standards] (INT16_MIN): Likewise.
15501 [C99-based standards] (INT16_MAX): Likewise.
15502 [C99-based standards] (INT32_MIN): Likewise.
15503 [C99-based standards] (INT32_MAX): Likewise.
15504 [C99-based standards] (INT64_MIN): Likewise.
15505 [C99-based standards] (INT64_MAX): Likewise.
15506 [C99-based standards] (UINT8_MAX): Likewise.
15507 [C99-based standards] (UINT16_MAX): Likewise.
15508 [C99-based standards] (UINT32_MAX): Likewise.
15509 [C99-based standards] (UINT64_MAX): Likewise.
15510 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15511 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15512 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15513 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15514 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15515 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15516 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15517 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15518 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15519 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15520 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15521 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15522 [C99-based standards] (INT_FAST8_MIN): Likewise.
15523 [C99-based standards] (INT_FAST8_MAX): Likewise.
15524 [C99-based standards] (INT_FAST16_MIN): Likewise.
15525 [C99-based standards] (INT_FAST16_MAX): Likewise.
15526 [C99-based standards] (INT_FAST32_MIN): Likewise.
15527 [C99-based standards] (INT_FAST32_MAX): Likewise.
15528 [C99-based standards] (INT_FAST64_MIN): Likewise.
15529 [C99-based standards] (INT_FAST64_MAX): Likewise.
15530 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15531 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15532 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15533 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15534 [C99-based standards] (INTPTR_MIN): Likewise.
15535 [C99-based standards] (INTPTR_MAX): Likewise.
15536 [C99-based standards] (UINTPTR_MAX): Likewise.
15537 [C99-based standards] (INTMAX_MIN): Likewise.
15538 [C99-based standards] (INTMAX_MAX): Likewise.
15539 [C99-based standards] (UINTMAX_MAX): Likewise.
15540 [C99-based standards] (PTRDIFF_MIN): Likewise.
15541 [C99-based standards] (PTRDIFF_MAX): Likewise.
15542 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15543 [C99-based standards] (SIZE_MAX): Likewise.
15544 [C99-based standards] (WCHAR_MAX): Likewise.
15545 [C99-based standards] (WINT_MAX): Likewise.
15546 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15547 constraint on value.
15548 [C99-based standards] (WCHAR_MIN): Likewise.
15549 [C99-based standards] (WINT_MIN): Likewise.
15550 [C99-based standards] (*_t): Allow.
15551 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15552 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15553 Include math.h-data and complex.h-data. Remove all expectations
15554 of math.h and complex.h contents.
15555 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15557 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15558 (struct tm): Expect tag.
15559 [C99-based-standards] (wcstof): Expect function.
15560 [C99-based-standards] (wcstold): Likewise.
15561 [C99-based-standards] (wcstoll): Likewise.
15562 [C99-based-standards] (wcstoull): Likewise.
15563 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15564 macro-int-constant. Specify type.
15565 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15566 constraint on value.
15567 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15569 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15571 [ISO C standards]: Do not allow headers.
15572 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15573 wcs[abcdefghijklmnopqrstuvwxyz]*.
15574 [ISO C standards] (*_t): Do not allow.
15575 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15577 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15578 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15580 [ISO C standards]: Do not allow headers.
15581 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15582 is[abcdefghijklmnopqrstuvwxyz]*.
15583 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15584 to[abcdefghijklmnopqrstuvwxyz]*.
15585 [ISO C standards] (*_t): Do not allow.
15586 * conform/data/stdalign.h-data: New file.
15587 * conform/data/stdbool.h-data: Likewise.
15588 * conform/data/stdnoreturn.h-data: Likewise.
15590 2012-11-07 Roland McGrath <roland@hack.frob.com>
15593 * manual/filesys.texi (Directory Entries): Typo fix.
15594 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15596 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15598 * elf/elf.h (EM_AARCH64): New macro.
15599 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15600 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15601 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15602 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15603 (R_AARCH64_TLSDESC): Likewise.
15604 (NT_ARM_TLS): Likewise.
15605 (NT_ARM_HW_BREAK): Likewise.
15606 (NT_ARM_HW_WATCH): Likewise.
15608 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15612 (__ieee754_powl): Saturate nonzero exponents with absolute value
15613 below 0x1p-79 to +/- 0x1p-79.
15614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15615 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15616 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15617 nonzero exponents with absolute value below 0x1p-32 to +/-
15619 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15620 (__ieee754_powl): Saturate nonzero exponents with absolute value
15621 below 0x1p-79 to +/- 0x1p-79.
15622 * math/libm-test.inc (pow_test): Add more tests.
15624 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15626 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15627 _dl_s390_cap_flags with kernel. Increase string length.
15628 (_dl_s390_platforms): Add z196 and zEC12.
15630 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15632 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15633 Change XOPEN21K to XOPEN2K.
15635 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15637 * string/memmove.c: Use memcpy when possible.
15639 2012-11-06 Andreas Jaeger <aj@suse.de>
15641 * po/eo.po: Update from translation team.
15643 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15647 exponent and small x and y exponents, scale x or y up. Increase
15648 by 2 the exponent used in scaling up.
15649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15651 * math/libm-test.inc (fma_test): Add more tests.
15652 (fma_test_towardzero): Likewise.
15653 (fma_test_downward): Likewise.
15654 (fma_test_upward): Likewise.
15656 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15659 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15663 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15664 namespace for names of struct fields.
15665 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15667 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15668 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15670 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15673 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15675 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15677 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15681 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15684 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15688 definitely overflow as x * y not x * y + z.
15689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15691 * math/libm-test.inc (fma_test): Add more tests.
15692 (fma_test_towardzero): Likewise.
15693 (fma_test_downward): Likewise.
15694 (fma_test_upward): Likewise.
15696 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15700 * include/stub-tag.h: Remove file.
15701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15703 * manual/maint.texi (Porting): Don't reference it.
15704 * Makerules ($(objpfx)stubs): Likewise.
15705 * dirent/closedir.c: Don't include <stub-tag.h>.
15706 * dirent/dirfd.c: Likewise.
15707 * dirent/fdopendir.c: Likewise.
15708 * dirent/getdents.c: Likewise.
15709 * dirent/getdents64.c: Likewise.
15710 * dirent/opendir.c: Likewise.
15711 * dirent/readdir.c: Likewise.
15712 * dirent/readdir64.c: Likewise.
15713 * dirent/readdir64_r.c: Likewise.
15714 * dirent/readdir_r.c: Likewise.
15715 * dirent/rewinddir.c: Likewise.
15716 * dirent/seekdir.c: Likewise.
15717 * dirent/telldir.c: Likewise.
15718 * gmon/profil.c: Likewise.
15719 * grp/setgroups.c: Likewise.
15720 * inet/if_index.c: Likewise.
15721 * io/access.c: Likewise.
15722 * io/chdir.c: Likewise.
15723 * io/chmod.c: Likewise.
15724 * io/chown.c: Likewise.
15725 * io/close.c: Likewise.
15726 * io/dup.c: Likewise.
15727 * io/dup2.c: Likewise.
15728 * io/dup3.c: Likewise.
15729 * io/euidaccess.c: Likewise.
15730 * io/faccessat.c: Likewise.
15731 * io/fchdir.c: Likewise.
15732 * io/fchmod.c: Likewise.
15733 * io/fchmodat.c: Likewise.
15734 * io/fchown.c: Likewise.
15735 * io/fchownat.c: Likewise.
15736 * io/fcntl.c: Likewise.
15737 * io/flock.c: Likewise.
15738 * io/fstatfs.c: Likewise.
15739 * io/fstatfs64.c: Likewise.
15740 * io/fstatvfs.c: Likewise.
15741 * io/fstatvfs64.c: Likewise.
15742 * io/futimens.c: Likewise.
15743 * io/fxstat.c: Likewise.
15744 * io/fxstat64.c: Likewise.
15745 * io/fxstatat.c: Likewise.
15746 * io/fxstatat64.c: Likewise.
15747 * io/getcwd.c: Likewise.
15748 * io/isatty.c: Likewise.
15749 * io/lchmod.c: Likewise.
15750 * io/lchown.c: Likewise.
15751 * io/link.c: Likewise.
15752 * io/linkat.c: Likewise.
15753 * io/lseek.c: Likewise.
15754 * io/lseek64.c: Likewise.
15755 * io/lxstat64.c: Likewise.
15756 * io/mkdir.c: Likewise.
15757 * io/mkdirat.c: Likewise.
15758 * io/mkfifo.c: Likewise.
15759 * io/mkfifoat.c: Likewise.
15760 * io/open.c: Likewise.
15761 * io/open64.c: Likewise.
15762 * io/openat.c: Likewise.
15763 * io/openat64.c: Likewise.
15764 * io/pipe.c: Likewise.
15765 * io/pipe2.c: Likewise.
15766 * io/poll.c: Likewise.
15767 * io/posix_fadvise.c: Likewise.
15768 * io/posix_fadvise64.c: Likewise.
15769 * io/posix_fallocate.c: Likewise.
15770 * io/posix_fallocate64.c: Likewise.
15771 * io/read.c: Likewise.
15772 * io/readlink.c: Likewise.
15773 * io/readlinkat.c: Likewise.
15774 * io/rmdir.c: Likewise.
15775 * io/sendfile.c: Likewise.
15776 * io/sendfile64.c: Likewise.
15777 * io/statfs.c: Likewise.
15778 * io/statfs64.c: Likewise.
15779 * io/statvfs.c: Likewise.
15780 * io/statvfs64.c: Likewise.
15781 * io/symlink.c: Likewise.
15782 * io/symlinkat.c: Likewise.
15783 * io/ttyname.c: Likewise.
15784 * io/ttyname_r.c: Likewise.
15785 * io/umask.c: Likewise.
15786 * io/unlink.c: Likewise.
15787 * io/unlinkat.c: Likewise.
15788 * io/utime.c: Likewise.
15789 * io/utimensat.c: Likewise.
15790 * io/write.c: Likewise.
15791 * io/xmknod.c: Likewise.
15792 * io/xmknodat.c: Likewise.
15793 * io/xstat.c: Likewise.
15794 * io/xstat64.c: Likewise.
15795 * login/getpt.c: Likewise.
15796 * login/grantpt.c: Likewise.
15797 * login/unlockpt.c: Likewise.
15798 * math/e_acoshl.c: Likewise.
15799 * math/e_acosl.c: Likewise.
15800 * math/e_asinl.c: Likewise.
15801 * math/e_atan2l.c: Likewise.
15802 * math/e_atanhl.c: Likewise.
15803 * math/e_coshl.c: Likewise.
15804 * math/e_expl.c: Likewise.
15805 * math/e_fmodl.c: Likewise.
15806 * math/e_gammal_r.c: Likewise.
15807 * math/e_hypotl.c: Likewise.
15808 * math/e_j0l.c: Likewise.
15809 * math/e_j1l.c: Likewise.
15810 * math/e_jnl.c: Likewise.
15811 * math/e_lgammal_r.c: Likewise.
15812 * math/e_log10l.c: Likewise.
15813 * math/e_log2l.c: Likewise.
15814 * math/e_logl.c: Likewise.
15815 * math/e_powl.c: Likewise.
15816 * math/e_rem_pio2l.c: Likewise.
15817 * math/e_sinhl.c: Likewise.
15818 * math/e_sqrtl.c: Likewise.
15819 * math/fclrexcpt.c: Likewise.
15820 * math/fedisblxcpt.c: Likewise.
15821 * math/feenablxcpt.c: Likewise.
15822 * math/fegetenv.c: Likewise.
15823 * math/fegetexcept.c: Likewise.
15824 * math/fegetround.c: Likewise.
15825 * math/feholdexcpt.c: Likewise.
15826 * math/fesetenv.c: Likewise.
15827 * math/fesetround.c: Likewise.
15828 * math/feupdateenv.c: Likewise.
15829 * math/fgetexcptflg.c: Likewise.
15830 * math/fraiseexcpt.c: Likewise.
15831 * math/fsetexcptflg.c: Likewise.
15832 * math/ftestexcept.c: Likewise.
15833 * math/k_cosl.c: Likewise.
15834 * math/k_rem_pio2l.c: Likewise.
15835 * math/k_sinl.c: Likewise.
15836 * math/k_tanl.c: Likewise.
15837 * math/s_asinhl.c: Likewise.
15838 * math/s_atanl.c: Likewise.
15839 * math/s_cbrtl.c: Likewise.
15840 * math/s_erfl.c: Likewise.
15841 * math/s_expm1l.c: Likewise.
15842 * math/s_log1pl.c: Likewise.
15843 * math/s_tanhl.c: Likewise.
15844 * misc/acct.c: Likewise.
15845 * misc/brk.c: Likewise.
15846 * misc/chflags.c: Likewise.
15847 * misc/chroot.c: Likewise.
15848 * misc/fchflags.c: Likewise.
15849 * misc/fgetxattr.c: Likewise.
15850 * misc/flistxattr.c: Likewise.
15851 * misc/fremovexattr.c: Likewise.
15852 * misc/fsetxattr.c: Likewise.
15853 * misc/fsync.c: Likewise.
15854 * misc/ftruncate.c: Likewise.
15855 * misc/futimes.c: Likewise.
15856 * misc/futimesat.c: Likewise.
15857 * misc/getdomain.c: Likewise.
15858 * misc/getdtsz.c: Likewise.
15859 * misc/gethostid.c: Likewise.
15860 * misc/gethostname.c: Likewise.
15861 * misc/getloadavg.c: Likewise.
15862 * misc/getpagesize.c: Likewise.
15863 * misc/getsysstats.c: Likewise.
15864 * misc/getxattr.c: Likewise.
15865 * misc/gtty.c: Likewise.
15866 * misc/ioctl.c: Likewise.
15867 * misc/lgetxattr.c: Likewise.
15868 * misc/listxattr.c: Likewise.
15869 * misc/llistxattr.c: Likewise.
15870 * misc/lremovexattr.c: Likewise.
15871 * misc/lsetxattr.c: Likewise.
15872 * misc/lutimes.c: Likewise.
15873 * misc/madvise.c: Likewise.
15874 * misc/mincore.c: Likewise.
15875 * misc/mlock.c: Likewise.
15876 * misc/mlockall.c: Likewise.
15877 * misc/mmap.c: Likewise.
15878 * misc/mprotect.c: Likewise.
15879 * misc/msync.c: Likewise.
15880 * misc/munlock.c: Likewise.
15881 * misc/munlockall.c: Likewise.
15882 * misc/munmap.c: Likewise.
15883 * misc/preadv.c: Likewise.
15884 * misc/preadv64.c: Likewise.
15885 * misc/ptrace.c: Likewise.
15886 * misc/pwritev.c: Likewise.
15887 * misc/pwritev64.c: Likewise.
15888 * misc/readv.c: Likewise.
15889 * misc/reboot.c: Likewise.
15890 * misc/remap_file_pages.c: Likewise.
15891 * misc/removexattr.c: Likewise.
15892 * misc/revoke.c: Likewise.
15893 * misc/select.c: Likewise.
15894 * misc/setdomain.c: Likewise.
15895 * misc/setegid.c: Likewise.
15896 * misc/seteuid.c: Likewise.
15897 * misc/sethostid.c: Likewise.
15898 * misc/sethostname.c: Likewise.
15899 * misc/setregid.c: Likewise.
15900 * misc/setreuid.c: Likewise.
15901 * misc/setxattr.c: Likewise.
15902 * misc/sstk.c: Likewise.
15903 * misc/stty.c: Likewise.
15904 * misc/swapoff.c: Likewise.
15905 * misc/swapon.c: Likewise.
15906 * misc/sync.c: Likewise.
15907 * misc/syncfs.c: Likewise.
15908 * misc/syscall.c: Likewise.
15909 * misc/truncate.c: Likewise.
15910 * misc/ualarm.c: Likewise.
15911 * misc/usleep.c: Likewise.
15912 * misc/ustat.c: Likewise.
15913 * misc/utimes.c: Likewise.
15914 * misc/vhangup.c: Likewise.
15915 * misc/writev.c: Likewise.
15916 * posix/_exit.c: Likewise.
15917 * posix/alarm.c: Likewise.
15918 * posix/execve.c: Likewise.
15919 * posix/fexecve.c: Likewise.
15920 * posix/fork.c: Likewise.
15921 * posix/fpathconf.c: Likewise.
15922 * posix/getaddrinfo.c: Likewise.
15923 * posix/getegid.c: Likewise.
15924 * posix/geteuid.c: Likewise.
15925 * posix/getgid.c: Likewise.
15926 * posix/getgroups.c: Likewise.
15927 * posix/getlogin.c: Likewise.
15928 * posix/getlogin_r.c: Likewise.
15929 * posix/getpgid.c: Likewise.
15930 * posix/getpid.c: Likewise.
15931 * posix/getppid.c: Likewise.
15932 * posix/getresgid.c: Likewise.
15933 * posix/getresuid.c: Likewise.
15934 * posix/getsid.c: Likewise.
15935 * posix/getuid.c: Likewise.
15936 * posix/glob64.c: Likewise.
15937 * posix/nanosleep.c: Likewise.
15938 * posix/pathconf.c: Likewise.
15939 * posix/pause.c: Likewise.
15940 * posix/posix_madvise.c: Likewise.
15941 * posix/pread.c: Likewise.
15942 * posix/pread64.c: Likewise.
15943 * posix/pwrite.c: Likewise.
15944 * posix/pwrite64.c: Likewise.
15945 * posix/sched_getaffinity.c: Likewise.
15946 * posix/sched_getp.c: Likewise.
15947 * posix/sched_gets.c: Likewise.
15948 * posix/sched_primax.c: Likewise.
15949 * posix/sched_primin.c: Likewise.
15950 * posix/sched_rr_gi.c: Likewise.
15951 * posix/sched_setaffinity.c: Likewise.
15952 * posix/sched_setp.c: Likewise.
15953 * posix/sched_sets.c: Likewise.
15954 * posix/sched_yield.c: Likewise.
15955 * posix/setgid.c: Likewise.
15956 * posix/setlogin.c: Likewise.
15957 * posix/setpgid.c: Likewise.
15958 * posix/setresgid.c: Likewise.
15959 * posix/setresuid.c: Likewise.
15960 * posix/setsid.c: Likewise.
15961 * posix/setuid.c: Likewise.
15962 * posix/sleep.c: Likewise.
15963 * posix/spawni.c: Likewise.
15964 * posix/sysconf.c: Likewise.
15965 * posix/times.c: Likewise.
15966 * posix/wait.c: Likewise.
15967 * posix/wait3.c: Likewise.
15968 * posix/wait4.c: Likewise.
15969 * posix/waitpid.c: Likewise.
15970 * resolv/gai_sigqueue.c: Likewise.
15971 * resource/getpriority.c: Likewise.
15972 * resource/getrlimit.c: Likewise.
15973 * resource/getrusage.c: Likewise.
15974 * resource/nice.c: Likewise.
15975 * resource/setpriority.c: Likewise.
15976 * resource/setrlimit.c: Likewise.
15977 * resource/ulimit.c: Likewise.
15978 * rt/aio_cancel.c: Likewise.
15979 * rt/aio_fsync.c: Likewise.
15980 * rt/aio_read.c: Likewise.
15981 * rt/aio_sigqueue.c: Likewise.
15982 * rt/aio_suspend.c: Likewise.
15983 * rt/aio_write.c: Likewise.
15984 * rt/clock_getres.c: Likewise.
15985 * rt/clock_gettime.c: Likewise.
15986 * rt/clock_nanosleep.c: Likewise.
15987 * rt/clock_settime.c: Likewise.
15988 * rt/lio_listio.c: Likewise.
15989 * rt/mq_close.c: Likewise.
15990 * rt/mq_getattr.c: Likewise.
15991 * rt/mq_notify.c: Likewise.
15992 * rt/mq_open.c: Likewise.
15993 * rt/mq_receive.c: Likewise.
15994 * rt/mq_send.c: Likewise.
15995 * rt/mq_setattr.c: Likewise.
15996 * rt/mq_timedreceive.c: Likewise.
15997 * rt/mq_timedsend.c: Likewise.
15998 * rt/mq_unlink.c: Likewise.
15999 * rt/shm_open.c: Likewise.
16000 * rt/shm_unlink.c: Likewise.
16001 * rt/timer_create.c: Likewise.
16002 * rt/timer_delete.c: Likewise.
16003 * rt/timer_getoverr.c: Likewise.
16004 * rt/timer_gettime.c: Likewise.
16005 * rt/timer_settime.c: Likewise.
16006 * setjmp/__longjmp.c: Likewise.
16007 * setjmp/setjmp.c: Likewise.
16008 * signal/kill.c: Likewise.
16009 * signal/killpg.c: Likewise.
16010 * signal/raise.c: Likewise.
16011 * signal/sigaction.c: Likewise.
16012 * signal/sigaltstack.c: Likewise.
16013 * signal/sigblock.c: Likewise.
16014 * signal/sigignore.c: Likewise.
16015 * signal/sigintr.c: Likewise.
16016 * signal/signal.c: Likewise.
16017 * signal/sigpause.c: Likewise.
16018 * signal/sigpending.c: Likewise.
16019 * signal/sigqueue.c: Likewise.
16020 * signal/sigreturn.c: Likewise.
16021 * signal/sigset.c: Likewise.
16022 * signal/sigsetmask.c: Likewise.
16023 * signal/sigstack.c: Likewise.
16024 * signal/sigsuspend.c: Likewise.
16025 * signal/sigtimedwait.c: Likewise.
16026 * signal/sigvec.c: Likewise.
16027 * signal/sigwait.c: Likewise.
16028 * signal/sigwaitinfo.c: Likewise.
16029 * signal/sysv_signal.c: Likewise.
16030 * socket/accept.c: Likewise.
16031 * socket/accept4.c: Likewise.
16032 * socket/bind.c: Likewise.
16033 * socket/connect.c: Likewise.
16034 * socket/getpeername.c: Likewise.
16035 * socket/getsockname.c: Likewise.
16036 * socket/getsockopt.c: Likewise.
16037 * socket/isfdtype.c: Likewise.
16038 * socket/listen.c: Likewise.
16039 * socket/recv.c: Likewise.
16040 * socket/recvfrom.c: Likewise.
16041 * socket/recvmsg.c: Likewise.
16042 * socket/send.c: Likewise.
16043 * socket/sendmsg.c: Likewise.
16044 * socket/sendto.c: Likewise.
16045 * socket/setsockopt.c: Likewise.
16046 * socket/shutdown.c: Likewise.
16047 * socket/sockatmark.c: Likewise.
16048 * socket/socket.c: Likewise.
16049 * socket/socketpair.c: Likewise.
16050 * stdio-common/ctermid.c: Likewise.
16051 * stdio-common/cuserid.c: Likewise.
16052 * stdio-common/remove.c: Likewise.
16053 * stdio-common/rename.c: Likewise.
16054 * stdio-common/renameat.c: Likewise.
16055 * stdio-common/tempname.c: Likewise.
16056 * stdlib/getcontext.c: Likewise.
16057 * stdlib/makecontext.c: Likewise.
16058 * stdlib/setcontext.c: Likewise.
16059 * stdlib/swapcontext.c: Likewise.
16060 * stdlib/system.c: Likewise.
16061 * streams/fattach.c: Likewise.
16062 * streams/fdetach.c: Likewise.
16063 * streams/getmsg.c: Likewise.
16064 * streams/getpmsg.c: Likewise.
16065 * streams/putmsg.c: Likewise.
16066 * streams/putpmsg.c: Likewise.
16067 * sysdeps/unix/bsd/getpt.c: Likewise.
16068 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16069 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16070 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16073 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16074 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16075 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16076 * sysvipc/msgctl.c: Likewise.
16077 * sysvipc/msgget.c: Likewise.
16078 * sysvipc/msgrcv.c: Likewise.
16079 * sysvipc/msgsnd.c: Likewise.
16080 * sysvipc/semctl.c: Likewise.
16081 * sysvipc/semget.c: Likewise.
16082 * sysvipc/semop.c: Likewise.
16083 * sysvipc/semtimedop.c: Likewise.
16084 * sysvipc/shmat.c: Likewise.
16085 * sysvipc/shmctl.c: Likewise.
16086 * sysvipc/shmdt.c: Likewise.
16087 * sysvipc/shmget.c: Likewise.
16088 * termios/tcdrain.c: Likewise.
16089 * termios/tcflow.c: Likewise.
16090 * termios/tcflush.c: Likewise.
16091 * termios/tcgetattr.c: Likewise.
16092 * termios/tcgetpgrp.c: Likewise.
16093 * termios/tcsendbrk.c: Likewise.
16094 * termios/tcsetattr.c: Likewise.
16095 * termios/tcsetpgrp.c: Likewise.
16096 * time/adjtime.c: Likewise.
16097 * time/clock.c: Likewise.
16098 * time/getitimer.c: Likewise.
16099 * time/gettimeofday.c: Likewise.
16100 * time/setitimer.c: Likewise.
16101 * time/settimeofday.c: Likewise.
16102 * time/stime.c: Likewise.
16103 * time/time.c: Likewise.
16105 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16107 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16110 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16112 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16114 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16118 FE_TONEAREST before applying Dekker multiplication and Knuth
16119 addition. Clear inexact exceptions and check for exact zero
16120 results afterwards.
16121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16122 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16124 * math/libm-test.inc (fma_test): Add more tests.
16125 (fma_test_towardzero): Likewise.
16126 (fma_test_downward): Likewise.
16127 (fma_test_upward): Likewise.
16128 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16130 (libc_fesetround): New macro.
16131 (libc_fesetroundf): Likewise.
16132 (libc_fesetroundl): Likewise.
16133 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16135 (libc_fesetround_387): Likewise.
16136 (libc_fesetroundf): New macro.
16137 (libc_fesetround): Likewise.
16138 (libc_fesetroundl): Likewise.
16139 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16141 (libc_fesetroundf): New macro.
16142 (libc_fesetround): Likewise.
16143 (libc_fesetroundl): Likewise.
16144 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16145 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16146 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16148 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16149 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16151 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16152 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16154 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16158 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16159 integer constant usable in #if and use that to give value to enum
16161 (FE_DIVBYZERO): Likewise.
16162 (FE_UNDERFLOW): Likewise.
16163 (FE_OVERFLOW): Likewise.
16164 (FE_INVALID): Likewise.
16165 (FE_INVALID_SNAN): Likewise.
16166 (FE_INVALID_ISI): Likewise.
16167 (FE_INVALID_IDI): Likewise.
16168 (FE_INVALID_ZDZ): Likewise.
16169 (FE_INVALID_IMZ): Likewise.
16170 (FE_INVALID_COMPARE): Likewise.
16171 (FE_INVALID_SOFTWARE): Likewise.
16172 (FE_INVALID_SQRT): Likewise.
16173 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16174 (FE_TONEAREST): Likewise.
16175 (FE_TOWARDZERO): Likewise.
16176 (FE_UPWARD): Likewise.
16177 (FE_DOWNWARD): Likewise.
16178 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16179 (FE_DIVBYZERO): Likewise.
16180 (FE_OVERFLOW): Likewise.
16181 (FE_UNDERFLOW): Likewise.
16182 (FE_INEXACT): Likewise.
16183 (FE_TONEAREST): Likewise.
16184 (FE_DOWNWARD): Likewise.
16185 (FE_UPWARD): Likewise.
16186 (FE_TOWARDZERO): Likewise.
16187 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16188 (FE_UNDERFLOW): Likewise.
16189 (FE_OVERFLOW): Likewise.
16190 (FE_DIVBYZERO): Likewise.
16191 (FE_INVALID): Likewise.
16192 (FE_TONEAREST): Likewise.
16193 (FE_TOWARDZERO): Likewise.
16194 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16195 (FE_OVERFLOW): Likewise.
16196 (FE_UNDERFLOW): Likewise.
16197 (FE_DIVBYZERO): Likewise.
16198 (FE_INEXACT): Likewise.
16199 (FE_TONEAREST): Likewise.
16200 (FE_TOWARDZERO): Likewise.
16201 (FE_UPWARD): Likewise.
16202 (FE_DOWNWARD): Likewise.
16203 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16204 (FE_DIVBYZERO): Likewise.
16205 (FE_OVERFLOW): Likewise.
16206 (FE_UNDERFLOW): Likewise.
16207 (FE_INEXACT): Likewise.
16208 (FE_TONEAREST): Likewise.
16209 (FE_DOWNWARD): Likewise.
16210 (FE_UPWARD): Likewise.
16211 (FE_TOWARDZERO): Likewise.
16213 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16215 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16217 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16219 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16220 commands. Quote $PWD.
16221 (blacklist_exports): Don't use remove_newlines. Replace "declare
16223 (remove_newlines): Remove.
16225 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16227 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16228 * stdlib/stdlib.h (atof): Moved to ...
16229 * include/bits/stdlib-float.h: Here. New file.
16230 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16231 * stdlib/bits/stdlib-float.h: New file.
16232 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16237 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16239 * conform/conformtest.pl (@headers): Add fenv.h.
16240 * conform/data/fenv.h-data: New file.
16241 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16242 include of <math/fenv.h>.
16244 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16245 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16246 && !UNIX98]. Enables tests for XOPEN2K8.
16247 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16248 POSIX2008]: Likewise.
16250 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16251 (struct rusage): Do not expect type or its members.
16254 * math/math.h (FP_NAN): Define macro to integer constant usable in
16255 #if and use that to give value to enum constant.
16256 (FP_INFINITE): Likewise.
16257 (FP_ZERO): Likewise.
16258 (FP_SUBNORMAL): Likewise.
16259 (FP_NORMAL): Likewise.
16261 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16263 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16264 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16267 2012-11-02 Roland McGrath <roland@hack.frob.com>
16269 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16270 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16271 autoconf-time if not.
16272 * configure.in: Remove AC_PREREQ.
16274 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16276 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16277 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16278 of the internal implementation.
16280 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16282 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16283 except include of <misc/sys/syslog.h>.
16285 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16288 function returns with a NULL context exit with zero.
16290 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16292 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16294 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16296 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16297 (run_program_cmd): This.
16298 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16299 (tst_langinfo): New variable. Use it.
16301 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16303 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16304 floating point opcodes.
16306 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16308 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16311 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16313 * sysdeps/mach/hurd/powerpc: Remove directory.
16314 * sysdeps/mach/powerpc: Likewise.
16316 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16318 * scripts/check-local-headers.sh: Ignore c++ headers.
16320 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16322 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16323 __libc_cleanup_region_start argument.
16325 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16330 x * y using scaling, not as x * y + z.
16331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16332 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16333 * math/libm-test.inc (fma_test): Add more tests.
16334 (fma_test_towardzero): Likewise.
16335 (fma_test_downward): Likewise.
16336 (fma_test_upward): Likewise.
16338 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16340 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16342 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16344 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16347 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16349 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16351 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16358 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16361 Fix the order of the list for glibc 2.17.
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16365 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16369 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16373 for low part of x being zero before using __atanl (y).
16374 * math/libm-test.inc (atan2_test): Add another test.
16376 * manual/install.texi (Configuring and compiling): Document
16377 general use of test-wrapper and test-wrapper-env.
16378 * INSTALL: Regenerated.
16380 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16381 (__fma): Do not extract and scale down low bits on after-rounding
16382 systems when result rounded to normal precision would have normal
16384 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16385 (__fmal): Do not extract and scale down low bits on after-rounding
16386 systems when result rounded to normal precision would have normal
16388 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16389 (__fmal): Do not extract and scale down low bits on after-rounding
16390 systems when result rounded to normal precision would have normal
16392 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16394 (fma_test): Add more tests.
16395 (fma_test_towardzero): Likewise.
16396 (fma_test_downward): Likewise.
16397 (fma_test_upward): Likewise.
16399 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16401 * sysdeps/i386/tininess.h: Renamed to ...
16402 * sysdeps/x86/tininess.h: This.
16403 * sysdeps/x86_64/tininess.h: Removed.
16405 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16407 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16408 input. Use $(build-program-cmd).
16409 ($(objpfx)tst-array1-static.out): Likewise.
16410 ($(objpfx)tst-array2.out): Likewise.
16411 ($(objpfx)tst-array3.out): Likewise.
16412 ($(objpfx)tst-array4.out): Likewise.
16413 ($(objpfx)tst-array5.out): Likewise.
16414 ($(objpfx)tst-array5-static.out): Likewise.
16416 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16418 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16421 * nss/nsswitch.h (nss_interface_function): Provide new
16422 macro for use with NSS functions.
16423 * grp/initgroups.c: Use new macro.
16424 * nss/getXXbyYY.c: Likewise.
16425 * nss/getXXbyYY_r.c: Likewise.
16426 * nss/getXXent.c: Likewise.
16427 * nss/getXXent_r.c: Likewise.
16428 * sysdeps/posix/getaddrinfo.c: Likewise.
16430 2012-10-30 Andreas Jaeger <aj@suse.de>
16432 * po/ru.po: Update Russion translation from translation project.
16434 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16439 result and shift together with sticky bit instead of replicating
16440 round-to-nearest rounding.
16441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16443 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16444 missing underflow exceptions.
16445 (fma_test_towardzero): Add more tests.
16446 (fma_test_downward): Likewise.
16447 (fma_test_upward): Likewise.
16450 * sysdeps/generic/tininess.h: New file.
16451 * sysdeps/i386/tininess.h: Likewise.
16452 * sysdeps/sh/tininess.h: Likewise.
16453 * sysdeps/x86_64/tininess.h: Likewise.
16454 * stdlib/tst-strtod-underflow.c: Likewise.
16455 * stdlib/tst-tininess.c: Likewise.
16456 * stdlib/strtod_l.c: Include <tininess.h>.
16457 (round_and_return): Do not set errno for exact underflow cases.
16458 Force an underflow exception when setting errno for underflow.
16459 Determine underflow based on rounding to normal precision if
16460 TININESS_AFTER_ROUNDING.
16461 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16462 ERANGE for exact underflow cases.
16463 * stdlib/Makefile (tests): Add tst-tininess and
16464 tst-strtod-underflow.
16465 ($(objpfx)tst-tininess): Use $(link-libm).
16466 ($(objpfx)tst-strtod-underflow): Likewise.
16468 2012-10-30 Andreas Jaeger <aj@suse.de>
16471 * elf/Makefile (tests): Remove conditional for have-initfini-array
16472 since this is now always required and the variable does not exist
16474 (tests-static): Likewise.
16475 (modules-names): Likewise.
16477 * po/eo.po: Add Esperanto translation from translation project.
16479 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16480 merged with constructor/destructor.
16481 (init_array): Likewise.
16482 * elf/tst-array2dep.c (fini_array): Likewise.
16483 (init_array): Likewise.
16485 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16487 * manual/message.texi: Delete @cartouche tags.
16489 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16491 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16493 * sysdeps/mach/hurd/fsync.c: Likewise.
16495 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16496 [_POSIX_REALTIME_SIGNALS]: Change condition to
16497 [_POSIX_REALTIME_SIGNALS > 0].
16499 2012-10-27 Andreas Jaeger <aj@suse.de>
16501 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16502 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16504 [__WORDSIZE != 64]: Likewise.
16506 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16508 * iconvdata/tst-table.sh: Remove ${SHELL}.
16509 * iconvdata/tst-tables.sh: Likewise.
16511 2012-10-25 David S. Miller <davem@davemloft.net>
16513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16514 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16517 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16519 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16520 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16521 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16524 2012-10-25 Roland McGrath <roland@hack.frob.com>
16526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16527 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16530 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16531 Jim Blandy <jimb@codesourcery.com>
16533 * scripts/cross-test-ssh.sh: New file.
16534 * manual/install.texi (Configuring and compiling): Document use of
16536 * INSTALL: Regenerated.
16538 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16540 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16543 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16545 * Makeconfig (run-program-prefix): Fix comment.
16547 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16548 Jim Blandy <jimb@codesourcery.com>
16550 * Makeconfig (test-wrapper): New variable,
16551 (test-wrapper-env): Likewise.
16552 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16553 (run-built-tests): Define to yes.
16554 (run-program-prefix): Use $(test-wrapper).
16555 (built-program-cmd): Likewise.
16556 * Rules (make-test-out): Use $(test-wrapper-env) and
16557 $(host-built-program-cmd).
16558 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16559 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16561 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16562 $(test-wrapper-env) to tst-rtld-load-self.sh.
16563 ($(objpfx)order2.out): Use $(test-wrapper).
16564 ($(objpfx)tst-initorder.out): Likewise.
16565 ($(objpfx)tst-initorder2.out): Likewise.
16566 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16567 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16568 (test_wrapper_env): New variable. Use it to run ld.so.
16569 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16570 Use it to run ld.so.
16571 (test_wrapper_env): Likewise.
16572 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16573 $(test-wrapper) to run-iconv-test.sh.
16574 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16575 (ICONV): Use $test_wrapper.
16576 * posix/Makefile ($(objpfx)globtest.out): Pass
16577 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16578 globtest.sh, not $(run-program-prefix).
16579 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16580 (test_wrapper): Likewise.
16581 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16582 set together with run_via_rtld_prefix.
16583 (run_program_prefix): Define in terms of test_wrapper and
16584 run_via_rtld_prefix.
16586 2012-10-24 Roland McGrath <roland@hack.frob.com>
16588 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16589 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16593 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16594 Declare __clock_getres, __clock_gettime, __clock_settime,
16595 __clock_nanosleep, and __clock_getcpuclockid.
16596 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16597 Remove librt_hidden_def (clock_gettime).
16598 * sysdeps/unix/clock_gettime.c: Likewise.
16599 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16601 * rt/clock_getres.c: Define __clock_getres as an alias.
16602 * sysdeps/posix/clock_getres.c: Likewise.
16603 * rt/clock_settime.c: Define __clock_settime as an alias.
16604 * sysdeps/unix/clock_settime.c: Likewise.
16605 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16606 * sysdeps/unix/clock_nanosleep.c: Likewise.
16607 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16608 * rt/clock-compat.c: New file.
16609 * rt/Makefile (librt-routines): Add clock-compat and move
16610 $(clock-routines) to ...
16611 (routines): ... here, new variable.
16612 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16613 Don't add get_clockfreq here.
16614 * rt/Versions (libc: GLIBC_2.17): New version set.
16615 Add clock_* symbols here.
16616 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16618 (GLIBC_2.17): Add clock_* symbols.
16619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16630 * NEWS: Mention the move.
16632 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16633 Use __open, __read, __close rather than their public counterparts.
16634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16635 (__get_clockfreq_via_cpuinfo): Likewise.
16636 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16637 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16639 * config.h.in (HAVE_IFUNC): New #undef.
16640 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16642 * configure: Regenerated.
16644 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16646 * configure.in: Move READELF check to start of file.
16647 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16648 libc_cv_asm_gnu_indirect_function in the process.
16649 * configure: Regenerated.
16651 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16653 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16654 send the output to /dev/null.
16655 (libc_cv_cc_with_libunwind): Likewise.
16656 (libc_cv_as_noexecstack): Likewise.
16657 * configure: Regenerate.
16659 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16661 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16663 * posix/globtest.sh (TMPDIR): Do not set.
16664 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16665 (testout): Likewise.
16667 2012-10-24 Andreas Jaeger <aj@suse.de>
16669 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16670 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16671 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16672 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16673 posix_fadvise64, posix_fallocate64.
16675 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16676 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16677 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16679 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16681 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16684 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16685 <bits/fcntl-linux.h>.
16686 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16689 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16690 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16691 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16692 [__WORDSIZE != 64]: Likewise.
16694 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16696 * Makeconfig (run-built-tests): New variable.
16697 * Rules [$(cross-compiling) = yes]: Change condition to
16698 [$(run-built-tests) = no].
16699 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16700 to [$(run-built-tests) = yes].
16701 * elf/Makefile [$(cross-compiling) = no]: Likewise
16702 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16703 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16704 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16705 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16706 * io/Makefile [$(cross-compiling) = no]: Likewise.
16707 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16708 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16709 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16710 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16711 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16712 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16713 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16714 * string/Makefile [$(cross-compiling) = no]: Likewise.
16716 * posix/Makefile ($(objpfx)globtest.out): Pass
16717 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16718 $(rtld-installed-name).
16719 * posix/globtest.sh (elf_objpfx): Remove variable.
16720 (rtld_installed_name): Likewise.
16721 (library_path): Likewise.
16722 (run_program_prefix): New variable. Use for running globtest
16725 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16726 Joseph Myers <joseph@codesourcery.com>
16728 * Makeconfig (host-built-program-cmd): New variable.
16729 * elf/Makefile (tst-stackguard1-ARGS): Use
16730 $(host-built-program-cmd).
16731 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16732 (tst-spawn-ARGS): Likewise.
16733 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16735 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16736 Jim Blandy <jimb@codesourcery.com>
16738 * Makeconfig (run-via-rtld-prefix): New variable.
16739 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16740 (built-program-cmd): Likewise.
16742 2012-10-22 Andreas Jaeger <aj@suse.de>
16744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16745 __O_RSYNC if it exists, otherwise to O_SYNC.
16747 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16748 Joseph Myers <joseph@codesourcery.com>
16750 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16752 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16754 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16757 2012-10-22 Andreas Jaeger <aj@suse.de>
16759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16764 bits/fcntl-linux.h.
16766 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16767 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16774 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16775 Joseph Myers <joseph@codesourcery.com>
16777 * config.make.in (NM): New variable.
16779 2012-10-21 Andreas Jaeger <aj@suse.de>
16781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16782 definitions and declarations that are provided by
16783 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16785 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16788 * elf/Makefile (tests-static): Add tst-leaks1-static.
16789 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16790 ($(objpfx)tst-leaks1-static): New rule.
16791 ($(objpfx)tst-leaks1-static-mem): Likewise.
16792 (tst-leaks1-static-ENV): New macro.
16793 * elf/dl-open.c (dl_open_worker): Check the main application
16794 only if SHARED is defined.
16795 * elf/tst-leaks1-static.c: New file.
16797 2012-10-20 Andreas Jaeger <aj@suse.de>
16799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16800 generic values for Linux.
16801 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16802 and declarations that are provided by <bits/fcntl-linux.h> and
16803 include <bits/fcntl-linux.h>.
16804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16807 2012-10-20 Roland McGrath <roland@hack.frob.com>
16809 * io/fcntl.h: Move include of <bits/types.h> to the top and
16810 include it unconditionally.
16812 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16814 * wcsmbs/Makefile (tests-ifunc): New variable.
16815 (tests): Add $(tests-ifunc).
16816 * wcsmbs/test-wcschr-ifunc.c: New file.
16817 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16818 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16819 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16820 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16821 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16823 * string/Makefile (tests-ifunc): New variable.
16824 (tests): Add $(tests-ifunc).
16825 * string/test-memccpy.c (TEST_NAME): New macro.
16826 * string/test-memchr.c (TEST_NAME): Likewise.
16827 * string/test-memcmp.c (TEST_NAME): Likewise.
16828 * string/test-memcpy.c (TEST_NAME): Likewise.
16829 * string/test-memmem.c (TEST_NAME): Likewise.
16830 * string/test-memmove.c (TEST_NAME): Likewise.
16831 * string/test-memset.c (TEST_NAME): Likewise.
16832 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16833 * string/test-stpcpy.c (TEST_NAME): Likewise.
16834 * string/test-stpncpy.c (TEST_NAME): Likewise.
16835 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16836 * string/test-strcasestr.c (TEST_NAME): Likewise.
16837 * string/test-strcat.c (TEST_NAME): Likewise.
16838 * string/test-strchr.c (TEST_NAME): Likewise.
16839 * string/test-strcmp.c(TEST_NAME): Likewise.
16840 * string/test-strcpy.c (TEST_NAME): Likewise.
16841 * string/test-strcspn.c (TEST_NAME): Likewise.
16842 * string/test-strlen.c (TEST_NAME): Likewise.
16843 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16844 * string/test-strncmp.c (TEST_NAME): Likewise.
16845 * string/test-strncpy.c (TEST_NAME): Likewise.
16846 * string/test-strnlen.c (TEST_NAME): Likewise.
16847 * string/test-strpbrk.c (TEST_NAME): Likewise.
16848 * string/test-strrchr.c (TEST_NAME): Likewise.
16849 * string/test-strspn.c (TEST_NAME): Likewise.
16850 * string/test-strstr.c (TEST_NAME): Likewise.
16851 * string/test-bcopy-ifunc.c: New file.
16852 * string/test-bzero-ifunc.c: Likewise.
16853 * string/test-memccpy-ifunc.c: Likewise.
16854 * string/test-memchr-ifunc.c: Likewise.
16855 * string/test-memcmp-ifunc.c: Likewise.
16856 * string/test-memcpy-ifunc.c: Likewise.
16857 * string/test-memmem-ifunc.c: Likewise.
16858 * string/test-memmove-ifunc.c: Likewise.
16859 * string/test-mempcpy-ifunc.c: Likewise.
16860 * string/test-memset-ifunc.c: Likewise.
16861 * string/test-rawmemchr-ifunc.c: Likewise.
16862 * string/test-stpcpy-ifunc.c: Likewise.
16863 * string/test-stpncpy-ifunc.c: Likewise.
16864 * string/test-strcasecmp-ifunc.c: Likewise.
16865 * string/test-strcasestr-ifunc.c: Likewise.
16866 * string/test-strcat-ifunc.c: Likewise.
16867 * string/test-strchr-ifunc.c: Likewise.
16868 * string/test-strchrnul-ifunc.c: Likewise.
16869 * string/test-strcmp-ifunc.c: Likewise.
16870 * string/test-strcpy-ifunc.c: Likewise.
16871 * string/test-strcspn-ifunc.c: Likewise.
16872 * string/test-strlen-ifunc.c: Likewise.
16873 * string/test-strncasecmp-ifunc.c: Likewise.
16874 * string/test-strncat-ifunc.c: Likewise.
16875 * string/test-strncmp-ifunc.c: Likewise.
16876 * string/test-strncpy-ifunc.c: Likewise.
16877 * string/test-strnlen-ifunc.c: Likewise.
16878 * string/test-strpbrk-ifunc.c: Likewise.
16879 * string/test-strrchr-ifunc.c: Likewise.
16880 * string/test-strspn-ifunc.c: Likewise.
16881 * string/test-strstr-ifunc.c: Likewise.
16883 * debug/Makefile (tests-ifunc): New variable.
16884 (tests): Add $(tests-ifunc).
16885 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16886 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16887 * debug/test-stpcpy_chk-ifunc.c: New file.
16888 * debug/test-strcpy_chk-ifunc.c: Likewise.
16890 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16893 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16894 header is not read in.
16896 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16898 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16899 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16900 directly. Pass built executable to script as
16901 $(built-program-cmd).
16902 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16903 $testprogram without using LD_LIBRARY_PATH and $ldso.
16905 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16906 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16907 $(rtld-installed-name).
16908 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16909 (rtld_installed_name): Likewise.
16910 (library_path): Likewise.
16911 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16912 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16913 $(run-program-prefix) to tst-tables.sh.
16914 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16915 it to run tst-table-from and tst-table-to.
16916 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16917 Pass it to tst-table.sh.
16918 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16919 $(run-program-prefix) to tst-gettext.sh.
16920 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16922 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16924 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16925 to run tst-gettext.
16926 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16927 to run tst-gettext2.
16928 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16929 to run tst-translit.
16930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16931 $(run-program-prefix) to tst-mtrace.sh.
16932 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16934 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16935 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16936 $(rtld-installed-name).
16937 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16938 (rtld_installed_name): Likewise.
16939 (run_program_prefix): New variable. Use it to run wordexp-test.
16941 * Makeconfig (ARCH): Remove all definitions.
16942 (machine): Likewise.
16943 [ARCH]: Remove conditional code.
16944 [!objdir]: Give error.
16945 [!objdir] (objpfx): Remove.
16946 [!objdir] (common-objpfx): Likewise.
16947 [!objdir] (common-objdir): Likewise.
16948 * configure.in (config_makefile): Remove. Hardcode Makefile in
16949 AC_CONFIG_FILES call.
16950 * configure: Regenerated.
16953 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16955 (testout): Likewise.
16957 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16958 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16959 $(rtld-installed-name).
16960 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16961 (rtld_installed_name): Likwise.
16962 (runit): Remove function.
16963 (run_getconf): New variable, Use it for running getconf binary.
16965 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16968 * string/test-memmem.c (check_result): New function.
16969 (do_one_test): Use it.
16970 (check1): New function.
16971 (test_main): Use it.
16973 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16975 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16977 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16979 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16980 (_G_LSEEK64): Likewise.
16981 (_G_MMAP64): Likewise.
16982 (_G_FSTAT64): Likewise.
16983 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16984 (_G_LSEEK64): Likewise.
16985 (_G_MMAP64): Likewise.
16986 (_G_FSTAT64): Likewise.
16987 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16988 unconditional. Call __mmap64 directly.
16989 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16990 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16991 __lseek64 directly.
16992 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16993 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16995 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16996 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16997 __lseek64 directly.
16998 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16999 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17000 __lseek64 directly.
17001 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17002 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17003 __lseek64 directly.
17004 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17005 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17006 __fxstat64 directly.
17007 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17008 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17010 (freopen64) [!_G_OPEN64]: Remove conditional code.
17011 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17013 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17014 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17016 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17017 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17019 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17020 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17022 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17023 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17025 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17026 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17028 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17029 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17031 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17033 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17036 * manual/memory.texi (Malloc Tunable Parameters): Add note
17037 about free list pointers overwriting some perturb bytes.
17038 Wording suggested by Roland McGrath.
17040 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17042 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17043 (lgamma_test): Likewise.
17044 (tgamma_test): Likewise.
17046 2012-10-16 Florian Weimer <fweimer@redhat.com>
17049 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17050 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17052 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17054 * NEWS: Mention BZ #14716.
17055 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17056 when removing AVAILABLE1_USES_J macro.
17058 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17060 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17061 (__bswap_64): __uint64_t for unsigned 64-bit int.
17063 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17065 * include/string.h (memmem): Declare libc hidden alias.
17066 * string/memmem.c (memmem): Define libc hidden alias.
17067 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17068 __read, __close instead of open, read, close.
17070 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17073 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17075 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17076 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17077 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17079 (__rawmemchr_sse2): Likewise.
17080 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17081 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17082 (__strchr_sse2): Likewise.
17083 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17084 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17085 (__strcasecmp_sse2): Likewise.
17086 (__strncasecmp_sse2): Likewise.
17087 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17088 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17089 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17090 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17091 (__strrchr_sse2): Likewise.
17092 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17094 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17095 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17096 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17097 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17098 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17100 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17101 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17102 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17103 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17104 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17105 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17106 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17107 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17108 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17109 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17110 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17111 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17112 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17113 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17114 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17115 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17116 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17117 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17118 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17120 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17121 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17122 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17123 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17125 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17127 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17128 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17129 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17130 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17132 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17134 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17135 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17136 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17137 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17139 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17142 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17143 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17144 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17145 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17146 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17147 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17148 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17149 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17150 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17151 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17152 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17153 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17154 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17155 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17156 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17157 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17158 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17159 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17160 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17161 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17162 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17163 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17164 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17165 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17166 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17167 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17168 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17169 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17170 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17171 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17172 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17173 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17174 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17175 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17176 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17177 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17178 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17179 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17181 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17182 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17183 * include/ifunc-impl-list.h: New file.
17184 * misc/ifunc-impl-list.c: Likewise.
17185 * misc/Makefile (routines): Add ifunc-impl-list.
17186 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17187 * string/test-string.h: Include <ifunc-impl-list.h>.
17188 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17189 impl_array): New variables.
17190 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17192 (test_init): Call __libc_ifunc_impl_list to initialize
17193 func_list if TEST_IFUNC and TEST_NAME are defined.
17195 * string/Makefile (strop-tests): Add bcopy and bzero.
17196 * string/test-bcopy.c: New file.
17197 * string/test-bzero.c: Likewise.
17198 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17200 * string/test-memset.c: Support bzero test if TEST_BZERO is
17202 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17204 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17206 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17209 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17211 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17212 * configure: Regenerated.
17214 * Makeconfig (+link-static-before-libc): Don't include
17215 $(link-static-libc).
17217 * libio/libio.h (_IO_pos_t): Remove.
17219 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17221 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17224 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17226 * crypt/crypt-entry.c: Include fips-private.h.
17227 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17228 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17229 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17230 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17232 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17234 * crypt/crypt-private.h: Include stdbool.h.
17235 (_ufc_setup_salt_r): Return bool.
17236 * crypt/crypt-entry.c: Include errno.h.
17237 (__crypt_r): Return NULL with EINVAL for bad salt.
17238 * crypt/crypt_util.c (bad_for_salt): New.
17239 (_ufc_setup_salt_r): Check that salt is long enough and within
17240 the specified alphabet.
17241 * crypt/badsalttest.c: New file.
17242 * crypt/Makefile (tests): Add it.
17243 ($(objpfx)badsalttest): New.
17245 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17247 * NEWS: Add entry for BZ #14602.
17249 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17251 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17253 * math/libm-test.inc: Update comment listing what functions and
17255 (isgreater_test): New function.
17256 (isgreaterequal_test): Likewise.
17257 (isless_test): Likewise.
17258 (islessequal_test): Likewise.
17259 (islessgreater_test): Likewise.
17260 (isunordered_test): Likewise.
17261 (main): Call the new functions.
17263 2012-10-09 Roland McGrath <roland@hack.frob.com>
17265 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17266 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17267 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17268 * sysdeps/i386/configure: Regenerated.
17269 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17270 * sysdeps/mach/configure: Regenerated.
17271 * sysdeps/mach/hurd/configure: Regenerated.
17272 * sysdeps/powerpc/configure: Regenerated.
17273 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17274 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17275 * sysdeps/s390/s390-32/configure: Regenerated.
17276 * sysdeps/s390/s390-64/configure: Regenerated.
17277 * sysdeps/sh/configure: Regenerated.
17278 * sysdeps/sparc/configure: Regenerated.
17279 * sysdeps/unix/sysv/linux/configure: Regenerated.
17280 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17281 * sysdeps/x86_64/configure: Regenerated.
17283 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17284 defined. Don't check if MAP is NULL.
17286 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17288 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17289 (_G_stat64): Likewise.
17290 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17291 (_G_stat64): Likewise.
17292 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17293 instead of struct _G_stat64.
17294 * libio/fileops.c (mmap_remap_check): Likewise.
17295 (decide_maybe_mmap): Likewise.
17296 (_IO_new_file_seekoff): Likewise.
17297 (_IO_file_stat): Likewise.
17298 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17300 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17301 instead of struct _G_stat64.
17302 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17304 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17307 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17309 (CHECK_EOL): New macro.
17310 (two_way_short_needle): Check beginning of haystack for EOL. Use
17312 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17313 Replace with CHECK_EOL.
17314 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17315 Replace with CHECK_EOL.
17317 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17319 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17321 * math/libm-test.inc: Update comment listing what functions and
17323 (finite_test): New function.
17324 (isinf_test): Likewise.
17325 (isnan_test): Likewise.
17326 (fpclassify_test): Test subnormal input.
17327 (isfinite_test): Likewise.
17328 (isnormal_test): Likewise.
17329 (main): Call the new functions.
17331 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17334 * Makerules (%.dynsym): Force C locale when running
17335 $(OBJDUMP) --dynamic-syms.
17337 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17339 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17342 2012-10-06 David S. Miller <davem@davemloft.net>
17344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17345 upper 32-bits of the length value in %o2 since we use branch-on-register
17346 tests which consider the entire 64-bit register.
17348 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17350 * string/test-strstr.c (check2): Add a test for page boundary.
17352 2012-10-05 David S. Miller <davem@davemloft.net>
17354 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17355 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17357 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17359 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17360 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17361 and bzero when HWCAP_SPARC_CRYPTO is present.
17363 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17366 * string/test-strstr.c (check2): New function.
17367 (test_main): Call check2.
17369 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17371 * string/bug-strcasestr1.c (do_test): Moved to ...
17372 * string/test-strcasestr.c (check1): Here. New function.
17373 (do_one_test): Break out result checking code into ...
17374 (check_result): This. New function.
17375 (do_one_test): Call check_result.
17376 (test_main): Call check1.
17377 * string/bug-strchr1.c (do_test): Moved to ...
17378 * string/test-strchr.c (check1): Here. New function.
17379 (do_one_test): Break out result checking code into ...
17380 (check_result): This. New function.
17381 (do_one_test): Call check_result.
17382 (test_main): Call check1.
17383 * string/bug-strstr1.c (main): Moved to ...
17384 * string/test-strstr.c (check1): Here. New function.
17385 (do_one_test): Break out result checking code into ...
17386 (check_result): This. New function.
17387 (do_one_test): Call check_result.
17388 (test_main): Call check1.
17389 * string/bug-strcasestr1.c: Removed.
17390 * string/bug-strchr1.c: Likewise.
17391 * string/bug-strstr1.c: Likewise.
17393 * elf/Makefile (dl-routines): Add hwcaps.
17394 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17395 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17396 (_dl_important_hwcaps): Moved to ...
17397 * elf/dl-hwcaps.c: Here. New file.
17398 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17401 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17402 if IS_IN_rtld isn't defined.
17404 * elf/dl-support.c (_dl_sysinfo_map): New.
17405 Include "get-dynamic-info.h" and "setup-vdso.h".
17406 (_dl_non_dynamic_init): Call setup_vdso.
17407 * elf/dynamic-link.h: Don't include <assert.h>.
17408 (elf_get_dynamic_info): Moved to ...
17409 * elf/get-dynamic-info.h: Here. New file.
17410 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17411 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17412 * elf/setup-vdso.h: Here. New file.
17413 * elf/rtld.c: Include "setup-vdso.h".
17414 (dl_main): Call setup_vdso.
17416 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17418 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17419 creal in comment listing functions tested. List finite, isinf,
17420 isnan, isless, islessequal, isgreater, isgreaterequal,
17421 islessgreater, isunordered, lgamma_r and pow10 as functions and
17422 macros not tested. Mention which functions not tested are aliases
17423 for other functions. Fix typo. Note that signs of NaNs are not
17426 * scripts/config.guess: Update from config.git.
17427 * scripts/config.sub: Likewise.
17429 2012-10-04 Roland McGrath <roland@hack.frob.com>
17431 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17432 * misc/madvise.c (madvise): Renamed to __madvise.
17433 Make madvise a weak alias.
17434 * include/sys/mman.h: Declare __madvise.
17435 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17436 * sysdeps/unix/syscalls.list
17437 (madvise): Make __madvise the strong name, and madvise a weak alias.
17438 * sysdeps/unix/sysv/linux/syscalls.list
17439 (madvise, mmap): Remove redundant entries.
17440 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17441 * malloc/malloc.c (mtrim): Likewise.
17442 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17444 2012-10-03 Roland McGrath <roland@hack.frob.com>
17446 * sysdeps/mach/hurd/dl-cache.c: File removed.
17447 * config.h.in (USE_LDCONFIG): New #undef.
17448 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17449 * configure: Regenerated.
17450 * elf/Makefile (dl-routines): Add dl-cache only under
17451 [$(use-ldconfig) = yes].
17452 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17453 cache on [USE_LDCONFIG].
17454 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17456 * elf/rtld.c (dl_main): Likewise.
17458 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17460 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17461 _SC_LEVEL4_CACHE_LINESIZE.
17463 2012-10-03 Roland McGrath <roland@hack.frob.com>
17465 * sysdeps/unix/bsd/confstr.h: File removed.
17467 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17469 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17472 2012-10-02 Roland McGrath <roland@hack.frob.com>
17474 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17475 Make 'mapoff' field ElfW(Off) rather than off_t.
17477 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17479 * nscd/Makefile: Remove nscd-cflags and all its users.
17480 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17481 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17484 * malloc.c (malloc_printerr): Clarify error message.
17486 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17490 Set bit_FMA_Usable if FMA is supported.
17491 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17493 (bit_FMA4_Usable): Updated.
17494 (index_FMA_Usable): New macro.
17495 (CPUID_FMA): Likewise
17496 (HAS_FMA): Defined with bit_FMA_Usable.
17498 2012-10-01 Roland McGrath <roland@hack.frob.com>
17500 * bits/types.h (__swblk_t): Type removed.
17501 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17502 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17504 (__SWBLK_T_TYPE): Likewise.
17505 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17506 (__SWBLK_T_TYPE): Likewise.
17507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17508 (__SWBLK_T_TYPE): Likewise.
17509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17510 (__SWBLK_T_TYPE): Likewise.
17512 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17513 Honza Horak <hhorak@redhat.com>
17515 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17516 (xdr_mapname): Use YPMAXMAP as maxsize.
17517 (xdr_peername): Use YPMAXPEER as maxsize.
17518 (xdr_keydat): Use YPAXRECORD as maxsize.
17519 (xdr_valdat): Use YPMAXRECORD as maxsize.
17521 2012-10-01 Roland McGrath <roland@hack.frob.com>
17523 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17525 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17526 * csu/init-first.c: ... here.
17527 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17528 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17529 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17530 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17531 * sysdeps/i386/init-first.c: File removed.
17532 * sysdeps/sh/init-first.c: File removed.
17534 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17538 if x * y might underflow to zero and z is zero.
17539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17541 * math/libm-test.inc (min_subnorm_value): New variable.
17542 (fma_test): Add more tests.
17543 (fma_test_towardzero): Likewise.
17544 (fma_test_downward): Likewise
17545 (fma_test_upward): Likewise.
17546 (initialize): Set min_subnorm_value.
17548 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17554 mode for addition resulting in exact zero.
17555 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17558 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17560 * math/libm-test.inc (fma_test): Add more tests.
17561 (fma_test_towardzero): New function.
17562 (fma_test_downward): Likewise.
17563 (fma_test_upward): Likewise.
17564 (main): Call the new functions.
17566 2012-09-28 David S. Miller <davem@davemloft.net>
17568 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17570 2012-09-28 Roland McGrath <roland@hack.frob.com>
17572 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17573 instead of SIGALRM.
17575 * sysdeps/gnu/_G_config.h: Moved to ...
17576 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17577 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17578 * sysdeps/generic/_G_config.h: ... here.
17580 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17582 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17584 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17585 Conditionalize target on [libnss_test1.so-version].
17587 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17589 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17590 (elfobjdir): Move out of conditionals.
17592 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17593 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17594 (__nss_lookup_function): Conditionalize label remove_from_tree on
17595 [!DO_STATIC_NSS || SHARED], matching its only use.
17597 2012-09-28 David S. Miller <davem@davemloft.net>
17599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17600 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17602 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17606 when HWCAP_SPARC_CRYPTO is present.
17608 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17610 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17612 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17615 * stdio-common/vfprintf.c (process_string_arg): Revert
17618 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17620 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17622 * stdio-common/tst-sprintf.c: Include <locale.h>
17623 (main): Test sprintf's handling of incomplete multibyte
17626 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17628 * elf/dl-runtime.c (VERSYMIDX): Removed.
17629 * elf/dl-version.c (VERSYMIDX): Likewise.
17630 * elf/do-rel.h (VERSYMIDX): Likewise.
17631 (VALIDX): Likewise.
17632 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17633 * elf/rtld.c (VALIDX): Likewise.
17634 (ADDRIDX): Likewise.
17635 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17636 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17637 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17638 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17639 (VALIDX): Likewise.
17640 (ADDRIDX): Likewise.
17642 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17644 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17646 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17649 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17651 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17652 addresses are in the same scope as 192.0.2/24.
17653 * posix/gai.conf: Document new scope table defaults.
17655 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17658 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17659 for ftell. Compute offsets from write pointers instead.
17660 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17662 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17665 * libio/Makefile (tests): New test case tst-fseek.
17666 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17667 combination works in wide mode.
17668 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17669 state when the external buffer state changes.
17671 2012-09-27 David S. Miller <davem@davemloft.net>
17674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17675 pass reloc->r_addend in as the 'high' argument to
17676 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17680 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17682 * rt/tst-aio2.c: Include <pthread.h>.
17683 * rt/tst-aio3.c: Likewise.
17685 2012-09-27 Steve Ellcey <sellcey@mips.com>
17687 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17689 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17691 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17692 contents on [SHARED].
17694 2012-09-26 Marek Polacek <polacek@redhat.com>
17698 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17699 for C++ and GCC <4.3 as well as for non GCC compilers.
17701 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17705 2012-09-25 Roland McGrath <roland@hack.frob.com>
17707 * Makefile.in (all, install): Declare with .PHONY.
17708 Reported by Michael Hope <michael.hope@linaro.org>.
17710 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17712 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17713 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17715 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17717 (sydep_routines): Add the new and the internal functions.
17718 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17721 (GLIBC_2.17): Add the new function.
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17723 (GLIBC_2.17): Likewise.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17725 (GLIBC_2.17): Likewise.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17727 (GLIBC_2.17): Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17730 2012-09-25 Alan Modra <amodra@gmail.com>
17732 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17733 Add release barrier before setting once_control to say
17734 initialisation is done. Add hints on lwarx. Use macro in
17736 (clear_once_control): Add release barrier.
17738 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17741 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17743 * math/s_clog10.c (__clog10): Likewise.
17744 * math/s_clog10f.c (__clog10f): Likewise.
17745 * math/s_clog10l.c (__clog10l): Likewise.
17746 * math/s_clogf.c (__clogf): Likewise.
17747 * math/s_clogl.c (__clogl): Likewise.
17748 * math/Makefile (libm-calls): Add x2y2m1.
17749 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17750 (__x2y2m1): Likewise.
17751 (__x2y2m1l): Likewise.
17752 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17753 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17756 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17757 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17758 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17759 * sysdeps/i386/fpu/libm-test-ulps: Update.
17760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17763 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17764 int as type of variable DEPTH.
17765 (glob): Use size_t instead of int as type of variables NEWCOUNT
17768 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17770 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17771 Add s_sincosf-sse2.
17772 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17773 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17774 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17775 macros for using routine as __sincosf_ia32.
17776 Use macro for function declaration and weak_alias.
17777 * sysdeps/i386/fpu/libm-test-ulps: Update.
17779 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17782 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17783 subnormal argument.
17784 * math/s_cexpf.c (__cexpf): Likewise.
17785 * math/s_csinf.c (__csinf): Likewise.
17786 * math/s_csinhf.c (__csinhf): Likewise.
17787 * math/s_ctanf.c (__ctanf): Likewise.
17788 * math/s_ctanhf.c (__ctanhf): Likewise.
17789 * math/s_ccosh.c (__ccoshf): Likewise.
17790 * math/s_cexp.c (__cexpl): Likewise.
17791 * math/s_csin.c (__csin): Likewise.
17792 * math/s_csinh.c (__csinh): Likewise.
17793 * math/s_ctan.c (__ctan): Likewise.
17794 * math/s_ctanh.c (ctanh): Likewise.
17795 * math/s_ccoshl.c (__ccoshl): Likewise.
17796 * math/s_cexpl.c (__cexpl): Likewise.
17797 * math/s_csinl.c (__csinl): Likewise.
17798 * math/s_csinhl.c (__csinhl): Likewise.
17799 * math/s_ctanl.c (__ctanl): Likewise.
17800 * math/s_ctanhl.c (__ctanhl): Likewise.
17802 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17804 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17805 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17806 (_IO_off_t): Define to __off_t, not _G_off_t.
17807 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17808 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17809 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17810 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17811 type of __dummy and __dummy2 fields.
17812 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17813 (_G_ssize_t): Likewise.
17814 (_G_off_t): Likewise.
17815 (_G_pid_t): Likewise.
17816 (_G_uid_t): Likewise.
17817 (_G_wchar_t): Likewise.
17818 (_G_wint_t): Likewise.
17819 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17820 (_G_ssize_t): Likewise.
17821 (_G_off_t): Likewise.
17822 (_G_pid_t): Likewise.
17823 (_G_uid_t): Likewise.
17824 (_G_wchar_t): Likewise.
17825 (_G_wint_t): Likewise.
17826 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17827 (_G_ssize_t): Likewise.
17828 (_G_off_t): Likewise.
17829 (_G_pid_t): Likewise.
17830 (_G_uid_t): Likewise.
17831 (_G_wchar_t): Likewise.
17832 (_G_wint_t): Likewise.
17834 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17836 * malloc/arena.c: Include malloc-sysdep.h.
17837 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17838 is sufficient to shrink the heap or an unmap is needed.
17839 * sysdeps/generic/malloc-sysdep.h: New file. Define
17840 new function check_may_shrink_heap.
17841 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17842 new function check_may_shrink_heap.
17844 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17846 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17849 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17851 * catgets/test-gencat.sh: Add "set -e".
17852 * elf/tst-pathopt.sh: Likewise.
17853 * grp/tst_fgetgrent.sh: Likewise.
17854 * iconvdata/run-iconv-test.sh: Likewise.
17855 * intl/tst-gettext.sh: Likewise.
17856 * intl/tst-gettext2.sh: Likewise.
17857 * intl/tst-gettext4.sh: Likewise.
17858 * intl/tst-gettext6.sh: Likewise.
17859 * intl/tst-translit.sh: Likewise.
17860 * io/ftwtest-sh: Likewise.
17861 * libio/test-freopen.sh: Likewise.
17862 * malloc/tst-mtrace.sh: Likewise.
17863 * posix/globtest.sh: Likewise.
17864 * posix/tst-getconf.sh: Likewise.
17865 * posix/wordexp-tst.sh: Likewise.
17866 * stdio-common/tst-printf.sh: Likewise.
17867 * stdio-common/tst-unbputc.sh: Likewise.
17868 * stdlib/tst-fmtmsg.sh: Likewise.
17869 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17870 * catgets/Makefile: Do not specify -e option when running
17871 testsuite shell scripts.
17872 * elf/Makefile: Likewise.
17873 * grp/Makefile: Likewise.
17874 * iconvdata/Makefile: Likewise.
17875 * intl/Makefile: Likewise.
17876 * io/Makefile: Likewise.
17877 * libio/Makefile: Likewise.
17878 * malloc/Makefile: Likewise.
17879 * posix/Makefile: Likewise.
17880 * stdio-common/Makefile: Likewise.
17881 * stdlib/Makefile: Likewise.
17882 * sysdeps/x86_64/Makefile: Likewise.
17884 * io/ftwtest-sh: Add copyright header.
17885 * posix/globtest.sh: Likewise.
17886 * posix/tst-getconf.sh: Likewise.
17887 * posix/wordexp-tst.sh: Likewise.
17888 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17890 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17893 * Makeconfig (+link): Defined as $(+link-static) if
17894 $(build-shared) isn't yes.
17895 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17897 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17899 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17902 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17903 new chunk size with MALLOC_ALIGN_MASK.
17905 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17908 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17910 (__printf_fphex): Determine rounding using get_rounding_mode and
17912 * stdio-common/tst-printf-round.c (struct hex_test): New
17914 (hex_tests): New variable.
17915 (test_hex_in_one_mode): New function.
17916 (do_test): Also run tests for hex float output.
17918 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17920 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17921 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17922 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17923 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17924 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17925 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17926 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17927 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17929 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17931 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17932 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17933 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17934 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17936 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17939 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17941 * elf/tst-rtld-load-self.sh: New test.
17942 * elf/Makefile: Run it.
17944 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17946 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17947 (tst-writev-ENV): Remove.
17948 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17950 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17952 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17954 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17956 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17958 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17960 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17961 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17962 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17965 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17968 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17969 * config.make.in (have-cpp-asm-debuginfo): Removed.
17970 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17971 * configure: Regenerated.
17973 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17976 * stdio-common/printf_fp.c: Include <stdbool.h> and
17978 (___printf_fp): Determine rounding using get_rounding_mode and
17980 * stdio-common/tst-printf-round.c: New file.
17981 * stdio-common/Makefile (tests): Add tst-printf-round.
17982 (link-libm): New variable.
17983 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17985 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17988 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17989 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17991 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17994 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17996 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17997 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17998 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17999 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18001 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18004 * include/rounding-mode.h: New file.
18005 * sysdeps/generic/get-rounding-mode.h: Likewise.
18006 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18007 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18008 (MAX_VALUE): New macro.
18009 (MIN_VALUE): Likewise.
18010 (overflow_value): New function.
18011 (underflow_value): Likewise.
18012 (round_and_return): Use overflow_value and underflow_value to
18013 determine return values in overflow and underflow cases. Use
18014 round_away to determine rounding depending on rounding mode.
18015 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18016 determine return values in overflow and underflow cases.
18017 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18018 (struct test_results): New structure.
18019 (struct test): Use struct test_results to store expected results
18020 for all rounding modes.
18021 (TEST): Include expected results for all rounding modes.
18022 (test_in_one_mode): New function.
18023 (do_test): Use test_in_one_mode to compute and check results.
18024 Check results for all rounding modes.
18025 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18028 2012-12-09 Allan McRae <allan@archlinux.org>
18030 * sysdeps/i386/fpu/libm-test-ulps: Update
18032 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18034 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18035 (_G_int32_t): Likewise.
18036 (_G_uint16_t): Likewise.
18037 (_G_uint32_t): Likewise.
18038 (_G_HAVE_BOOL): Likewise.
18039 (_G_HAVE_ATEXIT): Likewise.
18040 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18041 (_G_HAVE_IO_FILE_OPEN): Likewise.
18042 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18043 (_G_int32_t): Likewise.
18044 (_G_uint16_t): Likewise.
18045 (_G_uint32_t): Likewise.
18046 (_G_HAVE_BOOL): Likewise.
18047 (_G_HAVE_ATEXIT): Likewise.
18048 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18049 (_G_HAVE_IO_FILE_OPEN): Likewise.
18050 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18051 (_G_int32_t): Likewise.
18052 (_G_uint16_t): Likewise.
18053 (_G_uint32_t): Likewise.
18054 (_G_HAVE_BOOL): Likewise.
18055 (_G_HAVE_ATEXIT): Likewise.
18056 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18057 (_G_HAVE_IO_FILE_OPEN): Likewise.
18059 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18061 * csu/libc-tls.c: Update copyright years.
18063 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18065 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18066 [!_G_USING_THUNKS]: Remove conditional code.
18067 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18068 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18070 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18071 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18072 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18073 (_G_VTABLE_LABEL_PREFIX): Likewise.
18074 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18075 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18076 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18077 (_G_VTABLE_LABEL_PREFIX): Likewise.
18078 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18079 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18080 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18081 (_G_VTABLE_LABEL_PREFIX): Likewise.
18082 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18084 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18086 * libio/Makefile: Include ../Makeconfig before tests.
18087 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18088 only if $(build-shared) is yes.
18090 * iconv/gconv_db.c: Update copyright years.
18092 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18094 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18095 unwind info if defined PIC. Fix special cases description.
18096 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18098 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18100 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18102 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18104 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18106 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18109 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18110 (LDLIBS-tst-chk4): This.
18111 (LDFLAGS-tst-chk5): Renamed to ...
18112 (LDLIBS-tst-chk5): This.
18113 (LDFLAGS-tst-chk6): Renamed to ...
18114 (LDLIBS-tst-chk6): This.
18115 (LDFLAGS-tst-lfschk4): Renamed to ...
18116 (LDLIBS-tst-lfschk4): This.
18117 (LDFLAGS-tst-lfschk5): Renamed to ...
18118 (LDLIBS-tst-lfschk5): This.
18119 (LDFLAGS-tst-lfschk6): Renamed to ...
18120 (LDLIBS-tst-lfschk6): This.
18122 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18123 on $(common-objpfx)soversions.mk.
18125 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18128 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18131 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18133 * malloc/arena.c (arena_get_retry): New function that gets
18134 another arena for the caller to try its request on.
18135 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18136 current arena cannot fulfill the request.
18137 (__libc_memalign): Likewise.
18138 (__libc_memalign): Likewise.
18139 (__libc_pvalloc): Likewise.
18140 (__libc_calloc): Likewise.
18142 2012-09-05 John Tobey <john.tobey@gmail.com>
18145 * manual/arith.texi (Operations on Complex): Fix description
18146 of carg branch cut.
18148 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18151 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18155 * manual/memory.texi (Memory): Make order of menu items match
18158 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18160 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18161 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18162 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18164 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18166 * csu/libc-tls.c (static_dtv): Renamed to ...
18167 (_dl_static_dtv): This. Make it global.
18168 (_dl_initial_dtv): Removed.
18169 (__libc_setup_tls): Updated.
18170 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18171 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18174 2012-09-06 Petr Machata <pmachata@redhat.com>
18176 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18177 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18178 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18179 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18181 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18184 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18185 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18188 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18191 * Makeconfig (link-static-before-libc): Replace $(+prector)
18193 (link-static-after-libc): Replace $(+postctor) with
18195 (link-bounded): Replace $(+prector)/$(+postctor) with
18196 $(+prectorT)/$(+postctorT).
18197 (+prectorT): New macro.
18198 (+postctorT): Likewise.
18200 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18202 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18203 (round_str): Handle values above the maximum for IBM long double
18205 * stdlib/tst-strtod-round.c (tests): Regenerated.
18207 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18209 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18211 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18212 zarch_nohighgprs around the zarch optimized routines.
18213 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18214 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18215 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18218 2012-09-05 David S. Miller <davem@davemloft.net>
18220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18222 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18223 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18224 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18225 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18228 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18230 * malloc/arena.c: Fold copyright years.
18231 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18233 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18235 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18237 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18239 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18241 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18243 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18244 change internal state upon failure.
18246 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18248 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18249 * malloc/memusage.c (mmap): Likewise.
18250 (mmap64, mremap): Likewise. Adjust name in comment.
18252 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18254 * libio/fileops.c: Fix typos in comments.
18255 * libio/oldfileops.c: Likewise.
18256 * libio/wfileops.c: Likewise.
18258 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18261 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18262 (tst-malloc-usable-ENV): Set environment for test case.
18263 * malloc/hooks.c (malloc_check_get_size): New function to get
18265 * malloc/malloc.c (musable): Use malloc_check_get_size.
18266 * malloc/tst-malloc-usable.c: New test case.
18268 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18270 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18272 2012-09-05 Allan McRae <allan@archlinux.org>
18275 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18276 determine header location.
18277 * configure: Regenerated.
18279 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18281 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18283 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18284 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18286 (test): Regenerate.
18288 2012-09-04 David S. Miller <davem@davemloft.net>
18290 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18291 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18292 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18294 2012-09-04 Florian Weimer <fweimer@redhat.com>
18296 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18299 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18301 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18304 * libio/iogetdelim.c: Include <limits.h>.
18305 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18306 + len + 1 would overflow.
18308 2012-09-03 Andreas Jaeger <aj@suse.de>
18310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18311 * sysdeps/i386/fpu/libm-test-ulps: Update.
18313 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18315 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18316 Add s_sinf-sse2, s_conf-sse2.
18318 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18319 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18320 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18321 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18323 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18324 for using routine as __sinf_ia32.
18325 Use macro for function declaration and weak_alias.
18326 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18327 for using routine as __cosf_ia32.
18328 Use macro for function declaration and weak_alias.
18330 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18331 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18333 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18334 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18337 * math/libm-test.inc (cos_test): Add more test cases.
18338 (sin_test): Likewise.
18339 (sincos_test): Likewise.
18341 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18343 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18344 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18346 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18348 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18351 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18352 first element of the GOT.
18353 (elf_machine_load_address): Return the difference between
18354 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18356 2012-09-01 Allan McRae <allan@archlinux.org>
18359 * configure.in (AWK): Require gawk version 3.0 or later.
18360 * configure: Regenerated.
18362 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18364 * sysdeps/unix/sysv/linux/kernel-features.h
18365 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18367 [__NR_clock_getres]: Make code unconditional.
18368 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18369 (clock_getcpuclockid): Remove code left unreachable by removal of
18371 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18372 code unconditional.
18373 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18374 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18375 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18376 Make code unconditional.
18377 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18378 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18379 * sysdeps/unix/sysv/linux/clock_settime.c
18380 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18382 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18383 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18385 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18388 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18389 scripts/test-installation.pl.
18391 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18392 and $ld_so_version if it is set.
18394 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18397 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18398 failure if reading from procfs failed.
18399 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18401 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18403 * sysdeps/unix/sysv/linux/kernel-features.h
18404 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18405 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18406 Remove conditional code.
18407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18408 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18409 Remove conditional code.
18410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18411 * sysdeps/unix/sysv/linux/i386/fxstat.c
18412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18414 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18415 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18417 * sysdeps/unix/sysv/linux/i386/lxstat.c
18418 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18420 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18421 Remove conditional code.
18422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18423 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18424 Remove conditional code.
18425 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18427 <kernel-features.h>.
18428 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18430 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18431 Remove conditional code.
18432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18433 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18434 Remove conditional.
18436 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18439 * NEWS: Add fixed bug number.
18441 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18444 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18445 underflowing exponent in case of negative sign.
18446 * stdlib/tst-strtod-round-data: Add more tests.
18447 * stdlib/tst-strtod-round.c (tests): Regenerated.
18450 * stdlib/strtod_l.c (NDIG): Remove.
18451 (HEXNDIG): Likewise.
18452 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18453 smallest representable value.
18454 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18455 lie within an exact representation of 1/2 ulp of the result.
18456 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18458 (TENS_P9_IDX): Define unconditionally.
18459 (TENS_P9_SIZE): Likewise.
18460 (TENS_P10_IDX): Likewise.
18461 (TENS_P10_SIZE): Likewise.
18462 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18463 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18464 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18465 entries for 10^2^13 and 10^2^14.
18466 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18467 (TENS_P13_IDX): Define.
18468 (TENS_P13_SIZE): Likewise.
18469 (TENS_P14_IDX): Likewise.
18470 (TENS_P14_SIZE): Likewise.
18471 (_fpioconst_pow10): Change array size to
18472 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18474 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18475 1024]: Add entries for 10^2^13 and 10^2^14.
18476 [LAST_POW10 > _LAST_POW10]: Remove #error.
18477 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18478 (_fpioconst_pow10): Change array size to
18479 FPIOCONST_POW10_ARRAY_SIZE.
18480 * stdlib/gen-fpioconst.c: New file.
18481 * stdlib/gen-tst-strtod-round.c: Likewise.
18482 * stdlib/tst-strtod-round-data: Likewise.
18483 * stdlib/tst-strtod-round.c: Likewise.
18484 * stdlib/Makefile (tests): Add tst-strtod-round.
18487 * stdlib/strtod_l.c: Include <stdint.h>.
18488 (NDEBUG): Do not define.
18489 (round_and_return): Change EXPONENT parameter to type intmax_t.
18490 Rearrange calculations to avoid internal overflow possibilities.
18491 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18492 Rearrange calculations to avoid internal overflow possibilities.
18493 Assert that number fits inside MPNSIZE limbs.
18494 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18495 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18496 calculations and add assertions to avoid internal overflow
18497 possibilities. Add casts to avoid signed/unsigned operations.
18498 * stdlib/tst-strtod-overflow.c: New file.
18499 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18501 2012-08-25 Marek Polacek <polacek@redhat.com>
18503 * time/time.h: Fix some typos in comments.
18505 2012-08-23 Roland McGrath <roland@hack.frob.com>
18507 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18508 * posix/tst-rfc3484-2.c: Likewise.
18509 * posix/tst-rfc3484-3.c: Likewise.
18511 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18513 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18514 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18516 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18518 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18519 #include of fxstatat64.c.
18521 2012-08-22 Roland McGrath <roland@hack.frob.com>
18523 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18524 * shadow/getspent_r.c: Likewise.
18525 * shadow/getspnam.c: Likewise.
18526 * shadow/getspnam_r.c: Likewise.
18527 * gshadow/getsgent.c: Likewise.
18528 * gshadow/getsgent_r.c: Likewise.
18529 * gshadow/getsgnam.c: Likewise.
18530 * gshadow/getsgnam_r.c: Likewise.
18531 * inet/getnetbyad.c: Likewise.
18532 * inet/getnetbyad_r.c: Likewise.
18533 * inet/getnetbynm.c: Likewise.
18534 * inet/getnetbynm_r.c: Likewise.
18535 * inet/getnetent.c: Likewise.
18536 * inet/getnetent_r.c: Likewise.
18537 * inet/getproto.c: Likewise.
18538 * inet/getproto_r.c: Likewise.
18539 * inet/getprtent.c: Likewise.
18540 * inet/getprtent_r.c: Likewise.
18541 * inet/getprtname.c: Likewise.
18542 * inet/getprtname_r.c: Likewise.
18543 * inet/getrpcbyname.c: Likewise.
18544 * inet/getrpcbyname_r.c: Likewise.
18545 * inet/getrpcbynumber.c: Likewise.
18546 * inet/getrpcbynumber_r.c: Likewise.
18547 * inet/getrpcent.c: Likewise.
18548 * inet/getrpcent_r.c: Likewise.
18549 * inet/getaliasent.c: Likewise.
18550 * inet/getaliasent_r.c: Likewise.
18551 * inet/getaliasname.c: Likewise.
18552 * inet/getaliasname_r.c: Likewise.
18553 * nscd/getgrgid_r.c: Likewise.
18554 * nscd/getgrnam_r.c: Likewise.
18555 * nscd/gethstbyad_r.c: Likewise.
18556 * nscd/gethstbynm3_r.c: Likewise.
18557 * nscd/getpwnam_r.c: Likewise.
18558 * nscd/getpwuid_r.c: Likewise.
18559 * nscd/getsrvbynm_r.c: Likewise.
18560 * nscd/getsrvbypt_r.c: Likewise.
18561 * nscd/gai.c: Likewise.
18563 * configure.in (build_nscd): New substituted variable, set
18564 by --disable-build-nscd and defaults to $use_nscd.
18565 * configure: Regenerated.
18566 * config.make.in (build-nscd): New substituted variable.
18567 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18568 Change conditional to require [$(build-nscd) = yes] as well.
18569 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18572 * configure.in (use_nscd): New substituted variable, set by
18573 --disable-nscd. If enabled, define USE_NSCD.
18574 * configure: Regenerated.
18575 * config.h.in: Add USE_NSCD.
18576 * config.make.in (use-nscd): New substituted variable.
18577 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18578 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18579 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18580 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18581 (CFLAGS-getgrnam_r.c): Likewise.
18582 (CFLAGS-initgroups.c): Likewise.
18583 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18584 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18586 * inet/getnetgrent_r.c
18587 (nscd_setnetgrent): New function, broken out of ...
18588 (setnetgrent): ... here. Call it.
18589 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18590 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18591 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18592 * nscd/Makefile (routines, aux): Move definitions after include of
18593 Makeconfig. Conditionalize on [$(use-nscd) != no].
18594 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18595 Conditionalize on [USE_NSCD].
18596 (is_nscd, nscd_init_cb): Likewise.
18597 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18598 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18599 * nss/nss_db/db-init.c: Likewise.
18600 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18602 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18603 (make_request): Use it.
18604 (cache_valid_p): New function.
18605 (__check_pf): Use it.
18606 * NEWS: Add item for --disable-nscd.
18608 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18610 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18611 to support sed >= 4.2.1-20-ga9bf076.
18612 * configure: Regenerated.
18614 2012-08-22 Roland McGrath <roland@hack.frob.com>
18616 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18617 Conditionalize whole body on [IREL].
18619 2012-08-22 Jeff Law <law@redhat.com>
18622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18623 if the family is PF_UNSPEC.
18625 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18627 * Makerules (lib-version): Rename from V.
18628 (install-lib-nosubdir): Change V to lib-version.
18630 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18633 * powerpc32/power6/wcschr.c: New file.
18634 * powerpc32/power6/wcscpy.c: New file.
18635 * powerpc32/power6/wcsrchr.c: New file.
18636 * powerpc64/power6/wcschr.c: New file.
18637 * powerpc64/power6/wcscpy.c: New file.
18638 * powerpc64/power6/wcsrchr.c: New file.
18640 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18642 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18643 (two_way_short_needle): Use it.
18644 * string/strstr.c (AVAILABLE1_USES_J): Define.
18645 * string/strcasestr.c: Likewise.
18647 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18649 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18652 * NEWS: Add an entry.
18653 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18654 define their defaults.
18655 (two_way_short_needle): Detect end-of-string on-the-fly.
18656 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18657 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18658 * string/bug-strcasestr1.c: New test.
18659 * string/Makefile: Run it.
18661 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18664 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18665 the first character.
18667 2012-08-21 Roland McGrath <roland@hack.frob.com>
18669 * csu/elf-init.c (__libc_csu_irel): Function removed.
18670 * csu/libc-start.c (apply_irel): New function.
18671 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18673 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18675 * sysdeps/unix/sysv/linux/kernel-features.h
18676 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18677 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18678 <kernel-features.h>.
18679 [__NR_fadvise64_64]: Make code unconditional.
18680 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18681 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18682 !__NR_fadvise64_64)]: Likewise.
18683 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18684 !__NR_fadvise64_64))]: Likewise.
18685 [__NR_fadvise64]: Make code unconditional.
18686 [!__NR_fadvise64]: Remove conditional code.
18687 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18688 <kernel-features.h>.
18689 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18691 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18694 not include <kernel-features.h>.
18695 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18697 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18699 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18700 include <kernel-features.h>.
18701 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18703 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18706 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18708 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18709 slight instruction rearrangements per scrollpipe analysis.
18710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18712 2012-08-20 Roland McGrath <roland@hack.frob.com>
18714 * manual/syslog.texi (syslog; vsyslog, closelog):
18715 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18716 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18718 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18719 DSOCAPS to match condition on defining it.
18721 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18723 * sysdeps/unix/sysv/linux/kernel-features.h
18724 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18729 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18730 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18732 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18733 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18735 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18736 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18738 * sysdeps/unix/sysv/linux/kernel-features.h
18739 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18740 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18742 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18743 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18744 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18745 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18746 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18747 Make code unconditional.
18748 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18749 (__mmap64) [!__NR_mmap2]: Likewise.
18750 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18751 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18752 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18753 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18754 [__NR_mmap2]: Make code unconditional.
18755 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18756 (__mmap64) [!__NR_mmap2]: Likewise.
18758 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18760 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18762 2012-08-18 Andreas Jaeger <aj@suse.de>
18764 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18766 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18768 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18769 * include/unistd.h (__have_sock_cloexec): Likewise.
18770 (__have_pipe2): Likewise.
18771 (__have_dup3): Likewise.
18773 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18776 * include/unistd.h (__have_pipe2): Change define into an extern int.
18777 (__have_dup3): Likewise.
18778 * socket/have_sock_cloexec.c: Include fcntl.h.
18779 (__have_pipe2): New variable.
18780 (__have_dup3): Likewise.
18782 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18784 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18786 2012-08-17 Marek Polacek <polacek@redhat.com>
18788 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18789 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18791 2012-08-17 Roland McGrath <roland@hack.frob.com>
18793 * configure.in: Add AC_SUBST for sysheaders.
18794 * configure: Regenerated.
18795 * config.make.in (sysheaders): New substituted variable.
18797 * sysdeps/unix/mkfifo.c: Moved ...
18798 * sysdeps/posix/mkfifo.c: ... here.
18799 * sysdeps/unix/mkfifoat.c: Moved ...
18800 * sysdeps/posix/mkfifoat.c: ... here.
18802 * sysdeps/unix/utime.c: Moved ...
18803 * sysdeps/posix/utime.c: ... here.
18805 * sysdeps/unix/time.c: Moved ...
18806 * sysdeps/posix/time.c: ... here.
18807 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18808 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18810 * sysdeps/unix/nice.c: Moved ...
18811 * sysdeps/posix/nice.c: ... here.
18813 * sysdeps/unix/alarm.c: Moved ...
18814 * sysdeps/posix/alarm.c: ... here.
18816 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18818 2012-08-17 Jeff Law <law@redhat.com>
18820 * intl/Makefile (codeset_mo): New variable.
18821 ($(codeset_mo)): New target.
18822 (tst-codeset.out): Depend on that. Remove explicit rule.
18823 (tst-gettext3.out, tst-gettext5.out): Likewise.
18824 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18825 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18826 * intl/tst-codeset.sh: Remove.
18827 * intl/tst-gettext3.sh: Likewise.
18828 * intl/tst-gettext5.sh: Likewise.
18830 2012-08-17 Roland McGrath <roland@hack.frob.com>
18832 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18833 * sysdeps/unix/syscalls.list: ... here.
18835 * sysdeps/posix/getaddrinfo.c
18836 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18837 (gaiconf_init, gaiconf_reload): Use them.
18838 [!_STATBUF_ST_NSEC]
18839 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18840 Define using time_t rather than struct timespec.
18842 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18843 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18845 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18847 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18848 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18851 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18852 __libc_cleanup_push argument.
18854 * bits/param.h: New file.
18855 * misc/sys/param.h: New file.
18856 * include/sys/param.h: New file.
18857 * misc/Makefile (headers): Add bits/param.h.
18858 * sysdeps/generic/sys/param.h: File removed.
18859 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18860 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18861 * sysdeps/mach/hurd/bits/param.h: New file.
18862 * sysdeps/mach/hurd/sys/param.h: File removed.
18864 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18867 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18869 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18870 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18873 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18874 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18875 rather than -D_IO_MTSAFE_IO conditionally.
18876 * stdio-common/Makefile (CPPFLAGS): Likewise.
18877 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18878 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18879 Use $(libio-mtsafe).
18880 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18881 of -D_IO_MTSAFE_IO.
18882 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18883 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18884 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18885 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18886 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18887 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18888 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18889 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18890 (CFLAGS-fread_u_chk.c): Likewise.
18891 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18892 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18893 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18894 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18895 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18896 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18897 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18898 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18899 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18901 * libio/Makefile: Test [$(libc-reentrant) = yes]
18902 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18905 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18906 * sysdeps/pthread/configure: File removed.
18907 * sysdeps/pthread/Makeconfig: New file.
18908 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18909 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18911 2012-08-16 Gary Benson <gbenson@redhat.com>
18913 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18914 unmapping the first object in a namespace.
18916 2012-08-16 Roland McGrath <roland@hack.frob.com>
18918 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18919 (__internal_setnetgrent): ... this. Add internal_function to
18920 definition. Add libc_hidden_def.
18921 (setnetgrent): Update caller.
18922 (internal_endnetgrent): Renamed to ...
18923 (__internal_endnetgrent): ... this. Add internal_function to
18924 definition. Add libc_hidden_def.
18925 (endnetgrent): Update caller.
18926 (internal_getnetgrent_r): Renamed to ...
18927 (__internal_getnetgrent_r): ... this. Add internal_function to
18928 definition. Add libc_hidden_def.
18929 (__getnetgrent_r): Update caller.
18930 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18932 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18934 * stdlib/longlong.h: Update from GCC.
18936 2012-08-16 Roland McGrath <roland@hack.frob.com>
18938 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18939 on _QL, which is set by umul_ppmm but never used.
18940 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18941 variables, which are set by GMP macros but never used.
18942 * stdio-common/_itowa.c (_itowa): Likewise.
18943 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18944 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18946 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18948 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18949 struct La_sh_regs is not constant.
18950 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18951 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18952 and struct La_sparc64_regs are not constant.
18954 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18956 * sysdeps/unix/sysv/linux/kernel-features.h
18957 (__ASSUME_POSIX_TIMERS): Remove.
18958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18960 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18961 Make code unconditional.
18962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18963 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18964 Make code unconditional.
18965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18966 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18967 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18969 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18970 Make code unconditional.
18971 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18972 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18973 (__libc_missing_posix_timers): Remove.
18975 2012-08-15 Roland McGrath <roland@hack.frob.com>
18977 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18978 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18980 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18982 * elf/dl-sym.c: Include <stdlib.h>.
18984 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18985 constants, which avoids warnings in 32-bit builds.
18987 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18988 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18990 * misc/lseek.c: File moved to ...
18991 * io/lseek.c: ... here.
18993 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18995 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18996 shifting LEN more than 31 bits at once.
18998 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19001 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19002 segmentation fault for a case of two empty input strings.
19003 * string/test-strncasecmp.c (check1): Renamed to...
19004 (bz12205): ...this.
19005 (bz14195): Add new testcase for two empty input strings and N > 0.
19006 (test_main): Call new testcase, adapt for renamed function.
19008 2012-08-15 Andreas Jaeger <aj@suse.de>
19011 * crypt/md5test2.c: New test, based on test supplied by Serge
19012 Belyshev <belyshev@depni.sinp.msu.ru>.
19013 * crypt/Makefile (xtests): Add md5test-giant..
19014 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19016 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19019 * crypt/md5.c (md5_process_block): Don't assume the buffer
19020 length is less than 2**32.
19021 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19022 length is less than 2**64.
19024 2012-08-15 Roland McGrath <roland@hack.frob.com>
19026 * string/str-two-way.h: Include <sys/param.h>.
19027 (MAX): Macro removed.
19029 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19030 Move #define and #undef of memmove to just before and after
19031 including <string.h>.
19033 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19034 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19035 and after including <string.h>. Move declarations of
19036 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19037 to before #include "string/memmove.c".
19039 * include/dirent.h: Declare __getdirentries.
19041 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19042 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19044 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19046 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19047 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19048 * sysdeps/i386/configure: Regenerated.
19049 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19050 STABS_CURRENT_FILE, and STABS_FUN.
19051 (END): Remove call to STABS_FUN_END.
19052 (STABS_CURRENT_FILE1): Delete.
19053 (STABS_CURRENT_FILE): Likewise.
19054 (STABS_FUN): Likewise.
19055 (STABS_FUN_END): Likewise.
19056 (STABS_FUN2): Likewise.
19057 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19058 * sysdeps/x86_64/configure: Regenerated.
19060 2012-08-14 Roland McGrath <roland@hack.frob.com>
19062 * elf/dl-open.c: Include <atomic.h>.
19063 * elf/dl-lookup.c: Likewise.
19065 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19067 * sysdeps/unix/sysv/linux/kernel-features.h
19068 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19069 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19071 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19073 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19074 condition on __ASSUME_CLONE_THREAD_FLAGS.
19076 2012-08-14 Andreas Jaeger <aj@suse.de>
19078 * sysdeps/i386/fpu/libm-test-ulps: Update.
19080 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19082 * include/atomic.h (atomic_exchange_and_add): Split into ...
19083 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19086 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19090 2012-08-13 Jeff Law <law@redhat.com>
19092 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19093 null byte in the output string.
19095 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19097 * sysdeps/unix/sysv/linux/kernel-features.h
19098 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19099 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19100 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19101 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19102 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19103 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19104 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19106 2012-08-09 Jeff Law <law@redhat.com>
19109 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19110 When avoid_arena is set, don't retry in the that arena. Pick the
19111 next one, whatever it might be.
19112 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19113 (arena_lock): Pass in new parameter to arena_get2.
19114 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19116 (__libc_malloc): Unify retrying after main arena failure with
19117 __libc_memalign version.
19118 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19120 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19123 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19124 to __redirect_strstr.
19125 (__strstr_sse42): Use typeof __redirect_strstr.
19126 (__strstr_ia32): Likewise.
19127 (__libc_strstr): New prototype.
19128 (strstr): Renamed to ...
19129 (__libc_strstr): This.
19130 (strstr): New strong alias of __libc_strstr.
19131 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19132 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19135 (__libc_time): New prototype.
19136 (time_ifunc): Replace time with __libc_time.
19137 (time): New strong alias and hidden definition of __libc_time.
19138 (__GI_time): Remove strong alias.
19139 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19140 Include <stddef.h>.
19141 (memmove): Redefined to __redirect_memmove.
19142 (__memmove_sse2): Use typeof __redirect_memmove.
19143 (__memmove_ssse3): Likewise.
19144 (__memmove_ssse3_back): Likewise.
19145 (__libc_memmove): New prototype.
19146 (memmove): Renamed to ...
19147 (__libc_memmove): This.
19148 (memmove): New strong alias of __libc_memmove.
19150 2012-08-08 Mark Salter <msalter@redhat.com>
19153 (R_MN10300_TLS_GD): Define.
19154 (R_MN10300_TLS_LD): Likewise.
19155 (R_MN10300_TLS_LDO): Likewise.
19156 (R_MN10300_TLS_GOTIE): Likewise.
19157 (R_MN10300_TLS_IE): Likewise.
19158 (R_MN10300_TLS_LE): Likewise.
19159 (R_MN10300_TLS_DTPMOD): Likewise.
19160 (R_MN10300_TLS_DTPOFF): Likewise.
19161 (R_MN10300_TLS_TPOFF): Likewise.
19162 (R_MN10300_SYM_DIFF): Likewise.
19163 (R_MN10300_ALIGN): Likewise.
19164 (R_MN10300_NUM): Update.
19166 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19171 2012-08-08 Roland McGrath <roland@hack.frob.com>
19173 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19175 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19176 sysdeps/unix -> sysdeps/posix move.
19177 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19179 2012-08-07 Allan McRae <allan@archlinux.org>
19182 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19183 (SUNOS_CPP): Likewise.
19184 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19186 (open_input): Call CPP using execvp.
19188 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19190 * sysdeps/unix/sysv/linux/kernel-features.h
19191 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19192 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19193 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19194 (__ASSUME_WAITID_SYSCALL): Likewise.
19195 * sysdeps/unix/sysv/linux/dl-execstack.c
19196 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19197 code unconditional.
19198 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19200 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19201 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19202 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19204 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19206 [__ASSUME_WAITID_SYSCALL]: Likewise.
19207 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19209 2012-08-07 Roland McGrath <roland@hack.frob.com>
19211 * sysdeps/unix/closedir.c: Renamed to ...
19212 * sysdeps/posix/closedir.c: ... here.
19213 * sysdeps/unix/dirfd.c: Renamed to ...
19214 * sysdeps/posix/dirfd.c: ... here.
19215 * sysdeps/unix/dirstream.h: Renamed to ...
19216 * sysdeps/posix/dirstream.h: ... here.
19217 * sysdeps/unix/fdopendir.c: Renamed to ...
19218 * sysdeps/posix/fdopendir.c: ... here.
19219 * sysdeps/unix/opendir.c: Renamed to ...
19220 * sysdeps/posix/opendir.c: ... here.
19221 * sysdeps/unix/readdir.c: Renamed to ...
19222 * sysdeps/posix/readdir.c: ... here.
19223 * sysdeps/unix/readdir_r.c: Renamed to ...
19224 * sysdeps/posix/readdir_r.c: ... here.
19225 * sysdeps/unix/rewinddir.c: Renamed to ...
19226 * sysdeps/posix/rewinddir.c: ... here.
19227 * sysdeps/unix/seekdir.c: Renamed to ...
19228 * sysdeps/posix/seekdir.c: ... here.
19229 * sysdeps/unix/telldir.c: Renamed to ...
19230 * sysdeps/posix/telldir.c: ... here.
19231 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19232 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19233 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19234 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19236 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19237 * bits/fcntl.h: ... here.
19239 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19241 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19242 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19243 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19244 (struct flock): Move l_start, l_len to the beginning.
19245 Use __pid_t for l_pid.
19246 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19247 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19248 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19249 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19250 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19251 [__USE_LARGEFILE64] (struct flock64): New type.
19252 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19254 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19255 * bits/dirent.h: ... here.
19257 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19258 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19260 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19263 Change from 2.6.0 to 2.6.16.
19264 * sysdeps/unix/sysv/linux/configure: Regenerated.
19265 * sysdeps/unix/sysv/linux/kernel-features.h
19266 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19267 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19269 (__ASSUME_UTIMES): Likewise.
19270 (__ASSUME_CLONE_STOPPED): Remove.
19271 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19272 architectures, not kernel version.
19273 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19274 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19275 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19276 (__ASSUME_WAITID_SYSCALL): Likewise.
19277 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19278 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19279 * README: State 2.6.16 as minimum Linux kernel version. Do not
19280 refer to older versions.
19282 2012-08-06 Roland McGrath <roland@hack.frob.com>
19284 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19285 Define alphasort64 as an alias.
19286 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19287 Define versionsort64 as an alias.
19288 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19289 Define scandir64 as an alias.
19290 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19291 Define scandirat64 as an alias.
19292 * dirent/alphasort64.c (alphasort64):
19293 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19294 * dirent/versionsort64.c: Likewise.
19295 * dirent/scandir64.c: Likewise.
19296 * dirent/scandirat64.c: Likewise.
19297 * sysdeps/wordsize-64/alphasort.c: File removed.
19298 * sysdeps/wordsize-64/alphasort64.c: File removed.
19299 * sysdeps/wordsize-64/scandir.c: File removed.
19300 * sysdeps/wordsize-64/scandir64.c: File removed.
19301 * sysdeps/wordsize-64/scandirat.c: File removed.
19302 * sysdeps/wordsize-64/scandirat64.c: File removed.
19303 * sysdeps/wordsize-64/versionsort.c: File removed.
19304 * sysdeps/wordsize-64/versionsort64.c: File removed.
19305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19307 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19309 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19311 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19312 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19314 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19316 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19318 [defined __arch64__ || defined __sparcv9]
19319 (__INO_T_MATCHES_INO64_T): New macro.
19320 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19321 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19322 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19323 * sysdeps/unix/sysv/linux/bits/dirent.h
19324 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19325 (_DIRENT_MATCHES_DIRENT64): New macro.
19327 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19328 Define lockf64 as an alias.
19329 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19330 Define fseeko64 as an alias.
19331 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19332 Define ftello64 as an alias.
19333 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19334 Define _IO_fgetpos64 and fgetpos64 as aliases.
19335 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19336 Define _IO_fsetpos64 and fsetpos64 as aliases.
19337 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19338 Conditionalize body on this.
19339 * libio/fseeko64.c: Likewise.
19340 * libio/ftello64.c: Likewise.
19341 * libio/iofgetpos64.c: Likewise.
19342 * libio/iofsetpos64.c: Likewise.
19343 * sysdeps/wordsize-64/lockf.c: File removed.
19344 * sysdeps/wordsize-64/lockf64.c: File removed.
19345 * sysdeps/wordsize-64/fseeko.c: File removed.
19346 * sysdeps/wordsize-64/fseeko64.c: File removed.
19347 * sysdeps/wordsize-64/ftello.c: File removed.
19348 * sysdeps/wordsize-64/ftello64.c: File removed.
19349 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19350 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19351 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19352 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19361 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19364 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19366 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19368 [defined __arch64__ || defined __sparcv9]
19369 (__OFF_T_MATCHES_OFF64_T): New macro.
19370 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19371 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19373 (__OFF_T_MATCHES_OFF64_T): New macro.
19375 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19377 * stdlib/secure-getenv.c (__secure_getenv): Replace
19378 GLIBC_2_16 with GLIBC_2_17.
19380 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19385 2012-08-03 David S. Miller <davem@davemloft.net>
19387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19389 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19393 (__ASSUME_CORRECT_SI_PID): Likewise.
19394 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19395 (__ASSUME_TMPFS_NAME): Likewise.
19396 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19397 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19398 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19399 (HAVE_AUX_SECURE): Make definition unconditional.
19400 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19401 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19403 2012-08-03 Roland McGrath <roland@hack.frob.com>
19405 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19406 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19407 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19408 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19409 __eloop_threshold instead of SYMLOOP_MAX.
19411 * sysdeps/generic/eloop-threshold.h: New file.
19412 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19414 * elf/chroot_canon.c (chroot_canon): Likewise.
19416 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19420 Change to 2.6.0 everywhere.
19421 * sysdeps/unix/sysv/linux/configure: Regenerated.
19422 * sysdeps/unix/sysv/linux/kernel-features.h
19423 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19424 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19426 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19427 (__ASSUME_FUTEX_REQUEUE): Remove.
19428 (__ASSUME_STATFS64): Define unconditionally.
19429 (__ASSUME_AT_SECURE): Likewise.
19430 (__ASSUME_CORRECT_SI_PID): Likewise.
19431 (__ASSUME_TGKILL): Define without depending on kernel version for
19433 (__ASSUME_UTIMES): Likewise.
19434 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19436 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19437 (__ASSUME_TMPFS_NAME): Likewise.
19438 * README: Update reference to Linux kernel versions.
19440 2012-08-02 Marek Polacek <polacek@redhat.com>
19443 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19444 libc_cv_asm_type_prefix with %.
19445 * configure: Regenerated.
19446 * include/libc-symbols.h: Remove comment about
19447 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19448 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19449 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19450 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19451 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19452 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19453 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19454 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19455 * elf/tst-unique2mod1.c: Likewise.
19456 * elf/tst-unique1mod2.c: Likewise.
19457 * elf/tst-unique1mod1.c: Likewise.
19458 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19459 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19460 Replace ASM_TYPE_DIRECTIVE with .type.
19461 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19462 * sysdeps/i386/sysdep.h: Likewise.
19463 * sysdeps/x86_64/sysdep.h: Likewise.
19464 * sysdeps/sh/sysdep.h: Likewise.
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19466 Do not define ASM_TYPE_DIRECTIVE.
19467 * sysdeps/powerpc/sysdep.h: Likewise.
19468 * sysdeps/powerpc/powerpc32/sysdep.h:
19469 Replace ASM_TYPE_DIRECTIVE with .type.
19470 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19471 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19472 * sysdeps/i386/fpu/e_powf.S: Likewise.
19473 * sysdeps/i386/fpu/e_expl.S: Likewise.
19474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19475 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19476 * sysdeps/i386/fpu/e_pow.S: Likewise.
19477 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19478 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19479 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19480 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19481 * sysdeps/i386/fpu/e_log2.S: Likewise.
19482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19483 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19484 * sysdeps/i386/fpu/e_powl.S: Likewise.
19485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19486 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19487 * sysdeps/i386/fpu/e_logl.S: Likewise.
19488 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19489 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19490 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19491 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19492 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19493 * sysdeps/i386/fpu/e_log.S: Likewise.
19494 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19495 * sysdeps/i386/fpu/e_logf.S: Likewise.
19496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19498 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19499 * sysdeps/i386/fpu/e_log10.S: Likewise.
19500 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19501 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19502 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19503 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19505 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19506 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19507 * sysdeps/i386/i686/strtok.S: Likewise.
19508 * sysdeps/i386/i386-mcount.S: Likewise.
19509 * sysdeps/i386/strtok.S: Likewise.
19510 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19511 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19512 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19513 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19514 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19515 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19516 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19517 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19518 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19519 * sysdeps/x86_64/_mcount.S: Likewise.
19520 * sysdeps/x86_64/strtok.S: Likewise.
19521 * sysdeps/sh/_mcount.S: Likewise.
19523 2012-08-01 Roland McGrath <roland@hack.frob.com>
19525 * libio/iofopen.c: Include <fcntl.h>.
19526 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19527 (_IO_fopen64, fopen64): Define as aliases.
19528 * libio/iofopen64.c: Include <fcntl.h>.
19529 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19530 Conditionalize body on this.
19531 * sysdeps/wordsize-64/iofopen.c: File removed.
19532 * sysdeps/wordsize-64/iofopen64.c: File removed.
19534 2012-08-01 Marek Polacek <polacek@redhat.com>
19536 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19537 Use dlfcn directly instead of a variable.
19538 (binfmt-subdir): Do not define.
19541 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19544 Remove all definitions.
19545 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19546 <kernel-features.h>.
19547 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19548 (miss_F_GETOWN_EX): Remove all definitions.
19549 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19551 [!__ASSUME_FCNTL64]: Remove conditional code.
19552 [__ASSUME_FCNTL64]: Make code unconditional.
19553 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19554 <kernel-features.h>.
19555 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19556 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19557 (lockf64) [__NR_fcntl64]: Make code unconditional.
19558 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19560 * sysdeps/unix/sysv/linux/kernel-features.h
19561 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19562 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19563 Make code unconditional.
19564 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19565 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19567 [__NR_vfork]: Make code unconditional.
19568 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19569 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19571 [__NR_vfork]: Make code unconditional.
19572 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19573 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19575 2012-08-01 Roland McGrath <roland@hack.frob.com>
19577 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19578 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19580 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19581 Define mkstemp64 as an alias.
19582 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19583 Define mkstemps64 as an alias.
19584 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19585 Define mkostemp64 as an alias.
19586 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19587 Define mkostemps64 as an alias.
19588 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19589 Conditionalize body on this.
19590 * misc/mkostemp64.c: Likewise.
19591 * misc/mkostemps64.c: Likewise.
19592 * misc/mkstemps64.c: Likewise.
19593 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19594 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19595 * sysdeps/wordsize-64/mkostemp.c: File removed.
19596 * sysdeps/wordsize-64/mkstemp.c: File removed.
19597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19598 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19599 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19600 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19603 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19604 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19605 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19606 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19608 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19609 compat_symbol macros from <shlib-compat.h> rather than the underlying
19610 default_symbol_version and symbol_version macros, so that DEFAULT
19611 lines in shlib-versions are respected.
19612 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19614 2012-08-01 Florian Weimer <fweimer@redhat.com>
19616 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19617 Declare with warn_unused_result.
19618 (setgid, setregid, setegid, setresgid): Likewise.
19619 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19621 * WUR-REPORT: Remove set*id functions.
19623 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19625 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19627 2012-07-31 Roland McGrath <roland@hack.frob.com>
19630 * include/sys/socket.h (__libc_accept, __libc_accept4):
19631 Add attribute_hidden.
19632 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19634 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19636 * inet/getnetgrent_r.c (setup): Likewise.
19638 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19640 2012-07-31 David S. Miller <davem@davemloft.net>
19642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19644 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19647 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19648 value between 1.0 and 2.0 and smaller part has absolute value less
19650 * math/s_clog10.c (__clog10): Likewise.
19651 * math/s_clog10f.c (__clog10f): Likewise.
19652 * math/s_clog10l.c (__clog10l): Likewise.
19653 * math/s_clogf.c (__clogf): Likewise.
19654 * math/s_clogl.c (__clogl): Likewise.
19655 * math/libm-test.inc (clog_test): Add more tests.
19656 (clog10_test): Likewise.
19657 * sysdeps/i386/fpu/libm-test-ulps: Update.
19658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19660 2012-07-31 Florian Weimer <fweimer@redhat.com>
19662 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19663 Exit with zero in case no suitable GID is found, and write a
19664 message to standard error.
19666 2012-07-30 Roland McGrath <roland@hack.frob.com>
19668 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19670 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19671 (MAXPATHLEN): Removed.
19672 (NOGROUP, NODEV): New macros.
19673 (setbit, clrbit, isset, isclr): New macros.
19674 (howmany, roundup, powerof2): New macros.
19675 (DEV_BSIZE): New macro.
19677 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19678 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19680 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19681 definition on [!__NO_LONG_DOUBLE_MATH].
19683 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19684 PTR_MANGLE and PTR_DEMANGLE.
19686 * socket/accept4.c (accept4): Rename to __libc_accept4.
19687 Define accept4 as a weak alias.
19689 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19690 on [_DIRENT_HAVE_D_TYPE].
19691 * io/ftw.c (ftw_dir): Likewise.
19693 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19695 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19697 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19698 Use the BSD numbers rather than the arbitrary ones we had.
19699 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19700 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19701 (SIGXCPU, SIGXFSZ): New macros.
19704 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19705 initializer on [_LIBC_REENTRANT].
19707 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19708 definitions inside [_POSIX_MAPPED_FILES].
19710 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19712 * dirent/opendir.c: Include <fcntl.h>.
19714 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19715 (__libc_getspecific): Likewise.
19716 (__libc_key_create): Likewise.
19718 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19719 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19720 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19721 (tmpfile64): Define as alias.
19722 * sysdeps/wordsize-64/tmpfile.c: File removed.
19723 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19724 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19725 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19727 * stdio-common/vfscanf.c: Include <stdbool.h>.
19728 * nss/makedb.c: Likewise.
19729 * stdio-common/_i18n_number.h: Likewise.
19730 * argp/argp-help.c: Likewise.
19731 * posix/wordexp.c: Likewise.
19732 * sysdeps/posix/spawni.c: Likewise.
19733 * nss/nss_files/files-initgroups.c: Likewise.
19734 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19735 * nss/nss_files/files-initgroups.c: Likewise.
19736 * nss/nss_db/db-netgrp.c: Likewise.
19737 * nss/nss_db/db-initgroups.c: Likewise.
19738 * io/fchmodat.c: Include <sys/stat.h>.
19740 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19741 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19743 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19746 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19747 Add multiple inclusion protection.
19749 2012-07-27 David S. Miller <davem@davemloft.net>
19751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19753 2012-07-27 Gary Benson <gbenson@redhat.com>
19756 * elf/rtld.c: Include <stap-probe.h>.
19757 (dl_main): Added static probes "init_start" and "init_complete".
19758 * elf/dl-load.c: Include <stap-probe.h>.
19759 (lose): Take new parameter "nsid".
19760 Added static probe "map_failed".
19761 (_dl_map_object_from_fd): Pass namespace id to lose.
19762 Added static probe "map_start".
19763 (open_verify): Pass namespace id to lose.
19764 * elf/dl-open.c: Include <stap-probe.h>.
19765 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19766 and "reloc_complete".
19767 * elf/dl-close.c: Include <stap-probe.h>.
19768 (_dl_close_worker): Added static probes "unmap_start" and
19770 * elf/rtld-debugger-interface.txt: New file documenting the above.
19772 2012-07-26 Roland McGrath <roland@hack.frob.com>
19774 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19775 rather than a string variable.
19776 * sunrpc/rpc_main.c (h_output): Likewise.
19777 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19779 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19781 * inet/check_native.c: New file.
19783 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19786 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19787 if larger part has absolute value 1.0.
19788 * math/s_clog10.c (__clog10): Likewise.
19789 * math/s_clog10f.c (__clog10f): Likewise.
19790 * math/s_clog10l.c (__clog10l): Likewise.
19791 * math/s_clogf.c (__clogf): Likewise.
19792 * math/s_clogl.c (__clogl): Likewise.
19793 * math/libm-test.inc (clog_test): Add more tests.
19794 (clog10_test): Likewise.
19795 * sysdeps/i386/fpu/libm-test-ulps: Update.
19796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19798 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19799 (pltexit): Likewise.
19800 (La_regs): Likewise.
19801 (La_retval): Likewise.
19802 (int_retval): Likewise.
19803 Update #error for removed macros to refer only to definitions in
19805 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19807 (pltexit): Likewise.
19808 (La_regs): Likewise.
19809 (La_retval): Likewise.
19810 (int_retval): Likewise.
19811 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19813 (pltexit): Likewise.
19814 (La_regs): Likewise.
19815 (La_retval): Likewise.
19816 (int_retval): Likewise.
19817 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19819 (pltexit): Likewise.
19820 (La_regs): Likewise.
19821 (La_retval): Likewise.
19822 (int_retval): Likewise.
19823 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19825 (pltexit): Likewise.
19826 (La_regs): Likewise.
19827 (La_retval): Likewise.
19828 (int_retval): Likewise.
19829 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19831 (pltexit): Likewise.
19832 (La_regs): Likewise.
19833 (La_retval): Likewise.
19834 (int_retval): Likewise.
19835 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19837 (pltexit): Likewise.
19838 (La_regs): Likewise.
19839 (La_retval): Likewise.
19840 (int_retval): Likewise.
19841 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19842 macro definitions in tst-audit.h.
19843 * sysdeps/i386/tst-audit.h: New file.
19844 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19845 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19846 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19847 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19848 * sysdeps/sh/tst-audit.h: Likewise.
19849 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19850 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19851 * sysdeps/x86_64/tst-audit.h: Likewise.
19853 2012-07-26 Andreas Jaeger <aj@suse.de>
19855 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19858 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19859 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19860 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19862 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19863 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19864 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19866 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19869 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19871 (si_call_addr, si_syscall, si_arch): Define new macro.
19872 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19874 (si_call_addr, si_syscall, si_arch): Define new marcro.
19875 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19877 (si_call_addr, si_syscall, si_arch): Define new macro.
19878 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19880 (si_call_addr, si_syscall, si_arch): Define new macro.
19882 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19886 Change to 2.4.21 where previously 2.4.1.
19887 * sysdeps/unix/sysv/linux/configure: Regenerated.
19888 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19889 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19890 Linux kernel version.
19891 (__ASSUME_STD_AUXV): Remove.
19892 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19894 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19895 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19896 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19897 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19898 (__ASSUME_NETLINK_SUPPORT): Likewise.
19899 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19900 (__no_netlink_support): Remove conditional definition.
19901 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19903 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19904 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19905 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19906 (if_nameindex_ioctl): Remove.
19907 (if_nameindex_netlink): Do not handle __no_netlink_support.
19908 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19910 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19911 Remove conditional code.
19912 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19914 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19916 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19917 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19918 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19920 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19921 [!__ASSUME_STD_AUXV]: Remove conditional code.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19923 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19924 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19926 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19927 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19929 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19931 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19932 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19934 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19936 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19939 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19942 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19943 code unconditional.
19944 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19946 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19948 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19951 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19953 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19956 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19957 code unconditional.
19958 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19960 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19962 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19965 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19966 code unconditional.
19967 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19969 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19971 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19974 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19976 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19977 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19978 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19979 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19980 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19981 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19982 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19983 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19984 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19985 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19986 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19987 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19988 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19989 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19990 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19991 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19992 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19993 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19994 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19996 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19997 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20000 2012-07-25 Florian Weimer <fweimer@redhat.com>
20002 * Versions.def: Add GLIBC_2.17.
20003 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20004 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20005 Introduce __libc_secure_getenv.
20006 * stdlib/Versions (2.17): Add secure_getenv
20007 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20008 * stdlib/secure-getenv.c: Rename __secure_getenv to
20009 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20010 symbol __secure_getenv for GLIBC_2.0.
20011 * stdlib/tst-secure-getenv.c: New.
20012 * stdlib/Makefile (tests): Add testcase.
20013 * manual/startup.texi (Environment Access): Document
20015 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20016 __libc_secure_getenv.
20017 * inet/ruserpass.c (ruserpass): Likewise.
20018 * malloc/mtrace.c (mtrace): Likewise.
20019 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20020 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20021 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20022 * sysdeps/posix/tempname.c: Likewise. Evaluate
20023 HAVE_SECURE_GETENV.
20024 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20025 __secure_getenv to __libc_secure_getenv.
20026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20039 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20041 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20042 (struct La_i86_retval): Likewise.
20043 (struct La_x86_64_regs): Likewise.
20044 (struct La_x86_64_retval): Likewise.
20045 (struct La_x32_regs): Likewise.
20046 (struct La_x32_retval): Likewise.
20047 (struct La_ppc32_regs): Likewise.
20048 (struct La_ppc32_retval): Likewise.
20049 (struct La_ppc64_regs): Likewise.
20050 (struct La_ppc64_retval): Likewise.
20051 (struct La_sh_regs): Likewise.
20052 (struct La_sh_retval): Likewise.
20053 (struct La_s390_32_regs): Likewise.
20054 (struct La_s390_32_retval): Likewise.
20055 (struct La_s390_64_regs): Likewise.
20056 (struct La_s390_64_retval): Likewise.
20057 (struct La_sparc32_regs): Likewise.
20058 (struct La_sparc32_retval): Likewise.
20059 (struct La_sparc64_regs): Likewise.
20060 (struct La_sparc64_retval): Likewise.
20061 (struct audit_ifaces): Remove architecture-specific pltenter and
20063 * sysdeps/i386/ldsodefs.h: New file.
20064 * sysdeps/powerpc/ldsodefs.h: Likewise.
20065 * sysdeps/s390/ldsodefs.h: Likewise.
20066 * sysdeps/sh/ldsodefs.h: Likewise.
20067 * sysdeps/sparc/ldsodefs.h: Likewise.
20068 * sysdeps/x86_64/ldsodefs.h: Likewise.
20070 2012-07-25 Marek Polacek <polacek@redhat.com>
20073 * math/libm-test.inc (yn_test): Add another test.
20074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20075 to ERANGE when the result is +-Inf.
20076 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20077 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20078 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20079 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20081 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20083 * conform/data/time.h-data (NULL): Use macro-constant. Require
20085 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20087 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20089 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20091 * configure.in <sysdeps resolving>: Correct printing
20093 * configure: Regenerate.
20095 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20097 * math/w_ilogb.c: Include <limits.h>.
20098 * math/w_ilogbl.c: Likewise.
20100 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20102 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20103 va_copy. Document allowing for unavailable va_copy only as
20104 pre-C99 compatibility.
20105 * manual/string.texi (Copying and Concatenation): Use va_copy
20106 instead of __va_copy in concat example.
20108 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20110 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20111 (__sendto): Use create_address_port. Initialize APORT and deallocate
20114 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20115 with O_NOLINK passed to __file_name_lookup.
20117 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20118 with O_NOLINK passed to __file_name_lookup.
20120 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20121 negative N or less than NGIDS.
20123 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20124 type to string_t. Set ERANGE as errno and return it if NAME is not big
20125 enough. Use memcpy instead of strncpy.
20127 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20129 * elf/Makefile (check-data): Remove.
20130 (localplt.data): New vpath directive.
20131 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20132 instead of $(check-data).
20133 * scripts/data/localplt-generic.data: Move to ...
20134 * sysdeps/generic/localplt.data: ... here.
20135 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20136 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20137 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20140 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20143 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20146 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20149 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20152 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20156 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20158 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20159 PPC32 and PPC64 files.
20160 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20161 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20163 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20165 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20166 __makecontext_ret to ...
20167 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20168 ... here and call exit if uc_link is NULL. New file.
20169 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20170 __makecontext_ret.S.
20171 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20172 __makecontext_ret to ...
20173 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20174 ... here and call exit if uc_link is NULL. New file.
20175 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20176 __makecontext_ret.S.
20178 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20180 * elf/elf.h (R_390_IRELATIVE): New definition.
20181 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20182 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20183 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20184 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20185 (elf_machine_lazy_rel): Likewise.
20186 * sysdeps/s390/dl-irel.h: New file.
20187 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20188 * sysdeps/s390/s390-64/memset.S: New asm code.
20189 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20190 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20191 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20192 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20193 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20194 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20195 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20196 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20197 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20198 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20199 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20200 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20201 * sysdeps/s390/s390-32/memset.S: New asm code.
20202 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20204 2012-07-17 Marek Polacek <polacek@redhat.com>
20207 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20208 * sysdeps/s390/s390-64/configure.in: Likewise.
20209 * sysdeps/sparc/configure.in: Likewise.
20210 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20211 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20212 * sysdeps/i386/configure.in: Likewise.
20213 * sysdeps/x86_64/configure.in: Likewise.
20214 * sysdeps/sh/configure.in: Likewise.
20215 * sysdeps/s390/s390-32/configure: Regenerated.
20216 * sysdeps/s390/s390-64/configure: Likewise.
20217 * sysdeps/x86_64/configure: Likewise.
20218 * sysdeps/sh/configure: Likewise.
20219 * sysdeps/powerpc/powerpc64/configure: Likewise.
20220 * sysdeps/powerpc/powerpc32/configure: Likewise.
20221 * sysdeps/sparc/configure: Likwise.
20222 * sysdeps/i386/configure: Likewise.
20224 * elf/dl-open.c: Comment fixes.
20226 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20228 * Makefile [CXX] (check-data): Remove.
20229 [CXX] (c++-types.data): New vpath directive.
20230 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20231 vpath. Do not allow for C++ type data being missing.
20232 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20233 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20234 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20235 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20236 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20237 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20238 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20241 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20244 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20247 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20250 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20253 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20256 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20259 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20262 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20263 definitions to architecture-specific files.
20264 (TLS_IE): Likewise.
20265 (TLS_LD): Likewise.
20266 (TLS_GD): Likewise.
20267 * sysdeps/i386/tls-macros.h: New file.
20268 * sysdeps/powerpc/tls-macros.h: Likewise.
20269 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20270 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20271 * sysdeps/sh/tls-macros.h: Likewise.
20272 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20273 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20274 * sysdeps/x86_64/tls-macros.h: Likewise.
20276 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20278 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20279 zero value for regular exit case.
20281 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20282 (__start_context): Preserve zero value for regular exit case.
20284 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20285 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20287 * manual/setjmp.texi (setcontext): Clarify normal process
20288 termination when uc_link is the null pointer.
20289 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20292 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20294 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20295 preprocessor. Test for each exception mask separately.
20297 2012-07-16 Andreas Jaeger <aj@suse.de>
20299 * po/ru.po: Update from translation team.
20301 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20303 * conform/data/string.h-data (NULL): Use macro-constant. Require
20305 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20306 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20307 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20308 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20311 2012-07-13 Andreas Jaeger <aj@suse.de>
20313 * po/fr.po: Update from translation team.
20315 2012-07-12 Marek Polacek <polacek@redhat.com>
20318 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20322 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20326 Change to 2.4.1 where previously 2.4.0.
20327 * sysdeps/unix/sysv/linux/configure: Regenerated.
20328 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20329 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20331 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20332 (__ASSUME_AT_CLKTCK): Remove.
20333 (__ASSUME_AT_PAGESIZE): Likewise.
20334 (__ASSUME_AT_XID): Likewise.
20335 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20336 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20337 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20339 (HAVE_AUX_PAGESIZE): Likewise.
20340 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20341 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20342 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20344 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20348 the temporary buffer used to invoke __gethostbyname2_r,
20349 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20350 host_data / struct gaih_addrtuple.
20351 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20352 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20353 header file nss/nsswitch.h.
20354 * nss/nsswitch.h (global scope): Add definition of implementation
20355 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20356 resolv/nss_dns/dns-host.c).
20358 2012-07-11 Andreas Jaeger <aj@suse.de>
20360 * po/fr.po: Update from translation team.
20362 * po/sv.po: Update from translation team
20363 * po/fr.po: Another update from translation team.
20365 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20367 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20368 for subnormals or multiply small sinh result by itself.
20369 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20372 2012-07-11 David S. Miller <davem@davemloft.net>
20374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20376 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20379 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20380 (INTERNAL_MARK): Shift it here.
20382 2012-07-10 Marek Polacek <polacek@redhat.com>
20385 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20386 libc_cv_asm_global_directive with .globl.
20387 * configure: Regenerated.
20388 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20390 * sysdeps/i386/configure: Regenerated.
20391 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20393 * sysdeps/x86_64/configure: Regenerated.
20394 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20395 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20396 * elf/tst-unique2mod2.c: Likewise.
20397 * elf/tst-unique2mod1.c: Likewise.
20398 * elf/tst-unique1mod2.c: Likewise.
20399 * elf/tst-unique1mod1.c: Likewise.
20400 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20401 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20402 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20404 * sysdeps/mach/sysdep.h: Likewise.
20405 * sysdeps/i386/sysdep.h: Likewise.
20406 * sysdeps/i386/i386-mcount.S: Likewise.
20407 * sysdeps/x86_64/_mcount.S: Likewise.
20408 * sysdeps/x86_64/sysdep.h: Likewise.
20409 * sysdeps/sh/_mcount.S: Likewise.
20410 * sysdeps/sh/sysdep.h: Likewise.
20411 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20412 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20413 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20414 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20415 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20416 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20417 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20418 * locale/localeinfo.h: Likewise.
20419 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20420 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20422 2012-07-09 Roland McGrath <roland@hack.frob.com>
20425 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20427 * manual/message.texi (The Uniforum approach): Likewise.
20428 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20429 (glibc iconv Implementation): Likewise.
20431 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20434 * math/s_clog.c (__clog): Avoid scaling a value down where that
20435 could result in underflow.
20436 * math/s_clog10.c (__clog10): Likewise.
20437 * math/s_clog10f.c (__clog10f): Likewise.
20438 * math/s_clog10l.c (__clog10l): Likewise.
20439 * math/s_clogf.c (__clogf): Likewise.
20440 * math/s_clogl.c (__clogl): Likewise.
20441 * math/libm-test.inc (clog_test): Add more tests.
20442 (clog10_test): Likewise.
20443 * sysdeps/i386/fpu/libm-test-ulps: Update.
20444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20446 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20449 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20450 by 7 not 8 to examine high bit of fractional part.
20453 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20454 for call to __mcount_internal.
20455 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20456 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20457 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20459 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20462 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20463 approximation for values within 0x1p-13f of an odd multiple of
20465 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20466 exception. Add more tests.
20467 * sysdeps/i386/fpu/libm-test-ulps: Update.
20470 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20471 inputs and return -1 for them. Do not check for +Inf in case not
20472 reachable for +Inf.
20473 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20474 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20475 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20476 and return -1 for them. Do not check for +Inf in case not
20477 reachable for +Inf.
20478 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20480 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20481 and return -1 for them. Do not check for +Inf in case not
20482 reachable for +Inf.
20483 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20484 spurious underflow.
20485 * sysdeps/i386/fpu/libm-test-ulps: Update.
20486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20488 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20490 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20492 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20496 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20497 could result in spurious underflow. Scale down values above
20498 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20499 * math/s_csqrtf.c (__csqrtf): Likewise.
20500 * math/s_csqrtl.c (__csqrtl): Likewise.
20501 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20502 spurious underflow.
20503 * sysdeps/i386/fpu/libm-test-ulps: Update.
20504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20506 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20508 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20510 * catgets/xopen-msg.awk: New file.
20511 * catgets/xopen-msg.sed: Removed.
20513 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20515 * intl/po2test.awk: New file.
20516 * intl/po2test.sed: Removed.
20518 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20521 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20522 or multiply small sinh result by itself.
20523 * math/s_ctanf.c (__ctanf): Likewise.
20524 * math/s_ctanh.c (__ctanh): Likewise.
20525 * math/s_ctanhf.c (__ctanhf): Likewise.
20526 * math/s_ctanhl.c (__ctanhl): Likewise.
20527 * math/s_ctanl.c (__ctanl): Likewise.
20528 * math/libm-test.inc (ctan_test_tonearest): New function.
20529 (ctan_test_towardzero): Likewise.
20530 (ctan_test_downward): Likewise.
20531 (ctan_test_upward): Likewise.
20532 (ctanh_test_tonearest): Likewise.
20533 (ctanh_test_towardzero): Likewise.
20534 (ctanh_test_downward): Likewise.
20535 (ctanh_test_upward): Likewise.
20536 (main): Call these new functions.
20537 * sysdeps/i386/fpu/libm-test-ulps: Update.
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20540 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20542 * .gitignore: Delete /ports entry.
20544 2012-07-03 Andreas Jaeger <aj@suse.de>
20546 * po/bg.po: Update from translation team.
20547 * po/cs.po: Likewise.
20548 * po/de.po: Likewise.
20549 * po/hr.po: Likewise.
20550 * po/nl.pl: Likewise.
20551 * po/pl.po: Likewise.
20552 * po/vi.po: Likewise.
20554 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20556 * Makeconfig [!+link] (+link-before-libc): New variable.
20557 [!+link] (+link-after-libc): Likewise.
20558 [!+link] (+link-tests): Likewise.
20559 [!+link] (+link): Define in terms of $(+link-before-libc) and
20560 $(+link-after-libc).
20561 [!+link-static] (+link-static-before-libc): New variable.
20562 [!+link-static] (+link-static-after-libc): Likewise.
20563 [!+link-static] (+link-static-tests): Likewise.
20564 [!+link-static] (+link-static): Define in terms of
20565 $(+link-static-before-libc) and $(+link-static-after-libc).
20566 [build-shared] (link-libc-before-gnulib): New variable.
20567 [build-shared] (link-libc-tests): Likewise.
20568 [build-shared] (link-libc): Define in terms of
20569 $(link-libc-before-gnulib).
20570 [!build-shared] (link-libc-tests): New variable.
20571 (link-libc-static-tests): New variable.
20572 [!gnulib] (gnulib-arch): New variable.
20573 [!gnulib] (gnulib-tests): Likewise.
20574 [!gnulib] (static-gnulib-arch): Likewise.
20575 [!gnulib] (static-gnulib-tests): Likewise.
20576 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20577 Define with "=" instead of ":=".
20578 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20579 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20580 * Rules (binaries-all-notests): New variable.
20581 (binaries-all-tests): Likewise.
20582 (binaries-static-notests): Likewise.
20583 (binaries-static-tests): Likewise.
20584 (binaries-all): Define using $(binaries-all-notests) and
20585 $(binaries-all-tests).
20586 (binaries-static): Define using $(binaries-static-notests) and
20587 $(binaries-static-tests).
20588 (binaries-shared-tests): New variable.
20589 (binaries-shared-notests): Likewise.
20590 (binaries-shared): Remove variable.
20591 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20592 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20593 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20594 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20595 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20596 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20597 * elf/Makefile (sln-modules): New variable.
20598 (extra-objs): Add $(sln-modules:=.o).
20599 (ldconfig-modules): Add static-stubs.
20600 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20601 * elf/static-stubs.c: New file.
20604 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20605 by 7 not 8 to examine high bit of fractional part. Use volatile
20606 variables when splitting into final array of floats if
20607 __FLT_EVAL_METHOD__ != 0.
20608 * math/libm-test.inc (cos_test): Add another test.
20609 (sin_test): Likewise.
20610 * sysdeps/i386/fpu/libm-test-ulps: Update.
20613 * math/libm-test.inc (cosh_test): Add more tests.
20615 * version.h (RELEASE): Set to "development".
20616 (VERSION): Set to "2.16.90".
20618 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20620 * NEWS: Update copyright. Remove last-updated date.
20621 Mention math library bug fixes and timezone data changes.
20622 * README: Mention GNU/Hurd, x32, and HPPA support status.
20624 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20626 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20628 2012-06-27 Andreas Jaeger <aj@suse.de>
20630 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20632 2012-06-25 Andreas Jaeger <aj@suse.de>
20634 * sysdeps/s390/fpu/libm-test-ulps: Update.
20636 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20637 Thomas Schwinge <thomas@codesourcery.com>
20639 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20640 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20641 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20644 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20646 * sysdeps/mach/start.c: Remove file.
20647 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20648 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20649 * sysdeps/sh/init-first.c: Likewise.
20651 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20652 registers for frame unwinding purposes, add CFI directives.
20653 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20654 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20655 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20658 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20659 __fortify_fail returning.
20660 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20662 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20663 sysdeps/sh/____longjmp_chk.S.
20664 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20665 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20666 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20667 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20669 * sysdeps/sh/abort-instr.h: New file.
20670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20671 process in case exit returns.
20673 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20674 initialize the GOT register before use.
20676 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20677 calculation of ARGC > 4.
20679 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20680 meaningful names to some local labels.
20682 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20683 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20685 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20686 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20687 (__arch_compare_and_exchange_val_16_acq): Likewise.
20688 (__arch_compare_and_exchange_val_32_acq): Likewise.
20689 (atomic_exchange_and_add): Fix gUSA sequence.
20690 (atomic_add): Likewise.
20691 (atomic_add_negative): Likewise.
20692 (atomic_add_zero): Likewise.
20693 (atomic_bit_test_set): Likewise.
20695 2012-06-22 Andreas Schwab <schwab@redhat.com>
20698 * include/link.h (struct link_map): Add l_free_initfini.
20699 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20701 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20702 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20703 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20706 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20708 * configure.in: Use AC_LANG_SOURCE.
20709 * configure: Regenerate.
20711 2012-06-22 Roland McGrath <roland@hack.frob.com>
20713 * configure.in (libc_cv_localstatedir): New substituted variable.
20714 * configure: Regenerated.
20715 * config.make.in (localstatedir): New variable, substituted from
20716 libc_cv_localstatedir.
20717 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20718 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20719 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20720 * sysdeps/gnu/configure: Regenerated.
20722 2012-06-21 Jeff Law <law@redhat.com>
20725 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20726 free. Simplify list management for _LIBC case.
20728 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20731 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20732 Clear sign bit of 64-bit integer value before comparing against
20735 * sysdeps/mach/configure: Regenerated.
20737 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20740 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20742 2012-06-21 Jeff Law <law@redhat.com>
20745 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20746 uint16_t for elements in the "seen" array to avoid char overflows.
20747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20748 * elf/dl-open.c (dl_open_worker): Likewise.
20750 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20752 * scripts/list-sources.sh: Scan PORTS for translations.
20753 * po/libc.pot: Regenerated.
20755 2012-06-21 Andreas Jaeger <aj@suse.de>
20758 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20760 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20761 * bits/byteswap-16.h (__bswap_16): Likewise.
20762 * bits/byteswap.h (__bswap_constant_16): Likewise.
20764 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20767 * sysdeps/i386/fpu_control.h: Removed.
20768 * sysdeps/x86_64/fpu_control.h: Moved to ...
20769 * sysdeps/x86/fpu_control.h: Here.
20771 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20772 (_FPU_SETCW): Likewise.
20774 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20777 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20778 * sysdeps/x86/fpu/bits/mathinline.h: This.
20779 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20783 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20784 functions if __x86_64__ is defined.
20786 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20788 * string/endian.h: Add !__ASSEMBLER__ condition for including
20789 conversion interfaces.
20791 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20795 of ABS(x) in calculating zero to negative powers other than odd
20797 * math/libm-test.inc (pow_test): Add more tests.
20799 2012-06-15 Andreas Jaeger <aj@suse.de>
20801 * manual/contrib.texi (Contributors): Update entry of Liubov
20802 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20805 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20807 * string/string.h: Add __wur to GNU version of strerror_r.
20809 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20812 * string/Makefile (tests): Add tst-strtok_r.
20813 * string/tst-strtok_r.c: New file.
20814 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20815 RAX_LP/RDX_LP on SAVE_PTR.
20817 2012-06-14 Roland McGrath <roland@hack.frob.com>
20819 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20821 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20823 * libm_test.inc (csqrt_test): Allow more spurious underflow
20825 (j0_test): Likewise.
20826 (j1_test): Likewise.
20827 (y0_test): Likewise.
20828 (y1_test): Likewise.
20830 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20832 * po/Makefile (libc.pot): Use UTF-8 charset.
20834 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20837 Suppress sign-conversion warning from FD_SET.
20838 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20839 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20840 not unsigned long int.
20841 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20843 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20847 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20848 __extern_always_inline instead of __extern_inline.
20849 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20850 (__signbit): Likewise.
20851 (__signbitl): Support C++ namespace.
20852 (lrintf): New inline function.
20854 (llrintf): Likewise.
20855 (llrint): Likewise.
20865 (floorf): Likewise.
20866 (nearbyint): Likewise.
20867 (nearbyintf): Likewise.
20869 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20871 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20872 non-default versions.
20874 2012-06-11 Roland McGrath <roland@hack.frob.com>
20877 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20879 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20881 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20882 (FE_UPWARD, FE_DOWNWARD): Don't define.
20883 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20884 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20886 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20888 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20891 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20893 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20895 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20896 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20898 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20901 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20902 * sysdeps/i386/fpu/Implies: New file.
20903 * sysdeps/x86_64/fpu/Implies: Likewise.
20904 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20905 * sysdeps/x86/fpu/bits/fenv.h: This.
20907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20910 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20913 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20914 character 0xffff that matches the last element of the
20917 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20922 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20925 values higher than 25.6283.
20927 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20930 subnormal exponent extraction and add some __builtin_expect.
20931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20932 Fix for subnormal mantissa calculation.
20934 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20936 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20937 cpu2 is -1 and errno is not ENOSYS.
20939 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20942 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20943 * sysdeps/x86/bits/string.h: This.
20944 * sysdeps/x86_64/bits/string.h: Removed.
20946 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20947 if not compiling for x86-64, but compiling for >= i486.
20949 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20950 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20952 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20953 New macro from Linux kernel 3.4.0.
20954 (FP_XSTATE_MAGIC2): Likewise.
20955 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20956 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20957 (struct _fpx_sw_bytes): New struct.
20958 (struct _xsave_hdr): Likewise.
20959 (struct _ymmh_state): Likewise.
20960 (struct _xstate): Likewise.
20962 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20963 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20965 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20967 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20969 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20970 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20971 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20972 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20973 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20974 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20976 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20979 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20980 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20981 (sysdep_headers): Include sys/platform/ppc.h.
20982 * sysdeps/powerpc/test-gettimebase.c: Test for
20983 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20984 * manual/Makefile (appendices): Include platform.texi.
20985 * manual/contrib.texi (Contributors): Update @node pointers.
20986 * manual/maint.texi (Maintenance): Likewise.
20987 (Platform): New node.
20988 * manual/platform.texi: New file. Document the new features.
20990 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20991 Jakub Jelinek <jakub@redhat.com>
20994 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20995 where __builtin_expect is unavailable.
20997 2012-06-03 David S. Miller <davem@davemloft.net>
20999 * stdlib/longlong.h: Updated from GCC.
21001 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21004 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21005 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21008 (GLIBC_2.16): Likewise.
21010 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21012 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21014 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21017 (default-abi): New variable.
21018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21019 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21021 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21023 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21025 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21028 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21029 definition. Document in comment.
21031 2012-06-01 David S. Miller <davem@davemloft.net>
21033 * stdlib/longlong.h: Updated from GCC.
21035 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21038 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21039 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21040 sys/debugreg.h sys/io.h here.
21041 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21042 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21044 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21045 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21046 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21047 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21048 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21049 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21051 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21052 Define only if __x86_64__ is defined.
21054 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21057 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21058 Use int64_t for variable i.
21059 * math/libm-test.inc (fmod_test): Add more tests.
21061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21062 z computation is not scheduled after fetestexcept.
21063 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21064 Use math_force_eval instead of asm to ensure calculation scheduled
21065 before exception test.
21066 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21067 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21069 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21072 computation is not scheduled after fetestexcept.
21074 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21077 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21078 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21080 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21082 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21083 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21085 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21088 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21090 (__WCHAR_MIN): Support __WORDSIZE == 64.
21091 (__WCHAR_MAX): Likewise.
21093 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21094 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21098 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21101 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21102 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21104 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21105 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21107 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21108 Defined to 1 if __x86_64__ isn't defined.
21109 (_STAT_VER_LINUX_OLD): New.
21110 (st_atime): Remove duplicate.
21111 (st_mtime): Likewise.
21112 (st_ctime): Likewise.
21114 2012-05-31 David S. Miller <davem@davemloft.net>
21116 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21119 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21121 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21125 * elf/dl-reloc.c: Include <_itoa.h>.
21126 (_dl_reloc_bad_type): Remove use of INTUSE.
21127 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21128 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21129 * stdio-common/psiginfo.c (psiginfo): Likewise.
21130 * stdio-common/psignal.c (psignal): Likewise.
21131 * string/strsignal.c (strsignal): Likewise.
21132 * include/signal.h (_sys_siglist): Declare hidden proto.
21133 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21134 INTVARDEF with libc_hidden_data_def.
21135 * stdio-common/itoa-udigits.c: Likewise.
21136 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21137 (_itoa_lower_digits_internal): Remove declaration.
21138 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21139 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21140 (_sys_sigabbrev_internal): Remove aliases.
21141 (_sys_siglist): Define hidden alias.
21143 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21148 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21151 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21152 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21154 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21155 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21156 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21157 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21159 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21161 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21163 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21173 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21177 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21178 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21180 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21181 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21182 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21184 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21185 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21187 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21188 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21190 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21192 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21194 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21195 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21197 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21199 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21200 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21201 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21203 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21205 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21207 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21209 * math/math.h (M_El): Use two more decimal places.
21210 (M_LOG2El): Likewise.
21211 (M_LOG10El): Likewise.
21212 (M_LN2l): Likewise.
21213 (M_LN10l): Likewise.
21215 (M_PI_2l): Likewise.
21216 (M_PI_4l): Likewise.
21217 (M_1_PIl): Likewise.
21218 (M_2_PIl): Likewise.
21219 (M_2_SQRTPIl): Likewise.
21220 (M_SQRT2l): Likewise.
21221 (M_SQRT1_2l): Likewise.
21223 2012-05-31 David S. Miller <davem@davemloft.net>
21225 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21226 values between float registers.
21227 * sysdeps/sparc/sparc64/memset.S: Likewise.
21228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21230 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21232 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21233 -D_FORTIFY_SOURCE=1.
21234 (CPPFLAGS-tst-longjmp_chk.c): Define.
21235 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21236 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21237 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21238 CFLAGS-tst-wchar-h.c.
21240 2012-05-31 Marek Polacek <polacek@redhat.com>
21243 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21244 __endmntent_internal): Remove declaration.
21245 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21246 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21247 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21249 2012-05-30 David S. Miller <davem@davemloft.net>
21251 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21252 (___Q_simulate_exceptions): Use real FP ops rather than writing
21254 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21257 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21260 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21261 * sysdeps/x86/bits/xtitypes.h: This.
21263 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21264 * sysdeps/x86/bits/wordsize.h: This.
21266 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21267 * sysdeps/x86/bits/huge_vall.h: This.
21269 * sysdeps/i386/bits/select.h: Removed.
21270 * sysdeps/x86_64/bits/select.h: Renamed to ...
21271 * sysdeps/x86/bits/select.h: This.
21273 * sysdeps/i386/bits/setjmp.h: Removed.
21274 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21275 * sysdeps/x86/bits/setjmp.h: This.
21277 * sysdeps/i386/bits/mathdef.h: Removed.
21278 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21279 * sysdeps/x86/bits/mathdef.h: This.
21281 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21284 * include/sys/socket.h (__connect_internal)
21285 (__libc_sa_len_internal): Remove declaration.
21286 (__connect, __libc_sa_len): Declare hidden_proto.
21287 (SA_LEN): Remove use of INTUSE.
21288 * socket/connect.c: Add libc_hidden_def.
21289 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21290 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21291 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21293 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21294 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21295 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21296 of adding _internal alias.
21298 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21301 * sysdeps/i386/bits/link.h: Removed.
21302 * sysdeps/i386/bits/linkmap.h: Likewise.
21303 * sysdeps/x86_64/bits/link.h: Renamed to ...
21304 * sysdeps/x86/bits/link.h: This.
21305 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21306 * sysdeps/x86/bits/linkmap.h: This.
21308 * sysdeps/i386/bits/endian.h: Removed.
21309 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21310 * sysdeps/x86/bits/endian.h: This.
21312 * sysdeps/i386/bits/byteswap.h: Removed.
21313 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21314 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21315 * sysdeps/x86/bits/byteswap.h: This.
21316 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21317 * sysdeps/x86/bits/byteswap-16.h: This.
21318 * sysdeps/i386/Implies: Add x86.
21319 * sysdeps/x86_64/Implies: Likewise.
21321 2012-05-30 David S. Miller <davem@davemloft.net>
21323 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21324 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21325 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21326 (FP_TRAPPING_EXCEPTIONS): Define.
21327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21328 (FP_TRAPPING_EXCEPTIONS): Define.
21329 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21330 subnormals only when inexact has been signalled or underflow
21331 exceptions are enabled.
21332 (_FP_PACK_CANONICAL): Likewise.
21334 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21338 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21340 2012-05-30 Richard Henderson <rth@twiddle.net>
21342 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21343 with #ifndef NOT_IN_libc.
21345 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21346 marked to avoid plt entry.
21348 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21351 * Makeconfig (default-abi): New macro.
21352 (abi-includes): Likewise.
21353 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21354 $(abi-$(default-abi)-lib-soname) for soname if defined.
21355 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21357 * Makefile (installed-stubs): Likewise.
21358 * include/stubs-biarch.h: Removed.
21359 * scripts/lib-names.awk: Only handle one library at a time.
21360 * scripts/soversions.awk: Remove WORDSIZE support.
21361 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21363 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21365 (syscall-list-default-condition): Likewise.
21366 (syscall-list-default-condition): Likewise.
21367 (syscall-list-includes): Likewise.
21368 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21369 syscall-list-* with abi-*. Handle undefined abi-variants.
21370 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21371 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21372 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21373 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21374 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21375 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21377 (syscall-list-32-options): Likewise.
21378 (syscall-list-32-condition): Likewise.
21379 (syscall-list-64-options): Likewise.
21380 (syscall-list-64-condition): Likewise.
21381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21383 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21386 (abi-64-ld-soname): New macro.
21387 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21391 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21392 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21394 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21396 * sysdeps/unix/sysv/linux/kernel-features.h
21397 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21398 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21399 include <kernel-features.h>.
21400 [!__NR_ftruncate64]: Remove conditional code.
21401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21402 [__NR_ftruncate64]: Make code unconditional.
21403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21404 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21405 include <kernel-features.h>.
21406 [!__NR_ftruncate64]: Remove conditional code.
21407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21408 [__NR_ftruncate64]: Make code unconditional.
21409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21411 include <kernel-features.h>.
21412 [!__NR_ftruncate64]: Remove conditional code.
21413 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21414 [__NR_ftruncate64]: Make code unconditional.
21415 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21417 include <kernel-features.h>.
21418 [!__NR_ftruncate64]: Remove conditional code.
21419 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21420 [__NR_ftruncate64]: Make code unconditional.
21421 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21423 * configure.in (libc_cv_fpie): Weaken to a compile test using
21424 LIBC_TRY_CC_OPTION.
21425 * configure: Regenerated.
21427 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21442 2012-05-27 David S. Miller <davem@davemloft.net>
21444 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21446 (__Q_simulate_exceptions): Return void. Change to simulate
21447 exceptions by writing into the %fsr.
21448 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21449 (__Qp_handle_exceptions): Likewise.
21451 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21452 __Qp_handle_exceptions.
21453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21454 __Qp_handle_exceptions.
21455 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21456 as unused and give dummy FP_RND_NEAREST initializer.
21457 (FP_INHIBIT_RESULTS): Define.
21458 (___Q_simulate_exceptions): Update declaration.
21459 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21461 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21462 as unused and give dummy FP_RND_NEAREST initializer.
21463 (__Qp_handle_exceptions): Update declaration.
21464 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21467 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21469 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21470 the temporary FPU control word.
21471 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21472 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21473 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21474 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21475 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21476 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21477 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21478 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21479 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21480 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21481 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21483 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21485 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21488 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21490 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21491 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21492 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21493 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21495 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21496 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21499 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21501 * po/h.po: Update from translation team.
21503 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21505 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21507 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21508 handling of denormals.
21509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21510 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21511 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21512 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21518 2012-05-26 Marek Polacek <polacek@redhat.com>
21521 * math/libm-test.inc (fma_test): Don't always expect underflow
21524 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21527 * elf/tst-execstack.c: Include stackinfo.h.
21528 (do_test): Adjust test case to ensure that pthread_getattr_np
21529 behaviour remains the same after marking stack executable.
21531 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21533 * sysdeps/unix/sysv/linux/kernel-features.h
21534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21535 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21537 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21538 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21539 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21541 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21542 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21544 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21546 * configure.in: Define the default includes to being none.
21547 * configure: Regenerated.
21549 2012-05-25 Roland McGrath <roland@hack.frob.com>
21551 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21552 * sysdeps/x86_64/setjmp.S: Likewise.
21553 * sysdeps/i386/bsd-setjmp.S: Likewise.
21554 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21555 * sysdeps/i386/setjmp.S: Likewise.
21556 * sysdeps/i386/__longjmp.S: Likewise.
21557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21558 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21560 * include/stap-probe.h: New file.
21561 * configure.in: Handle --enable-systemtap.
21562 * configure: Regenerated.
21563 * config.h.in (USE_STAP_PROBE): New #undef.
21564 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21565 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21566 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21568 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21571 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21572 to 2.4.0 where earlier.
21573 * sysdeps/unix/sysv/linux/configure: Regenerated.
21574 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
21583 [__ASSUME_32BITUIDS]: Make code unconditional.
21584 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21585 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21586 <kernel-features.h>.
21587 [__ASSUME_32BITUIDS]: Make code unconditional.
21588 [!__ASSUME_32BITUIDS]: Remove conditional code.
21589 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21590 <kernel-features.h>.
21591 [__ASSUME_32BITUIDS]: Make code unconditional.
21592 [!__ASSUME_32BITUIDS]: Remove conditional code.
21593 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21594 <kernel-features.h>.
21595 [__ASSUME_32BITUIDS]: Make code unconditional.
21596 [!__ASSUME_32BITUIDS]: Remove conditional code.
21597 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21598 <kernel-features.h>.
21599 [__ASSUME_32BITUIDS]: Make code unconditional.
21600 [!__ASSUME_32BITUIDS]: Remove conditional code.
21601 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21602 <kernel-features.h>.
21603 [__ASSUME_32BITUIDS]: Make code unconditional.
21604 [!__ASSUME_32BITUIDS]: Remove conditional code.
21605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21606 <kernel-features.h>.
21607 [__ASSUME_32BITUIDS]: Make code unconditional.
21608 [!__ASSUME_32BITUIDS]: Remove conditional code.
21609 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21610 <kernel-features.h>.
21611 [__ASSUME_32BITUIDS]: Make code unconditional.
21612 [!__ASSUME_32BITUIDS]: Remove conditional code.
21613 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21614 <kernel-features.h>.
21615 [__ASSUME_32BITUIDS]: Make code unconditional.
21616 [!__ASSUME_32BITUIDS]: Remove conditional code.
21617 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21618 <kernel-features.h>.
21619 [__ASSUME_32BITUIDS]: Make code unconditional.
21620 [!__ASSUME_32BITUIDS]: Remove conditional code.
21621 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21622 <kernel-features.h>.
21623 [__ASSUME_32BITUIDS]: Make code unconditional.
21624 [!__ASSUME_32BITUIDS]: Remove conditional code.
21625 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21626 <kernel-features.h>.
21627 [__NR_setresgid] (__setresgid): Do not declare.
21628 [__ASSUME_32BITUIDS]: Make code unconditional.
21629 [!__ASSUME_32BITUIDS]: Remove conditional code.
21630 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21631 <kernel-features.h>.
21632 [__NR_setresuid] (__setresuid): Do not declare.
21633 [__ASSUME_32BITUIDS]: Make code unconditional.
21634 [!__ASSUME_32BITUIDS]: Remove conditional code.
21635 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21636 <kernel-features.h>.
21637 [__ASSUME_32BITUIDS]: Make code unconditional.
21638 [!__ASSUME_32BITUIDS]: Remove conditional code.
21639 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21640 <kernel-features.h>.
21641 [__ASSUME_32BITUIDS]: Make code unconditional.
21642 [!__ASSUME_32BITUIDS]: Remove conditional code.
21643 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21644 <kernel-features.h>.
21645 [__ASSUME_32BITUIDS]: Make code unconditional.
21646 [!__ASSUME_32BITUIDS]: Remove conditional code.
21647 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21648 <kernel-features.h>.
21649 [__ASSUME_32BITUIDS]: Make code unconditional.
21650 [!__ASSUME_32BITUIDS]: Remove conditional code.
21651 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21652 <kernel-features.h>.
21653 [__ASSUME_32BITUIDS]: Make code unconditional.
21654 [!__ASSUME_32BITUIDS]: Remove conditional code.
21655 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21656 <kernel-features.h>.
21657 [__ASSUME_32BITUIDS]: Make code unconditional.
21658 [!__ASSUME_32BITUIDS]: Remove conditional code.
21659 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21660 <kernel-features.h>.
21661 [__ASSUME_32BITUIDS]: Make code unconditional.
21662 [!__ASSUME_32BITUIDS]: Remove conditional code.
21663 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21664 <kernel-features.h>.
21665 [__ASSUME_32BITUIDS]: Make code unconditional.
21666 [!__ASSUME_32BITUIDS]: Remove conditional code.
21667 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21668 <kernel-features.h>.
21669 [__ASSUME_32BITUIDS]: Make code unconditional.
21670 [!__ASSUME_32BITUIDS]: Remove conditional code.
21671 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21672 <kernel-features.h>.
21673 [__ASSUME_32BITUIDS]: Make code unconditional.
21674 [!__ASSUME_32BITUIDS]: Remove conditional code.
21675 * sysdeps/unix/sysv/linux/kernel-features.h
21676 (__ASSUME_SETRESUID_SYSCALL): Remove.
21677 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21678 (__ASSUME_32BITUIDS): Likewise.
21679 (__ASSUME_LDT_WORKS): Likewise.
21680 (__ASSUME_O_DIRECTORY): Likewise.
21681 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21682 architecture but not kernel version.
21683 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21684 (__ASSUME_MMAP2_SYSCALL): Likewise.
21685 (__ASSUME_STAT64_SYSCALL): Likewise.
21686 (__ASSUME_IPC64): Likewise.
21687 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21688 <kernel-features.h>.
21689 [__ASSUME_32BITUIDS]: Make code unconditional.
21690 [!__ASSUME_32BITUIDS]: Remove conditional code.
21691 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21692 <kernel-features.h>.
21693 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21694 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21695 132096]: Remove conditional code.
21696 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21697 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21698 <kernel-features.h>.
21699 [__ASSUME_32BITUIDS]: Make code unconditional.
21700 [!__ASSUME_32BITUIDS]: Remove conditional code.
21701 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21702 <kernel-features.h>.
21703 [__ASSUME_32BITUIDS]: Make code unconditional.
21704 [!__ASSUME_32BITUIDS]: Remove conditional code.
21705 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21706 <kernel-features.h>.
21707 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21709 (__setresgid): Do not declare.
21710 [__ASSUME_32BITUIDS]: Make code unconditional.
21711 [!__ASSUME_32BITUIDS]: Remove conditional code.
21712 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21713 <kernel-features.h>.
21714 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21716 (__setresuid): Do not declare.
21717 [__ASSUME_32BITUIDS]: Make code unconditional.
21718 [!__ASSUME_32BITUIDS]: Remove conditional code.
21719 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21720 <kernel-features.h>.
21721 [__ASSUME_32BITUIDS]: Make code unconditional.
21722 [!__ASSUME_32BITUIDS]: Remove conditional code.
21723 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21724 <kernel-features.h>.
21725 [__ASSUME_32BITUIDS]: Make code unconditional.
21726 [!__ASSUME_32BITUIDS]: Remove conditional code.
21728 2012-05-25 Richard Henderson <rth@twiddle.net>
21730 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21731 dl_hwcap to ifunc resolver.
21732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21735 dl_hwcap to ifunc resolver.
21736 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21738 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21741 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21742 for |x| <= 2**-26, not 2**-57.
21743 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21746 2012-05-24 Jeff Law <law@redhat.com>
21748 * stdio-common/Makefile (tests): Add bug25.
21749 * stdio-common/bug25.c: New test.
21751 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21754 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21755 multiple of MALLOC_ALIGNMENT in size.
21756 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21758 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21760 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21762 (FILENAME_MAX): Use macro-int-constant.
21763 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21764 (_IOFBF): Use macro-int-constant.
21765 (_IOLBF): Likewise.
21766 (_IONBF): Likewise.
21767 (SEEK_CUR): Likewise.
21768 (SEEK_END): Likewise.
21769 (SEEK_SET): Likewise.
21770 (TMP_MAX): Likewise.
21771 (EOF): Use macro-int-constant. Require < 0.
21772 (NULL): Use macro-constant. Require == 0.
21773 (stdin): Require type to be FILE *.
21774 (stdout): Likewise.
21775 (stderr): Likewise.
21776 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21777 macro-int-constant.
21778 (EXIT_SUCCESS): Likewise.
21779 (NULL): Use macro-constant. Require == 0.
21780 (RAND_MAX): Use macro-int-constant.
21781 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21782 [C99-based standards] (strtof): Require function.
21783 [C99-based standards] (strtold): Likewise.
21784 [C99-based standards] (strtoll): Likewise.
21785 [C99-based standards] (strtoull): Likewise.
21786 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21787 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21788 [ISO || ISO99 || ISO11] (math.h): Likewise.
21789 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21790 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21793 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21796 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21797 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21798 * intl/dgettext.c (DCGETTEXT): Likewise.
21799 * intl/gettext.c (DCGETTEXT): Likewise.
21800 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21801 * posix/regex_internal.h (gettext): Likewise.
21802 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21803 Remove declaration.
21804 * include/argz.h (__argz_count_internal)
21805 (__argz_stringify_internal): Remove declaration.
21806 (__argz_count, __argz_stringify): Declare hidden proto.
21807 * intl/dcgettext.c: Remove use of INTDEF.
21808 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21809 * string/argz-stringify.c: Likewise.
21810 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21811 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21812 Declare hidden proto.
21813 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21814 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21815 Declare hidden proto.
21816 * include/stdio.h (__asprintf_internal): Don't declare.
21817 (__asprintf): Don't define as macro. Declare hidden proto.
21818 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21819 (__fsetlocking): Declare hidden proto.
21820 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21821 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21823 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21824 (_IO_setlinebuf): Remove use of INTUSE.
21825 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21826 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21827 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21828 Remove declaration.
21829 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21830 (_IO_do_flush): Remove use of INTUSE.
21831 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21832 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21833 (_IO_adjust_column, _IO_least_wmarker)
21834 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21835 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21836 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21837 (_IO_default_doallocate, _IO_wdefault_doallocate)
21838 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21839 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21840 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21841 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21842 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21843 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21844 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21845 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21846 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21847 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21848 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21849 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21850 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21852 (_IO_flush_all_internal, _IO_adjust_column_internal)
21853 (_IO_default_uflow_internal, _IO_default_finish_internal)
21854 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21855 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21856 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21857 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21858 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21859 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21860 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21861 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21862 (_IO_file_close_internal, _IO_file_close_it_internal)
21863 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21864 (_IO_file_init_internal, _IO_file_attach_internal)
21865 (_IO_file_fopen_internal, _IO_file_read_internal)
21866 (_IO_file_sync_internal, _IO_file_seek_internal)
21867 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21868 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21869 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21870 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21871 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21872 (_IO_list_all_internal, _IO_link_in_internal)
21873 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21874 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21875 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21876 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21877 (_IO_do_write_internal, _IO_padn_internal)
21878 (_IO_getline_info_internal, _IO_getline_internal)
21879 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21880 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21881 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21882 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21883 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21884 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21885 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21886 with libc_hidden_ver, remove use of INTUSE.
21887 * libio/genops.c: Likewise.
21888 * libio/freopen.c: Likewise.
21889 * libio/freopen64.c: Likewise.
21890 * libio/iofclose.c: Likewise.
21891 * libio/iofdopen.c: Likewise.
21892 * libio/iofflush.c: Likewise.
21893 * libio/iofflush_u.c: Likewise.
21894 * libio/iofgets.c: Likewise.
21895 * libio/iofgets_u.c: Likewise.
21896 * libio/iofopen.c: Likewise.
21897 * libio/iofopncook.c: Likewise.
21898 * libio/iofread.c: Likewise.
21899 * libio/iofread_u.c: Likewise.
21900 * libio/ioftell.c: Likewise.
21901 * libio/iofwrite.c: Likewise.
21902 * libio/iogetline.c: Likewise.
21903 * libio/iogets.c: Likewise.
21904 * libio/iogetwline.c: Likewise.
21905 * libio/iopadn.c: Likewise.
21906 * libio/iopopen.c: Likewise.
21907 * libio/ioseekoff.c: Likewise.
21908 * libio/ioseekpos.c: Likewise.
21909 * libio/iosetbuffer.c: Likewise.
21910 * libio/iosetvbuf.c: Likewise.
21911 * libio/ioungetc.c: Likewise.
21912 * libio/ioungetwc.c: Likewise.
21913 * libio/iovdprintf.c: Likewise.
21914 * libio/iovsprintf.c: Likewise.
21915 * libio/iovsscanf.c: Likewise.
21916 * libio/memstream.c: Likewise.
21917 * libio/obprintf.c: Likewise.
21918 * libio/oldfileops.c: Likewise.
21919 * libio/oldiofclose.c: Likewise.
21920 * libio/oldiofdopen.c: Likewise.
21921 * libio/oldiofopen.c: Likewise.
21922 * libio/oldiopopen.c: Likewise.
21923 * libio/oldstdfiles.c: Likewise.
21924 * libio/putc.c: Likewise.
21925 * libio/setbuf.c: Likewise.
21926 * libio/setlinebuf.c: Likewise.
21927 * libio/stdfiles.c: Likewise.
21928 * libio/strops.c: Likewise.
21929 * libio/vasprintf.c: Likewise.
21930 * libio/vscanf.c: Likewise.
21931 * libio/vsnprintf.c: Likewise.
21932 * libio/vswprintf.c: Likewise.
21933 * libio/wfiledoalloc.c: Likewise.
21934 * libio/wfileops.c: Likewise.
21935 * libio/wgenops.c: Likewise.
21936 * libio/wmemstream.c: Likewise.
21937 * libio/wstrops.c: Likewise.
21938 * libio/__fpurge.c: Likewise.
21939 * libio/__fsetlocking.c: Likewise.
21940 * assert/assert.c: Likewise.
21941 * debug/fgets_chk.c: Likewise.
21942 * debug/fgets_u_chk.c: Likewise.
21943 * debug/fread_chk.c: Likewise.
21944 * debug/fread_u_chk.c: Likewise.
21945 * debug/gets_chk.c: Likewise.
21946 * debug/obprintf_chk.c: Likewise.
21947 * debug/vasprintf_chk.c: Likewise.
21948 * debug/vdprintf_chk.c: Likewise.
21949 * debug/vsnprintf_chk.c: Likewise.
21950 * debug/vsprintf_chk.c: Likewise.
21951 * malloc/mtrace.c: Likewise.
21952 * misc/error.c: Likewise.
21953 * misc/syslog.c: Likewise.
21954 * stdio-common/asprintf.c: Likewise.
21955 * stdio-common/fxprintf.c: Likewise.
21956 * stdio-common/getw.c: Likewise.
21957 * stdio-common/isoc99_fscanf.c: Likewise.
21958 * stdio-common/isoc99_scanf.c: Likewise.
21959 * stdio-common/isoc99_vfscanf.c: Likewise.
21960 * stdio-common/isoc99_vscanf.c: Likewise.
21961 * stdio-common/isoc99_vsscanf.c: Likewise.
21962 * stdio-common/printf-prs.c: Likewise.
21963 * stdio-common/printf_fp.c: Likewise.
21964 * stdio-common/printf_fphex.c: Likewise.
21965 * stdio-common/printf_size.c: Likewise.
21966 * stdio-common/putw.c: Likewise.
21967 * stdio-common/scanf.c: Likewise.
21968 * stdio-common/sprintf.c: Likewise.
21969 * stdio-common/tmpfile.c: Likewise.
21970 * stdio-common/vfprintf.c: Likewise.
21971 * stdio-common/vfscanf.c: Likewise.
21972 * stdlib/strfmon_l.c: Likewise.
21973 * sunrpc/openchild.c: Likewise.
21974 * sunrpc/xdr_stdio.c: Likewise.
21975 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21976 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21978 2012-05-24 Roland McGrath <roland@hack.frob.com>
21980 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21982 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21983 in the third column, to generate for the shared library an IFUNC
21984 that uses _dl_vdso_vsym.
21985 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21986 * Makeconfig (object-suffixes-noshared): New variable.
21988 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21989 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21990 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21991 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21994 * include/sys/time.h (__gettimeofday): Remove macro.
21995 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21996 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21998 (__gettimeofday): Add libc_hidden_def.
21999 (gettimeofday): Add libc_hidden_weak.
22000 * sysdeps/mach/gettimeofday.c: Likewise.
22001 * sysdeps/posix/gettimeofday.c: Likewise.
22002 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22003 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22005 (__gettimeofday_internal): Remove strong_alias.
22006 (__gettimeofday): Add libc_hidden_def.
22007 (gettimeofday): Add libc_hidden_weak.
22008 * sysdeps/unix/syscalls.list (gettimeofday):
22009 Remove __gettimeofday_internal alias.
22011 2012-05-24 Daniel Jacobowitz <drow@false.org>
22012 H.J. Lu <hongjiu.lu@intel.com>
22015 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22016 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22017 (largebin_index_32_big): New.
22018 (largebin_index): Use it for 16-byte alignment.
22019 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22020 correction with front_misalign.
22022 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22050 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22051 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22053 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22057 * math/libm-test.inc (exp_test): Add test from bug 14036.
22058 (pow_test): Add test from bug 10846.
22060 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22062 (special_function): Do not include flags in test name.
22063 (parse_args): Likewise.
22064 * sysdeps/i386/fpu/libm-test-ulps: Update.
22065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22066 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22072 * math/libm-test.inc ("Philosophy"): Update comment about
22074 (UNDERFLOW_EXCEPTION): New macro.
22075 (UNDERFLOW_EXCEPTION_OK): Likewise.
22076 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22077 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22078 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22079 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22080 (INVALID_EXCEPTION_OK): Update value.
22081 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22082 (OVERFLOW_EXCEPTION_OK): Likewise.
22083 (IGNORE_ZERO_INF_SIGN): Likewise.
22084 (test_exceptions): Handle underflow exceptions.
22085 (acos_test): Update for underflow exception expectations.
22086 (cexp_test): Likewise.
22087 (clog_test): Likewise.
22088 (clog10_test): Likewise.
22089 (csqrt_test): Likewise.
22090 (ctan_test): Likewise.
22091 (ctanh_test): Likewise.
22092 (exp_test): Likewise.
22093 (exp10_test): Likewise.
22094 (exp2_test): Likewise.
22095 (expm1_test): Likewise.
22096 (fma_test): Likewise.
22097 (j0_test): Likewise.
22098 (jn_test): Likewise.
22099 (nexttoward_test): Likewise.
22100 (pow_test): Likewise.
22101 (scalbn_test): Likewise.
22102 (scalbln_test): Likewise.
22103 (tan_test): Likewise.
22104 (y1_test): Likewise.
22105 * sysdeps/i386/fpu/libm-test-ulps: Update.
22106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22108 2012-05-23 David S. Miller <davem@davemloft.net>
22110 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22111 (__libc_sigaction): Remove unused local variables.
22113 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22115 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22117 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22119 mktime: avoid signed integer overflow
22120 * time/mktime.c (__mktime_internal): Do not mishandle the case
22121 where diff == INT_MIN.
22123 mktime: simplify computation of average
22124 * time/mktime.c (ranged_convert): Use new time_t_avg function
22125 instead of rolling our own (probably-slower) code.
22127 mktime: do not assume signed right shift propagates sign bit
22128 * time/mktime.c (isdst_differ): New static function.
22129 (__mktime_internal): No need to normalize tm_isdst now.
22130 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22133 mktime: merge another wrapv change from gnulib
22134 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22135 from some compilers.
22137 mktime: remove incorrect attempt at unusual arithmetics
22138 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22139 The code didn't really work on such machines anyway.
22140 (TYPE_MINIMUM): Assume two's complement.
22141 (twos_complement_arithmetic): Verify that long_int and time_t
22142 are two's complement (or unsigned, in the latter case).
22144 mktime: check signed shifts on long_int and time_t, too
22145 * time/mktime.c (SHR): Check that shifts work as desired
22146 on the types long_int and time_t too, as SHR is used on
22149 mktime: do not assume 'long' is wide enough
22150 * time/mktime.c (verify): Move decl up.
22151 (long_int): New type.
22152 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22153 to remove assumption in the code that 'long' is wide enough to
22154 store year values. This assumption is not true on x32 and on
22155 some non-glibc platforms.
22157 mktime: merge wrapv change from gnulib
22158 * time/mktime.c (WRAPV): New macro.
22159 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22160 (guess_time_tm, __mktime_internal): Do not assume that signed
22161 integer overflow wraps around; modern compilers generate code
22162 where this assumption is no longer valid.
22164 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22166 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22167 Replace "jmp L(pseudo_end)" with "ret".
22168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22171 2012-05-23 Andreas Jaeger <aj@suse.de>
22173 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22174 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22176 2012-05-23 Andreas Jaeger <aj@suse.de>
22177 Maximilian Attems <max@stro.at>
22179 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22182 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22185 code so that pseudo_end is just ret and the stack pointer is
22186 correct also for static library in error case.
22188 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22190 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22191 move to syscalls.list.
22192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22197 * manual/install.texi (Running make install): Do not mention Linux
22198 kernel version for which pt_chown is not needed.
22199 (Linux): Do not mention problems with nscd with 2.0 kernels.
22200 * INSTALL: Regenerated.
22202 2012-05-23 Andreas Jaeger <aj@suse.de>
22204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22205 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22207 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22209 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22211 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22215 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22217 * sysdeps/unix/sysv/linux/bits/in.h
22218 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22220 2012-05-22 Roland McGrath <roland@hack.frob.com>
22222 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22223 (PREPARE_VERSION): Just use assert instead, it will be elided
22224 under [NDEBUG] anyway.
22226 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22228 * sysdeps/unix/sysv/linux/Makefile: Include
22229 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22230 (sysdep_routines): Remove sysctl.
22231 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22232 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22233 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22234 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22235 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22237 2012-05-22 Andreas Jaeger <aj@suse.de>
22239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22240 that pseudo_end is just ret and the stack pointer is correct also
22241 for static library in error case.
22243 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22246 * nss/nsswitch.c (defconfig_entries): New variable.
22247 (__nss_database_lookup): Don't leak defconfig entries.
22248 (nss_parse_service_list): Don't leak on error paths.
22249 (free_database_entries): New function.
22250 (free_defconfig): New function.
22251 (free_mem): Move common code to free_database_entries.
22253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22255 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22257 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22259 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22260 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22263 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22264 (INTERNAL_SYSCALL_TYPES): Likewise.
22265 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22266 (LOAD_REGS_TYPES_[1-6]): Likewise.
22267 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22268 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22270 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22273 copysignl for GLIBC_2_0.
22274 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22275 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22277 logbl for GLIBC_2_0.
22278 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22279 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22281 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22283 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22284 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22286 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22289 * time/mktime.c: Update copyright years.
22291 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22293 mktime: merge comment-quoting-style change from gnulib
22294 * time/mktime.c: Quote 'like this' in comments.
22295 The GNU coding standards suggest that we no longer quote `like this',
22296 as "`" and "'" are typically rendered asymmetrically nowadays.
22297 The typical gnulib style is to quote 'like this' when quoting
22298 code, and "like this" when quoting English.
22300 * time/mktime.c (compile-command): Add "-I.".
22302 mktime: merge mktime-internal.h change from gnulib
22303 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22305 mktime: merge time_r change from gnulib
22306 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22308 mktime: merge DEBUG change from gnulib
22309 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22310 case system <time.h> has a #define.
22312 mktime: merge <sys/types.h> change from gnulib
22313 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22314 since <time.t> is now guaranteed to define time_t.
22316 mktime: merge HAVE_CONFIG_H change from gnulib
22317 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22319 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22324 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22326 (struct rusage): Use anonymous union to pad each field to
22329 2012-05-21 David S. Miller <davem@davemloft.net>
22331 * Makefules (o-iterator): Remove .s cases.
22332 (compile-command.s): Delete.
22333 (COMPILE.s): Delete.
22334 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22336 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22338 * configure.in (libc_cv_predef_stack_protector): Only consider
22339 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22340 * configure: Regenerated.
22342 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22345 New macro. Use R*LP on int and pointer.
22346 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22347 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22348 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22349 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22351 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22352 [__WORDSIZE_TIME64_COMPAT32] instead of
22353 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22354 (struct utmp): Likewise.
22355 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22356 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22358 (__WORDSIZE_TIME64_COMPAT32): This.
22359 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22360 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22361 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22362 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22363 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22364 (__WORDSIZE_TIME64_COMPAT32): New macro.
22366 2012-05-21 Andreas Jaeger <aj@suse.de>
22368 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22369 only if [SHARED]. Add prototype for __wcschr_ia32.
22371 2012-05-21 Roland McGrath <roland@hack.frob.com>
22373 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22374 of %rbp unmolested in the jmp_buf while mangling the low bits.
22375 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22376 unmolested high bits of %rbp while demangling the low bits.
22377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22379 2012-05-21 Andreas Jaeger <aj@suse.de>
22381 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22382 * sunrpc/svc_simple.c: Use it for registerrpc.
22383 * sunrpc/xcrypt.c: Use it for passwd2des.
22385 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22387 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22389 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22390 Don't define if [__SYSCALL_WORDSIZE != 32].
22391 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22394 2012-05-21 Bruno Haible <bruno@clisp.org>
22395 Andreas Jaeger <aj@suse.de>
22397 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22398 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22399 inptr and inend for must_buffer_ch.
22400 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22401 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22402 * stdio-common/Makefile (tests): Remove bug15.
22403 (bug15-ENV): Remove macro.
22404 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22407 2012-05-19 Andreas Jaeger <aj@suse.de>
22408 Roland McGrath <roland@hack.frob.com>
22410 * manual/contrib.texi: Completely rewritten. It contains now an
22411 alphabetical list of contributors and their contributions.
22413 2012-05-21 Richard Henderson <rth@twiddle.net>
22415 * misc/getauxval.c (__getauxval): Use unsigned long int.
22416 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22417 (getauxval): Use unsigned long int.
22419 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22421 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22423 2012-05-21 Roland McGrath <roland@hack.frob.com>
22425 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22426 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22427 __alignof__ (long double).
22429 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22433 2012-05-20 Richard Henderson <rth@twiddle.net>
22435 * misc/getauxval.c: New file.
22436 * misc/sys/auxv.h: New file.
22437 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22438 (routines): Add getauxval.
22439 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22440 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22441 * elf/dl-sysdep.c (_dl_auxv): Remove.
22442 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22443 * elf/dl-support.c (_dl_auxv): New variable.
22444 (_dl_aux_init): Initialize it.
22445 * manual/startup.texi (Auxiliary Vector): New node.
22446 * sysdeps/generic/bits/hwcap.h: New file.
22447 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22448 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22449 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22450 * sysdeps/sparc/sysdep.h: ... here. Include it.
22451 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22464 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22468 2012-05-19 David S. Miller <davem@davemloft.net>
22470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22472 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22475 * math/s_ccosh.c: Include <float.h>
22476 (__ccosh): Avoid internal overflow calculating sinh and cosh
22477 values before multiplying by sin and cos values.
22478 * math/s_ccoshf.c: Likewise.
22479 * math/s_ccoshl.c: Likewise.
22480 * math/s_csin.c: Likewise.
22481 * math/s_csinf.c: Likewise.
22482 * math/s_csinl.c: Likewise.
22483 * math/s_csinh.c: Likewise.
22484 * math/s_csinhf.c: Likewise.
22485 * math/s_csinhl.c: Likewise.
22486 * math/libm-test.inc (ccos_test): Add more tests.
22487 (ccosh_test): Likewise.
22488 (csin_test): Likewise.
22489 (csinh_test): Likewise.
22490 * sysdeps/i386/fpu/libm-test-ulps: Update.
22491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22493 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22495 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22496 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22498 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22500 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22502 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22503 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22504 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22505 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22506 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22507 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22508 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22509 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22510 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22511 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22512 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22513 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22514 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22515 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22516 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22517 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22518 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22519 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22520 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22521 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22522 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22523 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22524 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22525 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22526 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22527 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22528 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22529 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22530 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22531 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22532 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22534 2012-05-18 Andreas Jaeger <aj@suse.de>
22536 * csu/.gitignore: Delete.
22538 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22540 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22541 (timex): Use __syscall_slong_t.
22543 2012-05-18 Andreas Jaeger <aj@suse.de>
22544 Carlos O'Donell <carlos_odonell@mentor.com>
22546 * manual/install.texi (Configuring and compiling): Update
22547 description about files modified in the source directory.
22548 * INSTALL: Regenerated.
22550 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22552 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22553 value. Use "or" to set return value to -1.
22554 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22555 negate return value.
22557 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22559 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22560 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22561 failure if the compiler has Graphite support disabled.
22562 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22564 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22565 CFLAGS-memmove.c): Likewise.
22566 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22569 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22571 * sysdeps/x86_64/x32/_itoa.h: New file.
22573 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22574 getdents system call only if kernel and user dirents have the
22575 same d_ino and d_off.
22577 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22578 LLONG_MAX != LONG_MAX.
22579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22580 (_fitoa_word): Likewise.
22582 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22585 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22588 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22589 include <bits/wordsize.h>. Check __x86_64__ instead of
22591 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22592 if __x86_64__ is defined. Use anonymous union on fpstate.
22594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22597 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22599 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22600 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22602 Refer to _rtld_local_ro instead of _rtld_global_ro.
22603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22605 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22607 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22609 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22610 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22611 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22613 * sysdeps/powerpc/powerpc32/dl-machine.c
22614 (__elf_machine_runtime_setup) [PROF]: Don't reference
22617 2012-05-18 Andreas Jaeger <aj@suse.de>
22619 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22620 function only available for GCCs before 3.4 since GCC 3.4
22621 introduced a builtin.
22623 (llrintf): Likewise.
22624 (llrint): Likewise.
22631 (nearbyint): Likewise.
22632 (nearbyintf): Likewise.
22636 (floorf): Likewise.
22638 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22640 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22641 on both fields and cast pointer to __syscall_ulong_t.
22643 * bits/types.h (__fsword_t): New type.
22644 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22645 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22647 (__FSWORD_T_TYPE): Likewise.
22648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22649 (__FSWORD_T_TYPE): Likewise.
22650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22651 (__FSWORD_T_TYPE): Likewise.
22652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22653 (__FSWORD_T_TYPE): Likewise.
22654 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22655 __SWORD_TYPE with __fsword_t.
22656 (statfs64): Likewise.
22658 2012-05-17 David S. Miller <davem@davemloft.net>
22660 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22662 2012-05-17 Andreas Jaeger <aj@suse.de>
22664 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22667 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22669 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22671 2012-05-17 Andreas Jaeger <aj@suse.de>
22673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22676 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22678 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22680 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22682 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22683 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22685 2012-05-17 Andreas Jaeger <aj@suse.de>
22686 Carlos O'Donell <carlos_odonell@mentor.com>
22689 * sysdeps/x86_64/multiarch/init-arch.h
22690 (bit_YMM_Usable): Rename to...
22691 (bit_AVX_Usable): ... this.
22692 (bit_FMA4_Usable): New macro.
22693 (bit_XMM_state): New macro.
22694 (bit_YMM_state): New macro.
22695 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22696 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22697 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22698 (CPUID_OSXSAVE): New macro.
22699 (CPUID_AVX): New macro.
22700 (CPUID_FMA4): New macro.
22701 (index_YMM_Usable): Rename to...
22702 (index_AVX_Usable): ... this.
22703 (HAS_AVX): Use HAS_ARCH_FEATURE.
22704 (HAS_FMA4): Likewise.
22705 (HAS_YMM_USABLE): Remove.
22706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22707 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22709 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22710 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22711 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22712 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22713 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22715 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22717 * math/libm-test.c: Support platforms without multiple rounding modes.
22718 * math/bug-nextafter.c: Support platforms without FP exceptions.
22719 * math/bug-nexttoward.c: Likewise.
22720 * math/test-fenv.c: Likewise.
22721 * math/test-misc.c: Likewise.
22722 * stdlib/bug-getcontext.c: Likewise.
22724 2012-05-17 Andreas Jaeger <aj@suse.de>
22726 * manual/examples/search.c (critter_cmp): Change signature to
22728 * manual/string.texi (Collation Functions): Likewise.
22730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22732 * bits/types.h: Fold copyright years.
22733 * bits/typesizes.h: Likewise.
22734 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22738 * time/time.h: Likewise.
22740 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22743 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22744 in instead of returning them. Return void.
22745 (__libc_mallinfo): Accumulate over all arenas.
22746 (__malloc_stats): Adjust for change in int_mallinfo interface.
22748 2012-05-16 Roland McGrath <roland@hack.frob.com>
22751 * configure.in (NM): Add AC_CHECK_TOOL for it.
22752 (libc_extra_cflags): New substituted variable.
22753 Check for -fstack-protector being used implicitly.
22754 * configure: Regenerated.
22755 * config.make.in (config-extra-cflags): New variable,
22756 gets @libc_extra_cflags@.
22757 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22760 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22761 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22762 * configure: Regenerated.
22763 * config.make.in (CPPUNDEFS): New substituted variable.
22764 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22765 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22766 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22768 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22770 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22771 (mq_attr): Use __syscall_slong_t.
22773 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22775 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22776 Check __x86_64__ instead of __WORDSIZE.
22777 (_STAT_VER_LINUX): Likewise.
22778 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22779 __syscall_ulong_t and __syscall_slong_t.
22780 (stat64): Likewise.
22782 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22786 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22788 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22790 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22792 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22795 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22796 include <bits/wordsize.h>. Check __x86_64__ instead of
22798 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22800 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22803 include <bits/wordsize.h>. Check __x86_64__ instead of
22805 (user_regs_struct): Use "__extension__ unsigned long long"
22806 instead of "unsigned long" if __x86_64__ is defined.
22807 (user): Likewise. Pad after pointer field if __ILP32__ is
22810 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22812 * configure.in (makeinfo): Require version 4.5 or later. Allow
22814 * configure: Regenerated.
22815 * manual/install.texi (texinfo): Increase version requirement to
22817 * INSTALL: Regenerated.
22819 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22823 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22825 * sysdeps/x86_64/x32/ffs.c: New file.
22827 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22829 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22830 defined. Use __syscall_ulong_t.
22831 (shminfo): Use __syscall_ulong_t.
22832 (shm_info): Likewise.
22834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22837 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22839 (msgqnum_t): Use __syscall_ulong_t.
22840 (msglen_t): Likewise.
22841 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22844 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22845 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22847 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22849 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22850 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22852 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22856 include <bits/wordsize.h>. Check __x86_64__ instead of
22859 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22860 "unsigned long long int" if __x86_64__ is defined.
22861 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22865 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22867 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22869 (GET_PC): Cast to uintptr_t first.
22870 (GET_FRAME): Likewise.
22871 (GET_STACK): Likewise.
22873 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22875 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22877 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22879 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22880 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22881 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22882 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22884 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22885 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22889 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22890 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22892 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22894 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22896 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22898 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22900 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22901 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22903 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22905 * Makerules (+depfiles): Also collect depfiles from .oS in
22907 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22908 .oS, $(libnldbl-routines)).
22910 * Makerules (native-compile-mkdep-flags): Define.
22911 * sunrpc/Makefile (extra-objs): Add $(addprefix
22912 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22913 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22914 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22915 calling $(make-target-directory).
22917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22919 * bits/types.h (__snseconds_t): Removed.
22920 * time/time.h (struct timespec): Replace __snseconds_t with
22922 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22923 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22926 (__SNSECONDS_T_TYPE): Likewise.
22927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22928 (__SNSECONDS_T_TYPE): Likewise.
22929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22930 (__SNSECONDS_T_TYPE): Likewise.
22932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22934 * sysdeps/mach/hurd/bits/typesizes.h
22935 (__SYSCALL_SLONG_TYPE): New macro.
22936 (__SYSCALL_ULONG_TYPE): Likewise.
22938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22940 * bits/types.h (__syscall_slong_t): New type.
22941 (__syscall_ulong_t): Likewise.
22943 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22944 (__SYSCALL_ULONG_TYPE): Likewise.
22945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22946 (__SYSCALL_SLONG_TYPE): Likewise.
22947 (__SYSCALL_ULONG_TYPE): Likewise.
22948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22949 (__SYSCALL_SLONG_TYPE): Likewise.
22950 (__SYSCALL_ULONG_TYPE): Likewise.
22951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22952 (__SYSCALL_SLONG_TYPE): Likewise.
22953 (__SYSCALL_ULONG_TYPE): Likewise.
22955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22957 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22958 Add sigaltstack-offsets.sym.
22959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22960 <sigaltstack-offsets.h>.
22961 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22962 longjmp_msg pointer.
22963 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22964 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22966 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22968 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22970 * elf/stackguard-macros.h: Remove file.
22971 * sysdeps/generic/stackguard-macros.h: New file.
22972 * sysdeps/i386/stackguard-macros.h: Likewise.
22973 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22974 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22975 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22976 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22977 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22978 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22979 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22980 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22981 <elf/stackguard-macros.h>.
22984 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22985 __aligned__ in attribute.
22986 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22987 (gregset_t): Likewise.
22989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22991 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22992 * sysdeps/x86_64/64/Implies-after: Here. New file.
22993 * sysdeps/x86_64/x32/Implies-after: New file.
22995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22997 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22998 and access return value for _dl_profile_fixup. Use R10_LP to
23001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23003 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23007 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23008 * sysdeps/x86_64/x32/sysdep.h: New file.
23010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23012 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23013 * sysdeps/x86_64/setjmp.S: Likewise.
23015 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23019 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23021 remove unused global constant.
23023 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23025 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23026 include of <not-cancel.h>.
23028 2012-05-15 Roland McGrath <roland@hack.frob.com>
23030 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23032 2012-05-15 Jeff Law <law@redhat.com>
23033 Andreas Jaeger <aj@suse.de>
23036 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23038 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23039 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23040 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23041 code changing __hst_map_handle.map.
23043 2012-05-15 Roland McGrath <roland@hack.frob.com>
23045 * configure.in (sysnames): Look for Implies-before and Implies-after
23047 * configure: Regenerated.
23049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23052 8-byte data alignment with LP_SIZE alignment.
23054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23061 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23065 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23066 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23073 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23074 (stackinfo_sub_sp): Likewise.
23076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23093 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23097 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23098 into R11_LP and load __x86_64_shared_cache_size_half into
23101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23106 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23115 powerpc32/power7/fpu/s_logb.c via #include.
23116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23117 powerpc32/power7/fpu/s_logbf.c via #include.
23118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23119 powerpc32/power7/fpu/s_logbl.c via #include.
23121 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23123 * README.libm: Remove file.
23125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23127 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23128 count for x32. Use R*_LP and omit operand-size suffix.
23130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23132 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23133 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23134 * sysdeps/x86_64/x32/shlib-versions: New file.
23136 2012-05-14 Roland McGrath <roland@hack.frob.com>
23138 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23139 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23140 Use _dl_fatal_printf instead.
23142 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23144 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23145 set if not set by the user. Do not allow for being unset.
23146 * sysdeps/unix/sysv/linux/configure: Regenerated.
23148 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23150 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23151 the `q' suffix from lea and replace .quad with ASM_ADDR.
23153 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23156 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23158 (PTR_DEMANGLE): Likewise.
23160 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23162 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23164 (ASM_ADDR): Likewise.
23165 (RAX_LP): Likewise.
23166 (RBP_LP): Likewise.
23167 (RBX_LP): Likewise.
23168 (RCX_LP): Likewise.
23169 (RDI_LP): Likewise.
23170 (RSI_LP): Likewise.
23171 (RSP_LP): Likewise.
23174 (R10_LP): Likewise.
23175 (R10_LP): Likewise.
23176 (R11_LP): Likewise.
23177 (R12_LP): Likewise.
23178 (R13_LP): Likewise.
23179 (R14_LP): Likewise.
23180 (R15_LP): Likewise.
23182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23184 * sysdeps/x86_64/x32/dl-machine.h: New file.
23186 2012-05-14 Andreas Jaeger <aj@suse.de>
23188 * manual/Makefile (subdir): Remove export of subdir.
23189 (all): Remove target.
23190 (.PHONY): Remove all from list.
23191 (mkinstalldirs): Remove.
23192 (.PHONY): Remove installdirs from list.
23193 ($(inst_infodir)/libc.info): Use make-target-directory.
23194 (installdirs): Remove.
23195 (subdir_%): Remove.
23196 (glibc-targets): Remove.
23199 ($(objpfx)stubs ../po/manual.pot): Remove.
23200 ($(objpfx)stamp%): Remove.
23201 (make-target-directory): Remove.
23202 (subdir_install): Remove.
23203 (routines): Remove.
23210 * manual/.gitignore: Remove, it's not needed anymore.
23211 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23213 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23215 (texis): Renamed to $(objpfx)texis.
23216 (texis-path): New, contains path to generated files.
23217 (chapters.%): Use texis-path for complete path, add extra argument
23219 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23220 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23221 (summary,texi, stamp-summary): Use complete path of
23222 files. Generate files in build dir.
23223 (dir-add.texi): Build in build dir.
23224 (libm-err.texi,stamp-libm-err): Likewise.
23225 (version.texi, stamp-version): Likewise.
23226 (.%c.texi): Likewise.
23227 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23228 (mostlyclean): Remove target.
23229 (realclean): Remove target.
23230 (generated): Add new variable with contents from mostlyclean and
23231 realclean, remove entries duplicated in common-mostlyclean, add
23232 stamp-libm-err and stamp-version.
23233 (generated-dirs): Add libc directory.
23234 ($(inst_infodir)/libc.info): Install files from build dir.
23236 * manual/install.texi (Configuring and compiling): Adjust since
23237 the info files are not part of the tar ball anymore.
23239 2012-05-14 Andreas Jaeger <aj@suse.de>
23241 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23244 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23248 to 2.2.0 where earlier.
23249 * sysdeps/unix/sysv/linux/configure: Regenerated.
23250 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23251 Remove conditional code.
23252 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23253 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23254 Remove conditional code.
23255 [!__NR_lchown]: Likewise.
23256 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23257 [__NR_lchown]: Likewise.
23258 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23259 comment referencing __ASSUME_LCHOWN_SYSCALL.
23260 * sysdeps/unix/sysv/linux/i386/sigaction.c
23261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23264 Remove conditional code.
23265 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23266 (__protocol_available): Remove #if 0 code.
23267 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23269 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23270 * sysdeps/unix/sysv/linux/kernel-features.h
23271 (__ASSUME_GETCWD_SYSCALL): Don't define.
23272 (__ASSUME_REALTIME_SIGNALS): Likewise.
23273 (__ASSUME_PREAD_SYSCALL): Likewise.
23274 (__ASSUME_PWRITE_SYSCALL): Likewise.
23275 (__ASSUME_POLL_SYSCALL): Likewise.
23276 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23277 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23279 (__ASSUME_SIOCGIFNAME): Don't define.
23280 (__ASSUME_MSG_NOSIGNAL): Likewise.
23281 (__ASSUME_SENDFILE): Define unconditionally.
23282 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23283 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23285 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23286 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23287 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23288 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23289 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23290 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23291 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23305 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23316 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23317 Remove conditional code.
23318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23319 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23320 Remove conditional code.
23321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23322 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23323 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23324 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23325 Remove conditional code.
23326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23327 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23328 Remove conditional code.
23329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23330 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23331 Remove conditional code.
23332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23333 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23334 Remove conditional code.
23335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23336 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23337 Remove conditional code.
23338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23339 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23342 * sysdeps/unix/sysv/linux/sigaction.c
23343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23345 * sysdeps/unix/sysv/linux/sigpending.c
23346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23348 * sysdeps/unix/sysv/linux/sigprocmask.c
23349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23351 * sysdeps/unix/sysv/linux/sigsuspend.c
23352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23355 (__libc_missing_rt_sigs): Remove.
23356 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23357 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23358 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23359 Remove conditional code.
23360 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23361 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23363 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23364 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23365 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23366 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23368 2012-05-14 Andreas Jaeger <aj@suse.de>
23370 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23371 it's not used in glibc.
23372 (__coshm1): Likewise.
23373 (__acosh1p): Likewise.
23376 * manual/string.texi (Copying and Concatenation): Add missing
23377 variable in concat example.
23378 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23384 __builtin_clzl with __builtin_clzll.
23386 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23389 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23392 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23394 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23395 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23396 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23399 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23401 * NEWS: Update ia64 info.
23403 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23405 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23408 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23410 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23411 * sysdeps/unix/syscalls.list (dup3): Likewise.
23412 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23413 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23415 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23417 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23418 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23420 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23422 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23424 (TLS_IE): Use mov/add instead of movq/addq to load thread
23426 (TLS_GD_PREFIX): New.
23429 2012-05-11 David S. Miller <davem@davemloft.net>
23431 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23432 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23433 (_FPU_SETCW): Likewise.
23435 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23437 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23438 is 32-byte aligned.
23440 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23443 * iconvdata/gb18030.c: Update tables.
23444 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23445 characters specially.
23446 (BODY for TO_LOOP): Add encoding of missing ranges.
23448 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23451 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23452 * sysdeps/mach/hurd/dup3.c: Likewise.
23453 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23454 * sysdeps/powerpc/memmove.c:: Likewise.
23456 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23459 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23461 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23463 * elf/elf.h (R_X86_64_RELATIVE64): New.
23464 (R_X86_64_NUM): Updated.
23465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23466 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23467 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23468 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23469 tst-quad1pie tst-quad2pie
23470 (modules-names): Add tst-quadmod1 tst-quadmod2.
23471 ($(objpfx)tst-quad1): New dependency.
23472 ($(objpfx)tst-quad2): Likewise.
23473 ($(objpfx)tst-quad1pie): Likewise.
23474 ($(objpfx)tst-quad2pie): Likewise.
23475 * sysdeps/x86_64/tst-quad1.c: New file.
23476 * sysdeps/x86_64/tst-quad1pie.c: New file.
23477 * sysdeps/x86_64/tst-quad2.c: Likewise.
23478 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23479 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23480 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23481 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23482 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23486 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23487 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23488 * streams/stropts.h (t_scalar_t): Define type.
23490 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23491 (_PATH_PRESERVE): Set to "/var/lib".
23492 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23494 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23497 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23498 if __dir_mkfile succeeded.
23500 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23501 checking for _hurd_dtablesize. Unlock it right after having
23502 finished _hurd_dtable allocation.
23504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23506 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23507 * sysdeps/mach/hurd/configure: Regenerated.
23508 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23509 special-casing to...
23510 * sysdeps/gnu/configure.in: ... this new file.
23511 * sysdeps/unix/sysv/linux/configure: Regenerated.
23512 * sysdeps/gnu/configure: New generated file.
23514 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23515 for Linux: use nsec instead of usec, as well as:
23516 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23517 members of type struct timespec.
23518 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23520 (struct stat64): Likewise.
23521 (_STATBUF_ST_NSEC): New macro.
23522 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23524 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23525 __strtoul_internal rather than strtoul.
23527 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23529 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23534 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23535 which preserves existing values.
23536 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23538 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23540 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23541 TIMEOUT values. Return EINVAL for NFDS values either negative or
23542 greater than FD_SETSIZE.
23544 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23546 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23547 allocated, call __vm_protect to finish enabling the existing space, and
23548 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23549 allocate the remainder.
23551 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23553 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23554 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23556 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23558 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23559 sysdeps/mach/hurd/readlink.c.
23561 * posix/tst-sysconf.c (posix_options): Only use
23562 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23563 _POSIX_SYNCHRONIZED_IO when they are defined
23564 * sysdeps/mach/hurd/bits/posix_opt.h:
23565 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23566 (_XOPEN_REALTIME): Undefine macro.
23567 (_XOPEN_REALTIME_THREADS): Undefine macro.
23568 (_XOPEN_SHM): Undefine macro.
23569 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23571 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23573 (_POSIX_ASYNC_IO): Undefine macro.
23574 (_POSIX_PRIORITIZED_IO): Undefine macro.
23575 (_POSIX_SPIN_LOCKS): Define macro to -1.
23577 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23578 SA_NODEFER, SA_RESETHAND.
23579 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23580 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23585 * elf/Makefile (pldd-modules): Define unconditionally.
23587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23589 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23593 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23594 Return ENOENT when name is empty.
23595 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23599 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23601 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23605 Fix mlock in all cases except non-readable pages.
23606 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23607 instead of VM_PROT_ALL as parameter to __vm_wire function.
23609 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23610 (__mkdir): When path is `/', just fail with EEXIST.
23611 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23615 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23616 <sys/uio.h> (for writev).
23617 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23618 and <sys/param.h> (for MIN).
23620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23622 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23623 REQUESTED_TIME. Properly set the remaining time and return EINTR
23626 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23628 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23629 Depend on against $(link-rpcuserlibs).
23631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23633 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23634 (__libc_stack_end): Do not use attribute_relro.
23635 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23636 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23637 to libthread-provided value.
23638 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23644 * bits/libc-lock.h (__libc_once_get): New macro.
23645 * sysdeps/mach/bits/libc-lock.h: Likewise.
23646 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23648 instead of using implementation details.
23650 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23651 * libio/freopen.c: Likewise.
23652 * libio/freopen64.c: Likewise.
23653 * misc/syslog.c: Likewise.
23654 * nscd/connections.c: Likewise.
23655 * nscd/netgroupcache.c: Likewise.
23656 * sysdeps/posix/getcwd.c: Likewise.
23658 2012-05-10 Roland McGrath <roland@hack.frob.com>
23660 * math/w_ilogbf.c: Add #include <limits.h>.
23662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23664 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23665 path instead of returning without unlocking.
23667 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23668 immediate-write ioctls.
23669 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23673 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23674 __builtin_frame_address instead of making assumptions about the
23675 location of the return address relative to DATA. Force early load of
23676 the return address.
23677 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23678 __builtin_frame_address.
23681 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23682 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23683 implement dup3 and do some further code clean-ups.
23684 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23685 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23689 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23691 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23692 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23693 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23694 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23695 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23698 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23699 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23700 when handler == SIG_ERR, not when handler != SIG_ERR.
23702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23704 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23705 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23708 accept4 for GNU Hurd.
23709 * include/sys/socket.h (__libc_accept4): New prototype.
23710 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23711 to implement __libc_accept4.
23712 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23714 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23716 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23717 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23718 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23719 signal-defines.sym.
23721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23723 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23727 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23728 assertion on O_CLOEXEC flag.
23729 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23730 * hurd/intern-fd.c: Likewise.
23731 * hurd/port2fd.c: Likewise.
23733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23736 * bits/in.h (IPV6_PKTINFO): Define new macro.
23737 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23739 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23746 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23747 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23749 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23750 * math/libm-test.inc (logb_test) : Additional logb tests.
23752 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23753 Andreas Jaeger <aj@suse.de>
23755 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23756 * configure: Regenerated.
23757 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23758 * config.make.in (link-obsolete-rpc): New substituted variable.
23759 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23760 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23761 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23762 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23763 so that libc.a contains the symbols.
23764 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23765 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23766 * sunrpc/auth_none.c: Likewise.
23767 * sunrpc/auth_unix.c: Likewise.
23768 * sunrpc/authdes_prot.c: Likewise.
23769 * sunrpc/authuxprot.c: Likewise.
23770 * sunrpc/clnt_gen.c: Likewise.
23771 * sunrpc/clnt_perr.c: Likewise.
23772 * sunrpc/clnt_raw.c: Likewise.
23773 * sunrpc/clnt_simp.c: Likewise.
23774 * sunrpc/clnt_tcp.c: Likewise.
23775 * sunrpc/clnt_udp.c: Likewise.
23776 * sunrpc/clnt_unix.c: Likewise.
23777 * sunrpc/des_crypt.c: Likewise.
23778 * sunrpc/des_soft.c: Likewise.
23779 * sunrpc/get_myaddr.c: Likewise.
23780 * sunrpc/key_call.c: Likewise.
23781 * sunrpc/key_prot.c: Likewise.
23782 * sunrpc/netname.c: Likewise.
23783 * sunrpc/pm_getmaps.c: Likewise.
23784 * sunrpc/pm_getport.c: Likewise.
23785 * sunrpc/pmap_clnt.c: Likewise.
23786 * sunrpc/pmap_prot.c: Likewise.
23787 * sunrpc/pmap_prot2.c: Likewise.
23788 * sunrpc/pmap_rmt.c: Likewise.
23789 * sunrpc/publickey.c: Likewise.
23790 * sunrpc/rpc_cmsg.c: Likewise.
23791 * sunrpc/rpc_common.c: Likewise.
23792 * sunrpc/rpc_dtable.c: Likewise.
23793 * sunrpc/rpc_prot.c: Likewise.
23794 * sunrpc/rpc_thread.c: Likewise.
23795 * sunrpc/rtime.c: Likewise.
23796 * sunrpc/svc.c: Likewise.
23797 * sunrpc/svc_auth.c: Likewise.
23798 * sunrpc/svc_raw.c: Likewise.
23799 * sunrpc/svc_run.c: Likewise.
23800 * sunrpc/svc_tcp.c: Likewise.
23801 * sunrpc/svc_udp.c: Likewise.
23802 * sunrpc/svc_unix.c: Likewise.
23803 * sunrpc/svcauth_des.c: Likewise.
23804 * sunrpc/xcrypt.c: Likewise.
23805 * sunrpc/xdr.c: Likewise.
23806 * sunrpc/xdr_array.c: Likewise.
23807 * sunrpc/xdr_float.c: Likewise.
23808 * sunrpc/xdr_intXX_t.c: Likewise.
23809 * sunrpc/xdr_mem.c: Likewise.
23810 * sunrpc/xdr_rec.c: Likewise.
23811 * sunrpc/xdr_ref.c: Likewise.
23812 * sunrpc/xdr_sizeof.c: Likewise.
23813 * sunrpc/xdr_stdio.c: Likewise.
23815 2012-05-10 Roland McGrath <roland@hack.frob.com>
23817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23818 change. Update copyright years.
23820 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23822 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23824 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23825 Joseph Myers <joseph@codesourcery.com>
23826 Paul Pluzhnikov <ppluzhnikov@google.com>
23829 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23831 [cross-compiling] (extra-libs): Likewise.
23832 [cross-compiling] (extra-libs-others): Likewise.
23833 [cross-compiling] (librpcsvc-routines): Likewise.
23834 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23835 [cross-compiling] (omit-deps): Likewise.
23836 (sunrpc-CPPFLAGS): New variable.
23837 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23838 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23839 (cross-rpcgen-objs): New variable.
23840 (extra-objs): Append $(cross-rpcgen-objs).
23841 ($(cross-rpcgen-objs)): New rule.
23842 ($(objpfx)cross-rpcgen): Likewise.
23843 (rpcgen-cmd): Define to use $(built-program-file). Expand
23845 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23846 ($(objpfx)x%.stmp): Likewise.
23847 * sunrpc/proto.h [IS_IN_build] (_): Define.
23848 [IS_IN_build] (_libc_intl_domainname): Likewise.
23850 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23853 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23854 and R_X86_64_TPOFF64.
23856 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23858 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23859 sysdeps/unix/sysv/syscalls.list.
23862 * sysdeps/unix/sysv/syscalls.list: Remove file.
23864 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23867 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23868 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23869 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23870 (__LC_IDENTIFICATION): Make these macros useful in #if
23871 expressions, as required by C99.
23873 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23875 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23876 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23879 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23881 * stdlib/longlong.h: Updated from GCC.
23883 2012-05-09 Andreas Jaeger <aj@suse.de>
23885 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23886 default is first entry.
23887 (run_mode): Set type.
23888 (main): Remove informal message about syslog.
23889 (options): Fix typo.
23892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23895 (llrintf): Likewise.
23896 (llrint): Likewise.
23899 (nearbyint): Likewise.
23900 (nearbyintf): Likewise.
23902 2012-05-09 Andreas Jaeger <aj@suse.de>
23903 Pedro Alves <palves@redhat.com>
23905 * nscd/nscd.c (run_mode): Use enum.
23906 (main): Cleanup coding style issue.
23908 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23909 Andreas Jaeger <aj@suse.de>
23911 * nscd/nscd.c (go_background): Replaced with...
23912 (run_mode): ... this.
23913 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23914 (options): Add -F --foreground.
23915 (main): Implement it.
23916 (parse_opt): Parse it.
23918 2012-05-09 Andreas Jaeger <aj@suse.de>
23921 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23922 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23923 -Wconversion warning.
23924 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23927 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23929 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23931 (LC_ALL): Use macro-int-constant.
23932 (LC_COLLATE): Likewise.
23933 (LC_CTYPE): Likewise.
23934 (LC_MESSAGES): Likewise.
23935 (LC_MONETARY): Likewise.
23936 (LC_NUMERIC): Likewise.
23937 (LC_TIME): Likewise.
23938 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23939 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23941 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23943 [C99-based standards] (float_t): Expect type.
23944 [C99-based standards] (double_t): Expect type.
23945 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23947 [C99-based standards] (HUGE_VALL): Likewise.
23948 [C99-based standards] (INFINITY): Likewise.
23949 [C99-based standards] (NAN): Likewise.
23950 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23951 [C99-based standards] (FP_NAN): Likewise.
23952 [C99-based standards] (FP_NORMAL): Likewise.
23953 [C99-based standards] (FP_SUBNORMAL): Likewise.
23954 [C99-based standards] (FP_ZERO): Likewise.
23955 [C99-based standards] (FP_FAST_FMA): Use
23956 optional-macro-int-constant. Specify type. Require == 1.
23957 [C99-based standards] (FP_FAST_FMAF): Likewise.
23958 [C99-based standards] (FP_FAST_FMAL): Likewise.
23959 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23960 [C99-based standards] (FP_ILOGBNAN): Likewise.
23961 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23963 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23964 [C99-based standards] (math_errhandling): Specify type.
23965 [ISO99 || ISO11] (signgam): Do not allow.
23966 [non-C99-based standards] (copysignf): Do not allow.
23967 [non-C99-based standards] (exp2f): Likewise.
23968 [non-C99-based standards] (log2f): Likewise.
23969 [non-C99-based standards] (modff): Allow.
23970 [non-C99-based standards] (erff): Do not allow.
23971 [non-C99-based standards] (erfcf): Likewise.
23972 [non-C99-based standards] (gammaf): Likewise.
23973 [non-C99-based standards] (hypotf): Likewise.
23974 [non-C99-based standards] (j0f): Likewise.
23975 [non-C99-based standards] (j1f): Likewise.
23976 [non-C99-based standards] (jnf): Likewise.
23977 [non-C99-based standards] (lgammaf): Likewise.
23978 [non-C99-based standards] (tgammaf): Likewise.
23979 [non-C99-based standards] (y0f): Likewise.
23980 [non-C99-based standards] (y1f): Likewise.
23981 [non-C99-based standards] (ynf): Likewise.
23982 [non-C99-based standards] (isnanf): Likewise.
23983 [non-C99-based standards] (acoshf): Likewise.
23984 [non-C99-based standards] (asinhf): Likewise.
23985 [non-C99-based standards] (atanhf): Likewise.
23986 [non-C99-based standards] (cbrtf): Likewise.
23987 [non-C99-based standards] (expm1f): Likewise.
23988 [non-C99-based standards] (ilogbf): Likewise.
23989 [non-C99-based standards] (log1pf): Likewise.
23990 [non-C99-based standards] (logbf): Likewise.
23991 [non-C99-based standards] (nextafterf): Likewise.
23992 [non-C99-based standards] (remainderf): Likewise.
23993 [non-C99-based standards] (rintf): Likewise.
23994 [non-C99-based standards] (scalbf): Likewise.
23995 [non-C99-based standards] (copysignl): Likewise.
23996 [non-C99-based standards] (exp2l): Likewise.
23997 [non-C99-based standards] (log2l): Likewise.
23998 [non-C99-based standards] (modfl): Allow.
23999 [non-C99-based standards] (erfl): Do not allow.
24000 [non-C99-based standards] (erfcl): Likewise.
24001 [non-C99-based standards] (gammal): Likewise.
24002 [non-C99-based standards] (hypotl): Likewise.
24003 [non-C99-based standards] (j0l): Likewise.
24004 [non-C99-based standards] (j1l): Likewise.
24005 [non-C99-based standards] (jnl): Likewise.
24006 [non-C99-based standards] (lgammal): Likewise.
24007 [non-C99-based standards] (tgammal): Likewise.
24008 [non-C99-based standards] (y0l): Likewise.
24009 [non-C99-based standards] (y1l): Likewise.
24010 [non-C99-based standards] (ynl): Likewise.
24011 [non-C99-based standards] (isnanl): Likewise.
24012 [non-C99-based standards] (acoshl): Likewise.
24013 [non-C99-based standards] (asinhl): Likewise.
24014 [non-C99-based standards] (atanhl): Likewise.
24015 [non-C99-based standards] (cbrtl): Likewise.
24016 [non-C99-based standards] (expm1l): Likewise.
24017 [non-C99-based standards] (ilogbl): Likewise.
24018 [non-C99-based standards] (log1pl): Likewise.
24019 [non-C99-based standards] (logbl): Likewise.
24020 [non-C99-based standards] (nextafterl): Likewise.
24021 [non-C99-based standards] (remainderl): Likewise.
24022 [non-C99-based standards] (rintl): Likewise.
24023 [non-C99-based standards] (scalbl): Likewise.
24024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24025 [non-C99-based standards] (FP_*): Do not allow.
24026 [C99-based standards] (FP_*): Change to
24027 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24028 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24030 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24031 (SIG_ERR): Likewise.
24032 [X/Open-based standards] (SIG_HOLD): Likewise.
24033 (SIG_IGN): Likewise.
24034 (SIGABRT): Use macro-int-constant. Specify type. Require
24036 (SIGFPE): Likewise.
24037 (SIGILL): Likewise.
24038 (SIGINT): Likewise.
24039 (SIGSEGV): Likewise.
24040 (SIGTER): Likewise.
24041 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24042 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24043 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24044 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24045 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24046 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24047 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24048 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24049 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24050 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24051 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24052 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24053 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24054 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24055 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24056 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24057 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24058 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24059 [X/Open-based standards] (SIGTRAP): Likewise.
24060 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24061 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24062 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24063 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24064 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24067 2012-05-08 Ian Wienand <ianw@vmware.com>
24070 * time/tzset.c (__tzset_parse_tz): Update default rules for
24071 daylight time changes in the Energy Policy Act of 2005.
24073 2012-05-09 Andreas Jaeger <aj@suse.de>
24076 * elf/ldconfig.c (parse_conf): Change string to make clear that
24077 ldconfig only issued a warning if ld.so.conf does not exist.
24079 2012-05-08 David S. Miller <davem@davemloft.net>
24081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24082 movxtod instead of popping the value on the stack.
24084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24086 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24088 * config.h.in: Add HAVE_ARM_PCS_VFP.
24090 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24093 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24094 checking but the checks are disabled for any reason.
24096 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24098 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24099 and ELF64_R_TYPE with ELFW(R_TYPE).
24101 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24103 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24104 (ulimit): Likewise.
24106 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24107 (settimeofday): Likewise.
24109 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24111 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24112 a struct th_u2 inside the union, and move tu_block/tu_code into
24113 a new th_u3 union of tu_block/tu_code inside of that. Move
24114 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24115 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24116 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24117 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24118 (th_stuff): Change to th_u1.tu_stuff.
24120 (th_msg): Change to th_u1.th_u2.tu_data.
24122 2012-05-07 David S. Miller <davem@davemloft.net>
24124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24128 (SETUP_PIC_REG): Use it.
24129 (SETUP_PIC_REG_LEAF): Use it.
24131 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24137 (EXPL_FINITE): Likewise.
24138 (FLDLOG): Likewise.
24139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24140 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24142 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24144 (EXPL_FINITE): Likewise.
24145 (FLDLOG): Likewise.
24146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24147 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24149 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24150 test of -max_value argument for long double.
24151 * sysdeps/i386/fpu/libm-test-ulps: Update.
24152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24154 2012-05-06 David S. Miller <davem@davemloft.net>
24156 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24157 quad soft-float symbols whose references which are compiler
24159 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24161 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24167 (EXPL_FINITE): Likewise.
24168 (FLDLOG): Likewise.
24171 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24172 Adjust comments for base varying.
24173 (__expl_finite): Change alias to EXPL_FINITE.
24174 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24176 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24177 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24179 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24182 (EXPL_FINITE): Likewise.
24183 (FLDLOG): Likewise.
24186 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24187 Adjust comments for base varying.
24188 (__expl_finite): Change alias to EXPL_FINITE.
24189 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24194 * math/libm-test.inc (check_float_internal): Correct ulp
24195 calculation for subnormal expected results.
24197 2012-05-06 Andreas Jaeger <aj@suse.de>
24199 * Makeconfig (+math-flags): New, set to -frounding-math.
24200 (+cflags): Add +math-flags so that all of glibc gets compiled with
24203 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24205 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24207 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24213 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24214 (__ieee754_expl): Allow for and saturate large arguments.
24215 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24216 (u_threshold): Likewise.
24217 (__exp): Call __ieee754_exp before checking for overflow and
24219 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24220 (u_threshold): Likewise.
24221 (__expf): Call __ieee754_expf before checking for overflow and
24223 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24224 (u_threshold): Likewise.
24225 (__expl): Call __ieee754_expl before checking for overflow and
24227 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24228 (__ieee754_expl): Allow for and saturate large arguments.
24229 * math/libm-test.inc (exp_test): Add another test. Do not allow
24230 missing overflow exception on overflow.
24231 (expm1_test): Do not allow missing overflow exception on overflow.
24233 * sysdeps/i386/fpu/e_expl.c: Move to ...
24234 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24235 rather than using inline asm.
24236 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24237 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24238 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24240 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24243 (signal): Likewise.
24247 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24249 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24250 sysdeps/unix/common/syscalls.list.
24251 (fchmod): Likewise.
24252 (fchown): Likewise.
24253 (ftruncate): Likewise.
24254 (getrusage): Likewise.
24255 (gettimeofday): Likewise.
24256 (setpgid): Likewise.
24257 (setregid): Likewise.
24258 (setreuid): Likewise.
24259 (sigaction): Likewise.
24260 (truncate): Likewise.
24261 (vhangup): Likewise.
24262 * sysdeps/unix/common/syscalls.list: Remove file.
24263 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24264 * sysdeps/unix/sysv/linux/Implies: Likewise.
24266 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24268 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24270 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24274 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24277 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24283 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24289 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24292 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24300 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24303 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24307 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24311 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24313 * sysdeps/unix/common/bits/dirent.h: Remove file.
24314 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24316 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24317 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24318 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24319 * sysdeps/unix/bsd/isatty.c: Likewise.
24320 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24321 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24322 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24324 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24328 long double comparison inaccuracies.
24329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24332 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24334 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24337 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24341 nonzero digits before rounding a hex value.
24342 * stdlib/tst-strtod.c (tests): Add another test.
24344 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24346 * sysdeps/s390/fpu/libm-test-ulps: Update.
24348 2012-05-03 Andreas Jaeger <aj@suse.de>
24350 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24351 does not get optimized out.
24352 (malloc_opt_barrier): New.
24354 2012-05-03 Andreas Jaeger <aj@suse.de>
24355 Roland McGrath <roland@hack.frob.com>
24357 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24358 intermediate file deletion.
24359 (generated): Add .symlist files.
24361 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24364 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24365 Redirect under this condition.
24366 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24367 [__USE_GNU] (__dprintf_chk): Not under this condition.
24368 [__USE_GNU] (__vdprintf_chk): Likewise.
24369 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24370 under this condition.
24371 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24372 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24373 [__USE_XOPEN2K8] (vdprintf): Likewise.
24374 [__USE_GNU] (__dprintf_chk): Not under this condition.
24375 [__USE_GNU] (__vdprintf_chk): Likewise.
24376 [__USE_GNU] (dprintf): Likewise.
24377 [__USE_GNU] (vdprintf): Likewise.
24379 2012-05-03 Roland McGrath <roland@hack.frob.com>
24381 * elf/Makefile (common-generated): Set this instead of generated for
24382 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24383 $(all-built-dso)-derived lists.
24385 2012-05-03 Andreas Jaeger <aj@suse.de>
24387 * sysdeps/i386/fpu/libm-test-ulps: Update.
24390 * FAQ.in: Likewise.
24391 * scripts/gen-FAQ.pl: Likewise.
24392 * manual/install.texi (Installation): Point to online location of
24394 * Makefile (files-for-dist): Remove FAQ.
24397 2012-05-02 Allan McRae <allan@archlinux.org>
24399 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24400 (LDFLAGS-reldepmod5.so): Likewise.
24401 (LDFLAGS-reldep6mod1.so): Likewise.
24402 (LDFLAGS-reldep6mod4.so): Likewise.
24403 (LDFLAGS-reldep8mod3.so): Likewise.
24404 (LDFLAGS-unload4mod1.so): Likewise.
24405 (LDFLAGS-unload4mod2.so): Likewise.
24406 (LDFLAGS-tst-initorder): Likewise.
24407 (LDFLAGS-tst-initordera2.so): Likewise.
24408 (LDFLAGS-tst-initordera3.so): Likewise.
24409 (LDFLAGS-tst-initordera4.so): Likewise.
24410 (LDFLAGS-tst-initorderb2.so): Likewise.
24411 (LDFLAGS-noload): Likewise.
24412 (LDFLAGS-next): Likewise.
24413 (LDFLAGS-order2mod1.so): Likewise.
24414 (LDFLAGS-order2mod2.so): Likewise.
24415 (LDFLAGS-tst-initorder2): Likewise.
24416 (LDFLAGS-tst-initorder2a.so): Likewise.
24417 (LDFLAGS-tst-initorder2b.so): Likewise.
24418 (LDFLAGS-tst-initorder2c.so): Likewise.
24419 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24421 2012-05-02 David S. Miller <davem@davemloft.net>
24423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24425 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24428 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24430 2012-05-02 Andreas Jaeger <aj@suse.de>
24432 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24433 since we manipulate rounding mode.
24434 (CPPFLAGS-test-idouble.c): Likewise.
24435 (CPPFLAGS-test-ifloat.c): Likewise.
24436 (CFLAGS-test-ldouble.c): Likewise.
24437 (CFLAGS-test-double.c): Likewise.
24438 (CFLAGS-test-float.c): Likewise.
24439 (CFLAGS-test-misc.c): Likewise.
24440 (CFLAGS-test-test-fenv.c): Likewise.
24442 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24446 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24447 comparisons to determine direction to adjust input.
24449 2012-05-01 Roland McGrath <roland@hack.frob.com>
24451 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24452 output to the target.
24454 * scripts/localplt.awk: New file.
24455 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24456 (check-localplt-CFLAGS): Variable removed.
24457 ($(all-built-dso:=.jmprel)): New static pattern rule.
24458 (generated): Add those targets.
24459 (localplt-built-dso): New variable.
24460 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24462 * elf/check-localplt.c: File removed.
24464 * scripts/check-execstack.awk: New file.
24465 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24466 (check-execstack-CFLAGS): Variable removed.
24467 ($(objpfx)check-execstack.h): Target removed.
24468 ($(objpfx)execstack-default): New target.
24469 (generated): Add that instead of check-execstack.h.
24470 ($(all-built-dso:=.phdr)): New static pattern rule.
24471 (generated): Add those targets.
24472 * elf/check-execstack.c: File removed.
24474 * scripts/check-textrel.awk: New file.
24475 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24476 (check-textrel-CFLAGS): Variable removed.
24477 (all-built-dso): Use := to define.o
24478 ($(all-built-dso:=.dyn)): New static pattern rule.
24479 (generated): Add those targets.
24480 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24481 * config.make.in (READELF): New substituted variable.
24482 * elf/check-textrel.c: File removed.
24484 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24486 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24488 * conform/data/ctype.h-data [C99-based standards] (isblank):
24490 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24491 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24493 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24494 Specify type. Require positive value.
24495 (EILSEQ): Likewise.
24496 (ERANGE): Likewise.
24497 [ISO || POSIX] (EILSEQ): Do not expect.
24498 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24499 Specify type. Require positive value.
24500 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24501 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24502 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24503 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24504 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24505 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24506 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24507 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24508 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24509 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24510 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24511 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24512 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24513 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24514 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24515 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24516 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24517 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24518 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24519 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24520 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24521 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24522 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24523 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24524 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24525 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24526 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24527 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24528 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24529 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24530 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24531 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24532 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24533 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24534 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24535 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24536 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24537 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24538 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24539 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24540 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24541 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24542 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24543 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24544 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24545 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24546 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24547 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24548 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24549 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24550 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24551 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24552 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24553 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24554 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24555 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24556 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24557 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24558 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24559 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24560 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24561 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24562 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24563 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24564 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24565 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24566 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24567 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24568 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24569 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24570 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24571 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24572 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24573 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24574 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24575 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24576 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24578 (FLT_ROUNDS): Expect as macro, not constant.
24579 (FLT_MANT_DIG): Use macro-int-constant.
24580 (DBL_MANT_DIG): Likewise.
24581 (LDBL_MANT_DIG): Likewise.
24582 (FLT_DIG): Likewise.
24583 (DBL_DIG): Likewise.
24584 (LDBL_DIG): Likewise.
24585 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24586 (DBL_MIN_EXP): Likewise.
24587 (LDBL_MIN_EXP): Likewise.
24588 (FLT_MAX_EXP): Use macro-int-constant.
24589 (DBL_MAX_EXP): Likewise.
24590 (LDBL_MAX_EXP): Likewise.
24591 (FLT_MAX_10_EXP): Likewise.
24592 (DBL_MAX_10_EXP): Likewise.
24593 (LDBL_MAX_10_EXP): Likewise.
24594 (FLT_MAX): Use macro-constant.
24595 (DBL_MAX): Likewise.
24596 (LDBL_MAX): Likewise.
24597 (FLT_EPSILON): Use macro-constant. Give upper bound.
24598 (DBL_EPSILON): Likewise.
24599 (LDBL_EPSILON): Likewise.
24600 (FLT_MIN): Likewise.
24601 (DBL_MIN): Likewise.
24602 (LDBL_MIN): Likewise.
24603 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24604 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24605 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24606 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24607 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24608 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24609 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24610 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24611 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24612 [ISO11] (FLT_TRUE_MIN): Likewise.
24613 [ISO11] (LDBL_TRUE_MIN): Likewise.
24614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24615 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24616 (SCHAR_MIN): Use macro-int-constant. Specify type.
24617 (SCHAR_MAX): Likewise.
24618 (UCHAR_MAX): Likewise.
24619 (CHAR_MIN): Likewise.
24620 (CHAR_MAX): Likewise.
24621 (MB_LEN_MAX): Use macro-int-constant.
24622 (SHRT_MIN): Use macro-int-constant. Specify type.
24623 (SHRT_MAX): Likewise.
24624 (USHRT_MAX): Likewise.
24625 (INT_MAX): Likewise.
24626 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24628 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24630 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24632 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24633 bound negative. Suffix upper bound with "L".
24634 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24636 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24638 [C99-based standards] (LLONG_MAX): Likewise.
24639 [C99-based standards] (ULLONG_MAX): Likewise.
24640 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24642 [ISO11] (max_align_t): Require type.
24643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24645 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24646 from $CFLAGS, without defining away __attribute__ calls.
24647 (checknamespace): Use $CFLAGS_namespace.
24649 * conform/conformtest.pl (@keywords): Only include C99 keywords
24650 for standards based on C99 or C11.
24652 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24654 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24657 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24658 usability of symbols in #if.
24660 * conform/conformtest.pl: If macro or constant types start
24661 "promoted:", expect the symbol to be of the following type
24662 promoted by the integer promotions.
24664 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24665 in one place. Also handle "macro-constant".
24667 * conform/conformtest.pl: Only accept expected macro values with
24668 "==". Parse all "macro" lines in one place.
24669 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24671 * conform/conformtest.pl: Handle braced types on "constant" lines
24672 instead of handling "typed-constant".
24673 * conform/data/signal.h-data: Use "constant" instead of
24676 * conform/conformtest.pl: Handle "optional-" at start of lines in
24677 one place rather than duplicating several cases. Handle each
24678 format of "macro" line with initial "optional-".
24680 * conform/conformtest.pl: Only accept expected constant or
24681 optional-constant values with "==". Parse all "constant" lines in
24682 one place. Parse all "optional-constant" lines in one place.
24683 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24684 * conform/data/fmtmsg.h-data: Likewise.
24685 * conform/data/netinet/in.h-data: Likewise.
24686 * conform/data/tar.h-data: Likewise.
24687 * conform/data/limits.h-data: Use "==" form on "constant" and
24688 "optional-constant" lines.
24690 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24691 Use -std=c99 for XOPEN2K.
24692 (@knownproblems): Remove.
24693 (newtoken): Don't check %isknown.
24695 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24696 Do not expect macro.
24697 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24698 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24699 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24700 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24702 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24703 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24704 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24705 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24706 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24708 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24709 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24710 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24711 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24712 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24713 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24714 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24715 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24716 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24719 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24721 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24722 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24723 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24724 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24725 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24726 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24727 [XPG3] (acosh): Likewise.
24728 [XPG3] (asinh): Likewise.
24729 [XPG3] (atanh): Likewise.
24730 [XPG3] (cbrt): Likewise.
24731 [XPG3] (expm1): Likewise.
24732 [XPG3] (ilogb): Likewise.
24733 [XPG3] (log1p): Likewise.
24734 [XPG3] (logb): Likewise.
24735 [XPG3] (nextafter): Likewise.
24736 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24737 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24738 [XPG3] (remainder): Likewise.
24739 [XPG3] (rint): Likewise.
24740 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24742 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24743 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24744 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24745 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24747 [UNIX98 || XOPEN2K] (scalb): Expect.
24748 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24749 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24751 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24752 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24753 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24754 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24756 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24757 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24758 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24759 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24760 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24761 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24762 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24763 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24764 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24765 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24766 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24767 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24768 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24769 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24770 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24771 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24772 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24773 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24774 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24775 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24776 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24777 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24778 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24779 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24780 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24781 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24782 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24783 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24784 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24785 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24786 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24787 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24788 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24789 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24790 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24791 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24792 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24793 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24794 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24795 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24796 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24797 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24798 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24799 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24800 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24801 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24802 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24803 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24804 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24805 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24806 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24807 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24808 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24809 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24810 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24811 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24812 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24813 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24814 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24815 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24816 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24817 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24818 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24819 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24820 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24821 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24822 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24823 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24824 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24825 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24826 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24827 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24828 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24829 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24830 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24831 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24832 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24833 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24834 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24835 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24836 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24837 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24838 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24839 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24840 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24841 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24842 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24843 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24844 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24845 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24846 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24847 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24848 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24849 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24850 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24851 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24852 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24853 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24854 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24855 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24856 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24857 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24858 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24859 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24860 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24861 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24862 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24863 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24864 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24865 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24866 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24867 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24868 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24869 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24870 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24871 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24872 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24873 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24874 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24875 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24876 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24877 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24878 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24880 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24881 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24882 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24883 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24884 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24886 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24887 _XOPEN_SOURCE_EXTENDED for XPG4.
24889 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24891 * Makeconfig (localtime): Remove variable.
24892 (inst_localtime-file): Likewise.
24894 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24915 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24919 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24920 comparisons to determine direction to adjust input.
24921 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24922 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24929 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24930 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24932 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24934 * math/libm-test.inc (nexttoward_test): Add more tests.
24936 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24940 in version GLIBC_2.1, not GLIBC_2.0.
24941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24944 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24947 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24949 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24950 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24951 * math/libm-test.inc (acos_test): Add more tests.
24952 (asin_test): Likewise.
24953 * sysdeps/i386/fpu/libm-test-ulps: Update.
24954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24959 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24961 * math/libm-test.inc (acos_test_tonearest): New function.
24962 (acos_test_towardzero): Likewise.
24963 (acos_test_downward): Likewise.
24964 (acos_test_upward): Likewise.
24965 (asin_test_tonearest): Likewise.
24966 (asin_test_towardzero): Likewise.
24967 (asin_test_downward): Likewise.
24968 (asin_test_upward): Likewise.
24969 (main): Call the new functions.
24970 * sysdeps/i386/fpu/libm-test-ulps: Update.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24975 * math/e_exp10.c: Include <float.h>.
24976 (__ieee754_exp10): Handle underflow here rather than multiplying
24977 large negative argument by M_LN10.
24978 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24980 * math/e_exp10l.c: Include <float.h>.
24981 (__ieee754_exp10l): Handle underflow here rather than multiplying
24982 large negative argument by M_LN10l.
24983 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24984 spurious overflow exception on underflow.
24986 2012-04-29 Marek Polacek <polacek@redhat.com>
24988 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24989 (__fortify_function): New macro.
24990 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24991 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24992 __extern_always_inline.
24993 * libio/bits/stdio2.h: Likewise.
24994 * libio/bits/stdio.h: Likewise.
24995 * string/string.h: Likewise.
24996 * string/bits/string3.h: Likewise.
24997 * include/stdio.h: Likewise.
24998 * stdlib/bits/stdlib.h: Likewise.
24999 * stdlib/stdlib.h: Likewise.
25000 * rt/bits/mqueue2.h: Likewise.
25001 * rt/mqueue.h: Likewise.
25002 * posix/bits/unistd.h: Likewise.
25003 * posix/unistd.h: Likewise.
25004 * io/bits/poll2.h: Likewise.
25005 * io/bits/fcntl2.h: Likewise.
25006 * io/fcntl.h: Likewise.
25007 * io/sys/poll.h: Likewise.
25008 * misc/bits/syslog.h: Likewise.
25009 * misc/bits/syslog-ldbl.h: Likewise.
25010 * misc/sys/syslog.h: Likewise.
25011 * socket/bits/socket2.h: Likewise.
25012 * socket/sys/socket.h: Likewise.
25013 * debug/tst-chk1.c: Likewise.
25014 * wcsmbs/bits/wchar2.h: Likewise.
25015 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25016 * wcsmbs/wchar.h: Likewise.
25018 2012-04-29 Andreas Jaeger <aj@suse.de>
25020 * Makerules (tests): Remove enable-check-abi protection.
25021 (check-abi-warn): Remove.
25022 (check-abi-%): Remove check-abi-warn usage.
25024 * configure.in: Remove check-abi configure option.
25025 * configure: Regenerated.
25026 * config.make.in (enable-check-abi): Remove.
25028 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25031 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25032 double functions to double *_finite functions.
25035 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25036 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25038 * stdio-common/Makefile (tests): Add tst-sprintf3.
25039 * stdio-common/tst-sprintf3.c: New file.
25041 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25042 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25044 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25046 * conform/conformtest.pl: Remove duplicate typed-constant
25049 2012-04-28 David S. Miller <davem@davemloft.net>
25051 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25052 (check-abi-%): Remove AWK script prerequisite and explicit
25054 (check-abi): Rewrite to just diff the symlist with the abilist.
25055 (config-tls, config-abi-config): Delete, no longer used.
25056 (update-abi-%): Remove AWK script and explicit abilist directory.
25057 (update-abi): Rewrite to simply compare and conditionally copy the
25058 symlist and the sysdep abilist file. Remove update-abi-config
25060 * abilist/ld.abilist: Remove.
25061 * abilist/libBrokenLocale.abilist: Remove.
25062 * abilist/libanl.abilist: Remove.
25063 * abilist/libcrypt.abilist: Remove.
25064 * abilist/libdl.abilist: Remove.
25065 * abilist/librt.abilist: Remove.
25066 * abilist/libthread_db.abilist: Remove.
25067 * abilist/libutil.abilist: Remove.
25068 * scripts/extract-abilist.awk: Remove.
25069 * scripts/merge-abilist.awk: Remove.
25070 * sysdeps/generic/libcidn.abilist: New file.
25071 * sysdeps/generic/libnss_compat.abilist: New file.
25072 * sysdeps/generic/libnss_db.abilist: New file.
25073 * sysdeps/generic/libnss_dns.abilist: New file.
25074 * sysdeps/generic/libnss_files.abilist: New file.
25075 * sysdeps/generic/libnss_hesiod.abilist: New file.
25076 * sysdeps/generic/libnss_nis.abilist: New file.
25077 * sysdeps/generic/libnss_nisplus.abilist: New file.
25078 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25079 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25080 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25083 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25084 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25085 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25086 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25087 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25088 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25089 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25090 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25092 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25093 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25094 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25095 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25097 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25098 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25099 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25100 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25101 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25102 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25105 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25106 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25108 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25211 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25212 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25213 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25216 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25217 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25218 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25219 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25220 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25221 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25222 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25223 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25224 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25276 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25278 * conform/conformtest.pl: Fix typo in handling typed-constant from
25281 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25283 * README: Cut down references to pre-2.6 Linux kernels and
25284 Linuxthreads. Update lists of configurations in libc and ports
25285 and sort alphabetically. Say "or newer" with Linux kernel version
25288 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25290 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25293 * math/libm-test.inc (logb_test_downward): New test to expose
25294 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25297 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25300 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25302 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25303 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25305 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25307 * sysdeps/unix/i386/brk.S: Remove file.
25308 * sysdeps/unix/i386/dl-brk.S: Likewise.
25309 * sysdeps/unix/i386/pipe.S: Likewise.
25310 * sysdeps/unix/i386/sigreturn.S: Likewise.
25311 * sysdeps/unix/i386/syscall.S: Likewise.
25312 * sysdeps/unix/i386/vfork.S: Likewise.
25313 * sysdeps/unix/i386/wait.S: Likewise.
25315 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25316 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25318 * configure.in (arm*-none*): Do not allow without
25319 --enable-hacker-mode.
25320 (netbsd*): Remove case setting base_os.
25321 (386bsd*): Likewise.
25322 (freebsd*): Likewise.
25325 (sunos*): Likewise.
25326 (ultrix*): Likewise.
25327 (newsos*): Likewise.
25328 (dynix*): Likewise.
25334 (minix*): Likewise.
25335 (irix4*): Likewise.
25336 (irix6*): Likewise.
25337 (solaris[2-9]*): Likewise.
25339 * configure: Regenerated.
25341 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25345 overflow or cancellation in calculating denominator.
25346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25348 down expression to avoid unexpected rounding in newer GCCs.
25349 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25351 2012-04-26 David S. Miller <davem@davemloft.net>
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25354 long-double compat symbols.
25355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25369 2012-04-25 David S. Miller <davem@davemloft.net>
25371 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25372 HWCAP_* values only after the memory barriers have been defined.
25373 (atomic_full_barrier): Define.
25374 (atomic_read_barrier): Define.
25375 (atomic_write_barrier): Define.
25377 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25379 * shlib-versions: Add libgcc_s version information.
25380 * sysdeps/generic/libgcc_s.h: Remove.
25381 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25383 * sysdeps/gnu/unwind-resume.c: Likewise.
25384 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25386 2012-04-25 David S. Miller <davem@davemloft.net>
25388 * sysdeps/unix/sparc/brk.S: Delete.
25389 * sysdeps/unix/sparc/dl-brk.S: Delete.
25390 * sysdeps/unix/sparc/pipe.S: Delete.
25391 * sysdeps/unix/sparc/sysdep.S: Delete.
25392 * sysdeps/unix/sparc/sysdep.h: Delete.
25393 * sysdeps/unix/sparc/vfork.S: Delete.
25394 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25395 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25397 ret_ERRVAL, r0, r1, MOVE): Define.
25398 (JUMPTARGET): Remove.
25399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25400 sysdeps/unix/sparc/sysdep.h
25401 (ENTRY, END): Remove.
25402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25404 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25406 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25407 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25410 * timezone/README: Update upstream location and email address for
25412 * timezone/zdump.c: Update from tzcode 2012b.
25413 * timezone/zic.c: Likewise.
25415 * configure.in (libc_cv_as_needed): Remove test.
25416 * configure: Regenerated.
25417 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25418 conditional definition.
25419 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25420 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25421 * config.make.in (have-as-needed): Remove variable.
25423 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25424 Paul Pluzhnikov <ppluzhnikov@google.com>
25426 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25429 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25431 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25432 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25433 * sysdeps/sh/strlen.S: Likewise.
25435 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25437 * sysdeps/unix/fork.S: Remove file.
25438 * sysdeps/unix/i386/fork.S: Likewise.
25439 * sysdeps/unix/sparc/fork.S: Likewise.
25441 * sysdeps/unix/system.c: Remove file.
25442 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25444 * sysdeps/unix/getegid.S: Remove file.
25445 * sysdeps/unix/geteuid.S: Likewise.
25447 2012-04-24 Roland McGrath <roland@hack.frob.com>
25449 * scripts/check-localplt.awk: New file.
25450 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25452 * scripts/data/localplt-generic.data: Add a comment.
25454 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25455 NODE when __dir_mkfile failed.
25456 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25457 Reported by Ludovic Courtès <ludo@gnu.org>.
25459 2012-04-24 Andreas Jaeger <aj@suse.de>
25461 * Makerules (common-clean): Also remove gen-as-const-headers
25464 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25466 * Makerules (native-compile): Do not change working directory for
25467 build. Use $(OUTPUT_OPTION) in command.
25468 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25470 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25473 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25474 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25475 * math/libm-test.inc (floor_test): Add more tests.
25476 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25478 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25480 * sysdeps/unix/getdents.c: Remove file.
25481 * sysdeps/unix/sysv/getdents.c: Likewise.
25482 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25484 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25485 sysdeps/unix/mman/syscalls.list.
25487 (mprotect): Likewise.
25489 (munmap): Likewise.
25490 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25491 * sysdeps/unix/mman/syscalls.list: Remove.
25492 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25494 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25495 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25496 * configure: Regenerated.
25497 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25498 $(libgcc_s_suffix).
25499 * config.make.in (libgcc_s_suffix): Remove variable.
25501 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25503 * sysdeps/unix/sysv/gethostname.c: Move to ...
25504 * sysdeps/posix/gethostname.c: ... here.
25506 * sysdeps/unix/execve.S: Remove file.
25508 * sysdeps/unix/_exit.S: Remove file.
25510 2012-04-23 Andreas Jaeger <aj@suse.de>
25513 * manual/Makefile: Remove make dist support, there's no
25514 need for a stand-alone documentation tar ball.
25515 (TEXI2DVI): Define always, it's not in Makeconfig.
25518 (edition): Removed.
25519 (glibc-doc-$(edition).tar): Removed
25523 (ETAGS): Remove, it's in Makeconfig.
25524 (move-if-change): Remove, it's in Makeconfig.
25526 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25529 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25530 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25531 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25532 (strtod_l, strtof_l, strtold_l): Remove __wur.
25533 It is not necessarily an error to ignore strtol's return value.
25534 One can reliably look at the stored endptr to decide whether
25535 the number had valid syntax.
25537 2012-04-21 Andreas Jaeger <aj@suse.de>
25540 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25542 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25545 * sysdeps/unix/sysv/Versions: Remove file.
25547 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25552 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25556 version from __vm86.
25558 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25560 * sysdeps/unix/common/lxstat.c: Remove file.
25561 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25563 * sysdeps/unix/sysv/Makefile: Remove file.
25565 * sysdeps/unix/sysv/direct.h: Remove file.
25567 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25568 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25569 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25570 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25571 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25572 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25573 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25575 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25577 * sysdeps/unix/xmknod.c: Remove file.
25578 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25580 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25582 * sysdeps/unix/sysv/i386/time.S: Remove file.
25584 * sysdeps/unix/fxstat.c: Remove file.
25585 * sysdeps/unix/xstat.c: Likewise.
25586 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25588 * sysdeps/unix/sysv/sigaction.c: Remove file.
25590 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25591 (sysdep_headers): Remove variable.
25592 [termio.h not in sysdep_headers] (generated): Likewise.
25593 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25594 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25595 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25596 * sysdeps/unix/sysv/tcflow.c: Likewise.
25597 * sysdeps/unix/sysv/tcflush.c: Likewise.
25598 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25599 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25600 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25601 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25602 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25604 * sysdeps/unix/siglist.c: Remove file.
25606 * sysdeps/unix/getppid.S: Remove file.
25608 * sysdeps/unix/mkdir.c: Remove file.
25609 * sysdeps/unix/rmdir.c: Likewise.
25611 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25613 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25615 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25616 errlist-compat value.
25618 2012-04-18 David S. Miller <davem@davemloft.net>
25620 * sysdeps/generic/memcopy.h (reg_char): Delete.
25621 * debug/strcat_chk.c: Use char, not reg_char.
25622 * debug/strcpy_chk.c: Likewise.
25623 * debug/strncat_chk.c: Likewise.
25624 * debug/strncpy_chk.c: Likewise.
25625 * string/memchr.c: Likewise.
25626 * string/memrchr.c: Likewise.
25627 * string/rawmemchr.c: Likewise.
25628 * string/strcat.c: Likewise.
25629 * string/strchr.c: Likewise.
25630 * string/strchrnul.c: Likewise.
25631 * string/strcmp.c: Likewise.
25632 * string/strcpy.c: Likewise.
25633 * string/strncat.c: Likewise.
25634 * string/strncmp.c: Likewise.
25635 * string/strncpy.c: Likewise.
25637 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25639 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25640 __builtin_memcopy is called when src and dest ranges are known to not
25643 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25645 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25646 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25647 fwd_align_merge macro call.
25648 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25649 bwd_align_merge macro call.
25650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25652 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25654 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25655 bwd_align_merge macros.
25656 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25657 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25658 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25660 2012-04-18 David S. Miller <davem@davemloft.net>
25662 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25664 2012-04-18 Andreas Jaeger <aj@suse.de>
25667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25668 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25672 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25675 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25676 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25677 Adjust for changed ldbl-128 files.
25679 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25680 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25681 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25683 2012-04-17 David S. Miller <davem@davemloft.net>
25685 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25687 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25689 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25690 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25691 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25692 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25693 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25694 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25696 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25699 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25700 * math/libm-test.inc: Add ilogb errno and exception tests.
25701 * math/w_ilogb.c: New file: ilogb wrapper.
25702 * math/w_ilogbf.c: New file: ilogbf wrapper.
25703 * math/w_ilogbl.c: New file: ilogbl wrapper.
25704 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25705 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25706 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25707 exception being thrown with 0.0 as argument.
25708 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25709 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25710 exception being thrown with 0.0 as argument.
25711 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25712 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25713 exception being thrown with 0.0 as argument.
25714 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25715 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25716 exception being thrown with 0.0 as argument.
25717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25718 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25720 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25722 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25723 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25724 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25725 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25727 2012-04-17 Petr Baudis <pasky@ucw.cz>
25729 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25732 2012-04-16 Marek Polacek <polacek@redhat.com>
25734 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25736 2012-04-16 Marek Polacek <polacek@redhat.com>
25738 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25739 operands of fdivp instruction.
25741 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25743 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25744 * elf/tst-auditmod3b.c: Likewise.
25745 * elf/tst-auditmod4b.c: Likewise.
25746 * elf/tst-auditmod5b.c: Likewise.
25747 * elf/tst-auditmod6b.c: Likewise.
25748 * elf/tst-auditmod6c.c: Likewise.
25749 * elf/tst-auditmod7b.c: Likewise.
25750 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25751 * sysdeps/x86_64/preconfigure.in: Likewise.
25752 * sysdeps/x86_64/preconfigure: Regenerated.
25754 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25756 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25759 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25762 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25764 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25767 * locale/iso-639.def: Fix gl language name. Spotted by
25770 2012-04-12 Roland McGrath <roland@hack.frob.com>
25773 * libio/libio.h (__io_write_fn): Update comment.
25775 2012-04-12 Petr Baudis <pasky@ucw.cz>
25778 * stdio.texi (Hook Functions): The user provided writer function
25779 is not allowed to return -1.
25781 2012-04-11 David S. Miller <davem@davemloft.net>
25783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25785 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25787 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25788 Add a leading slash to rtkaio.
25790 2012-04-11 Jim Meyering <meyering@redhat.com>
25793 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25794 It is not necessarily an error to ignore fwrite's return
25795 value. One can reliably use ferror to test for errors after
25798 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25800 * bits/types.h (__snseconds_t): New type.
25801 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25803 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25805 (__SNSECONDS_T_TYPE): Likewise.
25806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25807 (__SNSECONDS_T_TYPE): Likewise.
25808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25809 (__SNSECONDS_T_TYPE): Likewise.
25811 2012-04-10 Andreas Jaeger <aj@suse.de>
25814 * manual/time.texi (Processor Time): Return type of times is
25815 elapsed real time since an arbitrary point in the past.
25816 (CPU Time): Move CLK_TCK from here...
25817 (Processor Time): ...to here. Correct description.
25818 * manual/conf.texi (Constants for Sysconf): Correct description of
25821 2012-04-10 David S. Miller <davem@davemloft.net>
25824 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25825 where the is a gap between DT_REL(A) and DT_JMPREL.
25827 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25829 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25830 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25831 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25833 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25835 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25836 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25837 (dl_main): Handle --inhibit-cache.
25838 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25840 * elf/dl-load.c (_dl_map_object): Use it.
25841 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25843 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25846 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25847 (__ieee754_powl): Saturate large exponents rather than testing for
25848 overflow of y*log2(x).
25849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25850 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25854 * math/s_ctan.c: Include <float.h>.
25855 (__ctan): Avoid internal overflow or cancellation in calculating
25857 * math/s_ctanf.c: Likewise.
25858 * math/s_ctanl.c: Likewise.
25859 * math/s_ctanh.c: Likewise.
25860 * math/s_ctanhf.c: Likewise.
25861 * math/s_ctanhl.c: Likewise.
25862 * math/libm-test.inc (ctan_test): Add more tests.
25863 (ctanh_test): Likewise.
25864 * sysdeps/i386/fpu/libm-test-ulps: Update.
25865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25867 2012-04-09 Andreas Jaeger <aj@suse.de>
25870 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25871 is an optional BSD extension.
25874 * manual/stdio.texi (Opening Streams): Document additional fopen
25877 2012-04-09 Roland McGrath <roland@hack.frob.com>
25879 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25880 %eax without telling the compiler.
25882 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25885 * manual/install.texi: Use sourceware.org.
25887 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25890 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25891 (__ieee754_pow): Generate overflow and underflow using huge*huge
25892 and tiny*tiny rather than just returning constant infinity or zero
25893 for large exponents.
25894 * math/libm-test.inc (pow_test): Require overflow exceptions for
25895 applicable cases of large exponents.
25898 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25899 (__ieee754_pow): Use iterative multiplication algorithm only for
25900 integer exponents with absolute value below 1024. Check for odd
25901 integer exponents when using algorithm for real exponents.
25902 * math/libm-test.inc (pow_test): Add more tests.
25903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25905 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25908 * math/libm-test.inc (exp_test): Do not allow overflow exception
25911 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25914 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25915 instead of __kernel_standard_f.
25917 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25919 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25920 * sysdeps/x86_64/memset_chk.S: Likewise.
25922 2012-04-08 Andreas Jaeger <aj@suse.de>
25925 * manual/startup.texi (Environment Access): Describe return value
25926 for putenv and setenv.
25929 * manual/filesys.texi (Directory Entries): Add description for
25933 * manual/filesys.texi (Directory Entries): Clarify that it's file
25934 system not operating system in the description of DT_UNKNOWN.
25937 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25939 2012-04-08 Stephen Compall <s11@member.fsf.org>
25942 * manual/llio.texi (Opening and Closing Files): Add cross
25943 reference to explain mode argument.
25945 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25947 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25948 * sysdeps/x86_64/memset_chk.S: Likewise.
25950 2012-04-07 David S. Miller <davem@davemloft.net>
25952 * elf/elf.h (R_SPARC_WDISP10): Define.
25953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25956 R_SPARC_SIZE64 and R_SPARC_H34.
25958 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25961 conditions and remove no longer applicable assertion.
25963 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25965 * bits/byteswap.h: Include <features.h>.
25966 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25967 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25969 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25971 * bits/byteswap.h (__bswap_16): Removed.
25972 Include <bits/byteswap-16.h> to get __bswap_16.
25973 * sysdeps/i386/bits/byteswap.h: Likewise.
25974 * sysdeps/s390/bits/byteswap.h: Likewise.
25975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25976 * bits/byteswap-16.h: New file.
25977 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25978 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25979 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25980 * string/Makefile (headers): Add bits/byteswap-16.h.
25982 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25985 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25987 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25988 * nss/tst-nss-static.c: New.
25990 2012-04-06 Robert Millan <rmh@gnu.org>
25993 * manual/llio.texi (File Position Primitive): lseek
25994 refers to WHENCE when it really means OFFSET.
25996 2012-04-06 Andreas Jaeger <aj@suse.de>
25998 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25999 strncmp declarations.
26001 * abilist/libc.abilist: Add __poll and __ppoll.
26003 2012-04-05 David S. Miller <davem@davemloft.net>
26005 * scripts/check-local-headers.sh: Accept a host triplet in the
26006 path matched by the exclude regexp.
26008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26010 * sysdeps/powerpc/powerpc32/dl-machine.h
26011 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26012 * sysdeps/s390/s390-32/dl-machine.h
26013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26014 * sysdeps/sparc/sparc32/dl-machine.h
26015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26016 * sysdeps/sparc/sparc64/dl-machine.h
26017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26019 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26021 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26022 undefined symbol errors.
26024 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26027 2012-04-05 Michael Matz <matz@suse.de>
26030 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26032 2012-04-05 Andreas Jaeger <aj@suse.de>
26035 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26038 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26040 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26041 which ROUND is no valid rounding mode.
26043 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26047 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26049 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26051 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26052 an exception using FPU order intentionally.
26054 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26056 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26057 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26058 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26059 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26061 2012-04-05 Simon Josefsson <simon@josefsson.org>
26064 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26065 EINVAL when BUFLEN is too smal.
26067 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26070 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26071 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26073 2012-04-03 Andreas Jaeger <aj@suse.de>
26076 * manual/setjmp.texi (System V contexts): Fix sentence.
26079 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26080 New macro for this case.
26081 [!__GNUC__] (__bswap_64): New inline function for this case.
26082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26083 * bits/byteswap.h: Likewise.
26084 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26085 ull, guard with __GLIBC_HAVE_LONG_LONG.
26087 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26088 __GLIBC_HAVE_LONG_LONG.
26090 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26091 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26093 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26097 inptr and inend, rather than using last_ch.
26099 2012-04-02 David S. Miller <davem@davemloft.net>
26101 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26102 * stdio-common/printf-parse.h (read_int): Change return type to
26103 'int', return -1 on INT_MAX overflow.
26104 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26105 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26106 overflows INT_MAX. Check for overflow of in-format-string precision
26107 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26108 SIZE_MAX not INT_MAX for integer overflow test.
26109 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26110 skip the construct in the format string but do not record anything.
26111 * stdio-common/bug22.c: Adjust to test both width/prevision
26112 INT_MAX overflow as well as total length INT_MAX overflow. Check
26113 explicitly for proper errno values.
26115 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26117 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26119 * string/test-strcmp.c [! WIDE]: Likewise.
26120 * time/tst-mktime2.c: Likewise for INT_MAX.
26121 * string/test-string.h: #include <sys/param.h> for MIN.
26123 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26124 * sysdeps/i386/init-first.c (init): Likewise.
26125 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26126 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26127 * sysdeps/sh/init-first.c (init): Likewise.
26129 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26131 * po/ru.po: Update from translation team.
26132 * po/vi.po: Likewise.
26134 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26136 * resolv/nss_dns/dns-host.c: Merge copyright years.
26138 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26141 Optimize memcpy with prefetch if
26142 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26143 src, dst pointers have unequal 16 byte alignments.
26145 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26148 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26149 from a CNAME entry and return the minimum ttl for the query.
26150 (gaih_getanswer_slice): Likewise.
26152 2012-03-30 Jeff Law <law@redhat.com>
26154 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26156 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26157 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26159 * resolv/nss_dns/dns-host.c: Update copyright year.
26161 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26163 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26164 requests to save a system call. Fix check that all bytes are sent.
26166 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26167 comments for sendmmsg.
26169 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26172 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26173 with only 1 character between 0x0041 and 0x01b0.
26174 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26175 * wcsmbs/tst-mbsnrtowcs.c: New file.
26177 2012-03-29 David S. Miller <davem@davemloft.net>
26179 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26180 small copies by hand.
26182 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26185 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26186 _nss_compat_initgroups_dyn): Fall back to malloc/free
26187 for large group memberships.
26189 2012-03-28 David S. Miller <davem@davemloft.net>
26191 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26192 that branches into memcpy.
26193 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26194 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26196 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26199 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26200 implementation too.
26201 * sysdeps/sparc/mempcpy.S: New file.
26203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26204 the IFUNC routine in the libc case.
26205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26207 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26208 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26209 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26210 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26211 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26212 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26213 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26214 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26216 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26217 loop to 256 bytes instead of 64 bytes and fix test signedness.
26219 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26220 * sysdeps/sparc/sparc32/Makefile: rather than here...
26221 * sysdeps/sparc/sparc64/Makefile: and here.
26223 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26225 * malloc/mallocbug.c: Avoid warnings about unused variables.
26227 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26230 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26231 in the right place. Discard and retry query if response is
26232 larger than input buffer size.
26234 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26239 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26240 x for large integer exponent.
26241 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26242 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26243 sign of result as needed afterwards.
26244 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26246 result for underflowing pow the same as for overflow.
26247 (__kernel_standard_l): Handle powl overflow and underflow here
26248 rather than calling __kernel_standard.
26249 * math/libm-test.inc (pow_test): Add more tests.
26264 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26265 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26266 (__kernel_standard_l): New function.
26267 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26269 * math/w_acosl.c (__acosl): Likewise.
26270 * math/w_asinl.c (__asinl): Likewise.
26271 * math/w_atan2l.c (__atan2l): Likewise.
26272 * math/w_atanhl.c (__atanhl): Likewise.
26273 * math/w_coshl.c (__coshl): Likewise.
26274 * math/w_exp10l.c (__exp10l): Likewise.
26275 * math/w_exp2l.c (__exp2l): Likewise.
26276 * math/w_fmodl.c (__fmodl): Likewise.
26277 * math/w_hypotl.c (__hypotl): Likewise.
26278 * math/w_j0l.c (__j0l, __y0l): Likewise.
26279 * math/w_j1l.c (__j1l, __y1l): Likewise.
26280 * math/w_jnl.c (__jnl, __ynl): Likewise.
26281 * math/w_lgammal.c (__lgammal): Likewise.
26282 * math/w_log10l.c (__log10l): Likewise.
26283 * math/w_log2l.c (__log2l): Likewise.
26284 * math/w_logl.c (__logl): Likewise.
26285 * math/w_powl.c (__powl): Likewise.
26286 * math/w_remainderl.c (__remainderl): Likewise.
26287 * math/w_scalbl.c (sysv_scalbl): Likewise.
26288 * math/w_sinhl.c (__sinhl): Likewise.
26289 * math/w_sqrtl.c (__sqrtl): Likewise.
26290 * math/w_tgammal.c (__tgammal): Likewise.
26291 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26292 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26293 * math/libm-test.inc (acos_test): Add more tests.
26294 (acosh_test): Likewise.
26295 (asin_test): Likewise.
26296 (atanh_test): Likewise.
26297 (exp_test): Likewise.
26298 (exp10_test): Likewise.
26299 (exp2_test): Likewise.
26300 (expm1_test): Likewise.
26301 (lgamma_test): Likewise.
26302 (log_test): Likewise.
26303 (log10_test): Likewise.
26304 (log1p_test): Likewise.
26305 (log2_test): Likewise.
26306 (pow_test): Do not allow some spurious overflow exceptions.
26307 (sqrt_test): Add more tests.
26308 (tgamma_test): Likewise.
26309 (y0_test): Likewise.
26310 (y1_test): Likewise.
26311 (yn_test): Likewise.
26313 2012-03-27 Anton Blanchard <anton@samba.org>
26315 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26318 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26319 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26321 2012-03-27 David S. Miller <davem@davemloft.net>
26323 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26325 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26326 have-as-vis3 check.
26328 2012-03-27 Andreas Jaeger <aj@suse.de>
26330 * sysdeps/x86_64/elf/configure.in: Moved to ...
26331 * sysdeps/x86_64/configure.in: ... here.
26332 * sysdeps/x86_64/elf/start.S: Moved to ...
26333 * sysdeps/x86_64/start.S: ... here.
26334 * sysdeps/x86_64/elf/configure: Delete.
26336 * sysdeps/x86_64/configure.in: Merge contents from
26337 sysdeps/i386/configure.in (without i686 check).
26339 * sysdeps/i386/elf/Versions: Merge into ...
26340 * sysdeps/i386/Versions: ... this.
26341 * sysdeps/i386/elf/Versions: Delete file.
26342 * sysdeps/i386/elf/start.S: Moved to ...
26343 * sysdeps/i386/start.S: ...here.
26344 * sysdeps/i386/elf/configure.in: Merge into...
26345 * sysdeps/i386/configure.in: ...here.
26346 * sysdeps/i386/elf/configure.in: Delete file.
26347 * sysdeps/i386/elf/configure: Delete file.
26349 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26350 * debug/backtracesyms.c: ... here.
26351 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26352 * debug/backtracesymsfd.c: ... here.
26353 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26354 * sysdeps/generic/ifunc-sel.h: ... here.
26356 * sysdeps/unix/i386/start.c: Delete file.
26357 * sysdeps/unix/sparc/start.c: Delete file.
26358 * sysdeps/unix/start.c: Delete file.
26360 * sysdeps/sh/elf/configure.in: Moved to ...
26361 * sysdeps/sh/configure.in: ... here.
26362 * sysdeps/sh/elf/start.S: Moved to ...
26363 * sysdeps/sh/start.S: ... here.
26364 * sysdeps/sh/elf/configure: Delete file.
26366 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26367 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26368 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26369 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26370 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26371 * sysdeps/powerpc/powerpc64/start.S: here.
26372 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26373 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26374 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26375 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26376 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26378 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26379 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26380 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26381 * sysdeps/powerpc/powerpc32/start.S: ... here.
26382 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26383 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26384 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26386 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26387 * sysdeps/powerpc/ifunc-sel.h: ... here.
26388 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26389 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26391 * sysdeps/sparc/elf/configure.in: Moved to ...
26392 * sysdeps/sparc/configure.in: ... here.
26393 * sysdeps/sparc/elf/configure: Delete file.
26394 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26395 * sysdeps/sparc/sparc32/start.S: ... here.
26396 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26397 * sysdeps/sparc/sparc64/start.S: ... here.
26398 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26399 * sysdeps/sparc/sparc32/Makefile: ... this.
26400 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26401 * sysdeps/sparc/sparc64/Makefile: ... this.
26403 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26404 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26405 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26406 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26407 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26408 * sysdeps/s390/s390-32/setjmp.S: ... here.
26409 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26410 * sysdeps/s390/s390-32/configure.in: ... here.
26411 * sysdeps/s390/s390-32/elf/configure: Delete file.
26412 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26413 * sysdeps/s390/s390-32/start.S: ... here.
26415 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26416 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26417 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26418 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26419 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26420 * sysdeps/s390/s390-64/setjmp.S: ... here.
26421 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26422 * sysdeps/s390/s390-64/configure.in: ... here
26423 * sysdeps/s390/s390-64/elf/configure: Delete file.
26424 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26425 * sysdeps/s390/s390-64/start.S: ... here.
26426 * sysdeps/s390/s390-64/elf/configure: Delete.
26428 * configure.in: Remove support for elf directories in sysdeps.
26430 * configure: Regenerated.
26431 * sysdeps/i386/configure: Regenerated.
26432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26434 * sysdeps/s390/s390-32/configure: Regenerated.
26435 * sysdeps/s390/s390-64/configure: Regenerated.
26436 * sysdeps/sh/configure: Regenerated.
26437 * sysdeps/sparc/configure: Regenerated.
26438 * sysdeps/x86_64/configure: Regenerated.
26440 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26445 denormal result into account.
26447 2012-03-25 Roland McGrath <roland@hack.frob.com>
26449 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26450 Reported by Allan McRae <allan@archlinux.org>.
26452 2012-03-23 Jeff Law <law@redhat.com>
26454 * nss/getnssent.c (__nss_getent): Fix typo.
26456 2012-03-23 David S. Miller <davem@davemloft.net>
26458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26460 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26462 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26463 to pad to uint64_t for each field.
26464 (dl_tls_index): Replace unsigned long with uint64_t.
26466 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26467 Paul Pluzhnikov <ppluzhnikov@google.com>
26470 * grp/Makefile (otherlibs): Don't set it.
26471 * inet/Makefile (otherlibs): Likewise.
26472 * login/Makefile (otherlibs): Likewise.
26473 * nscd/Makefile (otherlibs): Likewise.
26474 * posix/Makefile (otherlibs): Likewise.
26475 * pwd/Makefile (otherlibs): Likewise.
26476 * rt/Makefile (otherlibs): Likewise.
26477 * sunrpc/Makefile (otherlibs): Likewise.
26478 * nss/Makefile (otherlibs): Likewise.
26479 Add libnss_files to routines and static-only-routines.
26480 ($(objpfx)getent): Remove rule.
26481 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26482 static-only-routines.
26484 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26487 * math/s_cexp.c: Include <float.h>.
26488 (__cexp): Handle exp result overflowing not necessarily
26489 overflowing both real and imaginary parts of result.
26490 * math/s_cexpf.c: Likewise.
26491 * math/s_cexpl.c: Likewise.
26492 * math/libm-test.inc (cexp_test): Add more tests.
26493 * sysdeps/i386/fpu/libm-test-ulps: Update.
26494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26496 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26498 * include/link.h (ELFW): New macro.
26499 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26500 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26502 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26504 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26507 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26509 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26511 (struct La_x32_retval): Likewise.
26513 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26515 * sysdeps/x86_64/preconfigure.in: New file.
26516 * sysdeps/x86_64/preconfigure: New generated file.
26518 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26521 * math/e_exp2l.c: Include <float.h>.
26522 (__ieee754_exp2l): Handle overflow and underflow cases
26523 separately. Only pass fractional part of argument to
26525 * math/libm-test.inc (exp2_test): Add more tests.
26527 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26528 negating x to take absolute value.
26529 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26534 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26535 computing low part if x was negated.
26536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26538 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26540 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26541 la_x32_gnu_pltexit.
26542 (pltexit): Cast int_retval to ptrdiff_t.
26543 * elf/tst-auditmod3b.c: Likewise.
26544 * elf/tst-auditmod4b.c: Likewise.
26545 * elf/tst-auditmod5b.c: Likewise.
26546 * elf/tst-auditmod6b.c: Likewise.
26547 * elf/tst-auditmod6c.c: Likewise.
26548 * elf/tst-auditmod7b.c: Likewise.
26550 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26551 and x32_gnu_pltexit.
26553 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26554 __ELF_NATIVE_CLASS.
26555 (La_x32_regs): New macro.
26556 (La_x32_retval): Likewise.
26557 (la_x32_gnu_pltenter): New function prototype.
26558 (la_x32_gnu_pltexit): Likewise.
26560 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26567 * configure.in (libc_cv_cc_nofma): Check for option to disable
26568 generation of FMA instructions.
26569 * configure: Regenerate.
26570 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26571 * sysdeps/ieee754/dbl-64/Makefile: New file.
26572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26573 Remove brandred-fma4.
26574 (CFLAGS-brandred-fma4.c): Remove.
26575 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26581 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26583 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26584 LLONG_MAX != LONG_MAX.
26585 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26586 (_fitoa_word): Likewise.
26587 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26588 LLONG_MAX != LONG_MAX.
26589 * stdio-common/_itowa.h: Include <_itoa.h>.
26590 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26591 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26592 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26593 only if not defined.
26594 (_ITOA_WORD_TYPE): Likewise.
26595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26596 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26598 2012-03-21 David S. Miller <davem@davemloft.net>
26600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26602 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26604 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26605 of x86_64 when setting libc_cv_slibdir, libdir and
26607 * sysdeps/unix/sysv/linux/configure: Regenerated.
26609 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26611 * manual/lang.texi (Old Varargs): Remove section.
26612 (How Variadic): Update menu.
26613 (va_start): Do not mention varargs.h.
26615 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26616 Joseph Myers <joseph@codesourcery.com>
26618 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26620 * configure: Regenerated.
26622 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26624 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26625 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26628 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26631 * Makefile (files-for-dist): Remove NOTES.
26632 (NOTES): Remove rule.
26633 * README: Don't refer to NOTES.
26634 * manual/creature.texi: Don't include macros.texi.
26635 * manual/intro.texi (creature.texi): Remove comment referring to
26638 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26639 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26640 * configure: Regenerated.
26641 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26642 LIBC_TRY_CC_OPTION.
26643 (libc_cv_as_i686): Likewise.
26644 (libc_cv_cc_avx): Likewise.
26645 (libc_cv_cc_sse2avx): Likewise.
26646 (libc_cv_cc_fma4): Likewise.
26647 (libc_cv_cc_novzeroupper): Likewise.
26648 * sysdeps/i386/configure: Regenerated.
26651 * sysdeps/i386/fpu/s_cexp.S: Remove.
26652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26653 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26654 * math/libm-test.inc (cexp_test): Add more tests.
26655 * sysdeps/i386/fpu/libm-test-ulps: Update.
26656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26658 2012-03-21 Allan McRae <allan@archlinux.org>
26660 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26662 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26665 * math/w_exp2.c: Do not include <float.h>.
26666 (o_threshold, u_threshold): Remove.
26667 (__exp2): Calculate result before checking finiteness and calling
26669 * math/w_exp2f.c: Likewise.
26670 * math/w_exp2l.c: Likewise.
26671 * math/libm-test.inc (exp2_test): Require overflow exception for
26675 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26676 range of signed 64-bit integers before using fistpll. Remove
26677 checks for whether integers fit in mantissa bits.
26678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26679 the range of signed 32-bit integers before using fistpl. Remove
26680 checks for whether integers fit in mantissa bits.
26681 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26682 (__ieee754_powl): Test for y outside the range of signed 64-bit
26683 integers before using fistpll. Reduce 64-bit values to 63-bit
26685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26686 divide-by-zero is raised for zero to large negative powers.
26687 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26688 (__ieee754_powl): Test for y outside the range of signed 64-bit
26689 integers before using fistpll. Reduce 64-bit values to 63-bit
26691 * math/libm-test.inc (pow_test): Add more tests.
26693 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26695 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26696 <stdio-common/_itoa.h>.
26697 * debug/segfault.c: Likewise.
26698 * elf/dl-cache.c: Likewise.
26699 * elf/dl-minimal.c: Likewise.
26700 * elf/dl-misc.c: Likewise.
26701 * elf/dl-sysdep.c: Likewise.
26702 * elf/dl-version.c: Likewise.
26703 * elf/rtld.c: Likewise.
26704 * hurd/hurdsock.c: Likewise.
26705 * hurd/lookup-retry.c: Likewise.
26706 * malloc/malloc.c: Likewise.
26707 * malloc/mtrace.c: Likewise.
26708 * nscd/nscd_getgr_r.c: Likewise.
26709 * nscd/nscd_getpw_r.c: Likewise.
26710 * nscd/nscd_getserv_r.c: Likewise.
26711 * posix/getopt_init.c: Likewise.
26712 * posix/wordexp.c: Likewise.
26713 * stdio-common/_itoa.c: Likewise.
26714 * stdio-common/printf_fphex.c: Likewise.
26715 * stdio-common/vfprintf.c: Likewise.
26716 * string/_strerror.c: Likewise.
26717 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26718 * sysdeps/i386/i686/hp-timing.h: Likewise.
26719 * sysdeps/mach/_strerror.c: Likewise.
26720 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26721 * sysdeps/mach/hurd/sethostid.c: Likewise.
26722 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26723 * sysdeps/mach/xpg-strerror.c: Likewise.
26724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26726 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26727 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26728 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26729 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26730 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26731 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26732 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26733 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26734 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26735 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26736 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26737 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26738 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26740 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26741 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26742 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26743 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26744 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26746 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26748 * stdio-common/_itoa.h: Moved to ...
26749 * sysdeps/generic/_itoa.h: Here.
26751 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26753 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26754 instead of "_itoa.h" and "_itowa.h".
26755 * stdio-common/vfprintf.: Likewise.
26757 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26759 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26761 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26762 (__signbit): Likwise.
26763 (llrintf): Likwise.
26766 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26768 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26771 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26773 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26774 OVERFLOW_EXCEPTION_OK.
26775 * math/libm-test.inc ("Philosophy"): Update comment about
26777 (OVERFLOW_EXCEPTION): Define.
26778 (OVERFLOW_EXCEPTION_OK): Likewise.
26779 (INVALID_EXCEPTION_OK): Renumber.
26780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26781 (IGNORE_ZERO_INF_SIGN): Likewise.
26782 (test_exceptions): Handle FE_OVERFLOW.
26783 (exp10_test): Expect overflow exceptions.
26784 (exp2_test): Likewise.
26785 (expm1_test): Likewise.
26786 (nextafter_test): Likewise.
26787 (pow_test): Likewise.
26788 (scalbn_test): Likewise.
26789 (scalbln_test): Likewise.
26791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26793 * sysdeps/x86_64/bits/atomic.h
26794 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26796 (atomic_exchange_acq): Likewise.
26797 (__arch_exchange_and_add_body): Likewise.
26798 (__arch_add_body): Likewise.
26799 (atomic_add_negative): Likewise.
26800 (atomic_add_zero): Likewise.
26802 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26804 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26805 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26807 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26809 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26810 Check __x86_64__ instead of __WORDSIZE.
26812 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26814 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26816 2012-03-19 David S. Miller <davem@davemloft.net>
26818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26820 * sysdeps/sparc/fpu/fenv_private.h: New file.
26821 * sysdeps/sparc/fpu/math_private.h: Use it.
26822 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26824 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26825 (libc_feholdexcept_setroundl): Remove.
26826 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26828 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26829 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26833 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26834 int64_t instead of long int.
26835 (INSERT_WORDS64): Likwise.
26837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26839 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26840 _Unwind_GetCFA return to _Unwind_Ptr first.
26842 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26845 * math/s_clog.c: Include <float.h>.
26846 (__clog): Scale large or subnormal inputs.
26847 * math/s_clogf.c: Likewise.
26848 * math/s_clogl.c: Likewise.
26849 * math/s_clog10.c: Include <float.h>.
26850 (M_LOG10_2): Define.
26851 (__clog10): Scale large or subnormal inputs.
26852 * math/s_clog10f.c: Likewise.
26853 * math/s_clog10l.c: Likewise.
26854 * math/libm-test.inc (clog_test): Add more tests.
26855 (clog10_test): Likewise.
26856 * sysdeps/i386/fpu/libm-test-ulps: Update.
26857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26860 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26862 * math/libm-test.inc (atan2_test): Add another test.
26864 * Makerules (common-objdir-compile): Remove.
26865 * sysdeps/unix/Makefile (config-generated): Do not add
26866 $(unix-generated) to variable.
26867 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26868 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26870 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26872 [generic bits/local_lim.h] (before-compile): Do not append to
26874 [generic bits/local_lim.h] (common-generated): Likewise.
26875 [generic sys/param.h] (before-compile): Do not append to variable.
26876 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26877 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26878 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26879 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26881 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26882 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26883 [generic sys/param.h] ($(addprefix
26884 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26885 [generic sys/param.h] (common-generated): Do not append to
26887 [generic sys/param.h] (sysdep_headers): Likewise.
26888 [generic bits/errno.h] (before-compile): Do not append to
26890 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26892 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26893 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26894 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26895 [generic bits/errno.h] (common-generated): Do not append to
26897 [generic bits/ioctls.h] (before-compile): Do not append to
26899 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26901 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26902 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26906 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26907 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26908 [generic bits/ioctls.h] (common-generated): Do not append to
26910 [generic sys/syscall.h] (syscall.h): Remove variable.
26911 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26913 [generic sys/syscall.h] (before-compile): Do not append to
26915 [generic sys/syscall.h] (common-generated): Likewise.
26916 * sysdeps/unix/errnos-tmpl.c: Remove file.
26917 * sysdeps/unix/errnos.awk: Likewise.
26918 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26919 * sysdeps/unix/ioctls.awk: Likewise.
26920 * sysdeps/unix/mk-local_lim.c: Likewise.
26921 * sysdeps/unix/snarf-ioctls: Likewise.
26923 2012-03-19 Richard Henderson <rth@twiddle.net>
26925 * sysdeps/i386/fpu/fenv_private.h: New file.
26926 * sysdeps/i386/fpu/math_private.h: Use it.
26927 (math_opt_barrier, math_force_eval): Remove.
26928 (libc_feholdexcept_setround_53bit): Remove.
26929 (libc_feupdateenv_53bit): Remove.
26930 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26931 (math_opt_barrier, math_force_eval): Remove.
26932 (libc_feholdexcept): Remove.
26933 (libc_feholdexcept_setround): Remove.
26934 (libc_fetestexcept, libc_fesetenv): Remove.
26935 (libc_feupdateenv_test): Remove.
26936 (libc_feupdateenv, libc_feholdsetround): Remove.
26937 (libc_feresetround): Remove.
26939 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26940 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26942 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26943 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26944 (libc_feupdateenv_testl): New.
26945 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26946 (libc_feupdateenv_testf): New.
26947 (libc_feupdateenv): Use libc_feupdateenv_test.
26948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26951 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26952 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26953 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26954 (libc_feresetround_noex): New.
26955 (libc_feresetround_noexf): New.
26956 (libc_feresetround_noexl): New.
26957 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26958 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26959 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26965 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26966 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26967 SET_RESTORE_ROUND_NOEX.
26968 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26969 SET_RESTORE_ROUND_NOEXF.
26970 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26971 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26972 (libc_feholdsetroundf): New.
26973 (libc_feresetround, libc_feresetroundf): New.
26975 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26976 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26977 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26979 * sysdeps/generic/math_private.h: Include <fenv.h>.
26980 (default_libc_feholdexcept): New.
26981 (default_libc_feholdexcept_setround): New.
26982 (default_libc_fesetenv, default_libc_feupdateenv): New.
26983 (libc_feholdexcept): Only define if undefined.
26984 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26985 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26986 (libc_feholdexcept_setroundl): Likewise.
26987 (libc_feholdexcept_setround_53bit): Likewise.
26988 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26989 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26990 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26991 (libc_feupdateenv_53bit): Likewise.
26992 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26993 (libc_feholdexcept): Convert from macro to inline function.
26994 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26995 (libc_fesetenv, libc_feupdateenv): Likewise.
26997 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26998 not previously defined.
26999 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27000 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27001 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27002 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27003 * sysdeps/ieee754/flt-32/math_private.h: New file.
27004 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27005 math_private.h below SET_FLOAT_WORD.
27006 (__isnan, __isinf_ns, __finite): Remove.
27007 (__isnanf, __isinf_nsf, __finitef): Remove.
27009 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27013 2012-03-17 David S. Miller <davem@davemloft.net>
27016 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27019 2012-03-16 David S. Miller <davem@davemloft.net>
27021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27027 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27028 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27029 sysdep_routines when subdir is sysvipc.
27030 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27031 __getshmlba helper.
27033 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27037 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27040 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27042 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27043 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27044 (__lround): Renamed to ...
27045 (__llround): This. Replace long int with long long int.
27046 Define lround functions as aliases of llround functions.
27047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27049 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27051 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27052 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27053 adresses to uintptr_t. Replace "long int" and "unsigned long
27054 int" with "greg_t" on va_arg.
27056 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27058 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27059 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27061 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27062 Move e_machine check before EI_CLASS check. Handle x32
27063 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27064 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27065 SKIP_EM_IA_64 and include
27066 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27068 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27069 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27070 (add_system_dir): New macro.
27072 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27073 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27075 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27086 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27088 * math/w_j0f.c (j0f): Likewise.
27090 * math/w_j0l.c (__j0l): Likewise.
27092 * math/w_j1.c (j1): Likewise.
27094 * math/w_j1f.c (j1f): Likewise.
27096 * math/w_j1l.c (__j1l): Likewise.
27098 * math/w_jn.c (jn): Likewise.
27100 * math/w_jnf.c (jnf): Likewise.
27102 * math/w_jnl.c (__jnl): Likewise.
27104 * math/libm-test.inc (j0_test): Add more tests.
27105 (j1_test): Likewise.
27106 (jn_test): Likewise. Add trailing semicolon to existing test.
27107 (y0_test): Likewise.
27108 (y1_test): Likewise.
27109 * sysdeps/i386/fpu/libm-test-ulps: Update.
27110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27114 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27115 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27116 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27118 (__tanl): Set errno for infinite argument.
27119 * sysdeps/i386/fpu/mptan.c: Remove.
27120 * sysdeps/i386/fpu/s_tan.S: Likewise.
27121 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27122 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27123 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27124 * math/libm-test.inc (tan_test): Add more tests and enable more
27125 tests for double and long double.
27126 * sysdeps/i386/fpu/libm-test-ulps: Update.
27127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27129 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27131 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27132 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27134 2012-03-16 Roland McGrath <roland@hack.frob.com>
27136 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27137 * configure.in: Use it for both main tree and add-ons.
27138 * configure: Regenerated.
27140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27142 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27144 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27146 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27150 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27151 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27152 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27156 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27158 != 0 for prec == 2.
27159 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27160 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27161 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27162 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27163 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27164 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27165 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27166 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27167 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27168 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27169 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27170 * math/libm-test.inc (cos_test): Add more tests and enable more
27171 tests for long double.
27172 (sin_test): Likewise.
27173 (sincos_test): Likewise.
27174 * sysdeps/i386/fpu/libm-test-ulps: Update.
27175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27177 2012-03-16 David S. Miller <davem@davemloft.net>
27179 * sysdeps/sparc/fpu/math_private.h: New file.
27181 2012-03-15 David S. Miller <davem@davemloft.net>
27183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27197 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27198 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27200 * sysdeps/sparc/sparc-ifunc.h: New file.
27201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27246 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27248 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27252 2012-03-15 Andreas Jaeger <aj@suse.de>
27255 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27256 ieee754/flt-32 implementation for sin, cos and sincos.
27257 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27258 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27259 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27260 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27261 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27262 ieee754/flt-32 implementation for tan.
27264 * math/libm-test.inc (cos_test): Enable some large input tests for
27266 (sin_test): Likewise.
27267 (sincos_test): Likewise.
27268 (tan_test): Add tests for large input.
27270 * sysdeps/i386/fpu/libm-test-ulps: Update.
27272 2012-03-15 Andreas Jaeger <aj@suse.de>
27275 * math/libm-test.inc (cos_test): Add more test cases.
27276 (sin_test): Likewise.
27277 (sincos_test): Likewise.
27279 2012-03-15 Andreas Jaeger <aj@suse.de>
27282 * math/libm-test.inc (cos_test): Add a test case for large input
27284 (sin_test): Likewise.
27285 (sincos_test): Likewise.
27287 2012-03-15 Andreas Jaeger <aj@suse.de>,
27288 Joseph Myers <joseph@codesourcery.com>
27291 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27292 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27293 * sysdeps/i386/fpu/branred.c: Likewise.
27294 * sysdeps/i386/fpu/dosincos.c: Likewise.
27295 * sysdeps/i386/fpu/mpa.c: Likewise.
27296 * sysdeps/i386/fpu/s_cos.S: Likewise.
27297 * sysdeps/i386/fpu/s_sin.S: Likewise.
27298 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27299 * sysdeps/i386/fpu/sincos32.c: Likewise.
27301 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27303 (libc_feupdateenv_53bit): Define.
27304 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27306 (libc_feupdateenv_53bit): Define.
27308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27309 53 bit (without extend i386 double precision).
27311 * math/libm-test.inc (sincos_test): Add tests for large input.
27315 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27317 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27321 2012-03-15 David S. Miller <davem@davemloft.net>
27323 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27324 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27325 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27326 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27351 fmin/fmax sysdep routines.
27352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27354 2012-03-14 David S. Miller <davem@davemloft.net>
27356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27428 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27433 * sysdeps/sparc/configure.in: New file.
27434 * sysdeps/sparc/configure: Generate.
27435 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27436 * configure: Regenerate.
27437 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27438 * config.make.in (have-as-vis3): New.
27439 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27440 available use -Av9d instead of -Av9a.
27441 * sysdeps/sparc/sparc64/Makefile: Likewise.
27442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27457 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27458 fzeros/fnegs to load 0x80000000 into a float register instead of
27460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27462 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27466 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27467 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27468 ($(inst_includedir)/bits/syscall.h): Remove rule.
27469 ($(objpfx)bits/syscall.d): Include instead of
27470 $(objpfx)syscall-list.d.
27471 (generated): Change syscall-list.h and syscall-list.d to
27472 bits/syscall.h and bits/syscall.d.
27474 2012-03-14 Roland McGrath <roland@hack.frob.com>
27477 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27479 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27482 * math/s_csqrt.c: Include <float.h>.
27483 (__csqrt): Scale large or subnormal inputs.
27484 * math/s_csqrtf.c: Likewise.
27485 * math/s_csqrtl.c: Likewise.
27486 * math/libm-test.inc (csqrt_test): Add more tests.
27487 * sysdeps/i386/fpu/libm-test-ulps: Update.
27488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27491 * math/libm-test.inc (hypot_test): Add more tests.
27493 2012-03-13 David S. Miller <davem@davemloft.net>
27496 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27497 double-precision for the calculation instead of scaling.
27499 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27501 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27502 manipulate bits before adding and subtracting TWO52[sx].
27503 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27508 2012-03-13 David S. Miller <davem@davemloft.net>
27510 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27511 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27513 rtld-global-offsets.h
27514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27516 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27519 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27521 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27522 'err' in the ifdef scope in which it is actually used.
27524 * nss/nss_db/db-init.c: Include string.h
27526 2012-03-12 David S. Miller <davem@davemloft.net>
27528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27529 masking out of the most significant byte of random value used.
27530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27531 Fix coding style in previous change.
27533 * sysdeps/unix/sysv/linux/kernel-features.h
27534 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27535 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27537 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27540 2012-03-11 David S. Miller <davem@davemloft.net>
27542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27543 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27545 for 'resultvar' otherwise things get truncated on 64-bit.
27547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27548 Fix masking out of the most significant byte of random value used.
27550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27552 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27556 2012-03-09 David S. Miller <davem@davemloft.net>
27558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27559 variables with appropriate CPP guards.
27560 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27561 frame pointer, not the stack pointer. Correct layout comments. Fix test
27562 on resulting framesize and the management of the outregs buffer for pltexit.
27563 Preserve floating point return values across _dl_call_pltexit call.
27564 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27565 framesize and the management of the outregs buffer for pltexit.
27566 Preserve floating point return values across _dl_call_pltexit
27568 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27569 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27570 (print_exit): Fix format string for return register value.
27572 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27574 * sunrpc/Makefile (others): Add rpcgen.
27575 ($(objpfx)rpcgen): Remove special build rule and dependency on
27577 * sunrpc/rpcgen.c: New file.
27579 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27582 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27583 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27584 * sysdeps/i386/crti.S: Likewise.
27585 * sysdeps/i386/crtn.S: Likewise.
27586 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27587 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27588 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27589 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27590 * sysdeps/sh/crti.S: Likewise.
27591 * sysdeps/sh/crtn.S: Likewise.
27592 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27595 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27597 * locale/programs/locfile-kw.gperf: Likewise.
27598 * locale/programs/charmap-kw.h: Regenerated.
27599 * locale/programs/locfile-kw.h: Likewise.
27602 * intl/plural.y: Replace FSF snail mail address with URL.
27603 * intl/plural.c: Regenerated.
27605 2012-03-09 Richard Henderson <rth@twiddle.net>
27607 * include/math_private.h: Remove file.
27608 * math/math_private.h: Move file ...
27609 * sysdeps/generic/math_private.h: ... here.
27611 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27612 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27613 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27615 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27616 and <math_private.h>.
27617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27623 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27629 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27631 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27632 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27638 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27639 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27642 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27653 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27654 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27655 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27657 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27663 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27669 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27671 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27672 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27674 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27675 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27676 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27685 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27687 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27705 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27706 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27707 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27708 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27710 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27711 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27712 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27713 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27714 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27715 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27716 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27717 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27718 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27719 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27720 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27722 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27723 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27724 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27731 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27732 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27733 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27734 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27735 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27740 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27743 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27744 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27745 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27746 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27747 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27748 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27750 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27751 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27752 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27753 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27754 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27755 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27758 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27759 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27760 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27761 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27765 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27766 * sysdeps/ieee754/k_standard.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27784 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27788 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27820 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27858 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27859 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27860 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27876 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27881 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27882 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27886 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27894 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27897 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27898 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27899 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27907 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27915 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27916 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27917 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27927 * sysdeps/ieee754/s_lib_version.c: Likewise.
27928 * sysdeps/ieee754/s_matherr.c: Likewise.
27929 * sysdeps/ieee754/s_signgam.c: Likewise.
27930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27933 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27934 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27935 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27936 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27937 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27938 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27939 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27940 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27941 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27942 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27943 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27944 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27945 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27947 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27948 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27949 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27952 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27954 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27955 * sunrpc/rpc_main.c: Likewise.
27956 * sunrpc/rpc_svcout.c: Likewise.
27958 2012-03-09 David S. Miller <davem@davemloft.net>
27960 * include/math_private.h: New file.
27962 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27964 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27965 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27966 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27967 from <bits/socket_type.h>.
27968 (enum __socket_type): Don't define here.
27969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27971 bits/socket_type.h.
27974 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27975 checking __USE_GNU.
27977 * Makerules ($(inst_includedir)/%.h): New rule.
27978 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27979 (install-others): Remove variable setting.
27980 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27982 2012-03-08 Richard Henderson <rth@twiddle.net>
27984 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27985 from macro to inline function; merge with the
27986 !__LIBC_INTERNAL_MATH_INLINES version.
27987 (__ieee754_sqrtf): Likewise.
27989 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27990 to inline function.
27991 (__rintf, __floor, __floorf): Likewise.
27993 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27994 macro to inline function.
27995 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27998 not <math/math_private.h>.
28000 2012-03-08 David S. Miller <davem@davemloft.net>
28002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28004 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28006 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28008 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28010 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28011 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28013 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28015 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28016 be defined individually, they must be defined as a block. Define
28017 S for printing a string instead of hidint the different by using a
28018 macro for adding the 'l'.
28019 * stdio-common/tst-fphex-wide.c: Adjust.
28021 2012-03-07 Marek Polacek <polacek@redhat.com>
28023 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28025 2012-03-08 Marek Polacek <polacek@redhat.com>
28028 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28029 * stdio-common/tst-fphex.c: Define a few macros to make the
28030 test reusable. Use them.
28031 * stdio-common/tst-fphex-wide.c: New file.
28033 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28036 * manual/macros.texi (gnusystems): New macro.
28037 (nongnusystems): Likewise.
28038 (gnulinuxhurdsystems): Likewise.
28039 (gnuhurdsystems): Likewise..
28040 (gnulinuxsystems): Likewise.
28041 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28042 variants of the GNU system, not "GNU system".
28043 * manual/conf.texi: Likewise.
28044 * manual/errno.texi: Likewise. Update example of errno macro
28046 * manual/filesys.texi: Likewise.
28047 (getumask): Document as specific to GNU/Hurd.
28048 * manual/install.texi: Likewise. Reword some references to
28050 * manual/intro.texi: Likewise.
28051 * manual/io.texi: Likewise.
28052 (File Name Portability): Detail which constraints are inapplicable
28053 to all GNU systems and which are only inapplicable to GNU/Hurd.
28054 * manual/job.texi: Likewise.
28055 * manual/llio.texi: Likewise.
28056 (O_NOCTTY): Document as present on GNU/Linux.
28057 * manual/maint.texi: Likewise.
28058 * manual/memory.texi: Likewise.
28059 * manual/pattern.texi: Likewise.
28060 * manual/pipe.texi: Likewise.
28061 * manual/process.texi: Likewise.
28062 * manual/resource.texi: Likewise.
28063 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28065 * manual/setjmp.texi: Likewise.
28066 * manual/signal.texi: Likewise.
28067 * manual/startup.texi: Likewise.
28068 * manual/stdio.texi: Likewise.
28069 * manual/terminal.texi: Likewise.
28070 (ONLCR): Document as POSIX.
28071 (OXTABS): Document availability on GNU/Linux as XTABS.
28072 (ONOEOT): Document availability separately from other bits.
28073 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28074 * manual/time.texi: Likewise.
28075 * manual/users.texi: Likewise.
28076 * INSTALL: Regenerated.
28077 * sysdeps/gnu/errlist.c: Regenerated.
28079 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28080 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28081 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28083 * configure: Regenerated.
28085 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28087 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28088 default includes instead of AC_HEADER_CHECK.
28089 * sysdeps/i386/configure: Regenerated.
28092 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28093 * math/s_cacoshf.c (__cacoshf): Likewise.
28094 * math/s_cacoshl.c (__cacoshl): Likewise.
28095 * math/s_casinh.c (__casinh): Set signs of result from argument.
28096 * math/s_casinhf.c (__casinhf): Likewise.
28097 * math/s_casinhl.c (__casinhl): Likewise.
28098 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28099 (casinh_test): Add more tests.
28100 * sysdeps/i386/fpu/libm-test-ulps: Update.
28101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28103 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28105 * po/zh_TW.po: Update from translation team.
28107 * login/Makefile (distribute): Remove variable.
28108 * catgets/Makefile: Likewise.
28109 * mach/Makefile: Likewise.
28110 * malloc/Makefile: Likewise.
28111 * misc/Makefile: Likewise.
28112 * iconv/Makefile: Likewise.
28113 * nscd/Makefile: Likewise.
28114 * hurd/Makefile: Likewise.
28115 * manual/Makefile: Likewise.
28116 * locale/Makefile: Likewise.
28117 * intl/Makefile: Likewise.
28118 * conform/Makefile: Likewise.
28119 * nss/Makefile: Likewise.
28120 * time/Makefile: Likewise.
28121 * soft-fp/Makefile: Likewise.
28122 * dirent/Makefile: Likewise.
28123 * gmon/Makefile: Likewise.
28124 * po/Makefile: Likewise.
28125 * rt/Makefile: Likewise.
28126 * socket/Makefile: Likewise.
28127 * math/Makefile: Likewise.
28128 * signal/Makefile: Likewise.
28129 * debug/Makefile: Likewise.
28130 * elf/Makefile: Likewise.
28131 * timezone/Makefile: Likewise.
28132 * stdlib/Makefile: Likewise.
28133 * iconvdata/Makefile: Likewise.
28134 * sunrpc/Makefile: Likewise.
28135 * io/Makefile: Likewise.
28136 * argp/Makefile: Likewise.
28137 * inet/Makefile: Likewise.
28138 * hesiod/Makefile: Likewise.
28139 * grp/Makefile: Likewise.
28140 * csu/Makefile: Likewise.
28141 * wctype/Makefile: Likewise.
28142 * crypt/Makefile: Likewise.
28143 * libio/Makefile: Likewise.
28144 * string/Makefile: Likewise.
28145 * nis/Makefile: Likewise.
28146 * resolv/Makefile: Likewise.
28147 * stdio-common/Makefile: Likewise.
28148 * wcsmbs/Makefile: Likewise.
28149 * dlfcn/Makefile: Likewise.
28150 * posix/Makefile: Likewise.
28153 * timezone/Makefile: Don't install timezone files, just the programs
28156 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28158 * nss/databases.def: Add missing gshadow entry.
28160 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28162 2012-03-06 Marek Polacek <polacek@redhat.com>
28165 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28166 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28167 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28168 * stdio-common/tst-long-dbl-fphex.c: New file.
28170 2012-03-06 David S. Miller <davem@davemloft.net>
28172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28173 (set_obp_int): New function.
28174 (get_obp_int): New function.
28175 (__get_clockfreq_via_dev_openprom): Likewise.
28176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28177 Avoid unused variable warnings on 'val' and use builtin_expect.
28178 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28180 (INLINE_CLONE_SYSCALL): Likewise.
28182 2012-03-05 David S. Miller <davem@davemloft.net>
28184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28186 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28191 only for |x| >= 40.
28192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28194 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28197 Replace gettimeofday with __vdso_gettimeofday.
28199 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28200 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28201 __vdso_clock_gettime and __vdso_getcpu.
28203 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28204 time with __vdso_time.
28206 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28208 * manual/lang.texi (size_t): Note types to which size_t may be
28209 equivalent with the GNU C Library, but do not describe when
28210 differences between them are significant.
28212 2012-03-05 Andreas Jaeger <aj@suse.de>
28214 * sysdeps/i386/fpu/libm-test-ulps: Update.
28216 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28219 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28220 (__ieee754_pow): Save and restore rounding mode and use
28221 round-to-nearest for main computations.
28222 * math/libm-test.inc (pow_test_tonearest): New function.
28223 (pow_test_towardzero): Likewise.
28224 (pow_test_downward): Likewise.
28225 (pow_test_upward): Likewise.
28226 (main): Call the new functions.
28227 * sysdeps/i386/fpu/libm-test-ulps: Update.
28228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28231 * math/libm-test.inc (cosh_test_tonearest): New function.
28232 (cosh_test_towardzero): Likewise.
28233 (cosh_test_downward): Likewise.
28234 (cosh_test_upward): Likewise.
28235 (sinh_test_tonearest): Likewise.
28236 (sinh_test_towardzero): Likewise.
28237 (sinh_test_downward): Likewise.
28238 (sinh_test_upward): Likewise.
28239 (main): Call the new functions.
28240 * sysdeps/i386/fpu/libm-test-ulps: Update.
28241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28243 2012-03-05 Tom de Vries <tom@codesourcery.com>
28245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28246 default stack guard is set in last bytes.
28247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28249 2012-03-05 Kees Cook <keescook@chromium.org>
28251 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28254 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28255 possibly allocate from heap instead of stack.
28256 * stdio-common/bug-vfprintf-nargs.c: New file.
28257 * stdio-common/Makefile (tests): Add nargs overflow test.
28259 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28263 2012-03-03 Marek Polacek <polacek@redhat.com>
28265 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28266 * math/math_private.h: Likewise.
28267 * stdlib/tst-strtod.c: Likewise.
28268 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28269 * sysdeps/x86_64/bits/atomic.h: Likewise.
28271 2012-03-02 David S. Miller <davem@davemloft.net>
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28279 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28282 2012-03-02 Roland McGrath <roland@hack.frob.com>
28285 * manual/examples/README: New file, says the example source files
28286 can be used under GPL>=2.
28287 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28288 line containing just "*/".
28289 * manual/examples/add.c: Add copyright header (GPL>=2).
28290 * manual/examples/argp-ex1.c: Likewise.
28291 * manual/examples/argp-ex2.c: Likewise.
28292 * manual/examples/argp-ex3.c: Likewise.
28293 * manual/examples/argp-ex4.c: Likewise.
28294 * manual/examples/atexit.c: Likewise.
28295 * manual/examples/db.c: Likewise.
28296 * manual/examples/dir.c: Likewise.
28297 * manual/examples/dir2.c: Likewise.
28298 * manual/examples/execinfo.c: Likewise.
28299 * manual/examples/filecli.c: Likewise.
28300 * manual/examples/filesrv.c: Likewise.
28301 * manual/examples/fmtmsgexpl.c: Likewise.
28302 * manual/examples/genpass.c: Likewise.
28303 * manual/examples/inetcli.c: Likewise.
28304 * manual/examples/inetsrv.c: Likewise.
28305 * manual/examples/isockad.c: Likewise.
28306 * manual/examples/longopt.c: Likewise.
28307 * manual/examples/memopen.c: Likewise.
28308 * manual/examples/memstrm.c: Likewise.
28309 * manual/examples/mkfsock.c: Likewise.
28310 * manual/examples/mkisock.c: Likewise.
28311 * manual/examples/mygetpass.c: Likewise.
28312 * manual/examples/pipe.c: Likewise.
28313 * manual/examples/popen.c: Likewise.
28314 * manual/examples/rprintf.c: Likewise.
28315 * manual/examples/search.c: Likewise.
28316 * manual/examples/select.c: Likewise.
28317 * manual/examples/setjmp.c: Likewise.
28318 * manual/examples/sigh1.c: Likewise.
28319 * manual/examples/sigusr.c: Likewise.
28320 * manual/examples/stpcpy.c: Likewise.
28321 * manual/examples/strdupa.c: Likewise.
28322 * manual/examples/strftim.c: Likewise.
28323 * manual/examples/strncat.c: Likewise.
28324 * manual/examples/subopt.c: Likewise.
28325 * manual/examples/swapcontext.c: Likewise.
28326 * manual/examples/termios.c: Likewise.
28327 * manual/examples/testopt.c: Likewise.
28328 * manual/examples/testpass.c: Likewise.
28329 * manual/examples/timeval_subtract.c: Likewise.
28332 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28334 * manual/timeval_subtract.c.texi: ... here, new file.
28336 2012-03-02 David S. Miller <davem@davemloft.net>
28338 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28340 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28343 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28344 (__sin): Save and restore rounding mode and use round-to-nearest
28345 for all computations.
28346 (__cos): Save and restore rounding mode and use round-to-nearest
28347 for all computations.
28348 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28350 (tan): Save and restore rounding mode and use round-to-nearest for
28352 * math/libm-test.inc (cos_test_tonearest): New function.
28353 (cos_test_towardzero): Likewise.
28354 (cos_test_downward): Likewise.
28355 (cos_test_upward): Likewise.
28356 (sin_test_tonearest): Likewise.
28357 (sin_test_towardzero): Likewise.
28358 (sin_test_downward): Likewise.
28359 (sin_test_upward): Likewise.
28360 (tan_test_tonearest): Likewise.
28361 (tan_test_towardzero): Likewise.
28362 (tan_test_downward): Likewise.
28363 (tan_test_upward): Likewise.
28364 (main): Call the new functions.
28365 * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28369 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28370 small n, then large n, before computing and testing k+n.
28371 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28376 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28377 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28380 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28381 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28384 * math/libm-test.inc (scalbn_test): Add more tests.
28385 (scalbln_test): Likewise.
28387 * manual/filesys.texi (mode_t): Describe constraints on size and
28388 signedness, not exact equivalence to a particular type.
28390 (ino64_t): Likewise.
28392 (nlink_t): Likewise.
28393 (blkcnt_t): Likewise.
28394 (blkcnt64_t): Likewise.
28395 * manual/llio.texi (off_t): Likewise.
28398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28399 (__ieee754_exp): Save and restore rounding mode and use
28400 round-to-nearest for all computations.
28401 * math/libm-test.inc (exp_test_tonearest): New function.
28402 (exp_test_towardzero): Likewise.
28403 (exp_test_downward): Likewise.
28404 (exp_test_upward): Likewise.
28405 (main): Call the new functions.
28406 * sysdeps/i386/fpu/libm-test-ulps: Update.
28407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28409 2012-03-01 Chris Demetriou <cgd@google.com>
28411 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28412 have predictable order.
28414 2012-03-01 David S. Miller <davem@davemloft.net>
28416 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28418 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28419 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28420 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28421 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28423 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28424 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28425 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28427 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28428 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28429 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28430 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28431 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28436 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28437 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28439 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28440 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28441 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28448 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28449 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28452 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28453 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28455 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28456 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28457 * sysdeps/sparc/elf/configure: Regenerated.
28459 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28461 * configure.in (AS, LD): Require binutils 2.20 or later.
28462 * configure: Regenerated.
28463 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28464 as required minimum version.
28465 * INSTALL: Regenerated.
28469 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28470 before squaring exponent.
28471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28472 bottom long double and 27 bits of top long double before squaring
28474 * math/libm-test.inc (erfc_test): Add more tests.
28475 * sysdeps/i386/fpu/libm-test-ulps: Update.
28476 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28479 2012-03-01 Kai Tietz <ktietz@redhat.com>
28481 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28482 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28483 containing bit-fields.
28484 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28485 * soft-fp/single.h (_FP_UNION_S): Likewise.
28486 * soft-fp/double.h (_FP_UNION_D): Likewise.
28488 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28491 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28492 not include ../strcmp.S.
28493 [USE_AS_STRNCASECMP_L]: Likewise.
28494 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28495 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28496 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28497 (__strncasecmp_l_ia32): Define as alias to
28498 __strncasecmp_l_nonascii.
28501 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28502 * sysdeps/i386/fpu/libm-test-ulps: Update.
28503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28505 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28508 2012-02-29 Jeff Law <law@redhat.com>
28510 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28511 out of bounds read.
28513 2012-02-29 Marek Polacek <polacek@redhat.com>
28516 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28517 * elf/Makefile: Add rules to run tst-unused-dep.out.
28519 2012-02-28 David S. Miller <davem@davemloft.net>
28521 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28522 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28523 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28525 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28526 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28528 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28530 * math/libm-test.inc (llround_test): Move one test from
28531 lround_test. Use TEST_f_L in moved test.
28532 (lround_test): Move misplaced test to llround_test. Add testcase
28535 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28537 * sysdeps/x86_64/fpu/e_expf.S: New file.
28538 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28540 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28543 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28544 of remain_len that may cause incomplete multi-byte character and
28546 * posix/bug-regex33.c: New file.
28547 * posix/Makefile (tests): Add bug-regex33.
28549 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28551 * manual/macros.texi: New file.
28552 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28553 * manual/libc.texinfo: Include macros.texi.
28554 * manual/creatute.texi: Likewise.
28555 * manual/install.texi: Likewise.
28556 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28557 @glibcadj{} in references to the GNU C Library.
28558 * manual/charset.texi: Likewise.
28559 * manual/conf.texi: Likewise.
28560 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28561 when not using those macros.
28562 * manual/creature.texi: Likewise.
28563 * manual/crypt.texi: Likewise.
28564 * manual/errno.texi: Likewise.
28565 * manual/filesys.texi: Likewise.
28566 * manual/header.texi: Likewise.
28567 * manual/install.texi: Likewise.
28568 * manual/intro.texi: Likewise.
28569 * manual/io.texi: Likewise.
28570 * manual/job.texi: Likewise.
28571 * manual/lang.texi: Likewise.
28572 * manual/libc.texiinfo: Likewise.
28573 * manual/llio.texi: Likewise.
28574 * manual/locale.texi: Likewise.
28575 * manual/maint.texi: Likewise.
28576 * manual/math.texi: Likewise.
28577 * manual/memory.texi: Likewise.
28578 * manual/message.texi: Likewise.
28579 * manual/nss.texi: Likewise.
28580 * manual/pattern.texi: Likewise.
28581 * manual/process.texi: Likewise.
28582 * manual/resource.texi: Likewise.
28583 * manual/search.texi: Likewise.
28584 * manual/setjmp.texi: Likewise.
28585 * manual/signal.texi: Likewise.
28586 * manual/socket.texi: Likewise.
28587 * manual/startup.texi: Likewise.
28588 * manual/stdio.texi: Likewise.
28589 * manual/string.texi: Likewise.
28590 * manual/sysinfo.texi: Likewise.
28591 * manual/syslog.texi: Likewise.
28592 * manual/terminal.texi: Likewise.
28593 * manual/time.texi: Likewise.
28594 * manual/users.texi: Likewise.
28595 * INSTALL: Regenerated.
28596 * NOTES: Regenerated.
28597 * sysdeps/gnu/errlist.c: Regenerated.
28599 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28601 * include/dirent.h: Include <dirstream.h> before
28604 2012-02-28 David S. Miller <davem@davemloft.net>
28606 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28607 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28608 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28611 2012-02-27 David S. Miller <davem@davemloft.net>
28613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28615 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28616 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28619 frame pointer instead of stack pointer relative arg slot.
28620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28624 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28627 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28629 2012-02-27 David S. Miller <davem@davemloft.net>
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28637 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28640 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28642 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28643 later. Allow versions 5-9.
28644 * configure: Regenerated.
28645 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28646 required minimum version and 4.6 as recommended version. Do not
28647 mention bugs in GCC 2.7 and 2.8.
28648 * INSTALL: Regenerated.
28650 2012-02-27 David S. Miller <davem@davemloft.net>
28652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28658 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28662 manipulate bits before adding and subtracting TWO112[sx].
28663 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28665 2012-02-27 Roland McGrath <roland@hack.frob.com>
28668 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28669 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28670 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28671 being in POSIX, because they are in 1003.1-2008.
28673 * rt/tst-aio.c: Include <fcntl.h>.
28674 * rt/tst-aio7.c: Likewise.
28675 * rt/tst-aio64.c: Likewise.
28677 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28679 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28681 * manual/install.texi (--with-headers): Describe headers as
28682 interface headers, not private headers.
28683 (Specific advice for GNU/Linux systems): Describe use of headers
28684 from "make headers_install", not private headers from older
28686 * INSTALL: Regenerated.
28687 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28689 * sysdeps/unix/sysv/linux/configure: Regenerated.
28691 * manual/llio.texi (fclean): Remove documentation.
28693 * manual/Makefile (libc-texi-generated): New variable. Include
28695 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28696 $(libc-texi-generated), not duplicated list of files.
28697 (version.texi, stamp-version): New rules.
28698 (realclean): Remove $(libc-texi-generated), not individual files
28699 from that list. Do not remove dir-add.texinfo.
28700 * manual/libc.texinfo: Comment out uses of edition numbers and
28701 references to printed manual. Remove last-updated dates.
28702 (EDITION): Comment out.
28704 (VERSION, UPDATED): Remove.
28705 (version.texi): Include.
28707 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28709 * sysdeps/posix/spawni.c: Include <signal.h>.
28710 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28711 * sysdeps/pthread/aio_fsync.c: Likewise.
28713 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28715 * conform/Makefile (tests): Run only when not cross-compiling and
28716 when fast-check is not defined.
28718 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28719 * conform/data/limits.h-data: Fixes for POSIX2008.
28720 * conform/run-conformtest.sh: Run all tests.
28721 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28723 * include/bits/dlfcn.h: Likewise.
28724 * include/langinfo.h: Likewise.
28725 * include/monetary.h: Likewise.
28726 * include/sys/poll.h: Likewise.
28728 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28730 * posix/spawn.h: Define __need_sigset_t.
28731 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28732 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28733 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28734 to get sigevent_t only.
28735 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28736 only for __USE_GNU.
28737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28738 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28739 process_vm_writev only for __USE_GNU.
28740 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28742 * conform/Makefile: For now ignore errors from run-conformtest.
28743 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28744 POSIX to avoid namespace pollution. Don't prepend headers.
28745 * conform/data/aio.h-data: Fixes for POSIX testing.
28746 * conform/data/fcntl.h-data: Likewise.
28747 * conform/data/glob.h-data: Likewise.
28748 * conform/data/grp.h-data: Likewise.
28749 * conform/data/pthread.h-data: Likewise.
28750 * conform/data/pwd.h-data: Likewise.
28751 * conform/data/signal.h-data: Likewise.
28752 * conform/data/spawn.h-data: Likewise.
28753 * conform/data/stdio.h-data: Likewise.
28754 * conform/data/stdlib.h-data: Likewise.
28755 * conform/data/stropts.h-data: Likewise.
28756 * conform/data/sys/mman.h-data: Likewise.
28757 * conform/data/sys/stat.h-data: Likewise.
28758 * conform/data/sys/types.h-data: Likewise.
28759 * conform/data/sys/wait.h-data: Likewise.
28760 * conform/data/time.h-data: Likewise.
28761 * conform/data/unistd.h-data: Likewise.
28762 * conform/data/utime.h-data: Likewise.
28764 * io/sys/stat.h: fchmod was always in POSIX.
28765 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28766 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28767 * rt/aio.h: Define __need_timespec before including <time.h>.
28768 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28769 struct. Add forward declaration of pthread_attr_t and use it in
28771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28773 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28774 always remove CLK_TCK definition.
28776 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28778 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28780 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28782 * conform/run-conformtest.sh: New file.
28783 * conform/Makefile: Run run-conformtest for tests.
28784 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28787 * conform/data/uchar.h-data: New file.
28788 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28789 * conform/data/arpa/inet.h-data: Likewise.
28790 * conform/data/assert.h-data: Likewise.
28791 * conform/data/complex.h-data: Likewise.
28792 * conform/data/cpio.h-data: Likewise.
28793 * conform/data/ctype.h-data: Likewise.
28794 * conform/data/dirent.h-data: Likewise.
28795 * conform/data/dlfcn.h-data: Likewise.
28796 * conform/data/errno.h-data: Likewise.
28797 * conform/data/fcntl.h-data: Likewise.
28798 * conform/data/float.h-data: Likewise.
28799 * conform/data/fmtmsg.h-data: Likewise.
28800 * conform/data/fnmatch.h-data: Likewise.
28801 * conform/data/ftw.h-data: Likewise.
28802 * conform/data/glob.h-data: Likewise.
28803 * conform/data/grp.h-data: Likewise.
28804 * conform/data/iconv.h-data: Likewise.
28805 * conform/data/inttypes.h-data: Likewise.
28806 * conform/data/langinfo.h-data: Likewise.
28807 * conform/data/libgen.h-data: Likewise.
28808 * conform/data/limits.h-data: Likewise.
28809 * conform/data/locale.h-data: Likewise.
28810 * conform/data/math.h-data: Likewise.
28811 * conform/data/monetary.h-data: Likewise.
28812 * conform/data/mqueue.h-data: Likewise.
28813 * conform/data/ndbm.h-data: Likewise.
28814 * conform/data/net/if.h-data: Likewise.
28815 * conform/data/netdb.h-data: Likewise.
28816 * conform/data/netinet/in.h-data: Likewise.
28817 * conform/data/nl_types.h-data: Likewise.
28818 * conform/data/poll.h-data: Likewise.
28819 * conform/data/pthread.h-data: Likewise.
28820 * conform/data/pwd.h-data: Likewise.
28821 * conform/data/regex.h-data: Likewise.
28822 * conform/data/sched.h-data: Likewise.
28823 * conform/data/search.h-data: Likewise.
28824 * conform/data/semaphore.h-data: Likewise.
28825 * conform/data/setjmp.h-data: Likewise.
28826 * conform/data/signal.h-data: Likewise.
28827 * conform/data/spawn.h-data: Likewise.
28828 * conform/data/stdarg.h-data: Likewise.
28829 * conform/data/stdio.h-data: Likewise.
28830 * conform/data/stdlib.h-data: Likewise.
28831 * conform/data/string.h-data: Likewise.
28832 * conform/data/strings.h-data: Likewise.
28833 * conform/data/stropts.h-data: Likewise.
28834 * conform/data/sys/ipc.h-data: Likewise.
28835 * conform/data/sys/mman.h-data: Likewise.
28836 * conform/data/sys/msg.h-data: Likewise.
28837 * conform/data/sys/resource.h-data: Likewise.
28838 * conform/data/sys/select.h-data: Likewise.
28839 * conform/data/sys/sem.h-data: Likewise.
28840 * conform/data/sys/shm.h-data: Likewise.
28841 * conform/data/sys/socket.h-data: Likewise.
28842 * conform/data/sys/stat.h-data: Likewise.
28843 * conform/data/sys/statvfs.h-data: Likewise.
28844 * conform/data/sys/time.h-data: Likewise.
28845 * conform/data/sys/timeb.h-data: Likewise.
28846 * conform/data/sys/times.h-data: Likewise.
28847 * conform/data/sys/types.h-data: Likewise.
28848 * conform/data/sys/uio.h-data: Likewise.
28849 * conform/data/sys/un.h-data: Likewise.
28850 * conform/data/sys/utsname.h-data: Likewise.
28851 * conform/data/sys/wait.h-data: Likewise.
28852 * conform/data/syslog.h-data: Likewise.
28853 * conform/data/tar.h-data: Likewise.
28854 * conform/data/termios.h-data: Likewise.
28855 * conform/data/utime.h-data: Likewise.
28856 * conform/data/utmpx.h-data: Likewise.
28857 * conform/data/varargs.h-data: Likewise.
28858 * conform/data/wchar.h-data: Likewise.
28859 * conform/data/wctype.h-data: Likewise.
28860 * conform/data/wordexp.h-data: Likewise.
28862 * include/stropts.h: New file.
28863 * include/uchar.h: New file.
28864 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28865 * include/assert.h: Likewise.
28866 * include/ctype.h: Likewise.
28867 * include/dirent.h: Likewise.
28868 * include/dlfcn.h: Likewise.
28869 * include/fcntl.h: Likewise.
28870 * include/fnmatch.h: Likewise.
28871 * include/glob.h: Likewise.
28872 * include/grp.h: Likewise.
28873 * include/libio.h: Likewise.
28874 * include/locale.h: Likewise.
28875 * include/math.h: Likewise.
28876 * include/net/if.h: Likewise.
28877 * include/netdb.h: Likewise.
28878 * include/netinet/in.h: Likewise.
28879 * include/pthread.h: Likewise.
28880 * include/pwd.h: Likewise.
28881 * include/regex.h: Likewise.
28882 * include/sched.h: Likewise.
28883 * include/search.h: Likewise.
28884 * include/setjmp.h: Likewise.
28885 * include/signal.h: Likewise.
28886 * include/stdio.h: Likewise.
28887 * include/stdlib.h: Likewise.
28888 * include/string.h: Likewise.
28889 * include/sys/cdefs.h: Likewise.
28890 * include/sys/mman.h: Likewise.
28891 * include/sys/msg.h: Likewise.
28892 * include/sys/resource.h: Likewise.
28893 * include/sys/select.h: Likewise.
28894 * include/sys/socket.h: Likewise.
28895 * include/sys/stat.h: Likewise.
28896 * include/sys/statvfs.h: Likewise.
28897 * include/sys/time.h: Likewise.
28898 * include/sys/times.h: Likewise.
28899 * include/sys/uio.h: Likewise.
28900 * include/sys/utsname.h: Likewise.
28901 * include/sys/wait.h: Likewise.
28902 * include/termios.h: Likewise.
28903 * include/time.h: Likewise.
28904 * include/ulimit.h: Likewise.
28905 * include/unistd.h: Likewise.
28906 * include/utime.h: Likewise.
28907 * include/wchar.h: Likewise.
28908 * include/wctype.h: Likewise.
28909 * include/wordexp.h: Likewise.
28911 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28913 * time/time.h: TIME_UTC must be a macro.
28914 Make timespec_get available for ISO C11 only as well.
28916 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28918 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28919 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28921 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28923 * configure.in: Use -o not -a in test for unsupported multi-arch.
28925 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28927 * manual/texinfo.tex: Update to version 2012-01-19.16.
28929 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28931 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28933 2012-02-24 Roland McGrath <roland@hack.frob.com>
28936 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28937 * manual/fdl-1.3.texi: New file.
28938 * manual/fdl-1.1.texi: File removed.
28941 * manual/libc.texinfo (FDL_VERSION): New @set.
28942 Use it for mention of FDL in cover text.
28943 (Documentation License): Use it in @include file name.
28945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28946 Roland McGrath <roland@hack.frob.com>
28949 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28950 not LONG_LONG_MAX and LONG_LONG_MIN.
28951 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28952 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28954 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28956 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28960 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28961 manipulate bits before adding and subtracting TWO23[sx].
28962 * math/libm-test.inc (nearbyint_test): Add more tests.
28964 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28967 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28968 bits before adding and subtracting TWO23[sx].
28969 * math/libm-test.inc (rint_test): Add more tests.
28970 (rint_test_tonearest): Likewise.
28971 (rint_test_towardzero): Likewise.
28972 (rint_test_downward): Likewise.
28973 (rint_test_upward: Likewise.
28975 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28978 * include/stdc-predef.h: New file. Extracted from features.h.
28979 * include/features.h: Include stdc-predef.h.
28980 * Makefile (headers): Add stdc-predef.h.
28981 * CONFORMANCE (Compiler limitations): Update.
28983 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28985 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28987 2012-02-21 David S. Miller <davem@davemloft.net>
28989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28992 2012-02-20 David S. Miller <davem@davemloft.net>
28994 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28995 using a normal save/restore sequence, rather than allocating a
28996 dummy stack frame just to store a frame pointer and restore.
28997 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28999 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29001 * manual/install.texi: Fix stray word in line-wrapped comment.
29003 2012-02-20 David S. Miller <davem@davemloft.net>
29005 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29006 both binutils and gcc support GOTDATA.
29008 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29009 "rd %pc" in the PIC register setup sequences.
29011 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29012 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29013 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29014 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29015 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29018 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29020 (SYSCALL_ERROR_HANDLER): Likewise.
29021 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29022 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29024 (SYSCALL_ERROR_HANDLER): Likewise.
29026 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29027 (HAVE_GCC_GOTDATA): New.
29028 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29029 relocation support in both binutils and gcc.
29030 * sysdeps/sparc/elf/configure: Regenerate.
29032 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29033 * sysdeps/sparc/sparc32/elf/configure: Delete.
29034 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29035 * sysdeps/sparc/sparc64/elf/configure: Delete.
29036 * sysdeps/sparc/elf/configure.in: New file.
29037 * sysdeps/sparc/elf/configure: Generate.
29039 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29040 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29041 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29042 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29043 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29045 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29047 * manual/install.texi: Do not mention specific glibc version
29049 * manual/libc.texinfo (VERSION, UPDATED): Update.
29050 (@copying): Use @copyright{} and range of years.
29052 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29055 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29056 [crti.S not in sysdirs] (generated): Do not append.
29057 [crti.S not in sysdirs] (omit-deps): Likewise.
29058 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29059 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29060 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29061 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29062 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29064 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29065 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29066 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29067 * csu/defs.awk: Remove file.
29068 * sysdeps/generic/initfini.c: Likewise.
29069 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29071 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29074 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29076 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29077 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29078 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29081 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29083 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29084 (__EPOLL_PACKED): Define to empty if not defined by
29086 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29090 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29092 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29093 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29094 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29095 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29097 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29101 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29103 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29105 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29106 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29110 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29113 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29115 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29117 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29118 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29120 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29122 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29125 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29127 * math/w_acos.c: Use non-signaling floating-point comparisons.
29128 * math/w_acosf.c: Likewise.
29129 * math/w_acosh.c: Likewise.
29130 * math/w_acoshf.c: Likewise.
29131 * math/w_acoshl.c: Likewise.
29132 * math/w_acosl.c: Likewise.
29133 * math/w_asin.c: Likewise.
29134 * math/w_asinf.c: Likewise.
29135 * math/w_asinl.c: Likewise.
29136 * math/w_atanh.c: Likewise.
29137 * math/w_atanhf.c: Likewise.
29138 * math/w_atanhl.c: Likewise.
29139 * math/w_exp2.c: Likewise.
29140 * math/w_exp2f.c: Likewise.
29141 * math/w_exp2l.c: Likewise.
29142 * math/w_j0.c: Likewise.
29143 * math/w_j0f.c: Likewise.
29144 * math/w_j0l.c: Likewise.
29145 * math/w_j1.c: Likewise.
29146 * math/w_j1f.c: Likewise.
29147 * math/w_j1l.c: Likewise.
29148 * math/w_jn.c: Likewise.
29149 * math/w_jnf.c: Likewise.
29150 * math/w_log.c: Likewise.
29151 * math/w_log10.c: Likewise.
29152 * math/w_log10f.c: Likewise.
29153 * math/w_log10l.c: Likewise.
29154 * math/w_log2.c: Likewise.
29155 * math/w_log2f.c: Likewise.
29156 * math/w_log2l.c: Likewise.
29157 * math/w_logf.c: Likewise.
29158 * math/w_logl.c: Likewise.
29159 * math/w_sqrt.c: Likewise.
29160 * math/w_sqrtf.c: Likewise.
29161 * math/w_sqrtl.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29165 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29166 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29168 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29171 * manual/string.texi (strnlen): Use correct parameter name in
29172 equivalent expression.
29174 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29177 * manual/users.texi (seteuid): Consistently use neweuid for
29180 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29183 * manual/nss.texi (Services in the NSS configuration): Correct
29184 list of services in example configuration file.
29186 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29189 * manual/arith.texi: Remove statements about negative zero
29190 behaving identically to zero.
29192 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29195 * manual/install.texi: Do not document upgrading from libc5.
29197 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29200 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29202 2012-02-18 David S. Miller <davem@davemloft.net>
29204 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29205 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29206 %o7 across the call.
29207 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29210 SETUP_PIC_REG_LEAF.
29211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29212 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29213 * sysdeps/sparc/crtn.S: Likewise.
29215 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29217 * aout/Makefile: Remove.
29219 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29222 * manual/examples/argp-ex1.c (main): Format definition in GNU
29224 * manual/examples/argp-ex2.c (main): Likewise.
29225 * manual/examples/argp-ex3.c (main): Likewise.
29226 * manual/examples/argp-ex4.c (main): Likewise.
29227 * manual/examples/longopt.c (main): Use new-style prototype
29229 * manual/examples/strncat.c (main): Specify return type and use
29230 (void) for arguments.
29231 * manual/examples/subopt.c (main): Use char **argv argument.
29233 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29236 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29239 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29242 * manual/string.texi (strchr): Change when strchrnul is
29245 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29248 * manual/locale.texi (setlocale): Document LOCPATH.
29250 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29253 * manual/process.texi (execle): Move @dots{} before last argument.
29255 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29258 * manual/charset.texi (Generic Charset Conversion): Fix typo
29259 (LC_TYPE -> LC_CTYPE).
29261 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29264 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29265 (scalbnf): Likewise.
29266 (scalbnl): Likewise.
29267 (scalbln): Likewise.
29268 (scalblnf): Likewise.
29269 (scalblnl): Likewise.
29270 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29271 (vwarnx): Likewise.
29274 * manual/filesys.texi (telldir): Use braces around return type.
29275 * manual/llio.texi (mmap): Add space after comma.
29276 (mmap64): Likewise.
29277 * manual/math.texi (jn): Use @var{} on parameter names.
29283 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29285 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29287 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29288 (sched_get_priority_max): Likewise.
29289 * manual/signal.texi (sigvec): Add space after comma.
29290 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29292 (if_indextoname): Likewise.
29293 (if_freenameindex): Likewise.
29294 (sendto): Use ',' instead of '.' in prototype.
29295 * manual/startup.texi (syscall): Use @dots{} instead of literal
29297 * manual/stdio.texi (__fpending): Separate initial words of
29298 paragraph from @deftypefun line.
29299 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29301 (vsyslog): Use @var{} on parameter names.
29302 * manual/terminal.texi (stty): Use @var{} on parameter names.
29303 * manual/users.texi (getutmp): Use @var{} on parameter names.
29304 (getutmpx): Likewise.
29306 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29309 * manual/stdio.texi (fopen): Fix typos in description of
29312 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29315 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29316 get clock_id definition.
29318 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29321 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29322 (madvise): Cast every argument to void on its own.
29324 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29327 * manual/startup.texi (Exit Status): Fix typo.
29329 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29332 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29333 * manual/examples/argp-ex2.c: Likewise.
29334 * manual/examples/argp-ex3.c: Likewise.
29336 2012-02-16 Richard Henderson <rth@redhat.com>
29338 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29339 * sysdeps/s390/s390-32/initfini.c: Remove.
29340 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29341 * sysdeps/s390/s390-64/initfini.c: Remove.
29343 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29345 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29346 compiler output for sysdeps/generic/initfini.c.
29347 * sysdeps/sh/elf/initfini.c: Remove file.
29349 2012-02-16 David S. Miller <davem@davemloft.net>
29352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29354 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29355 * sysdeps/sparc/crti.S: New file.
29356 * sysdeps/sparc/crtn.S: New file.
29357 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29358 * sysdeps/sparc/sparc64/Makefile: Likewise.
29360 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29363 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29365 2012-02-15 Roland McGrath <roland@hack.frob.com>
29368 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29370 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29371 (write, read, close): Likewise.
29372 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29374 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29376 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29377 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29378 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29379 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29381 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29385 2012-02-14 Marek Polacek <polacek@redhat.com>
29387 * sysdeps/x86_64/crti.S: New file.
29388 * sysdeps/x86_64/crtn.S: New file.
29389 * sysdeps/x86_64/elf/initfini.c: Remove file.
29391 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29393 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29394 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29396 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29398 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29402 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29404 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29405 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29406 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29407 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29409 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29413 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29415 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29416 __feraiseexcept instead of feraiseexcept.
29418 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29419 nanosleep invocations.
29420 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29421 strings, and add error checking for a nanosleep invocations.
29423 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29425 Replace FSF snail mail address with URLs, as per GNU coding standards.
29426 Most of the snail mail addresses were wrong anyway, and omitting
29427 them makes the source code easier to maintain. Almost all of the
29428 changes are to license notices and to locale LC_IDENTIFICATION
29429 addresses, except for this one:
29430 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29431 not its snail mail address.
29433 2012-02-09 Richard Henderson <rth@twiddle.net>
29435 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29436 of kernel-features.h.
29438 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29440 2012-02-08 Marek Polacek <polacek@redhat.com>
29442 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29443 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29444 * sysdeps/gnu/_G_config.h: Likewise.
29445 * sysdeps/generic/_G_config.h: Likewise.
29447 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29449 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29453 * sysdeps/powerpc/powerpc32/crti.S: New file.
29454 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29455 * sysdeps/powerpc/powerpc64/crti.S: New file.
29456 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29458 * Makeconfig (have-initfini): Don't set.
29459 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29460 * configure.in (nopic_initfini): Don't substitute.
29461 * config.h.in (HAVE_INITFINI): Don't #undef.
29462 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29463 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29465 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29467 Support crti.S and crtn.S provided directly by architectures.
29468 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29469 [crti.S in sysdirs] (omit-deps): Likewise.
29470 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29471 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29472 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29473 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29474 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29475 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29476 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29477 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29478 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29479 compiler output for sysdeps/generic/initfini.c.
29480 * sysdeps/i386/elf/Makefile: Remove file.
29481 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29483 2012-02-07 Marek Polacek <polacek@redhat.com>
29485 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29486 * sysdeps/gnu/_G_config.h: Likewise.
29487 * sysdeps/mach/hurd/_G_config.h: Likewise.
29489 2012-02-07 Marek Polacek <polacek@redhat.com>
29491 * math/Makefile (tests): Add tst-CMPLX2.
29492 * math/tst-CMPLX2.c: New file.
29494 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29498 * math/libm-test.inc (jn_test): Add missing L suffix.
29500 2012-02-06 Marek Polacek <polacek@redhat.com>
29502 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29503 * sysdeps/i386/fpu/e_powf.S: Likewise.
29504 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29505 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29507 * sysdeps/i386/fpu/e_pow.S: Likewise.
29508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29512 * sysdeps/i386/fpu/e_log2.S: Likewise.
29513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29515 * sysdeps/i386/fpu/e_powl.S: Likewise.
29516 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29519 * sysdeps/i386/fpu/e_logl.S: Likewise.
29520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29521 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29522 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29523 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29524 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29526 * sysdeps/i386/fpu/e_log.S: Likewise.
29527 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29528 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29529 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29530 * sysdeps/i386/fpu/e_logf.S: Likewise.
29531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29533 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29534 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29535 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29536 * sysdeps/i386/fpu/e_log10.S: Likewise.
29537 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29538 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29539 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29540 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29542 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29543 * sysdeps/i386/asm-syntax.h: Likewise.
29544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29547 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29548 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29550 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29551 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29552 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29553 * sysdeps/powerpc/sysdep.h: Likewise.
29554 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29555 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29557 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29560 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29562 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29564 * sysdeps/i386/sysdep.h: Include <features.h>.
29565 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29568 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29570 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29572 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29575 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29577 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29578 (SETUP_PIC_REG): Use GET_PC_THUNK.
29579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29582 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29584 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29585 for non-PIC compilation.
29586 (SETUP_PIC_REG): Add .p2align directive.
29587 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29588 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29589 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29590 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29592 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29593 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29601 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29602 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29603 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29604 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29605 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29606 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29615 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29616 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29617 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29618 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29619 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29620 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29621 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29622 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29623 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29624 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29625 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29626 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29627 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29629 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29631 * math/tst-CMPLX.c: Include <stdio.h>.
29633 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29635 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29638 * sysdeps/sparc/bits/mathdef.h: Likewise.
29640 2012-01-31 Marek Polacek <polacek@redhat.com>
29642 * libio/libio.h: Don't define _PARAMS.
29643 * locale/programs/config.h: Don't define PARAMS.
29644 * stdlib/strtol_l.c: Likewise.
29645 (__strtol_l): Remove PARAMS from the prototype.
29647 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29649 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29650 names. Just use the correct names. Remove unnecessary wrapper
29652 * malloc/arena.c: Likewise.
29653 * malloc/hooks.c: Likewise.
29655 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29656 ARENA_TEST says not to. Simplify test for creation of a new arena.
29657 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29659 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29661 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29663 (update_get_addr): New function.
29664 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29665 GET_ADDR_MODULE parameter.
29667 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29669 * crypt/cert.c: Remove __STDC__ conditionals.
29670 * crypt/crypt-entry.c: Likewise.
29671 * crypt/crypt_util.c: Likewise.
29672 * libio/filedoalloc.c: Likewise.
29673 * libio/fileops.c: Likewise.
29674 * libio/genops.c: Likewise.
29675 * libio/iofclose.c: Likewise.
29676 * libio/iofdopen.c: Likewise.
29677 * libio/iofopen.c: Likewise.
29678 * libio/iofopen64.c: Likewise.
29679 * libio/iogetdelim.c: Likewise.
29680 * libio/iopopen.c: Likewise.
29681 * libio/obprintf.c: Likewise.
29682 * libio/oldfileops.c: Likewise.
29683 * libio/oldiofclose.c: Likewise.
29684 * libio/oldiofdopen.c: Likewise.
29685 * libio/oldiofopen.c: Likewise.
29686 * libio/oldiopopen.c: Likewise.
29687 * libio/wfiledoalloc.c: Likewise.
29688 * libio/wgenops.c: Likewise.
29689 * locale/programs/xmalloc.c: Likewise.
29690 * misc/syslog.c: Likewise.
29691 * stdio-common/xbug.c: Likewise.
29692 * string/memchr.c: Likewise.
29693 * string/memcmp.c: Likewise.
29694 * string/memrchr.c: Likewise.
29695 * string/rawmemchr.c: Likewise.
29696 * sysdeps/posix/getcwd.c: Likewise.
29697 * time/strftime_l.c: Likewise.
29699 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29701 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29702 * config.make.in (config-cflags-sse2avx): Define.
29703 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29706 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29708 * scripts/config.guess: Update from upstream config git repository.
29709 * scripts/config.sub: Likewise.
29711 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29713 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29715 (R_TILEPRO_*, R_TILEGX_*): New macros.
29717 * scripts/firstversions.awk: Fix bug in version range handling.
29719 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29721 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29723 * include/sys/epoll.h: New file.
29724 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29727 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29729 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29730 Avoid unnecessary __WORDSIZE == 64 test.
29731 (fmaxf): Use VEX format if possible.
29736 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29737 * math/math_private.h: Remove libc_fegetround* and
29739 * sysdeps/i386/configure.in: Check for -msse2avx.
29740 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29741 also if SSE2AVX is defined.
29742 Remove libc_fegetround* and libc_fesetround*.
29743 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29744 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29747 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29748 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29749 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29750 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29751 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29753 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29755 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29759 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29761 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29764 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29766 * Makeconfig (libm): Define.
29767 * elf/Makefile: Add rules to build and run tst-relsort1.
29768 * elf/tst-relsort1.c: New file.
29769 * elf/tst-relsort1mod1.c: New file.
29770 * elf/tst-relsort1mod2.c: New file.
29772 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29774 * math/s_ldexp.c: Remove __STDC__ conditionals.
29775 * math/s_ldexpf.c: Likewise.
29776 * math/s_ldexpl.c: Likewise.
29777 * math/s_nextafter.c: Likewise.
29778 * math/s_nexttowardf.c: Likewise.
29779 * math/s_significand.c: Likewise.
29780 * math/s_significandf.c: Likewise.
29781 * math/s_significandl.c: Likewise.
29782 * math/w_jnl.c: Likewise.
29783 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29784 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29785 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29786 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29787 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29795 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29796 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29810 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29811 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29812 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29813 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29814 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29815 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29817 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29819 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29820 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29821 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29822 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29823 * sysdeps/ieee754/k_standard.c: Likewise.
29824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29825 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29826 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29831 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29832 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29833 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29834 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29835 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29836 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29838 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29843 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29849 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29853 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29855 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29860 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29863 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29864 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29869 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29873 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29874 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29880 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29882 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29884 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29885 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29886 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29888 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29889 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29890 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29891 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29892 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29895 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29896 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29900 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29901 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29902 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29903 * sysdeps/ieee754/s_matherr.c: Likewise.
29904 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29905 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29909 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29911 * crypt/md5.h: Remove __STDC__ conditionals.
29912 * libio/libioP.h: Likewise.
29913 * locale/programs/config.h: Likewise.
29914 * sysdeps/generic/sysdep.h: Likewise.
29915 * sysdeps/i386/asm-syntax.h: Likewise.
29916 * sysdeps/s390/asm-syntax.h: Likewise.
29917 * sysdeps/unix/sysdep.h: Likewise.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29921 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29923 * libio/libio.h: Remove __STDC__ conditionals.
29924 * malloc/obstack.h: Likewise.
29925 * math/complex.h: Likewise.
29926 * math/math.h: Likewise.
29927 * sysdeps/generic/_G_config.h: Likewise.
29928 * sysdeps/gnu/_G_config.h: Likewise.
29929 * sysdeps/mach/hurd/_G_config.h: Likewise.
29930 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29931 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29932 * sysdeps/sparc/bits/mathdef.h: Likewise.
29934 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29937 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29938 Clean up HAS_* macros.
29939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29940 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29942 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29944 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29945 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29950 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29952 * elf/tst-unique3.cc (gets): Remove declaration.
29953 * elf/tst-unique3lib.cc (gets): Likewise.
29954 * elf/tst-unique3lib2.cc (gets): Likewise.
29955 * elf/tst-unique4.cc (gets): Likewise.
29957 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29959 * include/stdio.h: Add C++ protection. Add gets declarations and
29961 * debug/tst-chk1.c: Don't declare gets here.
29962 * stdio-common/tst-gets.c: Likewise.
29964 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29966 * posix/glob: Remove directory.
29968 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29970 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29972 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29974 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29975 of the non-standard EPFNOSUPPORT.
29977 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29979 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29980 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29981 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29983 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29985 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29987 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29989 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29991 * nscd/grpcache.c (cache_addgr): Likewise.
29992 * nscd/hstcache.c (cache_addhst): Likewise.
29993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29994 * nscd/pwdcache.c (cache_addpw): Likewise.
29995 * nscd/servicescache.c (cache_addserv): Likewise.
29997 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29999 * malloc/malloc.c: Various cleanups.
30000 * malloc/hooks.c: Likewise.
30002 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30003 * stdlib/bug-fmtmsg1.c: New file.
30005 * stdlib/fmtmsg.c (init): Add missing unlock.
30006 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30008 2012-01-12 Marek Polacek <polacek@redhat.com>
30010 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30013 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30015 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30016 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30017 macro to ensure uniqueness of label name.
30018 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30019 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30021 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30023 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30030 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30034 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30035 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30036 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30038 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30041 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30045 * math/bits/math-finite.h: Add ldexp support.
30047 2012-01-10 Marek Polacek <polacek@redhat.com>
30049 * locale/programs/localedef.h (show_archive_content): Add noreturn
30052 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30056 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30058 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30060 * io/Makefile (headers): Add bits/poll2.h.
30062 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30065 typo #include statement.
30067 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30069 * include/sys/cdefs.h: Define __attribute_alloc_size.
30070 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30071 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30072 * elf/pldd.c: Likewise.
30073 * iconv/iconv_charmap.c: Likewise.
30074 * iconv/iconvconfig.c: Likewise.
30075 * iconv/strtab.c: Likewise.
30076 * locale/programs/locale.c: Likewise.
30077 * locale/programs/localedef.h: Likewise.
30078 * locale/programs/simple-hash.c: Likewise.
30079 * nscd/nscd.h: Likewise.
30080 * nss/makedb.c: Likewise.
30081 * sysdeps/generic/ldconfig.h: Likewise.
30082 * locale/programs/localedef.c: Remove xmalloc prototype.
30083 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30085 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30090 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30092 * math/Makefile (tests): Add tst-CMPLX.
30093 * math/tst-CMPLX.c: New file.
30095 * math/complex.h (CMPLXL): Fix typo.
30097 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30098 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30100 * debug/tst-chk1.c: Add poll and ppoll tests.
30101 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30102 * include/sys/poll.h: Add hidden proto for ppoll.
30103 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30104 * sysdeps/mach/hurd/ppoll.c: Likewise.
30105 * io/ppoll.c: Likewise.
30106 * debug/poll_chk.c: New file.
30107 * debug/ppoll_chk.c: New file.
30108 * include/bits/poll2.h: New file.
30109 * io/bits/poll2.h: New file.
30112 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30114 * configure.in: static is always set to yes. Remove.
30115 * config.make.in: Don't set build-static.
30116 * Makeconfig: Remove use of build-static.
30117 * dlfcn/Makefile: Likewise.
30118 * elf/Makefile: Likewise.
30119 * math/Makefile: Likewise.
30120 * misc/Makefile: Likewise.
30121 * nptl/Makefile: Likewise.
30122 * sysdeps/mach/hurd/Makefile: Likewise.
30124 * configure.in: PWD_P is not used anymore.
30125 * config.make.in: Remove PWD_P entry.
30127 * configure.in: Remove last remnants of RANLIB.
30128 No need to check for signed size_t anymore.
30129 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30131 Remove __builtin_expect test because we require at least gcc 3.4.
30132 * aclocal.m4: Likewise.
30134 * wcsmbs/mbrtoc16.c: Implement using towc function.
30135 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30136 * wcsmbs/wcsmbsload.c: Likewise.
30137 * iconv/gconv_simple.c: Likewise.
30138 * iconv/gconv_int.h: Likewise.
30139 * iconv/gconv_builtin.h: Likewise.
30140 * iconv/iconv_prog.c: Remove CHAR16 handling.
30142 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30144 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30146 * configure.in: Remove --with-elf and --enable-bounded options.
30147 Dont set base_machine for ia64. More non-ELF conditions removed.
30148 Remove testing and setting of leading underscore information.
30149 * config.make.in (build-bounded): Set to no.
30150 * config.h.in: Remove NO_UNDERSCORES entry.
30151 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30153 * csu/start.c: Remove !NO_UNDERSCORE code.
30154 * locale/localeinfo.h: Likewise.
30155 * sysdeps/generic/machine-gmon.h: Likewise.
30156 * sysdeps/generic/sysdep.h: Likewise.
30157 * sysdeps/i386/sysdep.h: Likewise.
30158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30159 * sysdeps/mach/sysdep.h: Likewise.
30160 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30162 * sysdeps/sh/sysdep.h: Likewise.
30163 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30164 * sysdeps/unix/i386/sysdep.S: Likewise.
30165 * sysdeps/unix/sparc/start.c: Likewise.
30166 * sysdeps/unix/sparc/sysdep.S: Likewise.
30167 * sysdeps/unix/sparc/sysdep.h: Likewise.
30168 * sysdeps/unix/start.c: Likewise.
30169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30170 * sysdeps/x86_64/sysdep.h: Likewise.
30172 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30175 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30177 * argp/argp-fmtstream.h: Use const instead __const.
30178 * argp/argp.h: Likewise.
30179 * assert/assert.h: Likewise.
30180 * bits/fenv.h: Likewise.
30181 * bits/sched.h: Likewise.
30182 * bits/sigset.h: Likewise.
30183 * bits/sigthread.h: Likewise.
30184 * catgets/nl_types.h: Likewise.
30185 * conform/data/pthread.h-data: Likewise.
30186 * crypt/crypt-private.h: Likewise.
30187 * crypt/crypt.h: Likewise.
30188 * crypt/crypt_util.c: Likewise.
30189 * ctype/ctype.h: Likewise.
30190 * debug/execinfo.h: Likewise.
30191 * debug/mbsnrtowcs_chk.c: Likewise.
30192 * debug/mbsrtowcs_chk.c: Likewise.
30193 * debug/wcsnrtombs_chk.c: Likewise.
30194 * debug/wcsrtombs_chk.c: Likewise.
30195 * debug/wcstombs_chk.c: Likewise.
30196 * dirent/dirent.h: Likewise.
30197 * dlfcn/dlfcn.h: Likewise.
30198 * elf/neededtest4.c: Likewise.
30199 * grp/grp.h: Likewise.
30200 * gshadow/gshadow.h: Likewise.
30201 * iconv/gconv.h: Likewise.
30202 * iconv/gconv_int.h: Likewise.
30203 * iconv/gconv_simple.c: Likewise.
30204 * iconv/iconv.h: Likewise.
30205 * iconv/loop.c: Likewise.
30206 * iconv/skeleton.c: Likewise.
30207 * include/aio.h: Likewise.
30208 * include/aliases.h: Likewise.
30209 * include/argz.h: Likewise.
30210 * include/arpa/inet.h: Likewise.
30211 * include/assert.h: Likewise.
30212 * include/dirent.h: Likewise.
30213 * include/dlfcn.h: Likewise.
30214 * include/execinfo.h: Likewise.
30215 * include/fcntl.h: Likewise.
30216 * include/fenv.h: Likewise.
30217 * include/glob.h: Likewise.
30218 * include/grp.h: Likewise.
30219 * include/libintl.h: Likewise.
30220 * include/mntent.h: Likewise.
30221 * include/netdb.h: Likewise.
30222 * include/pwd.h: Likewise.
30223 * include/rpc/netdb.h: Likewise.
30224 * include/sched.h: Likewise.
30225 * include/search.h: Likewise.
30226 * include/shadow.h: Likewise.
30227 * include/signal.h: Likewise.
30228 * include/stdio.h: Likewise.
30229 * include/stdlib.h: Likewise.
30230 * include/string.h: Likewise.
30231 * include/sys/socket.h: Likewise.
30232 * include/sys/stat.h: Likewise.
30233 * include/sys/statfs.h: Likewise.
30234 * include/sys/statvfs.h: Likewise.
30235 * include/sys/syslog.h: Likewise.
30236 * include/sys/time.h: Likewise.
30237 * include/sys/uio.h: Likewise.
30238 * include/time.h: Likewise.
30239 * include/unistd.h: Likewise.
30240 * include/utmp.h: Likewise.
30241 * include/wchar.h: Likewise.
30242 * include/wctype.h: Likewise.
30243 * inet/aliases.h: Likewise.
30244 * inet/arpa/inet.h: Likewise.
30245 * inet/netinet/ether.h: Likewise.
30246 * inet/netinet/in.h: Likewise.
30247 * intl/libintl.h: Likewise.
30248 * io/bits/fcntl2.h: Likewise.
30249 * io/fcntl.h: Likewise.
30250 * io/ftw.h: Likewise.
30251 * io/sys/poll.h: Likewise.
30252 * io/sys/stat.h: Likewise.
30253 * io/sys/statfs.h: Likewise.
30254 * io/sys/statvfs.h: Likewise.
30255 * io/utime.h: Likewise.
30256 * libio/bits/stdio.h: Likewise.
30257 * libio/bits/stdio2.h: Likewise.
30258 * libio/libio.h: Likewise.
30259 * libio/libioP.h: Likewise.
30260 * libio/stdio.h: Likewise.
30261 * locale/lc-ctype.c: Likewise.
30262 * locale/locale.h: Likewise.
30263 * login/utmp.h: Likewise.
30264 * malloc/arena.c: Likewise.
30265 * malloc/malloc.c: Likewise.
30266 * malloc/malloc.h: Likewise.
30267 * malloc/mcheck.c: Likewise.
30268 * malloc/mtrace.c: Likewise.
30269 * math/bits/mathcalls.h: Likewise.
30270 * math/fenv.h: Likewise.
30271 * math/math_private.h: Likewise.
30272 * misc/bits/error.h: Likewise.
30273 * misc/bits/syslog.h: Likewise.
30274 * misc/err.h: Likewise.
30275 * misc/error.h: Likewise.
30276 * misc/fstab.h: Likewise.
30277 * misc/mntent.h: Likewise.
30278 * misc/regexp.h: Likewise.
30279 * misc/search.h: Likewise.
30280 * misc/sgtty.h: Likewise.
30281 * misc/sys/mman.h: Likewise.
30282 * misc/sys/syslog.h: Likewise.
30283 * misc/sys/uio.h: Likewise.
30284 * misc/sys/xattr.h: Likewise.
30285 * misc/ttyent.h: Likewise.
30286 * nis/rpcsvc/ypclnt.h: Likewise.
30287 * nss/nss.h: Likewise.
30288 * posix/bits/unistd.h: Likewise.
30289 * posix/fnmatch.h: Likewise.
30290 * posix/glob.h: Likewise.
30291 * posix/sched.h: Likewise.
30292 * posix/spawn.h: Likewise.
30293 * posix/sys/wait.h: Likewise.
30294 * posix/unistd.h: Likewise.
30295 * posix/wordexp.h: Likewise.
30296 * pwd/pwd.h: Likewise.
30297 * resolv/netdb.h: Likewise.
30298 * resource/sys/resource.h: Likewise.
30299 * rt/aio.h: Likewise.
30300 * rt/bits/mqueue2.h: Likewise.
30301 * rt/mqueue.h: Likewise.
30302 * shadow/shadow.h: Likewise.
30303 * signal/signal.h: Likewise.
30304 * socket/send.c: Likewise.
30305 * socket/sendto.c: Likewise.
30306 * socket/sys/socket.h: Likewise.
30307 * stdio-common/printf.h: Likewise.
30308 * stdlib/bits/stdlib.h: Likewise.
30309 * stdlib/fmtmsg.h: Likewise.
30310 * stdlib/monetary.h: Likewise.
30311 * stdlib/stdlib.h: Likewise.
30312 * stdlib/ucontext.h: Likewise.
30313 * streams/stropts.h: Likewise.
30314 * string/argz.h: Likewise.
30315 * string/bits/string2.h: Likewise.
30316 * string/string.h: Likewise.
30317 * string/strings.h: Likewise.
30318 * sunrpc/rpc/auth.h: Likewise.
30319 * sunrpc/rpc/auth_des.h: Likewise.
30320 * sunrpc/rpc/clnt.h: Likewise.
30321 * sunrpc/rpc/netdb.h: Likewise.
30322 * sunrpc/rpc/pmap_clnt.h: Likewise.
30323 * sunrpc/rpc/xdr.h: Likewise.
30324 * sysdeps/generic/inttypes.h: Likewise.
30325 * sysdeps/generic/net/if.h: Likewise.
30326 * sysdeps/generic/sys/swap.h: Likewise.
30327 * sysdeps/gnu/net/if.h: Likewise.
30328 * sysdeps/gnu/utmpx.h: Likewise.
30329 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30330 * sysdeps/i386/i486/bits/string.h: Likewise.
30331 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30332 * sysdeps/s390/bits/string.h: Likewise.
30333 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30334 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30335 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30336 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30337 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30338 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30339 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30340 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30341 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30342 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30343 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30344 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30345 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30346 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30347 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30348 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30349 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30355 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30356 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30357 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30358 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30361 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30363 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30364 * sysvipc/sys/ipc.h: Likewise.
30365 * sysvipc/sys/msg.h: Likewise.
30366 * sysvipc/sys/sem.h: Likewise.
30367 * sysvipc/sys/shm.h: Likewise.
30368 * termios/termios.h: Likewise.
30369 * time/sys/time.h: Likewise.
30370 * time/time.h: Likewise.
30371 * wcsmbs/bits/wchar2.h: Likewise.
30372 * wcsmbs/uchar.h: Likewise.
30373 * wcsmbs/wchar.h: Likewise.
30374 * wctype/wctype.h: Likewise.
30377 * Makeconfig: Remove all but ELF support including AIX support.
30378 * Makerules: Likewise.
30379 * config.h.in: Likewise.
30380 * config.make.in: Likewise.
30381 * configure: Likewise.
30382 * configure.in: Likewise.
30383 * csu/Makefile: Likewise.
30384 * csu/version.c: Likewise.
30385 * debug/Makefile: Likewise.
30386 * dlfcn/Makefile: Likewise.
30387 * elf/Makefile: Likewise.
30388 * extra-lib.mk: Likewise.
30389 * iconv/Makefile: Likewise.
30390 * include/libc-symbols.h: Likewise.
30391 * include/shlib-compat.h: Likewise.
30392 * resolv/Makefile: Likewise.
30393 * resolv/res_libc.c: Likewise.
30394 * rt/Makefile: Likewise.
30395 * sysdeps/i386/asm-syntax.h: Likewise.
30396 * sysdeps/i386/sysdep.h: Likewise.
30397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30398 * sysdeps/mach/sysdep.h: Likewise.
30399 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30400 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30401 * sysdeps/s390/asm-syntax.h: Likewise.
30402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30404 * sysdeps/sh/sysdep.h: Likewise.
30405 * sysdeps/unix/sparc/sysdep.h: Likewise.
30406 * sysdeps/wordsize-32/divdi3.c: Likewise.
30407 * sysdeps/x86_64/sysdep.h: Likewise.
30409 * argp/Versions: Remove _argp_unlock_xxx.
30412 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30413 * abilist/libBrokenLocale.abilist: Likewise.
30414 * abilist/libanl.abilist: Likewise.
30415 * abilist/libc.abilist: Likewise.
30416 * abilist/libcrypt.abilist: Likewise.
30417 * abilist/libdl.abilist: Likewise.
30418 * abilist/libm.abilist: Likewise.
30419 * abilist/libnsl.abilist: Likewise.
30420 * abilist/libpthread.abilist: Likewise.
30421 * abilist/libresolv.abilist: Likewise.
30422 * abilist/librt.abilist: Likewise.
30423 * abilist/libthread_db.abilist: Likewise.
30424 * abilist/libutil.abilist: Likewise.
30425 * abilist/libnss_db.abilist: New file.
30427 * scripts/abilist.awk: Add support for indirect functions.
30429 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30431 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30433 * shlib-versions: Remove entries for ports architectures.
30435 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30437 * elf/stackguard-macros.h: Remove support for IA-64.
30438 * elf/tst-auditmod1.c: Likewise.
30439 * sysdeps/generic/ldsodefs.h: Likewise.
30441 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30442 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30446 * configure.in: Remove --enable-omitfp support.
30448 * config.make.in: Likewise.
30449 * Makeconfig: Likewise.
30450 * manual/install.texi: Likewise.
30452 In case anyone cares, the IA-64 architecture could move to ports.
30453 * sysdeps/ia64/*: Removed.
30454 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30455 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30458 * configure.in: Remove entries for unsupported architectures.
30461 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30462 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30464 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30465 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30466 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30467 fall back to using wcrtomb.
30468 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30469 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30471 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30472 * wcsmbs/tst-c16c32-1.c: New file.
30474 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30477 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30479 * elf/tst-unique3.cc: Add explicit declaration of gets.
30480 * elf/tst-unique3lib.cc: Likewise.
30481 * elf/tst-unique3lib2.cc: Likewise.
30482 * elf/tst-unique4.cc: Likewise.
30484 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30486 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30489 * assert/assert.h (static_assert): Don't define for C++.
30490 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30491 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30493 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30495 * iconv/loop.c (single loop): Fix assertion in storing of
30498 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30500 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30502 * posix/getconf.c: Update copyright year.
30503 * nss/getent.c: Likewise.
30504 * nss/makedb.c: Likewise.
30505 * iconv/iconvconfig.c: Likewise.
30506 * iconv/iconv_prog.c: Likewise.
30507 * elf/ldconfig.c: Likewise.
30508 * elf/pldd.c: Likewise.
30509 * elf/sotruss.ksh: Likewise.
30510 * catgets/gencat.c: Likewise.
30511 * csu/version.c: Likewise.
30512 * elf/ldd.bash.in: Likewise.
30513 * elf/sprof.c (print_version): Likewise.
30514 * locale/programs/locale.c: Likewise.
30515 * locale/programs/localedef.c: Likewise.
30516 * login/programs/pt_chown.c: Likewise.
30517 * nscd/nscd.c (print_version): Likewise.
30518 * debug/xtrace.sh: Likewise.
30519 * malloc/memusage.sh: Likewise.
30520 * malloc/mtrace.pl: Likewise.
30521 * debug/catchsegv.sh: Likewise.
30523 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30525 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30528 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30531 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30532 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30534 * iconv/gconv_int.h: Likewise.
30535 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30536 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30537 from libc for GLIBC_2.16.
30538 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30539 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30540 * wcsmbs/uchar.h: Really define mbstate_t.
30541 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30542 * wcsmbs/c16rtomb.c: New file.
30543 * wcsmbs/mbrtoc16.c: New file.
30544 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30545 for C/POSIX locale.
30546 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30547 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30549 * wcsmbs/wchar.h: Add missing __restrict.
30551 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30554 * time/Makefile (routines): Add timespec_get.
30555 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30556 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30557 timespec for ISO C11.
30558 * time/timespec_get.c: New file.
30559 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30560 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30563 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30564 * stdlib/stdlib.h: Declare aligned_alloc.
30565 * Versions.def: Add GLIBC_2.16 for libc.
30566 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30569 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30572 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30576 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30579 * assert/assert.h (static_assert): Define.
30581 * version.h: Update for 2.16 development version.
30584 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30587 * version.h (RELEASE): Bump for 2.15 release.
30588 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30590 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30591 Patch by Marek Polacek <mpolacek@redhat.com>.
30593 * bits/byteswap.h: Protect long long constants with __extension__.
30594 * sysdeps/i386/bits/byteswap.h: Likewise.
30595 * sysdeps/ia64/bits/byteswap.h: Likewise.
30596 * sysdeps/s390/bits/byteswap.h: Likewise.
30597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30599 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30603 destination buffer.
30604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30606 2011-12-23 Marek Polacek <polacek@redhat.com>
30608 * elf/dl-addr.c (determine_info): Add inline keyword.
30609 * elf/tst-auditmod4b.c (check_avx): Likewise.
30610 * elf/tst-auditmod6b.c (check_avx): Likewise.
30611 * elf/tst-auditmod6c.c (check_avx): Likewise.
30612 * elf/tst-auditmod7b.c (check_avx): Likewise.
30614 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30619 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30622 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30623 processing for last bytes.
30625 2011-08-06 Bruno Haible <bruno@clisp.org>
30628 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30629 U+0385, not to U+1FEE.
30632 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30633 entry for U+00A5 U+0301.
30635 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30638 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30639 buffer for the output is too small.
30641 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30645 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30646 SSE flags if possible.
30648 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30652 processing for last bytes.
30654 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30656 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30657 (syscall-list-default-options, syscall-list-default-condition)
30658 (syscall-list-includes): Define.
30659 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30660 list of ABIs and options and #if conditions for each ABI. Do not
30661 handle common syscalls between ABIs specially.
30662 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30664 (syscall-list-variants, syscall-list-32bit-options)
30665 (syscall-list-32bit-condition, syscall-list-64bit-options)
30666 (syscall-list-64bit-condition): Define.
30667 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30668 (syscall-list-variants, syscall-list-32bit-options)
30669 (syscall-list-32bit-condition, syscall-list-64bit-options)
30670 (syscall-list-64bit-condition): Define.
30671 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30673 (syscall-list-variants, syscall-list-32bit-options)
30674 (syscall-list-32bit-condition, syscall-list-64bit-options)
30675 (syscall-list-64bit-condition): Define.
30676 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30678 (syscall-list-variants, syscall-list-32bit-options)
30679 (syscall-list-32bit-condition, syscall-list-64bit-options)
30680 (syscall-list-64bit-condition): Define.
30682 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30684 * locale/iso-639.def: Add brx entry.
30687 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30688 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30690 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30691 __feraiseexcept_renamed.
30693 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30696 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30697 EPOLLET with unsigned values.
30698 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30701 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30702 to large cancellation.
30703 * math/s_cacoshf.c: Likewise.
30704 * math/s_cacoshl.c: Likewise.
30706 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30710 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30711 * math/s_cacoshf.c: Likewise.
30712 * math/s_cacoshl.c: Likewise.
30714 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30717 * iconv/gconv.h: Define __GCONV_SWAP.
30718 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30719 * iconvdata/utf-16.c: Likewise.
30720 * iconvdata/utf-32.c: Likewise.
30722 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30726 numerator after shifting it by one limb.
30728 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30731 under [__USE_EXTERN_INLINES].
30733 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30736 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30738 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30740 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30741 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30743 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30744 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30745 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30746 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30747 for strncasecmp/strncasecmp_l compilation.
30748 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30749 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30751 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30754 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30757 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30760 * time/tzfile.c (__tzfile_read): Check values from file header.
30762 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30764 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30765 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30766 * powerpc/powerpc32/dl-start.S: Likewise.
30767 * powerpc/powerpc32/elf/start.S: Likewise.
30768 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30769 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30770 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30771 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30772 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30773 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30774 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30775 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30776 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30777 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30778 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30779 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30780 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30781 * powerpc/powerpc32/memset.S: Likewise.
30782 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30783 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30784 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30785 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30786 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30787 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30788 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30789 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30790 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30791 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30792 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30793 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30794 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30796 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30798 * math/libm-test.inc: Added more nearbyint tests.
30799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30804 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30806 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30809 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30811 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30812 Add wcscpy-ssse3 wcscpy-c.
30813 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30814 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30815 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30816 * sysdeps/x86_64/wcschr.S: New file.
30817 * sysdeps/x86_64/wcsrchr.S: New file.
30818 * string/test-strcmp.c: Remove checking of wcscmp function for
30820 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30821 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30822 wcsrchr-sse2 wcsrchr-c.
30823 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30824 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30825 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30826 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30827 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30828 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30829 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30830 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30831 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30832 * wcsmbc/wcschr.c (WCSCHR): New macro.
30834 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30836 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30837 * wcsmbs/test-wcsrchr.c: New file.
30838 * string/test-strrchr.c: Add wcsrchr support.
30840 * wcsmbs/test-wcscpy.c: New file.
30841 * string/test-strcpy.c: Add wcscpy support.
30844 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30849 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30852 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30854 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30857 Minor optimizations.
30859 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30860 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30861 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30863 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30865 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30866 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30867 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30868 for gcc to avoid warnings.
30869 * inet/Makefile (tests): Add tst-checks.
30870 * inet/tst-checks.c: New file.
30872 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30875 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30878 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30879 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30881 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30883 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30885 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30888 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30890 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30892 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30893 conditional on GCC version.
30894 (__arch_compare_and_exchange_val_8_acq)
30895 (__arch_compare_and_exchange_val_16_acq)
30896 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30897 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30898 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30900 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30902 * sysdeps/sh/backtrace.c: New file.
30904 2011-12-02 Andreas Schwab <schwab@redhat.com>
30906 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30909 2011-12-01 Andreas Schwab <schwab@redhat.com>
30911 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30912 falling back to utime.
30914 2011-11-30 Andreas Schwab <schwab@redhat.com>
30916 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30917 expectations for float.
30919 2011-11-29 Andreas Schwab <schwab@redhat.com>
30921 * locale/weight.h (findidx): Add parameter len.
30922 * locale/weightwc.h (findidx): Likewise.
30923 * posix/fnmatch_loop.c (FCT): Adjust caller.
30924 * posix/regcomp.c (build_equiv_class): Likewise.
30925 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30926 * posix/regexec.c (check_node_accept_bytes): Likewise.
30927 * string/strcoll_l.c (STRCOLL): Likewise.
30928 * string/strxfrm_l.c (STRXFRM): Likewise.
30930 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30932 * Makefile.in: Remove CVSOPT handling.
30933 * configure.in: Remove use of AC_REVISION.
30934 * iconvdata/Makefile (distribute): No need to filter out CVS.
30935 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30938 2011-11-16 Andreas Schwab <schwab@redhat.com>
30940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30941 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30942 [USE_AS_STRNCASECMP_L]: Likewise.
30943 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30944 NO_TLS_DIRECT_SEG_REFS.
30945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30946 Fix argument offsets for non-PIC.
30947 [USE_AS_STRNCASECMP_L]: Likewise.
30948 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30949 NO_TLS_DIRECT_SEG_REFS.
30951 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30953 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30955 * locale/loadlocale.c (_nl_load_locale): Likewise.
30957 2011-11-15 Andreas Schwab <schwab@redhat.com>
30959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30960 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30961 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30962 (SYSCALL_GETTIME): Set errno on error.
30964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30965 count references to noai6ai_cached.
30967 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30969 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30971 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30972 FD_CLOEXEC for /proc/self/maps.
30974 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30975 FD_CLOEXEC for /proc/meminfo.
30977 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30980 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30981 FD_CLOEXEC for given file.
30983 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30985 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30986 FD_CLOEXEC for /etc/hosts.
30987 (_gethtent): Likewise.
30989 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30991 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30992 cancellation and set FD_CLOEXEC for /etc/netgroup.
30994 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30995 reading /etc/publickey.
30997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30998 allow cancellation when reading /etc/group.
31000 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31002 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31004 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31005 when using data file.
31007 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31009 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31010 (write_nis_obj): Use "c" and "e" in fopen.
31012 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31014 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31016 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31018 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31020 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31023 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31025 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31027 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31029 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31030 file parsing and set FD_CLOEXEC.
31032 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31034 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31036 2011-11-14 Andreas Schwab <schwab@redhat.com>
31038 * malloc/arena.c (arena_get2): Don't call reused_arena when
31039 _int_new_arena failed.
31041 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31043 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31044 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31045 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31049 to compile strcasecmp and strncasecmp.
31050 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31051 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31055 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31057 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31058 locale-defines.sym to gen-as-const-headers.
31059 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31060 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31062 to compile strcasecmp and strncasecmp.
31063 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31064 strcasecmp_l and strncasecmp_l.
31065 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31066 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31067 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31068 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31069 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31070 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31071 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31072 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31073 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31074 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31075 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31077 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31079 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31080 result of SYSDEP_GETTIME_CPU to retval.
31081 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31082 parameter list to macro. Remove trailing semicolon. Adjust users.
31084 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31087 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31089 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31091 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31092 from unused variable.
31094 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31096 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31099 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31102 * sunrpc/rpc_prot.c (rejected): Fix case value.
31104 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31105 unsigned long long int to avoid warnings in shift.
31107 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31109 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31112 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31114 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31116 * nis/nis_table.c (nis_list): Use variable of correct type for
31117 result of __follow_path call.
31119 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31121 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31122 of math functions ceil, trunc, floor, round, and sqrt, when
31123 avaliable on the platform.
31124 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31126 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31128 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31130 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31132 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31133 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31135 2011-11-11 Roland McGrath <roland@hack.frob.com>
31137 * include/unistd.h: Fix __readlink return type.
31138 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31140 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31142 * stdlib/ucontext.h: Undo last change for makecontext.
31144 2011-11-11 Andreas Schwab <schwab@redhat.com>
31146 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31148 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31149 * setjmp/setjmp.h: Mark functions as non-leaf.
31150 * setjmp/bits/setjmp2.h: Likewise.
31151 * stdlib/ucontext.h: Likewise.
31153 2011-11-10 Andreas Schwab <schwab@redhat.com>
31155 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31156 (reused_arena): Don't check arena limit.
31157 (arena_get2): Atomically check arena limit.
31159 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31161 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31162 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31167 2011-11-07 Andreas Schwab <schwab@redhat.com>
31169 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31170 handler when locking.
31172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31173 Fix size of allocated buffer.
31175 2011-11-04 Andreas Schwab <schwab@redhat.com>
31178 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31179 declarations for long double functions.
31180 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31182 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31184 2011-11-03 Andreas Schwab <schwab@redhat.com>
31186 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31189 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31192 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31194 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31196 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31198 * include/alloca.h (stackinfo_alloca_round): Define.
31199 (extend_alloca): Use it.
31200 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31201 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31204 * scripts/check-local-headers.sh: Ignore libaudit.h.
31206 * nscd/Makefile (extra-objs): Make recursively expanded.
31208 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31210 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31213 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31214 * posix/tst-rfc3484-2.c: Likewise.
31215 * posix/tst-rfc3484-3.c: Likewise.
31217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31219 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31221 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31222 process_vm_writev from libc using GLIBC_2.15 version.
31224 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31226 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31228 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31231 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31234 * nss/getent.c (initgroups_keys): Show error message in case no group
31237 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31238 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31239 __bump_nl_timestamp.
31240 * nscd/connections (nscd_init): When host database is served open
31241 netlink socket and request notification about configuration changes.
31242 (main_loop_poll): Track netlink file descriptor and bump timestamp
31243 in case data becomes available.
31244 (main_loop_epoll): Likewise.
31245 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31246 (database_pers_head): Add extra_data fileds.
31247 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31249 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31252 in6ai data, call __free_in6ai.
31253 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31254 Add -DHAVE_NETLINK.
31255 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31256 interface information. Reuse previous data if netlink timestamp
31258 (__bump_nl_timestamp): New function.
31259 (__free_in6ai): New function.
31261 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31264 close_not_cancel_no_status here.
31265 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31267 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31270 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31273 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31274 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31275 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31277 2011-07-03 Andreas Jaeger <aj@suse.de>
31280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31281 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31282 * math/libm-test.inc (sin_test): Add test case.
31284 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31287 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31288 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31290 * elf/chroot_canon.c (chroot_canon): Cleanups.
31292 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31295 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31296 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31298 * string/test-strchr.c: Make usable for strchrnul testing.
31299 * string/test-strchrnul.c: New file.
31300 * string/Makefile (strop-tests): Add strchrnul.
31302 * po/it.po: Update from translation team.
31303 * po/es.po: Likewise.
31305 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31308 the three constants needed as parameters. Drop the others.
31309 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31310 __m128i_strloadu_tolower.
31311 Create and initialize variable zero and use it in all the places
31312 where _mm_setzero_si128 was used.
31314 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31315 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31316 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31319 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31322 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31323 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31324 __mpranred, __mptan.
31325 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31326 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31327 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31328 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31333 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31335 2011-10-28 Andreas Schwab <schwab@redhat.com>
31337 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31338 redefine if SHARED.
31339 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31342 wide char related routines to wcsmbs subdir.
31344 2011-10-27 Andreas Schwab <schwab@redhat.com>
31347 * misc/sys/cdefs.h (__THROWNL): Define.
31348 * posix/unistd.h: Use __THREADNL instead of __THREAD
31349 for memory synchronization functions.
31351 2011-10-26 Roland McGrath <roland@hack.frob.com>
31354 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31356 * manual/stdio.texi (Obstack Streams): Node removed.
31358 2011-10-26 Andreas Schwab <schwab@redhat.com>
31360 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31362 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31364 * math/math_private.h (math_force_eval): Allow non-addressable
31366 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31368 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31370 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31371 file is not needed.
31373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31380 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31382 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31383 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31384 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31385 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31387 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31388 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31390 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31391 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31392 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31393 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31396 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31397 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31398 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31399 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31400 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31402 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31403 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31406 place. Use VEX encoding when compiling for AVX.
31408 2011-10-25 Andreas Schwab <schwab@redhat.com>
31410 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31411 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31413 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31415 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31417 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31418 useless if() expression.
31419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31420 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31422 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31423 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31431 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31437 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31439 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31441 2011-10-25 Andreas Schwab <schwab@redhat.com>
31443 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31447 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31449 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31450 .text section. Avoid duplicate constants.
31451 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31459 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31460 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31461 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31462 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31463 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31465 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31467 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31468 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31469 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31471 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31472 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31473 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31475 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31478 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31480 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31481 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31497 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31499 * sysdeps/x86_64/dla.h: Move to ...
31500 * sysdeps/x86_64/fpu/dla.h: ...here.
31501 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31502 situations. Use __builtin_fma only for gcc 4.6 and up.
31504 * config.make.in: Add have-mfma4 entry.
31505 * configure.in: Substitute libc_cv_cc_fma4.
31506 * math/Makefile (dbl-only-routines): Add sincostab.
31507 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31508 Use __sincostab not sincos.
31509 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31516 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31517 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31518 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31519 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31522 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31524 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31525 define aliases when function name is a macro.
31526 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31527 sysdeps/ieee754/dbl-64/sincos.tbl.
31528 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31529 fma4-enabled routines.
31530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31531 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31532 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31533 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31534 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31535 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31539 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31540 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31541 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31542 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31543 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31545 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31546 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31547 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31548 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31550 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31551 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31561 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31572 2011-10-24 Andreas Schwab <schwab@redhat.com>
31574 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31576 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31580 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31584 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31585 Remove unused variable magic_bits.
31586 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31588 * string/strnlen.c: Define and use STRNLEN macro.
31589 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31590 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31592 * wcsmbs/wcslen.c: Define and use WCSLEN.
31593 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31594 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31595 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31596 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31597 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31598 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31599 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31601 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31604 strnlen-sse2-no-bsf.
31605 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31607 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31608 Add strnlen support.
31609 (USE_AS_STRNLEN): New macro.
31610 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31612 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31613 * sysdeps/x86_64/wcslen.S: New file.
31615 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31618 XMM-moves are used for copying on small sizes.
31620 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31622 * wcsmbs/Makefile (strop-tests): Add wcschr.
31623 * wcsmbs/test-wcschr.c: New file.
31624 * string/test-strchr.c: Update.
31625 Add wcschr support.
31628 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31630 * wcsmbs/Makefile (strop-tests): Add wcslen.
31631 * wcsmbs/test-wcslen.c: New file.
31632 * string/test-strlen.c: Update.
31633 Add wcslen support.
31636 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31638 * po/it.po: Update from translation team.
31640 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31642 * sysdeps/x86_64/wcscmp.S: Update.
31643 Fix wrong comparison semantics.
31644 wcscmp shall use signed comparison not unsigned.
31645 Don't use substraction to avoid overflow bug.
31646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31647 * wcsmbc/wcscmp.c: Likewise.
31648 * string/test-strcmp.c: Likewise.
31649 Add new tests to check cases with negative values.
31651 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31653 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31654 * sysdeps/x86_64/dla.h: ...here. New file.
31655 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31665 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31668 __ynl_finite aliases.
31670 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31674 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31676 [DLA_FMA] (EMULV): Use DLA_FMA.
31677 [DLA_FMA] (MUL12): Use EMULV.
31678 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31679 that are not needed.
31680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31688 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31690 * math/s_nan.c: Undef __nan.
31691 * math/s_nanf.c: Undef __nanf.
31692 * math/s_nanl.c: Undef __nanl.
31693 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31696 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31698 * math/s_catan.c: Add branch predictions.
31699 * math/s_catanf.c: Likewise.
31700 * math/s_catanh.c: Likewise.
31701 * math/s_catanhf.c: Likewise.
31702 * math/s_catanhl.c: Likewise.
31703 * math/s_catanl.c: Likewise.
31704 * math/s_cexp.c: Likewise.
31705 * math/s_cexpf.c: Likewise.
31706 * math/s_cexpl.c: Likewise.
31707 * math/s_clog.c: Likewise.
31708 * math/s_clog10.c: Likewise.
31709 * math/s_clog10f.c: Likewise.
31710 * math/s_clog10l.c: Likewise.
31711 * math/s_clogf.c: Likewise.
31712 * math/s_clogl.c: Likewise.
31713 * math/s_csqrt.c: Likewise.
31714 * math/s_csqrtf.c: Likewise.
31715 * math/s_csqrtl.c: Likewise.
31716 * math/s_ctanf.c: Likewise.
31717 * math/s_ctanh.c: Likewise.
31718 * math/s_ctanhf.c: Likewise.
31719 * math/s_ctanhl.c: Likewise.
31720 * math/s_ctanl.c: Likewise.
31722 * math/math_private.h: Define __nan, __nanf, __nanl.
31723 * math/s_cacosh.c: Include <math_private.h>.
31724 * math/s_cacoshl.c: Likewise.
31725 * math/s_casinh.c: Likewise.
31726 * math/s_casinhf.c: Likewise.
31727 * math/s_casinhl.c: Likewise.
31728 * math/s_ccos.c: Rely entire on ccosh.
31729 * math/s_ccosf.c: Rely entire on ccoshf.
31730 * math/s_ccosl.c: Rely entirely on ccoshl.
31731 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31732 Remove tests for FE_INVALID.
31733 * math/s_ccoshf.c: Likewise.
31734 * math/s_ccoshl.c: Likewise.
31735 * math/s_csin.c: Likewise.
31736 * math/s_csinf.c: Likewise.
31737 * math/s_csinh.c Likewise.
31738 * math/s_csinhf.c: Likewise.
31739 * math/s_csinhl.c: Likewise.
31740 * math/s_csinl.c: Likewise.
31741 * math/s_ctan.c: Likewise.
31742 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31743 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31746 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31749 compilation problems.
31751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31754 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31756 * sysdeps/i386/configure.in: Test for -mfma4 option.
31757 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31758 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31759 COMMON_CPUID_INDEX_80000001.
31760 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31761 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31762 use it if FMA3 is not supported.
31763 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31765 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31768 2011-10-20 Andreas Schwab <schwab@redhat.com>
31771 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31772 it would create a cycle with a link time dependency.
31774 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31776 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31778 * string/Makefile (strop-tests): Add rawmemchr.
31779 * string/test-rawmemchr.c: New file.
31781 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31783 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31784 when compiling str{,n}casecmp and when AVX is available. Hook up
31785 new optimized code in initializers.
31787 2011-10-19 Andreas Schwab <schwab@redhat.com>
31789 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31790 __feraiseexcept instead of feraiseexcept.
31792 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31794 * math/math_private.h: Define defaults for libc_fetestexcept and
31796 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31798 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31800 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31801 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31802 libc_fetestexcept and libc_feupdateenv.
31804 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31805 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31806 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31807 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31808 libc_feholdexcept_setround.
31810 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31811 Add s_nearbyint-c and s_nearbyintf-c.
31812 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31813 nearbyintf inlines.
31814 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31816 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31819 * math/math_private.h: Define defaults for libc_fegetround,
31820 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31821 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31822 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31823 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31824 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31825 standard functions.
31826 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31827 Remove comments and hacks for old compiler versions.
31828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31829 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31830 libc_feholdexceptl.
31832 2011-10-18 Andreas Schwab <schwab@redhat.com>
31834 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31835 (__feraiseexcept_renamed): Add __NTH.
31836 (feraiseexcept): Add __NTH. Rename local variables to fix
31837 namespace violations.
31839 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31841 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31845 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31846 recently added interfaces.
31847 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31849 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31850 about macro parameter expansion.
31852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31853 __NO_MATH_INLINES is defined. Cleanups.
31855 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31856 and __floorf is target has SSE4.1.
31857 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31860 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31862 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31864 (floorf): Likewise.
31866 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31868 2011-10-17 Andreas Schwab <schwab@redhat.com>
31870 * misc/sys/cdefs.h: Fix last change.
31872 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31875 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31877 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31879 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31881 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31886 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31887 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31888 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31889 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31890 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31891 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31892 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31893 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31894 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31895 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31896 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31897 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31898 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31899 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31900 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31902 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31903 ceil, ceilf, floor, floorf.
31905 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31906 Perform IRELATIVE relocations last.
31908 * elf/do-rel.h: Add another parameter nrelative, replacing the
31909 local variable with the same name. Change name of the function
31910 to end in Rel or Rela (uppercase).
31911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31912 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31913 elf_dynamic_do_##reloc function.
31915 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31917 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31918 is sufficient, at least on modern CPUs.
31920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31922 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31925 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31927 * math/bits/math-finite.h: Add entries for exp.
31928 * math/e_expl.c: Add __*_finite alias.
31929 * sysdeps/i386/fpu/e_exp.S: Likewise.
31930 * sysdeps/i386/fpu/e_expf.S: Likewise.
31931 * sysdeps/i386/fpu/e_expl.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31933 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31934 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31937 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31938 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31940 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31941 is sufficient, at least on modern CPUs.
31943 * ctype/ctype-info.c (__ctype_init): Define.
31944 * include/ctype.h (__ctype_init): Declare.
31945 (__ctype_b_loc): The variable is always initialized.
31946 (__ctype_toupper_loc): Likewise.
31947 (__ctype_tolower_loc): Likewise.
31948 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31949 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31951 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31953 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31955 * configure.in: Also look in $cxxmachine/include for C++ system
31958 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31960 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31961 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31962 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31963 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31964 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31965 (USE_AS_WMEMCMP): New macro.
31967 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31968 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31969 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31970 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31972 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31973 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31974 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31975 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31976 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31978 (USE_AS_WMEMCMP): New macro.
31979 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31980 * sysdeps/string/test-memcmp.c: Update.
31981 Fix simple_wmemcmp.
31983 * wcsmbs/wmemcmp.c: Update.
31984 (WMEMCMP): New macro.
31987 2011-10-12 Andreas Jaeger <aj@suse.de>
31990 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31992 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31994 * libio/iofwide.c (do_length): Avoid warning.
31996 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31998 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32000 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32002 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32003 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32004 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32005 * sysdeps/i386/i686/fpu/e_log.S: New file.
32006 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32007 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32009 * ctype/ctype.h: Add support for inlined isXXX functions when
32010 compiling C++ code.
32012 2011-10-14 Andreas Schwab <schwab@redhat.com>
32014 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32018 2011-10-13 Roland McGrath <roland@hack.frob.com>
32021 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32023 2011-10-13 Andreas Schwab <schwab@redhat.com>
32025 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32026 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32029 * sysdeps/x86_64/memrchr.S: Check for zero size.
32031 * string/stratcliff.c: Add memrchr tests.
32033 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32036 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32037 rawmemchr-sse2 rawmemchr-sse2-bsf.
32038 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32039 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32040 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32041 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32042 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32043 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32044 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32045 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32046 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32048 * string/memrchr.c (MEMRCHR): New macro.
32050 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32052 Add integration with gcc's -ffinite-math-only and optimize wrapper
32054 * Versions.def: Define GLIBC_2.15 version for libm.
32055 * math/Makefile (headers): Add bits/math-finite.h.
32056 * math/bits/math-finite.h: New file.
32057 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32058 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32059 * math/e_acoshl.c: Add __*_finite alias.
32060 * math/e_acosl.c: Likewise.
32061 * math/e_asinl.c: Likewise.
32062 * math/e_atan2l.c: Likewise.
32063 * math/e_atanhl.c: Likewise.
32064 * math/e_coshl.c: Likewise.
32065 * math/e_exp10.c: Likewise.
32066 * math/e_exp10f.c: Likewise.
32067 * math/e_exp10l.c: Likewise.
32068 * math/e_exp2l.c: Likewise.
32069 * math/e_fmodl.c: Likewise.
32070 * math/e_gammal_r.c: Likewise.
32071 * math/e_hypotl.c: Likewise.
32072 * math/e_j0l.c: Likewise.
32073 * math/e_j1l.c: Likewise.
32074 * math/e_jnl.c: Likewise.
32075 * math/e_lgammal_r.c: Likewise.
32076 * math/e_log10l.c: Likewise.
32077 * math/e_log2l.c: Likewise.
32078 * math/e_logl.c: Likewise.
32079 * math/e_powl.c: Likewise.
32080 * math/e_sinhl.c: Likewise.
32081 * math/e_sqrtl.c: Likewise.
32082 * math/e_scalb.c: Completely rewritten and optimized.
32083 * math/e_scalbf.c: Likewise.
32084 * math/e_scalbl.c: Likewise.
32085 * math/w_acos.c: Likewise.
32086 * math/w_acosf.c: Likewise.
32087 * math/w_acosl.c: Likewise.
32088 * math/w_acosh.c: Likewise.
32089 * math/w_acoshf.c: Likewise.
32090 * math/w_acoshl.c: Likewise.
32091 * math/w_asin.c: Likewise.
32092 * math/w_asinf.c: Likewise.
32093 * math/w_asinl.c: Likewise.
32094 * math/w_atan2.c: Likewise.
32095 * math/w_atan2f.c: Likewise.
32096 * math/w_atan2l.c: Likewise.
32097 * math/w_atanh.c: Likewise.
32098 * math/w_atanhf.c: Likewise.
32099 * math/w_atanhl.c: Likewise.
32100 * math/w_exp10.c: Likewise.
32101 * math/w_exp10f.c: Likewise.
32102 * math/w_exp10l.c: Likewise.
32103 * math/w_fmod.c: Likewise.
32104 * math/w_fmodf.c: Likewise.
32105 * math/w_fmodl.c: Likewise.
32106 * math/w_j0.c: Likewise.
32107 * math/w_j0f.c: Likewise.
32108 * math/w_j0l.c: Likewise.
32109 * math/w_j1.c: Likewise.
32110 * math/w_j1f.c: Likewise.
32111 * math/w_j1l.c: Likewise.
32112 * math/w_jn.c: Likewise.
32113 * math/w_jnf.c: Likewise.
32114 * math/w_log.c: Likewise.
32115 * math/w_logf.c: Likewise.
32116 * math/w_logl.c: Likewise.
32117 * math/w_log10.c: Likewise.
32118 * math/w_log10f.c: Likewise.
32119 * math/w_log10l.c: Likewise.
32120 * math/w_log2.c: Likewise.
32121 * math/w_log2f.c: Likewise.
32122 * math/w_log2l.c: Likewise.
32123 * math/w_pow.c: Likewise.
32124 * math/w_powf.c: Likewise.
32125 * math/w_powl.c: Likewise.
32126 * math/w_remainder.c: Likewise.
32127 * math/w_remainderf.c: Likewise.
32128 * math/w_remainderl.c: Likewise.
32129 * math/w_scalb.c: Likewise.
32130 * math/w_scalbf.c: Likewise.
32131 * math/w_scalbl.c: Likewise.
32132 * math/w_sqrt.c: Likewise.
32133 * math/w_sqrtf.c: Likewise.
32134 * math/w_sqrtl.c: Likewise.
32135 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32136 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32138 * math/math_private.h: Declare __kernel_standard_f.
32139 * math/w_cosh.c: Remove cruft and optimize a bit.
32140 * math/w_coshf.c: Likewise.
32141 * math/w_coshl.c: Likewise.
32142 * math/w_exp2.c: Likewise.
32143 * math/w_exp2f.c: Likewise.
32144 * math/w_exp2l.c: Likewise.
32145 * math/w_hypot.c: Likewise.
32146 * math/w_hypotf.c: Likewise.
32147 * math/w_hypotl.c: Likewise.
32148 * math/w_lgamma.c: Likewise.
32149 * math/w_lgamma_r.c: Likewise.
32150 * math/w_lgammaf.c: Likewise.
32151 * math/w_lgammaf_r.c: Likewise.
32152 * math/w_lgammal.c: Likewise.
32153 * math/w_lgammal_r.c: Likewise.
32154 * math/w_sinh.c: Likewise.
32155 * math/w_sinhf.c: Likewise.
32156 * math/w_sinhl.c: Likewise.
32157 * math/w_tgamma.c: Likewise.
32158 * math/w_tgammaf.c: Likewise.
32159 * math/w_tgammal.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32162 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32163 Minor optimizations. Pretty printing. Remove cruft.
32164 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32166 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32168 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32169 * sysdeps/i386/fpu/e_asin.S: Likewise.
32170 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32171 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32172 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32173 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32175 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32177 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32178 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32179 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32180 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32181 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32182 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32183 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32184 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32185 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32186 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32187 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32188 * sysdeps/i386/fpu/e_log.S: Likewise.
32189 * sysdeps/i386/fpu/e_log10.S: Likewise.
32190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32191 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32192 * sysdeps/i386/fpu/e_log2.S: Likewise.
32193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32195 * sysdeps/i386/fpu/e_logf.S: Likewise.
32196 * sysdeps/i386/fpu/e_logl.S: Likewise.
32197 * sysdeps/i386/fpu/e_pow.S: Likewise.
32198 * sysdeps/i386/fpu/e_powf.S: Likewise.
32199 * sysdeps/i386/fpu/e_powl.S: Likewise.
32200 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32201 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32202 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32204 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32205 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32206 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32207 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32208 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32209 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32212 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32213 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32214 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32215 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32216 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32217 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32219 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32220 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32227 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32229 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32230 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32233 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32236 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32237 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32238 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32240 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32243 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32244 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32245 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32246 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32247 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32248 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32249 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32250 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32259 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32260 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32261 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32262 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32264 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32265 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32266 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32267 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32278 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32280 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32285 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32286 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32287 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32288 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32289 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32290 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32293 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32300 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32302 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32306 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32307 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32308 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32309 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32310 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32311 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32312 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32313 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32314 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32315 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32316 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32317 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32318 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32319 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32320 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32321 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32322 (__isnanf): Likewise.
32323 (__isinf_ns): Likewise.
32324 (__isinf_nsf): Likewise.
32325 (__finite): Likewise.
32326 (__finitef): Likewise.
32327 (__ieee754_sqrt): Define as macro.
32328 (__ieee754_sqrtf): Define as macro.
32329 (__ieee754_sqrtl): Define as macro.
32330 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32332 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32333 __FINITE_MATH_ONLY__ consistent.
32334 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32336 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32338 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32341 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32343 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32345 * po/ja.po: Update from translation team.
32347 2011-10-08 Roland McGrath <roland@hack.frob.com>
32349 * locale/programs/locarchive.c (prepare_address_space): New function.
32350 (create_archive, enlarge_archive, open_archive): Use it.
32352 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32353 inside [SHARED], where it is used.
32355 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32357 * nss/getent.c (netgroup_keys): Remove unused variable.
32358 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32360 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32362 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32366 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32367 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32368 * math/Makefile (libm-calls): Add s_isinf_ns.
32369 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32370 * math/multc3.c: Likewise.
32371 * math/s_casin.c: Likewise.
32372 * math/s_casinf.c: Likewise.
32373 * math/s_casinl.c: Likewise.
32374 * math/s_ccos.c: Likewise.
32375 * math/s_ccosf.c: Likewise.
32376 * math/s_ccosl.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/w_fmod.c: Likewise.
32384 * math/w_fmodf.c: Likewise.
32385 * math/w_fmodl.c: Likewise.
32386 * math/w_remainder.c: Likewise.
32387 * math/w_remainderf.c: Likewise.
32388 * math/w_remainderl.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32390 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32393 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32394 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32395 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32396 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32398 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32400 * stdio-common/printf_fphex.c: Likewise.
32401 * stdio-common/printf_size.c: Likewise.
32403 * math/e_exp10.c: Include math_private.h using <...> not "...".
32404 * math/e_exp10f.c: Likewise.
32405 * math/e_exp10l.c: Likewise.
32406 * math/e_exp2l.c: Likewise.
32407 * math/e_j0l.c: Likewise.
32408 * math/e_j1l.c: Likewise.
32409 * math/e_jnl.c: Likewise.
32410 * math/e_lgammal_r.c: Likewise.
32411 * math/e_rem_pio2l.c: Likewise.
32412 * math/e_scalb.c: Likewise.
32413 * math/e_scalbf.c: Likewise.
32414 * math/e_scalbl.c: Likewise.
32415 * math/k_cosl.c: Likewise.
32416 * math/k_sinl.c: Likewise.
32417 * math/k_tanl.c: Likewise.
32418 * math/s_cacoshf.c: Likewise.
32419 * math/s_catan.c: Likewise.
32420 * math/s_catanf.c: Likewise.
32421 * math/s_catanh.c: Likewise.
32422 * math/s_catanhf.c: Likewise.
32423 * math/s_catanhl.c: Likewise.
32424 * math/s_catanl.c: Likewise.
32425 * math/s_ccosh.c: Likewise.
32426 * math/s_ccoshf.c: Likewise.
32427 * math/s_ccoshl.c: Likewise.
32428 * math/s_cexp.c: Likewise.
32429 * math/s_cexpf.c: Likewise.
32430 * math/s_cexpl.c: Likewise.
32431 * math/s_clog.c: Likewise.
32432 * math/s_clog10.c: Likewise.
32433 * math/s_clog10f.c: Likewise.
32434 * math/s_clog10l.c: Likewise.
32435 * math/s_clogf.c: Likewise.
32436 * math/s_clogl.c: Likewise.
32437 * math/s_csin.c: Likewise.
32438 * math/s_csinf.c: Likewise.
32439 * math/s_csinh.c: Likewise.
32440 * math/s_csinhf.c: Likewise.
32441 * math/s_csinhl.c: Likewise.
32442 * math/s_csinl.c: Likewise.
32443 * math/s_csqrt.c: Likewise.
32444 * math/s_csqrtf.c: Likewise.
32445 * math/s_csqrtl.c: Likewise.
32446 * math/s_ctan.c: Likewise.
32447 * math/s_ctanf.c: Likewise.
32448 * math/s_ctanh.c: Likewise.
32449 * math/s_ctanhf.c: Likewise.
32450 * math/s_ctanhl.c: Likewise.
32451 * math/s_ctanl.c: Likewise.
32452 * math/s_ldexp.c: Likewise.
32453 * math/s_ldexpf.c: Likewise.
32454 * math/s_ldexpl.c: Likewise.
32455 * math/s_significand.c: Likewise.
32456 * math/s_significandf.c: Likewise.
32457 * math/s_significandl.c: Likewise.
32458 * math/w_acos.c: Likewise.
32459 * math/w_acosf.c: Likewise.
32460 * math/w_acosh.c: Likewise.
32461 * math/w_acoshf.c: Likewise.
32462 * math/w_acoshl.c: Likewise.
32463 * math/w_acosl.c: Likewise.
32464 * math/w_asin.c: Likewise.
32465 * math/w_asinf.c: Likewise.
32466 * math/w_asinl.c: Likewise.
32467 * math/w_atan2.c: Likewise.
32468 * math/w_atan2f.c: Likewise.
32469 * math/w_atan2l.c: Likewise.
32470 * math/w_atanh.c: Likewise.
32471 * math/w_atanhf.c: Likewise.
32472 * math/w_atanhl.c: Likewise.
32473 * math/w_cosh.c: Likewise.
32474 * math/w_coshf.c: Likewise.
32475 * math/w_coshl.c: Likewise.
32476 * math/w_dremf.c: Likewise.
32477 * math/w_exp10.c: Likewise.
32478 * math/w_exp10f.c: Likewise.
32479 * math/w_exp10l.c: Likewise.
32480 * math/w_exp2.c: Likewise.
32481 * math/w_exp2f.c: Likewise.
32482 * math/w_fmod.c: Likewise.
32483 * math/w_fmodf.c: Likewise.
32484 * math/w_fmodl.c: Likewise.
32485 * math/w_hypot.c: Likewise.
32486 * math/w_hypotf.c: Likewise.
32487 * math/w_hypotl.c: Likewise.
32488 * math/w_j0.c: Likewise.
32489 * math/w_j0f.c: Likewise.
32490 * math/w_j0l.c: Likewise.
32491 * math/w_j1.c: Likewise.
32492 * math/w_j1f.c: Likewise.
32493 * math/w_j1l.c: Likewise.
32494 * math/w_jn.c: Likewise.
32495 * math/w_jnf.c: Likewise.
32496 * math/w_jnl.c: Likewise.
32497 * math/w_lgamma.c: Likewise.
32498 * math/w_lgamma_r.c: Likewise.
32499 * math/w_lgammaf.c: Likewise.
32500 * math/w_lgammaf_r.c: Likewise.
32501 * math/w_lgammal.c: Likewise.
32502 * math/w_lgammal_r.c: Likewise.
32503 * math/w_log.c: Likewise.
32504 * math/w_log10.c: Likewise.
32505 * math/w_log10f.c: Likewise.
32506 * math/w_log10l.c: Likewise.
32507 * math/w_log2.c: Likewise.
32508 * math/w_log2f.c: Likewise.
32509 * math/w_log2l.c: Likewise.
32510 * math/w_logf.c: Likewise.
32511 * math/w_logl.c: Likewise.
32512 * math/w_pow.c: Likewise.
32513 * math/w_powf.c: Likewise.
32514 * math/w_powl.c: Likewise.
32515 * math/w_remainder.c: Likewise.
32516 * math/w_remainderf.c: Likewise.
32517 * math/w_remainderl.c: Likewise.
32518 * math/w_scalb.c: Likewise.
32519 * math/w_scalbf.c: Likewise.
32520 * math/w_scalbl.c: Likewise.
32521 * math/w_sinh.c: Likewise.
32522 * math/w_sinhf.c: Likewise.
32523 * math/w_sinhl.c: Likewise.
32524 * math/w_sqrt.c: Likewise.
32525 * math/w_sqrtf.c: Likewise.
32526 * math/w_sqrtl.c: Likewise.
32527 * math/w_tgamma.c: Likewise.
32528 * math/w_tgammaf.c: Likewise.
32529 * math/w_tgammal.c: Likewise.
32531 * po/ja.po: Update from translation team.
32533 2011-09-29 Andreas Jaeger <aj@suse.de>
32536 * sunrpc/netname.c (netname2host): Fix logic.
32540 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32542 * math/w_remainder.c (__remainder): Likewise.
32543 * math/w_remainderf.c (__remainderf): Likewise.
32544 * math/libm-test.inc (remainder_test): Add test cases.
32546 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32548 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32551 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32553 * string/test-memcmp.c: Avoid unncessary #defines.
32554 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32556 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32558 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32559 Use new sse2 version for core i3 - i7 as it's faster
32560 than sse42 version.
32561 (bit_Prefer_PMINUB_for_stringop): New.
32562 * sysdeps/x86_64/rawmemchr.S: Update.
32563 Replace with faster SSE2 version.
32564 * sysdeps/x86_64/memrchr.S: New file.
32565 * sysdeps/x86_64/memchr.S: Update.
32566 Replace with faster SSE2 version.
32568 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32570 * elf/dl-load.c (lose): Add cast to avoid warning.
32572 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32574 * po/ca.po: Update from translation team.
32576 * inet/getnetgrent_r.c: Hook up nscd.
32577 * nscd/Makefile (routines): Add nscd_netgroup.
32578 (nscd-modules): Add netgroupcache.
32579 (CFLAGS-netgroupcache.c): Define.
32580 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32581 (cache_search): Add const to second parameter.
32582 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32584 (dbs): Add netgrdb entry.
32585 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32586 (verify_persistent_db): Handle netgrdb.
32587 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32588 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32590 (netgroup_response_header): Define.
32591 (innetgroup_response_header): Define.
32592 (datahead): Add netgroup_response_header and innetgroup_response_header
32594 * nscd/nscd.conf: Add entries for netgroup cache.
32595 * nscd/nscd.h (dbtype): Add netgrdb.
32596 (_PATH_NSCD_NETGROUP_DB): Define.
32597 (netgroup_iov_disabled): Declare.
32598 (xmalloc, xcalloc, xrealloc): Move declarations here.
32599 (cache_search): Adjust prototype.
32600 Add netgroup-related prototypes.
32601 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32602 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32603 (__nscd_innetgr): Declare.
32604 * nscd/selinux.c (perms): Use access_vector_t as element type and
32605 add netgroup-related initializers.
32606 * nscd/netgroupcache.c: New file.
32607 * nscd/nscd_netgroup.c: New file.
32608 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32609 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32610 For four parameters use innetgr.
32611 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32612 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32613 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32614 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32616 * nscd/connections.c (register_traced_file): Don't register file
32617 for disabled databases.
32619 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32621 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32623 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32624 from tree and freeing node.
32626 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32628 * nss/nsswitch.c (__nss_database_lookup): Handle
32629 nss_parse_service_list out of memory case.
32631 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32633 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32634 out of memory case.
32636 2011-10-04 Andreas Schwab <schwab@redhat.com>
32638 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32639 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32641 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32642 elf_machine_rela, elf_machine_lazy_rel.
32643 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32644 (ELF_DYNAMIC_DO_REL): Likewise.
32645 (ELF_DYNAMIC_DO_RELA): Likewise.
32646 (ELF_DYNAMIC_RELOCATE): Likewise.
32647 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32648 to ELF_DYNAMIC_DO_REL.
32649 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32650 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32651 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32654 skip_ifunc, don't call ifunc function if non-zero.
32655 (elf_machine_rela): Likewise.
32656 (elf_machine_lazy_rel): Likewise.
32657 (elf_machine_lazy_rela): Likewise.
32658 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32659 (elf_machine_lazy_rel): Likewise.
32660 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32662 (elf_machine_lazy_rel): Likewise.
32663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32665 (elf_machine_lazy_rel): Likewise.
32666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32667 (elf_machine_lazy_rel): Likewise.
32668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32669 (elf_machine_lazy_rel): Likewise.
32670 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32671 (elf_machine_lazy_rel): Likewise.
32672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32673 (elf_machine_lazy_rel): Likewise.
32674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32675 (elf_machine_lazy_rel): Likewise.
32676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32677 (elf_machine_lazy_rel): Likewise.
32679 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32681 * nss/nss_files/files-init.c (_nss_files_init): Use static
32682 initialization for all the *_traced_file variables.
32684 2011-09-28 Andreas Schwab <schwab@redhat.com>
32686 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32688 2011-09-27 Roland McGrath <roland@hack.frob.com>
32691 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32693 2011-09-27 Andreas Schwab <schwab@redhat.com>
32695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32696 Reread the line before reparsing it.
32698 2011-09-26 Andreas Schwab <schwab@redhat.com>
32700 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32702 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32703 Maxim Kuvyrkov <maxim@codesourcery.com>
32704 Joseph Myers <joseph@codesourcery.com>
32706 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32707 if needed for __stack_chk_guard.
32709 2011-09-19 Roland McGrath <roland@hack.frob.com>
32711 * sysdeps/posix/spawni.c (script_execute): Always define it.
32712 It will be optimized away if unused.
32713 (maybe_script_execute): New function.
32714 (__spawni): Call it.
32716 * Makerules: Don't include tls.make.
32717 (config-tls): Always set to thread.
32718 * tls.make.c: File removed.
32720 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32722 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32723 * config.make.in (CPPFLAGS-config): New substituted variable.
32725 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32730 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32731 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32733 2011-09-15 Roland McGrath <roland@hack.frob.com>
32735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32736 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32738 (CALL_FAIL): Likewise.
32739 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32740 (CALL_FAIL): Macro removed.
32741 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32743 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32745 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32746 for __FINITE_MATH_ONLY__ == 1.
32748 2011-09-15 Andreas Schwab <schwab@redhat.com>
32750 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32751 __ieee754_sqrt instead of sqrt.
32752 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32753 __ieee754_sqrtf instead of sqrtf.
32754 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32755 __floorf instead of floorf.
32756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32757 __floorf, __truncf instead of floorf, truncf.
32759 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32761 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32763 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32764 __extern_always_inline.
32765 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32768 2011-09-14 Andreas Schwab <schwab@redhat.com>
32770 * elf/rtld.c (dl_main): Also relocate in dependency order when
32771 doing symbol dependency testing.
32773 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32776 Always define `refsym'.
32778 2011-09-13 Andreas Schwab <schwab@redhat.com>
32780 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32781 (__FD_ELT): Renamed from __FDELT.
32782 * misc/bits/select2.h (__FD_ELT): Likewise.
32783 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32784 __FD_MASK instead of __FDELT, __FDMASK.
32785 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32787 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32790 * elf/Makefile (gen-ldd): Fix pattern.
32792 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32793 (init_tls): Likewise.
32795 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32799 2011-09-12 Andreas Schwab <schwab@redhat.com>
32801 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32802 `struct cmsghdr *' instead of `void *'.
32803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32806 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32808 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32810 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32811 ldd_rewrite_script.
32813 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32815 * configure.in: Remove --with-tls option.
32816 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32817 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32818 out in case it is missing.
32819 * sysdeps/ia64/elf/configure.in: Likewise.
32820 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32821 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32822 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32823 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32824 * sysdeps/sh/elf/configure.in: Likewise.
32825 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32826 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32827 * sysdeps/x86_64/elf/configure.in: Likewise.
32828 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32829 * sysdeps/mach/hurd/tls.h: Likewise.
32832 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32835 * configure.in: Fix use of AC_INIT.
32837 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32839 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32841 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32843 * malloc/hooks.c: Likewise.
32846 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32847 variables statically.
32848 (narenas): Initialize.
32849 (list_lock): Initialize.
32850 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32851 initializtion of main_arena and list_lock. Small cleanups.
32852 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32853 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32854 Add initializers to main_arena and mp_.
32855 (malloc_state): Remove pagesize member. Change all users to use
32858 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32859 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32860 is always initialized.
32862 * malloc/malloc.c: Removed unused configurations and dead code.
32863 * malloc/arena.c: Likewise.
32864 * malloc/hooks.c: Likewise.
32865 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32867 * include/tls.h: Removed. USE___THREAD must always be defined.
32868 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32869 * elf/dl-libc.c: Likewise.
32870 * elf/dl-tsd.c: Likewise.
32871 * include/errno.h: Likewise.
32872 * include/netdb.h: Likewise.
32873 * include/resolv.h: Likewise.
32874 * inet/herrno-loc.c: Likewise.
32875 * inet/herrno.c: Likewise.
32876 * malloc/arena.c: Likewise.
32877 * malloc/hooks.c: Likewise.
32878 * malloc/malloc.c: Likewise.
32879 * resolv/res-state.c: Likewise.
32880 * resolv/res_libc.c: Likewise.
32881 * sysdeps/i386/dl-machine.h: Likewise.
32882 * sysdeps/ia64/dl-machine.h: Likewise.
32883 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32884 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32885 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32886 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32887 * sysdeps/sh/dl-machine.h: Likewise.
32888 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32889 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32890 * sysdeps/unix/i386/sysdep.S: Likewise.
32891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32892 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32897 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32902 * sysdeps/x86_64/dl-machine.h: Likewise.
32903 * tls.make.c: Likewise.
32905 * configure.in: Remove --with-__thread option. Make tests for
32906 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32907 tls_model attribute fail if no support is available. Remove
32909 * Makeconfig: Adjust for dropped configure option. All features are
32911 * Makerules: Likewise.
32912 * Versions.def: Likewise.
32913 * argp/argp-fmtstream.c: Likewise.
32914 * argp/argp-fmtstream.h: Likewise.
32915 * argp/argp-help.c: Likewise.
32916 * assert/assert.c: Likewise.
32917 * config.h.in: Likewise.
32918 * config.make.in: Likewise.
32919 * configure: Likewise.
32920 * configure.in: Likewise.
32921 * csu/Versions: Likewise.
32922 * csu/init.c: Likewise.
32923 * elf/tst-audit2.c: Likewise.
32924 * elf/tst-tls10.c: Likewise.
32925 * elf/tst-tls10.h: Likewise.
32926 * elf/tst-tls11.c: Likewise.
32927 * elf/tst-tls12.c: Likewise.
32928 * elf/tst-tls14.c: Likewise.
32929 * elf/tst-tlsmod11.c: Likewise.
32930 * elf/tst-tlsmod12.c: Likewise.
32931 * elf/tst-tlsmod13.c: Likewise.
32932 * elf/tst-tlsmod13a.c: Likewise.
32933 * elf/tst-tlsmod14a.c: Likewise.
32934 * elf/tst-tlsmod15b.c: Likewise.
32935 * elf/tst-tlsmod16a.c: Likewise.
32936 * elf/tst-tlsmod16b.c: Likewise.
32937 * elf/tst-tlsmod7.c: Likewise.
32938 * elf/tst-tlsmod8.c: Likewise.
32939 * elf/tst-tlsmod9.c: Likewise.
32940 * gmon/gmon.c: Likewise.
32941 * grp/fgetgrent_r.c: Likewise.
32942 * grp/putgrent.c: Likewise.
32943 * hurd/fopenport.c: Likewise.
32944 * include/libc-symbols.h: Likewise.
32945 * include/tls.h: Likewise.
32946 * intl/gettextP.h: Likewise.
32947 * intl/loadinfo.h: Likewise.
32948 * locale/global-locale.c: Likewise.
32949 * locale/localeinfo.h: Likewise.
32950 * mach/devstream.c: Likewise.
32951 * malloc/arena.c: Likewise.
32952 * malloc/set-freeres.c: Likewise.
32953 * misc/err.c: Likewise.
32954 * misc/getttyent.c: Likewise.
32955 * misc/mntent_r.c: Likewise.
32956 * posix/getopt.c: Likewise.
32957 * posix/wordexp.c: Likewise.
32958 * pwd/fgetpwent_r.c: Likewise.
32959 * resolv/Versions: Likewise.
32960 * resolv/res_hconf.c: Likewise.
32961 * shadow/fgetspent_r.c: Likewise.
32962 * shadow/putspent.c: Likewise.
32963 * stdio-common/printf_fphex.c: Likewise.
32964 * stdio-common/tmpfile.c: Likewise.
32965 * stdlib/abort.c: Likewise.
32966 * stdlib/fmtmsg.c: Likewise.
32967 * sunrpc/auth_unix.c: Likewise.
32968 * sunrpc/clnt_perr.c: Likewise.
32969 * sunrpc/clnt_tcp.c: Likewise.
32970 * sunrpc/clnt_udp.c: Likewise.
32971 * sunrpc/clnt_unix.c: Likewise.
32972 * sunrpc/openchild.c: Likewise.
32973 * sunrpc/svc_simple.c: Likewise.
32974 * sunrpc/svc_tcp.c: Likewise.
32975 * sunrpc/svc_udp.c: Likewise.
32976 * sunrpc/svc_unix.c: Likewise.
32977 * sunrpc/xdr.c: Likewise.
32978 * sunrpc/xdr_array.c: Likewise.
32979 * sunrpc/xdr_rec.c: Likewise.
32980 * sunrpc/xdr_ref.c: Likewise.
32981 * sunrpc/xdr_stdio.c: Likewise.
32983 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32985 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32987 2011-07-03 Andreas Jaeger <aj@suse.de>
32989 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32990 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32991 regenerate with gen-libm-tests.pl.
32993 2010-05-12 Petr Baudis <pasky@suse.cz>
32996 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32997 around j0() zero points by switching to j1().
32998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33003 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33005 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33007 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33010 Patch in part by Pavel Roskin <proski@gnu.org>.
33013 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33015 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33016 Free memory block if necessary.
33019 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33020 be NULL. Don't lock in this case.
33022 2011-09-09 Roland McGrath <roland@hack.frob.com>
33024 * elf/elf.h (ELFOSABI_GNU): New macro.
33025 (ELFOSABI_LINUX): Define to that.
33027 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33029 * string/strncat.c (strncat): Undef the symbol in case it has been
33030 defined in bits/string.h.
33032 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33034 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33036 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33039 2011-08-17 Andreas Jaeger <aj@suse.de>
33041 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33043 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33044 Ian Lance Taylor <iant@google.com>
33046 * math/libm-test.inc (lround_test): New testcase.
33047 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33049 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33051 * Makefile: Remove support for automatic cvs check-ins.
33052 * Makerules: Likewise.
33053 * config.make.in: Likewise.
33054 * configure.in: Likewise.
33055 * intl/Makefile: Likewise.
33056 * locale/Makefile: Likewise.
33057 * po/Makefile: Likewise.
33058 * posix/Makefile: Likewise.
33059 * sysdeps/gnu/Makefile: Likewise.
33060 * sysdeps/mach/hurd/Makefile: Likewise.
33061 * sysdeps/sparc/sparc32/Makefile: Likewise.
33064 * posix/Makefile (bug-regex32-ENV): Define.
33065 Patch by John Stanley <jpsinthemix@verizon.net>.
33067 * misc/Makefile (headers): Add bits/select2.h.
33068 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33069 * misc/bits/select2.h: New file.
33070 * include/bits/select2.h: New file.
33071 * debug/Makefile (routines): Add fdelt_chk.
33072 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33073 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33075 * debug/fdelt_chk.c: New file.
33077 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33078 * wcsmbs/test-wmemcmp.c: Likewise.
33079 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33080 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33082 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33084 * string/Makefile (strop-tests): Add memcmp.
33085 * string/test-wmemcmp.c: New file.
33086 * string/test-memcmp.c: Add wmemcmp support.
33088 2011-09-08 Roland McGrath <roland@hack.frob.com>
33091 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33094 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33095 garbage value in a __mach_port_mod_refs call in the cases of the
33096 task-self and thread-self ports.
33098 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33100 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33102 2011-09-08 Andreas Schwab <schwab@redhat.com>
33104 * elf/dl-load.c (lose): Check for non-null L.
33106 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33108 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33110 * elf/dl-libc.c (dlerror_run): Pass back error code from
33114 * elf/dl-load.c (lose): Free l_origin if it is valid.
33116 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33118 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33120 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33122 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33123 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33125 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33127 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33128 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33129 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33130 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33131 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33132 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33133 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33134 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33135 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33136 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33138 2011-08-15 Alan Modra <amodra@gmail.com>
33141 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33142 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33143 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33144 ppc_mcount to static-only-routines.
33145 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33147 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33148 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33150 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33152 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33153 for finite and infinity parameters.
33155 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33158 and add nop instructions for throughput optimization.
33159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33161 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33164 aligned copy for power7 with vector-scalar instructions.
33165 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33167 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33172 2011-09-07 Andreas Schwab <schwab@redhat.com>
33175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33178 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33180 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33181 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33182 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33183 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33186 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33189 Forgot to demangle the pointer.
33191 * sysdeps/i386/sysdep.h: Define atom_text_section.
33192 * sysdeps/x86_64/sysdep.h: Likewise.
33193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33194 section with atom_text_section.
33195 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33196 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33197 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33199 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33203 already be defined. Change to take two parameters and don't assign
33204 result to variable. Adjust all users.
33205 Define INTERNAL_GETTIME if not already defined.
33206 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33209 HAVE_CLOCK_GETTIME_VSYSCALL.
33210 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33213 gettimeofday vsyscall, just use time.
33215 2011-09-06 Andreas Schwab <schwab@redhat.com>
33217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33220 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33222 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33226 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33228 syscall if possible.
33230 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33232 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33233 e_ident. Don't pass to find_mapsXX.
33234 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33236 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33239 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33240 * sysdeps/x86_64/multiarch/strchr.S: Update.
33241 Check bit_slow_BSF bit.
33242 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33246 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33249 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33251 (tryshell): Define.
33252 (__spawni): Change last parameter to be flag. Test
33253 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33254 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33255 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33256 * posix/spawni.c: Likewise.
33257 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33258 * posix/spawnp.c: Likewise. Change normal version to use
33259 SPAWN_XFLAGS_USE_PATH.
33260 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33261 SPAWN_XFLAGS_TRY_SHELL.
33264 * posix/glob.h: Remove gcc 1.x support.
33267 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33269 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33272 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33274 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33275 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33276 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33278 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33281 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33283 * sysdeps/x86_64/wcscmp.S: New file.
33285 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33286 wcscmp-c wcscmp-sse2
33287 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33288 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33289 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33290 * wcsmbs/wcscmp.c: Allow renaming.
33292 2011-09-05 David S. Miller <davem@davemloft.net>
33294 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33295 stack slot, rather than the struct return pointer slot.
33296 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33297 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33299 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33301 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33303 * po/ja.po: Update from translation team.
33306 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33307 kernel in 64-bit binaries.
33309 2011-09-01 David S. Miller <davem@davemloft.net>
33311 * elf/elf.h (HWCAP_SPARC_*): Move to..
33312 * sysdeps/sparc/sysdep.h: this new file and add new values.
33313 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33314 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33315 _DL_HWCAP_COUNT to 24.
33316 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33318 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33319 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33320 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33322 instead of magic constants.
33323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33325 2011-08-31 David S. Miller <davem@davemloft.net>
33327 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33329 Reimplement to do errno handling inline.
33330 (SYSCALL_ERROR_HANDLER): New macro.
33331 (__SYSCALL_STRING): Do not do errno handling in asm.
33332 (__CLONE_SYSCALL_STRING): Delete.
33333 (__INTERNAL_SYSCALL_STRING): Delete.
33334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33335 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33336 (PSEUDO): Reimplement to do errno handling inline.
33337 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33338 (SYSCALL_ERROR_HANDLER): New macro.
33339 (__SYSCALL_STRING): Do not do errno handling in asm.
33340 (__CLONE_SYSCALL_STRING): Delete.
33341 (__INTERNAL_SYSCALL_STRING): Delete.
33342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33343 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33345 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33346 (inline_syscall*): Add 'err' argument.
33347 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33348 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33349 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33350 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33352 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33353 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33355 2011-08-30 Andreas Schwab <schwab@redhat.com>
33357 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33359 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33361 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33364 2011-08-24 David S. Miller <davem@davemloft.net>
33366 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33368 2011-08-24 Andreas Schwab <schwab@redhat.com>
33370 * elf/Makefile: Add rules to build and run unload8 test.
33371 * elf/unload8.c: New file.
33372 * elf/unload8mod1.c: New file.
33373 * elf/unload8mod1x.c: New file.
33374 * elf/unload8mod2.c: New file.
33375 * elf/unload8mod3.c: New file.
33377 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33380 2011-08-23 David S. Miller <davem@davemloft.net>
33382 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33383 subtract stack bias.
33384 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33385 %sp not %fp in calculations.
33386 (_JMPBUF_UNWINDS_ADJ): Likewise.
33388 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33389 (aio_suspend): Call it to force an exception region around the
33390 AIO_MISC_WAIT() invocation.
33392 2011-08-23 Andreas Schwab <schwab@redhat.com>
33394 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33397 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33399 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33401 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33402 and <dl-machine.h>.
33403 (Elf64_FuncDesc): Remove.
33405 2011-08-22 David S. Miller <davem@davemloft.net>
33407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33408 sigaltstack check, add missing cfi directives.
33409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33410 missing cfi directives, and sigaltstack handling.
33412 2011-08-16 Andreas Schwab <schwab@redhat.com>
33415 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33416 object is seen twice.
33417 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33419 * elf/Makefile (distribute): Add tst-initorder2.c.
33420 (tests): Add tst-initorder2.
33421 (modules-names): Add tst-initorder2a tst-initorder2b
33422 tst-initorder2c tst-initorder2d. Add rules to build them.
33423 ($(objpfx)tst-initorder2.out): New rule.
33424 * elf/tst-initorder2.c: New file.
33425 * elf/tst-initorder2.exp: New file.
33427 2011-08-22 Andreas Schwab <schwab@redhat.com>
33429 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33431 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33432 dependencies back to end of function.
33434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33435 $(elfobjdir)/ld.so.
33437 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33440 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33442 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33443 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33444 of __vdso_gettimeofday.
33445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33446 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33448 (_libc_vdso_platform_setup): Remove initialization of
33449 __vdso_gettimeofday and __vdso_time.
33451 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33453 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33454 and fgetc_unlocked.
33455 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33458 * elf/dl-open.c (add_to_global): Report additions to the global scope
33459 for LD_DEBUG=scopes.
33460 (dl_open_worker): Also print scope of newly loaded dependencies.
33461 (_dl_show_scope): Indicate if there is no scope.
33464 * stdio-common/Makefile (tests): Add bug24.
33465 * stdio-common/bug24.c: New file.
33467 2011-08-19 Andreas Jaeger <aj@suse.de>
33470 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33471 non-existant file when using close-on-exec mode.
33473 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33476 the very first instruction.
33478 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33479 the CFI state in the end.
33480 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33481 inclusion of dl-trampoline.h.
33482 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33484 2011-08-19 Andreas Schwab <schwab@redhat.com>
33486 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33487 expectations for long double.
33489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33490 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33492 2011-08-14 David S. Miller <davem@davemloft.net>
33494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33495 artificual limit depends upon the system page size.
33497 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33499 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33500 * resolv/Makefile: Define CFLAGS-libresolv.
33502 2011-08-17 Andreas Schwab <schwab@redhat.com>
33504 * nss/makedb.c (compute_tables): Make variables used in nested
33507 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33509 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33510 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33511 if buffer was too small.
33513 * elf/pldd.c (main): Attach to all threads in the process.
33514 Rewrite /proc handling to use *at functions.
33516 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33518 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33519 specifies first scope to show.
33520 (dl_open_worker): Update callers. Move printing scope of new
33521 object to before the relocation.
33522 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33523 * sysdeps/generic/ldsodefs.h: Update declaration.
33525 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33526 string for the scope number.
33528 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33530 * nscd/servicescache.c (cache_addserv): Make sure written is always
33533 2011-08-14 Roland McGrath <roland@hack.frob.com>
33535 * sysdeps/i386/i486/bits/atomic.h
33536 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33537 statement expression, so as to suppress "set but not used" warning.
33538 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33540 * string/strncat.c (STRNCAT): Use prototype definition.
33542 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33543 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33545 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33546 (localedef-modules): Add localedef.
33547 (locale-modules): Add locale.
33549 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33550 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33551 to avoid a warning.
33553 2011-08-14 David S. Miller <davem@davemloft.net>
33555 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33556 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33558 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33560 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33561 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33562 * elf/rtld.c (dl_main): Set l_name of vDSO.
33563 Call _dl_show_scope when DL_DEBUG_SCOPES.
33564 (process_dl_debug): Recognize scopes flag and also set it for all.
33565 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33566 Declare _dl_show_scope.
33568 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33569 (do_dlopen): Pass caller_dlopen to dl_open.
33570 (__libc_dlopen_mode): Initialize caller_dlopen.
33572 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33573 of libc. Make tolower call locale-independent. Optimize a bit by
33574 using isdigit instead of isalnum.
33575 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33577 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33579 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33580 was a dependency or dynamically loaded.
33582 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33584 * intl/l10nflist.c: Allow architecture-specific pop function.
33585 * sysdeps/x86_64/l10nflist.c: New file.
33587 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33590 2011-08-10 Andreas Schwab <schwab@redhat.com>
33592 * include/dirent.h: Add libc_hidden_proto for scandirat and
33593 scandirat64. Don't declare __scandirat64.
33594 * dirent/scandirat.c: Add libc_hidden_def.
33595 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33596 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33598 2011-08-10 David S. Miller <davem@davemloft.net>
33600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33606 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33608 * Versions.def [libc]: Add GLIBC_2.15.
33609 * dirent/Makefile (routines): Add scandirat and scandirat64.
33610 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33612 * dirent/dirent.h: Declare scandirat and scandirat64.
33613 * dirent/scandirat.c: New file.
33614 * dirent/scandirat64.c: New file.
33615 * sysdeps/wordsize-64/scandirat.c: New file.
33616 * sysdeps/wordsize-64/scandirat64.c: New file.
33617 * dirent/opendir.c: Define opendirat.
33618 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33620 * dirent/scandir64.c: Adjust for scandir.c change.
33621 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33622 __scandirat64, and __scandir_cancel_handler.
33623 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33624 additional parameter and use openat instead of open (outside of ld.so).
33625 Add new __opendir as wrapper around __opendirat.
33626 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33627 here without requiring old scandirat implementation.
33629 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33631 * dirent/scandir.c (cancel_handler): Renamed to
33632 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33633 defined. Adjust users.
33634 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33635 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33637 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33639 * string/test-string.h (IMPL): Use __STRING to expand name and then
33642 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33645 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33647 * string/Makefile: Update.
33648 (strop-tests): Append strncat.
33649 * string/test-wcscmp.c: New file.
33650 New comprehensive test for wcscmp.
33651 * string/test-strcmp.c: Update.
33652 (WIDE): New define.
33654 2011-07-22 Andreas Schwab <schwab@redhat.com>
33656 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33659 2011-07-26 Andreas Schwab <schwab@redhat.com>
33661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33662 encoding to ACE if AI_IDN.
33664 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33667 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33669 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33672 Fix overflow bug in strncat.
33673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33675 * string/test-strncat.c: Update.
33676 Add new tests for checking overflow bugs.
33678 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33681 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33682 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33683 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33685 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33686 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33687 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33688 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33691 (USE_AS_STRCAT): Define.
33692 Add strcat and strncat support.
33693 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33695 2011-07-25 Andreas Schwab <schwab@redhat.com>
33697 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33698 __n bigger than INT_MAX+1.
33699 (__strncmp_g): Likewise.
33701 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33703 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33704 * libio/stido.h: Likewise.
33706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33711 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33714 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33718 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33723 (_dl_x86_64_save_sse): Likewise.
33725 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33729 (_dl_x86_64_save_sse): Likewise.
33731 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33733 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33735 2011-07-21 Andreas Schwab <schwab@redhat.com>
33737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33739 (_dl_x86_64_save_sse): Use correct AVX check.
33741 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33744 bug in strncpy/strncat.
33745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33747 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33749 * string/tester.c (test_strcat): Add tests for different alignments
33750 of source and destination.
33751 (test_strncat): Likewise.
33753 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33756 * posix/glob.c (glob): Check passed in values before using them in
33757 expressions to avoid some overflows.
33758 (glob_in_dir): Likewise.
33761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33762 check for AVX enablement so that we don't crash with old kernels and
33764 * elf/tst-audit4.c: Add same checks here.
33765 * elf/tst-audit6.c: Likewise.
33767 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33769 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33771 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33773 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33775 * po/cs.po: Update from translation team.
33776 * po/bg.po: Likewise.
33778 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33780 * misc/sys/cdefs.h: Add support for const attribute.
33781 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33782 to gnu_dev_{major,minor,makedev} functions.
33784 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33786 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33788 2011-07-20 Andreas Schwab <schwab@redhat.com>
33790 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33793 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33796 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33797 register in order to avoid conflicts with the soft frame pointer
33798 being held in r11 when necessary.
33799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33800 (INTERNAL_VSYSCALL_NCS): Likewise.
33802 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33804 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33805 * elf/dl-fini.c (_dl_fini): Adjust caller.
33806 * elf/dl-close.c (_dl_close_worker): Likewise.
33807 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33809 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33811 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33812 "aux_cache->nlibs < 0".
33814 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33815 in the reload-count case.
33817 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33820 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33821 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33822 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33823 * sysdeps/x86_64/multiarch/strcat.S: New file.
33824 * sysdeps/x86_64/multiarch/strncat.S: New file.
33825 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33827 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33828 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33830 (USE_AS_STRCAT): Define.
33831 Add strcat and strncat support.
33832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33834 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33835 * string/strncat.c: Update.
33836 (USE_AS_STRNCAT): Define.
33837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33838 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33840 * sysdeps/x86_64/multiarch/init-arch.h
33841 (bit_Prefer_PMINUB_for_stringop): New.
33842 (index_Prefer_PMINUB_for_stringop): Likewise.
33843 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33844 bit_Prefer_PMINUB_for_stringop.
33846 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33848 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33850 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33851 of casting of buffer.
33852 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33853 buffer32 and buffer64.
33854 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33855 writes instead of casting of buffer.
33856 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33858 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33861 2011-07-19 Andreas Schwab <schwab@redhat.com>
33863 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33865 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33867 * nscd/nscd.c (termination_handler): Don't do anything for a database
33868 if it has not yet been initialized.
33870 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33872 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33874 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33876 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33878 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33880 * po/nl.po: Update from translation team.
33881 * po/sv.po: Likewise.
33883 2011-07-16 Roland McGrath <roland@hack.frob.com>
33885 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33886 now disallowed by GCC.
33888 * configure.in (use-default-link): Default to yes if a test -shared
33889 link meets our qualifications.
33890 * configure: Regenerated.
33892 * config.make.in (output-format): New variable.
33893 * configure.in: Check for ld --print-output-format support.
33894 * configure: Regenerated.
33895 * Makerules ($(common-objpfx)format.lds)
33896 [$(output-format) != unknown]: Just use $(output-format),
33897 instead of the linker-script munging.
33899 2011-07-14 Roland McGrath <roland@hack.frob.com>
33901 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33902 of $(common-objpfx)shlib.lds.
33903 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33905 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33906 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33908 * configure.in (-z relro check): Adjust test code to add a large
33909 writable data section after it.
33910 * configure: Regenerated.
33912 2011-07-11 Roland McGrath <roland@hack.frob.com>
33914 * configure.in (-z relro check): Fix test code to make the variable
33916 * configure: Regenerated.
33918 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33920 * nscd/nscd.h (struct traced_file): Define.
33921 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33922 elements. Add traced_files.
33923 (inotify_fd): Declare.
33924 (register_traced_file): Declare.
33925 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33926 (inotify_fd): Export.
33927 (resolv_conf_descr): Remove.
33928 (nscd_init): Move inotify descriptor creation to main.
33929 Don't register files for notification here.
33930 (register_traced_file): New function.
33931 (invalidate_cache): Don't use reset_res to determine whether to call
33932 res_init, go through the list of registered files.
33933 (main_loop_poll): The inotify descriptors are now stored in the
33934 structures for the traced files.
33935 (main_loop_epoll): Likewise
33936 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33937 to __nss_disable_nscd.
33938 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33939 for a database anymore. Check the records for all the registered
33941 * nss/Makefile (libnss_files-routines): Add files-init.
33942 (libnss_db-routines): Add db-init.
33943 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33944 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33945 * nss/nss_db/db-init.c: New file.
33946 * nss/nss_files/files-init.c: New file.
33947 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33948 __nss_lookup_function.
33949 (__nss_lookup_function): Call nss_load_library.
33950 (nss_load_all_libraries): New function.
33951 (__nss_disable_nscd): Take parameter with callback function for files
33952 to register. Set is_nscd. Load all the DSOs for the NSS modules
33953 used for the cached services.
33954 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33956 options for features to all the files in nscd.
33958 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33960 2011-07-10 Roland McGrath <roland@hack.frob.com>
33962 * csu/elf-init.c (__libc_csu_init): Comment typo.
33964 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33966 * po/pl.po: Update from translation team.
33967 * po/ja.po: Likewise.
33968 * po/ru.po: Likewise.
33969 * po/ko.po: Likewise.
33970 * po/fr.po: Likewise.
33972 2011-07-09 Roland McGrath <roland@hack.frob.com>
33974 * configure.in (.ctors/.dtors header and trailer check):
33975 Use an empirical test on a built program.
33976 * configure: Regenerated.
33978 * configure.in (-z relro check): Use an empirical test on a built DSO.
33979 Detect, but do not require, on ia64.
33980 * configure: Regenerated.
33982 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33983 Update tests that use readelf to use $READELF instead.
33984 * configure: Regenerated.
33986 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33988 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33989 if the result is not used.
33991 2011-07-05 Andreas Jaeger <aj@suse.de>
33994 * stdlib/tst-strtod.c: Add testcase.
33996 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33998 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33999 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34000 The latter has a higher limit. Take additional parameter to pass to
34002 (__pathconf): Pass file to __statfs_link_max.
34003 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34005 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34009 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34013 (__statfs_filesize_max): Likewise.
34014 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34016 2011-07-05 Andreas Jaeger <aj@suse.de>
34018 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34020 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34022 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34027 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34029 * Makefile (strop-tests): Add strncat.
34030 * string/test-strncat.c: New file.
34032 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34034 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34036 2011-06-21 Andreas Jaeger <aj@suse.de>
34038 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34039 Copy rule from iconvdata/Makefile.
34041 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34044 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34045 but no long options are defined, just return 'W'.
34047 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34050 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34052 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34054 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34056 (innetgr): Likewise.
34058 2011-07-05 Roland McGrath <roland@hack.frob.com>
34060 * config.make.in (install_root): Default to $(DESTDIR).
34062 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34064 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34066 2011-07-02 Roland McGrath <roland@hack.frob.com>
34068 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34070 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34071 containing directory rather than embedding absolute directory names.
34073 * scripts/check-local-headers.sh: Rewritten using awk.
34074 Match by word, not by line. Print error messages for matches.
34075 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34077 * Makerules [shlib-lds-flags empty]:
34078 ($(common-objpfx)libc_pic.opts): New target.
34079 ($(common-objpfx)libc_pic.os.clean): New target.
34080 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34082 * config.make.in (OBJCOPY): New variable.
34083 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34084 * configure: Regenerated.
34086 * config.make.in (use-default-link): New variable.
34087 * configure.in (use_default_link): Grok --with-default-link to set it.
34088 * configure: Regenerated.
34089 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34090 (shlib-lds, shlib-lds-flags): Define to empty.
34092 * Makerules (shlib-lds): New variable.
34093 (shlib-lds-flags): New variable.
34094 (build-shlib, build-moduile, build-module-asneeded): Use it.
34095 ($(common-objpfx)libc.so): Use $(shlib-lds).
34096 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34097 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34099 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34100 DT_FLAGS/DT_FLAGS_1 with zero flags.
34102 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34103 linker script munging.
34105 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34107 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34109 * crypt/sha512.c (sha512_process_block): Perform total addition using
34110 128-bit if possible.
34111 (__sha512_finish_ctx): Likewise.
34112 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34114 * crypt/sha256.c (SWAP64): Define.
34115 (sha256_process_block): Perform total addition using 64-bit if
34117 (__sha256_finish_ctx): Likewise.
34119 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34121 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34123 * nscd/hstcache.c (cache_addhst): Likewise.
34124 * nscd/grpcache.c (cache_addgr): Likewise.
34125 * nscd/aicache.c (addhstaiX): Likewise
34126 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34128 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34130 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34132 * nscd/hstcache.c (cache_addhst): Likewise.
34133 * nscd/grpcache.c (cache_addgr): Likewise.
34134 * nscd/aicache.c (addhstaiX): Likewise
34136 2011-07-01 Andreas Schwab <schwab@redhat.com>
34138 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34139 domain only when needed.
34141 2011-06-30 Andreas Schwab <schwab@redhat.com>
34143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34144 is always restored.
34146 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34148 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34149 are re-adding the entry.
34150 * nscd/servicescache.c (cache_addserv): Likewise.
34152 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34154 * sysdeps/generic/dl-irel.h: fix protection against multiple
34156 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34158 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34161 * malloc/memusage.sh: Fix quoting in message.
34162 * debug/xtrace.sh: Likewise.
34164 * configure.in: Remove support for --experimental-malloc option, make
34166 * config.make.in: Likewise.
34167 * malloc/Makefile: Likewise.
34169 2011-06-27 Andreas Schwab <schwab@redhat.com>
34171 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34172 two-byte characters.
34174 2011-06-27 Roland McGrath <roland@hack.frob.com>
34176 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34177 AC_CACHE_CHECK invocation.
34178 * configure: Regenerated.
34180 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34182 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34185 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34186 bit from old_res_options.
34188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34190 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34191 value type for setfct.
34193 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34196 __gettimeofday instead of gettimeofday.
34198 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34200 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34202 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34209 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34212 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34213 strcpy-sse2-unaligned strncpy-sse2-unaligned
34214 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34215 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34216 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34217 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34218 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34221 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34222 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34223 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34224 (STRCPY): Support SSE2 and SSSE3 versions.
34226 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34230 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34231 kernels which artificially limit size of requests.
34233 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34236 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34237 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34238 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34239 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34240 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34241 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34242 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34245 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34246 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34247 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34248 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34249 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34251 Enable unaligned load optimization for Intel Core i3, i5 and i7
34253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34255 (index_Fast_Unaligned_Load): Define.
34256 (HAS_FAST_UNALIGNED_LOAD): Define.
34258 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34260 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34262 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34266 until it is clear that the information is realy needed.
34267 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34269 2011-06-22 Andreas Schwab <schwab@redhat.com>
34271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34273 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34276 /sys/devices/system/cpu/online if it is usable.
34278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34279 reading the information from the /proc filesystem to once a second.
34281 2011-06-21 Andreas Jaeger <aj@suse.de>
34283 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34284 NULL after inclusion of kernel headers.
34286 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34288 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34289 calls to internal_setent.
34292 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34293 addresses using gethostbyname4_r ignore IPv4 addresses.
34295 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34296 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34298 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34300 2011-06-20 David S. Miller <davem@davemloft.net>
34302 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34304 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34306 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34307 (elf_irel): Use it.
34308 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34309 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34310 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34311 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34312 * sysdeps/x86_64/dl-irel.h: Likewise.
34314 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34315 * elf/dl-sym.c: Likewise.
34317 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34319 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34320 need to dereference resplen2.
34322 2011-06-14 Andreas Schwab <schwab@redhat.com>
34324 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34326 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34328 * Makeconfig: Define vardbdir and inst_vardbdir.
34329 * nss/Makefile: Add rules to install db-Makefile.
34331 * nss/nss_db/db-XXX.c: Cleanup.
34333 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34334 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34336 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34337 * nss/makedb.c: Implement -g option to specify that value strings
34338 are generated and should not be added to table iterated over for
34340 * nss/nss_db/db-initgroups.c: New file.
34342 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34345 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34346 (internal_getgrouplist): Adjust to name change.
34347 Update use_initgroups_entry if this is not the first call.
34348 * nss/databases.def: Add initgroups entry.
34350 * nss/makedb.c (compute_tables): Check result of multiple hash table
34351 sizes to minimize maximum chain length.
34353 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34355 * Versions.def: Add entry for libnss_db.
34356 * shlib-versions: Likewise.
34357 * nss/Makefile: Add rules to build libnss_db.
34358 * nss/Versions: Add libnss_db information. Organize libnss_files
34360 * nss/db-Makefile: Add gshadow support. Change rules for the new
34361 makedb progra. Some minor improvements to generate smaller files.
34362 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34364 * nss/makedb.c: ...here.
34365 Improve database format to be smaller and require less memory at
34367 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34369 * nss/nss_db/db-netgrp.c: Likewise.
34370 * nss/nss_db/db-open.c: Likewise.
34371 * nss/nss_files/flies-XXX.x: Adjust comments.
34372 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34373 * nss/nss_files/files-grp.c: Likewise.
34374 * nss/nss_files/files-hosts.c: Likewise.
34375 * nss/nss_files/files-network.c: Likewise.
34376 * nss/nss_files/files-proto.c: Likewise.
34377 * nss/nss_files/files-pwd.c: Likewise.
34378 * nss/nss_files/files-rpc.c: Likewise.
34379 * nss/nss_files/files-service.c: Likewise.
34380 * nss/nss_files/files-sgrp.c: Likewise.
34381 * nss/nss_files/files-spwd.c: Likewise.
34382 * nss/nss_db/db-alias.c: Removed.
34383 * nss/nss_db/dummy-db.h: Removed.
34385 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34387 * nss/makedb.c: Rewritten to not use database library.
34388 * nss/Makefile: Update to build new makedb program.
34390 2011-06-14 Andreas Jaeger <aj@suse.de>
34392 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34393 memset declaration.
34395 2011-06-10 Andreas Schwab <schwab@redhat.com>
34397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34400 2011-06-10 Roland McGrath <roland@hack.frob.com>
34402 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34403 * elf/Makefile ($(objpfx)ld.so): Likewise.
34405 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34406 Don't list ld.so twice in dependencies.
34408 * posix/bug-regex31.c: Include <stdlib.h>.
34410 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34412 * nis/nss_compat/compat-spwd.c
34413 (getspent_next_nss_netgr): Remove unused variable.
34414 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34416 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34417 nonmembers" output to use the right array.
34419 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34421 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34423 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34424 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34425 * catgets/gencat.c (read_input_file): Likewise.
34426 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34428 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34429 variable definition inside #if's controlling its use.
34431 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34433 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34435 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34437 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34440 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34442 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34443 * configure: Regenerated.
34445 * Makerules: Revert last change.
34446 * elf/Makefile: Likewise.
34448 2011-06-09 Roland McGrath <roland@hack.frob.com>
34450 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34451 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34452 (reloc-link): Likewise.
34454 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34456 * elf/Makefile: Add rules to build pldd.
34457 * elf/pldd.c: New file.
34458 * elf/pldd-xx.c: New file.
34460 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34462 * version.h: Update for 2.15 development version.
34464 2011-06-07 David S. Miller <davem@davemloft.net>
34466 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34469 elf_machine_lazy_rel): Likewise.
34470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34472 elf_machine_lazy_rel): Likewise.
34473 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34474 dl_hwcap via passed in argument.
34475 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34478 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34480 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34482 2011-06-06 Roland McGrath <roland@hack.frob.com>
34485 * manual/fdl-1.1.texi: New file, verbatim from:
34486 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34487 * manual/lgpl-2.1.texi: New file, verbatim from:
34488 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34489 * manual/Makefile (licenses): New variable, list those new file names.
34491 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34493 * manual/fdl.texi: File removed.
34494 * manual/lesser.texi: File removed.
34495 * manual/libc.texinfo (Copying, Documentation License):
34496 Use new @include file names, put @appendix directive before @include.
34498 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34501 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34502 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34503 (mq_open): Add __NTH.
34505 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34508 Assume Intel Core i3/i5/i7 processor if AVX is available.
34510 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34515 2011-05-31 Andreas Schwab <schwab@redhat.com>
34517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34518 memory. Use alloca_account. Fix memory leak when retrying.
34520 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34522 * version.h (RELEASE): Bump for 2.14 release.
34523 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34525 * config.make.in (RANLIB): Remove entry.
34527 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34529 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34530 (libc.pot): Work around missing support for .ksh extension in xgettext.
34533 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34534 if both request failed.
34535 (send_dg): In case of server errors clear resplen or *resplen2.
34538 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34539 when there are multiple maps.
34540 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34541 (_dl_fini): Remove test here.
34543 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34545 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34548 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34549 bit from old_res_options.
34550 (gaih_inet): Likewise.
34553 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34556 * resolv/res_init.c (res_setoptions): Make the code more compact.
34559 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34563 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34565 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34568 * malloc/malloc.h: Declare malloc hook variables as volatile.
34570 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34574 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34575 raise in the comment.
34576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34578 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34580 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34583 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34584 grow the buffers more if it already has to be sufficient.
34585 (build_wcs_upper_buffer): Likewise.
34586 * posix/regexec.c (check_matching): Likewise.
34587 (clean_state_log_if_needed): Likewise.
34588 (extend_buffers): Don't enlarge buffers beyond size of the input
34590 Patches mostly by Emil Wojak <emil@wojak.eu>.
34591 * posix/bug-regex32.c: New file.
34592 * posix/Makefile (tests): Add bug-regex32.
34594 * locale/findlocale.c (_nl_find_locale): Return right away if
34595 _nl_explode_name failed.
34596 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34600 * debug/xtrace.sh: Unify messages.
34601 * malloc/memusage.sh: Likewise.
34604 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34605 time symbol from vDSO. Substitute with vsyscall if not available.
34606 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34609 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34610 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34611 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34612 Add sendmmsg and internal_sendmmsg.
34613 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34614 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34617 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34618 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34621 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34624 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34625 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34631 * iconvdata/Makefile (tests): Add bug-iconv9.
34632 * iconvdata/bug-iconv9.c: New file.
34634 2011-05-27 Andreas Schwab <schwab@redhat.com>
34637 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34639 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34642 (struct user_regs_struct): Change intcs field back to cs.
34644 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34646 * po/ja.po: Update from translation team.
34648 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34654 2011-05-20 Andreas Schwab <schwab@redhat.com>
34656 * stdlib/longlong.h: Update from GCC.
34658 2011-05-23 Andreas Schwab <schwab@redhat.com>
34660 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34662 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34663 Add parameter name.
34664 (__sysconf): Pass it down.
34666 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34669 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34672 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34673 add in in __libc_use_alloca calls. Adjust callers.
34674 (glob): Use malloc in some situations.
34676 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34677 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34680 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34682 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34683 and CLOCK_BOOTTIME_ALARM.
34686 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34689 * string/_strerror.c (__strerror_r): Print negative errors as signed
34693 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34694 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34695 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34697 * configure.in: Fix typo in redirection and correct removal of test
34698 files in two cases.
34701 * locale/setlocale.c (new_composite_name): Fix test to check for
34702 identical name of all categories.
34705 * libio/filedoalloc.c (local_isatty): New function.
34706 (_IO_file_doallocate): Use local_isatty.
34707 * stdio-common/perror.c (perror): In case a new stream is used
34708 forward the stream error.
34709 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34712 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34717 * include/alloca.h (extend_alloca_account): Define.
34720 * posix/regex.h: Fix comments with documentation of user-accessible
34721 fields after compilation and describe correct free'ing of pattern
34722 after re_compile_pattern.
34723 Patch by Reuben Thomas <rrt@sc3d.org>.
34725 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34727 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34728 and -mno-altivec to prevent the compiler from using Altivec and/or
34729 VSX instructions when the corresponding registers are not available.
34731 2011-05-19 Andreas Schwab <schwab@redhat.com>
34733 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34735 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34737 * libio/freopen.c (freopen): Use __dup2, not dup2.
34738 * libio/freopen64.c (freopen64): Likewise.
34740 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34743 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34744 * math/Makefile (tests): Add test-powl.
34745 (CFLAGS-test-powl.c): Define.
34746 * math/test-powl.c: New file.
34748 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34750 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34752 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34755 * iconvdata/gb18030.c: Update to GB18020-2005.
34757 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34759 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34760 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34761 Patch by Aharon Robbins <arnold@skeeve.com>.
34764 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34768 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34769 through underflows.
34772 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34773 point to strings before performing equality test for error_one_per_line
34777 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34781 (struct user_fpregs_struct): Avoid __uint*_t types.
34784 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34785 symbol info. Use it instead of calling _dl_addr locally.
34786 (lock_and_info): New function.
34787 (tr_freehook): Call lock_and_info and pass symbol info as additional
34788 parameter to tr_where.
34789 (tr_mallochook): Likewise.
34790 (tr_reallochook): Likewise.
34791 (tr_memalignhook): Likewise.
34793 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34794 used and couldn't be at all thread-safe.
34796 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34798 * libio/freopen.c (freopen): Don't close old file descriptor
34799 before the new one is opened. Instead dup the new file descriptor
34800 to the old one after the new stream is created.
34801 * libio/freopen64.c (freopen64): Likewise.
34802 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34803 * libio/fileops.c (_IO_new_file_close_it): Handle new
34804 _IO_FLAGS2_NOCLOSE flag.
34805 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34806 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34807 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34808 _IO_FLAGS2_NOCLOSE flag.
34809 * include/unistd.h: Add hidden_proto for dup3.
34810 Define __have_dup3.
34811 * io/dup3.c: Define hidden symbol.
34812 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34815 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34816 when an incomplete long option is used.
34817 * posix/tst-getopt_long1.c: New file.
34818 * posix/Makefile (tests): Add tst-getopt_long1.
34821 * scripts/config.guess: Update from autoconf-2.68.
34822 * scripts/config.sub: Likewise.
34825 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34827 (has_cpuclock): ...this. New function.
34828 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34829 macro here based on has_cpuclock code.
34832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34833 First byte (not low byte) is now always NUL.
34834 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34837 Use non-cancelable interfaces.
34840 * locale/iso-639.def: Add entry for Sorani.
34843 * include/stdlib.h: Move include protection to the right place.
34844 Define abort_msg_s. Declare __abort_msg with it.
34845 * stdlib/abort.c (__abort_msg): Adjust type.
34846 * assert/assert.c (__assert_fail_base): New function. Majority
34847 of code from __assert_fail. Allocate memory for __abort_msg with
34849 (__assert_fail): Now call __assert_fail_base.
34850 * assert/assert-perr.c: Remove bulk of implementation. Use
34851 __assert_fail_base.
34852 * include/assert.hL Declare __assert_fail_base.
34853 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34855 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34857 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34861 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34862 until all modules are registered in the DTV.
34863 * elf/Makefile: Add rules to build and run tst-tls19.
34864 * elf/tst-tls19.c: New file.
34865 * elf/tst-tls19mod1.c: New file.
34866 * elf/tst-tls19mod2.c: New file.
34867 * elf/tst-tls19mod3.c: New file.
34868 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34871 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34875 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34876 two-byte sequence errors.
34877 * iconvdata/Makefile (tests): Add bug-iconv8.
34878 * iconvdata/bug-iconv8.c: New file.
34881 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34884 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34887 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34888 (dummy_getcfa): New function.
34889 (init): Get _Unwind_GetCFA address, use dummy if not found.
34890 (backtrace_helper): In recursion check, also check whether CFA changes.
34891 (__backtrace): Completely initialize arg.
34893 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34894 storing incomplete byte sequence in state object. Avoid testing for
34895 guaranteed too small input if we know there is enough data available.
34897 2011-05-11 Andreas Schwab <schwab@redhat.com>
34899 * Makeconfig (+link-pie): Indent.
34900 * Rules (binaries-pie): Define if $(have-fpie) and
34902 (binaries-shared): Also filter out $(binaries-pie).
34903 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34904 * nscd/Makefile (others-pie): Add nscd.
34905 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34906 ($(objpfx)nscd): Remove command override.
34907 * login/Makefile (others-pie): Add pt_chown.
34908 ($(objpfx)pt_chown): Remove command override.
34909 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34910 remove command overrides.
34912 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34914 * libio/tst_putwc.c: Fix error messages.
34917 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34918 currently writing and seek to current position when not.
34919 * libio/Makefile (tests): Add bug-fclose1.
34920 * libio/bug-fclose1.c: New file.
34922 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34925 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34926 don't set DF_1_NODELETE here.
34927 (do_lookup_x): When entering new entry test for copy relocation
34928 and if necessary set DF_1_NODELETE flag.
34929 * elf/tst-unique4.cc: New file.
34930 * elf/tst-unique4.h: New file.
34931 * elf/tst-unique4lib.cc: New file.
34932 * elf/Makefile: Add rules to build and run tst-unique4.
34933 Patch by Piotr Bury <pbury@goahead.com>.
34935 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34938 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34941 * misc/mntent_r.c (addmntent): Flush the stream after the output
34944 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34945 (is_trusted_path_normalize): Skip initial colon. Append slash
34946 to empty buffer. Duplicate is_trusted_path code but allow
34947 constructed patch to be prefix.
34948 (is_dst): Allow $ORIGIN followed by /.
34949 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34950 Correct testing of result of is_trusted_path_normalize
34951 (decompose_rpath): Fix warning.
34953 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34956 * grp/initgroups.c (internal_getgrouplist): When we found the service
34957 list through the initgroups entry in nsswitch.conf do not always
34958 continue on a successful lookup. Don't always use the
34959 __nss_group_database value if it is set.
34960 * nss/nsswitch.conf (initgroups): Change action for successful db
34961 lookup to continue for compatibility.
34963 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34966 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34968 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34970 * iconvdata/tst-tables.sh: Likewise.
34971 * iconvdata/cp770.c: New file.
34972 * iconvdata/cp771.c: New file.
34973 * iconvdata/cp772.c: New file.
34974 * iconvdata/cp773.c: New file.
34975 * iconvdata/cp774.c: New file.
34976 * iconvdata/testdata/CP770: New file.
34977 * iconvdata/testdata/CP770..UTF8: New file.
34978 * iconvdata/testdata/CP771: New file.
34979 * iconvdata/testdata/CP771..UTF8: New file.
34980 * iconvdata/testdata/CP772: New file.
34981 * iconvdata/testdata/CP772..UTF8: New file.
34982 * iconvdata/testdata/CP773: New file.
34983 * iconvdata/testdata/CP773..UTF8: New file.
34984 * iconvdata/testdata/CP774: New file.
34985 * iconvdata/testdata/CP774..UTF8: New file.
34987 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34989 * iconvdata/gen-8bit-gap.sh: Likewise.
34990 * iconvdata/gen-8bit.sh: Likewise.
34992 * locale/iso-639.def: Add ary entry.
34995 * locale/C-translit.h.in: Add U20A1 transliteration.
34998 * locale/iso-639.def: Add wae entry.
34999 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35002 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35006 * locale/C-translit.h.in: Add entry for U20B9.
35007 Patch by pravin.d.s@gmail.com.
35009 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35012 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35013 ENAMETOOLONG use generic getcwd.
35014 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35015 in rtld. Use *stat64.
35016 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35017 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35018 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35019 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35020 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35021 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35022 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35023 __fstatat64 macros.
35024 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35025 * dirent/rewinddir.c: Add libc_hidden_def.
35026 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35027 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35029 * include/dirent.h (__alloc_dir): Add flags parameter.
35030 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35031 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35033 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35034 from fdopendir if O_CLOEXEC is already set.
35036 2011-03-15 Alan Modra <amodra@gmail.com>
35038 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35039 l_tls_firstbyte_offset non-zero. Save padding offset in
35040 l_tls_firstbyte_offset for later use.
35041 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35042 freeing static tls block.
35044 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35046 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35047 where #ifdef was intended. The intent is to prevent ARG_MAX from
35048 being defined by the kernel headers.
35050 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35053 * resolv/resolv.h: Define RES_NOTLDQUERY.
35054 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35055 no-tld-query and set RES_NOTLDQUERY.
35056 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35057 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35058 modern BIND to search name as TLD unless forbidden.
35060 2011-05-07 Petr Baudis <pasky@suse.cz>
35061 Ulrich Drepper <drepper@gmail.com>
35064 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35065 (is_trusted_path): ...to here.
35066 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35067 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35068 using is_trusted_path_normalize() in setuid scripts.
35070 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35072 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35073 __BEGIN/__END_DECLS.
35075 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35078 NSS_STATUS_NOTFOUND if no record was found.
35080 2011-05-05 Andreas Schwab <schwab@redhat.com>
35082 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35083 (headers-not-in-tirpc): Remove rpc/netdb.h
35084 * resolv/netdb.h: Revert last change.
35086 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35088 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35089 circular dependency between libgcc.a and libc.a.
35091 2011-05-05 Andreas Schwab <schwab@redhat.com>
35093 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35094 * nis/Makefile: Don't install rpcsvc/*.
35095 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35096 instead of <rpc/types.h>.
35097 (MAXHOSTNAMELEN): Define.
35099 2011-05-03 Andreas Schwab <schwab@redhat.com>
35101 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35103 2011-04-28 Maciej Babinski <mbabinski@google.com>
35106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35107 gethostbyname4_r when IPv6 results are possible.
35109 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35112 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35113 _PC_PIPE_BUF handling.
35115 2011-04-30 Bruno Haible <bruno@clisp.org>
35118 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35119 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35121 * inet/getnameinfo.c (getnameinfo): Likewise.
35123 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35125 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35126 to groups setting in database lookup.
35127 * nss/nsswitch.conf: Add initgroups entry.
35129 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35132 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35134 Patch by Eric Blake <eblake@redhat.com>.
35136 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35138 * sunrpc/Makefile (need-export-routines): Add svc_run.
35139 (routines): Remove svc_run.
35140 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35141 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35142 * sunrpc/svc_run.c (svc_run): Likewise.
35143 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35145 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35148 problem in reallocation in last patch.
35150 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35152 * sunrpc/Makefile: Move inclusion of Rules.
35154 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35156 * nss/nss_files/files-initgroups.c: New file.
35157 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35158 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35159 _nss_files_initgroups_dyn.
35161 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35163 * elf/elf.h (R_ARM_IRELATIVE): Define.
35165 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35167 * po/ru.po: Update from translation team.
35169 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35171 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35174 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35177 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35178 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35183 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35185 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35191 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35194 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35196 * stdlib/bug-getcontext.c: New file.
35197 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35199 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35201 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35202 instructions into .machine "z9-109".
35203 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35204 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35206 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35208 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35209 between environment variables and auxiliary vector.
35211 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35213 * Makefile: Add rules to build linkobj/libc.so.
35214 * include/libc-symbols.h: Define libc_hidden_nolink.
35215 * include/rpc/auth.h: Mark functions which are to be hidden.
35216 * include/rpc/auth_des.h: Likewise.
35217 * include/rpc/auth_unix.h: Likewise.
35218 * include/rpc/clnt.h: Likewise.
35219 * include/rpc/des_crypt.h: Likewise.
35220 * include/rpc/key_prot.h: Likewise.
35221 * include/rpc/pmap_clnt.h: Likewise.
35222 * include/rpc/pmap_prot.h: Likewise.
35223 * include/rpc/pmap_rmt.h: Likewise.
35224 * include/rpc/rpc_msg.h: Likewise.
35225 * include/rpc/svc.h: Likewise.
35226 * include/rpc/svc_auth.h: Likewise.
35227 * include/rpc/xdr.h: Likewise.
35228 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35229 * nss/Makefile: Likewise.
35230 * sunrpc/Makefile: Don't install headers. Build library with normal
35231 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35232 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35233 for the compat linking library. Remove use of INTDEF/INTUSE.
35234 * sunrpc/auth_none.c: Likewise.
35235 * sunrpc/auth_unix.c: Likewise.
35236 * sunrpc/authdes_prot.c: Likewise.
35237 * sunrpc/authuxprot.c: Likewise.
35238 * sunrpc/clnt_gen.c: Likewise.
35239 * sunrpc/clnt_perr.c: Likewise.
35240 * sunrpc/clnt_raw.c: Likewise.
35241 * sunrpc/clnt_simp.c: Likewise.
35242 * sunrpc/clnt_tcp.c: Likewise.
35243 * sunrpc/clnt_udp.c: Likewise.
35244 * sunrpc/clnt_unix.c: Likewise.
35245 * sunrpc/des_crypt.c: Likewise.
35246 * sunrpc/des_soft.c: Likewise.
35247 * sunrpc/get_myaddr.c: Likewise.
35248 * sunrpc/key_call.c: Likewise.
35249 * sunrpc/key_prot.c: Likewise.
35250 * sunrpc/netname.c: Likewise.
35251 * sunrpc/pm_getmaps.c: Likewise.
35252 * sunrpc/pm_getport.c: Likewise.
35253 * sunrpc/pmap_clnt.c: Likewise.
35254 * sunrpc/pmap_prot.c: Likewise.
35255 * sunrpc/pmap_prot2.c: Likewise.
35256 * sunrpc/pmap_rmt.c: Likewise.
35257 * sunrpc/publickey.c: Likewise.
35258 * sunrpc/rpc_cmsg.c: Likewise.
35259 * sunrpc/rpc_common.c: Likewise.
35260 * sunrpc/rpc_dtable.c: Likewise.
35261 * sunrpc/rpc_prot.c: Likewise.
35262 * sunrpc/rpc_thread.c: Likewise.
35263 * sunrpc/rtime.c: Likewise.
35264 * sunrpc/svc.c: Likewise.
35265 * sunrpc/svc_auth.c: Likewise.
35266 * sunrpc/svc_authux.c: Likewise.
35267 * sunrpc/svc_raw.c: Likewise.
35268 * sunrpc/svc_run.c: Likewise.
35269 * sunrpc/svc_simple.c: Likewise.
35270 * sunrpc/svc_tcp.c: Likewise.
35271 * sunrpc/svc_udp.c: Likewise.
35272 * sunrpc/svc_unix.c: Likewise.
35273 * sunrpc/svcauth_des.c: Likewise.
35274 * sunrpc/xcrypt.c: Likewise.
35275 * sunrpc/xdr.c: Likewise.
35276 * sunrpc/xdr_array.c: Likewise.
35277 * sunrpc/xdr_float.c: Likewise.
35278 * sunrpc/xdr_intXX_t.c: Likewise.
35279 * sunrpc/xdr_mem.c: Likewise.
35280 * sunrpc/xdr_rec.c: Likewise.
35281 * sunrpc/xdr_ref.c: Likewise.
35282 * sunrpc/xdr_sizeof.c: Likewise.
35283 * sunrpc/xdr_stdio.c: Likewise.
35285 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35288 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35289 * sysdeps/ia64/dl-tls.h: Likewise.
35290 * sysdeps/powerpc/dl-tls.h: Likewise.
35291 * sysdeps/s390/dl-tls.h: Likewise.
35292 * sysdeps/sh/dl-tls.h: Likewise.
35293 * sysdeps/sparc/dl-tls.h: Likewise.
35294 * sysdeps/x86_64/dl-tls.h: Likewise.
35295 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35297 2011-03-14 Andreas Schwab <schwab@redhat.com>
35299 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35300 rpath element also skip the following colon.
35301 (expand_dynamic_string_token): Add is_path parameter and pass
35302 down to DL_DST_REQUIRED and _dl_dst_substitute.
35303 (decompose_rpath): Call expand_dynamic_string_token with
35304 non-zero is_path. Ignore empty rpaths.
35305 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35308 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35313 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35316 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35317 Patch by Filipe David Manana <fdmanana@apache.org>.
35319 2011-04-07 Andreas Schwab <schwab@redhat.com>
35321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35322 Maintain aligned stack.
35323 (CHECK_RSP): Remove unused macro.
35325 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35327 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35330 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35332 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35334 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35336 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35339 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35340 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35341 * sysdeps/x86_64/memmove.c: New file.
35342 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35343 (memcpy): Renamed to ...
35344 (__new_memcpy): This.
35345 (memcpy): Provide GLIBC_2_14 memcpy.
35346 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35347 (memcpy): Provide GLIBC_2_2_5 memcpy.
35349 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35352 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35354 2011-03-30 Andreas Schwab <schwab@redhat.com>
35356 * misc/syncfs.c: New file.
35357 * misc/Makefile (routines): Add syncfs.
35358 * posix/unistd.h: Declare syncfs.
35359 * sysdeps/unix/syscalls.list: Add syncfs.
35361 2011-04-01 Andreas Schwab <schwab@redhat.com>
35363 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35370 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35373 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35377 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35383 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35384 sync_file_range.c with -fexceptions.
35385 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35386 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35387 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35388 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35389 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35390 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35392 sync_file_range as cancellation point
35393 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35394 now a wrapper around __call_sync_file_range with cancellation handling.
35395 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35396 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35397 function name to __call_sync_file_range.
35398 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35399 Add call_sync_file_range.
35401 2011-04-01 Andreas Schwab <schwab@redhat.com>
35403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35406 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35408 * iconv/iconv.h: Fix typo in comment.
35409 * io/fcntl.h: Likewise.
35410 * libio/stdio.h: Likewise.
35411 * posix/spawn.h: Likewise.
35412 * posix/unistd.h: Likewise.
35413 * stdlib/stdlib.h: Likewise.
35414 * time/time.h: Likewise.
35415 * wcsmbs/wchar.h: Likewise.
35417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35418 open_by_handle): Add.
35419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35420 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35421 Augment a few comments.
35422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35427 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35430 * io/fcntl.h (AT_EMPTY_PATH): Define.
35432 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35434 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35435 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35436 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35438 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35439 * Versions.def: Add GLIBC_2.14.
35440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35443 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35447 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35449 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35452 * string/test-strncmp.c (do_page_test): New function.
35453 (check2): Likewise.
35454 (test_main): Call check2.
35455 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35457 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35461 Handle cache information in CPU leaf 4.
35462 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35464 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35467 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35468 character representation.
35469 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35471 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35473 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35474 END(__isnan) to END(__isnanf) to match function entry point/label
35475 EALIGN(__isnanf,...).
35477 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35479 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35481 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35484 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35485 copy from the symbol referenced in the relocation to initialize the
35487 Patch by Piotr Bury <pbury@goahead.com>.
35488 * elf/Makefile: Add rules to build and tst-unique3.
35489 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35490 * elf/tst-unique3.cc: New file.
35491 * elf/tst-unique3.h: New file.
35492 * elf/tst-unique3lib.cc: New file.
35493 * elf/tst-unique3lib2.cc: New file.
35495 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35497 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35499 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35500 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35503 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35505 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35506 to-be-loaded object along a path to loader is ld.so.
35508 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35509 Ulrich Drepper <drepper@gmail.com>
35511 * sysdeps/x86_64/memset.S: After aligning destination, code
35512 branches to different locations depending on the value of
35513 misalignment, when multiarch is enabled. Fix this.
35515 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35517 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35518 Set _x86_64_preferred_memory_instruction for AMD processsors.
35519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35520 Set bit_Prefer_SSE_for_memop for AMD processors.
35522 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35524 * libio/fmemopen.c (fmemopen): Optimize a bit.
35526 2011-03-03 Andreas Schwab <schwab@redhat.com>
35528 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35530 2011-03-03 Roland McGrath <roland@redhat.com>
35532 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35534 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35536 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35537 __bzero_ultra1 instead of __memset_ultra1.
35539 2011-02-23 Andreas Schwab <schwab@redhat.com>
35540 Ulrich Drepper <drepper@gmail.com>
35543 * include/link.h (struct link_map): Add l_orig_initfini.
35544 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35545 returning unsuccessfully.
35546 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35547 close of a file loaded at startup, restore the original l_initfini
35549 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35550 list, store the pointer.
35551 * elf/Makefile ($(objpfx)noload-mem): New rule.
35552 (noload-ENV): Define.
35553 (tests): Add $(objpfx)noload-mem.
35554 * elf/noload.c: Include <memcheck.h>.
35555 (main): Call mtrace. Close all opened handles.
35557 2011-02-17 Andreas Schwab <schwab@redhat.com>
35560 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35561 dependencies are missing.
35563 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35565 Fix __if_freereq crash: Unlike the generic version which uses free,
35567 * sysdeps/mach/hurd/ifreq.h: New file.
35569 2011-01-27 Petr Baudis <pasky@suse.cz>
35570 Ulrich Drepper <drepper@gmail.com>
35573 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35574 to extend_alloca().
35575 * stdio-common/bug23.c: New file.
35576 * stdio-common/Makefile (tests): Add bug23.
35578 2010-09-28 Andreas Schwab <schwab@redhat.com>
35579 Ulrich Drepper <drepper@gmail.com>
35582 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35583 before performing relro protection. At old place add assertion
35584 to make sure nothing changed.
35586 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35587 Glauber de Oliveira Costa <glommer@gmail.com>
35589 * elf/elf.h: Add new ARM TLS relocs.
35591 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35594 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35596 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35598 * sysdeps/wordsize-64/tst-writev.c: New file.
35600 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35602 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35603 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35604 insns in _dl_start to prevent a TOC reference before relocs are
35607 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35610 * Makeconfig: Remove RANLIB definition.
35611 * Makerules: Don't use RANLIB.
35612 * aclocal.m4: Remove ranlib test.
35613 * configure.in: No need to check for ranlib.
35614 * elf/rtld-Rules: Don't use RANLIB.
35616 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35618 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35620 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35621 inclusion protection macro.
35623 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35624 SIGRTMIN and SIGRTMAX and print information in that case only when
35625 SIGRTMIN is defined.
35627 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35629 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35630 arginfo fn returning -1.
35632 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35633 and thousands string is zero terminated.
35635 2011-02-03 Andreas Schwab <schwab@redhat.com>
35637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35638 sysdeps/unix/sysv/linux/bits/socket.h.
35640 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35642 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35643 (__CPU_COUNT): Remove old macros.
35644 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35645 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35646 (__CPU_ALLOC, __CPU_FREE): Add macros.
35647 (__sched_cpualloc, __sched_cpufree): Add declarations.
35649 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35651 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35652 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35653 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35654 (readdhstai): Return value of addhstaiX call.
35655 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35656 (addgrbyX): Return value returned by cache_addgr.
35657 (readdgrbyname): Return value returned by addgrbyX.
35658 (readdgrbygid): Likewise.
35659 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35660 (addpwbyX): Return value returned by cache_addpw.
35661 (readdpwbyname): Return value returned by addhstbyX.
35662 (readdpwbyuid): Likewise.
35663 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35664 (addservbyX): Return value returned by cache_addserv.
35665 (readdservbyname): Return value returned by addservbyX:
35666 (readdservbyport): Likewise.
35667 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35668 (addhstbyX): Return value returned by cache_addhst.
35669 (readdhstbyname): Return value returned by addhstbyX.
35670 (readdhstbyaddr): Likewise.
35671 (readdhstbynamev6): Likewise.
35672 (readdhstbyaddrv6): Likewise.
35673 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35674 (readdinitgroups): Return value returned by addinitgroupsX.
35675 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35676 (prune_cache): Keep track of timeout value of re-added entries.
35677 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35678 * nscd/nscd.h: Adjust prototypes of readd* functions.
35680 2011-02-04 Roland McGrath <roland@redhat.com>
35682 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35683 (nis_stats): Likewise.
35684 * nis/nis_modify.c (nis_modify): Likewise.
35685 * nis/nis_remove.c (nis_remove): Likewise.
35686 * nis/nis_add.c (nis_add): Likewise.
35688 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35690 * posix/fnmatch_loop.c: Add some consts.
35692 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35694 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35697 * config.make.in (config-cflags-novzeroupper): Define.
35698 * configure.in: Substitute libc_cv_cc_novzeroupper.
35699 * elf/Makefile (AVX-CFLAGS): Define.
35700 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35701 (CFLAGS-tst-auditmod4a.c): Likewise.
35702 (CFLAGS-tst-auditmod4b.c): Likewise.
35703 (CFLAGS-tst-auditmod6b.c): Likewise.
35704 (CFLAGS-tst-auditmod6c.c): Likewise.
35705 (CFLAGS-tst-auditmod7b.c): Likewise.
35706 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35708 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35710 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35711 function to the callback.
35712 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35714 2011-02-02 Andreas Schwab <schwab@redhat.com>
35716 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35719 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35722 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35724 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35726 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35729 * elf/Makefile: Add rules to build and run new test.
35730 * elf/tst-initorder.c: New file.
35731 * elf/tst-initorder.exp: New file.
35732 * elf/tst-initordera1.c: New file.
35733 * elf/tst-initordera2.c: New file.
35734 * elf/tst-initordera3.c: New file.
35735 * elf/tst-initordera4.c: New file.
35736 * elf/tst-initorderb1.c: New file.
35737 * elf/tst-initorderb2.c: New file.
35738 * elf/tst-order-a1.c: New file.
35739 * elf/tst-order-a2.c: New file.
35740 * elf/tst-order-a3.c: New file.
35741 * elf/tst-order-a4.c: New file.
35742 * elf/tst-order-b1.c: New file.
35743 * elf/tst-order-b2.c: New file.
35744 * elf/tst-order-main.c: New file.
35745 New test case by George Gensure <werkt0@gmail.com>.
35747 2010-10-01 Andreas Schwab <schwab@redhat.com>
35749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35750 decoding ACE if AI_CANONIDN.
35752 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35754 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35756 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35758 * version.h (RELEASE): Bump for 2.13 release.
35759 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35761 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35763 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35765 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35767 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35772 * posix/getconf.c: Update copyright year.
35773 * catgets/gencat.c: Likewise.
35774 * csu/version.c: Likewise.
35775 * debug/catchsegv.sh: Likewise.
35776 * debug/xtrace.sh: Likewise.
35777 * elf/ldconfig.c: Likewise.
35778 * elf/ldd.bash.in: Likewise.
35779 * elf/sprof.c (print_version): Likewise.
35780 * iconv/iconv_prog.c: Likewise.
35781 * iconv/iconvconfig.c: Likewise.
35782 * locale/programs/locale.c: Likewise.
35783 * locale/programs/localedef.c: Likewise.
35784 * malloc/memusage.sh: Likewise.
35785 * malloc/mtrace.pl: Likewise.
35786 * nscd/nscd.c (print_version): Likewise.
35787 * nss/getent.c: Likewise.
35789 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35790 PF_CAIF, and PF_ALG.
35791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35793 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35795 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35796 (modules-names): Use them.
35797 (ifunc-test-modules, ifunc-pie-tests): Define.
35798 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35799 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35800 (test-extras): Likewise.
35801 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35802 $(compile-command.c).
35803 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35804 (all-built-dso): Define.
35805 (check-textrel.out, check-execstack.out): Depend on it.
35807 * configure.in: Don't override --enable-multi-arch.
35809 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35812 * nscd/hstcache.c (tryagain): Define.
35813 (cache_addhst): Return tryagain not notfound for temporary errors.
35814 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35817 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35821 to make the syscall.
35822 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35825 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35826 and fall back to matching as normal character if the string ends before
35827 the matching ']' is found. This is what POSIX requires.
35828 * posix/testfnm.c: Adjust test result.
35829 * posix/globtest.sh: Adjust test result. Add new test.
35830 * posix/tst-fnmatch.input: Likewise.
35831 * posix/tst-fnmatch2.c: Add new test.
35833 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35835 * elf/Makefile (check-execstack): Revert last change. Depend on
35837 (check-execstack.h): New target.
35838 (generated): Add check-execstack.h.
35839 * elf/check-execstack.c: Include "check-execstack.h".
35840 (main): Revert last change.
35841 (handle_file): Return zero if GNU_STACK is absent and
35842 DEFAULT_STACK_PERMS doesn't include PF_X.
35844 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35846 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35847 in child fails because the descriptor is already closed.
35848 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35849 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35850 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35853 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35857 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35858 temporary buffer used to handle multi lookups locally.
35859 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35861 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35863 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35866 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35868 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35869 alignment for SSE2.
35871 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35874 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35875 characters. When rounding increased number of integer digits recompute
35877 * stdio-common/tst-grouping.c: New file.
35878 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35880 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35882 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35883 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35885 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35887 * bits/select.h: Likewise.
35889 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35891 * po/ja.po: Update from translation team.
35893 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35896 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35897 implementation just like for lxstat, fxstatat, et al.
35899 2010-12-27 Jim Meyering <meyering@redhat.com>
35902 * posix/regexec.c (build_trtable): Return failure indication upon
35903 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35905 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35908 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35909 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35910 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35914 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35917 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35918 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35920 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35922 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35923 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35924 script has SORT_BY_INIT_PRIORITY.
35925 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35926 NO_CTORS_DTORS_SECTIONS is defined.
35927 * elf/soinit.c: Likewise.
35928 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35929 NO_CTORS_DTORS_SECTIONS is defined.
35930 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35931 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35932 * sysdeps/sh/init-first.c: Likewise.
35933 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35935 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35937 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35938 always use the slow path.
35940 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35942 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35943 similar rule which adds the sysdep directories to the header search in
35944 order to pick up the correct platform stackinfo.h.
35945 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35946 perform test if it is, otherwise return successfully without testing.
35947 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35948 DEFAULT_STACK_PERMS define in stackinfo.h.
35949 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35950 defined in stackinfo.h.
35951 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35952 DEFAULT_STACK_PERMS defined in stackinfo.h.
35953 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35954 * sysdeps/ia64/stackinfo.h: Likewise.
35955 * sysdeps/s390/stackinfo.h: Likewise.
35956 * sysdeps/sh/stackinfo.h: Likewise.
35957 * sysdeps/sparc/stackinfo.h: Likewise.
35958 * sysdeps/x86_64/stackinfo.h: Likewise.
35959 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35960 PF_X for powerpc64. Retain PF_X for powerpc32.
35962 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35964 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35966 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35967 GETDENTS_64BIT_ALIGNED.
35969 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35971 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35973 2010-12-10 Andreas Schwab <schwab@redhat.com>
35975 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35978 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35979 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35981 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35982 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35984 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35987 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35990 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35992 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35994 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35996 * po/it.po: Update from translation team.
35998 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36003 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36005 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36007 2010-11-24 Andreas Schwab <schwab@redhat.com>
36009 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36011 (gaih_getanswer_slice): Likewise.
36013 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36017 2010-05-31 Petr Baudis <pasky@suse.cz>
36020 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36021 silently even in the chroot mode.
36023 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36025 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36026 last patch a bit. Pretty printing
36028 2010-05-31 Petr Baudis <pasky@suse.cz>
36031 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36032 initialization of skip_initgroups_dyn.
36034 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36039 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36041 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36043 2010-11-11 Andreas Schwab <schwab@redhat.com>
36045 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36046 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36047 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36048 ($(objpfx)tst-fnmatch-mem): New rule.
36049 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36050 * posix/tst-fnmatch.c (main): Call mtrace.
36052 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36055 Support Intel processor model 6 and model 0x2c.
36057 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36059 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36062 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36065 * string/test-strncasecmp.c (check_result): New function.
36066 (do_one_test): Use it.
36067 (check1): New function.
36068 (test_main): Use it.
36069 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36070 Support strcasecmp and strncasecmp.
36072 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36075 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36078 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36080 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36084 * sysdeps/x86_64/multiarch/bzero.S: New file.
36085 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36086 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36087 * sysdeps/x86_64/multiarch/memset.S: New file.
36088 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36090 Set bit_Prefer_SSE_for_memop for Intel processors.
36091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36093 (index_Prefer_SSE_for_memop): Define.
36094 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36096 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36098 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36099 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36101 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36104 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36105 (__x86_64_raw_data_cache_size_half): Likewise.
36106 (__x86_64_raw_shared_cache_size): Likewise.
36107 (__x86_64_raw_shared_cache_size_half): Likewise.
36109 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36110 (__x86_64_raw_data_cache_size_half): Likewise.
36111 (__x86_64_raw_shared_cache_size): Likewise.
36112 (__x86_64_raw_shared_cache_size_half): Likewise.
36113 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36114 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36115 and __x86_64_raw_shared_cache_size_half. Round
36116 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36117 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36118 to multiple of 256 bytes.
36120 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36123 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36124 of inacessible symlinks. Verify result of symlink before returning it.
36125 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36126 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36128 2010-10-28 Erich Ritz <erichritz@gmail.com>
36130 * math/math.h (isinf): Fix typo in comment.
36132 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36134 * po/da.po: Update from translation team.
36136 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36138 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36139 is added to the list.
36141 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36142 Ulrich Drepper <drepper@gmail.com>
36144 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36145 the global list here. Move code to...
36146 (_dl_add_to_namespace_list): ...here. New function.
36147 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36148 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36149 * elf/dl-load.c (lose): Don't remove the element from the list.
36150 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36151 (_dl_map_object): Likewise.
36153 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36156 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36157 into all bytes of SSE register.
36158 Patch by Richard Li <richardpku@gmail.com>.
36160 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36163 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36166 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36168 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36169 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36171 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36176 2010-10-22 Andreas Schwab <schwab@redhat.com>
36178 * include/dlfcn.h (__RTLD_SECURE): Define.
36179 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36180 mode & __RTLD_SECURE instead.
36181 (open_path): Rename preloaded parameter to secure.
36182 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36183 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36184 * elf/dl-deps.c (openaux): Likewise.
36185 * elf/rtld.c (struct map_args): Remove is_preloaded.
36186 (map_doit): Don't use it.
36187 (dl_main): Likewise.
36188 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36189 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36191 2010-09-09 Andreas Schwab <schwab@redhat.com>
36193 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36194 (sysd-rules-targets): Remove duplicates.
36195 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36196 rtld-%.$o dependency.
36198 2010-10-18 Andreas Schwab <schwab@redhat.com>
36200 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36201 _dl_map_object do it.
36203 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36205 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36206 fast fma builtins, define the macros in the C99 standard.
36207 (FP_FAST_FMAF): Likewise.
36208 (FP_FAST_FMAL): Likewise.
36209 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36211 * bits/mathdef.h: Update copyright year.
36212 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36214 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36216 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36217 builtins, define the macros in the C99 standard.
36218 (FP_FAST_FMAF): Likewise.
36219 (FP_FAST_FMAL): Likewise.
36220 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36222 (FP_FAST_FMAF): Likewise.
36224 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36227 * math/libm-test.inc (fma_test): Some new testcases.
36228 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36229 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36230 y and infinite z. Do multiplication by C already in long double.
36231 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36233 y and infinite z. Do bitwise or of inexact bit into u.d.
36234 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36235 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36236 * sysdeps/i386/fpu/s_fma.S: Removed.
36237 * sysdeps/i386/fpu/s_fmal.S: Removed.
36239 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36242 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36244 computation is not scheduled after fetestexcept. Fix value
36245 of minimum denormal long double.
36247 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36250 * math/libm-test.inc (fma_test): Add some more tests.
36251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36254 2010-10-15 Andreas Schwab <schwab@redhat.com>
36256 * scripts/data/localplt-s390-linux-gnu.data: New file.
36257 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36259 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36262 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36263 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36265 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36267 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36269 if one of x and y is very large and the other is subnormal.
36270 * sysdeps/s390/fpu/s_fmaf.c: New file.
36271 * sysdeps/s390/fpu/s_fma.c: New file.
36272 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36273 * sysdeps/powerpc/fpu/s_fma.S: New file.
36274 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36275 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36276 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36278 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36281 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36284 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36285 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36286 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36287 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36288 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36291 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36294 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36295 * posix/bug-regex31.input: Add test case.
36297 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36299 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36300 * posix/bug-regex31.input: New file.
36303 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36304 (parse_sub_exp): Fix last change, use postorder.
36306 * posix/bug-regex31.c: New file.
36307 * posix/Makefile: Add rules to build and run bug-regex31.
36309 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36312 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36315 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36316 to have entries in sys_siglist.
36319 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36322 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36325 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36326 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36327 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36328 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36329 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36330 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36331 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36332 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36333 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36334 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36335 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36336 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36337 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36338 * math/ftestexcept.c (fetestexcept): Likewise.
36339 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36340 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36341 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36342 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36343 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36344 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36345 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36347 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36350 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36353 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36355 * string/bug-strstr1.c: New file.
36356 * string/Makefile: Add rules to build and run bug-strstr1.
36358 2010-10-05 Eric Blake <eblake@redhat.com>
36361 * string/str-two-way.h (two_way_long_needle): Always clear memory
36362 when skipping input due to the shift table.
36364 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36367 * malloc/mcheck.c: Handle large requests.
36370 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36371 for strncmp and strncasecmp.
36372 * string/stratcliff.c: Add tests for strcmp and strncmp.
36373 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36375 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36377 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36380 2010-09-30 Andreas Jaeger <aj@suse.de>
36382 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36383 (CGROUP_SUPER_MAGIC): Define.
36384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36385 Handle btrfs and cgroup file systems.
36386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36389 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36391 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36392 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36394 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36397 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36398 trying to locate the ELF header.
36400 2010-09-27 Andreas Schwab <schwab@redhat.com>
36403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36404 Mask out sign-bit copies when constructing f_fsid.
36406 2010-09-24 Petr Baudis <pasky@suse.cz>
36408 * debug/stack_chk_fail_local.c: Add missing licence exception.
36409 * debug/warning-nop.c: Likewise.
36411 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36414 implementing getdents64 using getdents syscall, set d_type if
36415 __ASSUME_GETDENTS32_D_TYPE.
36417 2010-09-16 Andreas Schwab <schwab@redhat.com>
36419 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36420 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36422 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36425 * posix/unistd.h: Undo change of feature selection for ftruncate from
36428 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36430 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36433 2010-09-20 Andreas Schwab <schwab@redhat.com>
36435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36439 2010-09-14 Andreas Schwab <schwab@redhat.com>
36441 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36442 variables after CHECK_SP call.
36443 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36445 2010-09-13 Andreas Schwab <schwab@redhat.com>
36446 Ulrich Drepper <drepper@redhat.com>
36448 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36449 re-relocationg ld.so.
36450 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36451 _dl_init_paths call.
36452 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36455 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36457 * resolv/res_init.c (__res_vinit): Count the default server we added.
36459 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36460 Ulrich Drepper <drepper@redhat.com>
36463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36464 (____longjmp_chk): Use %ebx for saving value across system call.
36467 2010-09-06 Andreas Schwab <schwab@redhat.com>
36469 * manual/Makefile: Don't mix pattern rules with normal rules.
36471 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36473 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36475 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36476 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36477 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36478 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36482 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36485 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36486 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36488 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36490 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36491 * sysdeps/x86_64/addmul_1.S: Likewise.
36492 * sysdeps/x86_64/lshift.S: Likewise.
36493 * sysdeps/x86_64/mul_1.S: Likewise.
36494 * sysdeps/x86_64/rshift.S: Likewise.
36495 * sysdeps/x86_64/sub_n.S: Likewise.
36496 * sysdeps/x86_64/submul_1.S: Likewise.
36498 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36500 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36501 Define __sched_param instead of SCHED_* and sched_param when
36502 <bits/sched.h> is included with __need_schedparam defined.
36503 * bits/sched.h [__need_schedparam]
36504 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36505 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36506 (__defined_schedparam): Define to 1.
36507 (__sched_param): New structure, identical to sched_param.
36508 (__need_schedparam): Undefine.
36510 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36513 (epoll_create1): Declare.
36515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36517 2010-08-31 Andreas Schwab <schwab@redhat.com>
36520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36521 shifting retval into place.
36523 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36525 * nis/rpcsvc/nis.h: Update copyright notice.
36526 * nis/rpcsvc/nis.x: Likewise.
36527 * nis/rpcsvc/nis_callback.h: Likewise.
36528 * nis/rpcsvc/nis_callback.x: Likewise.
36529 * nis/rpcsvc/nis_object.x: Likewise.
36530 * nis/rpcsvc/nis_tags.h: Likewise.
36531 * nis/rpcsvc/yp.h: Likewise.
36532 * nis/rpcsvc/yp.x: Likewise.
36533 * nis/rpcsvc/ypupd.h: Likewise.
36534 * nis/yp_xdr.c: Likewise.
36535 * nis/ypupdate_xdr.c: Likewise.
36537 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36538 mainly the body of pmap_getport. Add parameters to specify timeouts.
36539 (pmap_getport): Use __libc_rpc_getport.
36540 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36541 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36542 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36544 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36549 2010-08-27 Roland McGrath <roland@redhat.com>
36551 * sysdeps/i386/i686/multiarch/Makefile
36552 (CFLAGS-varshift.c): New variable.
36554 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36556 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36557 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36561 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36563 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36565 * sysdeps/x86_64/strlen.S: Unroll the loop.
36566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36567 strlen-sse2 strlen-sse2-bsf.
36568 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36569 __strlen_no_bsf if bit_Slow_BSF is set.
36570 (__strlen_sse42): Removed.
36571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36572 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36574 2010-08-25 Roland McGrath <roland@redhat.com>
36576 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36577 * sysdeps/x86_64/multiarch/varshift.c: New file.
36578 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36579 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36580 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36581 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36583 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36586 strlen-sse2 strlen-sse2-bsf.
36587 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36588 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36589 (__strlen_sse2): Removed.
36590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36593 bit_Slow_BSF for Atom.
36594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36595 (index_Slow_BSF): Define.
36596 (HAS_SLOW_BSF): Define.
36598 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36601 * resolv/res_init.c (__res_vinit): When no server address at all
36602 is given default to loopback.
36604 2010-08-24 Roland McGrath <roland@redhat.com>
36606 * configure.in: Remove config-name.h generation.
36607 * configure: Regenerated.
36608 * config-name.in: File removed.
36609 * scripts/config-uname.sh: New file.
36610 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36611 ($(objdir)config-name.h): New target.
36613 * sunrpc/rpc_parse.h: Avoid nested comment.
36615 2010-08-24 Richard Henderson <rth@redhat.com>
36616 Ulrich Drepper <drepper@redhat.com>
36617 H.J. Lu <hongjiu.lu@intel.com>
36619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36621 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36622 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36623 _mm_alignr_epi8 with _mm_loadu_si128.
36624 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36625 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36626 (__m128i_shift_right): Removed.
36627 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36628 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36629 * sysdeps/x86_64/multiarch/varshift.h: New file.
36630 * sysdeps/x86_64/multiarch/varshift.S: New file.
36632 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36634 * configure.in: Move assembler checks to before sysdep dir checking.
36636 2010-08-20 Petr Baudis <pasky@suse.cz>
36638 * LICENSES: Sync the sunrpc license.
36640 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36642 * sunrpc/auth_des.c: Update copyright notice once again.
36643 * sunrpc/auth_none.c: Likewise.
36644 * sunrpc/auth_unix.c: Likewise.
36645 * sunrpc/authdes_prot.c: Likewise.
36646 * sunrpc/authuxprot.c: Likewise.
36647 * sunrpc/bindrsvprt.c: Likewise.
36648 * sunrpc/clnt_gen.c: Likewise.
36649 * sunrpc/clnt_perr.c: Likewise.
36650 * sunrpc/clnt_raw.c: Likewise.
36651 * sunrpc/clnt_simp.c: Likewise.
36652 * sunrpc/clnt_tcp.c: Likewise.
36653 * sunrpc/clnt_udp.c: Likewise.
36654 * sunrpc/clnt_unix.c: Likewise.
36655 * sunrpc/des_crypt.c: Likewise.
36656 * sunrpc/des_soft.c: Likewise.
36657 * sunrpc/get_myaddr.c: Likewise.
36658 * sunrpc/getrpcport.c: Likewise.
36659 * sunrpc/key_call.c: Likewise.
36660 * sunrpc/key_prot.c: Likewise.
36661 * sunrpc/openchild.c: Likewise.
36662 * sunrpc/pm_getmaps.c: Likewise.
36663 * sunrpc/pm_getport.c: Likewise.
36664 * sunrpc/pmap_clnt.c: Likewise.
36665 * sunrpc/pmap_prot.c: Likewise.
36666 * sunrpc/pmap_prot2.c: Likewise.
36667 * sunrpc/pmap_rmt.c: Likewise.
36668 * sunrpc/rpc/auth.h: Likewise.
36669 * sunrpc/rpc/auth_unix.h: Likewise.
36670 * sunrpc/rpc/clnt.h: Likewise.
36671 * sunrpc/rpc/des_crypt.h: Likewise.
36672 * sunrpc/rpc/key_prot.h: Likewise.
36673 * sunrpc/rpc/netdb.h: Likewise.
36674 * sunrpc/rpc/pmap_clnt.h: Likewise.
36675 * sunrpc/rpc/pmap_prot.h: Likewise.
36676 * sunrpc/rpc/pmap_rmt.h: Likewise.
36677 * sunrpc/rpc/rpc.h: Likewise.
36678 * sunrpc/rpc/rpc_des.h: Likewise.
36679 * sunrpc/rpc/rpc_msg.h: Likewise.
36680 * sunrpc/rpc/svc.h: Likewise.
36681 * sunrpc/rpc/svc_auth.h: Likewise.
36682 * sunrpc/rpc/types.h: Likewise.
36683 * sunrpc/rpc/xdr.h: Likewise.
36684 * sunrpc/rpc_clntout.c: Likewise.
36685 * sunrpc/rpc_cmsg.c: Likewise.
36686 * sunrpc/rpc_common.c: Likewise.
36687 * sunrpc/rpc_cout.c: Likewise.
36688 * sunrpc/rpc_dtable.c: Likewise.
36689 * sunrpc/rpc_hout.c: Likewise.
36690 * sunrpc/rpc_main.c: Likewise.
36691 * sunrpc/rpc_parse.c: Likewise.
36692 * sunrpc/rpc_parse.h: Likewise.
36693 * sunrpc/rpc_prot.c: Likewise.
36694 * sunrpc/rpc_sample.c: Likewise.
36695 * sunrpc/rpc_scan.c: Likewise.
36696 * sunrpc/rpc_scan.h: Likewise.
36697 * sunrpc/rpc_svcout.c: Likewise.
36698 * sunrpc/rpc_tblout.c: Likewise.
36699 * sunrpc/rpc_util.c: Likewise.
36700 * sunrpc/rpc_util.h: Likewise.
36701 * sunrpc/rpcinfo.c: Likewise.
36702 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36703 * sunrpc/rpcsvc/key_prot.x: Likewise.
36704 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36705 * sunrpc/rpcsvc/mount.x: Likewise.
36706 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36707 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36708 * sunrpc/rpcsvc/rex.x: Likewise.
36709 * sunrpc/rpcsvc/rstat.x: Likewise.
36710 * sunrpc/rpcsvc/rusers.x: Likewise.
36711 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36712 * sunrpc/rpcsvc/spray.x: Likewise.
36713 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36714 * sunrpc/rtime.c: Likewise.
36715 * sunrpc/svc.c: Likewise.
36716 * sunrpc/svc_auth.c: Likewise.
36717 * sunrpc/svc_authux.c: Likewise.
36718 * sunrpc/svc_raw.c: Likewise.
36719 * sunrpc/svc_run.c: Likewise.
36720 * sunrpc/svc_simple.c: Likewise.
36721 * sunrpc/svc_tcp.c: Likewise.
36722 * sunrpc/svc_udp.c: Likewise.
36723 * sunrpc/svc_unix.c: Likewise.
36724 * sunrpc/svcauth_des.c: Likewise.
36725 * sunrpc/xcrypt.c: Likewise.
36726 * sunrpc/xdr.c: Likewise.
36727 * sunrpc/xdr_array.c: Likewise.
36728 * sunrpc/xdr_float.c: Likewise.
36729 * sunrpc/xdr_mem.c: Likewise.
36730 * sunrpc/xdr_rec.c: Likewise.
36731 * sunrpc/xdr_ref.c: Likewise.
36732 * sunrpc/xdr_sizeof.c: Likewise.
36733 * sunrpc/xdr_stdio.c: Likewise.
36735 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36738 2010-08-19 Andreas Schwab <schwab@redhat.com>
36740 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36742 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36744 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36746 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36747 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36749 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36751 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36753 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36754 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36755 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36756 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36757 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36759 2010-07-26 Anton Blanchard <anton@samba.org>
36761 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36762 * malloc/arena.c (heap_trim): Likewise.
36764 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36766 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36769 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36771 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36773 * sysdeps/i386/elf/Makefile: New file.
36775 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36777 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36778 from fanotify_init.
36779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36782 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36784 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36786 * sysdeps/multiarch/strcmp.S: Likewise.
36788 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36790 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36791 strncase_l-nonascii.
36792 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36793 Add strncase_l-ssse3.
36794 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36795 * sysdeps/x86_64/strcmp.S: Likewise.
36796 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36797 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36798 * sysdeps/x86_64/strncase.S: New file.
36799 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36800 * sysdeps/x86_64/strncase_l.S: New file.
36801 * string/Makefile (strop-tests): Add strncasecmp.
36802 * string/test-strncasecmp.c: New file.
36804 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36807 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36810 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36812 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36814 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36816 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36817 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36820 2010-05-01 Alan Modra <amodra@gmail.com>
36822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36823 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36824 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36825 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36826 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36827 tidying. Don't tail-call __sigjmp_save for static lib.
36828 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36830 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36831 (CALL_MCOUNT): Add eh info, and nop after bl.
36832 (TAIL_CALL_SYSCALL_ERROR): New macro.
36833 (PSEUDO_RET): Use it.
36834 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36835 Correct save location of integer regs and cr.
36836 (_dl_profile_resolve): Correct cr save location. Delete nops
36837 after bl when SHARED. Reduce cfi size a little by better
36838 placement of cfi directives.
36839 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36840 make a stack frame. Instead use parm save area as a temp.
36841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36842 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36844 Don't make a stack frame for parent, use parm save area.
36845 Increase child stack frame to 112 bytes. Don't save unused reg,
36846 and adjust reg usage. Set up cfi on error recovery and
36847 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36849 (__makecontext): Add dummy nop after jump to exit.
36850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36851 Use correct parm save area and cr save, reduce stack frame.
36852 Correct cfi for possible PSEUDO_RET frame setup.
36853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36854 Branch to local label emitted by PSEUDO_RET rather than
36857 2010-08-12 Andreas Schwab <schwab@redhat.com>
36860 * locale/programs/locale.c (print_assignment): New function.
36861 (show_locale_vars): Use it.
36863 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36865 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36867 (struct statfs64): Likewise.
36868 (_STATFS_F_FLAGS): Define.
36869 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36871 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36872 (ST_VALID): Define locally.
36873 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36874 __statvfs_getflags, use the provided value.
36875 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36876 __ASSUME_STATFS_F_FLAGS.
36878 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36880 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36881 Add sys/fanotify.h.
36882 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36883 fanotify_mask for GLIBC_2.13.
36884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36885 fanotify_init and fanotify_mark.
36886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36887 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36889 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36891 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36892 prlimit64 for GLIBC_2.13.
36893 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36899 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36903 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36906 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36907 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36909 * nss/Makefile: Add rules to build and run tst-nss-test1.
36910 * shlib-versions: Add entry for libnss_test1.
36911 * nss/nss_test1.c: New file.
36912 * nss/tst-nss-test1.c: New file.
36914 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36915 (__nss_configure_lookup): Set appropriate entry in
36916 __nss_configure_lookup to true.
36917 * nss/nsswitch.h: Define enum with indeces of databases in
36918 databases and __nss_database_custom arrays. Declare
36919 __nss_database_custom.
36920 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36921 to avoid using nscd when custom rules are installed.
36922 * nss/getXXbyYY_r.c: Likewise.
36923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36925 * nss/nss_files/files-parse.c: Whitespace fixes.
36927 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36930 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36931 * posix/fnmatch_loop.c: Likewise.
36933 2010-07-17 Andi Kleen <ak@linux.intel.com>
36935 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36936 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36937 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36938 * Versions.def [GLIBC_2.13]: Add.
36940 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36943 Also fail if tpwd after pwuid call is NULL.
36945 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36947 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36948 when converting to ms.
36950 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36952 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36953 EOPNOTSUPP errors with ENOTTY.
36954 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36955 EOPNOTSUPP errors with ENOTTY.
36957 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36960 Add strcasecmp_l-ssse3.
36961 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36963 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36964 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36965 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36967 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36969 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36971 * string/Makefile (strop-tests): Add strcasecmp.
36972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36973 strcasecmp_l-nonascii.
36974 (gen-as-const-headers): Add locale-defines.sym.
36975 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36976 * sysdeps/x86_64/strcasecmp.S: New file.
36977 * sysdeps/x86_64/strcasecmp_l.S: New file.
36978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36979 * sysdeps/x86_64/locale-defines.sym: New file.
36980 * string/test-strcasecmp.c: New file.
36982 * string/test-strcasestr.c: Test both ends of the range of characters.
36983 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36985 2010-07-29 Roland McGrath <roland@redhat.com>
36988 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36990 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36992 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36995 2010-07-27 Andreas Schwab <schwab@redhat.com>
36997 * manual/memory.texi (Malloc Tunable Parameters): Document
37000 2010-07-26 Roland McGrath <roland@redhat.com>
37003 * configure.in (-fgnu89-inline check): Set and substitute
37004 gnu89_inline, not libc_cv_gnu89_inline.
37005 * configure: Regenerated.
37006 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37008 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37010 * string/test-strnlen.c: New file.
37011 * string/Makefile (strop-tests): Add strnlen.
37012 * string/tester.c (test_strnlen): Add a few more test cases.
37013 * string/tst-strlen.c: Better error reporting.
37015 * sysdeps/x86_64/strnlen.S: New file.
37017 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37019 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37020 lower-latency instructions.
37022 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37024 * string/test-strcasestr.c: New file.
37025 * string/test-strstr.c: New file.
37026 * string/Makefile (strop-tests): Add strstr and strcasestr.
37027 * string/str-two-way.h: Don't undefine MAX.
37028 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37030 2010-07-21 Andreas Schwab <schwab@redhat.com>
37032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37033 strcasestr-nonascii.
37034 (CFLAGS-strcasestr-nonascii.c): Define.
37035 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37037 Remove unused attribute.
37039 2010-07-20 Roland McGrath <roland@redhat.com>
37041 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37042 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37043 ld.so.cache was broken. With it, there is no way to disable dsocaps
37044 like LD_HWCAP_MASK can disable hwcaps.
37046 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37048 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37050 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37052 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37053 call in strcasestr.
37054 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37055 __strcasestr_sse42_nonascii.
37056 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37057 strcasestr-nonascii.c.
37058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37060 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37067 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37072 2010-07-06 Andreas Schwab <schwab@redhat.com>
37075 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37078 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37081 _PC_PIPE_BUF using F_GETPIPE_SZ.
37083 2010-07-05 Roland McGrath <roland@redhat.com>
37085 * manual/arith.texi (Rounding Functions): Fix rint description
37086 implicit in round description.
37088 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37090 * elf/Makefile: Fix linking for a few tests to make recent linker
37093 2010-06-30 Andreas Schwab <schwab@redhat.com>
37095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37096 $(common-objpfx)libc_nonshared.a.
37098 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37100 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37101 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37102 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37103 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37104 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37106 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37107 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37122 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37123 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37124 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37125 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37126 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37127 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37128 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37129 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37130 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37131 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37132 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37133 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37149 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37151 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37152 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37153 * string/memmove.c (memmove): Renamed to ...
37154 (MEMMOVE): ...this. Default to memmove.
37155 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37156 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37159 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37160 mempcpy-ssse3-back memmove-ssse3-back.
37161 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37164 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37165 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37166 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37167 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37168 * sysdeps/x86_64/multiarch/memmove.c: New file.
37169 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37170 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37171 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37172 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37173 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37176 (index_Fast_Copy_Backward): Define.
37177 (HAS_ARCH_FEATURE): Define.
37178 (HAS_FAST_REP_STRING): Define.
37179 (HAS_FAST_COPY_BACKWARD): Define.
37181 2010-06-21 Andreas Schwab <schwab@redhat.com>
37183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37184 Restore proper fallback handling.
37186 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37189 * posix/group_member.c (__group_member): Correct checking loop.
37191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37192 OOM in getpwuid_r correctly. Return error number when the caller
37193 should return, otherwise -1.
37194 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37195 call returning > 0 value.
37196 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37198 2010-06-07 Andreas Schwab <schwab@redhat.com>
37200 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37201 libc_nonshared.a from targets in modules-names.
37203 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37205 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37208 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37215 2010-06-02 Andreas Schwab <schwab@redhat.com>
37217 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37219 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37221 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37230 2010-06-14 Roland McGrath <roland@redhat.com>
37232 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37234 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37236 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37237 __REDIRECT followed by __THROW.
37238 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37239 * posix/getopt.h (getopt): Likewise.
37241 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37243 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37244 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37245 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37247 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37248 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37250 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37254 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37258 Properly check family and model.
37260 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37262 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37264 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37266 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37268 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37270 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37273 2010-05-19 Andreas Schwab <schwab@redhat.com>
37275 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37278 2010-05-21 Andreas Schwab <schwab@redhat.com>
37280 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37281 and internal_recvmmsg.
37282 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37283 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37284 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37285 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37287 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37288 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37289 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37291 2010-05-20 Andreas Schwab <schwab@redhat.com>
37293 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37295 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37297 POWER7 optimizations.
37298 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37299 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37301 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37303 * version.h: Update for 2.13 development version.
37305 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37307 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37308 exceptions. Return 0.
37310 2010-05-07 Roland McGrath <roland@redhat.com>
37312 * elf/ldconfig.c (main): Add a const.
37314 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37316 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37317 (args_options): Add no-idn option.
37318 (ahosts_keys_int): Add idn_flags to ai_flags.
37319 (parse_option): Handle 'i' option to clear idn_flags.
37321 * malloc/malloc.c (_int_free): Possible race in the most recently
37322 added check. Only act on the data if no current modification
37325 See ChangeLog.17 for earlier changes.